@constructive-sdk/cli 0.2.1 → 0.3.0

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 (267) hide show
  1. package/admin/cli/commands/app-achievement.js +4 -0
  2. package/admin/cli/commands/app-admin-grant.js +4 -0
  3. package/admin/cli/commands/app-grant.js +6 -0
  4. package/admin/cli/commands/app-level-requirement.js +6 -0
  5. package/admin/cli/commands/app-level.js +6 -0
  6. package/admin/cli/commands/app-limit-default.js +2 -0
  7. package/admin/cli/commands/app-limit.js +6 -0
  8. package/admin/cli/commands/app-membership-default.js +8 -0
  9. package/admin/cli/commands/app-membership.js +24 -0
  10. package/admin/cli/commands/app-owner-grant.js +4 -0
  11. package/admin/cli/commands/app-permission-default.js +2 -0
  12. package/admin/cli/commands/app-permission.js +8 -0
  13. package/admin/cli/commands/app-step.js +4 -0
  14. package/admin/cli/commands/claimed-invite.js +6 -0
  15. package/admin/cli/commands/invite.js +18 -0
  16. package/admin/cli/commands/org-admin-grant.js +4 -0
  17. package/admin/cli/commands/org-chart-edge-grant.js +8 -0
  18. package/admin/cli/commands/org-chart-edge.js +6 -0
  19. package/admin/cli/commands/org-claimed-invite.js +6 -0
  20. package/admin/cli/commands/org-grant.js +6 -0
  21. package/admin/cli/commands/org-invite.js +20 -0
  22. package/admin/cli/commands/org-limit-default.js +2 -0
  23. package/admin/cli/commands/org-limit.js +6 -0
  24. package/admin/cli/commands/org-member.js +2 -0
  25. package/admin/cli/commands/org-membership-default.js +10 -0
  26. package/admin/cli/commands/org-membership.js +22 -0
  27. package/admin/cli/commands/org-owner-grant.js +4 -0
  28. package/admin/cli/commands/org-permission-default.js +2 -0
  29. package/admin/cli/commands/org-permission.js +8 -0
  30. package/auth/cli/commands/audit-log.js +8 -0
  31. package/auth/cli/commands/connected-account.js +4 -0
  32. package/auth/cli/commands/crypto-address.js +6 -0
  33. package/auth/cli/commands/email.js +6 -0
  34. package/auth/cli/commands/phone-number.js +6 -0
  35. package/auth/cli/commands/user.js +10 -0
  36. package/esm/admin/cli/commands/app-achievement.js +4 -0
  37. package/esm/admin/cli/commands/app-admin-grant.js +4 -0
  38. package/esm/admin/cli/commands/app-grant.js +6 -0
  39. package/esm/admin/cli/commands/app-level-requirement.js +6 -0
  40. package/esm/admin/cli/commands/app-level.js +6 -0
  41. package/esm/admin/cli/commands/app-limit-default.js +2 -0
  42. package/esm/admin/cli/commands/app-limit.js +6 -0
  43. package/esm/admin/cli/commands/app-membership-default.js +8 -0
  44. package/esm/admin/cli/commands/app-membership.js +24 -0
  45. package/esm/admin/cli/commands/app-owner-grant.js +4 -0
  46. package/esm/admin/cli/commands/app-permission-default.js +2 -0
  47. package/esm/admin/cli/commands/app-permission.js +8 -0
  48. package/esm/admin/cli/commands/app-step.js +4 -0
  49. package/esm/admin/cli/commands/claimed-invite.js +6 -0
  50. package/esm/admin/cli/commands/invite.js +18 -0
  51. package/esm/admin/cli/commands/org-admin-grant.js +4 -0
  52. package/esm/admin/cli/commands/org-chart-edge-grant.js +8 -0
  53. package/esm/admin/cli/commands/org-chart-edge.js +6 -0
  54. package/esm/admin/cli/commands/org-claimed-invite.js +6 -0
  55. package/esm/admin/cli/commands/org-grant.js +6 -0
  56. package/esm/admin/cli/commands/org-invite.js +20 -0
  57. package/esm/admin/cli/commands/org-limit-default.js +2 -0
  58. package/esm/admin/cli/commands/org-limit.js +6 -0
  59. package/esm/admin/cli/commands/org-member.js +2 -0
  60. package/esm/admin/cli/commands/org-membership-default.js +10 -0
  61. package/esm/admin/cli/commands/org-membership.js +22 -0
  62. package/esm/admin/cli/commands/org-owner-grant.js +4 -0
  63. package/esm/admin/cli/commands/org-permission-default.js +2 -0
  64. package/esm/admin/cli/commands/org-permission.js +8 -0
  65. package/esm/auth/cli/commands/audit-log.js +8 -0
  66. package/esm/auth/cli/commands/connected-account.js +4 -0
  67. package/esm/auth/cli/commands/crypto-address.js +6 -0
  68. package/esm/auth/cli/commands/email.js +6 -0
  69. package/esm/auth/cli/commands/phone-number.js +6 -0
  70. package/esm/auth/cli/commands/user.js +10 -0
  71. package/esm/objects/cli/commands/commit.js +12 -0
  72. package/esm/objects/cli/commands/object.js +8 -0
  73. package/esm/objects/cli/commands/ref.js +2 -0
  74. package/esm/objects/cli/commands/store.js +2 -0
  75. package/esm/public/cli/commands/api.js +8 -0
  76. package/esm/public/cli/commands/app-achievement.js +4 -0
  77. package/esm/public/cli/commands/app-admin-grant.js +4 -0
  78. package/esm/public/cli/commands/app-grant.js +6 -0
  79. package/esm/public/cli/commands/app-level-requirement.js +6 -0
  80. package/esm/public/cli/commands/app-level.js +6 -0
  81. package/esm/public/cli/commands/app-limit-default.js +2 -0
  82. package/esm/public/cli/commands/app-limit.js +6 -0
  83. package/esm/public/cli/commands/app-membership-default.js +8 -0
  84. package/esm/public/cli/commands/app-membership.js +24 -0
  85. package/esm/public/cli/commands/app-owner-grant.js +4 -0
  86. package/esm/public/cli/commands/app-permission-default.js +2 -0
  87. package/esm/public/cli/commands/app-permission.js +8 -0
  88. package/esm/public/cli/commands/app-step.js +4 -0
  89. package/esm/public/cli/commands/app.js +12 -0
  90. package/esm/public/cli/commands/ast-migration.js +11 -0
  91. package/esm/public/cli/commands/audit-log.js +8 -0
  92. package/esm/public/cli/commands/check-constraint.js +18 -0
  93. package/esm/public/cli/commands/claimed-invite.js +6 -0
  94. package/esm/public/cli/commands/commit.js +12 -0
  95. package/esm/public/cli/commands/connected-account.js +4 -0
  96. package/esm/public/cli/commands/connected-accounts-module.js +8 -0
  97. package/esm/public/cli/commands/crypto-address.js +6 -0
  98. package/esm/public/cli/commands/crypto-addresses-module.js +10 -0
  99. package/esm/public/cli/commands/crypto-auth-module.js +22 -0
  100. package/esm/public/cli/commands/database-provision-module.js +16 -0
  101. package/esm/public/cli/commands/database.js +10 -0
  102. package/esm/public/cli/commands/default-privilege.js +4 -0
  103. package/esm/public/cli/commands/denormalized-table-field.js +12 -0
  104. package/esm/public/cli/commands/domain.js +8 -0
  105. package/esm/public/cli/commands/email.js +6 -0
  106. package/esm/public/cli/commands/emails-module.js +8 -0
  107. package/esm/public/cli/commands/encrypted-secrets-module.js +6 -0
  108. package/esm/public/cli/commands/field-module.js +12 -0
  109. package/esm/public/cli/commands/field.js +36 -0
  110. package/esm/public/cli/commands/foreign-key-constraint.js +22 -0
  111. package/esm/public/cli/commands/full-text-search.js +2 -0
  112. package/esm/public/cli/commands/hierarchy-module.js +30 -0
  113. package/esm/public/cli/commands/index.js +24 -0
  114. package/esm/public/cli/commands/invite.js +18 -0
  115. package/esm/public/cli/commands/invites-module.js +22 -0
  116. package/esm/public/cli/commands/levels-module.js +46 -0
  117. package/esm/public/cli/commands/limits-module.js +30 -0
  118. package/esm/public/cli/commands/membership-types-module.js +6 -0
  119. package/esm/public/cli/commands/memberships-module.js +56 -0
  120. package/esm/public/cli/commands/node-type-registry.js +8 -0
  121. package/esm/public/cli/commands/object.js +8 -0
  122. package/esm/public/cli/commands/org-admin-grant.js +4 -0
  123. package/esm/public/cli/commands/org-chart-edge-grant.js +8 -0
  124. package/esm/public/cli/commands/org-chart-edge.js +6 -0
  125. package/esm/public/cli/commands/org-claimed-invite.js +6 -0
  126. package/esm/public/cli/commands/org-grant.js +6 -0
  127. package/esm/public/cli/commands/org-invite.js +20 -0
  128. package/esm/public/cli/commands/org-limit-default.js +2 -0
  129. package/esm/public/cli/commands/org-limit.js +6 -0
  130. package/esm/public/cli/commands/org-member.js +2 -0
  131. package/esm/public/cli/commands/org-membership-default.js +10 -0
  132. package/esm/public/cli/commands/org-membership.js +22 -0
  133. package/esm/public/cli/commands/org-owner-grant.js +4 -0
  134. package/esm/public/cli/commands/org-permission-default.js +2 -0
  135. package/esm/public/cli/commands/org-permission.js +8 -0
  136. package/esm/public/cli/commands/permissions-module.js +28 -0
  137. package/esm/public/cli/commands/phone-number.js +6 -0
  138. package/esm/public/cli/commands/phone-numbers-module.js +8 -0
  139. package/esm/public/cli/commands/policy.js +26 -0
  140. package/esm/public/cli/commands/primary-key-constraint.js +16 -0
  141. package/esm/public/cli/commands/profiles-module.js +30 -0
  142. package/esm/public/cli/commands/ref.js +2 -0
  143. package/esm/public/cli/commands/relation-provision.js +46 -0
  144. package/esm/public/cli/commands/rls-module.js +20 -0
  145. package/esm/public/cli/commands/schema-grant.js +2 -0
  146. package/esm/public/cli/commands/schema.js +16 -0
  147. package/esm/public/cli/commands/secrets-module.js +6 -0
  148. package/esm/public/cli/commands/secure-table-provision.js +30 -0
  149. package/esm/public/cli/commands/sessions-module.js +18 -0
  150. package/esm/public/cli/commands/site-metadatum.js +6 -0
  151. package/esm/public/cli/commands/site.js +14 -0
  152. package/esm/public/cli/commands/sql-migration.js +11 -0
  153. package/esm/public/cli/commands/store.js +2 -0
  154. package/esm/public/cli/commands/table-grant.js +6 -0
  155. package/esm/public/cli/commands/table-module.js +12 -0
  156. package/esm/public/cli/commands/table-template-module.js +10 -0
  157. package/esm/public/cli/commands/table.js +28 -0
  158. package/esm/public/cli/commands/trigger-function.js +2 -0
  159. package/esm/public/cli/commands/trigger.js +16 -0
  160. package/esm/public/cli/commands/unique-constraint.js +18 -0
  161. package/esm/public/cli/commands/user-auth-module.js +48 -0
  162. package/esm/public/cli/commands/user.js +10 -0
  163. package/esm/public/cli/commands/users-module.js +10 -0
  164. package/esm/public/cli/commands/uuid-module.js +4 -0
  165. package/esm/public/cli/commands/view-grant.js +6 -0
  166. package/esm/public/cli/commands/view-rule.js +4 -0
  167. package/esm/public/cli/commands/view-table.js +2 -0
  168. package/esm/public/cli/commands/view.js +24 -0
  169. package/objects/cli/commands/commit.js +12 -0
  170. package/objects/cli/commands/object.js +8 -0
  171. package/objects/cli/commands/ref.js +2 -0
  172. package/objects/cli/commands/store.js +2 -0
  173. package/package.json +4 -4
  174. package/public/cli/commands/api.js +8 -0
  175. package/public/cli/commands/app-achievement.js +4 -0
  176. package/public/cli/commands/app-admin-grant.js +4 -0
  177. package/public/cli/commands/app-grant.js +6 -0
  178. package/public/cli/commands/app-level-requirement.js +6 -0
  179. package/public/cli/commands/app-level.js +6 -0
  180. package/public/cli/commands/app-limit-default.js +2 -0
  181. package/public/cli/commands/app-limit.js +6 -0
  182. package/public/cli/commands/app-membership-default.js +8 -0
  183. package/public/cli/commands/app-membership.js +24 -0
  184. package/public/cli/commands/app-owner-grant.js +4 -0
  185. package/public/cli/commands/app-permission-default.js +2 -0
  186. package/public/cli/commands/app-permission.js +8 -0
  187. package/public/cli/commands/app-step.js +4 -0
  188. package/public/cli/commands/app.js +12 -0
  189. package/public/cli/commands/ast-migration.js +11 -0
  190. package/public/cli/commands/audit-log.js +8 -0
  191. package/public/cli/commands/check-constraint.js +18 -0
  192. package/public/cli/commands/claimed-invite.js +6 -0
  193. package/public/cli/commands/commit.js +12 -0
  194. package/public/cli/commands/connected-account.js +4 -0
  195. package/public/cli/commands/connected-accounts-module.js +8 -0
  196. package/public/cli/commands/crypto-address.js +6 -0
  197. package/public/cli/commands/crypto-addresses-module.js +10 -0
  198. package/public/cli/commands/crypto-auth-module.js +22 -0
  199. package/public/cli/commands/database-provision-module.js +16 -0
  200. package/public/cli/commands/database.js +10 -0
  201. package/public/cli/commands/default-privilege.js +4 -0
  202. package/public/cli/commands/denormalized-table-field.js +12 -0
  203. package/public/cli/commands/domain.js +8 -0
  204. package/public/cli/commands/email.js +6 -0
  205. package/public/cli/commands/emails-module.js +8 -0
  206. package/public/cli/commands/encrypted-secrets-module.js +6 -0
  207. package/public/cli/commands/field-module.js +12 -0
  208. package/public/cli/commands/field.js +36 -0
  209. package/public/cli/commands/foreign-key-constraint.js +22 -0
  210. package/public/cli/commands/full-text-search.js +2 -0
  211. package/public/cli/commands/hierarchy-module.js +30 -0
  212. package/public/cli/commands/index.js +24 -0
  213. package/public/cli/commands/invite.js +18 -0
  214. package/public/cli/commands/invites-module.js +22 -0
  215. package/public/cli/commands/levels-module.js +46 -0
  216. package/public/cli/commands/limits-module.js +30 -0
  217. package/public/cli/commands/membership-types-module.js +6 -0
  218. package/public/cli/commands/memberships-module.js +56 -0
  219. package/public/cli/commands/node-type-registry.js +8 -0
  220. package/public/cli/commands/object.js +8 -0
  221. package/public/cli/commands/org-admin-grant.js +4 -0
  222. package/public/cli/commands/org-chart-edge-grant.js +8 -0
  223. package/public/cli/commands/org-chart-edge.js +6 -0
  224. package/public/cli/commands/org-claimed-invite.js +6 -0
  225. package/public/cli/commands/org-grant.js +6 -0
  226. package/public/cli/commands/org-invite.js +20 -0
  227. package/public/cli/commands/org-limit-default.js +2 -0
  228. package/public/cli/commands/org-limit.js +6 -0
  229. package/public/cli/commands/org-member.js +2 -0
  230. package/public/cli/commands/org-membership-default.js +10 -0
  231. package/public/cli/commands/org-membership.js +22 -0
  232. package/public/cli/commands/org-owner-grant.js +4 -0
  233. package/public/cli/commands/org-permission-default.js +2 -0
  234. package/public/cli/commands/org-permission.js +8 -0
  235. package/public/cli/commands/permissions-module.js +28 -0
  236. package/public/cli/commands/phone-number.js +6 -0
  237. package/public/cli/commands/phone-numbers-module.js +8 -0
  238. package/public/cli/commands/policy.js +26 -0
  239. package/public/cli/commands/primary-key-constraint.js +16 -0
  240. package/public/cli/commands/profiles-module.js +30 -0
  241. package/public/cli/commands/ref.js +2 -0
  242. package/public/cli/commands/relation-provision.js +46 -0
  243. package/public/cli/commands/rls-module.js +20 -0
  244. package/public/cli/commands/schema-grant.js +2 -0
  245. package/public/cli/commands/schema.js +16 -0
  246. package/public/cli/commands/secrets-module.js +6 -0
  247. package/public/cli/commands/secure-table-provision.js +30 -0
  248. package/public/cli/commands/sessions-module.js +18 -0
  249. package/public/cli/commands/site-metadatum.js +6 -0
  250. package/public/cli/commands/site.js +14 -0
  251. package/public/cli/commands/sql-migration.js +11 -0
  252. package/public/cli/commands/store.js +2 -0
  253. package/public/cli/commands/table-grant.js +6 -0
  254. package/public/cli/commands/table-module.js +12 -0
  255. package/public/cli/commands/table-template-module.js +10 -0
  256. package/public/cli/commands/table.js +28 -0
  257. package/public/cli/commands/trigger-function.js +2 -0
  258. package/public/cli/commands/trigger.js +16 -0
  259. package/public/cli/commands/unique-constraint.js +18 -0
  260. package/public/cli/commands/user-auth-module.js +48 -0
  261. package/public/cli/commands/user.js +10 -0
  262. package/public/cli/commands/users-module.js +10 -0
  263. package/public/cli/commands/uuid-module.js +4 -0
  264. package/public/cli/commands/view-grant.js +6 -0
  265. package/public/cli/commands/view-rule.js +4 -0
  266. package/public/cli/commands/view-table.js +2 -0
  267. package/public/cli/commands/view.js +24 -0
