@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.
Files changed (78) hide show
  1. package/build/commands/proxies/apply.d.ts +3 -0
  2. package/build/commands/proxies/apply.js +53 -0
  3. package/build/commands/proxies/apply.js.map +1 -0
  4. package/build/commands/proxies/index.d.ts +2 -0
  5. package/build/commands/proxies/index.js +14 -0
  6. package/build/commands/proxies/index.js.map +1 -0
  7. package/build/commands/proxies/list.d.ts +2 -0
  8. package/build/commands/proxies/list.js +48 -0
  9. package/build/commands/proxies/list.js.map +1 -0
  10. package/build/commands/proxies/pull.d.ts +2 -0
  11. package/build/commands/proxies/pull.js +34 -0
  12. package/build/commands/proxies/pull.js.map +1 -0
  13. package/build/commands/secrets/delete.d.ts +2 -0
  14. package/build/commands/secrets/delete.js +53 -0
  15. package/build/commands/secrets/delete.js.map +1 -0
  16. package/build/commands/secrets/index.d.ts +2 -0
  17. package/build/commands/secrets/index.js +14 -0
  18. package/build/commands/secrets/index.js.map +1 -0
  19. package/build/commands/secrets/list.d.ts +2 -0
  20. package/build/commands/secrets/list.js +29 -0
  21. package/build/commands/secrets/list.js.map +1 -0
  22. package/build/commands/secrets/set.d.ts +2 -0
  23. package/build/commands/secrets/set.js +57 -0
  24. package/build/commands/secrets/set.js.map +1 -0
  25. package/build/commands/sync-user-metafield-definitions/index.d.ts +3 -0
  26. package/build/commands/sync-user-metafield-definitions/index.js +98 -0
  27. package/build/commands/sync-user-metafield-definitions/index.js.map +1 -0
  28. package/build/data/gql-client.js +2 -0
  29. package/build/data/gql-client.js.map +1 -1
  30. package/build/data/proxies/proxies-list.d.ts +9 -0
  31. package/build/data/proxies/proxies-list.js +19 -0
  32. package/build/data/proxies/proxies-list.js.map +1 -0
  33. package/build/data/proxies/proxies-set.d.ts +5 -0
  34. package/build/data/proxies/proxies-set.js +18 -0
  35. package/build/data/proxies/proxies-set.js.map +1 -0
  36. package/build/data/proxies/types.d.ts +10 -0
  37. package/build/data/proxies/types.js +2 -0
  38. package/build/data/proxies/types.js.map +1 -0
  39. package/build/data/secrets/secret-delete.d.ts +12 -0
  40. package/build/data/secrets/secret-delete.js +20 -0
  41. package/build/data/secrets/secret-delete.js.map +1 -0
  42. package/build/data/secrets/secret-set.d.ts +11 -0
  43. package/build/data/secrets/secret-set.js +19 -0
  44. package/build/data/secrets/secret-set.js.map +1 -0
  45. package/build/data/secrets/secrets-list.d.ts +8 -0
  46. package/build/data/secrets/secrets-list.js +14 -0
  47. package/build/data/secrets/secrets-list.js.map +1 -0
  48. package/build/data/types/autogenerated/shop-minis-admin-api/gql.d.ts +57 -7
  49. package/build/data/types/autogenerated/shop-minis-admin-api/gql.js +8 -1
  50. package/build/data/types/autogenerated/shop-minis-admin-api/gql.js.map +1 -1
  51. package/build/data/types/autogenerated/shop-minis-admin-api/graphql.d.ts +309 -41
  52. package/build/data/types/autogenerated/shop-minis-admin-api/graphql.js +471 -48
  53. package/build/data/types/autogenerated/shop-minis-admin-api/graphql.js.map +1 -1
  54. package/build/data/user-metafield-definitions/create-user-metafield-definition.d.ts +7 -0
  55. package/build/data/user-metafield-definitions/create-user-metafield-definition.js +25 -0
  56. package/build/data/user-metafield-definitions/create-user-metafield-definition.js.map +1 -0
  57. package/build/data/user-metafield-definitions/delete-user-metafield-definition.d.ts +4 -0
  58. package/build/data/user-metafield-definitions/delete-user-metafield-definition.js +21 -0
  59. package/build/data/user-metafield-definitions/delete-user-metafield-definition.js.map +1 -0
  60. package/build/data/user-metafield-definitions/get-user-metafield-definitions.d.ts +7 -0
  61. package/build/data/user-metafield-definitions/get-user-metafield-definitions.js +19 -0
  62. package/build/data/user-metafield-definitions/get-user-metafield-definitions.js.map +1 -0
  63. package/build/index.js +6 -0
  64. package/build/index.js.map +1 -1
  65. package/build/schemas/manifest.schema.json +84 -1
  66. package/build/utils/minis-manifest.d.ts +2 -0
  67. package/build/utils/minis-manifest.js +8 -0
  68. package/build/utils/minis-manifest.js.map +1 -1
  69. package/build/utils/patch-package.js +4 -1
  70. package/build/utils/patch-package.js.map +1 -1
  71. package/build/utils/proxies.d.ts +11 -0
  72. package/build/utils/proxies.js +91 -0
  73. package/build/utils/proxies.js.map +1 -0
  74. package/package.json +3 -1
  75. package/scripts/graphql-codegen.ts +1 -0
  76. package/build/data/accept-invitation.d.ts +0 -4
  77. package/build/data/accept-invitation.js +0 -16
  78. package/build/data/accept-invitation.js.map +0 -1
