@shop-on/theme-server 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LICENSE.md +2 -2
- package/dist/graphql-env.d.ts +1244 -126
- package/dist/liquid.d.ts +115 -0
- package/dist/liquid.js +250 -2
- package/dist/metafields.js +11 -1
- package/dist/metaobject.js +1 -9
- package/dist/schema.storefront.graphql +518 -0
- package/package.json +4 -3
|
@@ -58,6 +58,16 @@ type AccountingPostingEdge {
|
|
|
58
58
|
node: AccountingPosting!
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
+
"""
|
|
62
|
+
The bounding box of an area, in degrees (WGS 84). Enough to move a map there.
|
|
63
|
+
"""
|
|
64
|
+
type AddressBounds {
|
|
65
|
+
east: Float!
|
|
66
|
+
north: Float!
|
|
67
|
+
south: Float!
|
|
68
|
+
west: Float!
|
|
69
|
+
}
|
|
70
|
+
|
|
61
71
|
"""
|
|
62
72
|
A country in the global address reference set (ISO 3166-1).
|
|
63
73
|
"""
|
|
@@ -178,6 +188,10 @@ input AddressCreateInput {
|
|
|
178
188
|
A district (sum / düüreg) inside a province.
|
|
179
189
|
"""
|
|
180
190
|
type AddressDistrict {
|
|
191
|
+
"""
|
|
192
|
+
Where this area is on a map. Null when its boundary is not known.
|
|
193
|
+
"""
|
|
194
|
+
bounds: AddressBounds
|
|
181
195
|
code: String!
|
|
182
196
|
id: ID!
|
|
183
197
|
|
|
@@ -193,16 +207,35 @@ type AddressDistrict {
|
|
|
193
207
|
A khoroo (or rural bag) inside a district.
|
|
194
208
|
"""
|
|
195
209
|
type AddressKhoroo {
|
|
210
|
+
"""
|
|
211
|
+
Where this area is on a map. Null when its boundary is not known.
|
|
212
|
+
"""
|
|
213
|
+
bounds: AddressBounds
|
|
196
214
|
code: String!
|
|
197
215
|
district: AddressDistrict!
|
|
198
216
|
id: ID!
|
|
199
217
|
name(locale: String): String!
|
|
200
218
|
}
|
|
201
219
|
|
|
220
|
+
"""
|
|
221
|
+
The address chain a map point falls in. A level is null when no known boundary
|
|
222
|
+
at that level covers the point, and every level below it is then null too.
|
|
223
|
+
"""
|
|
224
|
+
type AddressLocation {
|
|
225
|
+
district: AddressDistrict
|
|
226
|
+
khoroo: AddressKhoroo
|
|
227
|
+
province: AddressProvince
|
|
228
|
+
}
|
|
229
|
+
|
|
202
230
|
"""
|
|
203
231
|
A province / state / aimag inside a country (ISO 3166-2).
|
|
204
232
|
"""
|
|
205
233
|
type AddressProvince {
|
|
234
|
+
"""
|
|
235
|
+
Where this area is on a map. Null when its boundary is not known.
|
|
236
|
+
"""
|
|
237
|
+
bounds: AddressBounds
|
|
238
|
+
|
|
206
239
|
"""
|
|
207
240
|
ISO 3166-2 subdivision code.
|
|
208
241
|
"""
|
|
@@ -1584,6 +1617,168 @@ type CustomerAddressUpdatePayload {
|
|
|
1584
1617
|
userErrors: [UserError!]!
|
|
1585
1618
|
}
|
|
1586
1619
|
|
|
1620
|
+
"""
|
|
1621
|
+
Autogenerated input type of CustomerEmailChangeConfirm
|
|
1622
|
+
"""
|
|
1623
|
+
input CustomerEmailChangeConfirmInput {
|
|
1624
|
+
"""
|
|
1625
|
+
A unique identifier for the client performing the mutation.
|
|
1626
|
+
"""
|
|
1627
|
+
clientMutationId: String
|
|
1628
|
+
code: String!
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1631
|
+
"""
|
|
1632
|
+
Autogenerated return type of CustomerEmailChangeConfirm.
|
|
1633
|
+
"""
|
|
1634
|
+
type CustomerEmailChangeConfirmPayload {
|
|
1635
|
+
"""
|
|
1636
|
+
A unique identifier for the client performing the mutation.
|
|
1637
|
+
"""
|
|
1638
|
+
clientMutationId: String
|
|
1639
|
+
customer: ShopCustomer
|
|
1640
|
+
userErrors: [UserError!]!
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
"""
|
|
1644
|
+
Autogenerated input type of CustomerEmailChangeRequest
|
|
1645
|
+
"""
|
|
1646
|
+
input CustomerEmailChangeRequestInput {
|
|
1647
|
+
"""
|
|
1648
|
+
A unique identifier for the client performing the mutation.
|
|
1649
|
+
"""
|
|
1650
|
+
clientMutationId: String
|
|
1651
|
+
email: String!
|
|
1652
|
+
turnstileToken: String!
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
"""
|
|
1656
|
+
Autogenerated return type of CustomerEmailChangeRequest.
|
|
1657
|
+
"""
|
|
1658
|
+
type CustomerEmailChangeRequestPayload {
|
|
1659
|
+
"""
|
|
1660
|
+
A unique identifier for the client performing the mutation.
|
|
1661
|
+
"""
|
|
1662
|
+
clientMutationId: String
|
|
1663
|
+
pendingEmail: String
|
|
1664
|
+
retryAfter: Int
|
|
1665
|
+
userErrors: [UserError!]!
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
"""
|
|
1669
|
+
Autogenerated input type of CustomerGoogleIdentityLink
|
|
1670
|
+
"""
|
|
1671
|
+
input CustomerGoogleIdentityLinkInput {
|
|
1672
|
+
"""
|
|
1673
|
+
A unique identifier for the client performing the mutation.
|
|
1674
|
+
"""
|
|
1675
|
+
clientMutationId: String
|
|
1676
|
+
|
|
1677
|
+
"""
|
|
1678
|
+
The ID token the Sign in with Google button returned.
|
|
1679
|
+
"""
|
|
1680
|
+
credential: String!
|
|
1681
|
+
}
|
|
1682
|
+
|
|
1683
|
+
"""
|
|
1684
|
+
Autogenerated return type of CustomerGoogleIdentityLink.
|
|
1685
|
+
"""
|
|
1686
|
+
type CustomerGoogleIdentityLinkPayload {
|
|
1687
|
+
"""
|
|
1688
|
+
A unique identifier for the client performing the mutation.
|
|
1689
|
+
"""
|
|
1690
|
+
clientMutationId: String
|
|
1691
|
+
linked: Boolean!
|
|
1692
|
+
userErrors: [UserError!]!
|
|
1693
|
+
}
|
|
1694
|
+
|
|
1695
|
+
"""
|
|
1696
|
+
Autogenerated input type of CustomerGoogleIdentityUnlink
|
|
1697
|
+
"""
|
|
1698
|
+
input CustomerGoogleIdentityUnlinkInput {
|
|
1699
|
+
"""
|
|
1700
|
+
A unique identifier for the client performing the mutation.
|
|
1701
|
+
"""
|
|
1702
|
+
clientMutationId: String
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
"""
|
|
1706
|
+
Autogenerated return type of CustomerGoogleIdentityUnlink.
|
|
1707
|
+
"""
|
|
1708
|
+
type CustomerGoogleIdentityUnlinkPayload {
|
|
1709
|
+
"""
|
|
1710
|
+
A unique identifier for the client performing the mutation.
|
|
1711
|
+
"""
|
|
1712
|
+
clientMutationId: String
|
|
1713
|
+
|
|
1714
|
+
"""
|
|
1715
|
+
False when no Google account was linked.
|
|
1716
|
+
"""
|
|
1717
|
+
unlinked: Boolean!
|
|
1718
|
+
userErrors: [UserError!]!
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
"""
|
|
1722
|
+
Autogenerated input type of CustomerGoogleSignIn
|
|
1723
|
+
"""
|
|
1724
|
+
input CustomerGoogleSignInInput {
|
|
1725
|
+
acceptsMarketing: Boolean
|
|
1726
|
+
|
|
1727
|
+
"""
|
|
1728
|
+
A unique identifier for the client performing the mutation.
|
|
1729
|
+
"""
|
|
1730
|
+
clientMutationId: String
|
|
1731
|
+
|
|
1732
|
+
"""
|
|
1733
|
+
The ID token the Sign in with Google button returned.
|
|
1734
|
+
"""
|
|
1735
|
+
credential: String!
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1738
|
+
"""
|
|
1739
|
+
Autogenerated input type of CustomerGoogleSignInOptionsCreate
|
|
1740
|
+
"""
|
|
1741
|
+
input CustomerGoogleSignInOptionsCreateInput {
|
|
1742
|
+
"""
|
|
1743
|
+
A unique identifier for the client performing the mutation.
|
|
1744
|
+
"""
|
|
1745
|
+
clientMutationId: String
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
"""
|
|
1749
|
+
Autogenerated return type of CustomerGoogleSignInOptionsCreate.
|
|
1750
|
+
"""
|
|
1751
|
+
type CustomerGoogleSignInOptionsCreatePayload {
|
|
1752
|
+
"""
|
|
1753
|
+
A unique identifier for the client performing the mutation.
|
|
1754
|
+
"""
|
|
1755
|
+
clientMutationId: String
|
|
1756
|
+
|
|
1757
|
+
"""
|
|
1758
|
+
Pass to the Google button as `nonce`. Valid for 5 minutes, once. Null while Google sign-in is off for this shop.
|
|
1759
|
+
"""
|
|
1760
|
+
nonce: String
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
"""
|
|
1764
|
+
Autogenerated return type of CustomerGoogleSignIn.
|
|
1765
|
+
"""
|
|
1766
|
+
type CustomerGoogleSignInPayload {
|
|
1767
|
+
"""
|
|
1768
|
+
A unique identifier for the client performing the mutation.
|
|
1769
|
+
"""
|
|
1770
|
+
clientMutationId: String
|
|
1771
|
+
expiresAt: ISO8601DateTime
|
|
1772
|
+
linkToken: String
|
|
1773
|
+
|
|
1774
|
+
"""
|
|
1775
|
+
Set when this email needs our code first: request one, then pass `linkToken` to `customerOtpVerify`.
|
|
1776
|
+
"""
|
|
1777
|
+
otpEmail: String
|
|
1778
|
+
sessionToken: String
|
|
1779
|
+
userErrors: [UserError!]!
|
|
1780
|
+
}
|
|
1781
|
+
|
|
1587
1782
|
"""
|
|
1588
1783
|
Autogenerated input type of CustomerLogout
|
|
1589
1784
|
"""
|
|
@@ -1643,6 +1838,11 @@ input CustomerOtpVerifyInput {
|
|
|
1643
1838
|
clientMutationId: String
|
|
1644
1839
|
code: String!
|
|
1645
1840
|
email: String!
|
|
1841
|
+
|
|
1842
|
+
"""
|
|
1843
|
+
The `linkToken` `customerGoogleSignIn` returned with `otpEmail`.
|
|
1844
|
+
"""
|
|
1845
|
+
googleLinkToken: String
|
|
1646
1846
|
turnstileToken: String!
|
|
1647
1847
|
}
|
|
1648
1848
|
|
|
@@ -1663,6 +1863,8 @@ type CustomerOtpVerifyPayload {
|
|
|
1663
1863
|
Autogenerated input type of CustomerUpdate
|
|
1664
1864
|
"""
|
|
1665
1865
|
input CustomerUpdateInput {
|
|
1866
|
+
acceptsMarketing: Boolean
|
|
1867
|
+
|
|
1666
1868
|
"""
|
|
1667
1869
|
A unique identifier for the client performing the mutation.
|
|
1668
1870
|
"""
|
|
@@ -2830,6 +3032,66 @@ type Mutation {
|
|
|
2830
3032
|
input: CustomerAddressUpdateInput!
|
|
2831
3033
|
): CustomerAddressUpdatePayload
|
|
2832
3034
|
|
|
3035
|
+
"""
|
|
3036
|
+
Confirm the new sign-in email with the code sent to it
|
|
3037
|
+
"""
|
|
3038
|
+
customerEmailChangeConfirm(
|
|
3039
|
+
"""
|
|
3040
|
+
Parameters for CustomerEmailChangeConfirm
|
|
3041
|
+
"""
|
|
3042
|
+
input: CustomerEmailChangeConfirmInput!
|
|
3043
|
+
): CustomerEmailChangeConfirmPayload
|
|
3044
|
+
|
|
3045
|
+
"""
|
|
3046
|
+
Send a code to the address the signed-in customer wants to sign in with
|
|
3047
|
+
"""
|
|
3048
|
+
customerEmailChangeRequest(
|
|
3049
|
+
"""
|
|
3050
|
+
Parameters for CustomerEmailChangeRequest
|
|
3051
|
+
"""
|
|
3052
|
+
input: CustomerEmailChangeRequestInput!
|
|
3053
|
+
): CustomerEmailChangeRequestPayload
|
|
3054
|
+
|
|
3055
|
+
"""
|
|
3056
|
+
Link a Google account to the signed-in customer's sign-in.
|
|
3057
|
+
"""
|
|
3058
|
+
customerGoogleIdentityLink(
|
|
3059
|
+
"""
|
|
3060
|
+
Parameters for CustomerGoogleIdentityLink
|
|
3061
|
+
"""
|
|
3062
|
+
input: CustomerGoogleIdentityLinkInput!
|
|
3063
|
+
): CustomerGoogleIdentityLinkPayload
|
|
3064
|
+
|
|
3065
|
+
"""
|
|
3066
|
+
Unlink the signed-in customer's Google account.
|
|
3067
|
+
"""
|
|
3068
|
+
customerGoogleIdentityUnlink(
|
|
3069
|
+
"""
|
|
3070
|
+
Parameters for CustomerGoogleIdentityUnlink
|
|
3071
|
+
"""
|
|
3072
|
+
input: CustomerGoogleIdentityUnlinkInput!
|
|
3073
|
+
): CustomerGoogleIdentityUnlinkPayload
|
|
3074
|
+
|
|
3075
|
+
"""
|
|
3076
|
+
Sign a buyer in with Google
|
|
3077
|
+
"""
|
|
3078
|
+
customerGoogleSignIn(
|
|
3079
|
+
"""
|
|
3080
|
+
Parameters for CustomerGoogleSignIn
|
|
3081
|
+
"""
|
|
3082
|
+
input: CustomerGoogleSignInInput!
|
|
3083
|
+
): CustomerGoogleSignInPayload
|
|
3084
|
+
|
|
3085
|
+
"""
|
|
3086
|
+
Mint the one-time nonce for a Sign in with Google button.
|
|
3087
|
+
"""
|
|
3088
|
+
customerGoogleSignInOptionsCreate(
|
|
3089
|
+
"""
|
|
3090
|
+
Parameters for CustomerGoogleSignInOptionsCreate
|
|
3091
|
+
"""
|
|
3092
|
+
input: CustomerGoogleSignInOptionsCreateInput!
|
|
3093
|
+
): CustomerGoogleSignInOptionsCreatePayload
|
|
3094
|
+
|
|
2833
3095
|
"""
|
|
2834
3096
|
Revoke the current customer session
|
|
2835
3097
|
"""
|
|
@@ -2920,6 +3182,26 @@ type Mutation {
|
|
|
2920
3182
|
input: NewsletterSubscribeInput!
|
|
2921
3183
|
): NewsletterSubscribePayload
|
|
2922
3184
|
|
|
3185
|
+
"""
|
|
3186
|
+
Poll an order lookup by phone; once verified, the tracking token that opens the order
|
|
3187
|
+
"""
|
|
3188
|
+
orderPhoneLookupFinish(
|
|
3189
|
+
"""
|
|
3190
|
+
Parameters for OrderPhoneLookupFinish
|
|
3191
|
+
"""
|
|
3192
|
+
input: OrderPhoneLookupFinishInput!
|
|
3193
|
+
): OrderPhoneLookupFinishPayload
|
|
3194
|
+
|
|
3195
|
+
"""
|
|
3196
|
+
Start an order lookup by phone: the code to text from the order's phone
|
|
3197
|
+
"""
|
|
3198
|
+
orderPhoneLookupStart(
|
|
3199
|
+
"""
|
|
3200
|
+
Parameters for OrderPhoneLookupStart
|
|
3201
|
+
"""
|
|
3202
|
+
input: OrderPhoneLookupStartInput!
|
|
3203
|
+
): OrderPhoneLookupStartPayload
|
|
3204
|
+
|
|
2923
3205
|
"""
|
|
2924
3206
|
Redeem a one-time pairing code to activate a POS device and mint its device token (returned once).
|
|
2925
3207
|
"""
|
|
@@ -3011,6 +3293,26 @@ type Mutation {
|
|
|
3011
3293
|
input: UserCreateInput!
|
|
3012
3294
|
): UserCreatePayload
|
|
3013
3295
|
|
|
3296
|
+
"""
|
|
3297
|
+
Mint the one-time nonce for a merchant Sign in with Google button.
|
|
3298
|
+
"""
|
|
3299
|
+
userGoogleSignInOptionsCreate(
|
|
3300
|
+
"""
|
|
3301
|
+
Parameters for UserGoogleSignInOptionsCreate
|
|
3302
|
+
"""
|
|
3303
|
+
input: UserGoogleSignInOptionsCreateInput!
|
|
3304
|
+
): UserGoogleSignInOptionsCreatePayload
|
|
3305
|
+
|
|
3306
|
+
"""
|
|
3307
|
+
Create a new platform user from a Google account (self-serve signup)
|
|
3308
|
+
"""
|
|
3309
|
+
userGoogleSignUp(
|
|
3310
|
+
"""
|
|
3311
|
+
Parameters for UserGoogleSignUp
|
|
3312
|
+
"""
|
|
3313
|
+
input: UserGoogleSignUpInput!
|
|
3314
|
+
): UserGoogleSignUpPayload
|
|
3315
|
+
|
|
3014
3316
|
"""
|
|
3015
3317
|
Build WebAuthn authentication options for a passkey sign-in.
|
|
3016
3318
|
"""
|
|
@@ -3076,6 +3378,118 @@ interface Node {
|
|
|
3076
3378
|
id: ID!
|
|
3077
3379
|
}
|
|
3078
3380
|
|
|
3381
|
+
"""
|
|
3382
|
+
Autogenerated input type of OrderPhoneLookupFinish
|
|
3383
|
+
"""
|
|
3384
|
+
input OrderPhoneLookupFinishInput {
|
|
3385
|
+
challengeId: String!
|
|
3386
|
+
|
|
3387
|
+
"""
|
|
3388
|
+
A unique identifier for the client performing the mutation.
|
|
3389
|
+
"""
|
|
3390
|
+
clientMutationId: String
|
|
3391
|
+
}
|
|
3392
|
+
|
|
3393
|
+
"""
|
|
3394
|
+
Autogenerated return type of OrderPhoneLookupFinish.
|
|
3395
|
+
"""
|
|
3396
|
+
type OrderPhoneLookupFinishPayload {
|
|
3397
|
+
"""
|
|
3398
|
+
A unique identifier for the client performing the mutation.
|
|
3399
|
+
"""
|
|
3400
|
+
clientMutationId: String
|
|
3401
|
+
|
|
3402
|
+
"""
|
|
3403
|
+
For `ordersByPhoneToken`: every order the phone placed. Lives 24 hours.
|
|
3404
|
+
"""
|
|
3405
|
+
ordersToken: String
|
|
3406
|
+
status: OrderPhoneLookupStatusEnum
|
|
3407
|
+
|
|
3408
|
+
"""
|
|
3409
|
+
For `orderByTrackingToken`. Lives 24 hours.
|
|
3410
|
+
"""
|
|
3411
|
+
trackingToken: String
|
|
3412
|
+
userErrors: [UserError!]!
|
|
3413
|
+
}
|
|
3414
|
+
|
|
3415
|
+
"""
|
|
3416
|
+
Autogenerated input type of OrderPhoneLookupStart
|
|
3417
|
+
"""
|
|
3418
|
+
input OrderPhoneLookupStartInput {
|
|
3419
|
+
"""
|
|
3420
|
+
A unique identifier for the client performing the mutation.
|
|
3421
|
+
"""
|
|
3422
|
+
clientMutationId: String
|
|
3423
|
+
|
|
3424
|
+
"""
|
|
3425
|
+
The order number, with or without its `#`. Optional when `phone` is given.
|
|
3426
|
+
"""
|
|
3427
|
+
orderName: String
|
|
3428
|
+
|
|
3429
|
+
"""
|
|
3430
|
+
The phone the order was placed with. Optional: without it, the text must come
|
|
3431
|
+
from the order's own phone, which the answer never names.
|
|
3432
|
+
"""
|
|
3433
|
+
phone: String
|
|
3434
|
+
}
|
|
3435
|
+
|
|
3436
|
+
"""
|
|
3437
|
+
Autogenerated return type of OrderPhoneLookupStart.
|
|
3438
|
+
"""
|
|
3439
|
+
type OrderPhoneLookupStartPayload {
|
|
3440
|
+
"""
|
|
3441
|
+
Pass to `orderPhoneLookupFinish`. Keep it private: it collects the order.
|
|
3442
|
+
"""
|
|
3443
|
+
challengeId: String
|
|
3444
|
+
|
|
3445
|
+
"""
|
|
3446
|
+
A unique identifier for the client performing the mutation.
|
|
3447
|
+
"""
|
|
3448
|
+
clientMutationId: String
|
|
3449
|
+
|
|
3450
|
+
"""
|
|
3451
|
+
The text to send, as it is.
|
|
3452
|
+
"""
|
|
3453
|
+
code: String
|
|
3454
|
+
expiresAt: ISO8601DateTime
|
|
3455
|
+
|
|
3456
|
+
"""
|
|
3457
|
+
verify.mn's own instruction, in Mongolian. Show it verbatim. Null when no `phone` was given.
|
|
3458
|
+
"""
|
|
3459
|
+
instruction: String
|
|
3460
|
+
|
|
3461
|
+
"""
|
|
3462
|
+
The number to text it to.
|
|
3463
|
+
"""
|
|
3464
|
+
shortcode: String
|
|
3465
|
+
|
|
3466
|
+
"""
|
|
3467
|
+
An `sms:` link with the code filled in.
|
|
3468
|
+
"""
|
|
3469
|
+
smsUri: String
|
|
3470
|
+
userErrors: [UserError!]!
|
|
3471
|
+
}
|
|
3472
|
+
|
|
3473
|
+
"""
|
|
3474
|
+
Where an order lookup by phone stands (`orderPhoneLookupFinish`).
|
|
3475
|
+
"""
|
|
3476
|
+
enum OrderPhoneLookupStatusEnum {
|
|
3477
|
+
"""
|
|
3478
|
+
The challenge is over (lapsed, or already spent). Start a new lookup for a new code.
|
|
3479
|
+
"""
|
|
3480
|
+
EXPIRED
|
|
3481
|
+
|
|
3482
|
+
"""
|
|
3483
|
+
verify.mn has not received the text yet. Poll again in 3 seconds.
|
|
3484
|
+
"""
|
|
3485
|
+
PENDING
|
|
3486
|
+
|
|
3487
|
+
"""
|
|
3488
|
+
The text arrived from the order's phone; `trackingToken` opens the order.
|
|
3489
|
+
"""
|
|
3490
|
+
VERIFIED
|
|
3491
|
+
}
|
|
3492
|
+
|
|
3079
3493
|
"""
|
|
3080
3494
|
Buyer-facing snapshot of the shipping address on an order.
|
|
3081
3495
|
"""
|
|
@@ -3392,6 +3806,11 @@ enum ProductSearchSortEnum {
|
|
|
3392
3806
|
Root query
|
|
3393
3807
|
"""
|
|
3394
3808
|
type Query {
|
|
3809
|
+
"""
|
|
3810
|
+
The province, district and khoroo whose boundaries cover a point.
|
|
3811
|
+
"""
|
|
3812
|
+
addressAt(latitude: Float!, longitude: Float!): AddressLocation!
|
|
3813
|
+
|
|
3395
3814
|
"""
|
|
3396
3815
|
Find an article by ID, or handle plus a blog locator.
|
|
3397
3816
|
"""
|
|
@@ -3879,6 +4298,14 @@ type Query {
|
|
|
3879
4298
|
"""
|
|
3880
4299
|
orderByTrackingToken(token: String!): ShopOrderTrackingView
|
|
3881
4300
|
|
|
4301
|
+
"""
|
|
4302
|
+
The orders a phone placed in the last 180 days, newest first (at most 50), by
|
|
4303
|
+
the token a verified phone lookup minted
|
|
4304
|
+
(`orderPhoneLookupFinish.ordersToken`). Null on an invalid / expired /
|
|
4305
|
+
wrong-shop token.
|
|
4306
|
+
"""
|
|
4307
|
+
ordersByPhoneToken(token: String!): [ShopOrderPhoneListEntry!]
|
|
4308
|
+
|
|
3882
4309
|
"""
|
|
3883
4310
|
Find a page by ID or handle
|
|
3884
4311
|
"""
|
|
@@ -5899,6 +6326,11 @@ type ShopCustomer implements Node {
|
|
|
5899
6326
|
defaultAddress: ShopAddress
|
|
5900
6327
|
email: String
|
|
5901
6328
|
firstName: String
|
|
6329
|
+
|
|
6330
|
+
"""
|
|
6331
|
+
Whether a Google account signs this customer in.
|
|
6332
|
+
"""
|
|
6333
|
+
googleLinked: Boolean!
|
|
5902
6334
|
id: ID!
|
|
5903
6335
|
lastName: String
|
|
5904
6336
|
name: String
|
|
@@ -7433,6 +7865,24 @@ type ShopOrderLineItemEdge {
|
|
|
7433
7865
|
node: ShopOrderLineItem!
|
|
7434
7866
|
}
|
|
7435
7867
|
|
|
7868
|
+
"""
|
|
7869
|
+
An order in the list a verified phone opens.
|
|
7870
|
+
"""
|
|
7871
|
+
type ShopOrderPhoneListEntry {
|
|
7872
|
+
cancelledAt: ISO8601DateTime
|
|
7873
|
+
createdAt: ISO8601DateTime!
|
|
7874
|
+
financialStatus: ShopOrderFinancialStatusEnum!
|
|
7875
|
+
fulfillmentStatus: ShopOrderFulfillmentStatusEnum!
|
|
7876
|
+
name: String!
|
|
7877
|
+
status: ShopOrderStatusEnum!
|
|
7878
|
+
totalAmount: Money!
|
|
7879
|
+
|
|
7880
|
+
"""
|
|
7881
|
+
For `orderByTrackingToken`. The buyer's link, alive as long as the list's token.
|
|
7882
|
+
"""
|
|
7883
|
+
trackingToken: String!
|
|
7884
|
+
}
|
|
7885
|
+
|
|
7436
7886
|
enum ShopOrderStatusEnum {
|
|
7437
7887
|
CANCELLED
|
|
7438
7888
|
CLOSED
|
|
@@ -7784,7 +8234,17 @@ type ShopPickupDeliveryOption implements ShopDeliveryOption {
|
|
|
7784
8234
|
handle: String!
|
|
7785
8235
|
instructions: String!
|
|
7786
8236
|
kind: ShopDeliveryKindEnum!
|
|
8237
|
+
|
|
8238
|
+
"""
|
|
8239
|
+
The location's map pin, frozen with the address. Null when the location has no pin.
|
|
8240
|
+
"""
|
|
8241
|
+
latitude: Float
|
|
7787
8242
|
locationName: String!
|
|
8243
|
+
|
|
8244
|
+
"""
|
|
8245
|
+
See `latitude`.
|
|
8246
|
+
"""
|
|
8247
|
+
longitude: Float
|
|
7788
8248
|
pickupTime: ShopPickupTimeEnum!
|
|
7789
8249
|
title: String!
|
|
7790
8250
|
}
|
|
@@ -9877,6 +10337,64 @@ type UserError {
|
|
|
9877
10337
|
message: String!
|
|
9878
10338
|
}
|
|
9879
10339
|
|
|
10340
|
+
"""
|
|
10341
|
+
Autogenerated input type of UserGoogleSignInOptionsCreate
|
|
10342
|
+
"""
|
|
10343
|
+
input UserGoogleSignInOptionsCreateInput {
|
|
10344
|
+
"""
|
|
10345
|
+
OAuth client id of the app signing in (e.g. "merchant"). The nonce is good for that app only.
|
|
10346
|
+
"""
|
|
10347
|
+
clientId: String!
|
|
10348
|
+
|
|
10349
|
+
"""
|
|
10350
|
+
A unique identifier for the client performing the mutation.
|
|
10351
|
+
"""
|
|
10352
|
+
clientMutationId: String
|
|
10353
|
+
}
|
|
10354
|
+
|
|
10355
|
+
"""
|
|
10356
|
+
Autogenerated return type of UserGoogleSignInOptionsCreate.
|
|
10357
|
+
"""
|
|
10358
|
+
type UserGoogleSignInOptionsCreatePayload {
|
|
10359
|
+
"""
|
|
10360
|
+
A unique identifier for the client performing the mutation.
|
|
10361
|
+
"""
|
|
10362
|
+
clientMutationId: String
|
|
10363
|
+
|
|
10364
|
+
"""
|
|
10365
|
+
Pass to the Google button as `nonce`. Valid for 5 minutes, once.
|
|
10366
|
+
"""
|
|
10367
|
+
nonce: String
|
|
10368
|
+
userErrors: [UserError!]!
|
|
10369
|
+
}
|
|
10370
|
+
|
|
10371
|
+
"""
|
|
10372
|
+
Autogenerated input type of UserGoogleSignUp
|
|
10373
|
+
"""
|
|
10374
|
+
input UserGoogleSignUpInput {
|
|
10375
|
+
"""
|
|
10376
|
+
A unique identifier for the client performing the mutation.
|
|
10377
|
+
"""
|
|
10378
|
+
clientMutationId: String
|
|
10379
|
+
|
|
10380
|
+
"""
|
|
10381
|
+
The ID token the Sign in with Google button returned.
|
|
10382
|
+
"""
|
|
10383
|
+
credential: String!
|
|
10384
|
+
}
|
|
10385
|
+
|
|
10386
|
+
"""
|
|
10387
|
+
Autogenerated return type of UserGoogleSignUp.
|
|
10388
|
+
"""
|
|
10389
|
+
type UserGoogleSignUpPayload {
|
|
10390
|
+
"""
|
|
10391
|
+
A unique identifier for the client performing the mutation.
|
|
10392
|
+
"""
|
|
10393
|
+
clientMutationId: String
|
|
10394
|
+
user: User
|
|
10395
|
+
userErrors: [UserError!]!
|
|
10396
|
+
}
|
|
10397
|
+
|
|
9880
10398
|
"""
|
|
9881
10399
|
Autogenerated input type of UserPasskeyLoginOptionsCreate
|
|
9882
10400
|
"""
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shop-on/theme-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"license": "SEE LICENSE IN dist/LICENSE.md",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -60,8 +60,9 @@
|
|
|
60
60
|
"graphql": "17.0.2",
|
|
61
61
|
"graphql-request": "7.4.0",
|
|
62
62
|
"liquidjs": "10.30.0",
|
|
63
|
-
"@shop-on/customer-runtime": "0.
|
|
64
|
-
"@shop-on/theme-runtime": "0.
|
|
63
|
+
"@shop-on/customer-runtime": "0.9.0",
|
|
64
|
+
"@shop-on/theme-runtime": "0.9.0",
|
|
65
|
+
"@shop-on/theme-contract": "0.9.0"
|
|
65
66
|
},
|
|
66
67
|
"devDependencies": {
|
|
67
68
|
"@tanstack/react-start": "1.169.3",
|