@shopify/cli-kit 3.0.25 → 3.0.26
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/CHANGELOG.md +15 -0
- package/assets/auth-error.html +2 -4
- package/assets/empty-url.html +2 -4
- package/assets/missing-code.html +2 -4
- package/assets/missing-state.html +2 -4
- package/assets/style.css +5 -8
- package/assets/success.html +1 -1
- package/dist/abort.d.ts +1 -0
- package/dist/abort.js +2 -0
- package/dist/abort.js.map +1 -0
- package/dist/analytics.d.ts +11 -0
- package/dist/analytics.js +96 -0
- package/dist/analytics.js.map +1 -0
- package/dist/api/admin.d.ts +3 -0
- package/dist/api/admin.js +80 -0
- package/dist/api/admin.js.map +1 -0
- package/dist/api/common.d.ts +11 -0
- package/dist/api/common.js +40 -0
- package/dist/api/common.js.map +1 -0
- package/dist/api/graphql/all_app_extension_registrations.d.ts +14 -0
- package/dist/api/graphql/all_app_extension_registrations.js +14 -0
- package/dist/api/graphql/all_app_extension_registrations.js.map +1 -0
- package/dist/api/graphql/all_orgs.d.ts +12 -0
- package/dist/api/graphql/all_orgs.js +14 -0
- package/dist/api/graphql/all_orgs.js.map +1 -0
- package/dist/api/graphql/all_stores_by_org.d.ts +18 -0
- package/dist/api/graphql/all_stores_by_org.js +21 -0
- package/dist/api/graphql/all_stores_by_org.js.map +1 -0
- package/dist/api/graphql/convert_dev_to_test_store.d.ts +16 -0
- package/dist/api/graphql/convert_dev_to_test_store.js +13 -0
- package/dist/api/graphql/convert_dev_to_test_store.js.map +1 -0
- package/dist/api/graphql/create_app.d.ts +28 -0
- package/dist/api/graphql/create_app.js +32 -0
- package/dist/api/graphql/create_app.js.map +1 -0
- package/dist/api/graphql/create_deployment.d.ts +33 -0
- package/dist/api/graphql/create_deployment.js +25 -0
- package/dist/api/graphql/create_deployment.js.map +1 -0
- package/dist/api/graphql/extension_create.d.ts +30 -0
- package/dist/api/graphql/extension_create.js +26 -0
- package/dist/api/graphql/extension_create.js.map +1 -0
- package/dist/api/graphql/extension_specifications.d.ts +18 -0
- package/dist/api/graphql/extension_specifications.js +18 -0
- package/dist/api/graphql/extension_specifications.js.map +1 -0
- package/dist/api/graphql/find_app.d.ts +13 -0
- package/dist/api/graphql/find_app.js +16 -0
- package/dist/api/graphql/find_app.js.map +1 -0
- package/dist/api/graphql/find_org.d.ts +23 -0
- package/dist/api/graphql/find_org.js +26 -0
- package/dist/api/graphql/find_org.js.map +1 -0
- package/dist/api/graphql/find_org_basic.d.ts +11 -0
- package/dist/api/graphql/find_org_basic.js +14 -0
- package/dist/api/graphql/find_org_basic.js.map +1 -0
- package/dist/api/graphql/functions/app_function_set.d.ts +43 -0
- package/dist/api/graphql/functions/app_function_set.js +52 -0
- package/dist/api/graphql/functions/app_function_set.js.map +1 -0
- package/dist/api/graphql/functions/compile_module.d.ts +15 -0
- package/dist/api/graphql/functions/compile_module.js +13 -0
- package/dist/api/graphql/functions/compile_module.js.map +1 -0
- package/dist/api/graphql/functions/function_service_proxy.d.ts +4 -0
- package/dist/api/graphql/functions/function_service_proxy.js +7 -0
- package/dist/api/graphql/functions/function_service_proxy.js.map +1 -0
- package/dist/api/graphql/functions/get_app_functions.d.ts +1 -0
- package/dist/api/graphql/functions/get_app_functions.js +10 -0
- package/dist/api/graphql/functions/get_app_functions.js.map +1 -0
- package/dist/api/graphql/functions/module_compilation_status.d.ts +15 -0
- package/dist/api/graphql/functions/module_compilation_status.js +13 -0
- package/dist/api/graphql/functions/module_compilation_status.js.map +1 -0
- package/dist/api/graphql/functions/module_upload_url_generate.d.ts +18 -0
- package/dist/api/graphql/functions/module_upload_url_generate.js +17 -0
- package/dist/api/graphql/functions/module_upload_url_generate.js.map +1 -0
- package/dist/api/graphql/generate_signed_upload_url.d.ts +15 -0
- package/dist/api/graphql/generate_signed_upload_url.js +15 -0
- package/dist/api/graphql/generate_signed_upload_url.js.map +1 -0
- package/dist/api/graphql/get_variant_id.d.ts +17 -0
- package/dist/api/graphql/get_variant_id.js +20 -0
- package/dist/api/graphql/get_variant_id.js.map +1 -0
- package/dist/api/graphql/index.d.ts +21 -0
- package/dist/api/graphql/index.js +22 -0
- package/dist/api/graphql/index.js.map +1 -0
- package/dist/api/graphql/update_draft.d.ts +33 -0
- package/dist/api/graphql/update_draft.js +24 -0
- package/dist/api/graphql/update_draft.js.map +1 -0
- package/dist/api/graphql/update_urls.d.ts +14 -0
- package/dist/api/graphql/update_urls.js +12 -0
- package/dist/api/graphql/update_urls.js.map +1 -0
- package/dist/api/identity.d.ts +1 -0
- package/dist/api/identity.js +29 -0
- package/dist/api/identity.js.map +1 -0
- package/dist/api/partners.d.ts +25 -0
- package/dist/api/partners.js +100 -0
- package/dist/api/partners.js.map +1 -0
- package/dist/api.d.ts +5 -0
- package/dist/api.js +6 -0
- package/dist/api.js.map +1 -0
- package/dist/checksum.d.ts +15 -0
- package/dist/checksum.js +27 -0
- package/dist/checksum.js.map +1 -0
- package/dist/cli.d.ts +7 -0
- package/dist/cli.js +13 -0
- package/dist/cli.js.map +1 -0
- package/dist/colors.d.ts +1 -0
- package/dist/colors.js +8 -0
- package/dist/colors.js.map +1 -0
- package/dist/constants.d.ts +43 -0
- package/dist/constants.js +63 -0
- package/dist/constants.js.map +1 -0
- package/dist/dependency.d.ts +128 -0
- package/dist/dependency.js +302 -0
- package/dist/dependency.js.map +1 -0
- package/dist/dot-env.d.ts +28 -0
- package/dist/dot-env.js +31 -0
- package/dist/dot-env.js.map +1 -0
- package/dist/environment/fqdn.d.ts +23 -0
- package/dist/environment/fqdn.js +61 -0
- package/dist/environment/fqdn.js.map +1 -0
- package/dist/environment/local.d.ts +48 -0
- package/dist/environment/local.js +82 -0
- package/dist/environment/local.js.map +1 -0
- package/dist/environment/service.d.ts +17 -0
- package/dist/environment/service.js +41 -0
- package/dist/environment/service.js.map +1 -0
- package/dist/environment/spin.d.ts +47 -0
- package/dist/environment/spin.js +83 -0
- package/dist/environment/spin.js.map +1 -0
- package/dist/environment/utilities.d.ts +6 -0
- package/dist/environment/utilities.js +12 -0
- package/dist/environment/utilities.js.map +1 -0
- package/dist/environment.d.ts +5 -0
- package/dist/environment.js +6 -0
- package/dist/environment.js.map +1 -0
- package/dist/error.d.ts +44 -0
- package/dist/error.js +91 -0
- package/dist/error.js.map +1 -0
- package/dist/file.d.ts +67 -0
- package/dist/file.js +165 -0
- package/dist/file.js.map +1 -0
- package/dist/git.d.ts +15 -0
- package/dist/git.js +48 -0
- package/dist/git.js.map +1 -0
- package/dist/github.d.ts +33 -0
- package/dist/github.js +56 -0
- package/dist/github.js.map +1 -0
- package/dist/haiku.d.ts +1 -0
- package/dist/haiku.js +8 -0
- package/dist/haiku.js.map +1 -0
- package/dist/http/fetch.d.ts +16 -0
- package/dist/http/fetch.js +18 -0
- package/dist/http/fetch.js.map +1 -0
- package/dist/http/formdata.d.ts +3 -0
- package/dist/http/formdata.js +6 -0
- package/dist/http/formdata.js.map +1 -0
- package/dist/http.d.ts +2 -0
- package/dist/http.js +3 -0
- package/dist/http.js.map +1 -0
- package/dist/id.d.ts +6 -0
- package/dist/id.js +18 -0
- package/dist/id.js.map +1 -0
- package/dist/index.d.ts +37 -2179
- package/dist/index.js +38 -3264
- package/dist/index.js.map +1 -1
- package/dist/network/api.d.ts +2 -0
- package/dist/network/api.js +2 -0
- package/dist/network/api.js.map +1 -0
- package/dist/network/service.d.ts +16 -0
- package/dist/network/service.js +12 -0
- package/dist/network/service.js.map +1 -0
- package/dist/{archiver.d.ts → node/archiver.d.ts} +1 -4
- package/dist/node/archiver.js +22 -42
- package/dist/node/archiver.js.map +1 -1
- package/dist/node/cli.d.ts +18 -0
- package/dist/node/cli.js +91 -0
- package/dist/node/cli.js.map +1 -0
- package/dist/npm.d.ts +27 -0
- package/dist/npm.js +20 -0
- package/dist/npm.js.map +1 -0
- package/dist/os.d.ts +10 -0
- package/dist/os.js +70 -0
- package/dist/os.js.map +1 -0
- package/dist/output.d.ts +142 -0
- package/dist/output.js +505 -0
- package/dist/output.js.map +1 -0
- package/dist/path.d.ts +22 -0
- package/dist/path.js +43 -0
- package/dist/path.js.map +1 -0
- package/dist/plugins.d.ts +9 -0
- package/dist/plugins.js +12 -0
- package/dist/plugins.js.map +1 -0
- package/dist/port.d.ts +5 -0
- package/dist/port.js +13 -0
- package/dist/port.js.map +1 -0
- package/dist/ruby.d.ts +21 -0
- package/dist/ruby.js +192 -0
- package/dist/ruby.js.map +1 -0
- package/dist/schema.d.ts +1 -0
- package/dist/schema.js +2 -0
- package/dist/schema.js.map +1 -0
- package/dist/secure-store.d.ts +19 -0
- package/dist/secure-store.js +63 -0
- package/dist/secure-store.js.map +1 -0
- package/dist/semver.d.ts +3 -0
- package/dist/semver.js +6 -0
- package/dist/semver.js.map +1 -0
- package/dist/session/authorize.d.ts +7 -0
- package/dist/session/authorize.js +40 -0
- package/dist/session/authorize.js.map +1 -0
- package/dist/session/exchange.d.ts +42 -0
- package/dist/session/exchange.js +144 -0
- package/dist/session/exchange.js.map +1 -0
- package/dist/session/identity.d.ts +3 -0
- package/dist/session/identity.js +58 -0
- package/dist/session/identity.js.map +1 -0
- package/dist/session/post-auth.d.ts +13 -0
- package/dist/session/post-auth.js +56 -0
- package/dist/session/post-auth.js.map +1 -0
- package/dist/session/redirect-listener.d.ts +34 -0
- package/dist/session/redirect-listener.js +97 -0
- package/dist/session/redirect-listener.js.map +1 -0
- package/dist/session/schema.d.ts +174 -0
- package/dist/session/schema.js +59 -0
- package/dist/session/schema.js.map +1 -0
- package/dist/session/scopes.d.ts +16 -0
- package/dist/session/scopes.js +53 -0
- package/dist/session/scopes.js.map +1 -0
- package/dist/session/store.d.ts +24 -0
- package/dist/session/store.js +88 -0
- package/dist/session/store.js.map +1 -0
- package/dist/session/token.d.ts +40 -0
- package/dist/session/token.js +22 -0
- package/dist/session/token.js.map +1 -0
- package/dist/session/validate.d.ts +17 -0
- package/dist/session/validate.js +75 -0
- package/dist/session/validate.js.map +1 -0
- package/dist/session.d.ts +88 -0
- package/dist/session.js +251 -0
- package/dist/session.js.map +1 -0
- package/dist/store/schema.d.ts +3 -0
- package/dist/store/schema.js +27 -0
- package/dist/store/schema.js.map +1 -0
- package/dist/store.d.ts +32 -0
- package/dist/store.js +102 -0
- package/dist/store.js.map +1 -0
- package/dist/string.d.ts +22 -0
- package/dist/string.js +38 -0
- package/dist/string.js.map +1 -0
- package/dist/system.d.ts +53 -0
- package/dist/system.js +109 -0
- package/dist/system.js.map +1 -0
- package/dist/template.d.ts +11 -0
- package/dist/template.js +50 -0
- package/dist/template.js.map +1 -0
- package/dist/testing/output.d.ts +9 -0
- package/dist/testing/output.js +15 -0
- package/dist/testing/output.js.map +1 -0
- package/dist/testing/store.d.ts +7 -0
- package/dist/testing/store.js +26 -0
- package/dist/testing/store.js.map +1 -0
- package/dist/toml.d.ts +3 -0
- package/dist/toml.js +8 -0
- package/dist/toml.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/ui/autocomplete.d.ts +7 -0
- package/dist/ui/autocomplete.js +43 -0
- package/dist/ui/autocomplete.js.map +1 -0
- package/dist/ui/input.d.ts +7 -0
- package/dist/ui/input.js +48 -0
- package/dist/ui/input.js.map +1 -0
- package/dist/ui/select.d.ts +6 -0
- package/dist/ui/select.js +30 -0
- package/dist/ui/select.js.map +1 -0
- package/dist/ui.d.ts +36 -0
- package/dist/ui.js +124 -0
- package/dist/ui.js.map +1 -0
- package/dist/version.d.ts +19 -0
- package/dist/version.js +34 -0
- package/dist/version.js.map +1 -0
- package/dist/vscode.d.ts +8 -0
- package/dist/vscode.js +36 -0
- package/dist/vscode.js.map +1 -0
- package/dist/yaml.d.ts +2 -0
- package/dist/yaml.js +8 -0
- package/dist/yaml.js.map +1 -0
- package/package.json +14 -7
- package/dist/archiver.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/local-d0094ffe.js +0 -1344
- package/dist/local-d0094ffe.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create_app.js","sourceRoot":"","sources":["../../../src/api/graphql/create_app.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,iBAAiB,CAAA;AAEnC,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BhC,CAAA","sourcesContent":["import {gql} from 'graphql-request'\n\nexport const CreateAppQuery = gql`\n mutation AppCreate($org: Int!, $title: String!, $appUrl: Url!, $redir: [Url]!, $type: AppType) {\n appCreate(\n input: {\n organizationID: $org\n title: $title\n applicationUrl: $appUrl\n redirectUrlWhitelist: $redir\n appType: $type\n }\n ) {\n app {\n id\n apiKey\n title\n appType\n applicationUrl\n redirectUrlWhitelist\n apiSecretKeys {\n secret\n }\n appType\n }\n userErrors {\n field\n message\n }\n }\n }\n`\n\nexport interface CreateAppQueryVariables {\n org: number\n title: string\n appUrl: string\n redir: string[]\n type: string\n}\n\nexport interface CreateAppQuerySchema {\n appCreate: {\n app: {\n id: string\n apiKey: string\n title: string\n applicationUrl: string\n redirectUrlWhitelist: string[]\n organizationId: string\n apiSecretKeys: {\n secret: string\n }[]\n appType: string\n }\n userErrors: {\n field: string[]\n message: string\n }[]\n }\n}\n"]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare const CreateDeployment: string;
|
|
2
|
+
export interface ExtensionSettings {
|
|
3
|
+
uuid: string;
|
|
4
|
+
config: string;
|
|
5
|
+
context: string;
|
|
6
|
+
}
|
|
7
|
+
export interface CreateDeploymentVariables {
|
|
8
|
+
apiKey: string;
|
|
9
|
+
uuid: string;
|
|
10
|
+
bundleUrl: string;
|
|
11
|
+
extensions: ExtensionSettings[];
|
|
12
|
+
}
|
|
13
|
+
export interface CreateDeploymentSchema {
|
|
14
|
+
deploymentCreate: {
|
|
15
|
+
deployment: {
|
|
16
|
+
uuid: string;
|
|
17
|
+
deployedVersions: {
|
|
18
|
+
extensionVersion: {
|
|
19
|
+
uuid: string;
|
|
20
|
+
registrationUuid: string;
|
|
21
|
+
validationErrors: {
|
|
22
|
+
field: string[];
|
|
23
|
+
message: string;
|
|
24
|
+
}[];
|
|
25
|
+
};
|
|
26
|
+
}[];
|
|
27
|
+
};
|
|
28
|
+
userErrors: {
|
|
29
|
+
field: string[];
|
|
30
|
+
message: string;
|
|
31
|
+
}[];
|
|
32
|
+
};
|
|
33
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { gql } from 'graphql-request';
|
|
2
|
+
export const CreateDeployment = gql `
|
|
3
|
+
mutation CreateDeployment($apiKey: String!, $uuid: String!, $bundleUrl: String!, $extensions: [ExtensionSettings!]!) {
|
|
4
|
+
deploymentCreate(input: {apiKey: $apiKey, uuid: $uuid, bundleUrl: $bundleUrl, extensions: $extensions}) {
|
|
5
|
+
deployment {
|
|
6
|
+
uuid
|
|
7
|
+
deployedVersions {
|
|
8
|
+
extensionVersion {
|
|
9
|
+
uuid
|
|
10
|
+
registrationUuid
|
|
11
|
+
validationErrors {
|
|
12
|
+
message
|
|
13
|
+
field
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
userErrors {
|
|
19
|
+
message
|
|
20
|
+
field
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
`;
|
|
25
|
+
//# sourceMappingURL=create_deployment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create_deployment.js","sourceRoot":"","sources":["../../../src/api/graphql/create_deployment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,iBAAiB,CAAA;AAEnC,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;CAsBlC,CAAA","sourcesContent":["import {gql} from 'graphql-request'\n\nexport const CreateDeployment = gql`\n mutation CreateDeployment($apiKey: String!, $uuid: String!, $bundleUrl: String!, $extensions: [ExtensionSettings!]!) {\n deploymentCreate(input: {apiKey: $apiKey, uuid: $uuid, bundleUrl: $bundleUrl, extensions: $extensions}) {\n deployment {\n uuid\n deployedVersions {\n extensionVersion {\n uuid\n registrationUuid\n validationErrors {\n message\n field\n }\n }\n }\n }\n userErrors {\n message\n field\n }\n }\n }\n`\n\nexport interface ExtensionSettings {\n uuid: string\n config: string\n context: string\n}\n\nexport interface CreateDeploymentVariables {\n apiKey: string\n uuid: string\n bundleUrl: string\n extensions: ExtensionSettings[]\n}\n\nexport interface CreateDeploymentSchema {\n deploymentCreate: {\n deployment: {\n uuid: string\n deployedVersions: {\n extensionVersion: {\n uuid: string\n registrationUuid: string\n validationErrors: {\n field: string[]\n message: string\n }[]\n }\n }[]\n }\n userErrors: {\n field: string[]\n message: string\n }[]\n }\n}\n"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const ExtensionCreateQuery: string;
|
|
2
|
+
export interface ExtensionCreateVariables {
|
|
3
|
+
apiKey: string;
|
|
4
|
+
type: string;
|
|
5
|
+
title: string;
|
|
6
|
+
config: string;
|
|
7
|
+
context?: string | null;
|
|
8
|
+
}
|
|
9
|
+
export interface ExtensionCreateSchema {
|
|
10
|
+
extensionCreate: {
|
|
11
|
+
extensionRegistration: {
|
|
12
|
+
id: string;
|
|
13
|
+
uuid: string;
|
|
14
|
+
type: string;
|
|
15
|
+
title: string;
|
|
16
|
+
draftVersion: {
|
|
17
|
+
registrationId: string;
|
|
18
|
+
lastUserInteractionAt: string;
|
|
19
|
+
validationErrors: {
|
|
20
|
+
field: string[];
|
|
21
|
+
message: string;
|
|
22
|
+
}[];
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
userErrors: {
|
|
26
|
+
field: string[];
|
|
27
|
+
message: string;
|
|
28
|
+
}[];
|
|
29
|
+
};
|
|
30
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { gql } from 'graphql-request';
|
|
2
|
+
export const ExtensionCreateQuery = gql `
|
|
3
|
+
mutation ExtensionCreate($apiKey: String!, $type: ExtensionType!, $title: String!, $config: JSON!, $context: String) {
|
|
4
|
+
extensionCreate(input: {apiKey: $apiKey, type: $type, title: $title, config: $config, context: $context}) {
|
|
5
|
+
extensionRegistration {
|
|
6
|
+
id
|
|
7
|
+
uuid
|
|
8
|
+
type
|
|
9
|
+
title
|
|
10
|
+
draftVersion {
|
|
11
|
+
registrationId
|
|
12
|
+
lastUserInteractionAt
|
|
13
|
+
validationErrors {
|
|
14
|
+
field
|
|
15
|
+
message
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
userErrors {
|
|
20
|
+
field
|
|
21
|
+
message
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
`;
|
|
26
|
+
//# sourceMappingURL=extension_create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extension_create.js","sourceRoot":"","sources":["../../../src/api/graphql/extension_create.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,iBAAiB,CAAA;AAEnC,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;CAuBtC,CAAA","sourcesContent":["import {gql} from 'graphql-request'\n\nexport const ExtensionCreateQuery = gql`\n mutation ExtensionCreate($apiKey: String!, $type: ExtensionType!, $title: String!, $config: JSON!, $context: String) {\n extensionCreate(input: {apiKey: $apiKey, type: $type, title: $title, config: $config, context: $context}) {\n extensionRegistration {\n id\n uuid\n type\n title\n draftVersion {\n registrationId\n lastUserInteractionAt\n validationErrors {\n field\n message\n }\n }\n }\n userErrors {\n field\n message\n }\n }\n }\n`\n\nexport interface ExtensionCreateVariables {\n apiKey: string\n type: string\n title: string\n config: string\n context?: string | null\n}\n\nexport interface ExtensionCreateSchema {\n extensionCreate: {\n extensionRegistration: {\n id: string\n uuid: string\n type: string\n title: string\n draftVersion: {\n registrationId: string\n lastUserInteractionAt: string\n validationErrors: {\n field: string[]\n message: string\n }[]\n }\n }\n userErrors: {\n field: string[]\n message: string\n }[]\n }\n}\n"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const ExtensionSpecificationsQuery: string;
|
|
2
|
+
export interface ExtensionSpecificationsQueryVariables {
|
|
3
|
+
api_key: string;
|
|
4
|
+
}
|
|
5
|
+
export interface ExtensionSpecificationsQuerySchema {
|
|
6
|
+
extensionSpecifications: {
|
|
7
|
+
name: string;
|
|
8
|
+
identifier: string;
|
|
9
|
+
options: {
|
|
10
|
+
managementExperience: 'cli' | 'custom' | 'dashboard';
|
|
11
|
+
}[];
|
|
12
|
+
features?: {
|
|
13
|
+
argo?: {
|
|
14
|
+
surface: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
}[];
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { gql } from 'graphql-request';
|
|
2
|
+
export const ExtensionSpecificationsQuery = gql `
|
|
3
|
+
query fetchSpecifications($api_key: String!) {
|
|
4
|
+
extensionSpecifications(apiKey: $api_key) {
|
|
5
|
+
name
|
|
6
|
+
identifier
|
|
7
|
+
options {
|
|
8
|
+
managementExperience
|
|
9
|
+
}
|
|
10
|
+
features {
|
|
11
|
+
argo {
|
|
12
|
+
surface
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
`;
|
|
18
|
+
//# sourceMappingURL=extension_specifications.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extension_specifications.js","sourceRoot":"","sources":["../../../src/api/graphql/extension_specifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,iBAAiB,CAAA;AAEnC,MAAM,CAAC,MAAM,4BAA4B,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;CAe9C,CAAA","sourcesContent":["import {gql} from 'graphql-request'\n\nexport const ExtensionSpecificationsQuery = gql`\n query fetchSpecifications($api_key: String!) {\n extensionSpecifications(apiKey: $api_key) {\n name\n identifier\n options {\n managementExperience\n }\n features {\n argo {\n surface\n }\n }\n }\n }\n`\n\nexport interface ExtensionSpecificationsQueryVariables {\n // eslint-disable-next-line @typescript-eslint/naming-convention\n api_key: string\n}\n\nexport interface ExtensionSpecificationsQuerySchema {\n extensionSpecifications: {\n name: string\n identifier: string\n options: {\n managementExperience: 'cli' | 'custom' | 'dashboard'\n }[]\n features?: {\n argo?: {\n surface: string\n }\n }\n }[]\n}\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { gql } from 'graphql-request';
|
|
2
|
+
export const FindAppQuery = gql `
|
|
3
|
+
query FindApp($apiKey: String!) {
|
|
4
|
+
app(apiKey: $apiKey) {
|
|
5
|
+
id
|
|
6
|
+
title
|
|
7
|
+
apiKey
|
|
8
|
+
organizationId
|
|
9
|
+
apiSecretKeys {
|
|
10
|
+
secret
|
|
11
|
+
}
|
|
12
|
+
appType
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
`;
|
|
16
|
+
//# sourceMappingURL=find_app.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"find_app.js","sourceRoot":"","sources":["../../../src/api/graphql/find_app.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,iBAAiB,CAAA;AAEnC,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAA;;;;;;;;;;;;;CAa9B,CAAA","sourcesContent":["import {gql} from 'graphql-request'\n\nexport const FindAppQuery = gql`\n query FindApp($apiKey: String!) {\n app(apiKey: $apiKey) {\n id\n title\n apiKey\n organizationId\n apiSecretKeys {\n secret\n }\n appType\n }\n }\n`\n\nexport interface FindAppQuerySchema {\n app: {\n id: string\n title: string\n apiKey: string\n organizationId: string\n apiSecretKeys: {\n secret: string\n }[]\n appType: string\n }\n}\n"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const FindOrganizationQuery: string;
|
|
2
|
+
export interface FindOrganizationQuerySchema {
|
|
3
|
+
organizations: {
|
|
4
|
+
nodes: {
|
|
5
|
+
id: string;
|
|
6
|
+
businessName: string;
|
|
7
|
+
website: string;
|
|
8
|
+
appsNext: boolean;
|
|
9
|
+
apps: {
|
|
10
|
+
nodes: {
|
|
11
|
+
id: string;
|
|
12
|
+
title: string;
|
|
13
|
+
apiKey: string;
|
|
14
|
+
organizationId: string;
|
|
15
|
+
apiSecretKeys: {
|
|
16
|
+
secret: string;
|
|
17
|
+
}[];
|
|
18
|
+
appType: string;
|
|
19
|
+
}[];
|
|
20
|
+
};
|
|
21
|
+
}[];
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { gql } from 'graphql-request';
|
|
2
|
+
export const FindOrganizationQuery = gql `
|
|
3
|
+
query FindOrganization($id: ID!) {
|
|
4
|
+
organizations(id: $id, first: 1) {
|
|
5
|
+
nodes {
|
|
6
|
+
id
|
|
7
|
+
businessName
|
|
8
|
+
website
|
|
9
|
+
appsNext
|
|
10
|
+
apps(first: 100) {
|
|
11
|
+
nodes {
|
|
12
|
+
id
|
|
13
|
+
title
|
|
14
|
+
apiKey
|
|
15
|
+
organizationId
|
|
16
|
+
apiSecretKeys {
|
|
17
|
+
secret
|
|
18
|
+
}
|
|
19
|
+
appType
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
`;
|
|
26
|
+
//# sourceMappingURL=find_org.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"find_org.js","sourceRoot":"","sources":["../../../src/api/graphql/find_org.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,iBAAiB,CAAA;AAEnC,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;CAuBvC,CAAA","sourcesContent":["import {gql} from 'graphql-request'\n\nexport const FindOrganizationQuery = gql`\n query FindOrganization($id: ID!) {\n organizations(id: $id, first: 1) {\n nodes {\n id\n businessName\n website\n appsNext\n apps(first: 100) {\n nodes {\n id\n title\n apiKey\n organizationId\n apiSecretKeys {\n secret\n }\n appType\n }\n }\n }\n }\n }\n`\n\nexport interface FindOrganizationQuerySchema {\n organizations: {\n nodes: {\n id: string\n businessName: string\n website: string\n appsNext: boolean\n apps: {\n nodes: {\n id: string\n title: string\n apiKey: string\n organizationId: string\n apiSecretKeys: {\n secret: string\n }[]\n appType: string\n }[]\n }\n }[]\n }\n}\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { gql } from 'graphql-request';
|
|
2
|
+
export const FindOrganizationBasicQuery = gql `
|
|
3
|
+
query FindOrganization($id: ID!) {
|
|
4
|
+
organizations(id: $id, first: 1) {
|
|
5
|
+
nodes {
|
|
6
|
+
id
|
|
7
|
+
businessName
|
|
8
|
+
website
|
|
9
|
+
appsNext
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
14
|
+
//# sourceMappingURL=find_org_basic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"find_org_basic.js","sourceRoot":"","sources":["../../../src/api/graphql/find_org_basic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,iBAAiB,CAAA;AAEnC,MAAM,CAAC,MAAM,0BAA0B,GAAG,GAAG,CAAA;;;;;;;;;;;CAW5C,CAAA","sourcesContent":["import {gql} from 'graphql-request'\n\nexport const FindOrganizationBasicQuery = gql`\n query FindOrganization($id: ID!) {\n organizations(id: $id, first: 1) {\n nodes {\n id\n businessName\n website\n appsNext\n }\n }\n }\n`\n\nexport interface FindOrganizationBasicQuerySchema {\n organizations: {\n nodes: {\n id: string\n businessName: string\n website: string\n appsNext: boolean\n }[]\n }\n}\n"]}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export declare const AppFunctionSetMutation: string;
|
|
2
|
+
export interface AppFunctionSetMutationSchema {
|
|
3
|
+
data: {
|
|
4
|
+
appScriptSet: {
|
|
5
|
+
userErrors: {
|
|
6
|
+
field: string;
|
|
7
|
+
message: string;
|
|
8
|
+
tag: string;
|
|
9
|
+
}[];
|
|
10
|
+
appScript?: {
|
|
11
|
+
uuid: string;
|
|
12
|
+
appKey: string;
|
|
13
|
+
configSchema: unknown;
|
|
14
|
+
extensionPointName: string;
|
|
15
|
+
title: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export interface AppFunctionSetVariables {
|
|
21
|
+
uuid?: string;
|
|
22
|
+
extensionPointName: string;
|
|
23
|
+
title: string;
|
|
24
|
+
description?: string;
|
|
25
|
+
force?: boolean;
|
|
26
|
+
schemaMajorVersion?: string;
|
|
27
|
+
schemaMinorVersion?: string;
|
|
28
|
+
scriptConfigVersion?: string;
|
|
29
|
+
configurationUi: boolean;
|
|
30
|
+
configurationDefinition?: string;
|
|
31
|
+
moduleUploadUrl: string;
|
|
32
|
+
library?: {
|
|
33
|
+
language: string;
|
|
34
|
+
version: string;
|
|
35
|
+
};
|
|
36
|
+
appBridge?: {
|
|
37
|
+
createPath?: string;
|
|
38
|
+
detailsPath?: string;
|
|
39
|
+
};
|
|
40
|
+
inputQuery?: string;
|
|
41
|
+
apiVersion?: string;
|
|
42
|
+
skipCompilationJob: boolean;
|
|
43
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { gql } from 'graphql-request';
|
|
2
|
+
export const AppFunctionSetMutation = gql `
|
|
3
|
+
mutation AppScriptSet(
|
|
4
|
+
$uuid: String
|
|
5
|
+
$extensionPointName: ExtensionPointName!
|
|
6
|
+
$title: String!
|
|
7
|
+
$description: String
|
|
8
|
+
$force: Boolean
|
|
9
|
+
$schemaMajorVersion: String
|
|
10
|
+
$schemaMinorVersion: String
|
|
11
|
+
$scriptConfigVersion: String
|
|
12
|
+
$configurationUi: Boolean!
|
|
13
|
+
$configurationDefinition: String
|
|
14
|
+
$moduleUploadUrl: String!
|
|
15
|
+
$library: LibraryInput
|
|
16
|
+
$inputQuery: String
|
|
17
|
+
$appBridge: AppBridgeInput
|
|
18
|
+
$apiVersion: String
|
|
19
|
+
) {
|
|
20
|
+
appScriptSet(
|
|
21
|
+
uuid: $uuid
|
|
22
|
+
extensionPointName: $extensionPointName
|
|
23
|
+
title: $title
|
|
24
|
+
description: $description
|
|
25
|
+
force: $force
|
|
26
|
+
schemaMajorVersion: $schemaMajorVersion
|
|
27
|
+
schemaMinorVersion: $schemaMinorVersion
|
|
28
|
+
scriptConfigVersion: $scriptConfigVersion
|
|
29
|
+
configurationUi: $configurationUi
|
|
30
|
+
configurationDefinition: $configurationDefinition
|
|
31
|
+
moduleUploadUrl: $moduleUploadUrl
|
|
32
|
+
library: $library
|
|
33
|
+
inputQuery: $inputQuery
|
|
34
|
+
appBridge: $appBridge
|
|
35
|
+
apiVersion: $apiVersion
|
|
36
|
+
) {
|
|
37
|
+
userErrors {
|
|
38
|
+
field
|
|
39
|
+
message
|
|
40
|
+
tag
|
|
41
|
+
}
|
|
42
|
+
appScript {
|
|
43
|
+
uuid
|
|
44
|
+
appKey
|
|
45
|
+
configSchema
|
|
46
|
+
extensionPointName
|
|
47
|
+
title
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
`;
|
|
52
|
+
//# sourceMappingURL=app_function_set.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app_function_set.js","sourceRoot":"","sources":["../../../../src/api/graphql/functions/app_function_set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,iBAAiB,CAAA;AAEnC,MAAM,CAAC,MAAM,sBAAsB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDxC,CAAA","sourcesContent":["import {gql} from 'graphql-request'\n\nexport const AppFunctionSetMutation = gql`\n mutation AppScriptSet(\n $uuid: String\n $extensionPointName: ExtensionPointName!\n $title: String!\n $description: String\n $force: Boolean\n $schemaMajorVersion: String\n $schemaMinorVersion: String\n $scriptConfigVersion: String\n $configurationUi: Boolean!\n $configurationDefinition: String\n $moduleUploadUrl: String!\n $library: LibraryInput\n $inputQuery: String\n $appBridge: AppBridgeInput\n $apiVersion: String\n ) {\n appScriptSet(\n uuid: $uuid\n extensionPointName: $extensionPointName\n title: $title\n description: $description\n force: $force\n schemaMajorVersion: $schemaMajorVersion\n schemaMinorVersion: $schemaMinorVersion\n scriptConfigVersion: $scriptConfigVersion\n configurationUi: $configurationUi\n configurationDefinition: $configurationDefinition\n moduleUploadUrl: $moduleUploadUrl\n library: $library\n inputQuery: $inputQuery\n appBridge: $appBridge\n apiVersion: $apiVersion\n ) {\n userErrors {\n field\n message\n tag\n }\n appScript {\n uuid\n appKey\n configSchema\n extensionPointName\n title\n }\n }\n }\n`\n\nexport interface AppFunctionSetMutationSchema {\n data: {\n appScriptSet: {\n userErrors: {\n field: string\n message: string\n tag: string\n }[]\n appScript?: {\n uuid: string\n appKey: string\n configSchema: unknown\n extensionPointName: string\n title: string\n }\n }\n }\n}\n\nexport interface AppFunctionSetVariables {\n uuid?: string\n extensionPointName: string\n title: string\n description?: string\n force?: boolean\n schemaMajorVersion?: string\n schemaMinorVersion?: string\n scriptConfigVersion?: string\n configurationUi: boolean\n configurationDefinition?: string\n moduleUploadUrl: string\n library?: {\n language: string\n version: string\n }\n appBridge?: {\n createPath?: string\n detailsPath?: string\n }\n inputQuery?: string\n apiVersion?: string\n skipCompilationJob: boolean\n}\n"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const CompileModuleMutation: string;
|
|
2
|
+
export interface CompileModuleMutationSchema {
|
|
3
|
+
data: {
|
|
4
|
+
compileModule: {
|
|
5
|
+
jobId: string;
|
|
6
|
+
userErrors: {
|
|
7
|
+
field: string;
|
|
8
|
+
message: string;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export interface CompileModuleMutationVariables {
|
|
14
|
+
moduleUploadUrl: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { gql } from 'graphql-request';
|
|
2
|
+
export const CompileModuleMutation = gql `
|
|
3
|
+
mutation compileModule($moduleUploadUrl: String!) {
|
|
4
|
+
compileModule(moduleUploadUrl: $moduleUploadUrl) {
|
|
5
|
+
jobId
|
|
6
|
+
userErrors {
|
|
7
|
+
field
|
|
8
|
+
message
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
`;
|
|
13
|
+
//# sourceMappingURL=compile_module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"compile_module.js","sourceRoot":"","sources":["../../../../src/api/graphql/functions/compile_module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,iBAAiB,CAAA;AAEnC,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,CAAA;;;;;;;;;;CAUvC,CAAA","sourcesContent":["import {gql} from 'graphql-request'\n\nexport const CompileModuleMutation = gql`\n mutation compileModule($moduleUploadUrl: String!) {\n compileModule(moduleUploadUrl: $moduleUploadUrl) {\n jobId\n userErrors {\n field\n message\n }\n }\n }\n`\n\nexport interface CompileModuleMutationSchema {\n data: {\n compileModule: {\n jobId: string\n userErrors: {\n field: string\n message: string\n }[]\n }\n }\n}\n\nexport interface CompileModuleMutationVariables {\n moduleUploadUrl: string\n}\n"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { gql } from 'graphql-request';
|
|
2
|
+
export const ScriptServiceProxyQuery = gql `
|
|
3
|
+
query ProxyRequest($api_key: String, $query: String!, $variables: String) {
|
|
4
|
+
scriptServiceProxy(apiKey: $api_key, query: $query, variables: $variables)
|
|
5
|
+
}
|
|
6
|
+
`;
|
|
7
|
+
//# sourceMappingURL=function_service_proxy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function_service_proxy.js","sourceRoot":"","sources":["../../../../src/api/graphql/functions/function_service_proxy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,iBAAiB,CAAA;AAEnC,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CAAA;;;;CAIzC,CAAA","sourcesContent":["import {gql} from 'graphql-request'\n\nexport const ScriptServiceProxyQuery = gql`\n query ProxyRequest($api_key: String, $query: String!, $variables: String) {\n scriptServiceProxy(apiKey: $api_key, query: $query, variables: $variables)\n }\n`\n\nexport interface ScriptServiceProxyQuerySchema {\n scriptServiceProxy: unknown\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GetAppFunctionsQuery: string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { gql } from 'graphql-request';
|
|
2
|
+
export const GetAppFunctionsQuery = gql `
|
|
3
|
+
query GetAppScripts($appKey: String!, $extensionPointName: ExtensionPointName!) {
|
|
4
|
+
appScripts(appKeys: [$appKey], extensionPointName: $extensionPointName) {
|
|
5
|
+
uuid
|
|
6
|
+
title
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
`;
|
|
10
|
+
//# sourceMappingURL=get_app_functions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get_app_functions.js","sourceRoot":"","sources":["../../../../src/api/graphql/functions/get_app_functions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,iBAAiB,CAAA;AAEnC,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAAA;;;;;;;CAOtC,CAAA","sourcesContent":["import {gql} from 'graphql-request'\n\nexport const GetAppFunctionsQuery = gql`\n query GetAppScripts($appKey: String!, $extensionPointName: ExtensionPointName!) {\n appScripts(appKeys: [$appKey], extensionPointName: $extensionPointName) {\n uuid\n title\n }\n }\n`\n"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const ModuleCompilationStatusQuery: string;
|
|
2
|
+
export interface ModuleCompilationStatusQuerySchema {
|
|
3
|
+
data: {
|
|
4
|
+
moduleCompilationStatus: {
|
|
5
|
+
status: string;
|
|
6
|
+
userErrors: {
|
|
7
|
+
field: string;
|
|
8
|
+
message: string;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export interface ModuleCompilationQueryVariables {
|
|
14
|
+
jobId: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { gql } from 'graphql-request';
|
|
2
|
+
export const ModuleCompilationStatusQuery = gql `
|
|
3
|
+
query moduleCompilationStatus($jobId: String!) {
|
|
4
|
+
moduleCompilationStatus(jobId: $jobId) {
|
|
5
|
+
status
|
|
6
|
+
userErrors {
|
|
7
|
+
field
|
|
8
|
+
message
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
`;
|
|
13
|
+
//# sourceMappingURL=module_compilation_status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module_compilation_status.js","sourceRoot":"","sources":["../../../../src/api/graphql/functions/module_compilation_status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,iBAAiB,CAAA;AAEnC,MAAM,CAAC,MAAM,4BAA4B,GAAG,GAAG,CAAA;;;;;;;;;;CAU9C,CAAA","sourcesContent":["import {gql} from 'graphql-request'\n\nexport const ModuleCompilationStatusQuery = gql`\n query moduleCompilationStatus($jobId: String!) {\n moduleCompilationStatus(jobId: $jobId) {\n status\n userErrors {\n field\n message\n }\n }\n }\n`\n\nexport interface ModuleCompilationStatusQuerySchema {\n data: {\n moduleCompilationStatus: {\n status: string\n userErrors: {\n field: string\n message: string\n }[]\n }\n }\n}\n\nexport interface ModuleCompilationQueryVariables {\n jobId: string\n}\n"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const ModuleUploadUrlGenerateMutation: string;
|
|
2
|
+
export interface ModuleUploadUrlGenerateMutationSchema {
|
|
3
|
+
data: {
|
|
4
|
+
moduleUploadUrlGenerate: {
|
|
5
|
+
details: {
|
|
6
|
+
url: string;
|
|
7
|
+
headers: {
|
|
8
|
+
[key: string]: string;
|
|
9
|
+
};
|
|
10
|
+
humanizedMaxSize: string;
|
|
11
|
+
};
|
|
12
|
+
userErrors: {
|
|
13
|
+
field: string;
|
|
14
|
+
message: string;
|
|
15
|
+
}[];
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { gql } from 'graphql-request';
|
|
2
|
+
export const ModuleUploadUrlGenerateMutation = gql `
|
|
3
|
+
mutation moduleUploadUrlGenerate {
|
|
4
|
+
moduleUploadUrlGenerate {
|
|
5
|
+
details {
|
|
6
|
+
url
|
|
7
|
+
headers
|
|
8
|
+
humanizedMaxSize
|
|
9
|
+
}
|
|
10
|
+
userErrors {
|
|
11
|
+
field
|
|
12
|
+
message
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
`;
|
|
17
|
+
//# sourceMappingURL=module_upload_url_generate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module_upload_url_generate.js","sourceRoot":"","sources":["../../../../src/api/graphql/functions/module_upload_url_generate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,iBAAiB,CAAA;AAEnC,MAAM,CAAC,MAAM,+BAA+B,GAAG,GAAG,CAAA;;;;;;;;;;;;;;CAcjD,CAAA","sourcesContent":["import {gql} from 'graphql-request'\n\nexport const ModuleUploadUrlGenerateMutation = gql`\n mutation moduleUploadUrlGenerate {\n moduleUploadUrlGenerate {\n details {\n url\n headers\n humanizedMaxSize\n }\n userErrors {\n field\n message\n }\n }\n }\n`\n\nexport interface ModuleUploadUrlGenerateMutationSchema {\n data: {\n moduleUploadUrlGenerate: {\n details: {\n url: string\n headers: {[key: string]: string}\n humanizedMaxSize: string\n }\n userErrors: {\n field: string\n message: string\n }[]\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const GenerateSignedUploadUrl: string;
|
|
2
|
+
export interface GenerateSignedUploadUrlVariables {
|
|
3
|
+
apiKey: string;
|
|
4
|
+
deploymentUuid: string;
|
|
5
|
+
bundleFormat: number;
|
|
6
|
+
}
|
|
7
|
+
export interface GenerateSignedUploadUrlSchema {
|
|
8
|
+
deploymentGenerateSignedUploadUrl: {
|
|
9
|
+
signedUploadUrl: string;
|
|
10
|
+
userErrors: {
|
|
11
|
+
field: string[];
|
|
12
|
+
message: string;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { gql } from 'graphql-request';
|
|
2
|
+
export const GenerateSignedUploadUrl = gql `
|
|
3
|
+
mutation GenerateSignedUploadUrl($apiKey: String!, $deploymentUuid: String!, $bundleFormat: Int!) {
|
|
4
|
+
deploymentGenerateSignedUploadUrl(
|
|
5
|
+
input: {apiKey: $apiKey, deploymentUuid: $deploymentUuid, bundleFormat: $bundleFormat}
|
|
6
|
+
) {
|
|
7
|
+
signedUploadUrl
|
|
8
|
+
userErrors {
|
|
9
|
+
field
|
|
10
|
+
message
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
`;
|
|
15
|
+
//# sourceMappingURL=generate_signed_upload_url.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate_signed_upload_url.js","sourceRoot":"","sources":["../../../src/api/graphql/generate_signed_upload_url.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,iBAAiB,CAAA;AAEnC,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CAAA;;;;;;;;;;;;CAYzC,CAAA","sourcesContent":["import {gql} from 'graphql-request'\n\nexport const GenerateSignedUploadUrl = gql`\n mutation GenerateSignedUploadUrl($apiKey: String!, $deploymentUuid: String!, $bundleFormat: Int!) {\n deploymentGenerateSignedUploadUrl(\n input: {apiKey: $apiKey, deploymentUuid: $deploymentUuid, bundleFormat: $bundleFormat}\n ) {\n signedUploadUrl\n userErrors {\n field\n message\n }\n }\n }\n`\n\nexport interface GenerateSignedUploadUrlVariables {\n apiKey: string\n deploymentUuid: string\n bundleFormat: number\n}\n\nexport interface GenerateSignedUploadUrlSchema {\n deploymentGenerateSignedUploadUrl: {\n signedUploadUrl: string\n userErrors: {\n field: string[]\n message: string\n }[]\n }\n}\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { gql } from 'graphql-request';
|
|
2
|
+
export const FindProductVariantQuery = gql `
|
|
3
|
+
query {
|
|
4
|
+
products(first: 1) {
|
|
5
|
+
edges {
|
|
6
|
+
node {
|
|
7
|
+
id
|
|
8
|
+
variants(first: 1) {
|
|
9
|
+
edges {
|
|
10
|
+
node {
|
|
11
|
+
id
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
`;
|
|
20
|
+
//# sourceMappingURL=get_variant_id.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get_variant_id.js","sourceRoot":"","sources":["../../../src/api/graphql/get_variant_id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,iBAAiB,CAAA;AAEnC,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;CAiBzC,CAAA","sourcesContent":["import {gql} from 'graphql-request'\n\nexport const FindProductVariantQuery = gql`\n query {\n products(first: 1) {\n edges {\n node {\n id\n variants(first: 1) {\n edges {\n node {\n id\n }\n }\n }\n }\n }\n }\n }\n`\n\nexport interface FindProductVariantSchema {\n products: {\n edges: {\n node: {\n id: string\n variants: {\n edges: {\n node: {\n id: string\n }\n }[]\n }\n }\n }[]\n }\n}\n"]}
|