@@ -92,66 +92,77 @@ async function handleCreate(argv, prompter) {
92
92
  name: 'databaseId',
93
93
  message: 'databaseId',
94
94
  required: false,
95
+ skipPrompt: true,
95
96
  },
96
97
  {
97
98
  type: 'text',
98
99
  name: 'name',
99
100
  message: 'name',
100
101
  required: false,
102
+ skipPrompt: true,
101
103
  },
102
104
  {
103
105
  type: 'text',
104
106
  name: 'requires',
105
107
  message: 'requires',
106
108
  required: false,
109
+ skipPrompt: true,
107
110
  },
108
111
  {
109
112
  type: 'text',
110
113
  name: 'payload',
111
114
  message: 'payload',
112
115
  required: false,
116
+ skipPrompt: true,
113
117
  },
114
118
  {
115
119
  type: 'text',
116
120
  name: 'deploys',
117
121
  message: 'deploys',
118
122
  required: false,
123
+ skipPrompt: true,
119
124
  },
120
125
  {
121
126
  type: 'text',
122
127
  name: 'deploy',
123
128
  message: 'deploy',
124
129
  required: false,
130
+ skipPrompt: true,
125
131
  },
126
132
  {
127
133
  type: 'text',
128
134
  name: 'revert',
129
135
  message: 'revert',
130
136
  required: false,
137
+ skipPrompt: true,
131
138
  },