@@ -0,0 +1,20 @@
1
+ import { graphql } from '../types/autogenerated/shop-minis-admin-api/gql.js';
2
+ import { client } from '../gql-client.js';
3
+ const secretDeleteQuery = graphql(/* GraphQL */ `
4
+ mutation SecretDelete($key: String!) {
5
+ secretDelete(key: $key) {
6
+ userErrors {
7
+ code
8
+ field
9
+ message
10
+ }
11
+ }
12
+ }
13
+ `);
14
+ export const secretDelete = async ({ key }) => {
15
+ const data = await client.request(secretDeleteQuery, {
16
+ key,
17
+ });
18
+ return data.secretDelete;
19
+ };
20
+ //# sourceMappingURL=secret-delete.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"secret-delete.js","sourceRoot":"","sources":["../../../src/data/secrets/secret-delete.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,oDAAoD,CAAA;AAC1E,OAAO,EAAC,MAAM,EAAC,MAAM,kBAAkB,CAAA;AAEvC,MAAM,iBAAiB,GAAG,OAAO,CAAC,aAAa,CAAC;;;;;;;;;;CAU/C,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,YAAY,GAAG,KAAK,EAAE,EAAC,GAAG,EAAsB,EAAE,EAAE;IAC/D,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC,iBAAiB,EAAE;QACnD,GAAG;KACJ,CAAC,CAAA;IAEF,OAAO,IAAI,CAAC,YAAY,CAAA;AAC1B,CAAC,CAAA"}
@@ -0,0 +1,11 @@
1
+ export interface SecretSetParameters {
2
+ key: string;
3
+ value: string;
4
+ }
5
+ export declare const secretSet: ({ key, value }: SecretSetParameters) => Promise<{
6
+ __typename?: "SecretSetPayload" | undefined;
7
+ secret?: {
8
+ __typename?: "Secret" | undefined;
9
+ key: string;
10
+ } | null | undefined;
11
+ }>;
@@ -0,0 +1,19 @@
1
+ import { graphql } from '../types/autogenerated/shop-minis-admin-api/gql.js';
2
+ import { client } from '../gql-client.js';
3
+ const secretSetQuery = graphql(/* GraphQL */ `
4
+ mutation SecretSet($key: String!, $secretValue: String!) {
5
+ secretSet(key: $key, value: $secretValue) {
6
+ secret {
7
+ key
8
+ }
9
+ }
10
+ }
11
+ `);
12
+ export const secretSet = async ({ key, value }) => {
13
+ const data = await client.request(secretSetQuery, {
14
+ key,
15
+ secretValue: value,
16
+ });
17
+ return data.secretSet;
18
+ };
19
+ //# sourceMappingURL=secret-set.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"secret-set.js","sourceRoot":"","sources":["../../../src/data/secrets/secret-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,oDAAoD,CAAA;AAC1E,OAAO,EAAC,MAAM,EAAC,MAAM,kBAAkB,CAAA;AAEvC,MAAM,cAAc,GAAG,OAAO,CAAC,aAAa,CAAC;;;;;;;;CAQ5C,CAAC,CAAA;AAOF,MAAM,CAAC,MAAM,SAAS,GAAG,KAAK,EAAE,EAAC,GAAG,EAAE,KAAK,EAAsB,EAAE,EAAE;IACnE,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC,cAAc,EAAE;QAChD,GAAG;QACH,WAAW,EAAE,KAAK;KACnB,CAAC,CAAA;IAEF,OAAO,IAAI,CAAC,SAAS,CAAA;AACvB,CAAC,CAAA"}
@@ -0,0 +1,8 @@
1
+ export interface SecretSetParameters {
2
+ key: string;
3
+ value: string;
4
+ }
5
+ export declare const secretsList: () => Promise<{
6
+ __typename?: "Secret" | undefined;
7
+ key: string;
8
+ }[]>;
@@ -0,0 +1,14 @@
1
+ import { graphql } from '../types/autogenerated/shop-minis-admin-api/gql.js';
2
+ import { client } from '../gql-client.js';
3
+ const secretsQuery = graphql(/* GraphQL */ `
4
+ query Secrets {
5
+ secrets {
6
+ key
7
+ }
8
+ }
9
+ `);
10
+ export const secretsList = async () => {
11
+ const data = await client.request(secretsQuery);
12
+ return data.secrets;
13
+ };
14
+ //# sourceMappingURL=secrets-list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"secrets-list.js","sourceRoot":"","sources":["../../../src/data/secrets/secrets-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAC,MAAM,oDAAoD,CAAA;AAC1E,OAAO,EAAC,MAAM,EAAC,MAAM,kBAAkB,CAAA;AAEvC,MAAM,YAAY,GAAG,OAAO,CAAC,aAAa,CAAC;;;;;;CAM1C,CAAC,CAAA;AAOF,MAAM,CAAC,MAAM,WAAW,GAAG,KAAK,IAAI,EAAE;IACpC,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,CAAA;IAE/C,OAAO,IAAI,CAAC,OAAO,CAAA;AACrB,CAAC,CAAA"}
@@ -11,9 +11,6 @@ import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/
11
11
  * Therefore it is highly recommended to use the babel or swc plugin for production.
