@constructive-sdk/cli 0.13.4 → 0.14.1
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/admin/cli/commands/app-membership.js +22 -0
- package/admin/cli/commands/membership-type.js +44 -0
- package/{auth/cli/commands/connected-account.d.ts → admin/cli/commands/org-member-profile.d.ts} +1 -1
- package/admin/cli/commands/org-member-profile.js +392 -0
- package/admin/cli/commands/org-membership.js +44 -0
- package/admin/cli/commands.js +7 -5
- package/admin/cli/executor.d.ts +3 -2
- package/admin/orm/index.d.ts +6 -4
- package/admin/orm/index.js +6 -4
- package/admin/orm/input-types.d.ts +503 -295
- package/admin/orm/models/index.d.ts +3 -2
- package/admin/orm/models/index.js +7 -5
- package/admin/orm/models/orgMemberProfile.d.ts +56 -0
- package/{auth/orm/models/connectedAccount.js → admin/orm/models/orgMemberProfile.js} +26 -26
- package/{esm/auth/cli/commands/one-time-token.d.ts → auth/cli/commands/create-api-key.d.ts} +1 -1
- package/{public/cli/commands/one-time-token.js → auth/cli/commands/create-api-key.js} +3 -3
- package/auth/cli/commands/disconnect-account.d.ts +8 -0
- package/auth/cli/commands/{sign-in-one-time-token.js → disconnect-account.js} +3 -3
- package/auth/cli/commands/provision-new-user.d.ts +8 -0
- package/{public/cli/commands/sign-in-one-time-token.js → auth/cli/commands/provision-new-user.js} +3 -3
- package/auth/cli/commands/request-cross-origin-token.d.ts +8 -0
- package/auth/cli/commands/request-cross-origin-token.js +36 -0
- package/auth/cli/commands/require-step-up.d.ts +8 -0
- package/auth/cli/commands/require-step-up.js +30 -0
- package/auth/cli/commands/{one-time-token.d.ts → revoke-api-key.d.ts} +1 -1
- package/auth/cli/commands/{one-time-token.js → revoke-api-key.js} +3 -3
- package/auth/cli/commands/revoke-session.d.ts +8 -0
- package/auth/cli/commands/revoke-session.js +36 -0
- package/auth/cli/commands/sign-in-cross-origin.d.ts +8 -0
- package/auth/cli/commands/sign-in-cross-origin.js +36 -0
- package/auth/cli/commands/user-connected-account.d.ts +8 -0
- package/auth/cli/commands/user-connected-account.js +176 -0
- package/auth/cli/commands.js +23 -11
- package/auth/cli/executor.d.ts +44 -14
- package/auth/orm/index.d.ts +45 -15
- package/auth/orm/index.js +2 -2
- package/auth/orm/input-types.d.ts +186 -251
- package/auth/orm/input-types.js +0 -1
- package/auth/orm/models/index.d.ts +1 -1
- package/auth/orm/models/index.js +3 -3
- package/auth/orm/models/userConnectedAccount.d.ts +38 -0
- package/auth/orm/models/userConnectedAccount.js +76 -0
- package/auth/orm/mutation/index.d.ts +56 -16
- package/auth/orm/mutation/index.js +78 -18
- package/auth/orm/query/index.d.ts +12 -4
- package/auth/orm/query/index.js +19 -7
- package/esm/admin/cli/commands/app-membership.js +22 -0
- package/esm/admin/cli/commands/membership-type.js +44 -0
- package/esm/{public/cli/commands/connected-account.d.ts → admin/cli/commands/org-member-profile.d.ts} +1 -1
- package/esm/admin/cli/commands/org-member-profile.js +390 -0
- package/esm/admin/cli/commands/org-membership.js +44 -0
- package/esm/admin/cli/commands.js +7 -5
- package/esm/admin/cli/executor.d.ts +3 -2
- package/esm/admin/orm/index.d.ts +6 -4
- package/esm/admin/orm/index.js +6 -4
- package/esm/admin/orm/input-types.d.ts +503 -295
- package/esm/admin/orm/models/index.d.ts +3 -2
- package/esm/admin/orm/models/index.js +3 -2
- package/esm/admin/orm/models/orgMemberProfile.d.ts +56 -0
- package/esm/{public/orm/models/connectedAccount.js → admin/orm/models/orgMemberProfile.js} +24 -24
- package/esm/auth/cli/commands/create-api-key.d.ts +8 -0
- package/esm/{public/cli/commands/one-time-token.js → auth/cli/commands/create-api-key.js} +3 -3
- package/esm/auth/cli/commands/disconnect-account.d.ts +8 -0
- package/esm/auth/cli/commands/{sign-in-one-time-token.js → disconnect-account.js} +3 -3
- package/esm/auth/cli/commands/provision-new-user.d.ts +8 -0
- package/esm/{public/cli/commands/sign-in-one-time-token.js → auth/cli/commands/provision-new-user.js} +3 -3
- package/esm/auth/cli/commands/request-cross-origin-token.d.ts +8 -0
- package/esm/auth/cli/commands/request-cross-origin-token.js +34 -0
- package/esm/auth/cli/commands/require-step-up.d.ts +8 -0
- package/esm/auth/cli/commands/require-step-up.js +28 -0
- package/esm/auth/cli/commands/revoke-api-key.d.ts +8 -0
- package/esm/auth/cli/commands/{one-time-token.js → revoke-api-key.js} +3 -3
- package/esm/auth/cli/commands/revoke-session.d.ts +8 -0
- package/esm/auth/cli/commands/revoke-session.js +34 -0
- package/esm/auth/cli/commands/sign-in-cross-origin.d.ts +8 -0
- package/esm/auth/cli/commands/sign-in-cross-origin.js +34 -0
- package/esm/auth/cli/commands/user-connected-account.d.ts +8 -0
- package/esm/auth/cli/commands/user-connected-account.js +174 -0
- package/esm/auth/cli/commands.js +23 -11
- package/esm/auth/cli/executor.d.ts +44 -14
- package/esm/auth/orm/index.d.ts +45 -15
- package/esm/auth/orm/index.js +2 -2
- package/esm/auth/orm/input-types.d.ts +186 -251
- package/esm/auth/orm/input-types.js +0 -1
- package/esm/auth/orm/models/index.d.ts +1 -1
- package/esm/auth/orm/models/index.js +1 -1
- package/esm/auth/orm/models/userConnectedAccount.d.ts +38 -0
- package/esm/auth/orm/models/userConnectedAccount.js +72 -0
- package/esm/auth/orm/mutation/index.d.ts +56 -16
- package/esm/auth/orm/mutation/index.js +78 -18
- package/esm/auth/orm/query/index.d.ts +12 -4
- package/esm/auth/orm/query/index.js +19 -7
- package/esm/public/cli/commands/app-membership.js +22 -0
- package/esm/public/cli/commands/construct-blueprint.js +1 -1
- package/esm/public/cli/commands/create-api-key.d.ts +8 -0
- package/esm/public/cli/commands/create-api-key.js +34 -0
- package/{public/cli/commands/connected-account.d.ts → esm/public/cli/commands/devices-module.d.ts} +1 -1
- package/esm/public/cli/commands/{connected-account.js → devices-module.js} +101 -87
- package/esm/public/cli/commands/disconnect-account.d.ts +8 -0
- package/esm/public/cli/commands/disconnect-account.js +34 -0
- package/esm/public/cli/commands/{table-template-module.d.ts → entity-type-provision.d.ts} +1 -1
- package/esm/public/cli/commands/entity-type-provision.js +554 -0
- package/esm/public/cli/commands/membership-type.js +44 -0
- package/esm/public/cli/commands/memberships-module.js +22 -0
- package/esm/{auth/cli/commands/connected-account.d.ts → public/cli/commands/org-member-profile.d.ts} +1 -1
- package/esm/public/cli/commands/org-member-profile.js +390 -0
- package/esm/public/cli/commands/org-membership.js +44 -0
- package/esm/public/cli/commands/provision-new-user.d.ts +8 -0
- package/esm/public/cli/commands/provision-new-user.js +34 -0
- package/esm/public/cli/commands/provision-spatial-relation.d.ts +8 -0
- package/esm/public/cli/commands/provision-spatial-relation.js +34 -0
- package/esm/public/cli/commands/request-cross-origin-token.d.ts +8 -0
- package/esm/public/cli/commands/request-cross-origin-token.js +34 -0
- package/esm/public/cli/commands/require-step-up.d.ts +8 -0
- package/esm/public/cli/commands/require-step-up.js +28 -0
- package/{auth/cli/commands/sign-in-one-time-token.d.ts → esm/public/cli/commands/resolve-blueprint-field.d.ts} +1 -1
- package/esm/public/cli/commands/resolve-blueprint-field.js +38 -0
- package/esm/public/cli/commands/revoke-api-key.d.ts +8 -0
- package/esm/public/cli/commands/revoke-api-key.js +34 -0
- package/esm/public/cli/commands/revoke-session.d.ts +8 -0
- package/esm/public/cli/commands/revoke-session.js +34 -0
- package/esm/public/cli/commands/session-secrets-module.d.ts +8 -0
- package/esm/{auth/cli/commands/connected-account.js → public/cli/commands/session-secrets-module.js} +82 -90
- package/esm/public/cli/commands/sign-in-cross-origin.d.ts +8 -0
- package/esm/public/cli/commands/sign-in-cross-origin.js +34 -0
- package/esm/public/cli/commands/spatial-relation.d.ts +8 -0
- package/esm/public/cli/commands/spatial-relation.js +472 -0
- package/esm/public/cli/commands/user-auth-module.js +24 -24
- package/esm/public/cli/commands/user-connected-account.d.ts +8 -0
- package/esm/public/cli/commands/user-connected-account.js +174 -0
- package/esm/public/cli/commands/webauthn-credentials-module.d.ts +8 -0
- package/esm/public/cli/commands/{table-template-module.js → webauthn-credentials-module.js} +8 -48
- package/esm/public/cli/commands.js +41 -15
- package/esm/public/cli/executor.d.ts +61 -16
- package/esm/public/orm/index.d.ts +69 -19
- package/esm/public/orm/index.js +16 -6
- package/esm/public/orm/input-types.d.ts +2047 -640
- package/esm/public/orm/input-types.js +15 -6
- package/esm/public/orm/models/devicesModule.d.ts +56 -0
- package/esm/public/orm/models/devicesModule.js +96 -0
- package/esm/public/orm/models/entityTypeProvision.d.ts +56 -0
- package/esm/public/orm/models/{tableTemplateModule.js → entityTypeProvision.js} +24 -24
- package/esm/public/orm/models/index.d.ts +8 -3
- package/esm/public/orm/models/index.js +8 -3
- package/esm/public/orm/models/orgMemberProfile.d.ts +56 -0
- package/esm/{auth/orm/models/connectedAccount.js → public/orm/models/orgMemberProfile.js} +24 -24
- package/esm/public/orm/models/sessionSecretsModule.d.ts +56 -0
- package/esm/public/orm/models/sessionSecretsModule.js +96 -0
- package/esm/public/orm/models/spatialRelation.d.ts +56 -0
- package/esm/public/orm/models/spatialRelation.js +96 -0
- package/esm/public/orm/models/userConnectedAccount.d.ts +38 -0
- package/esm/public/orm/models/userConnectedAccount.js +72 -0
- package/esm/public/orm/models/webauthnCredentialsModule.d.ts +56 -0
- package/esm/public/orm/models/webauthnCredentialsModule.js +96 -0
- package/esm/public/orm/mutation/index.d.ts +72 -20
- package/esm/public/orm/mutation/index.js +96 -24
- package/esm/public/orm/query/index.d.ts +24 -2
- package/esm/public/orm/query/index.js +36 -4
- package/package.json +5 -5
- package/public/cli/commands/app-membership.js +22 -0
- package/public/cli/commands/construct-blueprint.js +1 -1
- package/public/cli/commands/create-api-key.d.ts +8 -0
- package/public/cli/commands/create-api-key.js +36 -0
- package/public/cli/commands/devices-module.d.ts +8 -0
- package/{auth/cli/commands/connected-account.js → public/cli/commands/devices-module.js} +101 -87
- package/public/cli/commands/disconnect-account.d.ts +8 -0
- package/public/cli/commands/disconnect-account.js +36 -0
- package/public/cli/commands/entity-type-provision.d.ts +8 -0
- package/public/cli/commands/entity-type-provision.js +556 -0
- package/public/cli/commands/membership-type.js +44 -0
- package/public/cli/commands/memberships-module.js +22 -0
- package/public/cli/commands/org-member-profile.d.ts +8 -0
- package/public/cli/commands/org-member-profile.js +392 -0
- package/public/cli/commands/org-membership.js +44 -0
- package/public/cli/commands/provision-new-user.d.ts +8 -0
- package/public/cli/commands/provision-new-user.js +36 -0
- package/public/cli/commands/provision-spatial-relation.d.ts +8 -0
- package/public/cli/commands/provision-spatial-relation.js +36 -0
- package/public/cli/commands/request-cross-origin-token.d.ts +8 -0
- package/public/cli/commands/request-cross-origin-token.js +36 -0
- package/public/cli/commands/require-step-up.d.ts +8 -0
- package/public/cli/commands/require-step-up.js +30 -0
- package/public/cli/commands/resolve-blueprint-field.d.ts +8 -0
- package/public/cli/commands/resolve-blueprint-field.js +40 -0
- package/public/cli/commands/revoke-api-key.d.ts +8 -0
- package/public/cli/commands/revoke-api-key.js +36 -0
- package/public/cli/commands/revoke-session.d.ts +8 -0
- package/public/cli/commands/revoke-session.js +36 -0
- package/public/cli/commands/session-secrets-module.d.ts +8 -0
- package/public/cli/commands/{connected-account.js → session-secrets-module.js} +82 -90
- package/public/cli/commands/sign-in-cross-origin.d.ts +8 -0
- package/public/cli/commands/sign-in-cross-origin.js +36 -0
- package/public/cli/commands/spatial-relation.d.ts +8 -0
- package/public/cli/commands/spatial-relation.js +474 -0
- package/public/cli/commands/user-auth-module.js +24 -24
- package/public/cli/commands/user-connected-account.d.ts +8 -0
- package/public/cli/commands/user-connected-account.js +176 -0
- package/public/cli/commands/webauthn-credentials-module.d.ts +8 -0
- package/public/cli/commands/{table-template-module.js → webauthn-credentials-module.js} +8 -48
- package/public/cli/commands.js +41 -15
- package/public/cli/executor.d.ts +61 -16
- package/public/orm/index.d.ts +69 -19
- package/public/orm/index.js +16 -6
- package/public/orm/input-types.d.ts +2047 -640
- package/public/orm/input-types.js +15 -6
- package/public/orm/models/devicesModule.d.ts +56 -0
- package/public/orm/models/devicesModule.js +100 -0
- package/public/orm/models/entityTypeProvision.d.ts +56 -0
- package/public/orm/models/{tableTemplateModule.js → entityTypeProvision.js} +26 -26
- package/public/orm/models/index.d.ts +8 -3
- package/public/orm/models/index.js +19 -9
- package/public/orm/models/orgMemberProfile.d.ts +56 -0
- package/public/orm/models/{connectedAccount.js → orgMemberProfile.js} +26 -26
- package/public/orm/models/sessionSecretsModule.d.ts +56 -0
- package/public/orm/models/sessionSecretsModule.js +100 -0
- package/public/orm/models/spatialRelation.d.ts +56 -0
- package/public/orm/models/spatialRelation.js +100 -0
- package/public/orm/models/userConnectedAccount.d.ts +38 -0
- package/public/orm/models/userConnectedAccount.js +76 -0
- package/public/orm/models/webauthnCredentialsModule.d.ts +56 -0
- package/public/orm/models/webauthnCredentialsModule.js +100 -0
- package/public/orm/mutation/index.d.ts +72 -20
- package/public/orm/mutation/index.js +96 -24
- package/public/orm/query/index.d.ts +24 -2
- package/public/orm/query/index.js +36 -4
- package/auth/orm/models/connectedAccount.d.ts +0 -56
- package/esm/auth/cli/commands/sign-in-one-time-token.d.ts +0 -8
- package/esm/auth/orm/models/connectedAccount.d.ts +0 -56
- package/esm/public/cli/commands/one-time-token.d.ts +0 -8
- package/esm/public/cli/commands/sign-in-one-time-token.d.ts +0 -8
- package/esm/public/orm/models/connectedAccount.d.ts +0 -56
- package/esm/public/orm/models/tableTemplateModule.d.ts +0 -56
- package/public/cli/commands/one-time-token.d.ts +0 -8
- package/public/cli/commands/sign-in-one-time-token.d.ts +0 -8
- package/public/cli/commands/table-template-module.d.ts +0 -8
- package/public/orm/models/connectedAccount.d.ts +0 -56
- package/public/orm/models/tableTemplateModule.d.ts +0 -56
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const executor_1 = require("../executor");
|
|
4
|
+
const utils_1 = require("../utils");
|
|
5
|
+
exports.default = async (argv, prompter, _options) => {
|
|
6
|
+
try {
|
|
7
|
+
if (argv.help || argv.h) {
|
|
8
|
+
console.log('sign-in-cross-origin - signInCrossOrigin\n\nUsage: sign-in-cross-origin [OPTIONS]\n');
|
|
9
|
+
process.exit(0);
|
|
10
|
+
}
|
|
11
|
+
const answers = await prompter.prompt(argv, [
|
|
12
|
+
{
|
|
13
|
+
type: 'text',
|
|
14
|
+
name: 'input',
|
|
15
|
+
message: 'The exclusive input argument for this mutation. An object type, make sure to see documentation for this object\u2019s fields.',
|
|
16
|
+
required: true,
|
|
17
|
+
},
|
|
18
|
+
]);
|
|
19
|
+
const client = (0, executor_1.getClient)();
|
|
20
|
+
const parsedAnswers = (0, utils_1.unflattenDotNotation)(answers);
|
|
21
|
+
const selectFields = (0, utils_1.buildSelectFromPaths)(argv.select ?? 'clientMutationId');
|
|
22
|
+
const result = await client.mutation
|
|
23
|
+
.signInCrossOrigin(parsedAnswers, {
|
|
24
|
+
select: selectFields,
|
|
25
|
+
})
|
|
26
|
+
.execute();
|
|
27
|
+
console.log(JSON.stringify(result, null, 2));
|
|
28
|
+
}
|
|
29
|
+
catch (error) {
|
|
30
|
+
console.error('Failed: signInCrossOrigin');
|
|
31
|
+
if (error instanceof Error) {
|
|
32
|
+
console.error(error.message);
|
|
33
|
+
}
|
|
34
|
+
process.exit(1);
|
|
35
|
+
}
|
|
36
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI commands for SpatialRelation
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { CLIOptions, Inquirerer } from 'inquirerer';
|
|
7
|
+
declare const _default: (argv: Partial<Record<string, unknown>>, prompter: Inquirerer, _options: CLIOptions) => Promise<void>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,474 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
/**
|
|
4
|
+
* CLI commands for SpatialRelation
|
|
5
|
+
* @generated by @constructive-io/graphql-codegen
|
|
6
|
+
* DO NOT EDIT - changes will be overwritten
|
|
7
|
+
*/
|
|
8
|
+
const inquirerer_1 = require("inquirerer");
|
|
9
|
+
const executor_1 = require("../executor");
|
|
10
|
+
const utils_1 = require("../utils");
|
|
11
|
+
const fieldSchema = {
|
|
12
|
+
id: 'uuid',
|
|
13
|
+
databaseId: 'uuid',
|
|
14
|
+
tableId: 'uuid',
|
|
15
|
+
fieldId: 'uuid',
|
|
16
|
+
refTableId: 'uuid',
|
|
17
|
+
refFieldId: 'uuid',
|
|
18
|
+
name: 'string',
|
|
19
|
+
operator: 'string',
|
|
20
|
+
paramName: 'string',
|
|
21
|
+
category: 'string',
|
|
22
|
+
module: 'string',
|
|
23
|
+
scope: 'int',
|
|
24
|
+
tags: 'string',
|
|
25
|
+
createdAt: 'string',
|
|
26
|
+
updatedAt: 'string',
|
|
27
|
+
};
|
|
28
|
+
const usage = '\nspatial-relation <command>\n\nCommands:\n list List spatialRelation records\n find-first Find first matching spatialRelation record\n get Get a spatialRelation by ID\n create Create a new spatialRelation\n update Update an existing spatialRelation\n delete Delete a spatialRelation\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n\n --help, -h Show this help message\n';
|
|
29
|
+
exports.default = async (argv, prompter, _options) => {
|
|
30
|
+
if (argv.help || argv.h) {
|
|
31
|
+
console.log(usage);
|
|
32
|
+
process.exit(0);
|
|
33
|
+
}
|
|
34
|
+
const { first: subcommand, newArgv } = (0, inquirerer_1.extractFirst)(argv);
|
|
35
|
+
if (!subcommand) {
|
|
36
|
+
const answer = await prompter.prompt(argv, [
|
|
37
|
+
{
|
|
38
|
+
type: 'autocomplete',
|
|
39
|
+
name: 'subcommand',
|
|
40
|
+
message: 'What do you want to do?',
|
|
41
|
+
options: ['list', 'find-first', 'get', 'create', 'update', 'delete'],
|
|
42
|
+
},
|
|
43
|
+
]);
|
|
44
|
+
return handleTableSubcommand(answer.subcommand, newArgv, prompter);
|
|
45
|
+
}
|
|
46
|
+
return handleTableSubcommand(subcommand, newArgv, prompter);
|
|
47
|
+
};
|
|
48
|
+
async function handleTableSubcommand(subcommand, argv, prompter) {
|
|
49
|
+
switch (subcommand) {
|
|
50
|
+
case 'list':
|
|
51
|
+
return handleList(argv, prompter);
|
|
52
|
+
case 'find-first':
|
|
53
|
+
return handleFindFirst(argv, prompter);
|
|
54
|
+
case 'get':
|
|
55
|
+
return handleGet(argv, prompter);
|
|
56
|
+
case 'create':
|
|
57
|
+
return handleCreate(argv, prompter);
|
|
58
|
+
case 'update':
|
|
59
|
+
return handleUpdate(argv, prompter);
|
|
60
|
+
case 'delete':
|
|
61
|
+
return handleDelete(argv, prompter);
|
|
62
|
+
default:
|
|
63
|
+
console.log(usage);
|
|
64
|
+
process.exit(1);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
async function handleList(argv, _prompter) {
|
|
68
|
+
try {
|
|
69
|
+
const defaultSelect = {
|
|
70
|
+
id: true,
|
|
71
|
+
databaseId: true,
|
|
72
|
+
tableId: true,
|
|
73
|
+
fieldId: true,
|
|
74
|
+
refTableId: true,
|
|
75
|
+
refFieldId: true,
|
|
76
|
+
name: true,
|
|
77
|
+
operator: true,
|
|
78
|
+
paramName: true,
|
|
79
|
+
category: true,
|
|
80
|
+
module: true,
|
|
81
|
+
scope: true,
|
|
82
|
+
tags: true,
|
|
83
|
+
createdAt: true,
|
|
84
|
+
updatedAt: true,
|
|
85
|
+
};
|
|
86
|
+
const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
|
|
87
|
+
const client = (0, executor_1.getClient)();
|
|
88
|
+
const result = await client.spatialRelation.findMany(findManyArgs).execute();
|
|
89
|
+
console.log(JSON.stringify(result, null, 2));
|
|
90
|
+
}
|
|
91
|
+
catch (error) {
|
|
92
|
+
console.error('Failed to list records.');
|
|
93
|
+
if (error instanceof Error) {
|
|
94
|
+
console.error(error.message);
|
|
95
|
+
}
|
|
96
|
+
process.exit(1);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
async function handleFindFirst(argv, _prompter) {
|
|
100
|
+
try {
|
|
101
|
+
const defaultSelect = {
|
|
102
|
+
id: true,
|
|
103
|
+
databaseId: true,
|
|
104
|
+
tableId: true,
|
|
105
|
+
fieldId: true,
|
|
106
|
+
refTableId: true,
|
|
107
|
+
refFieldId: true,
|
|
108
|
+
name: true,
|
|
109
|
+
operator: true,
|
|
110
|
+
paramName: true,
|
|
111
|
+
category: true,
|
|
112
|
+
module: true,
|
|
113
|
+
scope: true,
|
|
114
|
+
tags: true,
|
|
115
|
+
createdAt: true,
|
|
116
|
+
updatedAt: true,
|
|
117
|
+
};
|
|
118
|
+
const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
|
|
119
|
+
const client = (0, executor_1.getClient)();
|
|
120
|
+
const result = await client.spatialRelation.findFirst(findFirstArgs).execute();
|
|
121
|
+
console.log(JSON.stringify(result, null, 2));
|
|
122
|
+
}
|
|
123
|
+
catch (error) {
|
|
124
|
+
console.error('Failed to find record.');
|
|
125
|
+
if (error instanceof Error) {
|
|
126
|
+
console.error(error.message);
|
|
127
|
+
}
|
|
128
|
+
process.exit(1);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
async function handleGet(argv, prompter) {
|
|
132
|
+
try {
|
|
133
|
+
const answers = await prompter.prompt(argv, [
|
|
134
|
+
{
|
|
135
|
+
type: 'text',
|
|
136
|
+
name: 'id',
|
|
137
|
+
message: 'id',
|
|
138
|
+
required: true,
|
|
139
|
+
},
|
|
140
|
+
]);
|
|
141
|
+
const client = (0, executor_1.getClient)();
|
|
142
|
+
const result = await client.spatialRelation
|
|
143
|
+
.findOne({
|
|
144
|
+
id: answers.id,
|
|
145
|
+
select: {
|
|
146
|
+
id: true,
|
|
147
|
+
databaseId: true,
|
|
148
|
+
tableId: true,
|
|
149
|
+
fieldId: true,
|
|
150
|
+
refTableId: true,
|
|
151
|
+
refFieldId: true,
|
|
152
|
+
name: true,
|
|
153
|
+
operator: true,
|
|
154
|
+
paramName: true,
|
|
155
|
+
category: true,
|
|
156
|
+
module: true,
|
|
157
|
+
scope: true,
|
|
158
|
+
tags: true,
|
|
159
|
+
createdAt: true,
|
|
160
|
+
updatedAt: true,
|
|
161
|
+
},
|
|
162
|
+
})
|
|
163
|
+
.execute();
|
|
164
|
+
console.log(JSON.stringify(result, null, 2));
|
|
165
|
+
}
|
|
166
|
+
catch (error) {
|
|
167
|
+
console.error('Record not found.');
|
|
168
|
+
if (error instanceof Error) {
|
|
169
|
+
console.error(error.message);
|
|
170
|
+
}
|
|
171
|
+
process.exit(1);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
async function handleCreate(argv, prompter) {
|
|
175
|
+
try {
|
|
176
|
+
const rawAnswers = await prompter.prompt(argv, [
|
|
177
|
+
{
|
|
178
|
+
type: 'text',
|
|
179
|
+
name: 'databaseId',
|
|
180
|
+
message: 'databaseId',
|
|
181
|
+
required: false,
|
|
182
|
+
skipPrompt: true,
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
type: 'text',
|
|
186
|
+
name: 'tableId',
|
|
187
|
+
message: 'tableId',
|
|
188
|
+
required: true,
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
type: 'text',
|
|
192
|
+
name: 'fieldId',
|
|
193
|
+
message: 'fieldId',
|
|
194
|
+
required: true,
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
type: 'text',
|
|
198
|
+
name: 'refTableId',
|
|
199
|
+
message: 'refTableId',
|
|
200
|
+
required: true,
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
type: 'text',
|
|
204
|
+
name: 'refFieldId',
|
|
205
|
+
message: 'refFieldId',
|
|
206
|
+
required: true,
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
type: 'text',
|
|
210
|
+
name: 'name',
|
|
211
|
+
message: 'name',
|
|
212
|
+
required: true,
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
type: 'text',
|
|
216
|
+
name: 'operator',
|
|
217
|
+
message: 'operator',
|
|
218
|
+
required: true,
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
type: 'text',
|
|
222
|
+
name: 'paramName',
|
|
223
|
+
message: 'paramName',
|
|
224
|
+
required: false,
|
|
225
|
+
skipPrompt: true,
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
type: 'text',
|
|
229
|
+
name: 'category',
|
|
230
|
+
message: 'category',
|
|
231
|
+
required: false,
|
|
232
|
+
skipPrompt: true,
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
type: 'text',
|
|
236
|
+
name: 'module',
|
|
237
|
+
message: 'module',
|
|
238
|
+
required: false,
|
|
239
|
+
skipPrompt: true,
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
type: 'text',
|
|
243
|
+
name: 'scope',
|
|
244
|
+
message: 'scope',
|
|
245
|
+
required: false,
|
|
246
|
+
skipPrompt: true,
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
type: 'text',
|
|
250
|
+
name: 'tags',
|
|
251
|
+
message: 'tags',
|
|
252
|
+
required: false,
|
|
253
|
+
skipPrompt: true,
|
|
254
|
+
},
|
|
255
|
+
]);
|
|
256
|
+
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
257
|
+
const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
|
|
258
|
+
const client = (0, executor_1.getClient)();
|
|
259
|
+
const result = await client.spatialRelation
|
|
260
|
+
.create({
|
|
261
|
+
data: {
|
|
262
|
+
databaseId: cleanedData.databaseId,
|
|
263
|
+
tableId: cleanedData.tableId,
|
|
264
|
+
fieldId: cleanedData.fieldId,
|
|
265
|
+
refTableId: cleanedData.refTableId,
|
|
266
|
+
refFieldId: cleanedData.refFieldId,
|
|
267
|
+
name: cleanedData.name,
|
|
268
|
+
operator: cleanedData.operator,
|
|
269
|
+
paramName: cleanedData.paramName,
|
|
270
|
+
category: cleanedData.category,
|
|
271
|
+
module: cleanedData.module,
|
|
272
|
+
scope: cleanedData.scope,
|
|
273
|
+
tags: cleanedData.tags,
|
|
274
|
+
},
|
|
275
|
+
select: {
|
|
276
|
+
id: true,
|
|
277
|
+
databaseId: true,
|
|
278
|
+
tableId: true,
|
|
279
|
+
fieldId: true,
|
|
280
|
+
refTableId: true,
|
|
281
|
+
refFieldId: true,
|
|
282
|
+
name: true,
|
|
283
|
+
operator: true,
|
|
284
|
+
paramName: true,
|
|
285
|
+
category: true,
|
|
286
|
+
module: true,
|
|
287
|
+
scope: true,
|
|
288
|
+
tags: true,
|
|
289
|
+
createdAt: true,
|
|
290
|
+
updatedAt: true,
|
|
291
|
+
},
|
|
292
|
+
})
|
|
293
|
+
.execute();
|
|
294
|
+
console.log(JSON.stringify(result, null, 2));
|
|
295
|
+
}
|
|
296
|
+
catch (error) {
|
|
297
|
+
console.error('Failed to create record.');
|
|
298
|
+
if (error instanceof Error) {
|
|
299
|
+
console.error(error.message);
|
|
300
|
+
}
|
|
301
|
+
process.exit(1);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
async function handleUpdate(argv, prompter) {
|
|
305
|
+
try {
|
|
306
|
+
const rawAnswers = await prompter.prompt(argv, [
|
|
307
|
+
{
|
|
308
|
+
type: 'text',
|
|
309
|
+
name: 'id',
|
|
310
|
+
message: 'id',
|
|
311
|
+
required: true,
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
type: 'text',
|
|
315
|
+
name: 'databaseId',
|
|
316
|
+
message: 'databaseId',
|
|
317
|
+
required: false,
|
|
318
|
+
skipPrompt: true,
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
type: 'text',
|
|
322
|
+
name: 'tableId',
|
|
323
|
+
message: 'tableId',
|
|
324
|
+
required: false,
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
type: 'text',
|
|
328
|
+
name: 'fieldId',
|
|
329
|
+
message: 'fieldId',
|
|
330
|
+
required: false,
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
type: 'text',
|
|
334
|
+
name: 'refTableId',
|
|
335
|
+
message: 'refTableId',
|
|
336
|
+
required: false,
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
type: 'text',
|
|
340
|
+
name: 'refFieldId',
|
|
341
|
+
message: 'refFieldId',
|
|
342
|
+
required: false,
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
type: 'text',
|
|
346
|
+
name: 'name',
|
|
347
|
+
message: 'name',
|
|
348
|
+
required: false,
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
type: 'text',
|
|
352
|
+
name: 'operator',
|
|
353
|
+
message: 'operator',
|
|
354
|
+
required: false,
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
type: 'text',
|
|
358
|
+
name: 'paramName',
|
|
359
|
+
message: 'paramName',
|
|
360
|
+
required: false,
|
|
361
|
+
skipPrompt: true,
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
type: 'text',
|
|
365
|
+
name: 'category',
|
|
366
|
+
message: 'category',
|
|
367
|
+
required: false,
|
|
368
|
+
skipPrompt: true,
|
|
369
|
+
},
|
|
370
|
+
{
|
|
371
|
+
type: 'text',
|
|
372
|
+
name: 'module',
|
|
373
|
+
message: 'module',
|
|
374
|
+
required: false,
|
|
375
|
+
skipPrompt: true,
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
type: 'text',
|
|
379
|
+
name: 'scope',
|
|
380
|
+
message: 'scope',
|
|
381
|
+
required: false,
|
|
382
|
+
skipPrompt: true,
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
type: 'text',
|
|
386
|
+
name: 'tags',
|
|
387
|
+
message: 'tags',
|
|
388
|
+
required: false,
|
|
389
|
+
skipPrompt: true,
|
|
390
|
+
},
|
|
391
|
+
]);
|
|
392
|
+
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
393
|
+
const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
|
|
394
|
+
const client = (0, executor_1.getClient)();
|
|
395
|
+
const result = await client.spatialRelation
|
|
396
|
+
.update({
|
|
397
|
+
where: {
|
|
398
|
+
id: answers.id,
|
|
399
|
+
},
|
|
400
|
+
data: {
|
|
401
|
+
databaseId: cleanedData.databaseId,
|
|
402
|
+
tableId: cleanedData.tableId,
|
|
403
|
+
fieldId: cleanedData.fieldId,
|
|
404
|
+
refTableId: cleanedData.refTableId,
|
|
405
|
+
refFieldId: cleanedData.refFieldId,
|
|
406
|
+
name: cleanedData.name,
|
|
407
|
+
operator: cleanedData.operator,
|
|
408
|
+
paramName: cleanedData.paramName,
|
|
409
|
+
category: cleanedData.category,
|
|
410
|
+
module: cleanedData.module,
|
|
411
|
+
scope: cleanedData.scope,
|
|
412
|
+
tags: cleanedData.tags,
|
|
413
|
+
},
|
|
414
|
+
select: {
|
|
415
|
+
id: true,
|
|
416
|
+
databaseId: true,
|
|
417
|
+
tableId: true,
|
|
418
|
+
fieldId: true,
|
|
419
|
+
refTableId: true,
|
|
420
|
+
refFieldId: true,
|
|
421
|
+
name: true,
|
|
422
|
+
operator: true,
|
|
423
|
+
paramName: true,
|
|
424
|
+
category: true,
|
|
425
|
+
module: true,
|
|
426
|
+
scope: true,
|
|
427
|
+
tags: true,
|
|
428
|
+
createdAt: true,
|
|
429
|
+
updatedAt: true,
|
|
430
|
+
},
|
|
431
|
+
})
|
|
432
|
+
.execute();
|
|
433
|
+
console.log(JSON.stringify(result, null, 2));
|
|
434
|
+
}
|
|
435
|
+
catch (error) {
|
|
436
|
+
console.error('Failed to update record.');
|
|
437
|
+
if (error instanceof Error) {
|
|
438
|
+
console.error(error.message);
|
|
439
|
+
}
|
|
440
|
+
process.exit(1);
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
async function handleDelete(argv, prompter) {
|
|
444
|
+
try {
|
|
445
|
+
const rawAnswers = await prompter.prompt(argv, [
|
|
446
|
+
{
|
|
447
|
+
type: 'text',
|
|
448
|
+
name: 'id',
|
|
449
|
+
message: 'id',
|
|
450
|
+
required: true,
|
|
451
|
+
},
|
|
452
|
+
]);
|
|
453
|
+
const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
|
|
454
|
+
const client = (0, executor_1.getClient)();
|
|
455
|
+
const result = await client.spatialRelation
|
|
456
|
+
.delete({
|
|
457
|
+
where: {
|
|
458
|
+
id: answers.id,
|
|
459
|
+
},
|
|
460
|
+
select: {
|
|
461
|
+
id: true,
|
|
462
|
+
},
|
|
463
|
+
})
|
|
464
|
+
.execute();
|
|
465
|
+
console.log(JSON.stringify(result, null, 2));
|
|
466
|
+
}
|
|
467
|
+
catch (error) {
|
|
468
|
+
console.error('Failed to delete record.');
|
|
469
|
+
if (error instanceof Error) {
|
|
470
|
+
console.error(error.message);
|
|
471
|
+
}
|
|
472
|
+
process.exit(1);
|
|
473
|
+
}
|
|
474
|
+
}
|
|
@@ -32,8 +32,8 @@ const fieldSchema = {
|
|
|
32
32
|
checkPasswordFunction: 'string',
|
|
33
33
|
sendAccountDeletionEmailFunction: 'string',
|
|
34
34
|
deleteAccountFunction: 'string',
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
signInCrossOriginFunction: 'string',
|
|
36
|
+
requestCrossOriginTokenFunction: 'string',
|
|
37
37
|
extendTokenExpires: 'string',
|
|
38
38
|
};
|
|
39
39
|
const usage = '\nuser-auth-module <command>\n\nCommands:\n list List userAuthModule records\n find-first Find first matching userAuthModule record\n get Get a userAuthModule by ID\n create Create a new userAuthModule\n update Update an existing userAuthModule\n delete Delete a userAuthModule\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n\n --help, -h Show this help message\n';
|
|
@@ -101,8 +101,8 @@ async function handleList(argv, _prompter) {
|
|
|
101
101
|
checkPasswordFunction: true,
|
|
102
102
|
sendAccountDeletionEmailFunction: true,
|
|
103
103
|
deleteAccountFunction: true,
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
signInCrossOriginFunction: true,
|
|
105
|
+
requestCrossOriginTokenFunction: true,
|
|
106
106
|
extendTokenExpires: true,
|
|
107
107
|
};
|
|
108
108
|
const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
|
|
@@ -144,8 +144,8 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
144
144
|
checkPasswordFunction: true,
|
|
145
145
|
sendAccountDeletionEmailFunction: true,
|
|
146
146
|
deleteAccountFunction: true,
|
|
147
|
-
|
|
148
|
-
|
|
147
|
+
signInCrossOriginFunction: true,
|
|
148
|
+
requestCrossOriginTokenFunction: true,
|
|
149
149
|
extendTokenExpires: true,
|
|
150
150
|
};
|
|
151
151
|
const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
|
|
@@ -199,8 +199,8 @@ async function handleGet(argv, prompter) {
|
|
|
199
199
|
checkPasswordFunction: true,
|
|
200
200
|
sendAccountDeletionEmailFunction: true,
|
|
201
201
|
deleteAccountFunction: true,
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
signInCrossOriginFunction: true,
|
|
203
|
+
requestCrossOriginTokenFunction: true,
|
|
204
204
|
extendTokenExpires: true,
|
|
205
205
|
},
|
|
206
206
|
})
|
|
@@ -373,15 +373,15 @@ async function handleCreate(argv, prompter) {
|
|
|
373
373
|
},
|
|
374
374
|
{
|
|
375
375
|
type: 'text',
|
|
376
|
-
name: '
|
|
377
|
-
message: '
|
|
376
|
+
name: 'signInCrossOriginFunction',
|
|
377
|
+
message: 'signInCrossOriginFunction',
|
|
378
378
|
required: false,
|
|
379
379
|
skipPrompt: true,
|
|
380
380
|
},
|
|
381
381
|
{
|
|
382
382
|
type: 'text',
|
|
383
|
-
name: '
|
|
384
|
-
message: '
|
|
383
|
+
name: 'requestCrossOriginTokenFunction',
|
|
384
|
+
message: 'requestCrossOriginTokenFunction',
|
|
385
385
|
required: false,
|
|
386
386
|
skipPrompt: true,
|
|
387
387
|
},
|
|
@@ -421,8 +421,8 @@ async function handleCreate(argv, prompter) {
|
|
|
421
421
|
checkPasswordFunction: cleanedData.checkPasswordFunction,
|
|
422
422
|
sendAccountDeletionEmailFunction: cleanedData.sendAccountDeletionEmailFunction,
|
|
423
423
|
deleteAccountFunction: cleanedData.deleteAccountFunction,
|
|
424
|
-
|
|
425
|
-
|
|
424
|
+
signInCrossOriginFunction: cleanedData.signInCrossOriginFunction,
|
|
425
|
+
requestCrossOriginTokenFunction: cleanedData.requestCrossOriginTokenFunction,
|
|
426
426
|
extendTokenExpires: cleanedData.extendTokenExpires,
|
|
427
427
|
},
|
|
428
428
|
select: {
|
|
@@ -449,8 +449,8 @@ async function handleCreate(argv, prompter) {
|
|
|
449
449
|
checkPasswordFunction: true,
|
|
450
450
|
sendAccountDeletionEmailFunction: true,
|
|
451
451
|
deleteAccountFunction: true,
|
|
452
|
-
|
|
453
|
-
|
|
452
|
+
signInCrossOriginFunction: true,
|
|
453
|
+
requestCrossOriginTokenFunction: true,
|
|
454
454
|
extendTokenExpires: true,
|
|
455
455
|
},
|
|
456
456
|
})
|
|
@@ -629,15 +629,15 @@ async function handleUpdate(argv, prompter) {
|
|
|
629
629
|
},
|
|
630
630
|
{
|
|
631
631
|
type: 'text',
|
|
632
|
-
name: '
|
|
633
|
-
message: '
|
|
632
|
+
name: 'signInCrossOriginFunction',
|
|
633
|
+
message: 'signInCrossOriginFunction',
|
|
634
634
|
required: false,
|
|
635
635
|
skipPrompt: true,
|
|
636
636
|
},
|
|
637
637
|
{
|
|
638
638
|
type: 'text',
|
|
639
|
-
name: '
|
|
640
|
-
message: '
|
|
639
|
+
name: 'requestCrossOriginTokenFunction',
|
|
640
|
+
message: 'requestCrossOriginTokenFunction',
|
|
641
641
|
required: false,
|
|
642
642
|
skipPrompt: true,
|
|
643
643
|
},
|
|
@@ -680,8 +680,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
680
680
|
checkPasswordFunction: cleanedData.checkPasswordFunction,
|
|
681
681
|
sendAccountDeletionEmailFunction: cleanedData.sendAccountDeletionEmailFunction,
|
|
682
682
|
deleteAccountFunction: cleanedData.deleteAccountFunction,
|
|
683
|
-
|
|
684
|
-
|
|
683
|
+
signInCrossOriginFunction: cleanedData.signInCrossOriginFunction,
|
|
684
|
+
requestCrossOriginTokenFunction: cleanedData.requestCrossOriginTokenFunction,
|
|
685
685
|
extendTokenExpires: cleanedData.extendTokenExpires,
|
|
686
686
|
},
|
|
687
687
|
select: {
|
|
@@ -708,8 +708,8 @@ async function handleUpdate(argv, prompter) {
|
|
|
708
708
|
checkPasswordFunction: true,
|
|
709
709
|
sendAccountDeletionEmailFunction: true,
|
|
710
710
|
deleteAccountFunction: true,
|
|
711
|
-
|
|
712
|
-
|
|
711
|
+
signInCrossOriginFunction: true,
|
|
712
|
+
requestCrossOriginTokenFunction: true,
|
|
713
713
|
extendTokenExpires: true,
|
|
714
714
|
},
|
|
715
715
|
})
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI commands for UserConnectedAccount
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { CLIOptions, Inquirerer } from 'inquirerer';
|
|
7
|
+
declare const _default: (argv: Partial<Record<string, unknown>>, prompter: Inquirerer, _options: CLIOptions) => Promise<void>;
|
|
8
|
+
export default _default;
|