132
139
  {
133
140
  type: 'text',
134
141
  name: 'verify',
135
142
  message: 'verify',
136
143
  required: false,
144
+ skipPrompt: true,
137
145
  },
138
146
  {
139
147
  type: 'text',
140
148
  name: 'action',
141
149
  message: 'action',
142
150
  required: false,
151
+ skipPrompt: true,
143
152
  },
144
153
  {
145
154
  type: 'text',
146
155
  name: 'actionId',
147
156
  message: 'actionId',
148
157
  required: false,
158
+ skipPrompt: true,
149
159
  },
150
160
  {
151
161
  type: 'text',
152
162
  name: 'actorId',
153
163
  message: 'actorId',
154
164
  required: false,
165
+ skipPrompt: true,
155
166
  },
156
167
  ]);
157
168
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -130,24 +130,28 @@ async function handleCreate(argv, prompter) {
130
130
  name: 'actorId',
131
131
  message: 'actorId',
132
132
  required: false,
133
+ skipPrompt: true,
133
134
  },
134
135
  {
135
136
  type: 'text',
136
137
  name: 'origin',
137
138
  message: 'origin',
138
139
  required: false,
140
+ skipPrompt: true,
139
141
  },
140
142
  {
141
143
  type: 'text',
142
144
  name: 'userAgent',
143
145
  message: 'userAgent',
144
146
  required: false,
147
+ skipPrompt: true,
145
148
  },
