@shopify/shop-minis-cli 0.0.154 → 0.0.156
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/build/commands/proxies/apply.d.ts +3 -0
- package/build/commands/proxies/apply.js +53 -0
- package/build/commands/proxies/apply.js.map +1 -0
- package/build/commands/proxies/index.d.ts +2 -0
- package/build/commands/proxies/index.js +14 -0
- package/build/commands/proxies/index.js.map +1 -0
- package/build/commands/proxies/list.d.ts +2 -0
- package/build/commands/proxies/list.js +48 -0
- package/build/commands/proxies/list.js.map +1 -0
- package/build/commands/proxies/pull.d.ts +2 -0
- package/build/commands/proxies/pull.js +34 -0
- package/build/commands/proxies/pull.js.map +1 -0
- package/build/commands/secrets/delete.d.ts +2 -0
- package/build/commands/secrets/delete.js +53 -0
- package/build/commands/secrets/delete.js.map +1 -0
- package/build/commands/secrets/index.d.ts +2 -0
- package/build/commands/secrets/index.js +14 -0
- package/build/commands/secrets/index.js.map +1 -0
- package/build/commands/secrets/list.d.ts +2 -0
- package/build/commands/secrets/list.js +29 -0
- package/build/commands/secrets/list.js.map +1 -0
- package/build/commands/secrets/set.d.ts +2 -0
- package/build/commands/secrets/set.js +57 -0
- package/build/commands/secrets/set.js.map +1 -0
- package/build/commands/sync-user-metafield-definitions/index.d.ts +3 -0
- package/build/commands/sync-user-metafield-definitions/index.js +98 -0
- package/build/commands/sync-user-metafield-definitions/index.js.map +1 -0
- package/build/data/gql-client.js +2 -0
- package/build/data/gql-client.js.map +1 -1
- package/build/data/proxies/proxies-list.d.ts +9 -0
- package/build/data/proxies/proxies-list.js +19 -0
- package/build/data/proxies/proxies-list.js.map +1 -0
- package/build/data/proxies/proxies-set.d.ts +5 -0
- package/build/data/proxies/proxies-set.js +18 -0
- package/build/data/proxies/proxies-set.js.map +1 -0
- package/build/data/proxies/types.d.ts +10 -0
- package/build/data/proxies/types.js +2 -0
- package/build/data/proxies/types.js.map +1 -0
- package/build/data/secrets/secret-delete.d.ts +12 -0
- package/build/data/secrets/secret-delete.js +20 -0
- package/build/data/secrets/secret-delete.js.map +1 -0
- package/build/data/secrets/secret-set.d.ts +11 -0
- package/build/data/secrets/secret-set.js +19 -0
- package/build/data/secrets/secret-set.js.map +1 -0
- package/build/data/secrets/secrets-list.d.ts +8 -0
- package/build/data/secrets/secrets-list.js +14 -0
- package/build/data/secrets/secrets-list.js.map +1 -0
- package/build/data/types/autogenerated/shop-minis-admin-api/gql.d.ts +57 -7
- package/build/data/types/autogenerated/shop-minis-admin-api/gql.js +8 -1
- package/build/data/types/autogenerated/shop-minis-admin-api/gql.js.map +1 -1
- package/build/data/types/autogenerated/shop-minis-admin-api/graphql.d.ts +309 -41
- package/build/data/types/autogenerated/shop-minis-admin-api/graphql.js +471 -48
- package/build/data/types/autogenerated/shop-minis-admin-api/graphql.js.map +1 -1
- package/build/data/user-metafield-definitions/create-user-metafield-definition.d.ts +7 -0
- package/build/data/user-metafield-definitions/create-user-metafield-definition.js +25 -0
- package/build/data/user-metafield-definitions/create-user-metafield-definition.js.map +1 -0
- package/build/data/user-metafield-definitions/delete-user-metafield-definition.d.ts +4 -0
- package/build/data/user-metafield-definitions/delete-user-metafield-definition.js +21 -0
- package/build/data/user-metafield-definitions/delete-user-metafield-definition.js.map +1 -0
- package/build/data/user-metafield-definitions/get-user-metafield-definitions.d.ts +7 -0
- package/build/data/user-metafield-definitions/get-user-metafield-definitions.js +19 -0
- package/build/data/user-metafield-definitions/get-user-metafield-definitions.js.map +1 -0
- package/build/index.js +6 -0
- package/build/index.js.map +1 -1
- package/build/schemas/manifest.schema.json +84 -1
- package/build/utils/minis-manifest.d.ts +2 -0
- package/build/utils/minis-manifest.js +8 -0
- package/build/utils/minis-manifest.js.map +1 -1
- package/build/utils/patch-package.js +4 -1
- package/build/utils/patch-package.js.map +1 -1
- package/build/utils/proxies.d.ts +11 -0
- package/build/utils/proxies.js +91 -0
- package/build/utils/proxies.js.map +1 -0
- package/package.json +3 -1
- package/scripts/graphql-codegen.ts +1 -0
- package/build/data/accept-invitation.d.ts +0 -4
- package/build/data/accept-invitation.js +0 -16
- package/build/data/accept-invitation.js.map +0 -1
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/** Possible error codes that can be returned by ContentCreateUserError. */
|
|
2
|
+
export var ContentCreateUserErrorCode;
|
|
3
|
+
(function (ContentCreateUserErrorCode) {
|
|
4
|
+
/** Content with this external ID already exists. */
|
|
5
|
+
ContentCreateUserErrorCode["DuplicateExternalId"] = "DUPLICATE_EXTERNAL_ID";
|
|
6
|
+
/** Some products are not eligible for Shop. */
|
|
7
|
+
ContentCreateUserErrorCode["IneligibleProducts"] = "INELIGIBLE_PRODUCTS";
|
|
8
|
+
})(ContentCreateUserErrorCode || (ContentCreateUserErrorCode = {}));
|
|
1
9
|
/** ISO currency code. */
|
|
2
10
|
export var CurrencyCode;
|
|
3
11
|
(function (CurrencyCode) {
|
|
@@ -548,6 +556,20 @@ export var EventCardV2EntryPointEventStatus;
|
|
|
548
556
|
/** The pre active status for Mini entry point event type. */
|
|
549
557
|
EventCardV2EntryPointEventStatus["PreActive"] = "PRE_ACTIVE";
|
|
550
558
|
})(EventCardV2EntryPointEventStatus || (EventCardV2EntryPointEventStatus = {}));
|
|
559
|
+
/** An HTTP request method. */
|
|
560
|
+
export var HttpRequestMethod;
|
|
561
|
+
(function (HttpRequestMethod) {
|
|
562
|
+
/** The DELETE method. */
|
|
563
|
+
HttpRequestMethod["Delete"] = "DELETE";
|
|
564
|
+
/** The GET method. */
|
|
565
|
+
HttpRequestMethod["Get"] = "GET";
|
|
566
|
+
/** The PATCH method. */
|
|
567
|
+
HttpRequestMethod["Patch"] = "PATCH";
|
|
568
|
+
/** The POST method. */
|
|
569
|
+
HttpRequestMethod["Post"] = "POST";
|
|
570
|
+
/** The PUT method. */
|
|
571
|
+
HttpRequestMethod["Put"] = "PUT";
|
|
572
|
+
})(HttpRequestMethod || (HttpRequestMethod = {}));
|
|
551
573
|
/** The layout of the Mini Image Collection entry point. */
|
|
552
574
|
export var ImageCollectionEntryPointLayout;
|
|
553
575
|
(function (ImageCollectionEntryPointLayout) {
|
|
@@ -556,12 +578,6 @@ export var ImageCollectionEntryPointLayout;
|
|
|
556
578
|
/** The layout is a grid. */
|
|
557
579
|
ImageCollectionEntryPointLayout["Grid"] = "GRID";
|
|
558
580
|
})(ImageCollectionEntryPointLayout || (ImageCollectionEntryPointLayout = {}));
|
|
559
|
-
/** Possible error codes that can be returned by InvitationAcceptUserError. */
|
|
560
|
-
export var InvitationAcceptUserErrorCode;
|
|
561
|
-
(function (InvitationAcceptUserErrorCode) {
|
|
562
|
-
/** Error code when the invitation is not found. */
|
|
563
|
-
InvitationAcceptUserErrorCode["InvitationNotFound"] = "INVITATION_NOT_FOUND";
|
|
564
|
-
})(InvitationAcceptUserErrorCode || (InvitationAcceptUserErrorCode = {}));
|
|
565
581
|
/** Possible error codes that can be returned by MiniCreateUserError. */
|
|
566
582
|
export var MiniCreateUserErrorCode;
|
|
567
583
|
(function (MiniCreateUserErrorCode) {
|
|
@@ -612,6 +628,12 @@ export var ProductEligibilityStatus;
|
|
|
612
628
|
/** The product is ineligible to appear in Shop. */
|
|
613
629
|
ProductEligibilityStatus["Ineligible"] = "INELIGIBLE";
|
|
614
630
|
})(ProductEligibilityStatus || (ProductEligibilityStatus = {}));
|
|
631
|
+
/** Possible error codes that can be returned by SecretDeleteUserError. */
|
|
632
|
+
export var SecretDeleteUserErrorCode;
|
|
633
|
+
(function (SecretDeleteUserErrorCode) {
|
|
634
|
+
/** Error code when the secret could not be found. */
|
|
635
|
+
SecretDeleteUserErrorCode["NotFound"] = "NOT_FOUND";
|
|
636
|
+
})(SecretDeleteUserErrorCode || (SecretDeleteUserErrorCode = {}));
|
|
615
637
|
/** The eligibility status of a shop. */
|
|
616
638
|
export var ShopEligibilityStatus;
|
|
617
639
|
(function (ShopEligibilityStatus) {
|
|
@@ -692,48 +714,6 @@ export var UserTokenVerifyUserErrorCode;
|
|
|
692
714
|
/** The user was not found. */
|
|
693
715
|
UserTokenVerifyUserErrorCode["UserNotFound"] = "USER_NOT_FOUND";
|
|
694
716
|
})(UserTokenVerifyUserErrorCode || (UserTokenVerifyUserErrorCode = {}));
|
|
695
|
-
export const AcceptInvitationDocument = {
|
|
696
|
-
kind: 'Document',
|
|
697
|
-
definitions: [
|
|
698
|
-
{
|
|
699
|
-
kind: 'OperationDefinition',
|
|
700
|
-
operation: 'mutation',
|
|
701
|
-
name: { kind: 'Name', value: 'AcceptInvitation' },
|
|
702
|
-
variableDefinitions: [
|
|
703
|
-
{
|
|
704
|
-
kind: 'VariableDefinition',
|
|
705
|
-
variable: { kind: 'Variable', name: { kind: 'Name', value: 'code' } },
|
|
706
|
-
type: {
|
|
707
|
-
kind: 'NonNullType',
|
|
708
|
-
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
709
|
-
},
|
|
710
|
-
},
|
|
711
|
-
],
|
|
712
|
-
selectionSet: {
|
|
713
|
-
kind: 'SelectionSet',
|
|
714
|
-
selections: [
|
|
715
|
-
{
|
|
716
|
-
kind: 'Field',
|
|
717
|
-
name: { kind: 'Name', value: 'invitationAccept' },
|
|
718
|
-
arguments: [
|
|
719
|
-
{
|
|
720
|
-
kind: 'Argument',
|
|
721
|
-
name: { kind: 'Name', value: 'code' },
|
|
722
|
-
value: { kind: 'Variable', name: { kind: 'Name', value: 'code' } },
|
|
723
|
-
},
|
|
724
|
-
],
|
|
725
|
-
selectionSet: {
|
|
726
|
-
kind: 'SelectionSet',
|
|
727
|
-
selections: [
|
|
728
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'token' } },
|
|
729
|
-
],
|
|
730
|
-
},
|
|
731
|
-
},
|
|
732
|
-
],
|
|
733
|
-
},
|
|
734
|
-
},
|
|
735
|
-
],
|
|
736
|
-
};
|
|
737
717
|
export const CancelSubmissionDocument = {
|
|
738
718
|
kind: 'Document',
|
|
739
719
|
definitions: [
|
|
@@ -1471,4 +1451,447 @@ export const MiniDocument = {
|
|
|
1471
1451
|
},
|
|
1472
1452
|
],
|
|
1473
1453
|
};
|
|
1454
|
+
export const ProxiesDocument = {
|
|
1455
|
+
kind: 'Document',
|
|
1456
|
+
definitions: [
|
|
1457
|
+
{
|
|
1458
|
+
kind: 'OperationDefinition',
|
|
1459
|
+
operation: 'query',
|
|
1460
|
+
name: { kind: 'Name', value: 'Proxies' },
|
|
1461
|
+
selectionSet: {
|
|
1462
|
+
kind: 'SelectionSet',
|
|
1463
|
+
selections: [
|
|
1464
|
+
{
|
|
1465
|
+
kind: 'Field',
|
|
1466
|
+
name: { kind: 'Name', value: 'proxies' },
|
|
1467
|
+
selectionSet: {
|
|
1468
|
+
kind: 'SelectionSet',
|
|
1469
|
+
selections: [
|
|
1470
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'allowedMethods' } },
|
|
1471
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'appendedHeaders' } },
|
|
1472
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'bodyJsonSchema' } },
|
|
1473
|
+
{
|
|
1474
|
+
kind: 'Field',
|
|
1475
|
+
name: { kind: 'Name', value: 'targetUrlPattern' },
|
|
1476
|
+
},
|
|
1477
|
+
{
|
|
1478
|
+
kind: 'Field',
|
|
1479
|
+
name: { kind: 'Name', value: 'userRateLimitInterval' },
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
kind: 'Field',
|
|
1483
|
+
name: { kind: 'Name', value: 'userRateLimitRequests' },
|
|
1484
|
+
},
|
|
1485
|
+
],
|
|
1486
|
+
},
|
|
1487
|
+
},
|
|
1488
|
+
],
|
|
1489
|
+
},
|
|
1490
|
+
},
|
|
1491
|
+
],
|
|
1492
|
+
};
|
|
1493
|
+
export const ProxiesSetDocument = {
|
|
1494
|
+
kind: 'Document',
|
|
1495
|
+
definitions: [
|
|
1496
|
+
{
|
|
1497
|
+
kind: 'OperationDefinition',
|
|
1498
|
+
operation: 'mutation',
|
|
1499
|
+
name: { kind: 'Name', value: 'ProxiesSet' },
|
|
1500
|
+
variableDefinitions: [
|
|
1501
|
+
{
|
|
1502
|
+
kind: 'VariableDefinition',
|
|
1503
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'proxies' } },
|
|
1504
|
+
type: {
|
|
1505
|
+
kind: 'NonNullType',
|
|
1506
|
+
type: {
|
|
1507
|
+
kind: 'ListType',
|
|
1508
|
+
type: {
|
|
1509
|
+
kind: 'NonNullType',
|
|
1510
|
+
type: {
|
|
1511
|
+
kind: 'NamedType',
|
|
1512
|
+
name: { kind: 'Name', value: 'ProxyInput' },
|
|
1513
|
+
},
|
|
1514
|
+
},
|
|
1515
|
+
},
|
|
1516
|
+
},
|
|
1517
|
+
},
|
|
1518
|
+
],
|
|
1519
|
+
selectionSet: {
|
|
1520
|
+
kind: 'SelectionSet',
|
|
1521
|
+
selections: [
|
|
1522
|
+
{
|
|
1523
|
+
kind: 'Field',
|
|
1524
|
+
name: { kind: 'Name', value: 'proxiesSet' },
|
|
1525
|
+
arguments: [
|
|
1526
|
+
{
|
|
1527
|
+
kind: 'Argument',
|
|
1528
|
+
name: { kind: 'Name', value: 'proxies' },
|
|
1529
|
+
value: {
|
|
1530
|
+
kind: 'Variable',
|
|
1531
|
+
name: { kind: 'Name', value: 'proxies' },
|
|
1532
|
+
},
|
|
1533
|
+
},
|
|
1534
|
+
],
|
|
1535
|
+
selectionSet: {
|
|
1536
|
+
kind: 'SelectionSet',
|
|
1537
|
+
selections: [
|
|
1538
|
+
{
|
|
1539
|
+
kind: 'Field',
|
|
1540
|
+
name: { kind: 'Name', value: 'proxies' },
|
|
1541
|
+
selectionSet: {
|
|
1542
|
+
kind: 'SelectionSet',
|
|
1543
|
+
selections: [
|
|
1544
|
+
{
|
|
1545
|
+
kind: 'Field',
|
|
1546
|
+
name: { kind: 'Name', value: 'targetUrlPattern' },
|
|
1547
|
+
},
|
|
1548
|
+
],
|
|
1549
|
+
},
|
|
1550
|
+
},
|
|
1551
|
+
],
|
|
1552
|
+
},
|
|
1553
|
+
},
|
|
1554
|
+
],
|
|
1555
|
+
},
|
|
1556
|
+
},
|
|
1557
|
+
],
|
|
1558
|
+
};
|
|
1559
|
+
export const SecretDeleteDocument = {
|
|
1560
|
+
kind: 'Document',
|
|
1561
|
+
definitions: [
|
|
1562
|
+
{
|
|
1563
|
+
kind: 'OperationDefinition',
|
|
1564
|
+
operation: 'mutation',
|
|
1565
|
+
name: { kind: 'Name', value: 'SecretDelete' },
|
|
1566
|
+
variableDefinitions: [
|
|
1567
|
+
{
|
|
1568
|
+
kind: 'VariableDefinition',
|
|
1569
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'key' } },
|
|
1570
|
+
type: {
|
|
1571
|
+
kind: 'NonNullType',
|
|
1572
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
1573
|
+
},
|
|
1574
|
+
},
|
|
1575
|
+
],
|
|
1576
|
+
selectionSet: {
|
|
1577
|
+
kind: 'SelectionSet',
|
|
1578
|
+
selections: [
|
|
1579
|
+
{
|
|
1580
|
+
kind: 'Field',
|
|
1581
|
+
name: { kind: 'Name', value: 'secretDelete' },
|
|
1582
|
+
arguments: [
|
|
1583
|
+
{
|
|
1584
|
+
kind: 'Argument',
|
|
1585
|
+
name: { kind: 'Name', value: 'key' },
|
|
1586
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'key' } },
|
|
1587
|
+
},
|
|
1588
|
+
],
|
|
1589
|
+
selectionSet: {
|
|
1590
|
+
kind: 'SelectionSet',
|
|
1591
|
+
selections: [
|
|
1592
|
+
{
|
|
1593
|
+
kind: 'Field',
|
|
1594
|
+
name: { kind: 'Name', value: 'userErrors' },
|
|
1595
|
+
selectionSet: {
|
|
1596
|
+
kind: 'SelectionSet',
|
|
1597
|
+
selections: [
|
|
1598
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'code' } },
|
|
1599
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'field' } },
|
|
1600
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'message' } },
|
|
1601
|
+
],
|
|
1602
|
+
},
|
|
1603
|
+
},
|
|
1604
|
+
],
|
|
1605
|
+
},
|
|
1606
|
+
},
|
|
1607
|
+
],
|
|
1608
|
+
},
|
|
1609
|
+
},
|
|
1610
|
+
],
|
|
1611
|
+
};
|
|
1612
|
+
export const SecretSetDocument = {
|
|
1613
|
+
kind: 'Document',
|
|
1614
|
+
definitions: [
|
|
1615
|
+
{
|
|
1616
|
+
kind: 'OperationDefinition',
|
|
1617
|
+
operation: 'mutation',
|
|
1618
|
+
name: { kind: 'Name', value: 'SecretSet' },
|
|
1619
|
+
variableDefinitions: [
|
|
1620
|
+
{
|
|
1621
|
+
kind: 'VariableDefinition',
|
|
1622
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'key' } },
|
|
1623
|
+
type: {
|
|
1624
|
+
kind: 'NonNullType',
|
|
1625
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
1626
|
+
},
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
kind: 'VariableDefinition',
|
|
1630
|
+
variable: {
|
|
1631
|
+
kind: 'Variable',
|
|
1632
|
+
name: { kind: 'Name', value: 'secretValue' },
|
|
1633
|
+
},
|
|
1634
|
+
type: {
|
|
1635
|
+
kind: 'NonNullType',
|
|
1636
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
1637
|
+
},
|
|
1638
|
+
},
|
|
1639
|
+
],
|
|
1640
|
+
selectionSet: {
|
|
1641
|
+
kind: 'SelectionSet',
|
|
1642
|
+
selections: [
|
|
1643
|
+
{
|
|
1644
|
+
kind: 'Field',
|
|
1645
|
+
name: { kind: 'Name', value: 'secretSet' },
|
|
1646
|
+
arguments: [
|
|
1647
|
+
{
|
|
1648
|
+
kind: 'Argument',
|
|
1649
|
+
name: { kind: 'Name', value: 'key' },
|
|
1650
|
+
value: { kind: 'Variable', name: { kind: 'Name', value: 'key' } },
|
|
1651
|
+
},
|
|
1652
|
+
{
|
|
1653
|
+
kind: 'Argument',
|
|
1654
|
+
name: { kind: 'Name', value: 'value' },
|
|
1655
|
+
value: {
|
|
1656
|
+
kind: 'Variable',
|
|
1657
|
+
name: { kind: 'Name', value: 'secretValue' },
|
|
1658
|
+
},
|
|
1659
|
+
},
|
|
1660
|
+
],
|
|
1661
|
+
selectionSet: {
|
|
1662
|
+
kind: 'SelectionSet',
|
|
1663
|
+
selections: [
|
|
1664
|
+
{
|
|
1665
|
+
kind: 'Field',
|
|
1666
|
+
name: { kind: 'Name', value: 'secret' },
|
|
1667
|
+
selectionSet: {
|
|
1668
|
+
kind: 'SelectionSet',
|
|
1669
|
+
selections: [
|
|
1670
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'key' } },
|
|
1671
|
+
],
|
|
1672
|
+
},
|
|
1673
|
+
},
|
|
1674
|
+
],
|
|
1675
|
+
},
|
|
1676
|
+
},
|
|
1677
|
+
],
|
|
1678
|
+
},
|
|
1679
|
+
},
|
|
1680
|
+
],
|
|
1681
|
+
};
|
|
1682
|
+
export const SecretsDocument = {
|
|
1683
|
+
kind: 'Document',
|
|
1684
|
+
definitions: [
|
|
1685
|
+
{
|
|
1686
|
+
kind: 'OperationDefinition',
|
|
1687
|
+
operation: 'query',
|
|
1688
|
+
name: { kind: 'Name', value: 'Secrets' },
|
|
1689
|
+
selectionSet: {
|
|
1690
|
+
kind: 'SelectionSet',
|
|
1691
|
+
selections: [
|
|
1692
|
+
{
|
|
1693
|
+
kind: 'Field',
|
|
1694
|
+
name: { kind: 'Name', value: 'secrets' },
|
|
1695
|
+
selectionSet: {
|
|
1696
|
+
kind: 'SelectionSet',
|
|
1697
|
+
selections: [{ kind: 'Field', name: { kind: 'Name', value: 'key' } }],
|
|
1698
|
+
},
|
|
1699
|
+
},
|
|
1700
|
+
],
|
|
1701
|
+
},
|
|
1702
|
+
},
|
|
1703
|
+
],
|
|
1704
|
+
};
|
|
1705
|
+
export const UserMetafieldDefinitionCreateDocument = {
|
|
1706
|
+
kind: 'Document',
|
|
1707
|
+
definitions: [
|
|
1708
|
+
{
|
|
1709
|
+
kind: 'OperationDefinition',
|
|
1710
|
+
operation: 'mutation',
|
|
1711
|
+
name: { kind: 'Name', value: 'UserMetafieldDefinitionCreate' },
|
|
1712
|
+
variableDefinitions: [
|
|
1713
|
+
{
|
|
1714
|
+
kind: 'VariableDefinition',
|
|
1715
|
+
variable: {
|
|
1716
|
+
kind: 'Variable',
|
|
1717
|
+
name: { kind: 'Name', value: 'definition' },
|
|
1718
|
+
},
|
|
1719
|
+
type: {
|
|
1720
|
+
kind: 'NonNullType',
|
|
1721
|
+
type: {
|
|
1722
|
+
kind: 'NamedType',
|
|
1723
|
+
name: { kind: 'Name', value: 'UserMetafieldDefinitionCreateInput' },
|
|
1724
|
+
},
|
|
1725
|
+
},
|
|
1726
|
+
},
|
|
1727
|
+
],
|
|
1728
|
+
selectionSet: {
|
|
1729
|
+
kind: 'SelectionSet',
|
|
1730
|
+
selections: [
|
|
1731
|
+
{
|
|
1732
|
+
kind: 'Field',
|
|
1733
|
+
name: { kind: 'Name', value: 'userMetafieldDefinitionCreate' },
|
|
1734
|
+
arguments: [
|
|
1735
|
+
{
|
|
1736
|
+
kind: 'Argument',
|
|
1737
|
+
name: { kind: 'Name', value: 'definition' },
|
|
1738
|
+
value: {
|
|
1739
|
+
kind: 'Variable',
|
|
1740
|
+
name: { kind: 'Name', value: 'definition' },
|
|
1741
|
+
},
|
|
1742
|
+
},
|
|
1743
|
+
],
|
|
1744
|
+
selectionSet: {
|
|
1745
|
+
kind: 'SelectionSet',
|
|
1746
|
+
selections: [
|
|
1747
|
+
{
|
|
1748
|
+
kind: 'Field',
|
|
1749
|
+
name: { kind: 'Name', value: 'createdDefinition' },
|
|
1750
|
+
selectionSet: {
|
|
1751
|
+
kind: 'SelectionSet',
|
|
1752
|
+
selections: [
|
|
1753
|
+
{
|
|
1754
|
+
kind: 'Field',
|
|
1755
|
+
name: { kind: 'Name', value: 'description' },
|
|
1756
|
+
},
|
|
1757
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
1758
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'key' } },
|
|
1759
|
+
],
|
|
1760
|
+
},
|
|
1761
|
+
},
|
|
1762
|
+
{
|
|
1763
|
+
kind: 'Field',
|
|
1764
|
+
name: { kind: 'Name', value: 'userErrors' },
|
|
1765
|
+
selectionSet: {
|
|
1766
|
+
kind: 'SelectionSet',
|
|
1767
|
+
selections: [
|
|
1768
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'code' } },
|
|
1769
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'message' } },
|
|
1770
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'field' } },
|
|
1771
|
+
],
|
|
1772
|
+
},
|
|
1773
|
+
},
|
|
1774
|
+
],
|
|
1775
|
+
},
|
|
1776
|
+
},
|
|
1777
|
+
],
|
|
1778
|
+
},
|
|
1779
|
+
},
|
|
1780
|
+
],
|
|
1781
|
+
};
|
|
1782
|
+
export const UserMetafieldDefinitionDeleteDocument = {
|
|
1783
|
+
kind: 'Document',
|
|
1784
|
+
definitions: [
|
|
1785
|
+
{
|
|
1786
|
+
kind: 'OperationDefinition',
|
|
1787
|
+
operation: 'mutation',
|
|
1788
|
+
name: { kind: 'Name', value: 'UserMetafieldDefinitionDelete' },
|
|
1789
|
+
variableDefinitions: [
|
|
1790
|
+
{
|
|
1791
|
+
kind: 'VariableDefinition',
|
|
1792
|
+
variable: { kind: 'Variable', name: { kind: 'Name', value: 'key' } },
|
|
1793
|
+
type: {
|
|
1794
|
+
kind: 'NonNullType',
|
|
1795
|
+
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
1796
|
+
},
|
|
1797
|
+
},
|
|
1798
|
+
],
|
|
1799
|
+
selectionSet: {
|
|
1800
|
+
kind: 'SelectionSet',
|
|
1801
|
+
selections: [
|
|
1802
|
+
{
|
|
1803
|
+
kind: 'Field',
|
|
1804
|
+
name: { kind: 'Name', value: 'userMetafieldDefinitionDelete' },
|
|
1805
|
+
arguments: [
|
|
1806
|
+
{
|
|
1807
|
+
kind: 'Argument',
|
|
1808
|
+
name: { kind: 'Name', value: 'identifier' },
|
|
1809
|
+
value: {
|
|
1810
|
+
kind: 'ObjectValue',
|
|
1811
|
+
fields: [
|
|
1812
|
+
{
|
|
1813
|
+
kind: 'ObjectField',
|
|
1814
|
+
name: { kind: 'Name', value: 'key' },
|
|
1815
|
+
value: {
|
|
1816
|
+
kind: 'Variable',
|
|
1817
|
+
name: { kind: 'Name', value: 'key' },
|
|
1818
|
+
},
|
|
1819
|
+
},
|
|
1820
|
+
],
|
|
1821
|
+
},
|
|
1822
|
+
},
|
|
1823
|
+
],
|
|
1824
|
+
selectionSet: {
|
|
1825
|
+
kind: 'SelectionSet',
|
|
1826
|
+
selections: [
|
|
1827
|
+
{
|
|
1828
|
+
kind: 'Field',
|
|
1829
|
+
name: { kind: 'Name', value: 'deletedDefinition' },
|
|
1830
|
+
selectionSet: {
|
|
1831
|
+
kind: 'SelectionSet',
|
|
1832
|
+
selections: [
|
|
1833
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'key' } },
|
|
1834
|
+
],
|
|
1835
|
+
},
|
|
1836
|
+
},
|
|
1837
|
+
{
|
|
1838
|
+
kind: 'Field',
|
|
1839
|
+
name: { kind: 'Name', value: 'userErrors' },
|
|
1840
|
+
selectionSet: {
|
|
1841
|
+
kind: 'SelectionSet',
|
|
1842
|
+
selections: [
|
|
1843
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'code' } },
|
|
1844
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'message' } },
|
|
1845
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'field' } },
|
|
1846
|
+
],
|
|
1847
|
+
},
|
|
1848
|
+
},
|
|
1849
|
+
],
|
|
1850
|
+
},
|
|
1851
|
+
},
|
|
1852
|
+
],
|
|
1853
|
+
},
|
|
1854
|
+
},
|
|
1855
|
+
],
|
|
1856
|
+
};
|
|
1857
|
+
export const UserMetafieldDefinitionsDocument = {
|
|
1858
|
+
kind: 'Document',
|
|
1859
|
+
definitions: [
|
|
1860
|
+
{
|
|
1861
|
+
kind: 'OperationDefinition',
|
|
1862
|
+
operation: 'query',
|
|
1863
|
+
name: { kind: 'Name', value: 'UserMetafieldDefinitions' },
|
|
1864
|
+
selectionSet: {
|
|
1865
|
+
kind: 'SelectionSet',
|
|
1866
|
+
selections: [
|
|
1867
|
+
{
|
|
1868
|
+
kind: 'Field',
|
|
1869
|
+
name: { kind: 'Name', value: 'userMetafieldDefinitions' },
|
|
1870
|
+
selectionSet: {
|
|
1871
|
+
kind: 'SelectionSet',
|
|
1872
|
+
selections: [
|
|
1873
|
+
{
|
|
1874
|
+
kind: 'Field',
|
|
1875
|
+
name: { kind: 'Name', value: 'nodes' },
|
|
1876
|
+
selectionSet: {
|
|
1877
|
+
kind: 'SelectionSet',
|
|
1878
|
+
selections: [
|
|
1879
|
+
{
|
|
1880
|
+
kind: 'Field',
|
|
1881
|
+
name: { kind: 'Name', value: 'description' },
|
|
1882
|
+
},
|
|
1883
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
1884
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'key' } },
|
|
1885
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'type' } },
|
|
1886
|
+
],
|
|
1887
|
+
},
|
|
1888
|
+
},
|
|
1889
|
+
],
|
|
1890
|
+
},
|
|
1891
|
+
},
|
|
1892
|
+
],
|
|
1893
|
+
},
|
|
1894
|
+
},
|
|
1895
|
+
],
|
|
1896
|
+
};
|
|
1474
1897
|
//# sourceMappingURL=graphql.js.map
|