Skip to content

Commit a0a1a01

Browse files
committed
chore(sdk): regenerate schemas, ORM, CLI, hooks from updated compute schema
1 parent 29e41e6 commit a0a1a01

369 files changed

Lines changed: 4093 additions & 3775 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

sdk/constructive-functions-cli/cli/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,15 +1037,16 @@ CRUD operations for PlatformFunctionDefinition records.
10371037
| `updatedAt` | Datetime |
10381038
| `requiredConfigs` | FunctionRequirement |
10391039
| `requiredSecrets` | FunctionRequirement |
1040+
| `category` | String |
1041+
| `icon` | String |
10401042
| `inputs` | JSON |
10411043
| `outputs` | JSON |
10421044
| `props` | JSON |
10431045
| `volatile` | Boolean |
1044-
| `icon` | String |
1045-
| `category` | String |
1046+
| `runtime` | String |
10461047

10471048
**Required create fields:** `name`, `scope`, `taskIdentifier`
1048-
**Optional create fields (backend defaults):** `description`, `isBuiltIn`, `isInvocable`, `maxAttempts`, `namespaceId`, `priority`, `queueName`, `serviceUrl`, `requiredConfigs`, `requiredSecrets`, `inputs`, `outputs`, `props`, `volatile`, `icon`, `category`
1049+
**Optional create fields (backend defaults):** `description`, `isBuiltIn`, `isInvocable`, `maxAttempts`, `namespaceId`, `priority`, `queueName`, `serviceUrl`, `requiredConfigs`, `requiredSecrets`, `category`, `icon`, `inputs`, `outputs`, `props`, `volatile`, `runtime`
10491050

10501051
### `compute:platform-read-function-graph`
10511052

sdk/constructive-functions-cli/cli/commands.ts