146
149
  {
147
150
  type: 'text',
148
151
  name: 'ipAddress',
149
152
  message: 'ipAddress',
150
153
  required: false,
154
+ skipPrompt: true,
151
155
  },
152
156
  {
153
157
  type: 'text',
@@ -211,24 +215,28 @@ async function handleUpdate(argv, prompter) {
211
215
  name: 'actorId',
212
216
  message: 'actorId',
213
217
  required: false,
218
+ skipPrompt: true,
214
219
  },
215
220
  {
216
221
  type: 'text',
217
222
  name: 'origin',
218
223
  message: 'origin',
219
224
  required: false,
225
+ skipPrompt: true,
220
226
  },
221
227
  {
222
228
  type: 'text',
223
229
  name: 'userAgent',
224
230
  message: 'userAgent',
225
231
  required: false,
232
+ skipPrompt: true,
226
233
  },
227
234
  {
228
235
  type: 'text',
229
236
  name: 'ipAddress',
230
237
  message: 'ipAddress',
231
238
  required: false,
239
+ skipPrompt: true,
232
240
  },
233
241
  {
234
242
  type: 'text',
@@ -142,6 +142,7 @@ async function handleCreate(argv, prompter) {
142
142
  name: 'databaseId',
143
143
  message: 'databaseId',
144
144
  required: false,
145
+ skipPrompt: true,
145
146
  },
146
147
  {
147
148
  type: 'text',
@@ -154,12 +155,14 @@ async function handleCreate(argv, prompter) {
154
155
  name: 'name',
155
156
  message: 'name',
156
157
  required: false,
158
+ skipPrompt: true,
157
159
  },
158
160
  {
159
161
  type: 'text',
160
162
  name: 'type',
161
163
  message: 'type',
162
164
  required: false,
165
+ skipPrompt: true,
163
166
  },
164
167
  {
165
168
  type: 'text',
@@ -172,36 +175,42 @@ async function handleCreate(argv, prompter) {
172
175
  name: 'expr',
173
176
  message: 'expr',
174
177
  required: false,
178
+ skipPrompt: true,
175
179
  },
176
180
  {
177
181
  type: 'text',
178
182
  name: 'smartTags',
179
183
  message: 'smartTags',
180
184
  required: false,
185
+ skipPrompt: true,
181
186
  },
182
187
  {
183
188
  type: 'text',
184
189
  name: 'category',
185
190
  message: 'category',
186
191
  required: false,
192
+ skipPrompt: true,
187
193
  },
188
194
  {
189
195
  type: 'text',
190
196
  name: 'module',
191
197
  message: 'module',
192
198
  required: false,
199
+ skipPrompt: true,
193
200
  },
194
201
  {
195
202
  type: 'text',
196
203
  name: 'scope',
197
204
  message: 'scope',
198
205
  required: false,
206
+ skipPrompt: true,
199
207
  },
200
208
  {
201
209
  type: 'text',
202
210
  name: 'tags',
203
211
  message: 'tags',
204
212
  required: false,
213
+ skipPrompt: true,
205
214
  },
206
215
  ]);
207
216
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -264,6 +273,7 @@ async function handleUpdate(argv, prompter) {
264
273
  name: 'databaseId',
265
274
  message: 'databaseId',
266
275
  required: false,
276
+ skipPrompt: true,
267
277
  },
268
278
  {
269
279
  type: 'text',
@@ -276,12 +286,14 @@ async function handleUpdate(argv, prompter) {
276
286
  name: 'name',
277
287
  message: 'name',
278
288
  required: false,
289
+ skipPrompt: true,
279
290
  },
280
291
  {
281
292
  type: 'text',
282
293
  name: 'type',
283
294
  message: 'type',
284
295
  required: false,
296
+ skipPrompt: true,
285
297
  },
286
298
  {
287
299
  type: 'text',
@@ -294,36 +306,42 @@ async function handleUpdate(argv, prompter) {
294
306
  name: 'expr',
295
307
  message: 'expr',
296
308
  required: false,
309
+ skipPrompt: true,
297
310
  },
298
311
  {
299
312
  type: 'text',
300
313
  name: 'smartTags',
301
314
  message: 'smartTags',
302
315
  required: false,
316
+ skipPrompt: true,
303
317
  },
304
318
  {
305
319
  type: 'text',
306
320
  name: 'category',
307
321
  message: 'category',
308
322
  required: false,
323
+ skipPrompt: true,
309
324
  },
310
325
  {
311
326
  type: 'text',
312
327
  name: 'module',
313
328
  message: 'module',
314
329
  required: false,
330
+ skipPrompt: true,
315
331
  },
316
332
  {
317
333
  type: 'text',
318
334
  name: 'scope',
319
335
  message: 'scope',
320
336
  required: false,
337
+ skipPrompt: true,
321
338
  },
322
339
  {
323
340
  type: 'text',
324
341
  name: 'tags',
325
342
  message: 'tags',
326
343
  required: false,
344
+ skipPrompt: true,
327
345
  },
328
346
  ]);
329
347
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -118,18 +118,21 @@ async function handleCreate(argv, prompter) {
118
118
  name: 'data',
119
119
  message: 'data',
120
120
  required: false,
121
+ skipPrompt: true,
121
122
  },
122
123
  {
123
124
  type: 'text',
124
125
  name: 'senderId',
125
126
  message: 'senderId',
126
127
  required: false,
128
+ skipPrompt: true,
127
129
  },
128
130
  {
129
131
  type: 'text',
130
132
  name: 'receiverId',
131
133
  message: 'receiverId',
132
134
  required: false,
135
+ skipPrompt: true,
133
136
  },
134
137
  ]);
