Skip to content

Commit da6b2de

Browse files
chore: update GraphQL schema and generated types (#6394)
Co-authored-by: krzysztofzuraw <9116238+krzysztofzuraw@users.noreply.github.com>
1 parent 7d74846 commit da6b2de

6 files changed

Lines changed: 298 additions & 142 deletions

File tree

schema-main.graphql

Lines changed: 32 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -13731,6 +13731,8 @@ type OrderCountableEdge @doc(category: "Orders") {
1373113731
}
1373213732

1373313733
input CustomerOrderWhereInput @doc(category: "Orders") {
13734+
"""Filter by metadata fields."""
13735+
metadata: MetadataFilterInput
1373413736
ids: [ID!]
1373513737

1373613738
"""Filter by order number."""
@@ -13813,6 +13815,36 @@ input CustomerOrderWhereInput @doc(category: "Orders") {
1381313815
OR: [CustomerOrderWhereInput!]
1381413816
}
1381513817

13818+
"""
13819+
Allows filtering based on metadata key/value pairs.
13820+
13821+
Examples:
13822+
- `{key: "size"}`
13823+
Matches objects where the metadata key "size" exists, regardless of its value.
13824+
- `{key: "color", value: {oneOf: ["blue", "green"]}}`
13825+
Matches objects where the metadata key "color" is set to either "blue" or "green".
13826+
- `{key: "status", value: {eq: "active"}}`
13827+
Matches objects where the metadata key "status" is set to "active".
13828+
"""
13829+
input MetadataFilterInput {
13830+
"""
13831+
Key to filter by. If not other fields provided - checking the existence of the key in metadata.
13832+
"""
13833+
key: String!
13834+
13835+
"""Value to filter by."""
13836+
value: MetadataValueFilterInput
13837+
}
13838+
13839+
"""Define the filtering options for metadata value fields."""
13840+
input MetadataValueFilterInput {
13841+
"""The value equal to."""
13842+
eq: String
13843+
13844+
"""The value included in."""
13845+
oneOf: [String!]
13846+
}
13847+
1381613848
"""Define the filtering options for integer fields."""
1381713849
input IntFilterInput {
1381813850
"""The value equal to."""
@@ -15664,36 +15696,6 @@ input PageWhereInput @doc(category: "Pages") {
1566415696
OR: [PageWhereInput!]
1566515697
}
1566615698

15667-
"""
15668-
Allows filtering based on metadata key/value pairs.
15669-
15670-
Examples:
15671-
- `{key: "size"}`
15672-
Matches objects where the metadata key "size" exists, regardless of its value.
15673-
- `{key: "color", value: {oneOf: ["blue", "green"]}}`
15674-
Matches objects where the metadata key "color" is set to either "blue" or "green".
15675-
- `{key: "status", value: {eq: "active"}}`
15676-
Matches objects where the metadata key "status" is set to "active".
15677-
"""
15678-
input MetadataFilterInput {
15679-
"""
15680-
Key to filter by. If not other fields provided - checking the existence of the key in metadata.
15681-
"""
15682-
key: String!
15683-
15684-
"""Value to filter by."""
15685-
value: MetadataValueFilterInput
15686-
}
15687-
15688-
"""Define the filtering options for metadata value fields."""
15689-
input MetadataValueFilterInput {
15690-
"""The value equal to."""
15691-
eq: String
15692-
15693-
"""The value included in."""
15694-
oneOf: [String!]
15695-
}
15696-
1569715699
type PageTypeCountableConnection @doc(category: "Pages") {
1569815700
"""Pagination data for this connection."""
1569915701
pageInfo: PageInfo!

0 commit comments

Comments
 (0)