@constructive-sdk/cli 0.25.8 → 0.25.10

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.
Files changed (229) hide show
  1. package/admin/cli/commands/app-admin-grant.js +3 -1
  2. package/admin/cli/commands/app-grant.js +3 -1
  3. package/admin/cli/commands/app-invite.js +44 -0
  4. package/admin/cli/commands/app-owner-grant.js +3 -1
  5. package/admin/cli/commands/app-permission-default-grant.d.ts +8 -0
  6. package/admin/cli/commands/app-permission-default-grant.js +286 -0
  7. package/admin/cli/commands/app-permission-default-permission.d.ts +8 -0
  8. package/admin/cli/commands/app-permission-default-permission.js +242 -0
  9. package/admin/cli/commands/org-admin-grant.js +3 -1
  10. package/admin/cli/commands/org-grant.js +3 -1
  11. package/admin/cli/commands/org-invite.js +44 -0
  12. package/admin/cli/commands/org-owner-grant.js +3 -1
  13. package/admin/cli/commands/org-permission-default-grant.d.ts +8 -0
  14. package/admin/cli/commands/org-permission-default-grant.js +306 -0
  15. package/admin/cli/commands/org-permission-default-permission.d.ts +8 -0
  16. package/admin/cli/commands/org-permission-default-permission.js +262 -0
  17. package/admin/cli/commands.js +11 -3
  18. package/admin/cli/executor.d.ts +5 -1
  19. package/admin/orm/index.d.ts +10 -2
  20. package/admin/orm/index.js +10 -2
  21. package/admin/orm/input-types.d.ts +1611 -230
  22. package/admin/orm/input-types.js +9 -1
  23. package/admin/orm/models/appPermissionDefaultGrant.d.ts +54 -0
  24. package/admin/orm/models/appPermissionDefaultGrant.js +104 -0
  25. package/admin/orm/models/appPermissionDefaultPermission.d.ts +54 -0
  26. package/admin/orm/models/appPermissionDefaultPermission.js +104 -0
  27. package/admin/orm/models/index.d.ts +5 -1
  28. package/admin/orm/models/index.js +11 -3
  29. package/admin/orm/models/orgPermissionDefaultGrant.d.ts +54 -0
  30. package/admin/orm/models/orgPermissionDefaultGrant.js +104 -0
  31. package/admin/orm/models/orgPermissionDefaultPermission.d.ts +54 -0
  32. package/admin/orm/models/orgPermissionDefaultPermission.js +104 -0
  33. package/agent/cli/commands/agent-message.js +34 -12
  34. package/agent/cli/commands/agent-task.js +12 -12
  35. package/agent/cli/embedder.d.ts +5 -0
  36. package/agent/cli/embedder.js +46 -9
  37. package/agent/orm/input-types.d.ts +289 -47
  38. package/agent/orm/input-types.js +1 -0
  39. package/api/cli/commands/check-constraint.js +0 -22
  40. package/api/cli/commands/composite-type.d.ts +8 -0
  41. package/api/cli/commands/composite-type.js +424 -0
  42. package/api/cli/commands/enum.js +0 -22
  43. package/api/cli/commands/field.js +0 -22
  44. package/api/cli/commands/foreign-key-constraint.js +0 -22
  45. package/api/cli/commands/index.js +0 -22
  46. package/api/cli/commands/policy.js +0 -22
  47. package/api/cli/commands/primary-key-constraint.js +0 -22
  48. package/api/cli/commands/schema.js +0 -22
  49. package/api/cli/commands/spatial-relation.js +0 -22
  50. package/api/cli/commands/table.js +6 -28
  51. package/api/cli/commands/trigger.js +0 -22
  52. package/api/cli/commands/unique-constraint.js +0 -22
  53. package/api/cli/commands/view-table.js +22 -0
  54. package/api/cli/commands/view.js +0 -22
  55. package/api/cli/commands.js +3 -1
  56. package/api/cli/executor.d.ts +1 -0
  57. package/api/orm/index.d.ts +2 -0
  58. package/api/orm/index.js +2 -0
  59. package/api/orm/input-types.d.ts +1064 -125
  60. package/api/orm/input-types.js +3 -0
  61. package/api/orm/models/compositeType.d.ts +54 -0
  62. package/api/orm/models/compositeType.js +104 -0
  63. package/api/orm/models/index.d.ts +1 -0
  64. package/api/orm/models/index.js +3 -1
  65. package/auth/cli/commands/link-identity.d.ts +8 -0
  66. package/auth/cli/commands/link-identity.js +36 -0
  67. package/auth/cli/commands/sign-in-sms-otp.d.ts +8 -0
  68. package/auth/cli/commands/sign-in-sms-otp.js +36 -0
  69. package/auth/cli/commands/sign-up-sms.d.ts +8 -0
  70. package/auth/cli/commands/sign-up-sms.js +36 -0
  71. package/auth/cli/commands.js +7 -1
  72. package/auth/cli/executor.d.ts +15 -0
  73. package/auth/orm/index.d.ts +15 -0
  74. package/auth/orm/input-types.d.ts +197 -1
  75. package/auth/orm/mutation/index.d.ts +25 -1
  76. package/auth/orm/mutation/index.js +36 -0
  77. package/esm/admin/cli/commands/app-admin-grant.js +3 -1
  78. package/esm/admin/cli/commands/app-grant.js +3 -1
  79. package/esm/admin/cli/commands/app-invite.js +44 -0
  80. package/esm/admin/cli/commands/app-owner-grant.js +3 -1
  81. package/esm/admin/cli/commands/app-permission-default-grant.d.ts +8 -0
  82. package/esm/admin/cli/commands/app-permission-default-grant.js +284 -0
  83. package/esm/admin/cli/commands/app-permission-default-permission.d.ts +8 -0
  84. package/esm/admin/cli/commands/app-permission-default-permission.js +240 -0
  85. package/esm/admin/cli/commands/org-admin-grant.js +3 -1
  86. package/esm/admin/cli/commands/org-grant.js +3 -1
  87. package/esm/admin/cli/commands/org-invite.js +44 -0
  88. package/esm/admin/cli/commands/org-owner-grant.js +3 -1
  89. package/esm/admin/cli/commands/org-permission-default-grant.d.ts +8 -0
  90. package/esm/admin/cli/commands/org-permission-default-grant.js +304 -0
  91. package/esm/admin/cli/commands/org-permission-default-permission.d.ts +8 -0
  92. package/esm/admin/cli/commands/org-permission-default-permission.js +260 -0
  93. package/esm/admin/cli/commands.js +11 -3
  94. package/esm/admin/cli/executor.d.ts +5 -1
  95. package/esm/admin/orm/index.d.ts +10 -2
  96. package/esm/admin/orm/index.js +10 -2
  97. package/esm/admin/orm/input-types.d.ts +1611 -230
  98. package/esm/admin/orm/input-types.js +9 -1
  99. package/esm/admin/orm/models/appPermissionDefaultGrant.d.ts +54 -0
  100. package/esm/admin/orm/models/appPermissionDefaultGrant.js +100 -0
  101. package/esm/admin/orm/models/appPermissionDefaultPermission.d.ts +54 -0
  102. package/esm/admin/orm/models/appPermissionDefaultPermission.js +100 -0
  103. package/esm/admin/orm/models/index.d.ts +5 -1
  104. package/esm/admin/orm/models/index.js +5 -1
  105. package/esm/admin/orm/models/orgPermissionDefaultGrant.d.ts +54 -0
  106. package/esm/admin/orm/models/orgPermissionDefaultGrant.js +100 -0
  107. package/esm/admin/orm/models/orgPermissionDefaultPermission.d.ts +54 -0
  108. package/esm/admin/orm/models/orgPermissionDefaultPermission.js +100 -0
  109. package/esm/agent/cli/commands/agent-message.js +34 -12
  110. package/esm/agent/cli/commands/agent-task.js +12 -12
  111. package/esm/agent/cli/embedder.d.ts +5 -0
  112. package/esm/agent/cli/embedder.js +10 -2
  113. package/esm/agent/orm/input-types.d.ts +289 -47
  114. package/esm/agent/orm/input-types.js +1 -0
  115. package/esm/api/cli/commands/check-constraint.js +0 -22
  116. package/esm/api/cli/commands/composite-type.d.ts +8 -0
  117. package/esm/api/cli/commands/composite-type.js +422 -0
  118. package/esm/api/cli/commands/enum.js +0 -22
  119. package/esm/api/cli/commands/field.js +0 -22
  120. package/esm/api/cli/commands/foreign-key-constraint.js +0 -22
  121. package/esm/api/cli/commands/index.js +0 -22
  122. package/esm/api/cli/commands/policy.js +0 -22
  123. package/esm/api/cli/commands/primary-key-constraint.js +0 -22
  124. package/esm/api/cli/commands/schema.js +0 -22
  125. package/esm/api/cli/commands/spatial-relation.js +0 -22
  126. package/esm/api/cli/commands/table.js +6 -28
  127. package/esm/api/cli/commands/trigger.js +0 -22
  128. package/esm/api/cli/commands/unique-constraint.js +0 -22
  129. package/esm/api/cli/commands/view-table.js +22 -0
  130. package/esm/api/cli/commands/view.js +0 -22
  131. package/esm/api/cli/commands.js +3 -1
  132. package/esm/api/cli/executor.d.ts +1 -0
  133. package/esm/api/orm/index.d.ts +2 -0
  134. package/esm/api/orm/index.js +2 -0
  135. package/esm/api/orm/input-types.d.ts +1064 -125
  136. package/esm/api/orm/input-types.js +3 -0
  137. package/esm/api/orm/models/compositeType.d.ts +54 -0
  138. package/esm/api/orm/models/compositeType.js +100 -0
  139. package/esm/api/orm/models/index.d.ts +1 -0
  140. package/esm/api/orm/models/index.js +1 -0
  141. package/esm/auth/cli/commands/link-identity.d.ts +8 -0
  142. package/esm/auth/cli/commands/link-identity.js +34 -0
  143. package/esm/auth/cli/commands/sign-in-sms-otp.d.ts +8 -0
  144. package/esm/auth/cli/commands/sign-in-sms-otp.js +34 -0
  145. package/esm/auth/cli/commands/sign-up-sms.d.ts +8 -0
  146. package/esm/auth/cli/commands/sign-up-sms.js +34 -0
  147. package/esm/auth/cli/commands.js +7 -1
  148. package/esm/auth/cli/executor.d.ts +15 -0
  149. package/esm/auth/orm/index.d.ts +15 -0
  150. package/esm/auth/orm/input-types.d.ts +197 -1
  151. package/esm/auth/orm/mutation/index.d.ts +25 -1
  152. package/esm/auth/orm/mutation/index.js +36 -0
  153. package/esm/modules/cli/commands/agent-module.js +88 -0
  154. package/esm/modules/cli/commands/billing-module.js +66 -0
  155. package/esm/modules/cli/commands/compute-log-module.js +44 -0
  156. package/esm/modules/cli/commands/config-secrets-module.js +44 -0
  157. package/esm/modules/cli/commands/db-usage-module.js +66 -0
  158. package/esm/modules/cli/commands/entity-type-provision.js +0 -44
  159. package/esm/modules/cli/commands/events-module.js +66 -0
  160. package/esm/modules/cli/commands/function-invocation-module.d.ts +8 -0
  161. package/esm/modules/cli/commands/function-invocation-module.js +580 -0
  162. package/esm/modules/cli/commands/function-module.js +22 -198
  163. package/esm/modules/cli/commands/graph-module.js +22 -0
  164. package/esm/modules/cli/commands/hierarchy-module.js +22 -0
  165. package/esm/modules/cli/commands/identity-providers-module.js +44 -0
  166. package/esm/modules/cli/commands/inference-log-module.js +44 -0
  167. package/esm/modules/cli/commands/invites-module.js +44 -0
  168. package/esm/modules/cli/commands/limits-module.js +44 -0
  169. package/esm/modules/cli/commands/memberships-module.js +88 -0
  170. package/esm/modules/cli/commands/merkle-store-module.js +22 -0
  171. package/esm/modules/cli/commands/namespace-module.js +22 -0
  172. package/esm/modules/cli/commands/notifications-module.js +88 -0
  173. package/esm/modules/cli/commands/permissions-module.js +44 -0
  174. package/esm/modules/cli/commands/plans-module.js +44 -0
  175. package/esm/modules/cli/commands/profiles-module.js +44 -0
  176. package/esm/modules/cli/commands/rate-limit-meters-module.js +66 -0
  177. package/esm/modules/cli/commands/storage-log-module.js +44 -0
  178. package/esm/modules/cli/commands/storage-module.js +66 -0
  179. package/esm/modules/cli/commands/transfer-log-module.js +44 -0
  180. package/esm/modules/cli/commands.js +29 -27
  181. package/esm/modules/cli/executor.d.ts +14 -13
  182. package/esm/modules/orm/index.d.ts +28 -26
  183. package/esm/modules/orm/index.js +28 -26
  184. package/esm/modules/orm/input-types.d.ts +4485 -2514
  185. package/esm/modules/orm/models/functionInvocationModule.d.ts +54 -0
  186. package/esm/modules/orm/models/functionInvocationModule.js +100 -0
  187. package/esm/modules/orm/models/index.d.ts +14 -13
  188. package/esm/modules/orm/models/index.js +14 -13
  189. package/esm/objects/orm/input-types.d.ts +62 -0
  190. package/esm/usage/orm/input-types.d.ts +314 -19
  191. package/modules/cli/commands/agent-module.js +88 -0
  192. package/modules/cli/commands/billing-module.js +66 -0
  193. package/modules/cli/commands/compute-log-module.js +44 -0
  194. package/modules/cli/commands/config-secrets-module.js +44 -0
  195. package/modules/cli/commands/db-usage-module.js +66 -0
  196. package/modules/cli/commands/entity-type-provision.js +0 -44
  197. package/modules/cli/commands/events-module.js +66 -0
  198. package/modules/cli/commands/function-invocation-module.d.ts +8 -0
  199. package/modules/cli/commands/function-invocation-module.js +582 -0
  200. package/modules/cli/commands/function-module.js +22 -198
  201. package/modules/cli/commands/graph-module.js +22 -0
  202. package/modules/cli/commands/hierarchy-module.js +22 -0
  203. package/modules/cli/commands/identity-providers-module.js +44 -0
  204. package/modules/cli/commands/inference-log-module.js +44 -0
  205. package/modules/cli/commands/invites-module.js +44 -0
  206. package/modules/cli/commands/limits-module.js +44 -0
  207. package/modules/cli/commands/memberships-module.js +88 -0
  208. package/modules/cli/commands/merkle-store-module.js +22 -0
  209. package/modules/cli/commands/namespace-module.js +22 -0
  210. package/modules/cli/commands/notifications-module.js +88 -0
  211. package/modules/cli/commands/permissions-module.js +44 -0
  212. package/modules/cli/commands/plans-module.js +44 -0
  213. package/modules/cli/commands/profiles-module.js +44 -0
  214. package/modules/cli/commands/rate-limit-meters-module.js +66 -0
  215. package/modules/cli/commands/storage-log-module.js +44 -0
  216. package/modules/cli/commands/storage-module.js +66 -0
  217. package/modules/cli/commands/transfer-log-module.js +44 -0
  218. package/modules/cli/commands.js +29 -27
  219. package/modules/cli/executor.d.ts +14 -13
  220. package/modules/orm/index.d.ts +28 -26
  221. package/modules/orm/index.js +28 -26
  222. package/modules/orm/input-types.d.ts +4485 -2514
  223. package/modules/orm/models/functionInvocationModule.d.ts +54 -0
  224. package/modules/orm/models/functionInvocationModule.js +104 -0
  225. package/modules/orm/models/index.d.ts +14 -13
  226. package/modules/orm/models/index.js +30 -28
  227. package/objects/orm/input-types.d.ts +62 -0
  228. package/package.json +4 -4
  229. package/usage/orm/input-types.d.ts +314 -19
