@constructive-sdk/cli 1.20.9 → 1.20.11
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/auth/cli/commands/send-step-up-code.d.ts +8 -0
- package/auth/cli/commands/send-step-up-code.js +36 -0
- package/auth/cli/commands/verify-step-up-code.d.ts +8 -0
- package/auth/cli/commands/verify-step-up-code.js +36 -0
- package/auth/cli/commands.js +5 -1
- package/auth/cli/executor.d.ts +10 -0
- package/auth/orm/index.d.ts +10 -0
- package/auth/orm/input-types.d.ts +26 -0
- package/auth/orm/mutation/index.d.ts +17 -1
- package/auth/orm/mutation/index.js +24 -0
- package/compute/cli/commands/database-function-graph-execution-cancel-request.d.ts +8 -0
- package/compute/cli/commands/database-function-graph-execution-cancel-request.js +262 -0
- package/compute/cli/commands/function-graph-execution-cancel-request.d.ts +8 -0
- package/compute/cli/commands/function-graph-execution-cancel-request.js +262 -0
- package/compute/cli/commands/function-invocations-create-page.d.ts +8 -0
- package/compute/cli/commands/function-invocations-create-page.js +36 -0
- package/compute/cli/commands/platform-function-invocations-create-page.d.ts +8 -0
- package/compute/cli/commands/platform-function-invocations-create-page.js +36 -0
- package/compute/cli/commands.js +9 -1
- package/compute/cli/executor.d.ts +12 -0
- package/compute/orm/index.d.ts +14 -0
- package/compute/orm/index.js +4 -0
- package/compute/orm/input-types.d.ts +298 -4
- package/compute/orm/models/databaseFunctionGraphExecutionCancelRequest.d.ts +54 -0
- package/compute/orm/models/databaseFunctionGraphExecutionCancelRequest.js +104 -0
- package/compute/orm/models/functionGraphExecutionCancelRequest.d.ts +54 -0
- package/compute/orm/models/functionGraphExecutionCancelRequest.js +104 -0
- package/compute/orm/models/index.d.ts +2 -0
- package/compute/orm/models/index.js +7 -3
- package/compute/orm/mutation/index.d.ts +17 -1
- package/compute/orm/mutation/index.js +24 -0
- package/esm/auth/cli/commands/send-step-up-code.d.ts +8 -0
- package/esm/auth/cli/commands/send-step-up-code.js +34 -0
- package/esm/auth/cli/commands/verify-step-up-code.d.ts +8 -0
- package/esm/auth/cli/commands/verify-step-up-code.js +34 -0
- package/esm/auth/cli/commands.js +5 -1
- package/esm/auth/cli/executor.d.ts +10 -0
- package/esm/auth/orm/index.d.ts +10 -0
- package/esm/auth/orm/input-types.d.ts +26 -0
- package/esm/auth/orm/mutation/index.d.ts +17 -1
- package/esm/auth/orm/mutation/index.js +24 -0
- package/esm/compute/cli/commands/database-function-graph-execution-cancel-request.d.ts +8 -0
- package/esm/compute/cli/commands/database-function-graph-execution-cancel-request.js +260 -0
- package/esm/compute/cli/commands/function-graph-execution-cancel-request.d.ts +8 -0
- package/esm/compute/cli/commands/function-graph-execution-cancel-request.js +260 -0
- package/esm/compute/cli/commands/function-invocations-create-page.d.ts +8 -0
- package/esm/compute/cli/commands/function-invocations-create-page.js +34 -0
- package/esm/compute/cli/commands/platform-function-invocations-create-page.d.ts +8 -0
- package/esm/compute/cli/commands/platform-function-invocations-create-page.js +34 -0
- package/esm/compute/cli/commands.js +9 -1
- package/esm/compute/cli/executor.d.ts +12 -0
- package/esm/compute/orm/index.d.ts +14 -0
- package/esm/compute/orm/index.js +4 -0
- package/esm/compute/orm/input-types.d.ts +298 -4
- package/esm/compute/orm/models/databaseFunctionGraphExecutionCancelRequest.d.ts +54 -0
- package/esm/compute/orm/models/databaseFunctionGraphExecutionCancelRequest.js +100 -0
- package/esm/compute/orm/models/functionGraphExecutionCancelRequest.d.ts +54 -0
- package/esm/compute/orm/models/functionGraphExecutionCancelRequest.js +100 -0
- package/esm/compute/orm/models/index.d.ts +2 -0
- package/esm/compute/orm/models/index.js +2 -0
- package/esm/compute/orm/mutation/index.d.ts +17 -1
- package/esm/compute/orm/mutation/index.js +24 -0
- package/package.json +2 -2
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
8
|
import type { InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { ApproveDeviceInput, CheckPasswordInput, CompleteMfaChallengeInput, ConfirmDeleteAccountInput, ConfirmTotpSetupInput, CreateApiKeyInput, CreateChildPrincipalInput, CreateOrgApiKeyInput, CreateOrgPrincipalInput, CreatePrincipalFromPresetInput, DeleteOrgPrincipalInput, DeletePrincipalInput, DisableEmailMfaInput, DisableSmsMfaInput, DisableTotpInput, DisconnectAccountInput, EnableEmailMfaInput, EnableSmsMfaInput, EnableTotpInput, ExtendTokenExpiresInput, ForgotPasswordInput, GenerateBackupCodesInput, LinkIdentityInput, MintAccessTokenInput, ProvisionBucketInput, RefreshAccessTokenInput, RequestCrossOriginTokenInput, RequestMagicLinkInput, ResetPasswordInput, RevokeApiKeyInput, RevokeOrgApiKeyInput, RevokeSessionInput, SendAccountDeletionEmailInput, SendMfaChallengeCodeInput, SendPhoneVerificationCodeInput, SendSmsOtpInput, SendVerificationEmailInput, SetPasswordInput, SetPrincipalEntitiesInput, SetPrincipalScopeInput, SignInInput, SignInCrossOriginInput, SignInMagicLinkInput, SignInSmsOtpInput, SignOutInput, SignUpInput, SignUpMagicLinkInput, SignUpSmsInput, UpdatePrincipalInput, VerifyEmailInput, VerifyPasswordInput, VerifyPhoneInput, VerifyTotpInput, ApproveDevicePayload, CheckPasswordPayload, CompleteMfaChallengePayload, ConfirmDeleteAccountPayload, ConfirmTotpSetupPayload, CreateApiKeyPayload, CreateChildPrincipalPayload, CreateOrgApiKeyPayload, CreateOrgPrincipalPayload, CreatePrincipalFromPresetPayload, DeleteOrgPrincipalPayload, DeletePrincipalPayload, DisableEmailMfaPayload, DisableSmsMfaPayload, DisableTotpPayload, DisconnectAccountPayload, EnableEmailMfaPayload, EnableSmsMfaPayload, EnableTotpPayload, ExtendTokenExpiresPayload, ForgotPasswordPayload, GenerateBackupCodesPayload, LinkIdentityPayload, MintAccessTokenPayload, ProvisionBucketPayload, RefreshAccessTokenPayload, RequestCrossOriginTokenPayload, RequestMagicLinkPayload, ResetPasswordPayload, RevokeApiKeyPayload, RevokeOrgApiKeyPayload, RevokeSessionPayload, SendAccountDeletionEmailPayload, SendMfaChallengeCodePayload, SendPhoneVerificationCodePayload, SendSmsOtpPayload, SendVerificationEmailPayload, SetPasswordPayload, SetPrincipalEntitiesPayload, SetPrincipalScopePayload, SignInPayload, SignInCrossOriginPayload, SignInMagicLinkPayload, SignInSmsOtpPayload, SignOutPayload, SignUpPayload, SignUpMagicLinkPayload, SignUpSmsPayload, UpdatePrincipalPayload, VerifyEmailPayload, VerifyPasswordPayload, VerifyPhonePayload, VerifyTotpPayload, ApproveDevicePayloadSelect, CheckPasswordPayloadSelect, CompleteMfaChallengePayloadSelect, ConfirmDeleteAccountPayloadSelect, ConfirmTotpSetupPayloadSelect, CreateApiKeyPayloadSelect, CreateChildPrincipalPayloadSelect, CreateOrgApiKeyPayloadSelect, CreateOrgPrincipalPayloadSelect, CreatePrincipalFromPresetPayloadSelect, DeleteOrgPrincipalPayloadSelect, DeletePrincipalPayloadSelect, DisableEmailMfaPayloadSelect, DisableSmsMfaPayloadSelect, DisableTotpPayloadSelect, DisconnectAccountPayloadSelect, EnableEmailMfaPayloadSelect, EnableSmsMfaPayloadSelect, EnableTotpPayloadSelect, ExtendTokenExpiresPayloadSelect, ForgotPasswordPayloadSelect, GenerateBackupCodesPayloadSelect, LinkIdentityPayloadSelect, MintAccessTokenPayloadSelect, ProvisionBucketPayloadSelect, RefreshAccessTokenPayloadSelect, RequestCrossOriginTokenPayloadSelect, RequestMagicLinkPayloadSelect, ResetPasswordPayloadSelect, RevokeApiKeyPayloadSelect, RevokeOrgApiKeyPayloadSelect, RevokeSessionPayloadSelect, SendAccountDeletionEmailPayloadSelect, SendMfaChallengeCodePayloadSelect, SendPhoneVerificationCodePayloadSelect, SendSmsOtpPayloadSelect, SendVerificationEmailPayloadSelect, SetPasswordPayloadSelect, SetPrincipalEntitiesPayloadSelect, SetPrincipalScopePayloadSelect, SignInPayloadSelect, SignInCrossOriginPayloadSelect, SignInMagicLinkPayloadSelect, SignInSmsOtpPayloadSelect, SignOutPayloadSelect, SignUpPayloadSelect, SignUpMagicLinkPayloadSelect, SignUpSmsPayloadSelect, UpdatePrincipalPayloadSelect, VerifyEmailPayloadSelect, VerifyPasswordPayloadSelect, VerifyPhonePayloadSelect, VerifyTotpPayloadSelect } from '../input-types';
|
|
9
|
+
import type { ApproveDeviceInput, CheckPasswordInput, CompleteMfaChallengeInput, ConfirmDeleteAccountInput, ConfirmTotpSetupInput, CreateApiKeyInput, CreateChildPrincipalInput, CreateOrgApiKeyInput, CreateOrgPrincipalInput, CreatePrincipalFromPresetInput, DeleteOrgPrincipalInput, DeletePrincipalInput, DisableEmailMfaInput, DisableSmsMfaInput, DisableTotpInput, DisconnectAccountInput, EnableEmailMfaInput, EnableSmsMfaInput, EnableTotpInput, ExtendTokenExpiresInput, ForgotPasswordInput, GenerateBackupCodesInput, LinkIdentityInput, MintAccessTokenInput, ProvisionBucketInput, RefreshAccessTokenInput, RequestCrossOriginTokenInput, RequestMagicLinkInput, ResetPasswordInput, RevokeApiKeyInput, RevokeOrgApiKeyInput, RevokeSessionInput, SendAccountDeletionEmailInput, SendMfaChallengeCodeInput, SendPhoneVerificationCodeInput, SendSmsOtpInput, SendStepUpCodeInput, SendVerificationEmailInput, SetPasswordInput, SetPrincipalEntitiesInput, SetPrincipalScopeInput, SignInInput, SignInCrossOriginInput, SignInMagicLinkInput, SignInSmsOtpInput, SignOutInput, SignUpInput, SignUpMagicLinkInput, SignUpSmsInput, UpdatePrincipalInput, VerifyEmailInput, VerifyPasswordInput, VerifyPhoneInput, VerifyStepUpCodeInput, VerifyTotpInput, ApproveDevicePayload, CheckPasswordPayload, CompleteMfaChallengePayload, ConfirmDeleteAccountPayload, ConfirmTotpSetupPayload, CreateApiKeyPayload, CreateChildPrincipalPayload, CreateOrgApiKeyPayload, CreateOrgPrincipalPayload, CreatePrincipalFromPresetPayload, DeleteOrgPrincipalPayload, DeletePrincipalPayload, DisableEmailMfaPayload, DisableSmsMfaPayload, DisableTotpPayload, DisconnectAccountPayload, EnableEmailMfaPayload, EnableSmsMfaPayload, EnableTotpPayload, ExtendTokenExpiresPayload, ForgotPasswordPayload, GenerateBackupCodesPayload, LinkIdentityPayload, MintAccessTokenPayload, ProvisionBucketPayload, RefreshAccessTokenPayload, RequestCrossOriginTokenPayload, RequestMagicLinkPayload, ResetPasswordPayload, RevokeApiKeyPayload, RevokeOrgApiKeyPayload, RevokeSessionPayload, SendAccountDeletionEmailPayload, SendMfaChallengeCodePayload, SendPhoneVerificationCodePayload, SendSmsOtpPayload, SendStepUpCodePayload, SendVerificationEmailPayload, SetPasswordPayload, SetPrincipalEntitiesPayload, SetPrincipalScopePayload, SignInPayload, SignInCrossOriginPayload, SignInMagicLinkPayload, SignInSmsOtpPayload, SignOutPayload, SignUpPayload, SignUpMagicLinkPayload, SignUpSmsPayload, UpdatePrincipalPayload, VerifyEmailPayload, VerifyPasswordPayload, VerifyPhonePayload, VerifyStepUpCodePayload, VerifyTotpPayload, ApproveDevicePayloadSelect, CheckPasswordPayloadSelect, CompleteMfaChallengePayloadSelect, ConfirmDeleteAccountPayloadSelect, ConfirmTotpSetupPayloadSelect, CreateApiKeyPayloadSelect, CreateChildPrincipalPayloadSelect, CreateOrgApiKeyPayloadSelect, CreateOrgPrincipalPayloadSelect, CreatePrincipalFromPresetPayloadSelect, DeleteOrgPrincipalPayloadSelect, DeletePrincipalPayloadSelect, DisableEmailMfaPayloadSelect, DisableSmsMfaPayloadSelect, DisableTotpPayloadSelect, DisconnectAccountPayloadSelect, EnableEmailMfaPayloadSelect, EnableSmsMfaPayloadSelect, EnableTotpPayloadSelect, ExtendTokenExpiresPayloadSelect, ForgotPasswordPayloadSelect, GenerateBackupCodesPayloadSelect, LinkIdentityPayloadSelect, MintAccessTokenPayloadSelect, ProvisionBucketPayloadSelect, RefreshAccessTokenPayloadSelect, RequestCrossOriginTokenPayloadSelect, RequestMagicLinkPayloadSelect, ResetPasswordPayloadSelect, RevokeApiKeyPayloadSelect, RevokeOrgApiKeyPayloadSelect, RevokeSessionPayloadSelect, SendAccountDeletionEmailPayloadSelect, SendMfaChallengeCodePayloadSelect, SendPhoneVerificationCodePayloadSelect, SendSmsOtpPayloadSelect, SendStepUpCodePayloadSelect, SendVerificationEmailPayloadSelect, SetPasswordPayloadSelect, SetPrincipalEntitiesPayloadSelect, SetPrincipalScopePayloadSelect, SignInPayloadSelect, SignInCrossOriginPayloadSelect, SignInMagicLinkPayloadSelect, SignInSmsOtpPayloadSelect, SignOutPayloadSelect, SignUpPayloadSelect, SignUpMagicLinkPayloadSelect, SignUpSmsPayloadSelect, UpdatePrincipalPayloadSelect, VerifyEmailPayloadSelect, VerifyPasswordPayloadSelect, VerifyPhonePayloadSelect, VerifyStepUpCodePayloadSelect, VerifyTotpPayloadSelect } from '../input-types';
|
|
10
10
|
export interface ApproveDeviceVariables {
|
|
11
11
|
input: ApproveDeviceInput;
|
|
12
12
|
}
|
|
@@ -123,6 +123,9 @@ export interface SendPhoneVerificationCodeVariables {
|
|
|
123
123
|
export interface SendSmsOtpVariables {
|
|
124
124
|
input: SendSmsOtpInput;
|
|
125
125
|
}
|
|
126
|
+
export interface SendStepUpCodeVariables {
|
|
127
|
+
input: SendStepUpCodeInput;
|
|
128
|
+
}
|
|
126
129
|
export interface SendVerificationEmailVariables {
|
|
127
130
|
input: SendVerificationEmailInput;
|
|
128
131
|
}
|
|
@@ -171,6 +174,9 @@ export interface VerifyPasswordVariables {
|
|
|
171
174
|
export interface VerifyPhoneVariables {
|
|
172
175
|
input: VerifyPhoneInput;
|
|
173
176
|
}
|
|
177
|
+
export interface VerifyStepUpCodeVariables {
|
|
178
|
+
input: VerifyStepUpCodeInput;
|
|
179
|
+
}
|
|
174
180
|
export interface VerifyTotpVariables {
|
|
175
181
|
input: VerifyTotpInput;
|
|
176
182
|
}
|
|
@@ -355,6 +361,11 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
355
361
|
} & StrictSelect<S, SendSmsOtpPayloadSelect>) => QueryBuilder<{
|
|
356
362
|
sendSmsOtp: InferSelectResult<SendSmsOtpPayload, S> | null;
|
|
357
363
|
}>;
|
|
364
|
+
sendStepUpCode: <S extends SendStepUpCodePayloadSelect>(args: SendStepUpCodeVariables, options: {
|
|
365
|
+
select: S;
|
|
366
|
+
} & StrictSelect<S, SendStepUpCodePayloadSelect>) => QueryBuilder<{
|
|
367
|
+
sendStepUpCode: InferSelectResult<SendStepUpCodePayload, S> | null;
|
|
368
|
+
}>;
|
|
358
369
|
sendVerificationEmail: <S extends SendVerificationEmailPayloadSelect>(args: SendVerificationEmailVariables, options: {
|
|
359
370
|
select: S;
|
|
360
371
|
} & StrictSelect<S, SendVerificationEmailPayloadSelect>) => QueryBuilder<{
|
|
@@ -435,6 +446,11 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
435
446
|
} & StrictSelect<S, VerifyPhonePayloadSelect>) => QueryBuilder<{
|
|
436
447
|
verifyPhone: InferSelectResult<VerifyPhonePayload, S> | null;
|
|
437
448
|
}>;
|
|
449
|
+
verifyStepUpCode: <S extends VerifyStepUpCodePayloadSelect>(args: VerifyStepUpCodeVariables, options: {
|
|
450
|
+
select: S;
|
|
451
|
+
} & StrictSelect<S, VerifyStepUpCodePayloadSelect>) => QueryBuilder<{
|
|
452
|
+
verifyStepUpCode: InferSelectResult<VerifyStepUpCodePayload, S> | null;
|
|
453
|
+
}>;
|
|
438
454
|
verifyTotp: <S extends VerifyTotpPayloadSelect>(args: VerifyTotpVariables, options: {
|
|
439
455
|
select: S;
|
|
440
456
|
} & StrictSelect<S, VerifyTotpPayloadSelect>) => QueryBuilder<{
|
|
@@ -434,6 +434,18 @@ export function createMutationOperations(client) {
|
|
|
434
434
|
},
|
|
435
435
|
], connectionFieldsMap, 'SendSmsOtpPayload'),
|
|
436
436
|
}),
|
|
437
|
+
sendStepUpCode: (args, options) => new QueryBuilder({
|
|
438
|
+
client,
|
|
439
|
+
operation: 'mutation',
|
|
440
|
+
operationName: 'SendStepUpCode',
|
|
441
|
+
fieldName: 'sendStepUpCode',
|
|
442
|
+
...buildCustomDocument('mutation', 'SendStepUpCode', 'sendStepUpCode', options.select, args, [
|
|
443
|
+
{
|
|
444
|
+
name: 'input',
|
|
445
|
+
type: 'SendStepUpCodeInput!',
|
|
446
|
+
},
|
|
447
|
+
], connectionFieldsMap, 'SendStepUpCodePayload'),
|
|
448
|
+
}),
|
|
437
449
|
sendVerificationEmail: (args, options) => new QueryBuilder({
|
|
438
450
|
client,
|
|
439
451
|
operation: 'mutation',
|
|
@@ -626,6 +638,18 @@ export function createMutationOperations(client) {
|
|
|
626
638
|
},
|
|
627
639
|
], connectionFieldsMap, 'VerifyPhonePayload'),
|
|
628
640
|
}),
|
|
641
|
+
verifyStepUpCode: (args, options) => new QueryBuilder({
|
|
642
|
+
client,
|
|
643
|
+
operation: 'mutation',
|
|
644
|
+
operationName: 'VerifyStepUpCode',
|
|
645
|
+
fieldName: 'verifyStepUpCode',
|
|
646
|
+
...buildCustomDocument('mutation', 'VerifyStepUpCode', 'verifyStepUpCode', options.select, args, [
|
|
647
|
+
{
|
|
648
|
+
name: 'input',
|
|
649
|
+
type: 'VerifyStepUpCodeInput!',
|
|
650
|
+
},
|
|
651
|
+
], connectionFieldsMap, 'VerifyStepUpCodePayload'),
|
|
652
|
+
}),
|
|
629
653
|
verifyTotp: (args, options) => new QueryBuilder({
|
|
630
654
|
client,
|
|
631
655
|
operation: 'mutation',
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI commands for DatabaseFunctionGraphExecutionCancelRequest
|
|
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,260 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI commands for DatabaseFunctionGraphExecutionCancelRequest
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { extractFirst } from 'inquirerer';
|
|
7
|
+
import { getClient } from '../executor';
|
|
8
|
+
import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from '../utils';
|
|
9
|
+
const fieldSchema = {
|
|
10
|
+
actorId: 'uuid',
|
|
11
|
+
createdAt: 'string',
|
|
12
|
+
executionId: 'uuid',
|
|
13
|
+
id: 'uuid',
|
|
14
|
+
};
|
|
15
|
+
const usage = '\ndatabase-function-graph-execution-cancel-request <command>\n\nCommands:\n list List databaseFunctionGraphExecutionCancelRequest records\n find-first Find first matching databaseFunctionGraphExecutionCancelRequest record\n get Get a databaseFunctionGraphExecutionCancelRequest by ID\n create Create a new databaseFunctionGraphExecutionCancelRequest\n update Update an existing databaseFunctionGraphExecutionCancelRequest\n delete Delete a databaseFunctionGraphExecutionCancelRequest\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 --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
|
|
16
|
+
export default async (argv, prompter, _options) => {
|
|
17
|
+
if (argv.help || argv.h) {
|
|
18
|
+
console.log(usage);
|
|
19
|
+
process.exit(0);
|
|
20
|
+
}
|
|
21
|
+
const { first: subcommand, newArgv } = extractFirst(argv);
|
|
22
|
+
if (!subcommand) {
|
|
23
|
+
const answer = await prompter.prompt(argv, [
|
|
24
|
+
{
|
|
25
|
+
type: 'autocomplete',
|
|
26
|
+
name: 'subcommand',
|
|
27
|
+
message: 'What do you want to do?',
|
|
28
|
+
options: ['list', 'find-first', 'get', 'create', 'update', 'delete'],
|
|
29
|
+
},
|
|
30
|
+
]);
|
|
31
|
+
return handleTableSubcommand(answer.subcommand, newArgv, prompter);
|
|
32
|
+
}
|
|
33
|
+
return handleTableSubcommand(subcommand, newArgv, prompter);
|
|
34
|
+
};
|
|
35
|
+
async function handleTableSubcommand(subcommand, argv, prompter) {
|
|
36
|
+
switch (subcommand) {
|
|
37
|
+
case 'list':
|
|
38
|
+
return handleList(argv, prompter);
|
|
39
|
+
case 'find-first':
|
|
40
|
+
return handleFindFirst(argv, prompter);
|
|
41
|
+
case 'get':
|
|
42
|
+
return handleGet(argv, prompter);
|
|
43
|
+
case 'create':
|
|
44
|
+
return handleCreate(argv, prompter);
|
|
45
|
+
case 'update':
|
|
46
|
+
return handleUpdate(argv, prompter);
|
|
47
|
+
case 'delete':
|
|
48
|
+
return handleDelete(argv, prompter);
|
|
49
|
+
default:
|
|
50
|
+
console.log(usage);
|
|
51
|
+
process.exit(1);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
async function handleList(argv, _prompter) {
|
|
55
|
+
try {
|
|
56
|
+
const defaultSelect = {
|
|
57
|
+
actorId: true,
|
|
58
|
+
createdAt: true,
|
|
59
|
+
executionId: true,
|
|
60
|
+
id: true,
|
|
61
|
+
};
|
|
62
|
+
const findManyArgs = parseFindManyArgs(argv, defaultSelect);
|
|
63
|
+
const client = getClient();
|
|
64
|
+
const result = await client.databaseFunctionGraphExecutionCancelRequest
|
|
65
|
+
.findMany(findManyArgs)
|
|
66
|
+
.execute();
|
|
67
|
+
console.log(JSON.stringify(result, null, 2));
|
|
68
|
+
}
|
|
69
|
+
catch (error) {
|
|
70
|
+
console.error('Failed to list records.');
|
|
71
|
+
if (error instanceof Error) {
|
|
72
|
+
console.error(error.message);
|
|
73
|
+
}
|
|
74
|
+
process.exit(1);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
async function handleFindFirst(argv, _prompter) {
|
|
78
|
+
try {
|
|
79
|
+
const defaultSelect = {
|
|
80
|
+
actorId: true,
|
|
81
|
+
createdAt: true,
|
|
82
|
+
executionId: true,
|
|
83
|
+
id: true,
|
|
84
|
+
};
|
|
85
|
+
const findFirstArgs = parseFindFirstArgs(argv, defaultSelect);
|
|
86
|
+
const client = getClient();
|
|
87
|
+
const result = await client.databaseFunctionGraphExecutionCancelRequest
|
|
88
|
+
.findFirst(findFirstArgs)
|
|
89
|
+
.execute();
|
|
90
|
+
console.log(JSON.stringify(result, null, 2));
|
|
91
|
+
}
|
|
92
|
+
catch (error) {
|
|
93
|
+
console.error('Failed to find record.');
|
|
94
|
+
if (error instanceof Error) {
|
|
95
|
+
console.error(error.message);
|
|
96
|
+
}
|
|
97
|
+
process.exit(1);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
async function handleGet(argv, prompter) {
|
|
101
|
+
try {
|
|
102
|
+
const answers = await prompter.prompt(argv, [
|
|
103
|
+
{
|
|
104
|
+
type: 'text',
|
|
105
|
+
name: 'id',
|
|
106
|
+
message: 'id',
|
|
107
|
+
required: true,
|
|
108
|
+
},
|
|
109
|
+
]);
|
|
110
|
+
const client = getClient();
|
|
111
|
+
const result = await client.databaseFunctionGraphExecutionCancelRequest
|
|
112
|
+
.findOne({
|
|
113
|
+
id: answers.id,
|
|
114
|
+
select: {
|
|
115
|
+
actorId: true,
|
|
116
|
+
createdAt: true,
|
|
117
|
+
executionId: true,
|
|
118
|
+
id: true,
|
|
119
|
+
},
|
|
120
|
+
})
|
|
121
|
+
.execute();
|
|
122
|
+
console.log(JSON.stringify(result, null, 2));
|
|
123
|
+
}
|
|
124
|
+
catch (error) {
|
|
125
|
+
console.error('Record not found.');
|
|
126
|
+
if (error instanceof Error) {
|
|
127
|
+
console.error(error.message);
|
|
128
|
+
}
|
|
129
|
+
process.exit(1);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
async function handleCreate(argv, prompter) {
|
|
133
|
+
try {
|
|
134
|
+
const rawAnswers = await prompter.prompt(argv, [
|
|
135
|
+
{
|
|
136
|
+
type: 'text',
|
|
137
|
+
name: 'actorId',
|
|
138
|
+
message: 'actorId',
|
|
139
|
+
required: false,
|
|
140
|
+
skipPrompt: true,
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
type: 'text',
|
|
144
|
+
name: 'executionId',
|
|
145
|
+
message: 'executionId',
|
|
146
|
+
required: true,
|
|
147
|
+
},
|
|
148
|
+
]);
|
|
149
|
+
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
150
|
+
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
151
|
+
const client = getClient();
|
|
152
|
+
const result = await client.databaseFunctionGraphExecutionCancelRequest
|
|
153
|
+
.create({
|
|
154
|
+
data: {
|
|
155
|
+
actorId: cleanedData.actorId,
|
|
156
|
+
executionId: cleanedData.executionId,
|
|
157
|
+
},
|
|
158
|
+
select: {
|
|
159
|
+
actorId: true,
|
|
160
|
+
createdAt: true,
|
|
161
|
+
executionId: true,
|
|
162
|
+
id: true,
|
|
163
|
+
},
|
|
164
|
+
})
|
|
165
|
+
.execute();
|
|
166
|
+
console.log(JSON.stringify(result, null, 2));
|
|
167
|
+
}
|
|
168
|
+
catch (error) {
|
|
169
|
+
console.error('Failed to create record.');
|
|
170
|
+
if (error instanceof Error) {
|
|
171
|
+
console.error(error.message);
|
|
172
|
+
}
|
|
173
|
+
process.exit(1);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
async function handleUpdate(argv, prompter) {
|
|
177
|
+
try {
|
|
178
|
+
const rawAnswers = await prompter.prompt(argv, [
|
|
179
|
+
{
|
|
180
|
+
type: 'text',
|
|
181
|
+
name: 'id',
|
|
182
|
+
message: 'id',
|
|
183
|
+
required: true,
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
type: 'text',
|
|
187
|
+
name: 'actorId',
|
|
188
|
+
message: 'actorId',
|
|
189
|
+
required: false,
|
|
190
|
+
skipPrompt: true,
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
type: 'text',
|
|
194
|
+
name: 'executionId',
|
|
195
|
+
message: 'executionId',
|
|
196
|
+
required: false,
|
|
197
|
+
},
|
|
198
|
+
]);
|
|
199
|
+
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
200
|
+
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
201
|
+
const client = getClient();
|
|
202
|
+
const result = await client.databaseFunctionGraphExecutionCancelRequest
|
|
203
|
+
.update({
|
|
204
|
+
where: {
|
|
205
|
+
id: answers.id,
|
|
206
|
+
},
|
|
207
|
+
data: {
|
|
208
|
+
actorId: cleanedData.actorId,
|
|
209
|
+
executionId: cleanedData.executionId,
|
|
210
|
+
},
|
|
211
|
+
select: {
|
|
212
|
+
actorId: true,
|
|
213
|
+
createdAt: true,
|
|
214
|
+
executionId: true,
|
|
215
|
+
id: true,
|
|
216
|
+
},
|
|
217
|
+
})
|
|
218
|
+
.execute();
|
|
219
|
+
console.log(JSON.stringify(result, null, 2));
|
|
220
|
+
}
|
|
221
|
+
catch (error) {
|
|
222
|
+
console.error('Failed to update record.');
|
|
223
|
+
if (error instanceof Error) {
|
|
224
|
+
console.error(error.message);
|
|
225
|
+
}
|
|
226
|
+
process.exit(1);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
async function handleDelete(argv, prompter) {
|
|
230
|
+
try {
|
|
231
|
+
const rawAnswers = await prompter.prompt(argv, [
|
|
232
|
+
{
|
|
233
|
+
type: 'text',
|
|
234
|
+
name: 'id',
|
|
235
|
+
message: 'id',
|
|
236
|
+
required: true,
|
|
237
|
+
},
|
|
238
|
+
]);
|
|
239
|
+
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
240
|
+
const client = getClient();
|
|
241
|
+
const result = await client.databaseFunctionGraphExecutionCancelRequest
|
|
242
|
+
.delete({
|
|
243
|
+
where: {
|
|
244
|
+
id: answers.id,
|
|
245
|
+
},
|
|
246
|
+
select: {
|
|
247
|
+
id: true,
|
|
248
|
+
},
|
|
249
|
+
})
|
|
250
|
+
.execute();
|
|
251
|
+
console.log(JSON.stringify(result, null, 2));
|
|
252
|
+
}
|
|
253
|
+
catch (error) {
|
|
254
|
+
console.error('Failed to delete record.');
|
|
255
|
+
if (error instanceof Error) {
|
|
256
|
+
console.error(error.message);
|
|
257
|
+
}
|
|
258
|
+
process.exit(1);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI commands for FunctionGraphExecutionCancelRequest
|
|
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,260 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI commands for FunctionGraphExecutionCancelRequest
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { extractFirst } from 'inquirerer';
|
|
7
|
+
import { getClient } from '../executor';
|
|
8
|
+
import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from '../utils';
|
|
9
|
+
const fieldSchema = {
|
|
10
|
+
actorId: 'uuid',
|
|
11
|
+
createdAt: 'string',
|
|
12
|
+
executionId: 'uuid',
|
|
13
|
+
id: 'uuid',
|
|
14
|
+
};
|
|
15
|
+
const usage = '\nfunction-graph-execution-cancel-request <command>\n\nCommands:\n list List functionGraphExecutionCancelRequest records\n find-first Find first matching functionGraphExecutionCancelRequest record\n get Get a functionGraphExecutionCancelRequest by ID\n create Create a new functionGraphExecutionCancelRequest\n update Update an existing functionGraphExecutionCancelRequest\n delete Delete a functionGraphExecutionCancelRequest\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 --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
|
|
16
|
+
export default async (argv, prompter, _options) => {
|
|
17
|
+
if (argv.help || argv.h) {
|
|
18
|
+
console.log(usage);
|
|
19
|
+
process.exit(0);
|
|
20
|
+
}
|
|
21
|
+
const { first: subcommand, newArgv } = extractFirst(argv);
|
|
22
|
+
if (!subcommand) {
|
|
23
|
+
const answer = await prompter.prompt(argv, [
|
|
24
|
+
{
|
|
25
|
+
type: 'autocomplete',
|
|
26
|
+
name: 'subcommand',
|
|
27
|
+
message: 'What do you want to do?',
|
|
28
|
+
options: ['list', 'find-first', 'get', 'create', 'update', 'delete'],
|
|
29
|
+
},
|
|
30
|
+
]);
|
|
31
|
+
return handleTableSubcommand(answer.subcommand, newArgv, prompter);
|
|
32
|
+
}
|
|
33
|
+
return handleTableSubcommand(subcommand, newArgv, prompter);
|
|
34
|
+
};
|
|
35
|
+
async function handleTableSubcommand(subcommand, argv, prompter) {
|
|
36
|
+
switch (subcommand) {
|
|
37
|
+
case 'list':
|
|
38
|
+
return handleList(argv, prompter);
|
|
39
|
+
case 'find-first':
|
|
40
|
+
return handleFindFirst(argv, prompter);
|
|
41
|
+
case 'get':
|
|
42
|
+
return handleGet(argv, prompter);
|
|
43
|
+
case 'create':
|
|
44
|
+
return handleCreate(argv, prompter);
|
|
45
|
+
case 'update':
|
|
46
|
+
return handleUpdate(argv, prompter);
|
|
47
|
+
case 'delete':
|
|
48
|
+
return handleDelete(argv, prompter);
|
|
49
|
+
default:
|
|
50
|
+
console.log(usage);
|
|
51
|
+
process.exit(1);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
async function handleList(argv, _prompter) {
|
|
55
|
+
try {
|
|
56
|
+
const defaultSelect = {
|
|
57
|
+
actorId: true,
|
|
58
|
+
createdAt: true,
|
|
59
|
+
executionId: true,
|
|
60
|
+
id: true,
|
|
61
|
+
};
|
|
62
|
+
const findManyArgs = parseFindManyArgs(argv, defaultSelect);
|
|
63
|
+
const client = getClient();
|
|
64
|
+
const result = await client.functionGraphExecutionCancelRequest
|
|
65
|
+
.findMany(findManyArgs)
|
|
66
|
+
.execute();
|
|
67
|
+
console.log(JSON.stringify(result, null, 2));
|
|
68
|
+
}
|
|
69
|
+
catch (error) {
|
|
70
|
+
console.error('Failed to list records.');
|
|
71
|
+
if (error instanceof Error) {
|
|
72
|
+
console.error(error.message);
|
|
73
|
+
}
|
|
74
|
+
process.exit(1);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
async function handleFindFirst(argv, _prompter) {
|
|
78
|
+
try {
|
|
79
|
+
const defaultSelect = {
|
|
80
|
+
actorId: true,
|
|
81
|
+
createdAt: true,
|
|
82
|
+
executionId: true,
|
|
83
|
+
id: true,
|
|
84
|
+
};
|
|
85
|
+
const findFirstArgs = parseFindFirstArgs(argv, defaultSelect);
|
|
86
|
+
const client = getClient();
|
|
87
|
+
const result = await client.functionGraphExecutionCancelRequest
|
|
88
|
+
.findFirst(findFirstArgs)
|
|
89
|
+
.execute();
|
|
90
|
+
console.log(JSON.stringify(result, null, 2));
|
|
91
|
+
}
|
|
92
|
+
catch (error) {
|
|
93
|
+
console.error('Failed to find record.');
|
|
94
|
+
if (error instanceof Error) {
|
|
95
|
+
console.error(error.message);
|
|
96
|
+
}
|
|
97
|
+
process.exit(1);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
async function handleGet(argv, prompter) {
|
|
101
|
+
try {
|
|
102
|
+
const answers = await prompter.prompt(argv, [
|
|
103
|
+
{
|
|
104
|
+
type: 'text',
|
|
105
|
+
name: 'id',
|
|
106
|
+
message: 'id',
|
|
107
|
+
required: true,
|
|
108
|
+
},
|
|
109
|
+
]);
|
|
110
|
+
const client = getClient();
|
|
111
|
+
const result = await client.functionGraphExecutionCancelRequest
|
|
112
|
+
.findOne({
|
|
113
|
+
id: answers.id,
|
|
114
|
+
select: {
|
|
115
|
+
actorId: true,
|
|
116
|
+
createdAt: true,
|
|
117
|
+
executionId: true,
|
|
118
|
+
id: true,
|
|
119
|
+
},
|
|
120
|
+
})
|
|
121
|
+
.execute();
|
|
122
|
+
console.log(JSON.stringify(result, null, 2));
|
|
123
|
+
}
|
|
124
|
+
catch (error) {
|
|
125
|
+
console.error('Record not found.');
|
|
126
|
+
if (error instanceof Error) {
|
|
127
|
+
console.error(error.message);
|
|
128
|
+
}
|
|
129
|
+
process.exit(1);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
async function handleCreate(argv, prompter) {
|
|
133
|
+
try {
|
|
134
|
+
const rawAnswers = await prompter.prompt(argv, [
|
|
135
|
+
{
|
|
136
|
+
type: 'text',
|
|
137
|
+
name: 'actorId',
|
|
138
|
+
message: 'actorId',
|
|
139
|
+
required: false,
|
|
140
|
+
skipPrompt: true,
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
type: 'text',
|
|
144
|
+
name: 'executionId',
|
|
145
|
+
message: 'executionId',
|
|
146
|
+
required: true,
|
|
147
|
+
},
|
|
148
|
+
]);
|
|
149
|
+
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
150
|
+
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
151
|
+
const client = getClient();
|
|
152
|
+
const result = await client.functionGraphExecutionCancelRequest
|
|
153
|
+
.create({
|
|
154
|
+
data: {
|
|
155
|
+
actorId: cleanedData.actorId,
|
|
156
|
+
executionId: cleanedData.executionId,
|
|
157
|
+
},
|
|
158
|
+
select: {
|
|
159
|
+
actorId: true,
|
|
160
|
+
createdAt: true,
|
|
161
|
+
executionId: true,
|
|
162
|
+
id: true,
|
|
163
|
+
},
|
|
164
|
+
})
|
|
165
|
+
.execute();
|
|
166
|
+
console.log(JSON.stringify(result, null, 2));
|
|
167
|
+
}
|
|
168
|
+
catch (error) {
|
|
169
|
+
console.error('Failed to create record.');
|
|
170
|
+
if (error instanceof Error) {
|
|
171
|
+
console.error(error.message);
|
|
172
|
+
}
|
|
173
|
+
process.exit(1);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
async function handleUpdate(argv, prompter) {
|
|
177
|
+
try {
|
|
178
|
+
const rawAnswers = await prompter.prompt(argv, [
|
|
179
|
+
{
|
|
180
|
+
type: 'text',
|
|
181
|
+
name: 'id',
|
|
182
|
+
message: 'id',
|
|
183
|
+
required: true,
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
type: 'text',
|
|
187
|
+
name: 'actorId',
|
|
188
|
+
message: 'actorId',
|
|
189
|
+
required: false,
|
|
190
|
+
skipPrompt: true,
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
type: 'text',
|
|
194
|
+
name: 'executionId',
|
|
195
|
+
message: 'executionId',
|
|
196
|
+
required: false,
|
|
197
|
+
},
|
|
198
|
+
]);
|
|
199
|
+
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
200
|
+
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
201
|
+
const client = getClient();
|
|
202
|
+
const result = await client.functionGraphExecutionCancelRequest
|
|
203
|
+
.update({
|
|
204
|
+
where: {
|
|
205
|
+
id: answers.id,
|
|
206
|
+
},
|
|
207
|
+
data: {
|
|
208
|
+
actorId: cleanedData.actorId,
|
|
209
|
+
executionId: cleanedData.executionId,
|
|
210
|
+
},
|
|
211
|
+
select: {
|
|
212
|
+
actorId: true,
|
|
213
|
+
createdAt: true,
|
|
214
|
+
executionId: true,
|
|
215
|
+
id: true,
|
|
216
|
+
},
|
|
217
|
+
})
|
|
218
|
+
.execute();
|
|
219
|
+
console.log(JSON.stringify(result, null, 2));
|
|
220
|
+
}
|
|
221
|
+
catch (error) {
|
|
222
|
+
console.error('Failed to update record.');
|
|
223
|
+
if (error instanceof Error) {
|
|
224
|
+
console.error(error.message);
|
|
225
|
+
}
|
|
226
|
+
process.exit(1);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
async function handleDelete(argv, prompter) {
|
|
230
|
+
try {
|
|
231
|
+
const rawAnswers = await prompter.prompt(argv, [
|
|
232
|
+
{
|
|
233
|
+
type: 'text',
|
|
234
|
+
name: 'id',
|
|
235
|
+
message: 'id',
|
|
236
|
+
required: true,
|
|
237
|
+
},
|
|
238
|
+
]);
|
|
239
|
+
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
240
|
+
const client = getClient();
|
|
241
|
+
const result = await client.functionGraphExecutionCancelRequest
|
|
242
|
+
.delete({
|
|
243
|
+
where: {
|
|
244
|
+
id: answers.id,
|
|
245
|
+
},
|
|
246
|
+
select: {
|
|
247
|
+
id: true,
|
|
248
|
+
},
|
|
249
|
+
})
|
|
250
|
+
.execute();
|
|
251
|
+
console.log(JSON.stringify(result, null, 2));
|
|
252
|
+
}
|
|
253
|
+
catch (error) {
|
|
254
|
+
console.error('Failed to delete record.');
|
|
255
|
+
if (error instanceof Error) {
|
|
256
|
+
console.error(error.message);
|
|
257
|
+
}
|
|
258
|
+
process.exit(1);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI command for mutation functionInvocationsCreatePage
|
|
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;
|