@shopify/shop-minis-cli 0.1.4 → 0.1.6
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/dev/utils/deeplink.js +19 -10
- package/build/commands/dev/utils/deeplink.js.map +1 -1
- package/build/data/types/autogenerated/shop-minis-admin-api/gql.d.ts +0 -36
- package/build/data/types/autogenerated/shop-minis-admin-api/gql.js +0 -5
- 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 +0 -164
- package/build/data/types/autogenerated/shop-minis-admin-api/graphql.js +0 -282
- package/build/data/types/autogenerated/shop-minis-admin-api/graphql.js.map +1 -1
- package/build/dev-panel/asset-manifest.json +3 -3
- package/build/dev-panel/index.html +1 -1
- package/build/dev-panel/static/js/main.1f5543cc.js +3 -0
- package/build/dev-panel/static/js/main.1f5543cc.js.map +1 -0
- package/build/program.js +0 -4
- package/build/program.js.map +1 -1
- package/build/utils/minis-manifest.d.ts +0 -2
- package/build/utils/minis-manifest.js +0 -8
- package/build/utils/minis-manifest.js.map +1 -1
- package/package.json +1 -1
- package/build/commands/proxies/apply.d.ts +0 -3
- package/build/commands/proxies/apply.js +0 -61
- package/build/commands/proxies/apply.js.map +0 -1
- package/build/commands/proxies/index.d.ts +0 -2
- package/build/commands/proxies/index.js +0 -16
- package/build/commands/proxies/index.js.map +0 -1
- package/build/commands/proxies/list.d.ts +0 -2
- package/build/commands/proxies/list.js +0 -48
- package/build/commands/proxies/list.js.map +0 -1
- package/build/commands/proxies/pull.d.ts +0 -2
- package/build/commands/proxies/pull.js +0 -34
- package/build/commands/proxies/pull.js.map +0 -1
- package/build/commands/secrets/delete.d.ts +0 -2
- package/build/commands/secrets/delete.js +0 -53
- package/build/commands/secrets/delete.js.map +0 -1
- package/build/commands/secrets/index.d.ts +0 -2
- package/build/commands/secrets/index.js +0 -16
- package/build/commands/secrets/index.js.map +0 -1
- package/build/commands/secrets/list.d.ts +0 -2
- package/build/commands/secrets/list.js +0 -29
- package/build/commands/secrets/list.js.map +0 -1
- package/build/commands/secrets/set.d.ts +0 -2
- package/build/commands/secrets/set.js +0 -54
- package/build/commands/secrets/set.js.map +0 -1
- package/build/data/proxies/proxies-list.d.ts +0 -9
- package/build/data/proxies/proxies-list.js +0 -19
- package/build/data/proxies/proxies-list.js.map +0 -1
- package/build/data/proxies/proxies-set.d.ts +0 -5
- package/build/data/proxies/proxies-set.js +0 -22
- package/build/data/proxies/proxies-set.js.map +0 -1
- package/build/data/proxies/types.d.ts +0 -10
- package/build/data/proxies/types.js +0 -2
- package/build/data/proxies/types.js.map +0 -1
- package/build/data/secrets/secret-delete.d.ts +0 -12
- package/build/data/secrets/secret-delete.js +0 -20
- package/build/data/secrets/secret-delete.js.map +0 -1
- package/build/data/secrets/secret-set.d.ts +0 -11
- package/build/data/secrets/secret-set.js +0 -19
- package/build/data/secrets/secret-set.js.map +0 -1
- package/build/data/secrets/secrets-list.d.ts +0 -8
- package/build/data/secrets/secrets-list.js +0 -14
- package/build/data/secrets/secrets-list.js.map +0 -1
- package/build/dev-panel/static/js/main.16836d2d.js +0 -3
- package/build/dev-panel/static/js/main.16836d2d.js.map +0 -1
- package/build/utils/proxies.d.ts +0 -13
- package/build/utils/proxies.js +0 -105
- package/build/utils/proxies.js.map +0 -1
- /package/build/dev-panel/static/js/{main.16836d2d.js.LICENSE.txt → main.1f5543cc.js.LICENSE.txt} +0 -0
|
@@ -17,18 +17,27 @@ export function getDevWebMiniDeeplink({ miniHandle, options, universalLink = fal
|
|
|
17
17
|
scopes: getMiniManifest()?.scopes ?? undefined,
|
|
18
18
|
};
|
|
19
19
|
const encodedDevParams = Buffer.from(JSON.stringify(devParams)).toString('base64');
|
|
20
|
-
//
|
|
21
|
-
|
|
20
|
+
// Build the base URL
|
|
21
|
+
const baseUrl = universalLink
|
|
22
|
+
? `https://shop.app/mini/${miniHandle}`
|
|
23
|
+
: `shopapp://mini/${miniHandle}`;
|
|
24
|
+
const url = new URL(baseUrl);
|
|
25
|
+
// If path is provided, append it and merge any query params it contains
|
|
22
26
|
if (path && path !== '/') {
|
|
23
|
-
|
|
27
|
+
// Parse path using URL with a dummy base to extract pathname and query params
|
|
28
|
+
const pathUrl = new URL(path, 'https://example.com');
|
|
29
|
+
// Append path (pathUrl.pathname always starts with /)
|
|
30
|
+
if (pathUrl.pathname !== '/') {
|
|
31
|
+
url.pathname = `${url.pathname}${pathUrl.pathname}`;
|
|
32
|
+
}
|
|
33
|
+
// Merge any query params from the path
|
|
34
|
+
pathUrl.searchParams.forEach((value, key) => {
|
|
35
|
+
url.searchParams.set(key, value);
|
|
36
|
+
});
|
|
24
37
|
}
|
|
25
|
-
//
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
: miniHandle;
|
|
29
|
-
const deeplink = universalLink
|
|
30
|
-
? `https://shop.app/mini/${miniPath}?devParams=${encodedDevParams}`
|
|
31
|
-
: `shopapp://mini/${miniPath}?devParams=${encodedDevParams}`;
|
|
38
|
+
// Add devParams
|
|
39
|
+
url.searchParams.set('devParams', encodedDevParams);
|
|
40
|
+
const deeplink = url.toString();
|
|
32
41
|
outputDebug(`Development Mode Web MiniDeeplink: ${deeplink}`);
|
|
33
42
|
return deeplink;
|
|
34
43
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deeplink.js","sourceRoot":"","sources":["../../../../src/commands/dev/utils/deeplink.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAA;AAGxD,OAAO,EAAC,eAAe,EAAC,MAAM,kCAAkC,CAAA;AAEhE,OAAO,EAAC,eAAe,EAAC,MAAM,kCAAkC,CAAA;AAEhE,MAAM,UAAU,YAAY,CAAC,IAAY,EAAE,cAA+B;IACxE,IAAI,cAAc,EAAE;QAClB,OAAO,GAAG,cAAc,CAAC,GAAG,EAAE,EAAE,CAAA;KACjC;IAED,OAAO,UAAU,IAAI,IAAI,eAAe,EAAE,CAAA;AAC5C,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,EACpC,UAAU,EACV,OAAO,EACP,aAAa,GAAG,KAAK,EACrB,cAAc,EACd,IAAI,GAQL;IACC,MAAM,YAAY,GAAG,YAAY,CAAC,OAAO,CAAC,IAAI,EAAE,cAAc,CAAC,CAAA;IAE/D,MAAM,SAAS,GAAG;QAChB,YAAY;QACZ,QAAQ,EAAE,eAAe,EAAE,EAAE,QAAQ,IAAI,SAAS;QAClD,cAAc,EAAE,eAAe,EAAE,EAAE,eAAe,IAAI,SAAS;QAC/D,WAAW,EAAE,eAAe,EAAE,EAAE,WAAW,IAAI,SAAS;QACxD,MAAM,EAAE,eAAe,EAAE,EAAE,MAAM,IAAI,SAAS;KAC/C,CAAA;IAED,MAAM,gBAAgB,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CACtE,QAAQ,CACT,CAAA;IAED,
|
|
1
|
+
{"version":3,"file":"deeplink.js","sourceRoot":"","sources":["../../../../src/commands/dev/utils/deeplink.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAA;AAGxD,OAAO,EAAC,eAAe,EAAC,MAAM,kCAAkC,CAAA;AAEhE,OAAO,EAAC,eAAe,EAAC,MAAM,kCAAkC,CAAA;AAEhE,MAAM,UAAU,YAAY,CAAC,IAAY,EAAE,cAA+B;IACxE,IAAI,cAAc,EAAE;QAClB,OAAO,GAAG,cAAc,CAAC,GAAG,EAAE,EAAE,CAAA;KACjC;IAED,OAAO,UAAU,IAAI,IAAI,eAAe,EAAE,CAAA;AAC5C,CAAC;AAED,MAAM,UAAU,qBAAqB,CAAC,EACpC,UAAU,EACV,OAAO,EACP,aAAa,GAAG,KAAK,EACrB,cAAc,EACd,IAAI,GAQL;IACC,MAAM,YAAY,GAAG,YAAY,CAAC,OAAO,CAAC,IAAI,EAAE,cAAc,CAAC,CAAA;IAE/D,MAAM,SAAS,GAAG;QAChB,YAAY;QACZ,QAAQ,EAAE,eAAe,EAAE,EAAE,QAAQ,IAAI,SAAS;QAClD,cAAc,EAAE,eAAe,EAAE,EAAE,eAAe,IAAI,SAAS;QAC/D,WAAW,EAAE,eAAe,EAAE,EAAE,WAAW,IAAI,SAAS;QACxD,MAAM,EAAE,eAAe,EAAE,EAAE,MAAM,IAAI,SAAS;KAC/C,CAAA;IAED,MAAM,gBAAgB,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CACtE,QAAQ,CACT,CAAA;IAED,qBAAqB;IACrB,MAAM,OAAO,GAAG,aAAa;QAC3B,CAAC,CAAC,yBAAyB,UAAU,EAAE;QACvC,CAAC,CAAC,kBAAkB,UAAU,EAAE,CAAA;IAElC,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,CAAA;IAE5B,wEAAwE;IACxE,IAAI,IAAI,IAAI,IAAI,KAAK,GAAG,EAAE;QACxB,8EAA8E;QAC9E,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE,qBAAqB,CAAC,CAAA;QAEpD,sDAAsD;QACtD,IAAI,OAAO,CAAC,QAAQ,KAAK,GAAG,EAAE;YAC5B,GAAG,CAAC,QAAQ,GAAG,GAAG,GAAG,CAAC,QAAQ,GAAG,OAAO,CAAC,QAAQ,EAAE,CAAA;SACpD;QAED,uCAAuC;QACvC,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;YAC1C,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,GAAG,EAAE,KAAK,CAAC,CAAA;QAClC,CAAC,CAAC,CAAA;KACH;IAED,gBAAgB;IAChB,GAAG,CAAC,YAAY,CAAC,GAAG,CAAC,WAAW,EAAE,gBAAgB,CAAC,CAAA;IAEnD,MAAM,QAAQ,GAAG,GAAG,CAAC,QAAQ,EAAE,CAAA;IAE/B,WAAW,CAAC,sCAAsC,QAAQ,EAAE,CAAC,CAAA;IAE7D,OAAO,QAAQ,CAAA;AACjB,CAAC"}
|
|
@@ -46,22 +46,6 @@ declare const documents: {
|
|
|
46
46
|
'\n query Mini {\n mini {\n handle\n }\n }\n': DocumentNode<types.MiniQuery, types.Exact<{
|
|
47
47
|
[key: string]: never;
|
|
48
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 userErrors {\n code\n message\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
49
|
'\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
50
|
definition: types.UserMetafieldDefinitionCreateInput;
|
|
67
51
|
}>>;
|
|
@@ -121,26 +105,6 @@ export declare function graphql(source: '\n mutation MiniCreate(\n $name: St
|
|
|
121
105
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
122
106
|
*/
|
|
123
107
|
export declare function graphql(source: '\n query Mini {\n mini {\n handle\n }\n }\n'): (typeof documents)['\n query Mini {\n mini {\n handle\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 userErrors {\n code\n message\n }\n }\n }\n'): (typeof documents)['\n mutation ProxiesSet($proxies: [ProxyInput!]!) {\n proxiesSet(proxies: $proxies) {\n proxies {\n targetUrlPattern\n }\n userErrors {\n code\n message\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
108
|
/**
|
|
145
109
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
146
110
|
*/
|
|
@@ -20,11 +20,6 @@ const documents = {
|
|
|
20
20
|
'\n query Submissions($first: Int) {\n submissions(first: $first) {\n nodes {\n reference\n description\n status\n submittedAt\n }\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n }\n }\n': types.SubmissionsDocument,
|
|
21
21
|
'\n mutation MiniCreate(\n $name: String!\n $organizationId: ID!\n $partnersAccessToken: String!\n ) {\n miniCreate(\n name: $name\n organizationId: $organizationId\n partnersAccessToken: $partnersAccessToken\n ) {\n mini {\n handle\n }\n token\n userErrors {\n code\n message\n field\n }\n }\n }\n': types.MiniCreateDocument,
|
|
22
22
|
'\n query Mini {\n mini {\n handle\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 userErrors {\n code\n message\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
23
|
'\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
24
|
'\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
25
|
'\n query UserMetafieldDefinitions {\n userMetafieldDefinitions {\n nodes {\n description\n name\n key\n type\n }\n }\n }\n': types.UserMetafieldDefinitionsDocument,
|
|
@@ -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,sSAAsS,EACpS,KAAK,CAAC,sBAAsB;IAC9B,kGAAkG,EAChG,KAAK,CAAC,eAAe;IACvB,2JAA2J,EACzJ,KAAK,CAAC,oBAAoB;IAC5B,wSAAwS,EACtS,KAAK,CAAC,wBAAwB;IAChC,ycAAyc,EACvc,KAAK,CAAC,wBAAwB;IAChC,meAAme,EACje,KAAK,CAAC,oBAAoB;IAC5B,4SAA4S,EAC1S,KAAK,CAAC,mBAAmB;IAC3B,oYAAoY,EAClY,KAAK,CAAC,kBAAkB;IAC1B,0DAA0D,EACxD,KAAK,CAAC,YAAY;IACpB,
|
|
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,sSAAsS,EACpS,KAAK,CAAC,sBAAsB;IAC9B,kGAAkG,EAChG,KAAK,CAAC,eAAe;IACvB,2JAA2J,EACzJ,KAAK,CAAC,oBAAoB;IAC5B,wSAAwS,EACtS,KAAK,CAAC,wBAAwB;IAChC,ycAAyc,EACvc,KAAK,CAAC,wBAAwB;IAChC,meAAme,EACje,KAAK,CAAC,oBAAoB;IAC5B,4SAA4S,EAC1S,KAAK,CAAC,mBAAmB;IAC3B,oYAAoY,EAClY,KAAK,CAAC,kBAAkB;IAC1B,0DAA0D,EACxD,KAAK,CAAC,YAAY;IACpB,qVAAqV,EACnV,KAAK,CAAC,qCAAqC;IAC7C,qQAAqQ,EACnQ,KAAK,CAAC,qCAAqC;IAC7C,0KAA0K,EACxK,KAAK,CAAC,gCAAgC;CACzC,CAAA;AAyFD,MAAM,UAAU,OAAO,CAAC,MAAc;IACpC,OAAQ,SAAiB,CAAC,MAAM,CAAC,IAAI,EAAE,CAAA;AACzC,CAAC"}
|
|
@@ -25,8 +25,6 @@ export type Scalars = {
|
|
|
25
25
|
ISO8601Date: any;
|
|
26
26
|
/** An ISO 8601-encoded datetime */
|
|
27
27
|
ISO8601DateTime: any;
|
|
28
|
-
/** Represents untyped JSON */
|
|
29
|
-
JSON: any;
|
|
30
28
|
/**
|
|
31
29
|
* Represents an [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986) and [RFC 3987](https://datatracker.ietf.org/doc/html/rfc3987)-compliant URI string.
|
|
32
30
|
*
|
|
@@ -1036,19 +1034,6 @@ export type ExternalVideoInput = {
|
|
|
1036
1034
|
/** The preview image for the media. */
|
|
1037
1035
|
previewImage?: InputMaybe<ImageInput>;
|
|
1038
1036
|
};
|
|
1039
|
-
/** An HTTP request method. */
|
|
1040
|
-
export declare enum HttpRequestMethod {
|
|
1041
|
-
/** The DELETE method. */
|
|
1042
|
-
Delete = "DELETE",
|
|
1043
|
-
/** The GET method. */
|
|
1044
|
-
Get = "GET",
|
|
1045
|
-
/** The PATCH method. */
|
|
1046
|
-
Patch = "PATCH",
|
|
1047
|
-
/** The POST method. */
|
|
1048
|
-
Post = "POST",
|
|
1049
|
-
/** The PUT method. */
|
|
1050
|
-
Put = "PUT"
|
|
1051
|
-
}
|
|
1052
1037
|
/** The image for the entry point. */
|
|
1053
1038
|
export type Image = {
|
|
1054
1039
|
__typename?: 'Image';
|
|
@@ -1283,8 +1268,6 @@ export type Mutation = {
|
|
|
1283
1268
|
miniCreate: MiniCreatePayload;
|
|
1284
1269
|
/** Enables or disables the Mini by partner. */
|
|
1285
1270
|
miniToggle: MiniTogglePayload;
|
|
1286
|
-
/** Sets the proxies for the Mini. */
|
|
1287
|
-
proxiesSet: ProxiesSetPayload;
|
|
1288
1271
|
/** Downloads a report. */
|
|
1289
1272
|
reportDownload: ReportDownloadPayload;
|
|
1290
1273
|
/** Deletes a secret. */
|
|
@@ -1357,9 +1340,6 @@ export type MutationMiniCreateArgs = {
|
|
|
1357
1340
|
export type MutationMiniToggleArgs = {
|
|
1358
1341
|
enable: Scalars['Boolean'];
|
|
1359
1342
|
};
|
|
1360
|
-
export type MutationProxiesSetArgs = {
|
|
1361
|
-
proxies: Array<ProxyInput>;
|
|
1362
|
-
};
|
|
1363
1343
|
export type MutationReportDownloadArgs = {
|
|
1364
1344
|
date: Scalars['ISO8601Date'];
|
|
1365
1345
|
name: ReportTypeEnum;
|
|
@@ -1463,60 +1443,6 @@ export type ProductOfferCardEntryPointSetInput = {
|
|
|
1463
1443
|
/** The variant ID for the product offer card entry point. */
|
|
1464
1444
|
variantId?: InputMaybe<Scalars['ID']>;
|
|
1465
1445
|
};
|
|
1466
|
-
/** Return type for the `proxiesSet` mutation. */
|
|
1467
|
-
export type ProxiesSetPayload = {
|
|
1468
|
-
__typename?: 'ProxiesSetPayload';
|
|
1469
|
-
/** The proxies that were created or updated. */
|
|
1470
|
-
proxies?: Maybe<Array<Proxy>>;
|
|
1471
|
-
/** List of errors that occured while executing the mutation. */
|
|
1472
|
-
userErrors: Array<ProxiesSetUserError>;
|
|
1473
|
-
};
|
|
1474
|
-
/** A user or client error that could occur during the execution of the `proxiesSet` mutation. */
|
|
1475
|
-
export type ProxiesSetUserError = {
|
|
1476
|
-
__typename?: 'ProxiesSetUserError';
|
|
1477
|
-
/** Error code associated with the error. */
|
|
1478
|
-
code: ProxiesSetUserErrorCode;
|
|
1479
|
-
/** Which input value this error came from. */
|
|
1480
|
-
field?: Maybe<Array<Scalars['String']>>;
|
|
1481
|
-
/** A description of the error. */
|
|
1482
|
-
message: Scalars['String'];
|
|
1483
|
-
};
|
|
1484
|
-
/** Possible error codes that can be returned by ProxiesSetUserError. */
|
|
1485
|
-
export declare enum ProxiesSetUserErrorCode {
|
|
1486
|
-
/** Error code when the proxy configuration is invalid. */
|
|
1487
|
-
Invalid = "INVALID"
|
|
1488
|
-
}
|
|
1489
|
-
/** A proxy. */
|
|
1490
|
-
export type Proxy = {
|
|
1491
|
-
__typename?: 'Proxy';
|
|
1492
|
-
/** The methods that are allowed to be proxied. */
|
|
1493
|
-
allowedMethods?: Maybe<Array<HttpRequestMethod>>;
|
|
1494
|
-
/** A list of headers that will be appended to the request. Formatted as `Some-Key: Some Value`. */
|
|
1495
|
-
appendedHeaders?: Maybe<Array<Scalars['String']>>;
|
|
1496
|
-
/** A JSON schema to match the request body against. */
|
|
1497
|
-
bodyJsonSchema?: Maybe<Scalars['JSON']>;
|
|
1498
|
-
/** A pattern for matching the target URL. */
|
|
1499
|
-
targetUrlPattern: Scalars['String'];
|
|
1500
|
-
/** The interval of the user rate limit in seconds. */
|
|
1501
|
-
userRateLimitInterval?: Maybe<Scalars['Int']>;
|
|
1502
|
-
/** The number of requests per user per interval. */
|
|
1503
|
-
userRateLimitRequests?: Maybe<Scalars['Int']>;
|
|
1504
|
-
};
|
|
1505
|
-
/** The information needed to create or update a proxy. */
|
|
1506
|
-
export type ProxyInput = {
|
|
1507
|
-
/** The methods that are allowed to be proxied. */
|
|
1508
|
-
allowedMethods?: InputMaybe<Array<HttpRequestMethod>>;
|
|
1509
|
-
/** A list of headers that will be appended to the request. Formatted as `Some-Key: Some Value`. */
|
|
1510
|
-
appendedHeaders?: InputMaybe<Array<Scalars['String']>>;
|
|
1511
|
-
/** A JSON schema to match the request body against. */
|
|
1512
|
-
bodyJsonSchema?: InputMaybe<Scalars['JSON']>;
|
|
1513
|
-
/** A pattern for matching the target URL. */
|
|
1514
|
-
targetUrlPattern: Scalars['String'];
|
|
1515
|
-
/** The interval of the user rate limit in seconds. */
|
|
1516
|
-
userRateLimitInterval?: InputMaybe<Scalars['Int']>;
|
|
1517
|
-
/** The number of requests per user per interval. */
|
|
1518
|
-
userRateLimitRequests?: InputMaybe<Scalars['Int']>;
|
|
1519
|
-
};
|
|
1520
1446
|
export type Query = {
|
|
1521
1447
|
__typename?: 'Query';
|
|
1522
1448
|
/** Lists all API keys. */
|
|
@@ -1536,8 +1462,6 @@ export type Query = {
|
|
|
1536
1462
|
mini?: Maybe<Mini>;
|
|
1537
1463
|
/** Returns eligibilities for products within Shop. */
|
|
1538
1464
|
productEligibilities: Array<ProductEligibility>;
|
|
1539
|
-
/** Returns proxies for the Shop Mini. */
|
|
1540
|
-
proxies: Array<Proxy>;
|
|
1541
1465
|
/** Lists all available reports and their dates. */
|
|
1542
1466
|
reports: ReportConnection;
|
|
1543
1467
|
/** Returns secrets for the Shop Mini. */
|
|
@@ -2308,78 +2232,6 @@ export type MiniQuery = {
|
|
|
2308
2232
|
handle: string;
|
|
2309
2233
|
} | null;
|
|
2310
2234
|
};
|
|
2311
|
-
export type ProxiesQueryVariables = Exact<{
|
|
2312
|
-
[key: string]: never;
|
|
2313
|
-
}>;
|
|
2314
|
-
export type ProxiesQuery = {
|
|
2315
|
-
__typename?: 'Query';
|
|
2316
|
-
proxies: Array<{
|
|
2317
|
-
__typename?: 'Proxy';
|
|
2318
|
-
allowedMethods?: Array<HttpRequestMethod> | null;
|
|
2319
|
-
appendedHeaders?: Array<string> | null;
|
|
2320
|
-
bodyJsonSchema?: any | null;
|
|
2321
|
-
targetUrlPattern: string;
|
|
2322
|
-
userRateLimitInterval?: number | null;
|
|
2323
|
-
userRateLimitRequests?: number | null;
|
|
2324
|
-
}>;
|
|
2325
|
-
};
|
|
2326
|
-
export type ProxiesSetMutationVariables = Exact<{
|
|
2327
|
-
proxies: Array<ProxyInput> | ProxyInput;
|
|
2328
|
-
}>;
|
|
2329
|
-
export type ProxiesSetMutation = {
|
|
2330
|
-
__typename?: 'Mutation';
|
|
2331
|
-
proxiesSet: {
|
|
2332
|
-
__typename?: 'ProxiesSetPayload';
|
|
2333
|
-
proxies?: Array<{
|
|
2334
|
-
__typename?: 'Proxy';
|
|
2335
|
-
targetUrlPattern: string;
|
|
2336
|
-
}> | null;
|
|
2337
|
-
userErrors: Array<{
|
|
2338
|
-
__typename?: 'ProxiesSetUserError';
|
|
2339
|
-
code: ProxiesSetUserErrorCode;
|
|
2340
|
-
message: string;
|
|
2341
|
-
}>;
|
|
2342
|
-
};
|
|
2343
|
-
};
|
|
2344
|
-
export type SecretDeleteMutationVariables = Exact<{
|
|
2345
|
-
key: Scalars['String'];
|
|
2346
|
-
}>;
|
|
2347
|
-
export type SecretDeleteMutation = {
|
|
2348
|
-
__typename?: 'Mutation';
|
|
2349
|
-
secretDelete: {
|
|
2350
|
-
__typename?: 'SecretDeletePayload';
|
|
2351
|
-
userErrors: Array<{
|
|
2352
|
-
__typename?: 'SecretDeleteUserError';
|
|
2353
|
-
code: SecretDeleteUserErrorCode;
|
|
2354
|
-
field?: Array<string> | null;
|
|
2355
|
-
message: string;
|
|
2356
|
-
}>;
|
|
2357
|
-
};
|
|
2358
|
-
};
|
|
2359
|
-
export type SecretSetMutationVariables = Exact<{
|
|
2360
|
-
key: Scalars['String'];
|
|
2361
|
-
secretValue: Scalars['String'];
|
|
2362
|
-
}>;
|
|
2363
|
-
export type SecretSetMutation = {
|
|
2364
|
-
__typename?: 'Mutation';
|
|
2365
|
-
secretSet: {
|
|
2366
|
-
__typename?: 'SecretSetPayload';
|
|
2367
|
-
secret?: {
|
|
2368
|
-
__typename?: 'Secret';
|
|
2369
|
-
key: string;
|
|
2370
|
-
} | null;
|
|
2371
|
-
};
|
|
2372
|
-
};
|
|
2373
|
-
export type SecretsQueryVariables = Exact<{
|
|
2374
|
-
[key: string]: never;
|
|
2375
|
-
}>;
|
|
2376
|
-
export type SecretsQuery = {
|
|
2377
|
-
__typename?: 'Query';
|
|
2378
|
-
secrets: Array<{
|
|
2379
|
-
__typename?: 'Secret';
|
|
2380
|
-
key: string;
|
|
2381
|
-
}>;
|
|
2382
|
-
};
|
|
2383
2235
|
export type UserMetafieldDefinitionCreateMutationVariables = Exact<{
|
|
2384
2236
|
definition: UserMetafieldDefinitionCreateInput;
|
|
2385
2237
|
}>;
|
|
@@ -2471,22 +2323,6 @@ export declare const MiniCreateDocument: DocumentNode<MiniCreateMutation, Exact<
|
|
|
2471
2323
|
export declare const MiniDocument: DocumentNode<MiniQuery, Exact<{
|
|
2472
2324
|
[key: string]: never;
|
|
2473
2325
|
}>>;
|
|
2474
|
-
export declare const ProxiesDocument: DocumentNode<ProxiesQuery, Exact<{
|
|
2475
|
-
[key: string]: never;
|
|
2476
|
-
}>>;
|
|
2477
|
-
export declare const ProxiesSetDocument: DocumentNode<ProxiesSetMutation, Exact<{
|
|
2478
|
-
proxies: Array<ProxyInput> | ProxyInput;
|
|
2479
|
-
}>>;
|
|
2480
|
-
export declare const SecretDeleteDocument: DocumentNode<SecretDeleteMutation, Exact<{
|
|
2481
|
-
key: Scalars['String'];
|
|
2482
|
-
}>>;
|
|
2483
|
-
export declare const SecretSetDocument: DocumentNode<SecretSetMutation, Exact<{
|
|
2484
|
-
key: Scalars['String'];
|
|
2485
|
-
secretValue: Scalars['String'];
|
|
2486
|
-
}>>;
|
|
2487
|
-
export declare const SecretsDocument: DocumentNode<SecretsQuery, Exact<{
|
|
2488
|
-
[key: string]: never;
|
|
2489
|
-
}>>;
|
|
2490
2326
|
export declare const UserMetafieldDefinitionCreateDocument: DocumentNode<UserMetafieldDefinitionCreateMutation, Exact<{
|
|
2491
2327
|
definition: UserMetafieldDefinitionCreateInput;
|
|
2492
2328
|
}>>;
|
|
@@ -582,20 +582,6 @@ export var EventCardV2EntryPointEventStatus;
|
|
|
582
582
|
/** The pre active status for Mini entry point event type. */
|
|
583
583
|
EventCardV2EntryPointEventStatus["PreActive"] = "PRE_ACTIVE";
|
|
584
584
|
})(EventCardV2EntryPointEventStatus || (EventCardV2EntryPointEventStatus = {}));
|
|
585
|
-
/** An HTTP request method. */
|
|
586
|
-
export var HttpRequestMethod;
|
|
587
|
-
(function (HttpRequestMethod) {
|
|
588
|
-
/** The DELETE method. */
|
|
589
|
-
HttpRequestMethod["Delete"] = "DELETE";
|
|
590
|
-
/** The GET method. */
|
|
591
|
-
HttpRequestMethod["Get"] = "GET";
|
|
592
|
-
/** The PATCH method. */
|
|
593
|
-
HttpRequestMethod["Patch"] = "PATCH";
|
|
594
|
-
/** The POST method. */
|
|
595
|
-
HttpRequestMethod["Post"] = "POST";
|
|
596
|
-
/** The PUT method. */
|
|
597
|
-
HttpRequestMethod["Put"] = "PUT";
|
|
598
|
-
})(HttpRequestMethod || (HttpRequestMethod = {}));
|
|
599
585
|
/** The layout of the Mini Image Collection entry point. */
|
|
600
586
|
export var ImageCollectionEntryPointLayout;
|
|
601
587
|
(function (ImageCollectionEntryPointLayout) {
|
|
@@ -622,12 +608,6 @@ export var ProductEligibilityStatus;
|
|
|
622
608
|
/** The product is ineligible to appear in Shop. */
|
|
623
609
|
ProductEligibilityStatus["Ineligible"] = "INELIGIBLE";
|
|
624
610
|
})(ProductEligibilityStatus || (ProductEligibilityStatus = {}));
|
|
625
|
-
/** Possible error codes that can be returned by ProxiesSetUserError. */
|
|
626
|
-
export var ProxiesSetUserErrorCode;
|
|
627
|
-
(function (ProxiesSetUserErrorCode) {
|
|
628
|
-
/** Error code when the proxy configuration is invalid. */
|
|
629
|
-
ProxiesSetUserErrorCode["Invalid"] = "INVALID";
|
|
630
|
-
})(ProxiesSetUserErrorCode || (ProxiesSetUserErrorCode = {}));
|
|
631
611
|
/** Possible error codes that can be returned by ReportDownloadUserError. */
|
|
632
612
|
export var ReportDownloadUserErrorCode;
|
|
633
613
|
(function (ReportDownloadUserErrorCode) {
|
|
@@ -1420,268 +1400,6 @@ export const MiniDocument = {
|
|
|
1420
1400
|
},
|
|
1421
1401
|
],
|
|
1422
1402
|
};
|
|
1423
|
-
export const ProxiesDocument = {
|
|
1424
|
-
kind: 'Document',
|
|
1425
|
-
definitions: [
|
|
1426
|
-
{
|
|
1427
|
-
kind: 'OperationDefinition',
|
|
1428
|
-
operation: 'query',
|
|
1429
|
-
name: { kind: 'Name', value: 'Proxies' },
|
|
1430
|
-
selectionSet: {
|
|
1431
|
-
kind: 'SelectionSet',
|
|
1432
|
-
selections: [
|
|
1433
|
-
{
|
|
1434
|
-
kind: 'Field',
|
|
1435
|
-
name: { kind: 'Name', value: 'proxies' },
|
|
1436
|
-
selectionSet: {
|
|
1437
|
-
kind: 'SelectionSet',
|
|
1438
|
-
selections: [
|
|
1439
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'allowedMethods' } },
|
|
1440
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'appendedHeaders' } },
|
|
1441
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'bodyJsonSchema' } },
|
|
1442
|
-
{
|
|
1443
|
-
kind: 'Field',
|
|
1444
|
-
name: { kind: 'Name', value: 'targetUrlPattern' },
|
|
1445
|
-
},
|
|
1446
|
-
{
|
|
1447
|
-
kind: 'Field',
|
|
1448
|
-
name: { kind: 'Name', value: 'userRateLimitInterval' },
|
|
1449
|
-
},
|
|
1450
|
-
{
|
|
1451
|
-
kind: 'Field',
|
|
1452
|
-
name: { kind: 'Name', value: 'userRateLimitRequests' },
|
|
1453
|
-
},
|
|
1454
|
-
],
|
|
1455
|
-
},
|
|
1456
|
-
},
|
|
1457
|
-
],
|
|
1458
|
-
},
|
|
1459
|
-
},
|
|
1460
|
-
],
|
|
1461
|
-
};
|
|
1462
|
-
export const ProxiesSetDocument = {
|
|
1463
|
-
kind: 'Document',
|
|
1464
|
-
definitions: [
|
|
1465
|
-
{
|
|
1466
|
-
kind: 'OperationDefinition',
|
|
1467
|
-
operation: 'mutation',
|
|
1468
|
-
name: { kind: 'Name', value: 'ProxiesSet' },
|
|
1469
|
-
variableDefinitions: [
|
|
1470
|
-
{
|
|
1471
|
-
kind: 'VariableDefinition',
|
|
1472
|
-
variable: { kind: 'Variable', name: { kind: 'Name', value: 'proxies' } },
|
|
1473
|
-
type: {
|
|
1474
|
-
kind: 'NonNullType',
|
|
1475
|
-
type: {
|
|
1476
|
-
kind: 'ListType',
|
|
1477
|
-
type: {
|
|
1478
|
-
kind: 'NonNullType',
|
|
1479
|
-
type: {
|
|
1480
|
-
kind: 'NamedType',
|
|
1481
|
-
name: { kind: 'Name', value: 'ProxyInput' },
|
|
1482
|
-
},
|
|
1483
|
-
},
|
|
1484
|
-
},
|
|
1485
|
-
},
|
|
1486
|
-
},
|
|
1487
|
-
],
|
|
1488
|
-
selectionSet: {
|
|
1489
|
-
kind: 'SelectionSet',
|
|
1490
|
-
selections: [
|
|
1491
|
-
{
|
|
1492
|
-
kind: 'Field',
|
|
1493
|
-
name: { kind: 'Name', value: 'proxiesSet' },
|
|
1494
|
-
arguments: [
|
|
1495
|
-
{
|
|
1496
|
-
kind: 'Argument',
|
|
1497
|
-
name: { kind: 'Name', value: 'proxies' },
|
|
1498
|
-
value: {
|
|
1499
|
-
kind: 'Variable',
|
|
1500
|
-
name: { kind: 'Name', value: 'proxies' },
|
|
1501
|
-
},
|
|
1502
|
-
},
|
|
1503
|
-
],
|
|
1504
|
-
selectionSet: {
|
|
1505
|
-
kind: 'SelectionSet',
|
|
1506
|
-
selections: [
|
|
1507
|
-
{
|
|
1508
|
-
kind: 'Field',
|
|
1509
|
-
name: { kind: 'Name', value: 'proxies' },
|
|
1510
|
-
selectionSet: {
|
|
1511
|
-
kind: 'SelectionSet',
|
|
1512
|
-
selections: [
|
|
1513
|
-
{
|
|
1514
|
-
kind: 'Field',
|
|
1515
|
-
name: { kind: 'Name', value: 'targetUrlPattern' },
|
|
1516
|
-
},
|
|
1517
|
-
],
|
|
1518
|
-
},
|
|
1519
|
-
},
|
|
1520
|
-
{
|
|
1521
|
-
kind: 'Field',
|
|
1522
|
-
name: { kind: 'Name', value: 'userErrors' },
|
|
1523
|
-
selectionSet: {
|
|
1524
|
-
kind: 'SelectionSet',
|
|
1525
|
-
selections: [
|
|
1526
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'code' } },
|
|
1527
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'message' } },
|
|
1528
|
-
],
|
|
1529
|
-
},
|
|
1530
|
-
},
|
|
1531
|
-
],
|
|
1532
|
-
},
|
|
1533
|
-
},
|
|
1534
|
-
],
|
|
1535
|
-
},
|
|
1536
|
-
},
|
|
1537
|
-
],
|
|
1538
|
-
};
|
|
1539
|
-
export const SecretDeleteDocument = {
|
|
1540
|
-
kind: 'Document',
|
|
1541
|
-
definitions: [
|
|
1542
|
-
{
|
|
1543
|
-
kind: 'OperationDefinition',
|
|
1544
|
-
operation: 'mutation',
|
|
1545
|
-
name: { kind: 'Name', value: 'SecretDelete' },
|
|
1546
|
-
variableDefinitions: [
|
|
1547
|
-
{
|
|
1548
|
-
kind: 'VariableDefinition',
|
|
1549
|
-
variable: { kind: 'Variable', name: { kind: 'Name', value: 'key' } },
|
|
1550
|
-
type: {
|
|
1551
|
-
kind: 'NonNullType',
|
|
1552
|
-
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
1553
|
-
},
|
|
1554
|
-
},
|
|
1555
|
-
],
|
|
1556
|
-
selectionSet: {
|
|
1557
|
-
kind: 'SelectionSet',
|
|
1558
|
-
selections: [
|
|
1559
|
-
{
|
|
1560
|
-
kind: 'Field',
|
|
1561
|
-
name: { kind: 'Name', value: 'secretDelete' },
|
|
1562
|
-
arguments: [
|
|
1563
|
-
{
|
|
1564
|
-
kind: 'Argument',
|
|
1565
|
-
name: { kind: 'Name', value: 'key' },
|
|
1566
|
-
value: { kind: 'Variable', name: { kind: 'Name', value: 'key' } },
|
|
1567
|
-
},
|
|
1568
|
-
],
|
|
1569
|
-
selectionSet: {
|
|
1570
|
-
kind: 'SelectionSet',
|
|
1571
|
-
selections: [
|
|
1572
|
-
{
|
|
1573
|
-
kind: 'Field',
|
|
1574
|
-
name: { kind: 'Name', value: 'userErrors' },
|
|
1575
|
-
selectionSet: {
|
|
1576
|
-
kind: 'SelectionSet',
|
|
1577
|
-
selections: [
|
|
1578
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'code' } },
|
|
1579
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'field' } },
|
|
1580
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'message' } },
|
|
1581
|
-
],
|
|
1582
|
-
},
|
|
1583
|
-
},
|
|
1584
|
-
],
|
|
1585
|
-
},
|
|
1586
|
-
},
|
|
1587
|
-
],
|
|
1588
|
-
},
|
|
1589
|
-
},
|
|
1590
|
-
],
|
|
1591
|
-
};
|
|
1592
|
-
export const SecretSetDocument = {
|
|
1593
|
-
kind: 'Document',
|
|
1594
|
-
definitions: [
|
|
1595
|
-
{
|
|
1596
|
-
kind: 'OperationDefinition',
|
|
1597
|
-
operation: 'mutation',
|
|
1598
|
-
name: { kind: 'Name', value: 'SecretSet' },
|
|
1599
|
-
variableDefinitions: [
|
|
1600
|
-
{
|
|
1601
|
-
kind: 'VariableDefinition',
|
|
1602
|
-
variable: { kind: 'Variable', name: { kind: 'Name', value: 'key' } },
|
|
1603
|
-
type: {
|
|
1604
|
-
kind: 'NonNullType',
|
|
1605
|
-
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
1606
|
-
},
|
|
1607
|
-
},
|
|
1608
|
-
{
|
|
1609
|
-
kind: 'VariableDefinition',
|
|
1610
|
-
variable: {
|
|
1611
|
-
kind: 'Variable',
|
|
1612
|
-
name: { kind: 'Name', value: 'secretValue' },
|
|
1613
|
-
},
|
|
1614
|
-
type: {
|
|
1615
|
-
kind: 'NonNullType',
|
|
1616
|
-
type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } },
|
|
1617
|
-
},
|
|
1618
|
-
},
|
|
1619
|
-
],
|
|
1620
|
-
selectionSet: {
|
|
1621
|
-
kind: 'SelectionSet',
|
|
1622
|
-
selections: [
|
|
1623
|
-
{
|
|
1624
|
-
kind: 'Field',
|
|
1625
|
-
name: { kind: 'Name', value: 'secretSet' },
|
|
1626
|
-
arguments: [
|
|
1627
|
-
{
|
|
1628
|
-
kind: 'Argument',
|
|
1629
|
-
name: { kind: 'Name', value: 'key' },
|
|
1630
|
-
value: { kind: 'Variable', name: { kind: 'Name', value: 'key' } },
|
|
1631
|
-
},
|
|
1632
|
-
{
|
|
1633
|
-
kind: 'Argument',
|
|
1634
|
-
name: { kind: 'Name', value: 'value' },
|
|
1635
|
-
value: {
|
|
1636
|
-
kind: 'Variable',
|
|
1637
|
-
name: { kind: 'Name', value: 'secretValue' },
|
|
1638
|
-
},
|
|
1639
|
-
},
|
|
1640
|
-
],
|
|
1641
|
-
selectionSet: {
|
|
1642
|
-
kind: 'SelectionSet',
|
|
1643
|
-
selections: [
|
|
1644
|
-
{
|
|
1645
|
-
kind: 'Field',
|
|
1646
|
-
name: { kind: 'Name', value: 'secret' },
|
|
1647
|
-
selectionSet: {
|
|
1648
|
-
kind: 'SelectionSet',
|
|
1649
|
-
selections: [
|
|
1650
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'key' } },
|
|
1651
|
-
],
|
|
1652
|
-
},
|
|
1653
|
-
},
|
|
1654
|
-
],
|
|
1655
|
-
},
|
|
1656
|
-
},
|
|
1657
|
-
],
|
|
1658
|
-
},
|
|
1659
|
-
},
|
|
1660
|
-
],
|
|
1661
|
-
};
|
|
1662
|
-
export const SecretsDocument = {
|
|
1663
|
-
kind: 'Document',
|
|
1664
|
-
definitions: [
|
|
1665
|
-
{
|
|
1666
|
-
kind: 'OperationDefinition',
|
|
1667
|
-
operation: 'query',
|
|
1668
|
-
name: { kind: 'Name', value: 'Secrets' },
|
|
1669
|
-
selectionSet: {
|
|
1670
|
-
kind: 'SelectionSet',
|
|
1671
|
-
selections: [
|
|
1672
|
-
{
|
|
1673
|
-
kind: 'Field',
|
|
1674
|
-
name: { kind: 'Name', value: 'secrets' },
|
|
1675
|
-
selectionSet: {
|
|
1676
|
-
kind: 'SelectionSet',
|
|
1677
|
-
selections: [{ kind: 'Field', name: { kind: 'Name', value: 'key' } }],
|
|
1678
|
-
},
|
|
1679
|
-
},
|
|
1680
|
-
],
|
|
1681
|
-
},
|
|
1682
|
-
},
|
|
1683
|
-
],
|
|
1684
|
-
};
|
|
1685
1403
|
export const UserMetafieldDefinitionCreateDocument = {
|
|
1686
1404
|
kind: 'Document',
|
|
1687
1405
|
definitions: [
|