135
138
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -176,18 +179,21 @@ async function handleUpdate(argv, prompter) {
176
179
  name: 'data',
177
180
  message: 'data',
178
181
  required: false,
182
+ skipPrompt: true,
179
183
  },
180
184
  {
181
185
  type: 'text',
182
186
  name: 'senderId',
183
187
  message: 'senderId',
184
188
  required: false,
189
+ skipPrompt: true,
185
190
  },
186
191
  {
187
192
  type: 'text',
188
193
  name: 'receiverId',
189
194
  message: 'receiverId',
190
195
  required: false,
196
+ skipPrompt: true,
191
197
  },
192
198
  ]);
193
199
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -127,6 +127,7 @@ async function handleCreate(argv, prompter) {
127
127
  name: 'message',
128
128
  message: 'message',
129
129
  required: false,
130
+ skipPrompt: true,
130
131
  },
131
132
  {
132
133
  type: 'text',
@@ -145,30 +146,35 @@ async function handleCreate(argv, prompter) {
145
146
  name: 'parentIds',
146
147
  message: 'parentIds',
147
148
  required: false,
149
+ skipPrompt: true,
148
150
  },
149
151
  {
150
152
  type: 'text',
151
153
  name: 'authorId',
152
154
  message: 'authorId',
153
155
  required: false,
156
+ skipPrompt: true,
154
157
  },
155
158
  {
156
159
  type: 'text',
157
160
  name: 'committerId',
158
161
  message: 'committerId',
159
162
  required: false,
163
+ skipPrompt: true,
160
164
  },
161
165
  {
162
166
  type: 'text',
163
167
  name: 'treeId',
164
168
  message: 'treeId',
165
169
  required: false,
170
+ skipPrompt: true,
166
171
  },
167
172
  {
168
173
  type: 'text',
169
174
  name: 'date',
170
175
  message: 'date',
171
176
  required: false,
177
+ skipPrompt: true,
172
178
  },
173
179
  ]);
