@constructive-sdk/cli 0.25.9 → 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
@@ -23,7 +23,6 @@ const fieldSchema = {
23
23
  opClasses: 'string',
24
24
  smartTags: 'json',
25
25
  category: 'string',
26
- module: 'string',
27
26
  scope: 'int',
28
27
  tags: 'string',
29
28
  createdAt: 'string',
@@ -85,7 +84,6 @@ async function handleList(argv, _prompter) {
85
84
  opClasses: true,
86
85
  smartTags: true,
87
86
  category: true,
88
- module: true,
89
87
  scope: true,
90
88
  tags: true,
91
89
  createdAt: true,
@@ -121,7 +119,6 @@ async function handleFindFirst(argv, _prompter) {
121
119
  opClasses: true,
122
120
  smartTags: true,
123
121
  category: true,
124
- module: true,
125
122
  scope: true,
126
123
  tags: true,
127
124
  createdAt: true,
@@ -169,7 +166,6 @@ async function handleGet(argv, prompter) {
169
166
  opClasses: true,
170
167
  smartTags: true,
171
168
  category: true,
172
- module: true,
173
169
  scope: true,
174
170
  tags: true,
175
171
  createdAt: true,
@@ -279,13 +275,6 @@ async function handleCreate(argv, prompter) {
279
275
  required: false,
280
276
  skipPrompt: true,
281
277
  },
282
- {
283
- type: 'text',
284
- name: 'module',
285
- message: 'module',
286
- required: false,
287
- skipPrompt: true,
288
- },
289
278
  {
290
279
  type: 'text',
291
280
  name: 'scope',
@@ -320,7 +309,6 @@ async function handleCreate(argv, prompter) {
320
309
  opClasses: cleanedData.opClasses,
321
310
  smartTags: cleanedData.smartTags,
322
311
  category: cleanedData.category,
323
- module: cleanedData.module,
324
312
  scope: cleanedData.scope,
325
313
  tags: cleanedData.tags,
326
314
  },
@@ -339,7 +327,6 @@ async function handleCreate(argv, prompter) {
339
327
  opClasses: true,
340
328
  smartTags: true,
341
329
  category: true,
342
- module: true,
343
330
  scope: true,
344
331
  tags: true,
345
332
  createdAt: true,
@@ -455,13 +442,6 @@ async function handleUpdate(argv, prompter) {
455
442
  required: false,
456
443
  skipPrompt: true,
457
444
  },
458
- {
459
- type: 'text',
460
- name: 'module',
461
- message: 'module',
462
- required: false,
463
- skipPrompt: true,
464
- },
465
445
  {
466
446
  type: 'text',
467
447
  name: 'scope',
@@ -499,7 +479,6 @@ async function handleUpdate(argv, prompter) {
499
479
  opClasses: cleanedData.opClasses,
500
480
  smartTags: cleanedData.smartTags,
501
481
  category: cleanedData.category,
502
- module: cleanedData.module,
503
482
  scope: cleanedData.scope,
504
483
  tags: cleanedData.tags,
505
484
  },
@@ -518,7 +497,6 @@ async function handleUpdate(argv, prompter) {
518
497
  opClasses: true,
519
498
  smartTags: true,
520
499
  category: true,
521
- module: true,
522
500
  scope: true,
523
501
  tags: true,
524
502
  createdAt: true,
@@ -21,7 +21,6 @@ const fieldSchema = {
21
21
  data: 'json',
22
22
  smartTags: 'json',
23
23
  category: 'string',
24
- module: 'string',
25
24
  scope: 'int',
26
25
  tags: 'string',
27
26
  createdAt: 'string',
@@ -81,7 +80,6 @@ async function handleList(argv, _prompter) {
81
80
  data: true,
82
81
  smartTags: true,
83
82
  category: true,
84
- module: true,
85
83
  scope: true,
86
84
  tags: true,
87
85
  createdAt: true,
@@ -115,7 +113,6 @@ async function handleFindFirst(argv, _prompter) {
115
113
  data: true,
116
114
  smartTags: true,
117
115
  category: true,
118
- module: true,
119
116
  scope: true,
120
117
  tags: true,
121
118
  createdAt: true,
@@ -161,7 +158,6 @@ async function handleGet(argv, prompter) {
161
158
  data: true,
162
159
  smartTags: true,
163
160
  category: true,
164
- module: true,
165
161
  scope: true,
166
162
  tags: true,
167
163
  createdAt: true,
@@ -258,13 +254,6 @@ async function handleCreate(argv, prompter) {
258
254
  required: false,
259
255
  skipPrompt: true,
260
256
  },
261
- {
262
- type: 'text',
263
- name: 'module',
264
- message: 'module',
265
- required: false,
266
- skipPrompt: true,
267
- },
268
257
  {
269
258
  type: 'text',
270
259
  name: 'scope',
@@ -297,7 +286,6 @@ async function handleCreate(argv, prompter) {
297
286
  data: cleanedData.data,
298
287
  smartTags: cleanedData.smartTags,
299
288
  category: cleanedData.category,
300
- module: cleanedData.module,
301
289
  scope: cleanedData.scope,
302
290
  tags: cleanedData.tags,
303
291
  },
@@ -314,7 +302,6 @@ async function handleCreate(argv, prompter) {
314
302
  data: true,
315
303
  smartTags: true,
316
304
  category: true,
317
- module: true,
318
305
  scope: true,
319
306
  tags: true,
320
307
  createdAt: true,
@@ -417,13 +404,6 @@ async function handleUpdate(argv, prompter) {
417
404
  required: false,
418
405
  skipPrompt: true,
419
406
  },
420
- {
421
- type: 'text',
422
- name: 'module',
423
- message: 'module',
424
- required: false,
425
- skipPrompt: true,
426
- },
427
407
  {
428
408
  type: 'text',
429
409
  name: 'scope',
@@ -459,7 +439,6 @@ async function handleUpdate(argv, prompter) {
459
439
  data: cleanedData.data,
460
440
  smartTags: cleanedData.smartTags,
461
441
  category: cleanedData.category,
462
- module: cleanedData.module,
463
442
  scope: cleanedData.scope,
464
443
  tags: cleanedData.tags,
465
444
  },
@@ -476,7 +455,6 @@ async function handleUpdate(argv, prompter) {
476
455
  data: true,
477
456
  smartTags: true,
478
457
  category: true,
479
- module: true,
480
458
  scope: true,
481
459
  tags: true,
482
460
  createdAt: true,
@@ -17,7 +17,6 @@ const fieldSchema = {
17
17
  fieldIds: 'uuid',
18
18
  smartTags: 'json',
19
19
  category: 'string',
20
- module: 'string',
21
20
  scope: 'int',
22
21
  tags: 'string',
23
22
  createdAt: 'string',
@@ -73,7 +72,6 @@ async function handleList(argv, _prompter) {
73
72
  fieldIds: true,
74
73
  smartTags: true,
75
74
  category: true,
76
- module: true,
77
75
  scope: true,
78
76
  tags: true,
79
77
  createdAt: true,
@@ -103,7 +101,6 @@ async function handleFindFirst(argv, _prompter) {
103
101
  fieldIds: true,
104
102
  smartTags: true,
105
103
  category: true,
106
- module: true,
107
104
  scope: true,
108
105
  tags: true,
109
106
  createdAt: true,
@@ -145,7 +142,6 @@ async function handleGet(argv, prompter) {
145
142
  fieldIds: true,
146
143
  smartTags: true,
147
144
  category: true,
148
- module: true,
149
145
  scope: true,
150
146
  tags: true,
151
147
  createdAt: true,
@@ -213,13 +209,6 @@ async function handleCreate(argv, prompter) {
213
209
  required: false,
214
210
  skipPrompt: true,
215
211
  },
216
- {
217
- type: 'text',
218
- name: 'module',
219
- message: 'module',
220
- required: false,
221
- skipPrompt: true,
222
- },
223
212
  {
224
213
  type: 'text',
225
214
  name: 'scope',
@@ -248,7 +237,6 @@ async function handleCreate(argv, prompter) {
248
237
  fieldIds: cleanedData.fieldIds,
249
238
  smartTags: cleanedData.smartTags,
250
239
  category: cleanedData.category,
251
- module: cleanedData.module,
252
240
  scope: cleanedData.scope,
253
241
  tags: cleanedData.tags,
254
242
  },
@@ -261,7 +249,6 @@ async function handleCreate(argv, prompter) {
261
249
  fieldIds: true,
262
250
  smartTags: true,
263
251
  category: true,
264
- module: true,
265
252
  scope: true,
266
253
  tags: true,
267
254
  createdAt: true,
@@ -335,13 +322,6 @@ async function handleUpdate(argv, prompter) {
335
322
  required: false,
336
323
  skipPrompt: true,
337
324
  },
338
- {
339
- type: 'text',
340
- name: 'module',
341
- message: 'module',
342
- required: false,
343
- skipPrompt: true,
344
- },
345
325
  {
346
326
  type: 'text',
347
327
  name: 'scope',
@@ -373,7 +353,6 @@ async function handleUpdate(argv, prompter) {
373
353
  fieldIds: cleanedData.fieldIds,
374
354
  smartTags: cleanedData.smartTags,
375
355
  category: cleanedData.category,
376
- module: cleanedData.module,
377
356
  scope: cleanedData.scope,
378
357
  tags: cleanedData.tags,
379
358
  },
@@ -386,7 +365,6 @@ async function handleUpdate(argv, prompter) {
386
365
  fieldIds: true,
387
366
  smartTags: true,
388
367
  category: true,
389
- module: true,
390
368
  scope: true,
391
369
  tags: true,
392
370
  createdAt: true,
@@ -17,7 +17,6 @@ const fieldSchema = {
17
17
  description: 'string',
18
18
  smartTags: 'json',
19
19
  category: 'string',
20
- module: 'string',
21
20
  scope: 'int',
22
21
  tags: 'string',
23
22
  isPublic: 'boolean',
@@ -74,7 +73,6 @@ async function handleList(argv, _prompter) {
74
73
  description: true,
75
74
  smartTags: true,
76
75
  category: true,
77
- module: true,
78
76
  scope: true,
79
77
  tags: true,
80
78
  isPublic: true,
@@ -105,7 +103,6 @@ async function handleFindFirst(argv, _prompter) {
105
103
  description: true,
106
104
  smartTags: true,
107
105
  category: true,
108
- module: true,
109
106
  scope: true,
110
107
  tags: true,
111
108
  isPublic: true,
@@ -148,7 +145,6 @@ async function handleGet(argv, prompter) {
148
145
  description: true,
149
146
  smartTags: true,
150
147
  category: true,
151
- module: true,
152
148
  scope: true,
153
149
  tags: true,
154
150
  isPublic: true,
@@ -216,13 +212,6 @@ async function handleCreate(argv, prompter) {
216
212
  required: false,
217
213
  skipPrompt: true,
218
214
  },
219
- {
220
- type: 'text',
221
- name: 'module',
222
- message: 'module',
223
- required: false,
224
- skipPrompt: true,
225
- },
226
215
  {
227
216
  type: 'text',
228
217
  name: 'scope',
@@ -258,7 +247,6 @@ async function handleCreate(argv, prompter) {
258
247
  description: cleanedData.description,
259
248
  smartTags: cleanedData.smartTags,
260
249
  category: cleanedData.category,
261
- module: cleanedData.module,
262
250
  scope: cleanedData.scope,
263
251
  tags: cleanedData.tags,
264
252
  isPublic: cleanedData.isPublic,
@@ -272,7 +260,6 @@ async function handleCreate(argv, prompter) {
272
260
  description: true,
273
261
  smartTags: true,
274
262
  category: true,
275
- module: true,
276
263
  scope: true,
277
264
  tags: true,
278
265
  isPublic: true,
@@ -346,13 +333,6 @@ async function handleUpdate(argv, prompter) {
346
333
  required: false,
347
334
  skipPrompt: true,
348
335
  },
349
- {
350
- type: 'text',
351
- name: 'module',
352
- message: 'module',
353
- required: false,
354
- skipPrompt: true,
355
- },
356
336
  {
357
337
  type: 'text',
358
338
  name: 'scope',
@@ -391,7 +371,6 @@ async function handleUpdate(argv, prompter) {
391
371
  description: cleanedData.description,
392
372
  smartTags: cleanedData.smartTags,
393
373
  category: cleanedData.category,
394
- module: cleanedData.module,
395
374
  scope: cleanedData.scope,
396
375
  tags: cleanedData.tags,
397
376
  isPublic: cleanedData.isPublic,
@@ -405,7 +384,6 @@ async function handleUpdate(argv, prompter) {
405
384
  description: true,
406
385
  smartTags: true,
407
386
  category: true,
408
- module: true,
409
387
  scope: true,
410
388
  tags: true,
411
389
  isPublic: true,
@@ -19,7 +19,6 @@ const fieldSchema = {
19
19
  operator: 'string',
20
20
  paramName: 'string',
21
21
  category: 'string',
22
- module: 'string',
23
22
  scope: 'int',
24
23
  tags: 'string',
25
24
  createdAt: 'string',
@@ -77,7 +76,6 @@ async function handleList(argv, _prompter) {
77
76
  operator: true,
78
77
  paramName: true,
79
78
  category: true,
80
- module: true,
81
79
  scope: true,
82
80
  tags: true,
83
81
  createdAt: true,
@@ -109,7 +107,6 @@ async function handleFindFirst(argv, _prompter) {
109
107
  operator: true,
110
108
  paramName: true,
111
109
  category: true,
112
- module: true,
113
110
  scope: true,
114
111
  tags: true,
115
112
  createdAt: true,
@@ -153,7 +150,6 @@ async function handleGet(argv, prompter) {
153
150
  operator: true,
154
151
  paramName: true,
155
152
  category: true,
156
- module: true,
157
153
  scope: true,
158
154
  tags: true,
159
155
  createdAt: true,
@@ -231,13 +227,6 @@ async function handleCreate(argv, prompter) {
231
227
  required: false,
232
228
  skipPrompt: true,
233
229
  },
234
- {
235
- type: 'text',
236
- name: 'module',
237
- message: 'module',
238
- required: false,
239
- skipPrompt: true,
240
- },
241
230
  {
242
231
  type: 'text',
243
232
  name: 'scope',
@@ -268,7 +257,6 @@ async function handleCreate(argv, prompter) {
268
257
  operator: cleanedData.operator,
269
258
  paramName: cleanedData.paramName,
270
259
  category: cleanedData.category,
271
- module: cleanedData.module,
272
260
  scope: cleanedData.scope,
273
261
  tags: cleanedData.tags,
274
262
  },
@@ -283,7 +271,6 @@ async function handleCreate(argv, prompter) {
283
271
  operator: true,
284
272
  paramName: true,
285
273
  category: true,
286
- module: true,
287
274
  scope: true,
288
275
  tags: true,
289
276
  createdAt: true,
@@ -367,13 +354,6 @@ async function handleUpdate(argv, prompter) {
367
354
  required: false,
368
355
  skipPrompt: true,
369
356
  },
370
- {
371
- type: 'text',
372
- name: 'module',
373
- message: 'module',
374
- required: false,
375
- skipPrompt: true,
376
- },
377
357
  {
378
358
  type: 'text',
379
359
  name: 'scope',
@@ -407,7 +387,6 @@ async function handleUpdate(argv, prompter) {
407
387
  operator: cleanedData.operator,
408
388
  paramName: cleanedData.paramName,
409
389
  category: cleanedData.category,
410
- module: cleanedData.module,
411
390
  scope: cleanedData.scope,
412
391
  tags: cleanedData.tags,
413
392
  },
@@ -422,7 +401,6 @@ async function handleUpdate(argv, prompter) {
422
401
  operator: true,
423
402
  paramName: true,
424
403
  category: true,
425
- module: true,
426
404
  scope: true,
427
405
  tags: true,
428
406
  createdAt: true,
@@ -17,7 +17,6 @@ const fieldSchema = {
17
17
  description: 'string',
18
18
  smartTags: 'json',
19
19
  category: 'string',
20
- module: 'string',
21
20
  scope: 'int',
22
21
  useRls: 'boolean',
23
22
  timestamps: 'boolean',
@@ -29,9 +28,9 @@ const fieldSchema = {
29
28
  partitionStrategy: 'string',
30
29
  partitionKeyNames: 'string',
31
30
  partitionKeyTypes: 'string',
32
- inheritsId: 'uuid',
33
31
  createdAt: 'string',
34
32
  updatedAt: 'string',
33
+ inheritsId: 'uuid',
35
34
  };
36
35
  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';
37
36
  exports.default = async (argv, prompter, _options) => {
@@ -83,7 +82,6 @@ async function handleList(argv, _prompter) {
83
82
  description: true,
84
83
  smartTags: true,
85
84
  category: true,
86
- module: true,
87
85
  scope: true,
88
86
  useRls: true,
89
87
  timestamps: true,
@@ -95,9 +93,9 @@ async function handleList(argv, _prompter) {
95
93
  partitionStrategy: true,
96
94
  partitionKeyNames: true,
97
95
  partitionKeyTypes: true,
98
- inheritsId: true,
99
96
  createdAt: true,
100
97
  updatedAt: true,
98
+ inheritsId: true,
101
99
  };
102
100
  const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
103
101
  const client = (0, executor_1.getClient)();
@@ -123,7 +121,6 @@ async function handleFindFirst(argv, _prompter) {
123
121
  description: true,
124
122
  smartTags: true,
125
123
  category: true,
126
- module: true,
127
124
  scope: true,
128
125
  useRls: true,
129
126
  timestamps: true,
@@ -135,9 +132,9 @@ async function handleFindFirst(argv, _prompter) {
135
132
  partitionStrategy: true,
136
133
  partitionKeyNames: true,
137
134
  partitionKeyTypes: true,
138
- inheritsId: true,
139
135
  createdAt: true,
140
136
  updatedAt: true,
137
+ inheritsId: true,
141
138
  };
142
139
  const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
143
140
  const client = (0, executor_1.getClient)();
@@ -175,7 +172,6 @@ async function handleGet(argv, prompter) {
175
172
  description: true,
176
173
  smartTags: true,
177
174
  category: true,
178
- module: true,
179
175
  scope: true,
180
176
  useRls: true,
181
177
  timestamps: true,
@@ -187,9 +183,9 @@ async function handleGet(argv, prompter) {
187
183
  partitionStrategy: true,
188
184
  partitionKeyNames: true,
189
185
  partitionKeyTypes: true,
190
- inheritsId: true,
191
186
  createdAt: true,
192
187
  updatedAt: true,
188
+ inheritsId: true,
193
189
  },
194
190
  })
195
191
  .execute();
@@ -253,13 +249,6 @@ async function handleCreate(argv, prompter) {
253
249
  required: false,
254
250
  skipPrompt: true,
255
251
  },
256
- {
257
- type: 'text',
258
- name: 'module',
259
- message: 'module',
260
- required: false,
261
- skipPrompt: true,
262
- },
263
252
  {
264
253
  type: 'text',
265
254
  name: 'scope',
@@ -358,7 +347,6 @@ async function handleCreate(argv, prompter) {
358
347
  description: cleanedData.description,
359
348
  smartTags: cleanedData.smartTags,
360
349
  category: cleanedData.category,
361
- module: cleanedData.module,
362
350
  scope: cleanedData.scope,
363
351
  useRls: cleanedData.useRls,
364
352
  timestamps: cleanedData.timestamps,
@@ -381,7 +369,6 @@ async function handleCreate(argv, prompter) {
381
369
  description: true,
382
370
  smartTags: true,
383
371
  category: true,
384
- module: true,
385
372
  scope: true,
386
373
  useRls: true,
387
374
  timestamps: true,
@@ -393,9 +380,9 @@ async function handleCreate(argv, prompter) {
393
380
  partitionStrategy: true,
394
381
  partitionKeyNames: true,
395
382
  partitionKeyTypes: true,
396
- inheritsId: true,
397
383
  createdAt: true,
398
384
  updatedAt: true,
385
+ inheritsId: true,
399
386
  },
400
387
  })
401
388
  .execute();
@@ -465,13 +452,6 @@ async function handleUpdate(argv, prompter) {
465
452
  required: false,
466
453
  skipPrompt: true,
467
454
  },
468
- {
469
- type: 'text',
470
- name: 'module',
471
- message: 'module',
472
- required: false,
473
- skipPrompt: true,
474
- },
475
455
  {
476
456
  type: 'text',
477
457
  name: 'scope',
@@ -573,7 +553,6 @@ async function handleUpdate(argv, prompter) {
573
553
  description: cleanedData.description,
574
554
  smartTags: cleanedData.smartTags,
575
555
  category: cleanedData.category,
576
- module: cleanedData.module,
577
556
  scope: cleanedData.scope,
578
557
  useRls: cleanedData.useRls,
579
558
  timestamps: cleanedData.timestamps,
@@ -596,7 +575,6 @@ async function handleUpdate(argv, prompter) {
596
575
  description: true,
597
576
  smartTags: true,
598
577
  category: true,
599
- module: true,
600
578
  scope: true,
601
579
  useRls: true,
602
580
  timestamps: true,
@@ -608,9 +586,9 @@ async function handleUpdate(argv, prompter) {
608
586
  partitionStrategy: true,
609
587
  partitionKeyNames: true,
610
588
  partitionKeyTypes: true,
611
- inheritsId: true,
612
589
  createdAt: true,
613
590
  updatedAt: true,
591
+ inheritsId: true,
614
592
  },
615
593
  })
616
594
  .execute();
@@ -17,7 +17,6 @@ const fieldSchema = {
17
17
  functionName: 'string',
18
18
  smartTags: 'json',
19
19
  category: 'string',
20
- module: 'string',
21
20
  scope: 'int',
22
21
  tags: 'string',
23
22
  createdAt: 'string',
@@ -73,7 +72,6 @@ async function handleList(argv, _prompter) {
73
72
  functionName: true,
74
73
  smartTags: true,
75
74
  category: true,
76
- module: true,
77
75
  scope: true,
78
76
  tags: true,
79
77
  createdAt: true,
@@ -103,7 +101,6 @@ async function handleFindFirst(argv, _prompter) {
103
101
  functionName: true,
104
102
  smartTags: true,
105
103
  category: true,
106
- module: true,
107
104
  scope: true,
108
105
  tags: true,
109
106
  createdAt: true,
@@ -145,7 +142,6 @@ async function handleGet(argv, prompter) {
145
142
  functionName: true,
146
143
  smartTags: true,
147
144
  category: true,
148
- module: true,
149
145
  scope: true,
150
146
  tags: true,
151
147
  createdAt: true,
@@ -213,13 +209,6 @@ async function handleCreate(argv, prompter) {
213
209
  required: false,
214
210
  skipPrompt: true,
215
211
  },
216
- {
217
- type: 'text',
218
- name: 'module',
219
- message: 'module',
220
- required: false,
221
- skipPrompt: true,
222
- },
223
212
  {
224
213
  type: 'text',
225
214
  name: 'scope',
@@ -248,7 +237,6 @@ async function handleCreate(argv, prompter) {
248
237
  functionName: cleanedData.functionName,
249
238
  smartTags: cleanedData.smartTags,
250
239
  category: cleanedData.category,
251
- module: cleanedData.module,
252
240
  scope: cleanedData.scope,
253
241
  tags: cleanedData.tags,
254
242
  },
@@ -261,7 +249,6 @@ async function handleCreate(argv, prompter) {
261
249
  functionName: true,
262
250
  smartTags: true,
263
251
  category: true,
264
- module: true,
265
252
  scope: true,
266
253
  tags: true,
267
254
  createdAt: true,
@@ -335,13 +322,6 @@ async function handleUpdate(argv, prompter) {
335
322
  required: false,
336
323
  skipPrompt: true,
337
324
  },
338
- {
339
- type: 'text',
340
- name: 'module',
341
- message: 'module',
342
- required: false,
343
- skipPrompt: true,
344
- },
345
325
  {
346
326
  type: 'text',
347
327
  name: 'scope',
@@ -373,7 +353,6 @@ async function handleUpdate(argv, prompter) {
373
353
  functionName: cleanedData.functionName,
374
354
  smartTags: cleanedData.smartTags,
375
355
  category: cleanedData.category,
376
- module: cleanedData.module,
377
356
  scope: cleanedData.scope,
378
357
  tags: cleanedData.tags,
379
358
  },
@@ -386,7 +365,6 @@ async function handleUpdate(argv, prompter) {
386
365
  functionName: true,
387
366
  smartTags: true,
388
367
  category: true,
389
- module: true,
390
368
  scope: true,
391
369
  tags: true,
392
370
  createdAt: true,