@@ -21,7 +21,6 @@ const fieldSchema = {
21
21
  opClasses: 'string',
22
22
  smartTags: 'json',
23
23
  category: 'string',
24
- module: 'string',
25
24
  scope: 'int',
26
25
  tags: 'string',
27
26
  createdAt: 'string',
@@ -83,7 +82,6 @@ async function handleList(argv, _prompter) {
83
82
  opClasses: true,
84
83
  smartTags: true,
85
84
  category: true,
86
- module: true,
87
85
  scope: true,
88
86
  tags: true,
89
87
  createdAt: true,
@@ -119,7 +117,6 @@ async function handleFindFirst(argv, _prompter) {
119
117
  opClasses: true,
120
118
  smartTags: true,
121
119
  category: true,
122
- module: true,
123
120
  scope: true,
124
121
  tags: true,
125
122
  createdAt: true,
@@ -167,7 +164,6 @@ async function handleGet(argv, prompter) {
167
164
  opClasses: true,
168
165
  smartTags: true,
169
166
  category: true,
170
- module: true,
171
167
  scope: true,
172
168
  tags: true,
173
169
  createdAt: true,
@@ -277,13 +273,6 @@ async function handleCreate(argv, prompter) {
277
273
  required: false,
278
274
  skipPrompt: true,
279
275
  },
280
- {
281
- type: 'text',
282
- name: 'module',
283
- message: 'module',
284
- required: false,
285
- skipPrompt: true,
286
- },
287
276
  {
288
277
  type: 'text',
289
278
  name: 'scope',
@@ -318,7 +307,6 @@ async function handleCreate(argv, prompter) {
318
307
  opClasses: cleanedData.opClasses,
319
308
  smartTags: cleanedData.smartTags,
320
309
  category: cleanedData.category,
321
- module: cleanedData.module,
322
310
  scope: cleanedData.scope,
323
311
  tags: cleanedData.tags,
324
312
  },
@@ -337,7 +325,6 @@ async function handleCreate(argv, prompter) {
337
325
  opClasses: true,
338
326
  smartTags: true,
339
327
  category: true,
340
- module: true,
341
328
  scope: true,
342
329
  tags: true,
343
330
  createdAt: true,
@@ -453,13 +440,6 @@ async function handleUpdate(argv, prompter) {
453
440
  required: false,
454
441
  skipPrompt: true,
455
442
  },
456
- {
457
- type: 'text',
458
- name: 'module',
459
- message: 'module',
460
- required: false,
461
- skipPrompt: true,
462
- },
463
443
  {
464
444
  type: 'text',
465
445
  name: 'scope',
@@ -497,7 +477,6 @@ async function handleUpdate(argv, prompter) {
497
477
  opClasses: cleanedData.opClasses,
498
478
  smartTags: cleanedData.smartTags,
499
479
  category: cleanedData.category,
500
- module: cleanedData.module,
501
480
  scope: cleanedData.scope,
502
481
  tags: cleanedData.tags,
503
482
  },
@@ -516,7 +495,6 @@ async function handleUpdate(argv, prompter) {
516
495
  opClasses: true,
517
496
  smartTags: true,
518
497
  category: true,
519
- module: true,
520
498
  scope: true,
521
499
  tags: true,
522
500
  createdAt: true,
@@ -19,7 +19,6 @@ const fieldSchema = {
19
19
  data: 'json',
20
20
  smartTags: 'json',
21
21
  category: 'string',
22
- module: 'string',
23
22
  scope: 'int',
24
23
  tags: 'string',
25
24
  createdAt: 'string',
@@ -79,7 +78,6 @@ async function handleList(argv, _prompter) {
79
78
  data: true,
80
79
  smartTags: true,
81
80
  category: true,
82
- module: true,
83
81
  scope: true,
84
82
  tags: true,
85
83
  createdAt: true,
@@ -113,7 +111,6 @@ async function handleFindFirst(argv, _prompter) {
113
111
  data: true,
114
112
  smartTags: true,
115
113
  category: true,
116
- module: true,
117
114
  scope: true,
118
115
  tags: true,
119
116
  createdAt: true,
@@ -159,7 +156,6 @@ async function handleGet(argv, prompter) {
159
156
  data: true,
160
157
  smartTags: true,
161
158
  category: true,
162
- module: true,
163
159
  scope: true,
164
160
  tags: true,
165
161
  createdAt: true,
@@ -256,13 +252,6 @@ async function handleCreate(argv, prompter) {
256
252
  required: false,
257
253
  skipPrompt: true,
258
254
  },
259
- {
260
- type: 'text',
261
- name: 'module',
262
- message: 'module',
263
- required: false,
264
- skipPrompt: true,
265
- },
266
255
  {
267
256
  type: 'text',
268
257
  name: 'scope',
@@ -295,7 +284,6 @@ async function handleCreate(argv, prompter) {
295
284
  data: cleanedData.data,
296
285
  smartTags: cleanedData.smartTags,
297
286
  category: cleanedData.category,
298
- module: cleanedData.module,
299
287
  scope: cleanedData.scope,
300
288
  tags: cleanedData.tags,
301
289
  },
@@ -312,7 +300,6 @@ async function handleCreate(argv, prompter) {
312
300
  data: true,
313
301
  smartTags: true,
314
302
  category: true,
315
- module: true,
316
303
  scope: true,
317
304
  tags: true,
318
305
  createdAt: true,
@@ -415,13 +402,6 @@ async function handleUpdate(argv, prompter) {
415
402
  required: false,
416
403
  skipPrompt: true,
417
404
  },
418
- {
419
- type: 'text',
420
- name: 'module',
421
- message: 'module',
422
- required: false,
423
- skipPrompt: true,
424
- },
425
405
  {
426
406
  type: 'text',
427
407
  name: 'scope',
@@ -457,7 +437,6 @@ async function handleUpdate(argv, prompter) {
457
437
  data: cleanedData.data,
458
438
  smartTags: cleanedData.smartTags,
459
439
  category: cleanedData.category,
460
- module: cleanedData.module,
461
440
  scope: cleanedData.scope,
462
441
  tags: cleanedData.tags,
463
442
  },
@@ -474,7 +453,6 @@ async function handleUpdate(argv, prompter) {
474
453
  data: true,
475
454
  smartTags: true,
476
455
  category: true,
477
- module: true,
478
456
  scope: true,
479
457
  tags: true,
480
458
  createdAt: true,
@@ -15,7 +15,6 @@ const fieldSchema = {
15
15
  fieldIds: 'uuid',
16
16
  smartTags: 'json',
17
17
  category: 'string',
18
- module: 'string',
19
18
  scope: 'int',
20
19
  tags: 'string',
21
20
  createdAt: 'string',
@@ -71,7 +70,6 @@ async function handleList(argv, _prompter) {
71
70
  fieldIds: true,
72
71
  smartTags: true,
73
72
  category: true,
74
- module: true,
75
73
  scope: true,
76
74
  tags: true,
77
75
  createdAt: true,
@@ -101,7 +99,6 @@ async function handleFindFirst(argv, _prompter) {
101
99
  fieldIds: true,
102
100
  smartTags: true,
103
101
  category: true,
104
- module: true,
105
102
  scope: true,
106
103
  tags: true,
107
104
  createdAt: true,
@@ -143,7 +140,6 @@ async function handleGet(argv, prompter) {
143
140
  fieldIds: true,
144
141
  smartTags: true,
145
142
  category: true,
146
- module: true,
147
143
  scope: true,
148
144
  tags: true,
149
145
  createdAt: true,
@@ -211,13 +207,6 @@ async function handleCreate(argv, prompter) {
211
207
  required: false,
212
208
  skipPrompt: true,
213
209
  },
214
- {
215
- type: 'text',
216
- name: 'module',
217
- message: 'module',
218
- required: false,
219
- skipPrompt: true,
220
- },
221
210
  {
222
211
  type: 'text',
223
212
  name: 'scope',
@@ -246,7 +235,6 @@ async function handleCreate(argv, prompter) {
246
235
  fieldIds: cleanedData.fieldIds,
247
236
  smartTags: cleanedData.smartTags,
248
237
  category: cleanedData.category,
249
- module: cleanedData.module,
250
238
  scope: cleanedData.scope,
251
239
  tags: cleanedData.tags,
252
240
  },
@@ -259,7 +247,6 @@ async function handleCreate(argv, prompter) {
259
247
  fieldIds: true,
260
248
  smartTags: true,
261
249
  category: true,
262
- module: true,
263
250
  scope: true,
264
251
  tags: true,
265
252
  createdAt: true,
@@ -333,13 +320,6 @@ async function handleUpdate(argv, prompter) {
333
320
  required: false,
334
321
  skipPrompt: true,
335
322
  },
336
- {
337
- type: 'text',
338
- name: 'module',
339
- message: 'module',
340
- required: false,
341
- skipPrompt: true,
342
- },
343
323
  {
344
324
  type: 'text',
345
325
  name: 'scope',
@@ -371,7 +351,6 @@ async function handleUpdate(argv, prompter) {
371
351
  fieldIds: cleanedData.fieldIds,
372
352
  smartTags: cleanedData.smartTags,
373
353
  category: cleanedData.category,
374
- module: cleanedData.module,
375
354
  scope: cleanedData.scope,
376
355
  tags: cleanedData.tags,
377
356
  },
@@ -384,7 +363,6 @@ async function handleUpdate(argv, prompter) {
384
363
  fieldIds: true,
385
364
  smartTags: true,
386
365
  category: true,
387
- module: true,
388
366
  scope: true,
389
367
  tags: true,
390
368
  createdAt: true,
@@ -15,7 +15,6 @@ const fieldSchema = {
15
15
  description: 'string',
16
16
  smartTags: 'json',
17
17
  category: 'string',
18
- module: 'string',
19
18
  scope: 'int',
20
19
  tags: 'string',
21
20
  isPublic: 'boolean',
@@ -72,7 +71,6 @@ async function handleList(argv, _prompter) {
72
71
  description: true,
73
72
  smartTags: true,
74
73
  category: true,
75
- module: true,
76
74
  scope: true,
77
75
  tags: true,
78
76
  isPublic: true,
@@ -103,7 +101,6 @@ async function handleFindFirst(argv, _prompter) {
103
101
  description: true,
104
102
  smartTags: true,
105
103
  category: true,
106
- module: true,
107
104
  scope: true,
108
105
  tags: true,
109
106
  isPublic: true,
@@ -146,7 +143,6 @@ async function handleGet(argv, prompter) {
146
143
  description: true,
147
144
  smartTags: true,
148
145
  category: true,
149
- module: true,
150
146
  scope: true,
151
147
  tags: true,
152
148
  isPublic: true,
@@ -214,13 +210,6 @@ async function handleCreate(argv, prompter) {
214
210
  required: false,
215
211
  skipPrompt: true,
216
212
  },
217
- {
218
- type: 'text',
219
- name: 'module',
220
- message: 'module',
221
- required: false,
222
- skipPrompt: true,
223
- },
224
213
  {
225
214
  type: 'text',
226
215
  name: 'scope',
@@ -256,7 +245,6 @@ async function handleCreate(argv, prompter) {
256
245
  description: cleanedData.description,
257
246
  smartTags: cleanedData.smartTags,
258
247
  category: cleanedData.category,
259
- module: cleanedData.module,
260
248
  scope: cleanedData.scope,
261
249
  tags: cleanedData.tags,
262
250
  isPublic: cleanedData.isPublic,
@@ -270,7 +258,6 @@ async function handleCreate(argv, prompter) {
270
258
  description: true,
271
259
  smartTags: true,
272
260
  category: true,
273
- module: true,
274
261
  scope: true,
275
262
  tags: true,
276
263
  isPublic: true,
@@ -344,13 +331,6 @@ async function handleUpdate(argv, prompter) {
344
331
  required: false,
345
332
  skipPrompt: true,
346
333
  },
347
- {
348
- type: 'text',
349
- name: 'module',
350
- message: 'module',
351
- required: false,
352
- skipPrompt: true,
353
- },
354
334
  {
355
335
  type: 'text',
356
336
  name: 'scope',
@@ -389,7 +369,6 @@ async function handleUpdate(argv, prompter) {
389
369
  description: cleanedData.description,
390
370
  smartTags: cleanedData.smartTags,
391
371
  category: cleanedData.category,
392
- module: cleanedData.module,
393
372
  scope: cleanedData.scope,
394
373
  tags: cleanedData.tags,
395
374
  isPublic: cleanedData.isPublic,
@@ -403,7 +382,6 @@ async function handleUpdate(argv, prompter) {
403
382
  description: true,
404
383
  smartTags: true,
405
384
  category: true,
406
- module: true,
407
385
  scope: true,
408
386
  tags: true,
409
387
  isPublic: true,
@@ -17,7 +17,6 @@ const fieldSchema = {
17
17
  operator: 'string',
18
18
  paramName: 'string',
19
19
  category: 'string',
20
- module: 'string',
21
20
  scope: 'int',
22
21
  tags: 'string',
23
22
  createdAt: 'string',
@@ -75,7 +74,6 @@ async function handleList(argv, _prompter) {
75
74
  operator: true,
76
75
  paramName: true,
77
76
  category: true,
78
- module: true,
79
77
  scope: true,
80
78
  tags: true,
81
79
  createdAt: true,
@@ -107,7 +105,6 @@ async function handleFindFirst(argv, _prompter) {
107
105
  operator: true,
108
106
  paramName: true,
109
107
  category: true,
110
- module: true,
111
108
  scope: true,
112
109
  tags: true,
113
110
  createdAt: true,
@@ -151,7 +148,6 @@ async function handleGet(argv, prompter) {
151
148
  operator: true,
152
149
  paramName: true,
153
150
  category: true,
154
- module: true,
155
151
  scope: true,
156
152
  tags: true,
157
153
  createdAt: true,
@@ -229,13 +225,6 @@ async function handleCreate(argv, prompter) {
229
225
  required: false,
230
226
  skipPrompt: true,
231
227
  },
232
- {
233
- type: 'text',
234
- name: 'module',
235
- message: 'module',
236
- required: false,
237
- skipPrompt: true,
238
- },
239
228
  {
240
229
  type: 'text',
241
230
  name: 'scope',
@@ -266,7 +255,6 @@ async function handleCreate(argv, prompter) {
266
255
  operator: cleanedData.operator,
267
256
  paramName: cleanedData.paramName,
268
257
  category: cleanedData.category,
269
- module: cleanedData.module,
270
258
  scope: cleanedData.scope,
271
259
  tags: cleanedData.tags,
272
260
  },
@@ -281,7 +269,6 @@ async function handleCreate(argv, prompter) {
281
269
  operator: true,
282
270
  paramName: true,
283
271
  category: true,
284
- module: true,
285
272
  scope: true,
286
273
  tags: true,
287
274
  createdAt: true,
@@ -365,13 +352,6 @@ async function handleUpdate(argv, prompter) {
365
352
  required: false,
366
353
  skipPrompt: true,
367
354
  },
368
- {
369
- type: 'text',
370
- name: 'module',
371
- message: 'module',
372
- required: false,
373
- skipPrompt: true,
374
- },
375
355
  {
376
356
  type: 'text',
377
357
  name: 'scope',
@@ -405,7 +385,6 @@ async function handleUpdate(argv, prompter) {
405
385
  operator: cleanedData.operator,
406
386
  paramName: cleanedData.paramName,
407
387
  category: cleanedData.category,
408
- module: cleanedData.module,
409
388
  scope: cleanedData.scope,
410
389
  tags: cleanedData.tags,
411
390
  },
@@ -420,7 +399,6 @@ async function handleUpdate(argv, prompter) {
420
399
  operator: true,
421
400
  paramName: true,
422
401
  category: true,
423
- module: true,
424
402
  scope: true,
425
403
  tags: true,
426
404
  createdAt: true,
@@ -15,7 +15,6 @@ const fieldSchema = {
15
15
  description: 'string',
16
16
  smartTags: 'json',
17
17
  category: 'string',
18
- module: 'string',
19
18
  scope: 'int',
20
19
  useRls: 'boolean',
21
20
  timestamps: 'boolean',
@@ -27,9 +26,9 @@ const fieldSchema = {
27
26
  partitionStrategy: 'string',
28
27
  partitionKeyNames: 'string',
29
28
  partitionKeyTypes: 'string',
30
- inheritsId: 'uuid',
31
29
  createdAt: 'string',
32
30
  updatedAt: 'string',
31
+ inheritsId: 'uuid',
33
32
  };
34
33
  const usage = '\ntable <command>\n\nCommands:\n list List table records\n find-first Find first matching table record\n get Get a table by ID\n create Create a new table\n update Update an existing table\n delete Delete a table\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';
35
34
  export default async (argv, prompter, _options) => {
@@ -81,7 +80,6 @@ async function handleList(argv, _prompter) {
81
80
  description: true,
82
81
  smartTags: true,
83
82
  category: true,
84
- module: true,
85
83
  scope: true,
86
84
  useRls: true,
87
85
  timestamps: true,
@@ -93,9 +91,9 @@ async function handleList(argv, _prompter) {
93
91
  partitionStrategy: true,
94
92
  partitionKeyNames: true,
95
93
  partitionKeyTypes: true,
96
- inheritsId: true,
97
94
  createdAt: true,
98
95
  updatedAt: true,
96
+ inheritsId: true,
99
97
  };
100
98
  const findManyArgs = parseFindManyArgs(argv, defaultSelect);
101
99
  const client = getClient();
@@ -121,7 +119,6 @@ async function handleFindFirst(argv, _prompter) {
121
119
  description: true,
122
120
  smartTags: true,
123
121
  category: true,
124
- module: true,
125
122
  scope: true,
126
123
  useRls: true,
127
124
  timestamps: true,
@@ -133,9 +130,9 @@ async function handleFindFirst(argv, _prompter) {
133
130
  partitionStrategy: true,
134
131
  partitionKeyNames: true,
135
132
  partitionKeyTypes: true,
136
- inheritsId: true,
137
133
  createdAt: true,
138
134
  updatedAt: true,
135
+ inheritsId: true,
139
136
  };
140
137
  const findFirstArgs = parseFindFirstArgs(argv, defaultSelect);
141
138
  const client = getClient();
@@ -173,7 +170,6 @@ async function handleGet(argv, prompter) {
173
170
  description: true,
174
171
  smartTags: true,
175
172
  category: true,
176
- module: true,
177
173
  scope: true,
178
174
  useRls: true,
179
175
  timestamps: true,
@@ -185,9 +181,9 @@ async function handleGet(argv, prompter) {
185
181
  partitionStrategy: true,
186
182
  partitionKeyNames: true,
187
183
  partitionKeyTypes: true,
188
- inheritsId: true,
189
184
  createdAt: true,
190
185
  updatedAt: true,
186
+ inheritsId: true,
191
187
  },
192
188
  })
193
189
  .execute();
@@ -251,13 +247,6 @@ async function handleCreate(argv, prompter) {
251
247
  required: false,
252
248
  skipPrompt: true,
253
249
  },
254
- {
255
- type: 'text',
256
- name: 'module',
257
- message: 'module',
258
- required: false,
259
- skipPrompt: true,
260
- },
261
250
  {
262
251
  type: 'text',
263
252
  name: 'scope',
@@ -356,7 +345,6 @@ async function handleCreate(argv, prompter) {
356
345
  description: cleanedData.description,
357
346
  smartTags: cleanedData.smartTags,
358
347
  category: cleanedData.category,
359
- module: cleanedData.module,
360
348
  scope: cleanedData.scope,
361
349
  useRls: cleanedData.useRls,
362
350
  timestamps: cleanedData.timestamps,
@@ -379,7 +367,6 @@ async function handleCreate(argv, prompter) {
379
367
  description: true,
380
368
  smartTags: true,
381
369
  category: true,
382
- module: true,
383
370
  scope: true,
384
371
  useRls: true,
385
372
  timestamps: true,
@@ -391,9 +378,9 @@ async function handleCreate(argv, prompter) {
391
378
  partitionStrategy: true,
392
379
  partitionKeyNames: true,
393
380
  partitionKeyTypes: true,
394
- inheritsId: true,
395
381
  createdAt: true,
396
382
  updatedAt: true,
383
+ inheritsId: true,
397
384
  },
398
385
  })
399
386
  .execute();
@@ -463,13 +450,6 @@ async function handleUpdate(argv, prompter) {
463
450
  required: false,
464
451
  skipPrompt: true,
465
452
  },
466
- {
467
- type: 'text',
468
- name: 'module',
469
- message: 'module',
470
- required: false,
471
- skipPrompt: true,
472
- },
473
453
  {
474
454
  type: 'text',
475
455
  name: 'scope',
@@ -571,7 +551,6 @@ async function handleUpdate(argv, prompter) {
571
551
  description: cleanedData.description,
572
552
  smartTags: cleanedData.smartTags,
573
553
  category: cleanedData.category,
574
- module: cleanedData.module,
575
554
  scope: cleanedData.scope,
576
555
  useRls: cleanedData.useRls,
577
556
  timestamps: cleanedData.timestamps,
@@ -594,7 +573,6 @@ async function handleUpdate(argv, prompter) {
594
573
  description: true,
595
574
  smartTags: true,
596
575
  category: true,
597
- module: true,
598
576
  scope: true,
599
577
  useRls: true,
600
578
  timestamps: true,
@@ -606,9 +584,9 @@ async function handleUpdate(argv, prompter) {
606
584
  partitionStrategy: true,
607
585
  partitionKeyNames: true,
608
586
  partitionKeyTypes: true,
609
- inheritsId: true,
610
587
  createdAt: true,
611
588
  updatedAt: true,
589
+ inheritsId: true,
612
590
  },
613
591
  })
614
592
  .execute();
@@ -15,7 +15,6 @@ const fieldSchema = {
15
15
  functionName: 'string',
16
16
  smartTags: 'json',
17
17
  category: 'string',
18
- module: 'string',
19
18
  scope: 'int',
20
19
  tags: 'string',
21
20
  createdAt: 'string',
@@ -71,7 +70,6 @@ async function handleList(argv, _prompter) {
71
70
  functionName: true,
72
71
  smartTags: true,
73
72
  category: true,
74
- module: true,
75
73
  scope: true,
76
74
  tags: true,
77
75
  createdAt: true,
@@ -101,7 +99,6 @@ async function handleFindFirst(argv, _prompter) {
101
99
  functionName: true,
102
100
  smartTags: true,
103
101
  category: true,
104
- module: true,
105
102
  scope: true,
106
103
  tags: true,
107
104
  createdAt: true,
@@ -143,7 +140,6 @@ async function handleGet(argv, prompter) {
143
140
  functionName: true,
144
141
  smartTags: true,
145
142
  category: true,
146
- module: true,
147
143
  scope: true,
148
144
  tags: true,
149
145
  createdAt: true,
@@ -211,13 +207,6 @@ async function handleCreate(argv, prompter) {
211
207
  required: false,
212
208
  skipPrompt: true,
213
209
  },
214
- {
215
- type: 'text',
216
- name: 'module',
217
- message: 'module',
218
- required: false,
219
- skipPrompt: true,
220
- },
221
210
  {
222
211
  type: 'text',
223
212
  name: 'scope',
@@ -246,7 +235,6 @@ async function handleCreate(argv, prompter) {
246
235
  functionName: cleanedData.functionName,
247
236
  smartTags: cleanedData.smartTags,
248
237
  category: cleanedData.category,
249
- module: cleanedData.module,
250
238
  scope: cleanedData.scope,
251
239
  tags: cleanedData.tags,
252
240
  },
@@ -259,7 +247,6 @@ async function handleCreate(argv, prompter) {
259
247
  functionName: true,
260
248
  smartTags: true,
261
249
  category: true,
262
- module: true,
263
250
  scope: true,
264
251
  tags: true,
265
252
  createdAt: true,
@@ -333,13 +320,6 @@ async function handleUpdate(argv, prompter) {
333
320
  required: false,
334
321
  skipPrompt: true,
335
322
  },
336
- {
337
- type: 'text',
338
- name: 'module',
339
- message: 'module',
340
- required: false,
341
- skipPrompt: true,
342
- },
343
323
  {
344
324
  type: 'text',
345
325
  name: 'scope',
@@ -371,7 +351,6 @@ async function handleUpdate(argv, prompter) {
371
351
  functionName: cleanedData.functionName,
372
352
  smartTags: cleanedData.smartTags,
373
353
  category: cleanedData.category,
374
- module: cleanedData.module,
375
354
  scope: cleanedData.scope,
376
355
  tags: cleanedData.tags,
377
356
  },
@@ -384,7 +363,6 @@ async function handleUpdate(argv, prompter) {
384
363
  functionName: true,
385
364
  smartTags: true,
386
365
  category: true,
387
- module: true,
388
366
  scope: true,
389
367
  tags: true,
390
368
  createdAt: true,