174
180
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -223,6 +229,7 @@ async function handleUpdate(argv, prompter) {
223
229
  name: 'message',
224
230
  message: 'message',
225
231
  required: false,
232
+ skipPrompt: true,
226
233
  },
227
234
  {
228
235
  type: 'text',
@@ -241,30 +248,35 @@ async function handleUpdate(argv, prompter) {
241
248
  name: 'parentIds',
242
249
  message: 'parentIds',
243
250
  required: false,
251
+ skipPrompt: true,
244
252
  },
245
253
  {
246
254
  type: 'text',
247
255
  name: 'authorId',
248
256
  message: 'authorId',
249
257
  required: false,
258
+ skipPrompt: true,
250
259
  },
251
260
  {
252
261
  type: 'text',
253
262
  name: 'committerId',
254
263
  message: 'committerId',
255
264
  required: false,
265
+ skipPrompt: true,
256
266
  },
257
267
  {
258
268
  type: 'text',
259
269
  name: 'treeId',
260
270
  message: 'treeId',
261
271
  required: false,
272
+ skipPrompt: true,
262
273
  },
263
274
  {
264
275
  type: 'text',
265
276
  name: 'date',
266
277
  message: 'date',
267
278
  required: false,
279
+ skipPrompt: true,
268
280
  },
269
281
  ]);
