@constructive-sdk/cli 1.9.1 → 1.9.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/platform-api-module.d.ts → admin/cli/commands/org-chart-edge-grant.d.ts} +1 -1
- package/{api/cli/commands/platform-api-module.js → admin/cli/commands/org-chart-edge-grant.js} +137 -53
- package/{esm/api/cli/commands/platform-api-module.d.ts → admin/cli/commands/org-chart-edge.d.ts} +1 -1
- package/{api/cli/commands/api-module.js → admin/cli/commands/org-chart-edge.js} +86 -60
- package/admin/cli/commands/org-get-managers-record.d.ts +8 -0
- package/admin/cli/commands/org-get-managers-record.js +126 -0
- package/admin/cli/commands/org-get-subordinates-record.d.ts +8 -0
- package/admin/cli/commands/org-get-subordinates-record.js +126 -0
- package/admin/cli/commands/org-is-manager-of.d.ts +8 -0
- package/admin/cli/commands/org-is-manager-of.js +45 -0
- package/admin/cli/commands.js +11 -1
- package/admin/cli/executor.d.ts +9 -0
- package/admin/orm/index.d.ts +13 -0
- package/admin/orm/index.js +8 -0
- package/admin/orm/input-types.d.ts +399 -0
- package/admin/orm/models/index.d.ts +4 -0
- package/admin/orm/models/index.js +9 -1
- package/admin/orm/models/orgChartEdge.d.ts +54 -0
- package/admin/orm/models/orgChartEdge.js +104 -0
- package/admin/orm/models/orgChartEdgeGrant.d.ts +54 -0
- package/{api/orm/models/platformApiModule.js → admin/orm/models/orgChartEdgeGrant.js} +27 -27
- package/admin/orm/models/orgGetManagersRecord.d.ts +30 -0
- package/admin/orm/models/orgGetManagersRecord.js +59 -0
- package/admin/orm/models/orgGetSubordinatesRecord.d.ts +30 -0
- package/admin/orm/models/orgGetSubordinatesRecord.js +59 -0
- package/admin/orm/query/index.d.ts +11 -0
- package/admin/orm/query/index.js +24 -0
- package/api/cli/commands/{api-module.d.ts → domain-type.d.ts} +1 -1
- package/api/cli/commands/domain-type.js +466 -0
- package/api/cli/commands/table.js +22 -0
- package/api/cli/commands.js +3 -5
- package/api/cli/executor.d.ts +1 -2
- package/api/orm/index.d.ts +2 -4
- package/api/orm/index.js +2 -4
- package/api/orm/input-types.d.ts +378 -468
- package/api/orm/input-types.js +2 -2
- package/api/orm/models/domainType.d.ts +54 -0
- package/api/orm/models/{apiModule.js → domainType.js} +27 -27
- package/api/orm/models/index.d.ts +1 -2
- package/api/orm/models/index.js +4 -6
- package/compute/cli/commands/function-api-binding.js +12 -0
- package/compute/cli/commands/platform-function-api-binding.js +12 -0
- package/compute/cli/commands/platform-function-invocation.js +22 -0
- package/compute/orm/input-types.d.ts +42 -3
- package/esm/admin/cli/commands/org-chart-edge-grant.d.ts +8 -0
- package/esm/{api/cli/commands/platform-api-module.js → admin/cli/commands/org-chart-edge-grant.js} +137 -53
- package/esm/admin/cli/commands/org-chart-edge.d.ts +8 -0
- package/esm/{api/cli/commands/api-module.js → admin/cli/commands/org-chart-edge.js} +86 -60
- package/esm/admin/cli/commands/org-get-managers-record.d.ts +8 -0
- package/esm/admin/cli/commands/org-get-managers-record.js +124 -0
- package/esm/admin/cli/commands/org-get-subordinates-record.d.ts +8 -0
- package/esm/admin/cli/commands/org-get-subordinates-record.js +124 -0
- package/esm/admin/cli/commands/org-is-manager-of.d.ts +8 -0
- package/esm/admin/cli/commands/org-is-manager-of.js +43 -0
- package/esm/admin/cli/commands.js +11 -1
- package/esm/admin/cli/executor.d.ts +9 -0
- package/esm/admin/orm/index.d.ts +13 -0
- package/esm/admin/orm/index.js +8 -0
- package/esm/admin/orm/input-types.d.ts +399 -0
- package/esm/admin/orm/models/index.d.ts +4 -0
- package/esm/admin/orm/models/index.js +4 -0
- package/esm/admin/orm/models/orgChartEdge.d.ts +54 -0
- package/esm/admin/orm/models/orgChartEdge.js +100 -0
- package/esm/admin/orm/models/orgChartEdgeGrant.d.ts +54 -0
- package/esm/{api/orm/models/platformApiModule.js → admin/orm/models/orgChartEdgeGrant.js} +25 -25
- package/esm/admin/orm/models/orgGetManagersRecord.d.ts +30 -0
- package/esm/admin/orm/models/orgGetManagersRecord.js +55 -0
- package/esm/admin/orm/models/orgGetSubordinatesRecord.d.ts +30 -0
- package/esm/admin/orm/models/orgGetSubordinatesRecord.js +55 -0
- package/esm/admin/orm/query/index.d.ts +11 -0
- package/esm/admin/orm/query/index.js +24 -0
- package/esm/api/cli/commands/{api-module.d.ts → domain-type.d.ts} +1 -1
- package/esm/api/cli/commands/domain-type.js +464 -0
- package/esm/api/cli/commands/table.js +22 -0
- package/esm/api/cli/commands.js +3 -5
- package/esm/api/cli/executor.d.ts +1 -2
- package/esm/api/orm/index.d.ts +2 -4
- package/esm/api/orm/index.js +2 -4
- package/esm/api/orm/input-types.d.ts +378 -468
- package/esm/api/orm/input-types.js +2 -2
- package/esm/api/orm/models/domainType.d.ts +54 -0
- package/esm/api/orm/models/{apiModule.js → domainType.js} +25 -25
- package/esm/api/orm/models/index.d.ts +1 -2
- package/esm/api/orm/models/index.js +1 -2
- package/esm/compute/cli/commands/function-api-binding.js +12 -0
- package/esm/compute/cli/commands/platform-function-api-binding.js +12 -0
- package/esm/compute/cli/commands/platform-function-invocation.js +22 -0
- package/esm/compute/orm/input-types.d.ts +42 -3
- package/esm/modules/cli/commands/api-surface-module.js +0 -44
- package/esm/modules/cli/commands/billing-module.js +22 -0
- package/esm/modules/orm/input-types.d.ts +9 -16
- package/modules/cli/commands/api-surface-module.js +0 -44
- package/modules/cli/commands/billing-module.js +22 -0
- package/modules/orm/input-types.d.ts +9 -16
- package/package.json +5 -5
- package/api/orm/models/apiModule.d.ts +0 -54
- package/api/orm/models/platformApiModule.d.ts +0 -54
- package/esm/api/orm/models/apiModule.d.ts +0 -54
- package/esm/api/orm/models/platformApiModule.d.ts +0 -54
|
@@ -9,8 +9,6 @@ const inquirerer_1 = require("inquirerer");
|
|
|
9
9
|
const executor_1 = require("../executor");
|
|
10
10
|
const utils_1 = require("../utils");
|
|
11
11
|
const fieldSchema = {
|
|
12
|
-
apiModulesTableId: 'uuid',
|
|
13
|
-
apiModulesTableName: 'string',
|
|
14
12
|
apiName: 'string',
|
|
15
13
|
apiSchemasTableId: 'uuid',
|
|
16
14
|
apiSchemasTableName: 'string',
|
|
@@ -76,8 +74,6 @@ async function handleTableSubcommand(subcommand, argv, prompter) {
|
|
|
76
74
|
async function handleList(argv, _prompter) {
|
|
77
75
|
try {
|
|
78
76
|
const defaultSelect = {
|
|
79
|
-
apiModulesTableId: true,
|
|
80
|
-
apiModulesTableName: true,
|
|
81
77
|
apiName: true,
|
|
82
78
|
apiSchemasTableId: true,
|
|
83
79
|
apiSchemasTableName: true,
|
|
@@ -117,8 +113,6 @@ async function handleList(argv, _prompter) {
|
|
|
117
113
|
async function handleFindFirst(argv, _prompter) {
|
|
118
114
|
try {
|
|
119
115
|
const defaultSelect = {
|
|
120
|
-
apiModulesTableId: true,
|
|
121
|
-
apiModulesTableName: true,
|
|
122
116
|
apiName: true,
|
|
123
117
|
apiSchemasTableId: true,
|
|
124
118
|
apiSchemasTableName: true,
|
|
@@ -170,8 +164,6 @@ async function handleGet(argv, prompter) {
|
|
|
170
164
|
.findOne({
|
|
171
165
|
id: answers.id,
|
|
172
166
|
select: {
|
|
173
|
-
apiModulesTableId: true,
|
|
174
|
-
apiModulesTableName: true,
|
|
175
167
|
apiName: true,
|
|
176
168
|
apiSchemasTableId: true,
|
|
177
169
|
apiSchemasTableName: true,
|
|
@@ -210,20 +202,6 @@ async function handleGet(argv, prompter) {
|
|
|
210
202
|
async function handleCreate(argv, prompter) {
|
|
211
203
|
try {
|
|
212
204
|
const rawAnswers = await prompter.prompt(argv, [
|
|
213
|
-
{
|
|
214
|
-
type: 'text',
|
|
215
|
-
name: 'apiModulesTableId',
|
|
216
|
-
message: 'apiModulesTableId',
|
|
217
|
-
required: false,
|
|
218
|
-
skipPrompt: true,
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
type: 'text',
|
|
222
|
-
name: 'apiModulesTableName',
|
|
223
|
-
message: 'apiModulesTableName',
|
|
224
|
-
required: false,
|
|
225
|
-
skipPrompt: true,
|
|
226
|
-
},
|
|
227
205
|
{
|
|
228
206
|
type: 'text',
|
|
229
207
|
name: 'apiName',
|
|
@@ -376,8 +354,6 @@ async function handleCreate(argv, prompter) {
|
|
|
376
354
|
const result = await client.apiSurfaceModule
|
|
377
355
|
.create({
|
|
378
356
|
data: {
|
|
379
|
-
apiModulesTableId: cleanedData.apiModulesTableId,
|
|
380
|
-
apiModulesTableName: cleanedData.apiModulesTableName,
|
|
381
357
|
apiName: cleanedData.apiName,
|
|
382
358
|
apiSchemasTableId: cleanedData.apiSchemasTableId,
|
|
383
359
|
apiSchemasTableName: cleanedData.apiSchemasTableName,
|
|
@@ -401,8 +377,6 @@ async function handleCreate(argv, prompter) {
|
|
|
401
377
|
scope: cleanedData.scope,
|
|
402
378
|
},
|
|
403
379
|
select: {
|
|
404
|
-
apiModulesTableId: true,
|
|
405
|
-
apiModulesTableName: true,
|
|
406
380
|
apiName: true,
|
|
407
381
|
apiSchemasTableId: true,
|
|
408
382
|
apiSchemasTableName: true,
|
|
@@ -447,20 +421,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
447
421
|
message: 'id',
|
|
448
422
|
required: true,
|
|
449
423
|
},
|
|
450
|
-
{
|
|
451
|
-
type: 'text',
|
|
452
|
-
name: 'apiModulesTableId',
|
|
453
|
-
message: 'apiModulesTableId',
|
|
454
|
-
required: false,
|
|
455
|
-
skipPrompt: true,
|
|
456
|
-
},
|
|
457
|
-
{
|
|
458
|
-
type: 'text',
|
|
459
|
-
name: 'apiModulesTableName',
|
|
460
|
-
message: 'apiModulesTableName',
|
|
461
|
-
required: false,
|
|
462
|
-
skipPrompt: true,
|
|
463
|
-
},
|
|
464
424
|
{
|
|
465
425
|
type: 'text',
|
|
466
426
|
name: 'apiName',
|
|
@@ -616,8 +576,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
616
576
|
id: answers.id,
|
|
617
577
|
},
|
|
618
578
|
data: {
|
|
619
|
-
apiModulesTableId: cleanedData.apiModulesTableId,
|
|
620
|
-
apiModulesTableName: cleanedData.apiModulesTableName,
|
|
621
579
|
apiName: cleanedData.apiName,
|
|
622
580
|
apiSchemasTableId: cleanedData.apiSchemasTableId,
|
|
623
581
|
apiSchemasTableName: cleanedData.apiSchemasTableName,
|
|
@@ -641,8 +599,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
641
599
|
scope: cleanedData.scope,
|
|
642
600
|
},
|
|
643
601
|
select: {
|
|
644
|
-
apiModulesTableId: true,
|
|
645
|
-
apiModulesTableName: true,
|
|
646
602
|
apiName: true,
|
|
647
603
|
apiSchemasTableId: true,
|
|
648
604
|
apiSchemasTableName: true,
|
|
@@ -13,6 +13,7 @@ const fieldSchema = {
|
|
|
13
13
|
balancesTableId: 'uuid',
|
|
14
14
|
balancesTableName: 'string',
|
|
15
15
|
databaseId: 'uuid',
|
|
16
|
+
defaultMeterCatalog: 'json',
|
|
16
17
|
defaultPermissions: 'string',
|
|
17
18
|
id: 'uuid',
|
|
18
19
|
ledgerTableId: 'uuid',
|
|
@@ -83,6 +84,7 @@ async function handleList(argv, _prompter) {
|
|
|
83
84
|
balancesTableId: true,
|
|
84
85
|
balancesTableName: true,
|
|
85
86
|
databaseId: true,
|
|
87
|
+
defaultMeterCatalog: true,
|
|
86
88
|
defaultPermissions: true,
|
|
87
89
|
id: true,
|
|
88
90
|
ledgerTableId: true,
|
|
@@ -127,6 +129,7 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
127
129
|
balancesTableId: true,
|
|
128
130
|
balancesTableName: true,
|
|
129
131
|
databaseId: true,
|
|
132
|
+
defaultMeterCatalog: true,
|
|
130
133
|
defaultPermissions: true,
|
|
131
134
|
id: true,
|
|
132
135
|
ledgerTableId: true,
|
|
@@ -183,6 +186,7 @@ async function handleGet(argv, prompter) {
|
|
|
183
186
|
balancesTableId: true,
|
|
184
187
|
balancesTableName: true,
|
|
185
188
|
databaseId: true,
|
|
189
|
+
defaultMeterCatalog: true,
|
|
186
190
|
defaultPermissions: true,
|
|
187
191
|
id: true,
|
|
188
192
|
ledgerTableId: true,
|
|
@@ -249,6 +253,13 @@ async function handleCreate(argv, prompter) {
|
|
|
249
253
|
message: 'databaseId',
|
|
250
254
|
required: true,
|
|
251
255
|
},
|
|
256
|
+
{
|
|
257
|
+
type: 'json',
|
|
258
|
+
name: 'defaultMeterCatalog',
|
|
259
|
+
message: 'defaultMeterCatalog',
|
|
260
|
+
required: false,
|
|
261
|
+
skipPrompt: true,
|
|
262
|
+
},
|
|
252
263
|
{
|
|
253
264
|
type: 'text',
|
|
254
265
|
name: 'defaultPermissions',
|
|
@@ -414,6 +425,7 @@ async function handleCreate(argv, prompter) {
|
|
|
414
425
|
balancesTableId: cleanedData.balancesTableId,
|
|
415
426
|
balancesTableName: cleanedData.balancesTableName,
|
|
416
427
|
databaseId: cleanedData.databaseId,
|
|
428
|
+
defaultMeterCatalog: cleanedData.defaultMeterCatalog,
|
|
417
429
|
defaultPermissions: cleanedData.defaultPermissions,
|
|
418
430
|
ledgerTableId: cleanedData.ledgerTableId,
|
|
419
431
|
ledgerTableName: cleanedData.ledgerTableName,
|
|
@@ -442,6 +454,7 @@ async function handleCreate(argv, prompter) {
|
|
|
442
454
|
balancesTableId: true,
|
|
443
455
|
balancesTableName: true,
|
|
444
456
|
databaseId: true,
|
|
457
|
+
defaultMeterCatalog: true,
|
|
445
458
|
defaultPermissions: true,
|
|
446
459
|
id: true,
|
|
447
460
|
ledgerTableId: true,
|
|
@@ -514,6 +527,13 @@ async function handleUpdate(argv, prompter) {
|
|
|
514
527
|
message: 'databaseId',
|
|
515
528
|
required: false,
|
|
516
529
|
},
|
|
530
|
+
{
|
|
531
|
+
type: 'json',
|
|
532
|
+
name: 'defaultMeterCatalog',
|
|
533
|
+
message: 'defaultMeterCatalog',
|
|
534
|
+
required: false,
|
|
535
|
+
skipPrompt: true,
|
|
536
|
+
},
|
|
517
537
|
{
|
|
518
538
|
type: 'text',
|
|
519
539
|
name: 'defaultPermissions',
|
|
@@ -682,6 +702,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
682
702
|
balancesTableId: cleanedData.balancesTableId,
|
|
683
703
|
balancesTableName: cleanedData.balancesTableName,
|
|
684
704
|
databaseId: cleanedData.databaseId,
|
|
705
|
+
defaultMeterCatalog: cleanedData.defaultMeterCatalog,
|
|
685
706
|
defaultPermissions: cleanedData.defaultPermissions,
|
|
686
707
|
ledgerTableId: cleanedData.ledgerTableId,
|
|
687
708
|
ledgerTableName: cleanedData.ledgerTableName,
|
|
@@ -710,6 +731,7 @@ async function handleUpdate(argv, prompter) {
|
|
|
710
731
|
balancesTableId: true,
|
|
711
732
|
balancesTableName: true,
|
|
712
733
|
databaseId: true,
|
|
734
|
+
defaultMeterCatalog: true,
|
|
713
735
|
defaultPermissions: true,
|
|
714
736
|
id: true,
|
|
715
737
|
ledgerTableId: true,
|
|
@@ -268,8 +268,6 @@ export interface AgentModule {
|
|
|
268
268
|
threadTableName?: string | null;
|
|
269
269
|
}
|
|
270
270
|
export interface ApiSurfaceModule {
|
|
271
|
-
apiModulesTableId?: string | null;
|
|
272
|
-
apiModulesTableName?: string | null;
|
|
273
271
|
apiName?: string | null;
|
|
274
272
|
apiSchemasTableId?: string | null;
|
|
275
273
|
apiSchemasTableName?: string | null;
|
|
@@ -320,6 +318,7 @@ export interface BillingModule {
|
|
|
320
318
|
balancesTableId?: string | null;
|
|
321
319
|
balancesTableName?: string | null;
|
|
322
320
|
databaseId?: string | null;
|
|
321
|
+
defaultMeterCatalog?: Record<string, unknown> | null;
|
|
323
322
|
defaultPermissions?: string[] | null;
|
|
324
323
|
id: string;
|
|
325
324
|
ledgerTableId?: string | null;
|
|
@@ -2517,8 +2516,6 @@ export type AgentModuleSelect = {
|
|
|
2517
2516
|
threadTableName?: boolean;
|
|
2518
2517
|
};
|
|
2519
2518
|
export type ApiSurfaceModuleSelect = {
|
|
2520
|
-
apiModulesTableId?: boolean;
|
|
2521
|
-
apiModulesTableName?: boolean;
|
|
2522
2519
|
apiName?: boolean;
|
|
2523
2520
|
apiSchemasTableId?: boolean;
|
|
2524
2521
|
apiSchemasTableName?: boolean;
|
|
@@ -2575,6 +2572,7 @@ export type BillingModuleSelect = {
|
|
|
2575
2572
|
balancesTableId?: boolean;
|
|
2576
2573
|
balancesTableName?: boolean;
|
|
2577
2574
|
databaseId?: boolean;
|
|
2575
|
+
defaultMeterCatalog?: boolean;
|
|
2578
2576
|
defaultPermissions?: boolean;
|
|
2579
2577
|
id?: boolean;
|
|
2580
2578
|
ledgerTableId?: boolean;
|
|
@@ -4198,10 +4196,6 @@ export interface AgentModuleFilter {
|
|
|
4198
4196
|
export interface ApiSurfaceModuleFilter {
|
|
4199
4197
|
/** Checks for all expressions in this list. */
|
|
4200
4198
|
and?: ApiSurfaceModuleFilter[];
|
|
4201
|
-
/** Filter by the object’s `apiModulesTableId` field. */
|
|
4202
|
-
apiModulesTableId?: UUIDFilter;
|
|
4203
|
-
/** Filter by the object’s `apiModulesTableName` field. */
|
|
4204
|
-
apiModulesTableName?: StringFilter;
|
|
4205
4199
|
/** Filter by the object’s `apiName` field. */
|
|
4206
4200
|
apiName?: StringFilter;
|
|
4207
4201
|
/** Filter by the object’s `apiSchemasTableId` field. */
|
|
@@ -4318,6 +4312,8 @@ export interface BillingModuleFilter {
|
|
|
4318
4312
|
balancesTableName?: StringFilter;
|
|
4319
4313
|
/** Filter by the object’s `databaseId` field. */
|
|
4320
4314
|
databaseId?: UUIDFilter;
|
|
4315
|
+
/** Filter by the object’s `defaultMeterCatalog` field. */
|
|
4316
|
+
defaultMeterCatalog?: JSONFilter;
|
|
4321
4317
|
/** Filter by the object’s `defaultPermissions` field. */
|
|
4322
4318
|
defaultPermissions?: StringListFilter;
|
|
4323
4319
|
/** Filter by the object’s `id` field. */
|
|
@@ -7596,9 +7592,9 @@ export interface WebhookModuleFilter {
|
|
|
7596
7592
|
webhookEventsTableName?: StringFilter;
|
|
7597
7593
|
}
|
|
7598
7594
|
export type AgentModuleOrderBy = 'AGENT_TABLE_ID_ASC' | 'AGENT_TABLE_ID_DESC' | 'AGENT_TABLE_NAME_ASC' | 'AGENT_TABLE_NAME_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEFAULT_PERMISSIONS_ASC' | 'DEFAULT_PERMISSIONS_DESC' | 'ENTITY_FIELD_ASC' | 'ENTITY_FIELD_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'HAS_AGENTS_ASC' | 'HAS_AGENTS_DESC' | 'HAS_PLANS_ASC' | 'HAS_PLANS_DESC' | 'HAS_RESOURCES_ASC' | 'HAS_RESOURCES_DESC' | 'ID_ASC' | 'ID_DESC' | 'MESSAGE_TABLE_ID_ASC' | 'MESSAGE_TABLE_ID_DESC' | 'MESSAGE_TABLE_NAME_ASC' | 'MESSAGE_TABLE_NAME_DESC' | 'NATURAL' | 'PERSONA_TABLE_ID_ASC' | 'PERSONA_TABLE_ID_DESC' | 'PERSONA_TABLE_NAME_ASC' | 'PERSONA_TABLE_NAME_DESC' | 'PLAN_TABLE_ID_ASC' | 'PLAN_TABLE_ID_DESC' | 'PLAN_TABLE_NAME_ASC' | 'PLAN_TABLE_NAME_DESC' | 'POLICIES_ASC' | 'POLICIES_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'PROMPTS_TABLE_ID_ASC' | 'PROMPTS_TABLE_ID_DESC' | 'PROMPTS_TABLE_NAME_ASC' | 'PROMPTS_TABLE_NAME_DESC' | 'PROVISIONS_ASC' | 'PROVISIONS_DESC' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'RESOURCES_ASC' | 'RESOURCES_DESC' | 'RESOURCE_TABLE_ID_ASC' | 'RESOURCE_TABLE_ID_DESC' | 'RESOURCE_TABLE_NAME_ASC' | 'RESOURCE_TABLE_NAME_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'SHARED_ASC' | 'SHARED_DESC' | 'TASK_TABLE_ID_ASC' | 'TASK_TABLE_ID_DESC' | 'TASK_TABLE_NAME_ASC' | 'TASK_TABLE_NAME_DESC' | 'THREAD_TABLE_ID_ASC' | 'THREAD_TABLE_ID_DESC' | 'THREAD_TABLE_NAME_ASC' | 'THREAD_TABLE_NAME_DESC';
|
|
7599
|
-
export type ApiSurfaceModuleOrderBy = 'APIS_TABLE_ID_ASC' | 'APIS_TABLE_ID_DESC' | 'APIS_TABLE_NAME_ASC' | 'APIS_TABLE_NAME_DESC' | '
|
|
7595
|
+
export type ApiSurfaceModuleOrderBy = 'APIS_TABLE_ID_ASC' | 'APIS_TABLE_ID_DESC' | 'APIS_TABLE_NAME_ASC' | 'APIS_TABLE_NAME_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'API_SCHEMAS_TABLE_ID_ASC' | 'API_SCHEMAS_TABLE_ID_DESC' | 'API_SCHEMAS_TABLE_NAME_ASC' | 'API_SCHEMAS_TABLE_NAME_DESC' | 'API_SETTINGS_TABLE_ID_ASC' | 'API_SETTINGS_TABLE_ID_DESC' | 'API_SETTINGS_TABLE_NAME_ASC' | 'API_SETTINGS_TABLE_NAME_DESC' | 'CATALOG_MODULE_ID_ASC' | 'CATALOG_MODULE_ID_DESC' | 'CORS_SETTINGS_TABLE_ID_ASC' | 'CORS_SETTINGS_TABLE_ID_DESC' | 'CORS_SETTINGS_TABLE_NAME_ASC' | 'CORS_SETTINGS_TABLE_NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEFAULT_PERMISSIONS_ASC' | 'DEFAULT_PERMISSIONS_DESC' | 'ENTITY_FIELD_ASC' | 'ENTITY_FIELD_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'POLICIES_ASC' | 'POLICIES_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'PROVISIONS_ASC' | 'PROVISIONS_DESC' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC';
|
|
7600
7596
|
export type AppModuleOrderBy = 'API_NAME_ASC' | 'API_NAME_DESC' | 'APPS_TABLE_ID_ASC' | 'APPS_TABLE_ID_DESC' | 'APPS_TABLE_NAME_ASC' | 'APPS_TABLE_NAME_DESC' | 'APP_COMPONENTS_TABLE_ID_ASC' | 'APP_COMPONENTS_TABLE_ID_DESC' | 'APP_COMPONENTS_TABLE_NAME_ASC' | 'APP_COMPONENTS_TABLE_NAME_DESC' | 'CATALOG_MODULE_ID_ASC' | 'CATALOG_MODULE_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEFAULT_PERMISSIONS_ASC' | 'DEFAULT_PERMISSIONS_DESC' | 'ENTITY_FIELD_ASC' | 'ENTITY_FIELD_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'POLICIES_ASC' | 'POLICIES_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'PROVISIONS_ASC' | 'PROVISIONS_DESC' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC';
|
|
7601
|
-
export type BillingModuleOrderBy = 'API_NAME_ASC' | 'API_NAME_DESC' | 'BALANCES_TABLE_ID_ASC' | 'BALANCES_TABLE_ID_DESC' | 'BALANCES_TABLE_NAME_ASC' | 'BALANCES_TABLE_NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEFAULT_PERMISSIONS_ASC' | 'DEFAULT_PERMISSIONS_DESC' | 'ID_ASC' | 'ID_DESC' | 'LEDGER_TABLE_ID_ASC' | 'LEDGER_TABLE_ID_DESC' | 'LEDGER_TABLE_NAME_ASC' | 'LEDGER_TABLE_NAME_DESC' | 'METERS_TABLE_ID_ASC' | 'METERS_TABLE_ID_DESC' | 'METERS_TABLE_NAME_ASC' | 'METERS_TABLE_NAME_DESC' | 'METER_CREDITS_TABLE_ID_ASC' | 'METER_CREDITS_TABLE_ID_DESC' | 'METER_CREDITS_TABLE_NAME_ASC' | 'METER_CREDITS_TABLE_NAME_DESC' | 'METER_DEFAULTS_TABLE_ID_ASC' | 'METER_DEFAULTS_TABLE_ID_DESC' | 'METER_DEFAULTS_TABLE_NAME_ASC' | 'METER_DEFAULTS_TABLE_NAME_DESC' | 'METER_SOURCES_TABLE_ID_ASC' | 'METER_SOURCES_TABLE_ID_DESC' | 'METER_SOURCES_TABLE_NAME_ASC' | 'METER_SOURCES_TABLE_NAME_DESC' | 'NATURAL' | 'PLAN_SUBSCRIPTIONS_TABLE_ID_ASC' | 'PLAN_SUBSCRIPTIONS_TABLE_ID_DESC' | 'PLAN_SUBSCRIPTIONS_TABLE_NAME_ASC' | 'PLAN_SUBSCRIPTIONS_TABLE_NAME_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'RECORD_USAGE_FUNCTION_ASC' | 'RECORD_USAGE_FUNCTION_DESC' | 'ROLLUP_USAGE_SUMMARY_FUNCTION_ASC' | 'ROLLUP_USAGE_SUMMARY_FUNCTION_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SWEEP_EXPIRED_SUBSCRIPTIONS_FUNCTION_ASC' | 'SWEEP_EXPIRED_SUBSCRIPTIONS_FUNCTION_DESC';
|
|
7597
|
+
export type BillingModuleOrderBy = 'API_NAME_ASC' | 'API_NAME_DESC' | 'BALANCES_TABLE_ID_ASC' | 'BALANCES_TABLE_ID_DESC' | 'BALANCES_TABLE_NAME_ASC' | 'BALANCES_TABLE_NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEFAULT_METER_CATALOG_ASC' | 'DEFAULT_METER_CATALOG_DESC' | 'DEFAULT_PERMISSIONS_ASC' | 'DEFAULT_PERMISSIONS_DESC' | 'ID_ASC' | 'ID_DESC' | 'LEDGER_TABLE_ID_ASC' | 'LEDGER_TABLE_ID_DESC' | 'LEDGER_TABLE_NAME_ASC' | 'LEDGER_TABLE_NAME_DESC' | 'METERS_TABLE_ID_ASC' | 'METERS_TABLE_ID_DESC' | 'METERS_TABLE_NAME_ASC' | 'METERS_TABLE_NAME_DESC' | 'METER_CREDITS_TABLE_ID_ASC' | 'METER_CREDITS_TABLE_ID_DESC' | 'METER_CREDITS_TABLE_NAME_ASC' | 'METER_CREDITS_TABLE_NAME_DESC' | 'METER_DEFAULTS_TABLE_ID_ASC' | 'METER_DEFAULTS_TABLE_ID_DESC' | 'METER_DEFAULTS_TABLE_NAME_ASC' | 'METER_DEFAULTS_TABLE_NAME_DESC' | 'METER_SOURCES_TABLE_ID_ASC' | 'METER_SOURCES_TABLE_ID_DESC' | 'METER_SOURCES_TABLE_NAME_ASC' | 'METER_SOURCES_TABLE_NAME_DESC' | 'NATURAL' | 'PLAN_SUBSCRIPTIONS_TABLE_ID_ASC' | 'PLAN_SUBSCRIPTIONS_TABLE_ID_DESC' | 'PLAN_SUBSCRIPTIONS_TABLE_NAME_ASC' | 'PLAN_SUBSCRIPTIONS_TABLE_NAME_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'RECORD_USAGE_FUNCTION_ASC' | 'RECORD_USAGE_FUNCTION_DESC' | 'ROLLUP_USAGE_SUMMARY_FUNCTION_ASC' | 'ROLLUP_USAGE_SUMMARY_FUNCTION_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SWEEP_EXPIRED_SUBSCRIPTIONS_FUNCTION_ASC' | 'SWEEP_EXPIRED_SUBSCRIPTIONS_FUNCTION_DESC';
|
|
7602
7598
|
export type BillingProviderModuleOrderBy = 'API_NAME_ASC' | 'API_NAME_DESC' | 'BILLING_CUSTOMERS_TABLE_ID_ASC' | 'BILLING_CUSTOMERS_TABLE_ID_DESC' | 'BILLING_CUSTOMERS_TABLE_NAME_ASC' | 'BILLING_CUSTOMERS_TABLE_NAME_DESC' | 'BILLING_PRICES_TABLE_ID_ASC' | 'BILLING_PRICES_TABLE_ID_DESC' | 'BILLING_PRICES_TABLE_NAME_ASC' | 'BILLING_PRICES_TABLE_NAME_DESC' | 'BILLING_PRODUCTS_TABLE_ID_ASC' | 'BILLING_PRODUCTS_TABLE_ID_DESC' | 'BILLING_PRODUCTS_TABLE_NAME_ASC' | 'BILLING_PRODUCTS_TABLE_NAME_DESC' | 'BILLING_SUBSCRIPTIONS_TABLE_ID_ASC' | 'BILLING_SUBSCRIPTIONS_TABLE_ID_DESC' | 'BILLING_SUBSCRIPTIONS_TABLE_NAME_ASC' | 'BILLING_SUBSCRIPTIONS_TABLE_NAME_DESC' | 'BILLING_WEBHOOK_EVENTS_TABLE_ID_ASC' | 'BILLING_WEBHOOK_EVENTS_TABLE_ID_DESC' | 'BILLING_WEBHOOK_EVENTS_TABLE_NAME_ASC' | 'BILLING_WEBHOOK_EVENTS_TABLE_NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PRICES_TABLE_ID_ASC' | 'PRICES_TABLE_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'PROCESS_BILLING_EVENT_FUNCTION_ASC' | 'PROCESS_BILLING_EVENT_FUNCTION_DESC' | 'PRODUCTS_TABLE_ID_ASC' | 'PRODUCTS_TABLE_ID_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SUBSCRIPTIONS_TABLE_ID_ASC' | 'SUBSCRIPTIONS_TABLE_ID_DESC';
|
|
7603
7599
|
export type BlueprintOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEFINITION_ASC' | 'DEFINITION_DESC' | 'DEFINITION_HASH_ASC' | 'DEFINITION_HASH_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'TABLE_HASHES_ASC' | 'TABLE_HASHES_DESC' | 'TEMPLATE_ID_ASC' | 'TEMPLATE_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
7604
7600
|
export type BlueprintConstructionOrderBy = 'BLUEPRINT_ID_ASC' | 'BLUEPRINT_ID_DESC' | 'CONSTRUCTED_AT_ASC' | 'CONSTRUCTED_AT_DESC' | 'CONSTRUCTED_DEFINITION_ASC' | 'CONSTRUCTED_DEFINITION_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ERROR_DETAILS_ASC' | 'ERROR_DETAILS_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'TABLE_MAP_ASC' | 'TABLE_MAP_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
@@ -7759,8 +7755,6 @@ export interface DeleteAgentModuleInput {
|
|
|
7759
7755
|
export interface CreateApiSurfaceModuleInput {
|
|
7760
7756
|
clientMutationId?: string;
|
|
7761
7757
|
apiSurfaceModule: {
|
|
7762
|
-
apiModulesTableId?: string;
|
|
7763
|
-
apiModulesTableName?: string;
|
|
7764
7758
|
apiName?: string;
|
|
7765
7759
|
apiSchemasTableId?: string;
|
|
7766
7760
|
apiSchemasTableName?: string;
|
|
@@ -7785,8 +7779,6 @@ export interface CreateApiSurfaceModuleInput {
|
|
|
7785
7779
|
};
|
|
7786
7780
|
}
|
|
7787
7781
|
export interface ApiSurfaceModulePatch {
|
|
7788
|
-
apiModulesTableId?: string | null;
|
|
7789
|
-
apiModulesTableName?: string | null;
|
|
7790
7782
|
apiName?: string | null;
|
|
7791
7783
|
apiSchemasTableId?: string | null;
|
|
7792
7784
|
apiSchemasTableName?: string | null;
|
|
@@ -7879,6 +7871,7 @@ export interface CreateBillingModuleInput {
|
|
|
7879
7871
|
balancesTableId?: string;
|
|
7880
7872
|
balancesTableName?: string;
|
|
7881
7873
|
databaseId: string;
|
|
7874
|
+
defaultMeterCatalog?: Record<string, unknown>;
|
|
7882
7875
|
defaultPermissions?: string[];
|
|
7883
7876
|
ledgerTableId?: string;
|
|
7884
7877
|
ledgerTableName?: string;
|
|
@@ -7908,6 +7901,7 @@ export interface BillingModulePatch {
|
|
|
7908
7901
|
balancesTableId?: string | null;
|
|
7909
7902
|
balancesTableName?: string | null;
|
|
7910
7903
|
databaseId?: string | null;
|
|
7904
|
+
defaultMeterCatalog?: Record<string, unknown> | null;
|
|
7911
7905
|
defaultPermissions?: string[] | null;
|
|
7912
7906
|
ledgerTableId?: string | null;
|
|
7913
7907
|
ledgerTableName?: string | null;
|
|
@@ -11708,8 +11702,6 @@ export interface AgentModuleInput {
|
|
|
11708
11702
|
}
|
|
11709
11703
|
/** An input for mutations affecting `ApiSurfaceModule` */
|
|
11710
11704
|
export interface ApiSurfaceModuleInput {
|
|
11711
|
-
apiModulesTableId?: string;
|
|
11712
|
-
apiModulesTableName?: string;
|
|
11713
11705
|
apiName?: string;
|
|
11714
11706
|
apiSchemasTableId?: string;
|
|
11715
11707
|
apiSchemasTableName?: string;
|
|
@@ -11762,6 +11754,7 @@ export interface BillingModuleInput {
|
|
|
11762
11754
|
balancesTableId?: string;
|
|
11763
11755
|
balancesTableName?: string;
|
|
11764
11756
|
databaseId: string;
|
|
11757
|
+
defaultMeterCatalog?: Record<string, unknown>;
|
|
11765
11758
|
defaultPermissions?: string[];
|
|
11766
11759
|
id?: string;
|
|
11767
11760
|
ledgerTableId?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-sdk/cli",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.3",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "Constructive CLI SDK - Auto-generated GraphQL CLI with ORM client, context management, and interactive prompts",
|
|
6
6
|
"main": "index.js",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@0no-co/graphql.web": "^1.1.2",
|
|
48
48
|
"@agentic-kit/ollama": "2.11.0",
|
|
49
|
-
"@constructive-io/graphql-query": "^4.10.
|
|
50
|
-
"@constructive-io/graphql-types": "^3.26.
|
|
49
|
+
"@constructive-io/graphql-query": "^4.10.3",
|
|
50
|
+
"@constructive-io/graphql-types": "^3.26.2",
|
|
51
51
|
"appstash": "^0.7.0",
|
|
52
52
|
"gql-ast": "^3.21.0",
|
|
53
53
|
"graphql": "16.13.0",
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
"yanse": "^0.2.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@constructive-io/graphql-codegen": "^5.12.
|
|
59
|
+
"@constructive-io/graphql-codegen": "^5.12.3",
|
|
60
60
|
"@types/node": "^22.19.11",
|
|
61
61
|
"makage": "^0.3.0",
|
|
62
62
|
"tsx": "^4.19.0",
|
|
63
63
|
"typescript": "^5.9.3"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "0286d994d98717cb9b28842233d2db6d1e37c48e"
|
|
66
66
|
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ApiModule model for ORM client
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { OrmClient } from '../client';
|
|
7
|
-
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { ApiModuleWithRelations, ApiModuleSelect, ApiModuleFilter, ApiModuleOrderBy, CreateApiModuleInput, ApiModulePatch } from '../input-types';
|
|
10
|
-
export declare class ApiModuleModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends ApiModuleSelect>(args: FindManyArgs<S, ApiModuleFilter, ApiModuleOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, ApiModuleSelect>): QueryBuilder<{
|
|
16
|
-
apiModules: ConnectionResult<InferSelectResult<ApiModuleWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends ApiModuleSelect>(args: FindFirstArgs<S, ApiModuleFilter, ApiModuleOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, ApiModuleSelect>): QueryBuilder<{
|
|
21
|
-
apiModule: InferSelectResult<ApiModuleWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends ApiModuleSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, ApiModuleSelect>): QueryBuilder<{
|
|
27
|
-
apiModule: InferSelectResult<ApiModuleWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends ApiModuleSelect>(args: CreateArgs<S, CreateApiModuleInput['apiModule']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, ApiModuleSelect>): QueryBuilder<{
|
|
32
|
-
createApiModule: {
|
|
33
|
-
apiModule: InferSelectResult<ApiModuleWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends ApiModuleSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, ApiModulePatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, ApiModuleSelect>): QueryBuilder<{
|
|
41
|
-
updateApiModule: {
|
|
42
|
-
apiModule: InferSelectResult<ApiModuleWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends ApiModuleSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, ApiModuleSelect>): QueryBuilder<{
|
|
50
|
-
deleteApiModule: {
|
|
51
|
-
apiModule: InferSelectResult<ApiModuleWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PlatformApiModule model for ORM client
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { OrmClient } from '../client';
|
|
7
|
-
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { PlatformApiModuleWithRelations, PlatformApiModuleSelect, PlatformApiModuleFilter, PlatformApiModuleOrderBy, CreatePlatformApiModuleInput, PlatformApiModulePatch } from '../input-types';
|
|
10
|
-
export declare class PlatformApiModuleModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends PlatformApiModuleSelect>(args: FindManyArgs<S, PlatformApiModuleFilter, PlatformApiModuleOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, PlatformApiModuleSelect>): QueryBuilder<{
|
|
16
|
-
platformApiModules: ConnectionResult<InferSelectResult<PlatformApiModuleWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends PlatformApiModuleSelect>(args: FindFirstArgs<S, PlatformApiModuleFilter, PlatformApiModuleOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, PlatformApiModuleSelect>): QueryBuilder<{
|
|
21
|
-
platformApiModule: InferSelectResult<PlatformApiModuleWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends PlatformApiModuleSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, PlatformApiModuleSelect>): QueryBuilder<{
|
|
27
|
-
platformApiModule: InferSelectResult<PlatformApiModuleWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends PlatformApiModuleSelect>(args: CreateArgs<S, CreatePlatformApiModuleInput['platformApiModule']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, PlatformApiModuleSelect>): QueryBuilder<{
|
|
32
|
-
createPlatformApiModule: {
|
|
33
|
-
platformApiModule: InferSelectResult<PlatformApiModuleWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends PlatformApiModuleSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, PlatformApiModulePatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, PlatformApiModuleSelect>): QueryBuilder<{
|
|
41
|
-
updatePlatformApiModule: {
|
|
42
|
-
platformApiModule: InferSelectResult<PlatformApiModuleWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends PlatformApiModuleSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, PlatformApiModuleSelect>): QueryBuilder<{
|
|
50
|
-
deletePlatformApiModule: {
|
|
51
|
-
platformApiModule: InferSelectResult<PlatformApiModuleWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ApiModule model for ORM client
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { OrmClient } from '../client';
|
|
7
|
-
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { ApiModuleWithRelations, ApiModuleSelect, ApiModuleFilter, ApiModuleOrderBy, CreateApiModuleInput, ApiModulePatch } from '../input-types';
|
|
10
|
-
export declare class ApiModuleModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends ApiModuleSelect>(args: FindManyArgs<S, ApiModuleFilter, ApiModuleOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, ApiModuleSelect>): QueryBuilder<{
|
|
16
|
-
apiModules: ConnectionResult<InferSelectResult<ApiModuleWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends ApiModuleSelect>(args: FindFirstArgs<S, ApiModuleFilter, ApiModuleOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, ApiModuleSelect>): QueryBuilder<{
|
|
21
|
-
apiModule: InferSelectResult<ApiModuleWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends ApiModuleSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, ApiModuleSelect>): QueryBuilder<{
|
|
27
|
-
apiModule: InferSelectResult<ApiModuleWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends ApiModuleSelect>(args: CreateArgs<S, CreateApiModuleInput['apiModule']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, ApiModuleSelect>): QueryBuilder<{
|
|
32
|
-
createApiModule: {
|
|
33
|
-
apiModule: InferSelectResult<ApiModuleWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends ApiModuleSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, ApiModulePatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, ApiModuleSelect>): QueryBuilder<{
|
|
41
|
-
updateApiModule: {
|
|
42
|
-
apiModule: InferSelectResult<ApiModuleWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends ApiModuleSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, ApiModuleSelect>): QueryBuilder<{
|
|
50
|
-
deleteApiModule: {
|
|
51
|
-
apiModule: InferSelectResult<ApiModuleWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* PlatformApiModule model for ORM client
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { OrmClient } from '../client';
|
|
7
|
-
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { PlatformApiModuleWithRelations, PlatformApiModuleSelect, PlatformApiModuleFilter, PlatformApiModuleOrderBy, CreatePlatformApiModuleInput, PlatformApiModulePatch } from '../input-types';
|
|
10
|
-
export declare class PlatformApiModuleModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends PlatformApiModuleSelect>(args: FindManyArgs<S, PlatformApiModuleFilter, PlatformApiModuleOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, PlatformApiModuleSelect>): QueryBuilder<{
|
|
16
|
-
platformApiModules: ConnectionResult<InferSelectResult<PlatformApiModuleWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends PlatformApiModuleSelect>(args: FindFirstArgs<S, PlatformApiModuleFilter, PlatformApiModuleOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, PlatformApiModuleSelect>): QueryBuilder<{
|
|
21
|
-
platformApiModule: InferSelectResult<PlatformApiModuleWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends PlatformApiModuleSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, PlatformApiModuleSelect>): QueryBuilder<{
|
|
27
|
-
platformApiModule: InferSelectResult<PlatformApiModuleWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends PlatformApiModuleSelect>(args: CreateArgs<S, CreatePlatformApiModuleInput['platformApiModule']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, PlatformApiModuleSelect>): QueryBuilder<{
|
|
32
|
-
createPlatformApiModule: {
|
|
33
|
-
platformApiModule: InferSelectResult<PlatformApiModuleWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends PlatformApiModuleSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, PlatformApiModulePatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, PlatformApiModuleSelect>): QueryBuilder<{
|
|
41
|
-
updatePlatformApiModule: {
|
|
42
|
-
platformApiModule: InferSelectResult<PlatformApiModuleWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends PlatformApiModuleSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, PlatformApiModuleSelect>): QueryBuilder<{
|
|
50
|
-
deletePlatformApiModule: {
|
|
51
|
-
platformApiModule: InferSelectResult<PlatformApiModuleWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|