12
12
  */
13
13
  declare const documents: {
14
- '\n mutation AcceptInvitation($code: String!) {\n invitationAccept(code: $code) {\n token\n }\n }\n': DocumentNode<types.AcceptInvitationMutation, types.Exact<{
15
- code: string;
16
- }>>;
17
14
  '\n mutation CancelSubmission($reference: String!) {\n submissionCancel(reference: $reference) {\n submission {\n reference\n description\n status\n submittedAt\n }\n userErrors {\n code\n message\n field\n }\n }\n }\n': DocumentNode<types.CancelSubmissionMutation, types.Exact<{
18
15
  reference: string;
19
16
  }>>;
@@ -49,6 +46,31 @@ declare const documents: {
49
46
  '\n query Mini {\n mini {\n handle\n productionShopifyAppId\n developmentShopifyAppIds\n }\n }\n': DocumentNode<types.MiniQuery, types.Exact<{
50
47
  [key: string]: never;
51
48
  }>>;
49
+ '\n query Proxies {\n proxies {\n allowedMethods\n appendedHeaders\n bodyJsonSchema\n targetUrlPattern\n userRateLimitInterval\n userRateLimitRequests\n }\n }\n': DocumentNode<types.ProxiesQuery, types.Exact<{
50
+ [key: string]: never;
51
+ }>>;
52
+ '\n mutation ProxiesSet($proxies: [ProxyInput!]!) {\n proxiesSet(proxies: $proxies) {\n proxies {\n targetUrlPattern\n }\n }\n }\n': DocumentNode<types.ProxiesSetMutation, types.Exact<{
53
+ proxies: types.ProxyInput | types.ProxyInput[];
54
+ }>>;
55
+ '\n mutation SecretDelete($key: String!) {\n secretDelete(key: $key) {\n userErrors {\n code\n field\n message\n }\n }\n }\n': DocumentNode<types.SecretDeleteMutation, types.Exact<{
56
+ key: string;
57
+ }>>;
58
+ '\n mutation SecretSet($key: String!, $secretValue: String!) {\n secretSet(key: $key, value: $secretValue) {\n secret {\n key\n }\n }\n }\n': DocumentNode<types.SecretSetMutation, types.Exact<{
59
+ key: string;
60
+ secretValue: string;
61
+ }>>;
62
+ '\n query Secrets {\n secrets {\n key\n }\n }\n': DocumentNode<types.SecretsQuery, types.Exact<{
63
+ [key: string]: never;
64
+ }>>;
65
+ '\n mutation UserMetafieldDefinitionCreate(\n $definition: UserMetafieldDefinitionCreateInput!\n ) {\n userMetafieldDefinitionCreate(definition: $definition) {\n createdDefinition {\n description\n name\n key\n }\n userErrors {\n code\n message\n field\n }\n }\n }\n': DocumentNode<types.UserMetafieldDefinitionCreateMutation, types.Exact<{
66
+ definition: types.UserMetafieldDefinitionCreateInput;
67
+ }>>;
68
+ '\n mutation UserMetafieldDefinitionDelete($key: String!) {\n userMetafieldDefinitionDelete(identifier: {key: $key}) {\n deletedDefinition {\n key\n }\n userErrors {\n code\n message\n field\n }\n }\n }\n': DocumentNode<types.UserMetafieldDefinitionDeleteMutation, types.Exact<{
69
+ key: string;
70
+ }>>;
71
+ '\n query UserMetafieldDefinitions {\n userMetafieldDefinitions {\n nodes {\n description\n name\n key\n type\n }\n }\n }\n': DocumentNode<types.UserMetafieldDefinitionsQuery, types.Exact<{
72
+ [key: string]: never;
73
+ }>>;
52
74
  };
53
75
  /**
54
76
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
@@ -63,10 +85,6 @@ declare const documents: {
63
85
  * Please regenerate the types.
64
86
  */
65
87
  export declare function graphql(source: string): unknown;
66
- /**
67
- * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
68
- */
69
- export declare function graphql(source: '\n mutation AcceptInvitation($code: String!) {\n invitationAccept(code: $code) {\n token\n }\n }\n'): (typeof documents)['\n mutation AcceptInvitation($code: String!) {\n invitationAccept(code: $code) {\n token\n }\n }\n'];
70
88
  /**
71
89
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
72
90
  */
@@ -103,5 +121,37 @@ export declare function graphql(source: '\n mutation MiniUnlinkApp($appId: ID!)
103
121
  * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
104
122
  */
105
123
  export declare function graphql(source: '\n query Mini {\n mini {\n handle\n productionShopifyAppId\n developmentShopifyAppIds\n }\n }\n'): (typeof documents)['\n query Mini {\n mini {\n handle\n productionShopifyAppId\n developmentShopifyAppIds\n }\n }\n'];
124
+ /**
125
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
126
+ */
127
+ export declare function graphql(source: '\n query Proxies {\n proxies {\n allowedMethods\n appendedHeaders\n bodyJsonSchema\n targetUrlPattern\n userRateLimitInterval\n userRateLimitRequests\n }\n }\n'): (typeof documents)['\n query Proxies {\n proxies {\n allowedMethods\n appendedHeaders\n bodyJsonSchema\n targetUrlPattern\n userRateLimitInterval\n userRateLimitRequests\n }\n }\n'];
128
+ /**
129
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
130
+ */
131
+ export declare function graphql(source: '\n mutation ProxiesSet($proxies: [ProxyInput!]!) {\n proxiesSet(proxies: $proxies) {\n proxies {\n targetUrlPattern\n }\n }\n }\n'): (typeof documents)['\n mutation ProxiesSet($proxies: [ProxyInput!]!) {\n proxiesSet(proxies: $proxies) {\n proxies {\n targetUrlPattern\n }\n }\n }\n'];
132
+ /**
133
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
134
+ */
135
+ export declare function graphql(source: '\n mutation SecretDelete($key: String!) {\n secretDelete(key: $key) {\n userErrors {\n code\n field\n message\n }\n }\n }\n'): (typeof documents)['\n mutation SecretDelete($key: String!) {\n secretDelete(key: $key) {\n userErrors {\n code\n field\n message\n }\n }\n }\n'];
136
+ /**
137
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
138
+ */
139
+ export declare function graphql(source: '\n mutation SecretSet($key: String!, $secretValue: String!) {\n secretSet(key: $key, value: $secretValue) {\n secret {\n key\n }\n }\n }\n'): (typeof documents)['\n mutation SecretSet($key: String!, $secretValue: String!) {\n secretSet(key: $key, value: $secretValue) {\n secret {\n key\n }\n }\n }\n'];
140
+ /**
141
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
142
+ */
143
+ export declare function graphql(source: '\n query Secrets {\n secrets {\n key\n }\n }\n'): (typeof documents)['\n query Secrets {\n secrets {\n key\n }\n }\n'];
144
+ /**
145
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
146
+ */
147
+ export declare function graphql(source: '\n mutation UserMetafieldDefinitionCreate(\n $definition: UserMetafieldDefinitionCreateInput!\n ) {\n userMetafieldDefinitionCreate(definition: $definition) {\n createdDefinition {\n description\n name\n key\n }\n userErrors {\n code\n message\n field\n }\n }\n }\n'): (typeof documents)['\n mutation UserMetafieldDefinitionCreate(\n $definition: UserMetafieldDefinitionCreateInput!\n ) {\n userMetafieldDefinitionCreate(definition: $definition) {\n createdDefinition {\n description\n name\n key\n }\n userErrors {\n code\n message\n field\n }\n }\n }\n'];
148
+ /**
149
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
150
+ */
151
+ export declare function graphql(source: '\n mutation UserMetafieldDefinitionDelete($key: String!) {\n userMetafieldDefinitionDelete(identifier: {key: $key}) {\n deletedDefinition {\n key\n }\n userErrors {\n code\n message\n field\n }\n }\n }\n'): (typeof documents)['\n mutation UserMetafieldDefinitionDelete($key: String!) {\n userMetafieldDefinitionDelete(identifier: {key: $key}) {\n deletedDefinition {\n key\n }\n userErrors {\n code\n message\n field\n }\n }\n }\n'];
152
+ /**
153
+ * The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
154
+ */
155
+ export declare function graphql(source: '\n query UserMetafieldDefinitions {\n userMetafieldDefinitions {\n nodes {\n description\n name\n key\n type\n }\n }\n }\n'): (typeof documents)['\n query UserMetafieldDefinitions {\n userMetafieldDefinitions {\n nodes {\n description\n name\n key\n type\n }\n }\n }\n'];
106
156
  export type DocumentType<TDocumentNode extends DocumentNode<any, any>> = TDocumentNode extends DocumentNode<infer TType, any> ? TType : never;
107
157
  export {};
@@ -11,7 +11,6 @@ import * as types from './graphql.js';
11
11
  * Therefore it is highly recommended to use the babel or swc plugin for production.
12
12
  */
13
13
  const documents = {
14
- '\n mutation AcceptInvitation($code: String!) {\n invitationAccept(code: $code) {\n token\n }\n }\n': types.AcceptInvitationDocument,
15
14
  '\n mutation CancelSubmission($reference: String!) {\n submissionCancel(reference: $reference) {\n submission {\n reference\n description\n status\n submittedAt\n }\n userErrors {\n code\n message\n field\n }\n }\n }\n': types.CancelSubmissionDocument,
16
15
  '\n mutation CreateSubmission($description: String!, $uploadId: ID!) {\n submissionCreate(description: $description, uploadId: $uploadId) {\n submission {\n reference\n description\n status\n submittedAt\n }\n userErrors {\n code\n message\n field\n }\n }\n }\n': types.CreateSubmissionDocument,
17
16
  '\n mutation CreateUpload(\n $filename: String!\n $fileSize: Int!\n $checksum: String!\n $mimeType: String!\n ) {\n submissionUploadCreate(\n input: {\n filename: $filename\n fileSize: $fileSize\n checksum: $checksum\n mimeType: $mimeType\n }\n ) {\n upload {\n url\n headers\n id\n }\n userErrors {\n code\n message\n field\n }\n }\n }\n': types.CreateUploadDocument,
@@ -21,6 +20,14 @@ const documents = {
21
20
  '\n mutation MiniLinkApp(\n $appApiKey: String!\n $partnersAccessToken: String!\n $primary: Boolean\n ) {\n miniLinkApp(\n appApiKey: $appApiKey\n partnersAccessToken: $partnersAccessToken\n primary: $primary\n ) {\n mini {\n handle\n productionShopifyAppId\n developmentShopifyAppIds\n }\n userErrors {\n code\n message\n field\n }\n }\n }\n': types.MiniLinkAppDocument,
22
21
  '\n mutation MiniUnlinkApp($appId: ID!) {\n miniUnlinkApp(appId: $appId) {\n mini {\n handle\n productionShopifyAppId\n developmentShopifyAppIds\n }\n userErrors {\n code\n message\n field\n }\n }\n }\n': types.MiniUnlinkAppDocument,
23
22
  '\n query Mini {\n mini {\n handle\n productionShopifyAppId\n developmentShopifyAppIds\n }\n }\n': types.MiniDocument,
23
+ '\n query Proxies {\n proxies {\n allowedMethods\n appendedHeaders\n bodyJsonSchema\n targetUrlPattern\n userRateLimitInterval\n userRateLimitRequests\n }\n }\n': types.ProxiesDocument,
24
+ '\n mutation ProxiesSet($proxies: [ProxyInput!]!) {\n proxiesSet(proxies: $proxies) {\n proxies {\n targetUrlPattern\n }\n }\n }\n': types.ProxiesSetDocument,
25
+ '\n mutation SecretDelete($key: String!) {\n secretDelete(key: $key) {\n userErrors {\n code\n field\n message\n }\n }\n }\n': types.SecretDeleteDocument,
26
+ '\n mutation SecretSet($key: String!, $secretValue: String!) {\n secretSet(key: $key, value: $secretValue) {\n secret {\n key\n }\n }\n }\n': types.SecretSetDocument,
27
+ '\n query Secrets {\n secrets {\n key\n }\n }\n': types.SecretsDocument,
28
+ '\n mutation UserMetafieldDefinitionCreate(\n $definition: UserMetafieldDefinitionCreateInput!\n ) {\n userMetafieldDefinitionCreate(definition: $definition) {\n createdDefinition {\n description\n name\n key\n }\n userErrors {\n code\n message\n field\n }\n }\n }\n': types.UserMetafieldDefinitionCreateDocument,
29
+ '\n mutation UserMetafieldDefinitionDelete($key: String!) {\n userMetafieldDefinitionDelete(identifier: {key: $key}) {\n deletedDefinition {\n key\n }\n userErrors {\n code\n message\n field\n }\n }\n }\n': types.UserMetafieldDefinitionDeleteDocument,
30
+ '\n query UserMetafieldDefinitions {\n userMetafieldDefinitions {\n nodes {\n description\n name\n key\n type\n }\n }\n }\n': types.UserMetafieldDefinitionsDocument,
24
31
  };
25
32
  export function graphql(source) {
26
33
  return documents[source] ?? {};
@@ -1 +1 @@
1
- {"version":3,"file":"gql.js","sourceRoot":"","sources":["../../../../../src/data/types/autogenerated/shop-minis-admin-api/gql.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,OAAO,KAAK,KAAK,MAAM,cAAc,CAAA;AAGrC;;;;;;;;;GASG;AACH,MAAM,SAAS,GAAG;IAChB,iHAAiH,EAC/G,KAAK,CAAC,wBAAwB;IAChC,wSAAwS,EACtS,KAAK,CAAC,wBAAwB;IAChC,mVAAmV,EACjV,KAAK,CAAC,wBAAwB;IAChC,+cAA+c,EAC7c,KAAK,CAAC,oBAAoB;IAC5B,wLAAwL,EACtL,KAAK,CAAC,kBAAkB;IAC1B,4SAA4S,EAC1S,KAAK,CAAC,mBAAmB;IAC3B,oYAAoY,EAClY,KAAK,CAAC,kBAAkB;IAC1B,ybAAyb,EACvb,KAAK,CAAC,mBAAmB;IAC3B,iRAAiR,EAC/Q,KAAK,CAAC,qBAAqB;IAC7B,wHAAwH,EACtH,KAAK,CAAC,YAAY;CACrB,CAAA;AA6ED,MAAM,UAAU,OAAO,CAAC,MAAc;IACpC,OAAQ,SAAiB,CAAC,MAAM,CAAC,IAAI,EAAE,CAAA;AACzC,CAAC"}
1
+ {"version":3,"file":"gql.js","sourceRoot":"","sources":["../../../../../src/data/types/autogenerated/shop-minis-admin-api/gql.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,OAAO,KAAK,KAAK,MAAM,cAAc,CAAA;AAGrC;;;;;;;;;GASG;AACH,MAAM,SAAS,GAAG;IAChB,wSAAwS,EACtS,KAAK,CAAC,wBAAwB;IAChC,mVAAmV,EACjV,KAAK,CAAC,wBAAwB;IAChC,+cAA+c,EAC7c,KAAK,CAAC,oBAAoB;IAC5B,wLAAwL,EACtL,KAAK,CAAC,kBAAkB;IAC1B,4SAA4S,EAC1S,KAAK,CAAC,mBAAmB;IAC3B,oYAAoY,EAClY,KAAK,CAAC,kBAAkB;IAC1B,ybAAyb,EACvb,KAAK,CAAC,mBAAmB;IAC3B,iRAAiR,EAC/Q,KAAK,CAAC,qBAAqB;IAC7B,wHAAwH,EACtH,KAAK,CAAC,YAAY;IACpB,uMAAuM,EACrM,KAAK,CAAC,eAAe;IACvB,4JAA4J,EAC1J,KAAK,CAAC,kBAAkB;IAC1B,oKAAoK,EAClK,KAAK,CAAC,oBAAoB;IAC5B,qKAAqK,EACnK,KAAK,CAAC,iBAAiB;IACzB,6DAA6D,EAC3D,KAAK,CAAC,eAAe;IACvB,qVAAqV,EACnV,KAAK,CAAC,qCAAqC;IAC7C,qQAAqQ,EACnQ,KAAK,CAAC,qCAAqC;IAC7C,0KAA0K,EACxK,KAAK,CAAC,gCAAgC;CACzC,CAAA;AAuHD,MAAM,UAAU,OAAO,CAAC,MAAc;IACpC,OAAQ,SAAiB,CAAC,MAAM,CAAC,IAAI,EAAE,CAAA;AACzC,CAAC"}