@constructive-sdk/cli 0.14.7 → 0.14.9

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 (155) hide show
  1. package/admin/cli/commands/org-membership-default.js +0 -44
  2. package/admin/cli/commands/org-membership-setting.d.ts +8 -0
  3. package/admin/cli/commands/org-membership-setting.js +418 -0
  4. package/admin/cli/commands.js +5 -3
  5. package/admin/cli/executor.d.ts +2 -1
  6. package/admin/orm/index.d.ts +4 -2
  7. package/admin/orm/index.js +4 -2
  8. package/admin/orm/input-types.d.ts +303 -142
  9. package/admin/orm/models/index.d.ts +2 -1
  10. package/admin/orm/models/index.js +5 -3
  11. package/admin/orm/models/orgMembershipSetting.d.ts +56 -0
  12. package/admin/orm/models/orgMembershipSetting.js +100 -0
  13. package/auth/cli/commands/crypto-address.js +22 -0
  14. package/auth/cli/commands/email.js +22 -0
  15. package/auth/cli/commands/identity-provider.d.ts +8 -0
  16. package/auth/cli/commands/identity-provider.js +164 -0
  17. package/auth/cli/commands/phone-number.js +22 -0
  18. package/auth/cli/commands/webauthn-credential.d.ts +8 -0
  19. package/auth/cli/commands/webauthn-credential.js +456 -0
  20. package/auth/cli/commands.js +7 -3
  21. package/auth/cli/executor.d.ts +7 -5
  22. package/auth/orm/index.d.ts +9 -5
  23. package/auth/orm/index.js +4 -0
  24. package/auth/orm/input-types.d.ts +525 -81
  25. package/auth/orm/input-types.js +1 -0
  26. package/auth/orm/models/identityProvider.d.ts +32 -0
  27. package/auth/orm/models/identityProvider.js +55 -0
  28. package/auth/orm/models/index.d.ts +2 -0
  29. package/auth/orm/models/index.js +5 -1
  30. package/auth/orm/models/webauthnCredential.d.ts +56 -0
  31. package/auth/orm/models/webauthnCredential.js +100 -0
  32. package/auth/orm/mutation/index.d.ts +9 -9
  33. package/auth/orm/mutation/index.js +12 -12
  34. package/esm/admin/cli/commands/org-membership-default.js +0 -44
  35. package/esm/admin/cli/commands/org-membership-setting.d.ts +8 -0
  36. package/esm/admin/cli/commands/org-membership-setting.js +416 -0
  37. package/esm/admin/cli/commands.js +5 -3
  38. package/esm/admin/cli/executor.d.ts +2 -1
  39. package/esm/admin/orm/index.d.ts +4 -2
  40. package/esm/admin/orm/index.js +4 -2
  41. package/esm/admin/orm/input-types.d.ts +303 -142
  42. package/esm/admin/orm/models/index.d.ts +2 -1
  43. package/esm/admin/orm/models/index.js +2 -1
  44. package/esm/admin/orm/models/orgMembershipSetting.d.ts +56 -0
  45. package/esm/admin/orm/models/orgMembershipSetting.js +96 -0
  46. package/esm/auth/cli/commands/crypto-address.js +22 -0
  47. package/esm/auth/cli/commands/email.js +22 -0
  48. package/esm/auth/cli/commands/identity-provider.d.ts +8 -0
  49. package/esm/auth/cli/commands/identity-provider.js +162 -0
  50. package/esm/auth/cli/commands/phone-number.js +22 -0
  51. package/esm/auth/cli/commands/webauthn-credential.d.ts +8 -0
  52. package/esm/auth/cli/commands/webauthn-credential.js +454 -0
  53. package/esm/auth/cli/commands.js +7 -3
  54. package/esm/auth/cli/executor.d.ts +7 -5
  55. package/esm/auth/orm/index.d.ts +9 -5
  56. package/esm/auth/orm/index.js +4 -0
  57. package/esm/auth/orm/input-types.d.ts +525 -81
  58. package/esm/auth/orm/input-types.js +1 -0
  59. package/esm/auth/orm/models/identityProvider.d.ts +32 -0
  60. package/esm/auth/orm/models/identityProvider.js +51 -0
  61. package/esm/auth/orm/models/index.d.ts +2 -0
  62. package/esm/auth/orm/models/index.js +2 -0
  63. package/esm/auth/orm/models/webauthnCredential.d.ts +56 -0
  64. package/esm/auth/orm/models/webauthnCredential.js +96 -0
  65. package/esm/auth/orm/mutation/index.d.ts +9 -9
  66. package/esm/auth/orm/mutation/index.js +12 -12
  67. package/esm/objects/orm/input-types.d.ts +12 -0
  68. package/esm/public/cli/commands/crypto-address.js +22 -0
  69. package/esm/public/cli/commands/email.js +22 -0
  70. package/esm/public/cli/commands/entity-type-provision.js +110 -0
  71. package/esm/public/cli/commands/identity-provider.d.ts +8 -0
  72. package/esm/public/cli/commands/identity-provider.js +162 -0
  73. package/esm/public/cli/commands/identity-providers-module.d.ts +8 -0
  74. package/esm/public/cli/commands/identity-providers-module.js +316 -0
  75. package/esm/public/cli/commands/memberships-module.js +44 -0
  76. package/esm/public/cli/commands/notifications-module.d.ts +8 -0
  77. package/esm/public/cli/commands/notifications-module.js +448 -0
  78. package/esm/public/cli/commands/org-membership-default.js +0 -44
  79. package/esm/public/cli/commands/org-membership-setting.d.ts +8 -0
  80. package/esm/public/cli/commands/org-membership-setting.js +416 -0
  81. package/esm/public/cli/commands/phone-number.js +22 -0
  82. package/esm/public/cli/commands/relation-provision.js +24 -156
  83. package/esm/public/cli/commands/secure-table-provision.js +24 -156
  84. package/esm/public/cli/commands/storage-module.js +44 -0
  85. package/esm/public/cli/commands/webauthn-auth-module.d.ts +8 -0
  86. package/esm/public/cli/commands/webauthn-auth-module.js +536 -0
  87. package/esm/public/cli/commands/webauthn-credential.d.ts +8 -0
  88. package/esm/public/cli/commands/webauthn-credential.js +454 -0
  89. package/esm/public/cli/commands.js +17 -5
  90. package/esm/public/cli/executor.d.ts +12 -6
  91. package/esm/public/orm/index.d.ts +19 -7
  92. package/esm/public/orm/index.js +14 -2
  93. package/esm/public/orm/input-types.d.ts +1827 -366
  94. package/esm/public/orm/input-types.js +7 -0
  95. package/esm/public/orm/models/identityProvider.d.ts +32 -0
  96. package/esm/public/orm/models/identityProvider.js +51 -0
  97. package/esm/public/orm/models/identityProvidersModule.d.ts +56 -0
  98. package/esm/public/orm/models/identityProvidersModule.js +96 -0
  99. package/esm/public/orm/models/index.d.ts +7 -1
  100. package/esm/public/orm/models/index.js +7 -1
  101. package/esm/public/orm/models/notificationsModule.d.ts +56 -0
  102. package/esm/public/orm/models/notificationsModule.js +96 -0
  103. package/esm/public/orm/models/orgMembershipSetting.d.ts +56 -0
  104. package/esm/public/orm/models/orgMembershipSetting.js +96 -0
  105. package/esm/public/orm/models/webauthnAuthModule.d.ts +56 -0
  106. package/esm/public/orm/models/webauthnAuthModule.js +96 -0
  107. package/esm/public/orm/models/webauthnCredential.d.ts +56 -0
  108. package/esm/public/orm/models/webauthnCredential.js +96 -0
  109. package/esm/public/orm/mutation/index.d.ts +9 -9
  110. package/esm/public/orm/mutation/index.js +12 -12
  111. package/objects/orm/input-types.d.ts +12 -0
  112. package/package.json +3 -3
  113. package/public/cli/commands/crypto-address.js +22 -0
  114. package/public/cli/commands/email.js +22 -0
  115. package/public/cli/commands/entity-type-provision.js +110 -0
  116. package/public/cli/commands/identity-provider.d.ts +8 -0
  117. package/public/cli/commands/identity-provider.js +164 -0
  118. package/public/cli/commands/identity-providers-module.d.ts +8 -0
  119. package/public/cli/commands/identity-providers-module.js +318 -0
  120. package/public/cli/commands/memberships-module.js +44 -0
  121. package/public/cli/commands/notifications-module.d.ts +8 -0
  122. package/public/cli/commands/notifications-module.js +450 -0
  123. package/public/cli/commands/org-membership-default.js +0 -44
  124. package/public/cli/commands/org-membership-setting.d.ts +8 -0
  125. package/public/cli/commands/org-membership-setting.js +418 -0
  126. package/public/cli/commands/phone-number.js +22 -0
  127. package/public/cli/commands/relation-provision.js +24 -156
  128. package/public/cli/commands/secure-table-provision.js +24 -156
  129. package/public/cli/commands/storage-module.js +44 -0
  130. package/public/cli/commands/webauthn-auth-module.d.ts +8 -0
  131. package/public/cli/commands/webauthn-auth-module.js +538 -0
  132. package/public/cli/commands/webauthn-credential.d.ts +8 -0
  133. package/public/cli/commands/webauthn-credential.js +456 -0
  134. package/public/cli/commands.js +17 -5
  135. package/public/cli/executor.d.ts +12 -6
  136. package/public/orm/index.d.ts +19 -7
  137. package/public/orm/index.js +14 -2
  138. package/public/orm/input-types.d.ts +1827 -366
  139. package/public/orm/input-types.js +7 -0
  140. package/public/orm/models/identityProvider.d.ts +32 -0
  141. package/public/orm/models/identityProvider.js +55 -0
  142. package/public/orm/models/identityProvidersModule.d.ts +56 -0
  143. package/public/orm/models/identityProvidersModule.js +100 -0
  144. package/public/orm/models/index.d.ts +7 -1
  145. package/public/orm/models/index.js +17 -5
  146. package/public/orm/models/notificationsModule.d.ts +56 -0
  147. package/public/orm/models/notificationsModule.js +100 -0
  148. package/public/orm/models/orgMembershipSetting.d.ts +56 -0
  149. package/public/orm/models/orgMembershipSetting.js +100 -0
  150. package/public/orm/models/webauthnAuthModule.d.ts +56 -0
  151. package/public/orm/models/webauthnAuthModule.js +100 -0
  152. package/public/orm/models/webauthnCredential.d.ts +56 -0
  153. package/public/orm/models/webauthnCredential.js +100 -0
  154. package/public/orm/mutation/index.d.ts +9 -9
  155. package/public/orm/mutation/index.js +12 -12
