@constructive-sdk/cli 0.14.7 → 0.14.8

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