@constructive-sdk/cli 0.29.1 → 0.29.3
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/api/cli/commands/api.js +44 -0
- package/api/cli/commands/check-constraint.js +0 -22
- package/api/cli/commands/composite-type.js +0 -22
- package/api/cli/commands/database-setting.js +44 -0
- package/api/cli/commands/domain.js +66 -0
- package/api/cli/commands/enum.js +0 -22
- package/api/cli/commands/field.js +0 -22
- package/api/cli/commands/foreign-key-constraint.js +0 -22
- package/api/cli/commands/index.js +0 -22
- package/api/cli/commands/policy.js +0 -22
- package/api/cli/commands/primary-key-constraint.js +0 -22
- package/api/cli/commands/schema.js +0 -22
- package/api/cli/commands/site.js +44 -0
- package/api/cli/commands/spatial-relation.js +0 -22
- package/api/cli/commands/table.js +0 -22
- package/api/cli/commands/trigger.js +0 -22
- package/api/cli/commands/unique-constraint.js +0 -22
- package/api/cli/commands/view.js +0 -22
- package/api/orm/input-types.d.ts +144 -171
- package/auth/cli/commands/create-org-api-key.d.ts +8 -0
- package/auth/cli/commands/create-org-api-key.js +36 -0
- package/auth/cli/commands/create-org-principal.d.ts +8 -0
- package/auth/cli/commands/create-org-principal.js +36 -0
- package/auth/cli/commands/delete-org-principal.d.ts +8 -0
- package/auth/cli/commands/delete-org-principal.js +36 -0
- package/auth/cli/commands/org-api-key-list.d.ts +8 -0
- package/auth/cli/commands/org-api-key-list.js +224 -0
- package/auth/cli/commands/principal-entity.d.ts +8 -0
- package/auth/cli/commands/principal-entity.js +282 -0
- package/auth/cli/commands/principal-scope-override.d.ts +8 -0
- package/auth/cli/commands/principal-scope-override.js +171 -0
- package/auth/cli/commands/principal.d.ts +8 -0
- package/auth/cli/commands/principal.js +171 -0
- package/auth/cli/commands/revoke-org-api-key.d.ts +8 -0
- package/auth/cli/commands/revoke-org-api-key.js +36 -0
- package/auth/cli/commands.js +19 -3
- package/auth/cli/executor.d.ts +28 -4
- package/auth/orm/index.d.ts +32 -4
- package/auth/orm/index.js +8 -0
- package/auth/orm/input-types.d.ts +915 -145
- package/auth/orm/input-types.js +7 -0
- package/auth/orm/models/index.d.ts +4 -0
- package/auth/orm/models/index.js +9 -1
- package/auth/orm/models/orgApiKeyList.d.ts +36 -0
- package/auth/orm/models/orgApiKeyList.js +80 -0
- package/auth/orm/models/principal.d.ts +45 -0
- package/auth/orm/models/principal.js +93 -0
- package/auth/orm/models/principalEntity.d.ts +54 -0
- package/auth/orm/models/principalEntity.js +104 -0
- package/auth/orm/models/principalScopeOverride.d.ts +36 -0
- package/auth/orm/models/principalScopeOverride.js +80 -0
- package/auth/orm/mutation/index.d.ts +33 -1
- package/auth/orm/mutation/index.js +48 -0
- package/auth/orm/query/index.d.ts +4 -4
- package/auth/orm/query/index.js +7 -7
- package/compute/cli/commands/function-graph-execution.js +0 -22
- package/compute/cli/commands/function-graph.js +0 -20
- package/compute/cli/commands/platform-namespace-event.d.ts +8 -0
- package/compute/cli/commands/platform-namespace-event.js +510 -0
- package/compute/cli/commands/platform-namespace.d.ts +8 -0
- package/compute/cli/commands/platform-namespace.js +436 -0
- package/compute/cli/commands/resource-event.d.ts +8 -0
- package/compute/cli/commands/resource-event.js +356 -0
- package/compute/cli/commands/resource.d.ts +8 -0
- package/compute/cli/commands/resource.js +520 -0
- package/compute/cli/commands.js +13 -5
- package/compute/cli/executor.d.ts +10 -6
- package/compute/orm/index.d.ts +15 -7
- package/compute/orm/index.js +10 -2
- package/compute/orm/input-types.d.ts +1159 -221
- package/compute/orm/input-types.js +4 -0
- package/compute/orm/models/index.d.ts +5 -1
- package/compute/orm/models/index.js +11 -3
- package/compute/orm/models/platformNamespace.d.ts +54 -0
- package/compute/orm/models/platformNamespace.js +104 -0
- package/compute/orm/models/platformNamespaceEvent.d.ts +56 -0
- package/compute/orm/models/platformNamespaceEvent.js +107 -0
- package/compute/orm/models/resource.d.ts +54 -0
- package/compute/orm/models/resource.js +104 -0
- package/compute/orm/models/resourceEvent.d.ts +56 -0
- package/compute/orm/models/resourceEvent.js +107 -0
- package/compute/orm/mutation/index.d.ts +9 -9
- package/compute/orm/mutation/index.js +12 -12
- package/esm/api/cli/commands/api.js +44 -0
- package/esm/api/cli/commands/check-constraint.js +0 -22
- package/esm/api/cli/commands/composite-type.js +0 -22
- package/esm/api/cli/commands/database-setting.js +44 -0
- package/esm/api/cli/commands/domain.js +66 -0
- package/esm/api/cli/commands/enum.js +0 -22
- package/esm/api/cli/commands/field.js +0 -22
- package/esm/api/cli/commands/foreign-key-constraint.js +0 -22
- package/esm/api/cli/commands/index.js +0 -22
- package/esm/api/cli/commands/policy.js +0 -22
- package/esm/api/cli/commands/primary-key-constraint.js +0 -22
- package/esm/api/cli/commands/schema.js +0 -22
- package/esm/api/cli/commands/site.js +44 -0
- package/esm/api/cli/commands/spatial-relation.js +0 -22
- package/esm/api/cli/commands/table.js +0 -22
- package/esm/api/cli/commands/trigger.js +0 -22
- package/esm/api/cli/commands/unique-constraint.js +0 -22
- package/esm/api/cli/commands/view.js +0 -22
- package/esm/api/orm/input-types.d.ts +144 -171
- package/esm/auth/cli/commands/create-org-api-key.d.ts +8 -0
- package/esm/auth/cli/commands/create-org-api-key.js +34 -0
- package/esm/auth/cli/commands/create-org-principal.d.ts +8 -0
- package/esm/auth/cli/commands/create-org-principal.js +34 -0
- package/esm/auth/cli/commands/delete-org-principal.d.ts +8 -0
- package/esm/auth/cli/commands/delete-org-principal.js +34 -0
- package/esm/auth/cli/commands/org-api-key-list.d.ts +8 -0
- package/esm/auth/cli/commands/org-api-key-list.js +222 -0
- package/esm/auth/cli/commands/principal-entity.d.ts +8 -0
- package/esm/auth/cli/commands/principal-entity.js +280 -0
- package/esm/auth/cli/commands/principal-scope-override.d.ts +8 -0
- package/esm/auth/cli/commands/principal-scope-override.js +169 -0
- package/esm/auth/cli/commands/principal.d.ts +8 -0
- package/esm/auth/cli/commands/principal.js +169 -0
- package/esm/auth/cli/commands/revoke-org-api-key.d.ts +8 -0
- package/esm/auth/cli/commands/revoke-org-api-key.js +34 -0
- package/esm/auth/cli/commands.js +19 -3
- package/esm/auth/cli/executor.d.ts +28 -4
- package/esm/auth/orm/index.d.ts +32 -4
- package/esm/auth/orm/index.js +8 -0
- package/esm/auth/orm/input-types.d.ts +915 -145
- package/esm/auth/orm/input-types.js +7 -0
- package/esm/auth/orm/models/index.d.ts +4 -0
- package/esm/auth/orm/models/index.js +4 -0
- package/esm/auth/orm/models/orgApiKeyList.d.ts +36 -0
- package/esm/auth/orm/models/orgApiKeyList.js +76 -0
- package/esm/auth/orm/models/principal.d.ts +45 -0
- package/esm/auth/orm/models/principal.js +89 -0
- package/esm/auth/orm/models/principalEntity.d.ts +54 -0
- package/esm/auth/orm/models/principalEntity.js +100 -0
- package/esm/auth/orm/models/principalScopeOverride.d.ts +36 -0
- package/esm/auth/orm/models/principalScopeOverride.js +76 -0
- package/esm/auth/orm/mutation/index.d.ts +33 -1
- package/esm/auth/orm/mutation/index.js +48 -0
- package/esm/auth/orm/query/index.d.ts +4 -4
- package/esm/auth/orm/query/index.js +7 -7
- package/esm/compute/cli/commands/function-graph-execution.js +0 -22
- package/esm/compute/cli/commands/function-graph.js +0 -20
- package/esm/compute/cli/commands/platform-namespace-event.d.ts +8 -0
- package/esm/compute/cli/commands/platform-namespace-event.js +508 -0
- package/esm/compute/cli/commands/platform-namespace.d.ts +8 -0
- package/esm/compute/cli/commands/platform-namespace.js +434 -0
- package/esm/compute/cli/commands/resource-event.d.ts +8 -0
- package/esm/compute/cli/commands/resource-event.js +354 -0
- package/esm/compute/cli/commands/resource.d.ts +8 -0
- package/esm/compute/cli/commands/resource.js +518 -0
- package/esm/compute/cli/commands.js +13 -5
- package/esm/compute/cli/executor.d.ts +10 -6
- package/esm/compute/orm/index.d.ts +15 -7
- package/esm/compute/orm/index.js +10 -2
- package/esm/compute/orm/input-types.d.ts +1159 -221
- package/esm/compute/orm/input-types.js +4 -0
- package/esm/compute/orm/models/index.d.ts +5 -1
- package/esm/compute/orm/models/index.js +5 -1
- package/esm/compute/orm/models/platformNamespace.d.ts +54 -0
- package/esm/compute/orm/models/platformNamespace.js +100 -0
- package/esm/compute/orm/models/platformNamespaceEvent.d.ts +56 -0
- package/esm/compute/orm/models/platformNamespaceEvent.js +103 -0
- package/esm/compute/orm/models/resource.d.ts +54 -0
- package/esm/compute/orm/models/resource.js +100 -0
- package/esm/compute/orm/models/resourceEvent.d.ts +56 -0
- package/esm/compute/orm/models/resourceEvent.js +103 -0
- package/esm/compute/orm/mutation/index.d.ts +9 -9
- package/esm/compute/orm/mutation/index.js +12 -12
- package/esm/modules/cli/commands/merkle-store-module.js +22 -0
- package/esm/modules/cli/commands/principal-auth-module.d.ts +8 -0
- package/esm/modules/cli/commands/principal-auth-module.js +580 -0
- package/esm/modules/cli/commands/resource-module.d.ts +8 -0
- package/esm/modules/cli/commands/resource-module.js +602 -0
- package/esm/modules/cli/commands.js +9 -5
- package/esm/modules/cli/executor.d.ts +4 -2
- package/esm/modules/orm/index.d.ts +8 -4
- package/esm/modules/orm/index.js +8 -4
- package/esm/modules/orm/input-types.d.ts +868 -411
- package/esm/modules/orm/models/index.d.ts +4 -2
- package/esm/modules/orm/models/index.js +4 -2
- package/esm/modules/orm/models/principalAuthModule.d.ts +54 -0
- package/esm/modules/orm/models/principalAuthModule.js +100 -0
- package/esm/modules/orm/models/resourceModule.d.ts +54 -0
- package/esm/modules/orm/models/resourceModule.js +100 -0
- package/modules/cli/commands/merkle-store-module.js +22 -0
- package/modules/cli/commands/principal-auth-module.d.ts +8 -0
- package/modules/cli/commands/principal-auth-module.js +582 -0
- package/modules/cli/commands/resource-module.d.ts +8 -0
- package/modules/cli/commands/resource-module.js +604 -0
- package/modules/cli/commands.js +9 -5
- package/modules/cli/executor.d.ts +4 -2
- package/modules/orm/index.d.ts +8 -4
- package/modules/orm/index.js +8 -4
- package/modules/orm/input-types.d.ts +868 -411
- package/modules/orm/models/index.d.ts +4 -2
- package/modules/orm/models/index.js +10 -6
- package/modules/orm/models/principalAuthModule.d.ts +54 -0
- package/modules/orm/models/principalAuthModule.js +104 -0
- package/modules/orm/models/resourceModule.d.ts +54 -0
- package/modules/orm/models/resourceModule.js +104 -0
- package/package.json +5 -5
|
@@ -38,6 +38,18 @@ export function createMutationOperations(client) {
|
|
|
38
38
|
},
|
|
39
39
|
], connectionFieldsMap, 'CheckPasswordPayload'),
|
|
40
40
|
}),
|
|
41
|
+
deleteOrgPrincipal: (args, options) => new QueryBuilder({
|
|
42
|
+
client,
|
|
43
|
+
operation: 'mutation',
|
|
44
|
+
operationName: 'DeleteOrgPrincipal',
|
|
45
|
+
fieldName: 'deleteOrgPrincipal',
|
|
46
|
+
...buildCustomDocument('mutation', 'DeleteOrgPrincipal', 'deleteOrgPrincipal', options.select, args, [
|
|
47
|
+
{
|
|
48
|
+
name: 'input',
|
|
49
|
+
type: 'DeleteOrgPrincipalInput!',
|
|
50
|
+
},
|
|
51
|
+
], connectionFieldsMap, 'DeleteOrgPrincipalPayload'),
|
|
52
|
+
}),
|
|
41
53
|
disconnectAccount: (args, options) => new QueryBuilder({
|
|
42
54
|
client,
|
|
43
55
|
operation: 'mutation',
|
|
@@ -110,6 +122,18 @@ export function createMutationOperations(client) {
|
|
|
110
122
|
},
|
|
111
123
|
], connectionFieldsMap, 'ConfirmDeleteAccountPayload'),
|
|
112
124
|
}),
|
|
125
|
+
revokeOrgApiKey: (args, options) => new QueryBuilder({
|
|
126
|
+
client,
|
|
127
|
+
operation: 'mutation',
|
|
128
|
+
operationName: 'RevokeOrgApiKey',
|
|
129
|
+
fieldName: 'revokeOrgApiKey',
|
|
130
|
+
...buildCustomDocument('mutation', 'RevokeOrgApiKey', 'revokeOrgApiKey', options.select, args, [
|
|
131
|
+
{
|
|
132
|
+
name: 'input',
|
|
133
|
+
type: 'RevokeOrgApiKeyInput!',
|
|
134
|
+
},
|
|
135
|
+
], connectionFieldsMap, 'RevokeOrgApiKeyPayload'),
|
|
136
|
+
}),
|
|
113
137
|
setPassword: (args, options) => new QueryBuilder({
|
|
114
138
|
client,
|
|
115
139
|
operation: 'mutation',
|
|
@@ -230,6 +254,18 @@ export function createMutationOperations(client) {
|
|
|
230
254
|
},
|
|
231
255
|
], connectionFieldsMap, 'LinkIdentityPayload'),
|
|
232
256
|
}),
|
|
257
|
+
createOrgPrincipal: (args, options) => new QueryBuilder({
|
|
258
|
+
client,
|
|
259
|
+
operation: 'mutation',
|
|
260
|
+
operationName: 'CreateOrgPrincipal',
|
|
261
|
+
fieldName: 'createOrgPrincipal',
|
|
262
|
+
...buildCustomDocument('mutation', 'CreateOrgPrincipal', 'createOrgPrincipal', options.select, args, [
|
|
263
|
+
{
|
|
264
|
+
name: 'input',
|
|
265
|
+
type: 'CreateOrgPrincipalInput!',
|
|
266
|
+
},
|
|
267
|
+
], connectionFieldsMap, 'CreateOrgPrincipalPayload'),
|
|
268
|
+
}),
|
|
233
269
|
extendTokenExpires: (args, options) => new QueryBuilder({
|
|
234
270
|
client,
|
|
235
271
|
operation: 'mutation',
|
|
@@ -242,6 +278,18 @@ export function createMutationOperations(client) {
|
|
|
242
278
|
},
|
|
243
279
|
], connectionFieldsMap, 'ExtendTokenExpiresPayload'),
|
|
244
280
|
}),
|
|
281
|
+
createOrgApiKey: (args, options) => new QueryBuilder({
|
|
282
|
+
client,
|
|
283
|
+
operation: 'mutation',
|
|
284
|
+
operationName: 'CreateOrgApiKey',
|
|
285
|
+
fieldName: 'createOrgApiKey',
|
|
286
|
+
...buildCustomDocument('mutation', 'CreateOrgApiKey', 'createOrgApiKey', options.select, args, [
|
|
287
|
+
{
|
|
288
|
+
name: 'input',
|
|
289
|
+
type: 'CreateOrgApiKeyInput!',
|
|
290
|
+
},
|
|
291
|
+
], connectionFieldsMap, 'CreateOrgApiKeyPayload'),
|
|
292
|
+
}),
|
|
245
293
|
createApiKey: (args, options) => new QueryBuilder({
|
|
246
294
|
client,
|
|
247
295
|
operation: 'mutation',
|
|
@@ -16,15 +16,15 @@ export declare function createQueryOperations(client: OrmClient): {
|
|
|
16
16
|
}) => QueryBuilder<{
|
|
17
17
|
currentUserAgent: string | null;
|
|
18
18
|
}>;
|
|
19
|
-
|
|
19
|
+
currentUserId: (options?: {
|
|
20
20
|
select?: Record<string, unknown>;
|
|
21
21
|
}) => QueryBuilder<{
|
|
22
|
-
|
|
22
|
+
currentUserId: string | null;
|
|
23
23
|
}>;
|
|
24
|
-
|
|
24
|
+
currentIpAddress: (options?: {
|
|
25
25
|
select?: Record<string, unknown>;
|
|
26
26
|
}) => QueryBuilder<{
|
|
27
|
-
|
|
27
|
+
currentIpAddress: string | null;
|
|
28
28
|
}>;
|
|
29
29
|
requireStepUp: (args: RequireStepUpVariables, options?: {
|
|
30
30
|
select?: Record<string, unknown>;
|
|
@@ -9,13 +9,6 @@ export function createQueryOperations(client) {
|
|
|
9
9
|
fieldName: 'currentUserAgent',
|
|
10
10
|
...buildCustomDocument('query', 'CurrentUserAgent', 'currentUserAgent', options?.select, undefined, [], connectionFieldsMap, undefined),
|
|
11
11
|
}),
|
|
12
|
-
currentIpAddress: (options) => new QueryBuilder({
|
|
13
|
-
client,
|
|
14
|
-
operation: 'query',
|
|
15
|
-
operationName: 'CurrentIpAddress',
|
|
16
|
-
fieldName: 'currentIpAddress',
|
|
17
|
-
...buildCustomDocument('query', 'CurrentIpAddress', 'currentIpAddress', options?.select, undefined, [], connectionFieldsMap, undefined),
|
|
18
|
-
}),
|
|
19
12
|
currentUserId: (options) => new QueryBuilder({
|
|
20
13
|
client,
|
|
21
14
|
operation: 'query',
|
|
@@ -23,6 +16,13 @@ export function createQueryOperations(client) {
|
|
|
23
16
|
fieldName: 'currentUserId',
|
|
24
17
|
...buildCustomDocument('query', 'CurrentUserId', 'currentUserId', options?.select, undefined, [], connectionFieldsMap, undefined),
|
|
25
18
|
}),
|
|
19
|
+
currentIpAddress: (options) => new QueryBuilder({
|
|
20
|
+
client,
|
|
21
|
+
operation: 'query',
|
|
22
|
+
operationName: 'CurrentIpAddress',
|
|
23
|
+
fieldName: 'currentIpAddress',
|
|
24
|
+
...buildCustomDocument('query', 'CurrentIpAddress', 'currentIpAddress', options?.select, undefined, [], connectionFieldsMap, undefined),
|
|
25
|
+
}),
|
|
26
26
|
requireStepUp: (args, options) => new QueryBuilder({
|
|
27
27
|
client,
|
|
28
28
|
operation: 'query',
|
|
@@ -12,7 +12,6 @@ const fieldSchema = {
|
|
|
12
12
|
graphId: 'uuid',
|
|
13
13
|
invocationId: 'uuid',
|
|
14
14
|
databaseId: 'uuid',
|
|
15
|
-
entityId: 'uuid',
|
|
16
15
|
outputNode: 'string',
|
|
17
16
|
outputPort: 'string',
|
|
18
17
|
status: 'string',
|
|
@@ -79,7 +78,6 @@ async function handleList(argv, _prompter) {
|
|
|
79
78
|
graphId: true,
|
|
80
79
|
invocationId: true,
|
|
81
80
|
databaseId: true,
|
|
82
|
-
entityId: true,
|
|
83
81
|
outputNode: true,
|
|
84
82
|
outputPort: true,
|
|
85
83
|
status: true,
|
|
@@ -120,7 +118,6 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
120
118
|
graphId: true,
|
|
121
119
|
invocationId: true,
|
|
122
120
|
databaseId: true,
|
|
123
|
-
entityId: true,
|
|
124
121
|
outputNode: true,
|
|
125
122
|
outputPort: true,
|
|
126
123
|
status: true,
|
|
@@ -173,7 +170,6 @@ async function handleGet(argv, prompter) {
|
|
|
173
170
|
graphId: true,
|
|
174
171
|
invocationId: true,
|
|
175
172
|
databaseId: true,
|
|
176
|
-
entityId: true,
|
|
177
173
|
outputNode: true,
|
|
178
174
|
outputPort: true,
|
|
179
175
|
status: true,
|
|
@@ -234,13 +230,6 @@ async function handleCreate(argv, prompter) {
|
|
|
234
230
|
message: 'databaseId',
|
|
235
231
|
required: true,
|
|
236
232
|
},
|
|
237
|
-
{
|
|
238
|
-
type: 'text',
|
|
239
|
-
name: 'entityId',
|
|
240
|
-
message: 'entityId',
|
|
241
|
-
required: false,
|
|
242
|
-
skipPrompt: true,
|
|
243
|
-
},
|
|
244
233
|
{
|
|
245
234
|
type: 'text',
|
|
246
235
|
name: 'outputNode',
|
|
@@ -377,7 +366,6 @@ async function handleCreate(argv, prompter) {
|
|
|
377
366
|
graphId: cleanedData.graphId,
|
|
378
367
|
invocationId: cleanedData.invocationId,
|
|
379
368
|
databaseId: cleanedData.databaseId,
|
|
380
|
-
entityId: cleanedData.entityId,
|
|
381
369
|
outputNode: cleanedData.outputNode,
|
|
382
370
|
outputPort: cleanedData.outputPort,
|
|
383
371
|
status: cleanedData.status,
|
|
@@ -403,7 +391,6 @@ async function handleCreate(argv, prompter) {
|
|
|
403
391
|
graphId: true,
|
|
404
392
|
invocationId: true,
|
|
405
393
|
databaseId: true,
|
|
406
|
-
entityId: true,
|
|
407
394
|
outputNode: true,
|
|
408
395
|
outputPort: true,
|
|
409
396
|
status: true,
|
|
@@ -469,13 +456,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
469
456
|
message: 'databaseId',
|
|
470
457
|
required: false,
|
|
471
458
|
},
|
|
472
|
-
{
|
|
473
|
-
type: 'text',
|
|
474
|
-
name: 'entityId',
|
|
475
|
-
message: 'entityId',
|
|
476
|
-
required: false,
|
|
477
|
-
skipPrompt: true,
|
|
478
|
-
},
|
|
479
459
|
{
|
|
480
460
|
type: 'text',
|
|
481
461
|
name: 'outputNode',
|
|
@@ -615,7 +595,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
615
595
|
graphId: cleanedData.graphId,
|
|
616
596
|
invocationId: cleanedData.invocationId,
|
|
617
597
|
databaseId: cleanedData.databaseId,
|
|
618
|
-
entityId: cleanedData.entityId,
|
|
619
598
|
outputNode: cleanedData.outputNode,
|
|
620
599
|
outputPort: cleanedData.outputPort,
|
|
621
600
|
status: cleanedData.status,
|
|
@@ -641,7 +620,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
641
620
|
graphId: true,
|
|
642
621
|
invocationId: true,
|
|
643
622
|
databaseId: true,
|
|
644
|
-
entityId: true,
|
|
645
623
|
outputNode: true,
|
|
646
624
|
outputPort: true,
|
|
647
625
|
status: true,
|
|
@@ -10,7 +10,6 @@ const fieldSchema = {
|
|
|
10
10
|
id: 'uuid',
|
|
11
11
|
databaseId: 'uuid',
|
|
12
12
|
storeId: 'uuid',
|
|
13
|
-
entityId: 'uuid',
|
|
14
13
|
context: 'string',
|
|
15
14
|
name: 'string',
|
|
16
15
|
description: 'string',
|
|
@@ -66,7 +65,6 @@ async function handleList(argv, _prompter) {
|
|
|
66
65
|
id: true,
|
|
67
66
|
databaseId: true,
|
|
68
67
|
storeId: true,
|
|
69
|
-
entityId: true,
|
|
70
68
|
context: true,
|
|
71
69
|
name: true,
|
|
72
70
|
description: true,
|
|
@@ -96,7 +94,6 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
96
94
|
id: true,
|
|
97
95
|
databaseId: true,
|
|
98
96
|
storeId: true,
|
|
99
|
-
entityId: true,
|
|
100
97
|
context: true,
|
|
101
98
|
name: true,
|
|
102
99
|
description: true,
|
|
@@ -138,7 +135,6 @@ async function handleGet(argv, prompter) {
|
|
|
138
135
|
id: true,
|
|
139
136
|
databaseId: true,
|
|
140
137
|
storeId: true,
|
|
141
|
-
entityId: true,
|
|
142
138
|
context: true,
|
|
143
139
|
name: true,
|
|
144
140
|
description: true,
|
|
@@ -176,12 +172,6 @@ async function handleCreate(argv, prompter) {
|
|
|
176
172
|
message: 'storeId',
|
|
177
173
|
required: true,
|
|
178
174
|
},
|
|
179
|
-
{
|
|
180
|
-
type: 'text',
|
|
181
|
-
name: 'entityId',
|
|
182
|
-
message: 'entityId',
|
|
183
|
-
required: true,
|
|
184
|
-
},
|
|
185
175
|
{
|
|
186
176
|
type: 'text',
|
|
187
177
|
name: 'context',
|
|
@@ -233,7 +223,6 @@ async function handleCreate(argv, prompter) {
|
|
|
233
223
|
data: {
|
|
234
224
|
databaseId: cleanedData.databaseId,
|
|
235
225
|
storeId: cleanedData.storeId,
|
|
236
|
-
entityId: cleanedData.entityId,
|
|
237
226
|
context: cleanedData.context,
|
|
238
227
|
name: cleanedData.name,
|
|
239
228
|
description: cleanedData.description,
|
|
@@ -246,7 +235,6 @@ async function handleCreate(argv, prompter) {
|
|
|
246
235
|
id: true,
|
|
247
236
|
databaseId: true,
|
|
248
237
|
storeId: true,
|
|
249
|
-
entityId: true,
|
|
250
238
|
context: true,
|
|
251
239
|
name: true,
|
|
252
240
|
description: true,
|
|
@@ -290,12 +278,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
290
278
|
message: 'storeId',
|
|
291
279
|
required: false,
|
|
292
280
|
},
|
|
293
|
-
{
|
|
294
|
-
type: 'text',
|
|
295
|
-
name: 'entityId',
|
|
296
|
-
message: 'entityId',
|
|
297
|
-
required: false,
|
|
298
|
-
},
|
|
299
281
|
{
|
|
300
282
|
type: 'text',
|
|
301
283
|
name: 'context',
|
|
@@ -350,7 +332,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
350
332
|
data: {
|
|
351
333
|
databaseId: cleanedData.databaseId,
|
|
352
334
|
storeId: cleanedData.storeId,
|
|
353
|
-
entityId: cleanedData.entityId,
|
|
354
335
|
context: cleanedData.context,
|
|
355
336
|
name: cleanedData.name,
|
|
356
337
|
description: cleanedData.description,
|
|
@@ -363,7 +344,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
363
344
|
id: true,
|
|
364
345
|
databaseId: true,
|
|
365
346
|
storeId: true,
|
|
366
|
-
entityId: true,
|
|
367
347
|
context: true,
|
|
368
348
|
name: true,
|
|
369
349
|
description: true,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI commands for PlatformNamespaceEvent
|
|
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;
|