270
282
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -124,6 +124,7 @@ async function handleCreate(argv, prompter) {
124
124
  name: 'ownerId',
125
125
  message: 'ownerId',
126
126
  required: false,
127
+ skipPrompt: true,
127
128
  },
128
129
  {
129
130
  type: 'text',
@@ -148,6 +149,7 @@ async function handleCreate(argv, prompter) {
148
149
  name: 'isVerified',
149
150
  message: 'isVerified',
150
151
  required: false,
152
+ skipPrompt: true,
151
153
  },
152
154
  ]);
153
155
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -198,6 +200,7 @@ async function handleUpdate(argv, prompter) {
198
200
  name: 'ownerId',
199
201
  message: 'ownerId',
200
202
  required: false,
203
+ skipPrompt: true,
201
204
  },
202
205
  {
203
206
  type: 'text',
@@ -222,6 +225,7 @@ async function handleUpdate(argv, prompter) {
222
225
  name: 'isVerified',
223
226
  message: 'isVerified',
224
227
  required: false,
228
+ skipPrompt: true,
225
229
  },
226
230
  ]);
227
231
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -127,24 +127,28 @@ async function handleCreate(argv, prompter) {
127
127
  name: 'schemaId',
128
128
  message: 'schemaId',
129
129
  required: false,
130
+ skipPrompt: true,
130
131
  },
131
132
  {
132
133
  type: 'text',
133
134
  name: 'privateSchemaId',
134
135
  message: 'privateSchemaId',
135
136
  required: false,
137
+ skipPrompt: true,
136
138
  },
137
139
  {
138
140
  type: 'text',
139
141
  name: 'tableId',
140
142
  message: 'tableId',
141
143
  required: false,
144
+ skipPrompt: true,
142
145
  },
143
146
  {
144
147
  type: 'text',
145
148
  name: 'ownerTableId',
146
149
  message: 'ownerTableId',
147
150
  required: false,
151
+ skipPrompt: true,
148
152
  },