@@ -0,0 +1,318 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ /**
4
+ * CLI commands for IdentityProvidersModule
5
+ * @generated by @constructive-io/graphql-codegen
6
+ * DO NOT EDIT - changes will be overwritten
7
+ */
8
+ const inquirerer_1 = require("inquirerer");
9
+ const executor_1 = require("../executor");
10
+ const utils_1 = require("../utils");
11
+ const fieldSchema = {
12
+ id: 'uuid',
13
+ databaseId: 'uuid',
14
+ schemaId: 'uuid',
15
+ privateSchemaId: 'uuid',
16
+ tableId: 'uuid',
17
+ tableName: 'string',
18
+ };
19
+ const usage = '\nidentity-providers-module <command>\n\nCommands:\n list List identityProvidersModule records\n find-first Find first matching identityProvidersModule record\n get Get a identityProvidersModule by ID\n create Create a new identityProvidersModule\n update Update an existing identityProvidersModule\n delete Delete a identityProvidersModule\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\n --help, -h Show this help message\n';
20
+ exports.default = async (argv, prompter, _options) => {
21
+ if (argv.help || argv.h) {
22
+ console.log(usage);
23
+ process.exit(0);
24
+ }
25
+ const { first: subcommand, newArgv } = (0, inquirerer_1.extractFirst)(argv);
26
+ if (!subcommand) {
27
+ const answer = await prompter.prompt(argv, [
28
+ {
29
+ type: 'autocomplete',
30
+ name: 'subcommand',
31
+ message: 'What do you want to do?',
32
+ options: ['list', 'find-first', 'get', 'create', 'update', 'delete'],
33
+ },
34
+ ]);
35
+ return handleTableSubcommand(answer.subcommand, newArgv, prompter);
36
+ }
37
+ return handleTableSubcommand(subcommand, newArgv, prompter);
38
+ };
39
+ async function handleTableSubcommand(subcommand, argv, prompter) {
40
+ switch (subcommand) {
41
+ case 'list':
42
+ return handleList(argv, prompter);
43
+ case 'find-first':
44
+ return handleFindFirst(argv, prompter);
45
+ case 'get':
46
+ return handleGet(argv, prompter);
47
+ case 'create':
48
+ return handleCreate(argv, prompter);
49
+ case 'update':
50
+ return handleUpdate(argv, prompter);
51
+ case 'delete':
52
+ return handleDelete(argv, prompter);
53
+ default:
54
+ console.log(usage);
55
+ process.exit(1);
56
+ }
57
+ }
58
+ async function handleList(argv, _prompter) {
59
+ try {
60
+ const defaultSelect = {
61
+ id: true,
62
+ databaseId: true,
63
+ schemaId: true,
64
+ privateSchemaId: true,
65
+ tableId: true,
66
+ tableName: true,
67
+ };
68
+ const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
69
+ const client = (0, executor_1.getClient)();
70
+ const result = await client.identityProvidersModule.findMany(findManyArgs).execute();
71
+ console.log(JSON.stringify(result, null, 2));
72
+ }
73
+ catch (error) {
74
+ console.error('Failed to list records.');
75
+ if (error instanceof Error) {
76
+ console.error(error.message);
77
+ }
78
+ process.exit(1);
79
+ }
80
+ }
81
+ async function handleFindFirst(argv, _prompter) {
82
+ try {
83
+ const defaultSelect = {
84
+ id: true,
85
+ databaseId: true,
86
+ schemaId: true,
87
+ privateSchemaId: true,
88
+ tableId: true,
89
+ tableName: true,
90
+ };
91
+ const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
92
+ const client = (0, executor_1.getClient)();
93
+ const result = await client.identityProvidersModule.findFirst(findFirstArgs).execute();
94
+ console.log(JSON.stringify(result, null, 2));
95
+ }
96
+ catch (error) {
97
+ console.error('Failed to find record.');
98
+ if (error instanceof Error) {
99
+ console.error(error.message);
100
+ }
101
+ process.exit(1);
102
+ }
103
+ }
104
+ async function handleGet(argv, prompter) {
105
+ try {
106
+ const answers = await prompter.prompt(argv, [
107
+ {
108
+ type: 'text',
109
+ name: 'id',
110
+ message: 'id',
111
+ required: true,
112
+ },
113
+ ]);
114
+ const client = (0, executor_1.getClient)();
115
+ const result = await client.identityProvidersModule
116
+ .findOne({
117
+ id: answers.id,
118
+ select: {
119
+ id: true,
120
+ databaseId: true,
121
+ schemaId: true,
122
+ privateSchemaId: true,
123
+ tableId: true,
124
+ tableName: true,
125
+ },
126
+ })
127
+ .execute();
128
+ console.log(JSON.stringify(result, null, 2));
129
+ }
130
+ catch (error) {
131
+ console.error('Record not found.');
132
+ if (error instanceof Error) {
133
+ console.error(error.message);
134
+ }
135
+ process.exit(1);
136
+ }
137
+ }
138
+ async function handleCreate(argv, prompter) {
139
+ try {
140
+ const rawAnswers = await prompter.prompt(argv, [
141
+ {
142
+ type: 'text',
143
+ name: 'databaseId',
144
+ message: 'databaseId',
145
+ required: true,
146
+ },
147
+ {
148
+ type: 'text',
149
+ name: 'schemaId',
150
+ message: 'schemaId',
151
+ required: false,
152
+ skipPrompt: true,
153
+ },
154
+ {
155
+ type: 'text',
156
+ name: 'privateSchemaId',
157
+ message: 'privateSchemaId',
158
+ required: false,
159
+ skipPrompt: true,
160
+ },
161
+ {
162
+ type: 'text',
163
+ name: 'tableId',
164
+ message: 'tableId',
165
+ required: false,
166
+ skipPrompt: true,
167
+ },
168
+ {
169
+ type: 'text',
170
+ name: 'tableName',
171
+ message: 'tableName',
172
+ required: false,
173
+ skipPrompt: true,
174
+ },
175
+ ]);
176
+ const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
177
+ const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
178
+ const client = (0, executor_1.getClient)();
179
+ const result = await client.identityProvidersModule
180
+ .create({
181
+ data: {
182
+ databaseId: cleanedData.databaseId,
183
+ schemaId: cleanedData.schemaId,
184
+ privateSchemaId: cleanedData.privateSchemaId,
185
+ tableId: cleanedData.tableId,
186
+ tableName: cleanedData.tableName,
187
+ },
188
+ select: {
189
+ id: true,
190
+ databaseId: true,
191
+ schemaId: true,
192
+ privateSchemaId: true,
193
+ tableId: true,
194
+ tableName: true,
195
+ },
196
+ })
197
+ .execute();
198
+ console.log(JSON.stringify(result, null, 2));
199
+ }
200
+ catch (error) {
201
+ console.error('Failed to create record.');
202
+ if (error instanceof Error) {
203
+ console.error(error.message);
204
+ }
205
+ process.exit(1);
206
+ }
207
+ }
208
+ async function handleUpdate(argv, prompter) {
209
+ try {
210
+ const rawAnswers = await prompter.prompt(argv, [
211
+ {
212
+ type: 'text',
213
+ name: 'id',
214
+ message: 'id',
215
+ required: true,
216
+ },
217
+ {
218
+ type: 'text',
219
+ name: 'databaseId',
220
+ message: 'databaseId',
221
+ required: false,
222
+ },
223
+ {
224
+ type: 'text',
225
+ name: 'schemaId',
226
+ message: 'schemaId',
227
+ required: false,
228
+ skipPrompt: true,
229
+ },
230
+ {
231
+ type: 'text',
232
+ name: 'privateSchemaId',
233
+ message: 'privateSchemaId',
234
+ required: false,
235
+ skipPrompt: true,
236
+ },
237
+ {
238
+ type: 'text',
239
+ name: 'tableId',
240
+ message: 'tableId',
241
+ required: false,
242
+ skipPrompt: true,
243
+ },
244
+ {
245
+ type: 'text',
246
+ name: 'tableName',
247
+ message: 'tableName',
248
+ required: false,
249
+ skipPrompt: true,
250
+ },
251
+ ]);
252
+ const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
253
+ const cleanedData = (0, utils_1.stripUndefined)(answers, fieldSchema);
254
+ const client = (0, executor_1.getClient)();
255
+ const result = await client.identityProvidersModule
256
+ .update({
257
+ where: {
258
+ id: answers.id,
259
+ },
260
+ data: {
261
+ databaseId: cleanedData.databaseId,
262
+ schemaId: cleanedData.schemaId,
263
+ privateSchemaId: cleanedData.privateSchemaId,
264
+ tableId: cleanedData.tableId,
265
+ tableName: cleanedData.tableName,
266
+ },
267
+ select: {
268
+ id: true,
269
+ databaseId: true,
270
+ schemaId: true,
271
+ privateSchemaId: true,
272
+ tableId: true,
273
+ tableName: true,
274
+ },
275
+ })
276
+ .execute();
277
+ console.log(JSON.stringify(result, null, 2));
278
+ }
279
+ catch (error) {
280
+ console.error('Failed to update record.');
281
+ if (error instanceof Error) {
282
+ console.error(error.message);
283
+ }
284
+ process.exit(1);
285
+ }
286
+ }
287
+ async function handleDelete(argv, prompter) {
288
+ try {
289
+ const rawAnswers = await prompter.prompt(argv, [
290
+ {
291
+ type: 'text',
292
+ name: 'id',
293
+ message: 'id',
294
+ required: true,
295
+ },
296
+ ]);
297
+ const answers = (0, utils_1.coerceAnswers)(rawAnswers, fieldSchema);
298
+ const client = (0, executor_1.getClient)();
299
+ const result = await client.identityProvidersModule
300
+ .delete({
301
+ where: {
302
+ id: answers.id,
303
+ },
304
+ select: {
305
+ id: true,
306
+ },
307
+ })
308
+ .execute();
309
+ console.log(JSON.stringify(result, null, 2));
310
+ }
311
+ catch (error) {
312
+ console.error('Failed to delete record.');
313
+ if (error instanceof Error) {
314
+ console.error(error.message);
315
+ }
316
+ process.exit(1);
317
+ }
318
+ }
@@ -19,6 +19,8 @@ const fieldSchema = {
19
19
  membersTableName: 'string',
20
20
  membershipDefaultsTableId: 'uuid',
21
21
  membershipDefaultsTableName: 'string',
22
+ membershipSettingsTableId: 'uuid',
23
+ membershipSettingsTableName: 'string',
22
24
  grantsTableId: 'uuid',
23
25
  grantsTableName: 'string',
24
26
  actorTableId: 'uuid',
@@ -94,6 +96,8 @@ async function handleList(argv, _prompter) {
94
96
  membersTableName: true,
95
97
  membershipDefaultsTableId: true,
96
98
  membershipDefaultsTableName: true,
99
+ membershipSettingsTableId: true,
100
+ membershipSettingsTableName: true,
97
101
  grantsTableId: true,
98
102
  grantsTableName: true,
99
103
  actorTableId: true,
@@ -143,6 +147,8 @@ async function handleFindFirst(argv, _prompter) {
143
147
  membersTableName: true,
144
148
  membershipDefaultsTableId: true,
145
149
  membershipDefaultsTableName: true,
150
+ membershipSettingsTableId: true,
151
+ membershipSettingsTableName: true,
146
152
  grantsTableId: true,
147
153
  grantsTableName: true,
148
154
  actorTableId: true,
@@ -204,6 +210,8 @@ async function handleGet(argv, prompter) {
204
210
  membersTableName: true,
205
211
  membershipDefaultsTableId: true,
206
212
  membershipDefaultsTableName: true,
213
+ membershipSettingsTableId: true,
214
+ membershipSettingsTableName: true,
207
215
  grantsTableId: true,
208
216
  grantsTableName: true,
209
217
  actorTableId: true,
@@ -304,6 +312,20 @@ async function handleCreate(argv, prompter) {
304
312
  required: false,
305
313
  skipPrompt: true,
306
314
  },
315
+ {
316
+ type: 'text',
317
+ name: 'membershipSettingsTableId',
318
+ message: 'membershipSettingsTableId',
319
+ required: false,
320
+ skipPrompt: true,
321
+ },
322
+ {
323
+ type: 'text',
324
+ name: 'membershipSettingsTableName',
325
+ message: 'membershipSettingsTableName',
326
+ required: false,
327
+ skipPrompt: true,
328
+ },
307
329
  {
308
330
  type: 'text',
309
331
  name: 'grantsTableId',
@@ -473,6 +495,8 @@ async function handleCreate(argv, prompter) {
473
495
  membersTableName: cleanedData.membersTableName,
474
496
  membershipDefaultsTableId: cleanedData.membershipDefaultsTableId,
475
497
  membershipDefaultsTableName: cleanedData.membershipDefaultsTableName,
498
+ membershipSettingsTableId: cleanedData.membershipSettingsTableId,
499
+ membershipSettingsTableName: cleanedData.membershipSettingsTableName,
476
500
  grantsTableId: cleanedData.grantsTableId,
477
501
  grantsTableName: cleanedData.grantsTableName,
478
502
  actorTableId: cleanedData.actorTableId,
@@ -507,6 +531,8 @@ async function handleCreate(argv, prompter) {
507
531
  membersTableName: true,
508
532
  membershipDefaultsTableId: true,
509
533
  membershipDefaultsTableName: true,
534
+ membershipSettingsTableId: true,
535
+ membershipSettingsTableName: true,
510
536
  grantsTableId: true,
511
537
  grantsTableName: true,
512
538
  actorTableId: true,
@@ -613,6 +639,20 @@ async function handleUpdate(argv, prompter) {
613
639
  required: false,
614
640
  skipPrompt: true,
615
641
  },
642
+ {
643
+ type: 'text',
644
+ name: 'membershipSettingsTableId',
645
+ message: 'membershipSettingsTableId',
646
+ required: false,
647
+ skipPrompt: true,
648
+ },
649
+ {
650
+ type: 'text',
651
+ name: 'membershipSettingsTableName',
652
+ message: 'membershipSettingsTableName',
653
+ required: false,
654
+ skipPrompt: true,
655
+ },
616
656
  {
617
657
  type: 'text',
618
658
  name: 'grantsTableId',
@@ -785,6 +825,8 @@ async function handleUpdate(argv, prompter) {
785
825
  membersTableName: cleanedData.membersTableName,
786
826
  membershipDefaultsTableId: cleanedData.membershipDefaultsTableId,
787
827
  membershipDefaultsTableName: cleanedData.membershipDefaultsTableName,
828
+ membershipSettingsTableId: cleanedData.membershipSettingsTableId,
829
+ membershipSettingsTableName: cleanedData.membershipSettingsTableName,
788
830
  grantsTableId: cleanedData.grantsTableId,
789
831
  grantsTableName: cleanedData.grantsTableName,
790
832
  actorTableId: cleanedData.actorTableId,
@@ -819,6 +861,8 @@ async function handleUpdate(argv, prompter) {
819
861
  membersTableName: true,
820
862
  membershipDefaultsTableId: true,
821
863
  membershipDefaultsTableName: true,
864
+ membershipSettingsTableId: true,
865
+ membershipSettingsTableName: true,
822
866
  grantsTableId: true,
823
867
  grantsTableName: true,
824
868
  actorTableId: true,
@@ -0,0 +1,8 @@
1
+ /**
2
+ * CLI commands for NotificationsModule
3
+ * @generated by @constructive-io/graphql-codegen
4
+ * DO NOT EDIT - changes will be overwritten
5
+ */
6
+ import { CLIOptions, Inquirerer } from 'inquirerer';
7
+ declare const _default: (argv: Partial<Record<string, unknown>>, prompter: Inquirerer, _options: CLIOptions) => Promise<void>;
8
+ export default _default;