@shopify/shop-minis-cli 0.0.59 → 0.0.61
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/codemod/releases/index.js +2 -0
- package/build/commands/codemod/releases/index.js.map +1 -1
- package/build/commands/codemod/releases/v0-0-61.d.ts +3 -0
- package/build/commands/codemod/releases/v0-0-61.js +30 -0
- package/build/commands/codemod/releases/v0-0-61.js.map +1 -0
- package/build/commands/dev/index.js +2 -2
- package/build/commands/dev/index.js.map +1 -1
- package/build/commands/generate-graphql-types/index.js +3 -1
- package/build/commands/generate-graphql-types/index.js.map +1 -1
- package/build/data/types/autogenerated/shop-minis-admin-api/graphql.d.ts +2 -2
- package/build/schemas/manifest.schema.js +1 -1
- package/build/schemas/manifest.schema.js.map +1 -1
- package/build/utils/patch-package.js.map +1 -0
- package/package.json +2 -2
- package/templates/__template_common/package.json +1 -1
- package/templates/__template_hello_world/src/data/Test.graphql.d.ts +69 -76
- package/templates/__template_hello_world/src/data/TestProducts.graphql.d.ts +71 -81
- package/build/commands/dev/utils/patch-package.js.map +0 -1
- /package/build/{commands/dev/utils → utils}/patch-package.d.ts +0 -0
- /package/build/{commands/dev/utils → utils}/patch-package.js +0 -0
|
@@ -10,6 +10,7 @@ import v0x0x54Upgrade from './v0-0-54.js';
|
|
|
10
10
|
import v0x0x56Upgrade from './v0-0-56.js';
|
|
11
11
|
import v0x0x57Upgrade from './v0-0-57.js';
|
|
12
12
|
import v0x0x58Upgrade from './v0-0-58.js';
|
|
13
|
+
import v0x0x61Upgrade from './v0-0-61.js';
|
|
13
14
|
const upgrades = [
|
|
14
15
|
v0x0x42Upgrade,
|
|
15
16
|
v0x0x43Upgrade,
|
|
@@ -20,6 +21,7 @@ const upgrades = [
|
|
|
20
21
|
v0x0x56Upgrade,
|
|
21
22
|
v0x0x57Upgrade,
|
|
22
23
|
v0x0x58Upgrade,
|
|
24
|
+
v0x0x61Upgrade,
|
|
23
25
|
];
|
|
24
26
|
// the list of upgrades must be sorted by version. just making sure of it
|
|
25
27
|
upgrades.sort(({ version: upgradeVersion1 }, { version: upgradeVersion2 }) => semverGreaterThan(upgradeVersion1, upgradeVersion2) ? 1 : -1);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/commands/codemod/releases/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,EAAE,IAAI,iBAAiB,EACvB,GAAG,IAAI,kBAAkB,GAC1B,MAAM,QAAQ,CAAA;AACf,OAAO,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAA;AACxD,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,cAAc,MAAM,oBAAoB,CAAA;AAC/C,OAAO,cAAc,MAAM,cAAc,CAAA;AACzC,OAAO,cAAc,MAAM,cAAc,CAAA;AACzC,OAAO,cAAc,MAAM,cAAc,CAAA;AACzC,OAAO,cAAc,MAAM,cAAc,CAAA;AACzC,OAAO,cAAc,MAAM,cAAc,CAAA;AACzC,OAAO,cAAc,MAAM,cAAc,CAAA;AACzC,OAAO,cAAc,MAAM,cAAc,CAAA;AACzC,OAAO,cAAc,MAAM,cAAc,CAAA;AAGzC,MAAM,QAAQ,GAAgC;IAC5C,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;IACd,cAAc;CACf,CAAA;AAED,yEAAyE;AACzE,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAC,OAAO,EAAE,eAAe,EAAC,EAAE,EAAC,OAAO,EAAE,eAAe,EAAC,EAAE,EAAE,CACvE,iBAAiB,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAC7D,CAAA;AAED,MAAM,CAAC,KAAK,UAAU,aAAa,CAAC,EAClC,WAAW,EACX,SAAS,EACT,UAAU,EACV,OAAO,GAMR;IACC,WAA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AiB,CAAC,CAAC,CAAA;IAC9E,YAAY,CAAC,OAAO,CAAC,gBAAgB,CAAC,EAAE;QACtC,OAAO,CAAC,GAAG,CAAC,KAAK,gBAAgB,EAAE,CAAC,CAAA;IACtC,CAAC,CAAC,CAAA;AACJ,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import path from 'node:path';
|
|
2
|
+
import fs from 'node:fs';
|
|
3
|
+
import { SemVer } from 'semver';
|
|
4
|
+
/**
|
|
5
|
+
* Upgrade @shopify/shop-minis-runtime
|
|
6
|
+
*
|
|
7
|
+
* Diff: https://github.com/Shopify/shop-minis-cli/compare/v0.0.60...v0.0.61
|
|
8
|
+
*/
|
|
9
|
+
async function applyUpgrade() {
|
|
10
|
+
const packageJsonPath = path.join(process.cwd(), 'package.json');
|
|
11
|
+
const packageJsonString = fs.readFileSync(packageJsonPath, {
|
|
12
|
+
encoding: 'utf-8',
|
|
13
|
+
});
|
|
14
|
+
const packageJson = JSON.parse(packageJsonString) || {};
|
|
15
|
+
packageJson.dependencies ||= {};
|
|
16
|
+
packageJson.dependencies['@shopify/shop-minis-runtime'] = '^0.0.9';
|
|
17
|
+
// persist updated package.json
|
|
18
|
+
fs.writeFileSync(packageJsonPath, `${JSON.stringify(packageJson, null, 2)}\n`, // keep the new line at the end of the file
|
|
19
|
+
{
|
|
20
|
+
encoding: 'utf-8',
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
const releaseNotes = ['Upgrade @shopify/shop-minis-runtime to v0.0.9'];
|
|
24
|
+
const exports = {
|
|
25
|
+
releaseNotes,
|
|
26
|
+
applyUpgrade,
|
|
27
|
+
version: new SemVer('0.0.61'),
|
|
28
|
+
};
|
|
29
|
+
export default exports;
|
|
30
|
+
//# sourceMappingURL=v0-0-61.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v0-0-61.js","sourceRoot":"","sources":["../../../../src/commands/codemod/releases/v0-0-61.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAA;AAC5B,OAAO,EAAE,MAAM,SAAS,CAAA;AAExB,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAA;AAI7B;;;;GAIG;AACH,KAAK,UAAU,YAAY;IACzB,MAAM,eAAe,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,cAAc,CAAC,CAAA;IAChE,MAAM,iBAAiB,GAAG,EAAE,CAAC,YAAY,CAAC,eAAe,EAAE;QACzD,QAAQ,EAAE,OAAO;KAClB,CAAC,CAAA;IACF,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,IAAI,EAAE,CAAA;IAEvD,WAAW,CAAC,YAAY,KAAK,EAAE,CAAA;IAC/B,WAAW,CAAC,YAAY,CAAC,6BAA6B,CAAC,GAAG,QAAQ,CAAA;IAElE,+BAA+B;IAC/B,EAAE,CAAC,aAAa,CACd,eAAe,EACf,GAAG,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,2CAA2C;IACxF;QACE,QAAQ,EAAE,OAAO;KAClB,CACF,CAAA;AACH,CAAC;AAED,MAAM,YAAY,GAAG,CAAC,+CAA+C,CAAC,CAAA;AAEtE,MAAM,OAAO,GAA8B;IACzC,YAAY;IACZ,YAAY;IACZ,OAAO,EAAE,IAAI,MAAM,CAAC,QAAQ,CAAC;CAC9B,CAAA;AAED,eAAe,OAAO,CAAA"}
|
|
@@ -2,9 +2,9 @@ import { Command, Option } from 'commander';
|
|
|
2
2
|
import chalk from 'chalk';
|
|
3
3
|
import internalIp from 'internal-ip';
|
|
4
4
|
import { getMiniManifest } from '../../utils/minis-manifest.js';
|
|
5
|
+
import { maybeApplyPatches } from '../../utils/patch-package.js';
|
|
5
6
|
import { InteractiveTerminal } from './utils/interactive-terminal.js';
|
|
6
7
|
import { runMetro } from './utils/metro/metro-server.js';
|
|
7
|
-
import { maybeApplyPatches } from './utils/patch-package.js';
|
|
8
8
|
import { BuildType } from './utils/types.js';
|
|
9
9
|
export async function loadCommand(parentProgram) {
|
|
10
10
|
const ip = await internalIp.v4();
|
|
@@ -18,7 +18,7 @@ export async function loadCommand(parentProgram) {
|
|
|
18
18
|
.choices(Object.values(BuildType))
|
|
19
19
|
.default(BuildType.Release))
|
|
20
20
|
.action(async (options) => {
|
|
21
|
-
maybeApplyPatches();
|
|
21
|
+
maybeApplyPatches(); // we need to patch react-native pressability system to avoid duplicated react tags
|
|
22
22
|
await runMetro(options);
|
|
23
23
|
const miniHandle = getMiniManifest().handle;
|
|
24
24
|
console.log('Local development environment for', chalk.green(miniHandle), 'is running...');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/dev/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAE,MAAM,EAAC,MAAM,WAAW,CAAA;AACzC,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,UAAU,MAAM,aAAa,CAAA;AAEpC,OAAO,EAAC,eAAe,EAAC,MAAM,+BAA+B,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/dev/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAE,MAAM,EAAC,MAAM,WAAW,CAAA;AACzC,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,UAAU,MAAM,aAAa,CAAA;AAEpC,OAAO,EAAC,eAAe,EAAC,MAAM,+BAA+B,CAAA;AAC7D,OAAO,EAAC,iBAAiB,EAAC,MAAM,8BAA8B,CAAA;AAE9D,OAAO,EAAC,mBAAmB,EAAC,MAAM,iCAAiC,CAAA;AACnE,OAAO,EAAC,QAAQ,EAAC,MAAM,+BAA+B,CAAA;AACtD,OAAO,EAAC,SAAS,EAAC,MAAM,kBAAkB,CAAA;AAQ1C,MAAM,CAAC,KAAK,UAAU,WAAW,CAAC,aAAsB;IACtD,MAAM,EAAE,GAAG,MAAM,UAAU,CAAC,EAAE,EAAE,CAAA;IAEhC,MAAM,OAAO,GAAG,IAAI,OAAO,EAAE;SAC1B,IAAI,CAAC,KAAK,CAAC;SACX,WAAW,CAAC,2CAA2C,CAAC;SACxD,MAAM,CAAC,eAAe,EAAE,4BAA4B,CAAC;SACrD,MAAM,CAAC,eAAe,EAAE,iBAAiB,EAAE,EAAE,CAAC;SAC9C,MAAM,CAAC,WAAW,EAAE,0BAA0B,CAAC,CAAC,0BAA0B;SAC1E,SAAS,CACR,IAAI,MAAM,CAAC,0BAA0B,EAAE,YAAY,CAAC;SACjD,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;SACjC,OAAO,CAAC,SAAS,CAAC,OAAO,CAAC,CAC9B;SACA,MAAM,CAAC,KAAK,EAAE,OAA0B,EAAE,EAAE;QAC3C,iBAAiB,EAAE,CAAA,CAAC,mFAAmF;QACvG,MAAM,QAAQ,CAAC,OAAO,CAAC,CAAA;QAEvB,MAAM,UAAU,GAAG,eAAe,EAAE,CAAC,MAAM,CAAA;QAC3C,OAAO,CAAC,GAAG,CACT,mCAAmC,EACnC,KAAK,CAAC,KAAK,CAAC,UAAU,CAAC,EACvB,eAAe,CAChB,CAAA;QAED,MAAM,mBAAmB,GAAG,IAAI,mBAAmB,CAAC,OAAO,CAAC,CAAA;QAC5D,mBAAmB,CAAC,KAAK,EAAE,CAAA;IAC7B,CAAC,CAAC,CAAA;IAEJ,aAAa,CAAC,UAAU,CAAC,OAAO,CAAC,CAAA;AACnC,CAAC"}
|
|
@@ -3,6 +3,7 @@ import { Command } from 'commander';
|
|
|
3
3
|
import chalk from 'chalk';
|
|
4
4
|
import { GraphQLConfig } from 'graphql-config';
|
|
5
5
|
import { getMiniManifest } from '../../utils/minis-manifest.js';
|
|
6
|
+
import { maybeApplyPatches } from '../../utils/patch-package.js';
|
|
6
7
|
// Import these bits as cjs because their esm exports are broken
|
|
7
8
|
// TODO: this way of requiring libraries loses the types
|
|
8
9
|
// https://github.com/Shopify/shop-minis-cli/issues/191
|
|
@@ -13,11 +14,12 @@ export function loadCommand(parentProgram) {
|
|
|
13
14
|
.description('Generate types for all of your .graphql files')
|
|
14
15
|
.option('--watch', 'enable watch mode')
|
|
15
16
|
.action(async (options) => {
|
|
17
|
+
maybeApplyPatches(); // we need to patch graphql-typescript-definitions for types to be correct
|
|
16
18
|
const miniDir = process.cwd();
|
|
17
19
|
const miniHandle = getMiniManifest().handle;
|
|
18
20
|
console.log('Generating graphql types for', chalk.green(miniHandle), '\n');
|
|
19
21
|
// All of the paths below are relative to `miniDir` and refer to dependencies of the mini app itself
|
|
20
|
-
const schemaTypesPathConfig = 'node_modules/@shopify/shop-minis-platform-sdk/
|
|
22
|
+
const schemaTypesPathConfig = 'node_modules/@shopify/shop-minis-platform-sdk/api/types';
|
|
21
23
|
const config = new GraphQLConfig({
|
|
22
24
|
config: {
|
|
23
25
|
schemaPath: 'node_modules/@shopify/shop-minis-platform-sdk/src/api/minis.graphql',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/generate-graphql-types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,aAAa,CAAA;AAEzC,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAA;AACjC,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAC,aAAa,EAAC,MAAM,gBAAgB,CAAA;AAO5C,OAAO,EAAC,eAAe,EAAC,MAAM,+BAA+B,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/generate-graphql-types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,aAAa,CAAA;AAEzC,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAA;AACjC,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAA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
|
@@ -520,7 +520,7 @@ export declare enum ImageCollectionEntryPointLayout {
|
|
|
520
520
|
}
|
|
521
521
|
/** The information needed to create a new image collection entry point. */
|
|
522
522
|
export type ImageCollectionEntryPointSetInput = {
|
|
523
|
-
/** The items for the entry point. */
|
|
523
|
+
/** The items for the entry point. It can't be empty. */
|
|
524
524
|
items: Array<ImageCollectionEntryPointItemInput>;
|
|
525
525
|
/** The layout for the entry point. */
|
|
526
526
|
layout: ImageCollectionEntryPointLayout;
|
|
@@ -942,7 +942,7 @@ export type VideoCollectionEntryPointItemInput = {
|
|
|
942
942
|
};
|
|
943
943
|
/** The information needed to create or update a video collection entry point. */
|
|
944
944
|
export type VideoCollectionEntryPointSetInput = {
|
|
945
|
-
/** The items for the entry point. */
|
|
945
|
+
/** The items for the entry point. It can't be empty. */
|
|
946
946
|
items: Array<VideoCollectionEntryPointItemInput>;
|
|
947
947
|
};
|
|
948
948
|
/** Informs API user about non critical casualties during the execution of a query or a mutation. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest.schema.js","sourceRoot":"","sources":["../../src/schemas/manifest.schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG;IACb,OAAO,EAAE,wCAAwC;IACjD,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,oBAAoB;IAC3B,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,sBAAsB;YACnC,SAAS,EAAE,EAAE;SACd;QACD,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,kCAAkC;YAC/C,OAAO,EAAE,2DAA2D;SACrE;QACD,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,6BAA6B;YAC1C,SAAS,EAAE,GAAG;SACf;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,QAAQ;YACd,KAAK,EAAE,sBAAsB;YAC7B,WA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,sBAAsB,EAAE;YACtB,IAAI,EAAE,OAAO;YACb,WAAW,EACT,sGAAsG;YACxG,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE;oBACR,QAAQ;oBACR,cAAc;oBACd,OAAO;oBACP,MAAM;oBACN,kBAAkB;iBACnB;gBACD,UAAU,EAAE;oBACV,MAAM,EAAE;wBACN,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,iCAAiC;qBAC/C;oBACD,YAAY,EAAE;wBACZ,IAAI,EAAE,QAAQ;wBACd,WAAW,EAAE,mCAAmC;qBACjD;oBACD,KAAK,EAAE;wBACL,IAAI,EAAE,QAAQ;wBACd,WAAW,EACT,2FAA2F;qBAC9F;oBACD,IAAI,EAAE;wBACJ,IAAI,EAAE,QAAQ;wBACd,WAAW,EACT,0FAA0F;qBAC7F;oBACD,gBAAgB,EAAE;wBAChB,IAAI,EAAE,QAAQ;wBACd,WAAW,EACT,4FAA4F;qBAC/F;iBACF;aACF;SACF;QACD,YAAY,EAAE;YACZ,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,+CAA+C;YAC5D,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,UAAU,EAAE;oBACV,QAAQ,EAAE;wBACR,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,CAAC,cAAc,EAAE,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"manifest.schema.js","sourceRoot":"","sources":["../../src/schemas/manifest.schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,GAAG;IACb,OAAO,EAAE,wCAAwC;IACjD,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,oBAAoB;IAC3B,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,sBAAsB;YACnC,SAAS,EAAE,EAAE;SACd;QACD,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE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ACF;QACD,iBAAiB,EAAE;YACjB,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,4DAA4D;SAC1E;QACD,sBAAsB,EAAE;YACtB,IAAI,EAAE,QAAQ;YACd,WAAW,EACT,iEAAiE;SACpE;KACF;IACD,QAAQ,EAAE;QACR,MAAM;QACN,QAAQ;QACR,UAAU;QACV,cAAc;QACd,cAAc;QACd,cAAc;QACd,eAAe;KAChB;CACF,CAAA;AAED,eAAe,MAAM,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"patch-package.js","sourceRoot":"","sources":["../../src/utils/patch-package.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,aAAa,CAAA;AACzC,OAAO,IAAI,MAAM,WAAW,CAAA;AAE5B,OAAO,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAA;AACxD,OAAO,EAAE,MAAM,UAAU,CAAA;AAEzB,MAAM,EAAC,UAAU,EAAE,sBAAsB,EAAC,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CACzE,iCAAiC,CAClC,CAAA;AACD,MAAM,EAAC,kCAAkC,EAAC,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CACzE,mCAAmC,CACpC,CAAA;AAED,2EAA2E;AAC3E,wGAAwG;AACxG,+GAA+G;AAC/G,MAAM,iBAAiB,GAAG,uBAAuB,CAAA;AAEjD,MAAM,eAAe,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,cAAc,CAAC,CAAA;AAChE,MAAM,oBAAoB,GAAG,IAAI,CAAC,IAAI,CACpC,eAAe,EACf,UAAU,EACV,oBAAoB,EACpB,SAAS,CACV,CAAA;AAED,SAAS,aAAa;IACpB,IAAI;QACF,OAAO,EAAE,CAAC,WAAW,CAAC,oBAAoB,CAAC,CAAA;KAC5C;IAAC,OAAO,GAAG,EAAE;QACZ,iFAAiF;QACj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,CAAC,cAAc,CACf,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE,cAAc,EAAE,iBAAiB,CAAC,CAC9D,CAAA;AACH,CAAC;AAED;;;;;;GAMG;AACH,SAAS,yBAAyB,CAAC,KAAa;IAC9C,OAAO,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAA;AAC5B,CAAC"}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public",
|
|
5
5
|
"@shopify:registry": "https://registry.npmjs.org/"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.0.
|
|
7
|
+
"version": "0.0.61",
|
|
8
8
|
"description": "Shop Minis CLI",
|
|
9
9
|
"main": "build/index.js",
|
|
10
10
|
"bin": {
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"graphql": "^15.0.0",
|
|
74
74
|
"graphql-config": "^4.3.5",
|
|
75
75
|
"graphql-request": "^5.2.0",
|
|
76
|
-
"graphql-typescript-definitions": "^3.
|
|
76
|
+
"graphql-typescript-definitions": "^3.3.3",
|
|
77
77
|
"inquirer": "^8.2.3",
|
|
78
78
|
"internal-ip": "^6.2.0",
|
|
79
79
|
"jsonschema": "^1.4.1",
|
|
@@ -1,114 +1,107 @@
|
|
|
1
|
-
import {DocumentNode} from
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
Decimal,
|
|
5
|
-
CurrencyCode,
|
|
6
|
-
} from '@shopify/shop-minis-platform-sdk/api/types'
|
|
1
|
+
import { DocumentNode } from "graphql-typed";
|
|
2
|
+
import { TypedDocumentNode } from "@graphql-typed-document-node/core";
|
|
3
|
+
import { URL, Decimal, CurrencyCode } from "@shopify/shop-minis-platform-sdk/api/types";
|
|
7
4
|
export namespace HelloWorldTestQueryPartialData {
|
|
8
5
|
export interface ShopProductFeaturedImage {
|
|
9
|
-
__typename?:
|
|
10
|
-
id?: string | null
|
|
11
|
-
altText?: string | null
|
|
12
|
-
url?: URL | null
|
|
6
|
+
__typename?: "Image" | null;
|
|
7
|
+
id?: string | null;
|
|
8
|
+
altText?: string | null;
|
|
9
|
+
url?: URL | null;
|
|
13
10
|
}
|
|
14
11
|
export interface ShopProductDefaultVariantCompareAtPrice {
|
|
15
|
-
__typename?:
|
|
16
|
-
amount?: Decimal | null
|
|
17
|
-
currencyCode?: CurrencyCode | null
|
|
12
|
+
__typename?: "Money" | null;
|
|
13
|
+
amount?: Decimal | null;
|
|
14
|
+
currencyCode?: CurrencyCode | null;
|
|
18
15
|
}
|
|
19
16
|
export interface ShopProductDefaultVariantPrice {
|
|
20
|
-
__typename?:
|
|
21
|
-
amount?: Decimal | null
|
|
22
|
-
currencyCode?: CurrencyCode | null
|
|
17
|
+
__typename?: "Money" | null;
|
|
18
|
+
amount?: Decimal | null;
|
|
19
|
+
currencyCode?: CurrencyCode | null;
|
|
23
20
|
}
|
|
24
21
|
export interface ShopProductDefaultVariantImage {
|
|
25
|
-
__typename?:
|
|
26
|
-
id?: string | null
|
|
27
|
-
altText?: string | null
|
|
28
|
-
url?: URL | null
|
|
22
|
+
__typename?: "Image" | null;
|
|
23
|
+
id?: string | null;
|
|
24
|
+
altText?: string | null;
|
|
25
|
+
url?: URL | null;
|
|
29
26
|
}
|
|
30
27
|
export interface ShopProductDefaultVariant {
|
|
31
|
-
__typename?:
|
|
32
|
-
id?: string | null
|
|
33
|
-
title?: string | null
|
|
34
|
-
isFavorited?: boolean | null
|
|
35
|
-
compareAtPrice?: HelloWorldTestQueryPartialData.ShopProductDefaultVariantCompareAtPrice | null
|
|
36
|
-
price?: HelloWorldTestQueryPartialData.ShopProductDefaultVariantPrice | null
|
|
37
|
-
image?: HelloWorldTestQueryPartialData.ShopProductDefaultVariantImage | null
|
|
28
|
+
__typename?: "ProductVariant" | null;
|
|
29
|
+
id?: string | null;
|
|
30
|
+
title?: string | null;
|
|
31
|
+
isFavorited?: boolean | null;
|
|
32
|
+
compareAtPrice?: HelloWorldTestQueryPartialData.ShopProductDefaultVariantCompareAtPrice | null;
|
|
33
|
+
price?: HelloWorldTestQueryPartialData.ShopProductDefaultVariantPrice | null;
|
|
34
|
+
image?: HelloWorldTestQueryPartialData.ShopProductDefaultVariantImage | null;
|
|
38
35
|
}
|
|
39
36
|
export interface ShopProduct {
|
|
40
|
-
__typename?:
|
|
41
|
-
id?: string | null
|
|
42
|
-
title?: string | null
|
|
43
|
-
featuredImage?: HelloWorldTestQueryPartialData.ShopProductFeaturedImage | null
|
|
44
|
-
defaultVariant?: HelloWorldTestQueryPartialData.ShopProductDefaultVariant | null
|
|
37
|
+
__typename?: "Product" | null;
|
|
38
|
+
id?: string | null;
|
|
39
|
+
title?: string | null;
|
|
40
|
+
featuredImage?: HelloWorldTestQueryPartialData.ShopProductFeaturedImage | null;
|
|
41
|
+
defaultVariant?: HelloWorldTestQueryPartialData.ShopProductDefaultVariant | null;
|
|
45
42
|
}
|
|
46
43
|
export interface Shop {
|
|
47
|
-
__typename?:
|
|
48
|
-
id?: string | null
|
|
49
|
-
name?: string | null
|
|
50
|
-
product?: HelloWorldTestQueryPartialData.ShopProduct | null
|
|
44
|
+
__typename?: "Shop" | null;
|
|
45
|
+
id?: string | null;
|
|
46
|
+
name?: string | null;
|
|
47
|
+
product?: HelloWorldTestQueryPartialData.ShopProduct | null;
|
|
51
48
|
}
|
|
52
49
|
}
|
|
53
50
|
export interface HelloWorldTestQueryPartialData {
|
|
54
|
-
shop?: HelloWorldTestQueryPartialData.Shop | null
|
|
51
|
+
shop?: HelloWorldTestQueryPartialData.Shop | null;
|
|
55
52
|
}
|
|
56
53
|
export namespace HelloWorldTestQueryData {
|
|
57
54
|
export interface Variables {
|
|
58
|
-
shopId: string
|
|
59
|
-
productId: string
|
|
55
|
+
shopId: string;
|
|
56
|
+
productId: string;
|
|
60
57
|
}
|
|
61
58
|
export interface ShopProductFeaturedImage {
|
|
62
|
-
__typename:
|
|
63
|
-
id?: string | null
|
|
64
|
-
altText?: string | null
|
|
65
|
-
url: URL
|
|
59
|
+
__typename: "Image";
|
|
60
|
+
id?: string | null;
|
|
61
|
+
altText?: string | null;
|
|
62
|
+
url: URL;
|
|
66
63
|
}
|
|
67
64
|
export interface ShopProductDefaultVariantCompareAtPrice {
|
|
68
|
-
__typename:
|
|
69
|
-
amount: Decimal
|
|
70
|
-
currencyCode: CurrencyCode
|
|
65
|
+
__typename: "Money";
|
|
66
|
+
amount: Decimal;
|
|
67
|
+
currencyCode: CurrencyCode;
|
|
71
68
|
}
|
|
72
69
|
export interface ShopProductDefaultVariantPrice {
|
|
73
|
-
__typename:
|
|
74
|
-
amount: Decimal
|
|
75
|
-
currencyCode: CurrencyCode
|
|
70
|
+
__typename: "Money";
|
|
71
|
+
amount: Decimal;
|
|
72
|
+
currencyCode: CurrencyCode;
|
|
76
73
|
}
|
|
77
74
|
export interface ShopProductDefaultVariantImage {
|
|
78
|
-
__typename:
|
|
79
|
-
id?: string | null
|
|
80
|
-
altText?: string | null
|
|
81
|
-
url: URL
|
|
75
|
+
__typename: "Image";
|
|
76
|
+
id?: string | null;
|
|
77
|
+
altText?: string | null;
|
|
78
|
+
url: URL;
|
|
82
79
|
}
|
|
83
80
|
export interface ShopProductDefaultVariant {
|
|
84
|
-
__typename:
|
|
85
|
-
id: string
|
|
86
|
-
title: string
|
|
87
|
-
isFavorited: boolean
|
|
88
|
-
compareAtPrice?: HelloWorldTestQueryData.ShopProductDefaultVariantCompareAtPrice | null
|
|
89
|
-
price: HelloWorldTestQueryData.ShopProductDefaultVariantPrice
|
|
90
|
-
image?: HelloWorldTestQueryData.ShopProductDefaultVariantImage | null
|
|
81
|
+
__typename: "ProductVariant";
|
|
82
|
+
id: string;
|
|
83
|
+
title: string;
|
|
84
|
+
isFavorited: boolean;
|
|
85
|
+
compareAtPrice?: HelloWorldTestQueryData.ShopProductDefaultVariantCompareAtPrice | null;
|
|
86
|
+
price: HelloWorldTestQueryData.ShopProductDefaultVariantPrice;
|
|
87
|
+
image?: HelloWorldTestQueryData.ShopProductDefaultVariantImage | null;
|
|
91
88
|
}
|
|
92
89
|
export interface ShopProduct {
|
|
93
|
-
__typename:
|
|
94
|
-
id: string
|
|
95
|
-
title: string
|
|
96
|
-
featuredImage?: HelloWorldTestQueryData.ShopProductFeaturedImage | null
|
|
97
|
-
defaultVariant: HelloWorldTestQueryData.ShopProductDefaultVariant
|
|
90
|
+
__typename: "Product";
|
|
91
|
+
id: string;
|
|
92
|
+
title: string;
|
|
93
|
+
featuredImage?: HelloWorldTestQueryData.ShopProductFeaturedImage | null;
|
|
94
|
+
defaultVariant: HelloWorldTestQueryData.ShopProductDefaultVariant;
|
|
98
95
|
}
|
|
99
96
|
export interface Shop {
|
|
100
|
-
__typename:
|
|
101
|
-
id: string
|
|
102
|
-
name: string
|
|
103
|
-
product?: HelloWorldTestQueryData.ShopProduct | null
|
|
97
|
+
__typename: "Shop";
|
|
98
|
+
id: string;
|
|
99
|
+
name: string;
|
|
100
|
+
product?: HelloWorldTestQueryData.ShopProduct | null;
|
|
104
101
|
}
|
|
105
102
|
}
|
|
106
103
|
export interface HelloWorldTestQueryData {
|
|
107
|
-
shop?: HelloWorldTestQueryData.Shop | null
|
|
104
|
+
shop?: HelloWorldTestQueryData.Shop | null;
|
|
108
105
|
}
|
|
109
|
-
declare const document: DocumentNode<
|
|
110
|
-
|
|
111
|
-
HelloWorldTestQueryData.Variables,
|
|
112
|
-
HelloWorldTestQueryPartialData
|
|
113
|
-
>
|
|
114
|
-
export default document
|
|
106
|
+
declare const document: DocumentNode<HelloWorldTestQueryData, HelloWorldTestQueryData.Variables, HelloWorldTestQueryPartialData> & TypedDocumentNode<HelloWorldTestQueryData, HelloWorldTestQueryData.Variables>;
|
|
107
|
+
export default document;
|
|
@@ -1,119 +1,109 @@
|
|
|
1
|
-
import {DocumentNode} from
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
Decimal,
|
|
5
|
-
CurrencyCode,
|
|
6
|
-
} from '@shopify/shop-minis-platform-sdk/api/types'
|
|
7
|
-
|
|
1
|
+
import { DocumentNode } from "graphql-typed";
|
|
2
|
+
import { TypedDocumentNode } from "@graphql-typed-document-node/core";
|
|
3
|
+
import { URL, Decimal, CurrencyCode } from "@shopify/shop-minis-platform-sdk/api/types";
|
|
8
4
|
export namespace HelloWorldTestProductsQueryPartialData {
|
|
9
5
|
export interface ShopProductsByIdsFeaturedImage {
|
|
10
|
-
__typename?:
|
|
11
|
-
id?: string | null
|
|
12
|
-
altText?: string | null
|
|
13
|
-
url?: URL | null
|
|
6
|
+
__typename?: "Image" | null;
|
|
7
|
+
id?: string | null;
|
|
8
|
+
altText?: string | null;
|
|
9
|
+
url?: URL | null;
|
|
14
10
|
}
|
|
15
11
|
export interface ShopProductsByIdsDefaultVariantCompareAtPrice {
|
|
16
|
-
__typename?:
|
|
17
|
-
amount?: Decimal | null
|
|
18
|
-
currencyCode?: CurrencyCode | null
|
|
12
|
+
__typename?: "Money" | null;
|
|
13
|
+
amount?: Decimal | null;
|
|
14
|
+
currencyCode?: CurrencyCode | null;
|
|
19
15
|
}
|
|
20
16
|
export interface ShopProductsByIdsDefaultVariantPrice {
|
|
21
|
-
__typename?:
|
|
22
|
-
amount?: Decimal | null
|
|
23
|
-
currencyCode?: CurrencyCode | null
|
|
17
|
+
__typename?: "Money" | null;
|
|
18
|
+
amount?: Decimal | null;
|
|
19
|
+
currencyCode?: CurrencyCode | null;
|
|
24
20
|
}
|
|
25
21
|
export interface ShopProductsByIdsDefaultVariantImage {
|
|
26
|
-
__typename?:
|
|
27
|
-
id?: string | null
|
|
28
|
-
altText?: string | null
|
|
29
|
-
url?: URL | null
|
|
22
|
+
__typename?: "Image" | null;
|
|
23
|
+
id?: string | null;
|
|
24
|
+
altText?: string | null;
|
|
25
|
+
url?: URL | null;
|
|
30
26
|
}
|
|
31
27
|
export interface ShopProductsByIdsDefaultVariant {
|
|
32
|
-
__typename?:
|
|
33
|
-
id?: string | null
|
|
34
|
-
title?: string | null
|
|
35
|
-
isFavorited?: boolean | null
|
|
36
|
-
compareAtPrice?: HelloWorldTestProductsQueryPartialData.ShopProductsByIdsDefaultVariantCompareAtPrice | null
|
|
37
|
-
price?: HelloWorldTestProductsQueryPartialData.ShopProductsByIdsDefaultVariantPrice | null
|
|
38
|
-
image?: HelloWorldTestProductsQueryPartialData.ShopProductsByIdsDefaultVariantImage | null
|
|
28
|
+
__typename?: "ProductVariant" | null;
|
|
29
|
+
id?: string | null;
|
|
30
|
+
title?: string | null;
|
|
31
|
+
isFavorited?: boolean | null;
|
|
32
|
+
compareAtPrice?: HelloWorldTestProductsQueryPartialData.ShopProductsByIdsDefaultVariantCompareAtPrice | null;
|
|
33
|
+
price?: HelloWorldTestProductsQueryPartialData.ShopProductsByIdsDefaultVariantPrice | null;
|
|
34
|
+
image?: HelloWorldTestProductsQueryPartialData.ShopProductsByIdsDefaultVariantImage | null;
|
|
39
35
|
}
|
|
40
36
|
export interface ShopProductsByIds {
|
|
41
|
-
__typename?:
|
|
42
|
-
id?: string | null
|
|
43
|
-
title?: string | null
|
|
44
|
-
tags?: (string | null)[] | null
|
|
45
|
-
featuredImage?: HelloWorldTestProductsQueryPartialData.ShopProductsByIdsFeaturedImage | null
|
|
46
|
-
defaultVariant?: HelloWorldTestProductsQueryPartialData.ShopProductsByIdsDefaultVariant | null
|
|
37
|
+
__typename?: "Product" | null;
|
|
38
|
+
id?: string | null;
|
|
39
|
+
title?: string | null;
|
|
40
|
+
tags?: (string | null)[] | null;
|
|
41
|
+
featuredImage?: HelloWorldTestProductsQueryPartialData.ShopProductsByIdsFeaturedImage | null;
|
|
42
|
+
defaultVariant?: HelloWorldTestProductsQueryPartialData.ShopProductsByIdsDefaultVariant | null;
|
|
47
43
|
}
|
|
48
44
|
export interface Shop {
|
|
49
|
-
__typename?:
|
|
50
|
-
id?: string | null
|
|
51
|
-
name?: string | null
|
|
52
|
-
productsByIds?:
|
|
53
|
-
| (HelloWorldTestProductsQueryPartialData.ShopProductsByIds | null)[]
|
|
54
|
-
| null
|
|
45
|
+
__typename?: "Shop" | null;
|
|
46
|
+
id?: string | null;
|
|
47
|
+
name?: string | null;
|
|
48
|
+
productsByIds?: (HelloWorldTestProductsQueryPartialData.ShopProductsByIds | null)[] | null;
|
|
55
49
|
}
|
|
56
50
|
}
|
|
57
51
|
export interface HelloWorldTestProductsQueryPartialData {
|
|
58
|
-
shop?: HelloWorldTestProductsQueryPartialData.Shop | null
|
|
52
|
+
shop?: HelloWorldTestProductsQueryPartialData.Shop | null;
|
|
59
53
|
}
|
|
60
54
|
export namespace HelloWorldTestProductsQueryData {
|
|
61
55
|
export interface Variables {
|
|
62
|
-
shopId: string
|
|
63
|
-
productIds: string[]
|
|
56
|
+
shopId: string;
|
|
57
|
+
productIds: string[];
|
|
64
58
|
}
|
|
65
59
|
export interface ShopProductsByIdsFeaturedImage {
|
|
66
|
-
__typename:
|
|
67
|
-
id?: string | null
|
|
68
|
-
altText?: string | null
|
|
69
|
-
url: URL
|
|
60
|
+
__typename: "Image";
|
|
61
|
+
id?: string | null;
|
|
62
|
+
altText?: string | null;
|
|
63
|
+
url: URL;
|
|
70
64
|
}
|
|
71
65
|
export interface ShopProductsByIdsDefaultVariantCompareAtPrice {
|
|
72
|
-
__typename:
|
|
73
|
-
amount: Decimal
|
|
74
|
-
currencyCode: CurrencyCode
|
|
66
|
+
__typename: "Money";
|
|
67
|
+
amount: Decimal;
|
|
68
|
+
currencyCode: CurrencyCode;
|
|
75
69
|
}
|
|
76
70
|
export interface ShopProductsByIdsDefaultVariantPrice {
|
|
77
|
-
__typename:
|
|
78
|
-
amount: Decimal
|
|
79
|
-
currencyCode: CurrencyCode
|
|
71
|
+
__typename: "Money";
|
|
72
|
+
amount: Decimal;
|
|
73
|
+
currencyCode: CurrencyCode;
|
|
80
74
|
}
|
|
81
75
|
export interface ShopProductsByIdsDefaultVariantImage {
|
|
82
|
-
__typename:
|
|
83
|
-
id?: string | null
|
|
84
|
-
altText?: string | null
|
|
85
|
-
url: URL
|
|
76
|
+
__typename: "Image";
|
|
77
|
+
id?: string | null;
|
|
78
|
+
altText?: string | null;
|
|
79
|
+
url: URL;
|
|
86
80
|
}
|
|
87
81
|
export interface ShopProductsByIdsDefaultVariant {
|
|
88
|
-
__typename:
|
|
89
|
-
id: string
|
|
90
|
-
title: string
|
|
91
|
-
isFavorited: boolean
|
|
92
|
-
compareAtPrice?: HelloWorldTestProductsQueryData.ShopProductsByIdsDefaultVariantCompareAtPrice | null
|
|
93
|
-
price: HelloWorldTestProductsQueryData.ShopProductsByIdsDefaultVariantPrice
|
|
94
|
-
image?: HelloWorldTestProductsQueryData.ShopProductsByIdsDefaultVariantImage | null
|
|
82
|
+
__typename: "ProductVariant";
|
|
83
|
+
id: string;
|
|
84
|
+
title: string;
|
|
85
|
+
isFavorited: boolean;
|
|
86
|
+
compareAtPrice?: HelloWorldTestProductsQueryData.ShopProductsByIdsDefaultVariantCompareAtPrice | null;
|
|
87
|
+
price: HelloWorldTestProductsQueryData.ShopProductsByIdsDefaultVariantPrice;
|
|
88
|
+
image?: HelloWorldTestProductsQueryData.ShopProductsByIdsDefaultVariantImage | null;
|
|
95
89
|
}
|
|
96
90
|
export interface ShopProductsByIds {
|
|
97
|
-
__typename:
|
|
98
|
-
id: string
|
|
99
|
-
title: string
|
|
100
|
-
tags: string[]
|
|
101
|
-
featuredImage?: HelloWorldTestProductsQueryData.ShopProductsByIdsFeaturedImage | null
|
|
102
|
-
defaultVariant: HelloWorldTestProductsQueryData.ShopProductsByIdsDefaultVariant
|
|
91
|
+
__typename: "Product";
|
|
92
|
+
id: string;
|
|
93
|
+
title: string;
|
|
94
|
+
tags: string[];
|
|
95
|
+
featuredImage?: HelloWorldTestProductsQueryData.ShopProductsByIdsFeaturedImage | null;
|
|
96
|
+
defaultVariant: HelloWorldTestProductsQueryData.ShopProductsByIdsDefaultVariant;
|
|
103
97
|
}
|
|
104
98
|
export interface Shop {
|
|
105
|
-
__typename:
|
|
106
|
-
id: string
|
|
107
|
-
name: string
|
|
108
|
-
productsByIds: (HelloWorldTestProductsQueryData.ShopProductsByIds | null)[]
|
|
99
|
+
__typename: "Shop";
|
|
100
|
+
id: string;
|
|
101
|
+
name: string;
|
|
102
|
+
productsByIds: (HelloWorldTestProductsQueryData.ShopProductsByIds | null)[];
|
|
109
103
|
}
|
|
110
104
|
}
|
|
111
105
|
export interface HelloWorldTestProductsQueryData {
|
|
112
|
-
shop?: HelloWorldTestProductsQueryData.Shop | null
|
|
106
|
+
shop?: HelloWorldTestProductsQueryData.Shop | null;
|
|
113
107
|
}
|
|
114
|
-
declare const document: DocumentNode<
|
|
115
|
-
|
|
116
|
-
HelloWorldTestProductsQueryData.Variables,
|
|
117
|
-
HelloWorldTestProductsQueryPartialData
|
|
118
|
-
>
|
|
119
|
-
export default document
|
|
108
|
+
declare const document: DocumentNode<HelloWorldTestProductsQueryData, HelloWorldTestProductsQueryData.Variables, HelloWorldTestProductsQueryPartialData> & TypedDocumentNode<HelloWorldTestProductsQueryData, HelloWorldTestProductsQueryData.Variables>;
|
|
109
|
+
export default document;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"patch-package.js","sourceRoot":"","sources":["../../../../src/commands/dev/utils/patch-package.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,aAAa,CAAA;AACzC,OAAO,IAAI,MAAM,WAAW,CAAA;AAE5B,OAAO,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAA;AACxD,OAAO,EAAE,MAAM,UAAU,CAAA;AAEzB,MAAM,EAAC,UAAU,EAAE,sBAAsB,EAAC,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CACzE,iCAAiC,CAClC,CAAA;AACD,MAAM,EAAC,kCAAkC,EAAC,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CACzE,mCAAmC,CACpC,CAAA;AAED,2EAA2E;AAC3E,wGAAwG;AACxG,+GAA+G;AAC/G,MAAM,iBAAiB,GAAG,uBAAuB,CAAA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