149
153
  {
150
154
  type: 'text',
@@ -207,24 +211,28 @@ async function handleUpdate(argv, prompter) {
207
211
  name: 'schemaId',
208
212
  message: 'schemaId',
209
213
  required: false,
214
+ skipPrompt: true,
210
215
  },
211
216
  {
212
217
  type: 'text',
213
218
  name: 'privateSchemaId',
214
219
  message: 'privateSchemaId',
215
220
  required: false,
221
+ skipPrompt: true,
216
222
  },
217
223
  {
218
224
  type: 'text',
219
225
  name: 'tableId',
220
226
  message: 'tableId',
221
227
  required: false,
228
+ skipPrompt: true,
222
229
  },
223
230
  {
224
231
  type: 'text',
225
232
  name: 'ownerTableId',
226
233
  message: 'ownerTableId',
227
234
  required: false,
235
+ skipPrompt: true,
228
236
  },
229
237
  {
230
238
  type: 'text',
@@ -121,6 +121,7 @@ async function handleCreate(argv, prompter) {
121
121
  name: 'ownerId',
122
122
  message: 'ownerId',
123
123
  required: false,
124
+ skipPrompt: true,
124
125
  },
125
126
  {
126
127
  type: 'text',
@@ -133,12 +134,14 @@ async function handleCreate(argv, prompter) {
133
134
  name: 'isVerified',
134
135
  message: 'isVerified',
135
136
  required: false,
137
+ skipPrompt: true,
136
138
  },
137
139
  {
138
140
  type: 'text',
139
141
  name: 'isPrimary',
140
142
  message: 'isPrimary',
141
143
  required: false,
144
+ skipPrompt: true,
142
145
  },
143
146
  ]);
144
147
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -187,6 +190,7 @@ async function handleUpdate(argv, prompter) {
187
190
  name: 'ownerId',
188
191
  message: 'ownerId',
189
192
  required: false,
193
+ skipPrompt: true,
190
194
  },
191
195
  {
192
196
  type: 'text',
@@ -199,12 +203,14 @@ async function handleUpdate(argv, prompter) {
199
203
  name: 'isVerified',
200
204
  message: 'isVerified',
201
205
  required: false,
206
+ skipPrompt: true,
202
207
  },
203
208
  {
204
209
  type: 'text',
205
210
  name: 'isPrimary',
206
211
  message: 'isPrimary',
207
212
  required: false,
213
+ skipPrompt: true,
208
214
  },
209
215
  ]);
210
216
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -130,24 +130,28 @@ async function handleCreate(argv, prompter) {
130
130
  name: 'schemaId',
131
131
  message: 'schemaId',
132
132
  required: false,
133
+ skipPrompt: true,
133
134
  },
134
135
  {
135
136
  type: 'text',
136
137
  name: 'privateSchemaId',
137
138
  message: 'privateSchemaId',
138
139
  required: false,
140
+ skipPrompt: true,
139
141
  },
140
142
  {
141
143
  type: 'text',
142
144
  name: 'tableId',
143
145
  message: 'tableId',
144
146
  required: false,
147
+ skipPrompt: true,
145
148
  },
146
149
  {
147
150
  type: 'text',
148
151
  name: 'ownerTableId',
149
152
  message: 'ownerTableId',
150
153
  required: false,
154
+ skipPrompt: true,
151
155
  },
152
156
  {
153
157
  type: 'text',
@@ -160,6 +164,7 @@ async function handleCreate(argv, prompter) {
160
164
  name: 'cryptoNetwork',
161
165
  message: 'cryptoNetwork',
162
166
  required: false,
167
+ skipPrompt: true,
163
168
  },
164
169
  ]);
165
170
  const answers = coerceAnswers(rawAnswers, fieldSchema);
@@ -218,24 +223,28 @@ async function handleUpdate(argv, prompter) {
218
223
  name: 'schemaId',
219
224
  message: 'schemaId',
220
225
  required: false,
226
+ skipPrompt: true,
221
227
  },
222
228
  {
223
229
  type: 'text',
224
230
  name: 'privateSchemaId',
225
231
  message: 'privateSchemaId',
226
232
  required: false,
233
+ skipPrompt: true,
227
234
  },
228
235
  {
229
236
  type: 'text',
230
237
  name: 'tableId',
231
238
  message: 'tableId',
232
239
  required: false,
240
+ skipPrompt: true,
233
241
  },
234
242
  {
235
243
  type: 'text',
236
244
  name: 'ownerTableId',
237
245
  message: 'ownerTableId',
238
246
  required: false,
247
+ skipPrompt: true,
239
248
  },
240
249
  {
241
250
  type: 'text',
@@ -248,6 +257,7 @@ async function handleUpdate(argv, prompter) {
248
257
  name: 'cryptoNetwork',
249
258
  message: 'cryptoNetwork',
250
259
  required: false,
260
+ skipPrompt: true,
251
261
  },
252
262
  ]);
253
263
  const answers = coerceAnswers(rawAnswers, fieldSchema);