Skip to content

Commit 26f4b8c

Browse files
committed
updated schema
1 parent 17ea17b commit 26f4b8c

File tree

2 files changed

+162
-2
lines changed

2 files changed

+162
-2
lines changed

checkout/rust/cart-checkout-validation/default/schema.graphql

Lines changed: 81 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2602,6 +2602,61 @@ input FunctionResult {
26022602
errors: [FunctionError!]!
26032603
}
26042604

2605+
"""
2606+
Represents a gate configuration.
2607+
"""
2608+
type GateConfiguration implements HasMetafields {
2609+
"""
2610+
An optional string identifier.
2611+
"""
2612+
appId: String
2613+
2614+
"""
2615+
The ID of the gate configuration.
2616+
"""
2617+
id: ID!
2618+
2619+
"""
2620+
Returns a metafield by namespace and key that belongs to the resource.
2621+
"""
2622+
metafield(
2623+
"""
2624+
The key for the metafield.
2625+
"""
2626+
key: String!
2627+
2628+
"""
2629+
The namespace for the metafield.
2630+
"""
2631+
namespace: String!
2632+
): Metafield
2633+
}
2634+
2635+
"""
2636+
Represents a connection from a subject to a gate configuration.
2637+
"""
2638+
type GateSubject {
2639+
"""
2640+
The bound gate configuration.
2641+
"""
2642+
configuration: GateConfiguration!
2643+
2644+
"""
2645+
The ID of the gate subject.
2646+
"""
2647+
id: ID!
2648+
}
2649+
2650+
"""
2651+
Gate subjects associated to the specified resource.
2652+
"""
2653+
interface HasGates {
2654+
"""
2655+
Returns active gate subjects bound to the resource.
2656+
"""
2657+
gates: [GateSubject!]!
2658+
}
2659+
26052660
"""
26062661
Represents information about the metafields associated to the specified resource.
26072662
"""
@@ -2741,6 +2796,11 @@ enum LanguageCode {
27412796
"""
27422797
CE
27432798

2799+
"""
2800+
Central Kurdish.
2801+
"""
2802+
CKB
2803+
27442804
"""
27452805
Czech.
27462806
"""
@@ -2821,6 +2881,11 @@ enum LanguageCode {
28212881
"""
28222882
FI
28232883

2884+
"""
2885+
Filipino.
2886+
"""
2887+
FIL
2888+
28242889
"""
28252890
Faroese.
28262891
"""
@@ -3171,6 +3236,16 @@ enum LanguageCode {
31713236
"""
31723237
RW
31733238

3239+
"""
3240+
Sanskrit.
3241+
"""
3242+
SA
3243+
3244+
"""
3245+
Sardinian.
3246+
"""
3247+
SC
3248+
31743249
"""
31753250
Sindhi.
31763251
"""
@@ -3486,7 +3561,12 @@ type MutationRoot {
34863561
"""
34873562
Represents a product.
34883563
"""
3489-
type Product implements HasMetafields {
3564+
type Product implements HasGates & HasMetafields {
3565+
"""
3566+
Returns active gate subjects bound to the resource.
3567+
"""
3568+
gates: [GateSubject!]!
3569+
34903570
"""
34913571
A unique human-friendly string of the product's title.
34923572
"""

checkout/wasm/cart-checkout-validation/default/schema.graphql

Lines changed: 81 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2602,6 +2602,61 @@ input FunctionResult {
26022602
errors: [FunctionError!]!
26032603
}
26042604

2605+
"""
2606+
Represents a gate configuration.
2607+
"""
2608+
type GateConfiguration implements HasMetafields {
2609+
"""
2610+
An optional string identifier.
2611+
"""
2612+
appId: String
2613+
2614+
"""
2615+
The ID of the gate configuration.
2616+
"""
2617+
id: ID!
2618+
2619+
"""
2620+
Returns a metafield by namespace and key that belongs to the resource.
2621+
"""
2622+
metafield(
2623+
"""
2624+
The key for the metafield.
2625+
"""
2626+
key: String!
2627+
2628+
"""
2629+
The namespace for the metafield.
2630+
"""
2631+
namespace: String!
2632+
): Metafield
2633+
}
2634+
2635+
"""
2636+
Represents a connection from a subject to a gate configuration.
2637+
"""
2638+
type GateSubject {
2639+
"""
2640+
The bound gate configuration.
2641+
"""
2642+
configuration: GateConfiguration!
2643+
2644+
"""
2645+
The ID of the gate subject.
2646+
"""
2647+
id: ID!
2648+
}
2649+
2650+
"""
2651+
Gate subjects associated to the specified resource.
2652+
"""
2653+
interface HasGates {
2654+
"""
2655+
Returns active gate subjects bound to the resource.
2656+
"""
2657+
gates: [GateSubject!]!
2658+
}
2659+
26052660
"""
26062661
Represents information about the metafields associated to the specified resource.
26072662
"""
@@ -2741,6 +2796,11 @@ enum LanguageCode {
27412796
"""
27422797
CE
27432798

2799+
"""
2800+
Central Kurdish.
2801+
"""
2802+
CKB
2803+
27442804
"""
27452805
Czech.
27462806
"""
@@ -2821,6 +2881,11 @@ enum LanguageCode {
28212881
"""
28222882
FI
28232883

2884+
"""
2885+
Filipino.
2886+
"""
2887+
FIL
2888+
28242889
"""
28252890
Faroese.
28262891
"""
@@ -3171,6 +3236,16 @@ enum LanguageCode {
31713236
"""
31723237
RW
31733238

3239+
"""
3240+
Sanskrit.
3241+
"""
3242+
SA
3243+
3244+
"""
3245+
Sardinian.
3246+
"""
3247+
SC
3248+
31743249
"""
31753250
Sindhi.
31763251
"""
@@ -3486,7 +3561,12 @@ type MutationRoot {
34863561
"""
34873562
Represents a product.
34883563
"""
3489-
type Product implements HasMetafields {
3564+
type Product implements HasGates & HasMetafields {
3565+
"""
3566+
Returns active gate subjects bound to the resource.
3567+
"""
3568+
gates: [GateSubject!]!
3569+
34903570
"""
34913571
A unique human-friendly string of the product's title.
34923572
"""

0 commit comments

Comments
 (0)