Lines changed: 40 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -3,67 +3,66 @@
33
* @generated by @constructive-io/graphql-codegen
44
* DO NOT EDIT - changes will be overwritten
55
*/
6-
import { CLIOptions, extractFirst,Inquirerer } from 'inquirerer';
7-
8-
import apiOrgSecretsDelCmd from './commands/api/org-secrets-del';
9-
import apiOrgSecretsRemoveArrayCmd from './commands/api/org-secrets-remove-array';
10-
import apiOrgSecretsSetCmd from './commands/api/org-secrets-set';
11-
import apiPlatformBucketCmd from './commands/api/platform-bucket';
12-
import apiPlatformConfigCmd from './commands/api/platform-config';
6+
import { CLIOptions, Inquirerer, extractFirst } from 'inquirerer';
7+
import contextCmd from './commands/context';
8+
import authCmd from './commands/auth';
9+
import configCmd from './commands/config';
10+
import apiRoleTypeCmd from './commands/api/role-type';
1311
import apiPlatformConfigDefinitionCmd from './commands/api/platform-config-definition';
14-
import apiPlatformFileCmd from './commands/api/platform-file';
15-
import apiPlatformFilesRenameCmd from './commands/api/platform-files-rename';
1612
import apiPlatformNamespaceCmd from './commands/api/platform-namespace';
13+
import apiPlatformConfigCmd from './commands/api/platform-config';
14+
import apiPlatformBucketCmd from './commands/api/platform-bucket';
15+
import apiPlatformFileCmd from './commands/api/platform-file';
16+
import apiUserCmd from './commands/api/user';
1717
import apiPlatformNamespaceEventCmd from './commands/api/platform-namespace-event';
1818
import apiPlatformSecretsDelCmd from './commands/api/platform-secrets-del';
1919
import apiPlatformSecretsSetCmd from './commands/api/platform-secrets-set';
20-
import apiProvisionBucketCmd from './commands/api/provision-bucket';
21-
import apiRoleTypeCmd from './commands/api/role-type';
20+
import apiOrgSecretsDelCmd from './commands/api/org-secrets-del';
21+
import apiOrgSecretsSetCmd from './commands/api/org-secrets-set';
22+
import apiOrgSecretsRemoveArrayCmd from './commands/api/org-secrets-remove-array';
23+
import apiPlatformFilesRenameCmd from './commands/api/platform-files-rename';
2224
import apiUploadPlatformFileCmd from './commands/api/upload-platform-file';
2325
import apiUploadPlatformFilesCmd from './commands/api/upload-platform-files';
24-
import apiUserCmd from './commands/api/user';
25-
import authCmd from './commands/auth';
26+
import apiProvisionBucketCmd from './commands/api/provision-bucket';
2627
import computeGetAllRecordCmd from './commands/compute/get-all-record';
27-
import computeInitEmptyRepoCmd from './commands/compute/init-empty-repo';
28-
import computeInsertNodeAtPathCmd from './commands/compute/insert-node-at-path';
28+
import computePlatformFunctionGraphRefCmd from './commands/compute/platform-function-graph-ref';
29+
import computePlatformFunctionGraphStoreCmd from './commands/compute/platform-function-graph-store';
30+
import computePlatformFunctionGraphObjectCmd from './commands/compute/platform-function-graph-object';
2931
import computeOrgFunctionExecutionLogCmd from './commands/compute/org-function-execution-log';
30-
import computeOrgFunctionInvocationCmd from './commands/compute/org-function-invocation';
31-
import computePlatformAddEdgeCmd from './commands/compute/platform-add-edge';
32-
import computePlatformAddEdgeAndSaveCmd from './commands/compute/platform-add-edge-and-save';
33-
import computePlatformAddNodeCmd from './commands/compute/platform-add-node';
34-
import computePlatformAddNodeAndSaveCmd from './commands/compute/platform-add-node-and-save';
35-
import computePlatformComputeLogCmd from './commands/compute/platform-compute-log';
36-
import computePlatformCopyGraphCmd from './commands/compute/platform-copy-graph';
37-
import computePlatformCreateFunctionGraphCmd from './commands/compute/platform-create-function-graph';
38-
import computePlatformFunctionDefinitionCmd from './commands/compute/platform-function-definition';
32+
import computePlatformFunctionGraphCommitCmd from './commands/compute/platform-function-graph-commit';
33+
import computePlatformSecretDefinitionCmd from './commands/compute/platform-secret-definition';
3934
import computePlatformFunctionExecutionLogCmd from './commands/compute/platform-function-execution-log';
4035
import computePlatformFunctionGraphCmd from './commands/compute/platform-function-graph';
41-
import computePlatformFunctionGraphCommitCmd from './commands/compute/platform-function-graph-commit';
42-
import computePlatformFunctionGraphObjectCmd from './commands/compute/platform-function-graph-object';
43-
import computePlatformFunctionGraphRefCmd from './commands/compute/platform-function-graph-ref';
44-
import computePlatformFunctionGraphStoreCmd from './commands/compute/platform-function-graph-store';
36+
import computePlatformComputeLogCmd from './commands/compute/platform-compute-log';
37+
import computePlatformUsageDailyCmd from './commands/compute/platform-usage-daily';
38+
import computeOrgFunctionInvocationCmd from './commands/compute/org-function-invocation';
4539
import computePlatformFunctionInvocationCmd from './commands/compute/platform-function-invocation';
46-
import computePlatformImportDefinitionsCmd from './commands/compute/platform-import-definitions';
47-
import computePlatformImportGraphJsonCmd from './commands/compute/platform-import-graph-json';
40+
import computePlatformFunctionDefinitionCmd from './commands/compute/platform-function-definition';
4841
import computePlatformReadFunctionGraphCmd from './commands/compute/platform-read-function-graph';
42+
import computePlatformValidateFunctionGraphCmd from './commands/compute/platform-validate-function-graph';
43+
import computeInitEmptyRepoCmd from './commands/compute/init-empty-repo';
44+
import computePlatformImportDefinitionsCmd from './commands/compute/platform-import-definitions';
45+
import computeSetDataAtPathCmd from './commands/compute/set-data-at-path';
46+
import computePlatformCopyGraphCmd from './commands/compute/platform-copy-graph';
4947
import computePlatformSaveGraphCmd from './commands/compute/platform-save-graph';
50-
import computePlatformSecretDefinitionCmd from './commands/compute/platform-secret-definition';
48+
import computePlatformAddEdgeAndSaveCmd from './commands/compute/platform-add-edge-and-save';
49+
import computePlatformAddNodeAndSaveCmd from './commands/compute/platform-add-node-and-save';
50+
import computePlatformCreateFunctionGraphCmd from './commands/compute/platform-create-function-graph';
51+
import computePlatformAddEdgeCmd from './commands/compute/platform-add-edge';
52+
import computePlatformAddNodeCmd from './commands/compute/platform-add-node';
53+
import computePlatformImportGraphJsonCmd from './commands/compute/platform-import-graph-json';
54+
import computeInsertNodeAtPathCmd from './commands/compute/insert-node-at-path';
5155
import computePlatformStartExecutionCmd from './commands/compute/platform-start-execution';
52-
import computePlatformUsageDailyCmd from './commands/compute/platform-usage-daily';
53-
import computePlatformValidateFunctionGraphCmd from './commands/compute/platform-validate-function-graph';
5456
import computeProvisionBucketCmd from './commands/compute/provision-bucket';
55-
import computeSetDataAtPathCmd from './commands/compute/set-data-at-path';
56-
import configCmd from './commands/config';
57-
import contextCmd from './commands/context';
58-
import objectsCommitCmd from './commands/objects/commit';
5957
import objectsGetAllRecordCmd from './commands/objects/get-all-record';
58+
import objectsStoreCmd from './commands/objects/store';
59+
import objectsRefCmd from './commands/objects/ref';
60+
import objectsObjectCmd from './commands/objects/object';
61+
import objectsCommitCmd from './commands/objects/commit';
6062
import objectsInitEmptyRepoCmd from './commands/objects/init-empty-repo';
63+
import objectsSetDataAtPathCmd from './commands/objects/set-data-at-path';
6164
import objectsInsertNodeAtPathCmd from './commands/objects/insert-node-at-path';
62-
import objectsObjectCmd from './commands/objects/object';
6365
import objectsProvisionBucketCmd from './commands/objects/provision-bucket';
64-
import objectsRefCmd from './commands/objects/ref';
65-
import objectsSetDataAtPathCmd from './commands/objects/set-data-at-path';
66-
import objectsStoreCmd from './commands/objects/store';
6766
const createCommandMap: () => Record<
6867
string,
6968
(

sdk/constructive-functions-cli/cli/commands/api/org-secrets-del.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
* DO NOT EDIT - changes will be overwritten
55
*/
66
import { CLIOptions, Inquirerer } from 'inquirerer';
7-
8-
import type { OrgSecretsDelPayloadSelect } from '../../../orm/input-types';
9-
import type { OrgSecretsDelVariables } from '../../../orm/mutation';
107
import { getClient } from '../../executor';
11-
import { buildSelectFromPaths,unflattenDotNotation } from '../../utils';
8+
import { unflattenDotNotation, buildSelectFromPaths } from '../../utils';
9+
import type { OrgSecretsDelVariables } from '../../../orm/mutation';
10+
import type { OrgSecretsDelPayloadSelect } from '../../../orm/input-types';
1211
export default async (
1312
argv: Partial<Record<string, unknown>>,
1413
prompter: Inquirerer,

sdk/constructive-functions-cli/cli/commands/api/org-secrets-remove-array.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
* DO NOT EDIT - changes will be overwritten
55
*/
66
import { CLIOptions, Inquirerer } from 'inquirerer';
7-
8-
import type { OrgSecretsRemoveArrayPayloadSelect } from '../../../orm/input-types';
9-
import type { OrgSecretsRemoveArrayVariables } from '../../../orm/mutation';
107
import { getClient } from '../../executor';
11-
import { buildSelectFromPaths,unflattenDotNotation } from '../../utils';
8+
import { unflattenDotNotation, buildSelectFromPaths } from '../../utils';
9+
import type { OrgSecretsRemoveArrayVariables } from '../../../orm/mutation';
10+
import type { OrgSecretsRemoveArrayPayloadSelect } from '../../../orm/input-types';
1211
export default async (
1312
argv: Partial<Record<string, unknown>>,
1413
prompter: Inquirerer,

sdk/constructive-functions-cli/cli/commands/api/org-secrets-set.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
* DO NOT EDIT - changes will be overwritten
55
*/
66
import { CLIOptions, Inquirerer } from 'inquirerer';
7-
8-
import type { OrgSecretsSetPayloadSelect } from '../../../orm/input-types';
9-
import type { OrgSecretsSetVariables } from '../../../orm/mutation';
107
import { getClient } from '../../executor';
11-
import { buildSelectFromPaths,unflattenDotNotation } from '../../utils';
8+
import { unflattenDotNotation, buildSelectFromPaths } from '../../utils';
9+
import type { OrgSecretsSetVariables } from '../../../orm/mutation';
10+
import type { OrgSecretsSetPayloadSelect } from '../../../orm/input-types';
1211
export default async (
1312
argv: Partial<Record<string, unknown>>,
1413
prompter: Inquirerer,

sdk/constructive-functions-cli/cli/commands/api/platform-bucket.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,18 @@
33
* @generated by @constructive-io/graphql-codegen
44
* DO NOT EDIT - changes will be overwritten
55
*/
6-
import { CLIOptions, extractFirst,Inquirerer } from 'inquirerer';
7-
6+
import { CLIOptions, Inquirerer, extractFirst } from 'inquirerer';
7+
import { getClient } from '../../executor';
8+
import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from '../../utils';
9+
import type { FieldSchema } from '../../utils';
810
import type {
911
CreatePlatformBucketInput,
10-
PlatformBucketFilter,
11-
PlatformBucketOrderBy,
1212
PlatformBucketPatch,
1313
PlatformBucketSelect,
14+
PlatformBucketFilter,
15+
PlatformBucketOrderBy,
1416
} from '../../../orm/input-types';
15-
import type { FindFirstArgs,FindManyArgs } from '../../../orm/select-types';
16-
import { getClient } from '../../executor';
17-
import type { FieldSchema } from '../../utils';
18-
import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from '../../utils';
17+
import type { FindManyArgs, FindFirstArgs } from '../../../orm/select-types';
1918
const fieldSchema: FieldSchema = {
2019
actorId: 'uuid',
2120
allowCustomKeys: 'boolean',

sdk/constructive-functions-cli/cli/commands/api/platform-config-definition.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,18 @@
33
* @generated by @constructive-io/graphql-codegen
44
* DO NOT EDIT - changes will be overwritten
55
*/
6-
import { CLIOptions, extractFirst,Inquirerer } from 'inquirerer';
7-
6+
import { CLIOptions, Inquirerer, extractFirst } from 'inquirerer';
7+
import { getClient } from '../../executor';
8+
import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from '../../utils';
9+
import type { FieldSchema } from '../../utils';
810
import type {
911
CreatePlatformConfigDefinitionInput,
10-
PlatformConfigDefinitionFilter,
11-
PlatformConfigDefinitionOrderBy,
1212
PlatformConfigDefinitionPatch,
1313
PlatformConfigDefinitionSelect,
14+
PlatformConfigDefinitionFilter,
15+
PlatformConfigDefinitionOrderBy,
1416
} from '../../../orm/input-types';
15-
import type { FindFirstArgs,FindManyArgs } from '../../../orm/select-types';
16-
import { getClient } from '../../executor';
17-
import type { FieldSchema } from '../../utils';
18-
import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from '../../utils';
17+
import type { FindManyArgs, FindFirstArgs } from '../../../orm/select-types';
1918
const fieldSchema: FieldSchema = {
2019
annotations: 'json',
2120
createdAt: 'string',

sdk/constructive-functions-cli/cli/commands/api/platform-config.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,18 @@
33
* @generated by @constructive-io/graphql-codegen
44
* DO NOT EDIT - changes will be overwritten
55
*/
6-
import { CLIOptions, extractFirst,Inquirerer } from 'inquirerer';
7-
6+
import { CLIOptions, Inquirerer, extractFirst } from 'inquirerer';
7+
import { getClient } from '../../executor';
8+
import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from '../../utils';
9+
import type { FieldSchema } from '../../utils';
810
import type {
911
CreatePlatformConfigInput,
10-
PlatformConfigFilter,
11-
PlatformConfigOrderBy,
1212
PlatformConfigPatch,
1313
PlatformConfigSelect,
14+
PlatformConfigFilter,
15+
PlatformConfigOrderBy,
1416
} from '../../../orm/input-types';
15-
import type { FindFirstArgs,FindManyArgs } from '../../../orm/select-types';
16-
import { getClient } from '../../executor';
17-
import type { FieldSchema } from '../../utils';
18-
import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from '../../utils';
17+
import type { FindManyArgs, FindFirstArgs } from '../../../orm/select-types';
1918
const fieldSchema: FieldSchema = {
2019
annotations: 'json',
2120
createdAt: 'string',

sdk/constructive-functions-cli/cli/commands/api/platform-file.ts

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,18 @@
33
* @generated by @constructive-io/graphql-codegen
44
* DO NOT EDIT - changes will be overwritten
55
*/
6-
import { CLIOptions, extractFirst,Inquirerer } from 'inquirerer';
7-
6+
import { CLIOptions, Inquirerer, extractFirst } from 'inquirerer';
7+
import { getClient } from '../../executor';
8+
import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from '../../utils';
9+
import type { FieldSchema } from '../../utils';
810
import type {
911
CreatePlatformFileInput,
10-
PlatformFileFilter,
11-
PlatformFileOrderBy,
1212
PlatformFilePatch,
1313
PlatformFileSelect,
14+
PlatformFileFilter,
15+
PlatformFileOrderBy,
1416
} from '../../../orm/input-types';
15-
import type { FindFirstArgs,FindManyArgs } from '../../../orm/select-types';
16-
import { getClient } from '../../executor';
17-
import type { FieldSchema } from '../../utils';
18-
import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from '../../utils';
17+
import type { FindManyArgs, FindFirstArgs } from '../../../orm/select-types';
1918
const fieldSchema: FieldSchema = {
2019
filePath: 'string',
2120
actorId: 'uuid',

sdk/constructive-functions-cli/cli/commands/api/platform-files-rename.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@
44
* DO NOT EDIT - changes will be overwritten
55
*/
66
import { CLIOptions, Inquirerer } from 'inquirerer';
7-
8-
import type { PlatformFilesRenamePayloadSelect } from '../../../orm/input-types';
9-
import type { PlatformFilesRenameVariables } from '../../../orm/mutation';
107
import { getClient } from '../../executor';
11-
import { buildSelectFromPaths,unflattenDotNotation } from '../../utils';
8+
import { unflattenDotNotation, buildSelectFromPaths } from '../../utils';
9+
import type { PlatformFilesRenameVariables } from '../../../orm/mutation';
10+
import type { PlatformFilesRenamePayloadSelect } from '../../../orm/input-types';
1211
export default async (
1312
argv: Partial<Record<string, unknown>>,
1413
prompter: Inquirerer,

0 commit comments

Comments
 (0)