@constructive-sdk/cli 0.22.3 → 0.22.4
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.
- package/admin/cli/commands/{app-achievement.d.ts → app-limit-warning.d.ts} +1 -1
- package/{public/cli/commands/app-step.js → admin/cli/commands/app-limit-warning.js} +58 -54
- package/{esm/admin/cli/commands/app-achievement.d.ts → admin/cli/commands/org-limit-warning.d.ts} +1 -1
- package/admin/cli/commands/{app-level.js → org-limit-warning.js} +66 -62
- package/admin/cli/commands.js +7 -15
- package/admin/cli/executor.d.ts +3 -15
- package/admin/orm/index.d.ts +6 -20
- package/admin/orm/index.js +6 -10
- package/admin/orm/input-types.d.ts +488 -768
- package/admin/orm/models/appLimitWarning.d.ts +54 -0
- package/{public/orm/models/secretsModule.js → admin/orm/models/appLimitWarning.js} +27 -27
- package/admin/orm/models/index.d.ts +3 -5
- package/admin/orm/models/index.js +7 -11
- package/admin/orm/models/orgLimitWarning.d.ts +54 -0
- package/admin/orm/models/{appAchievement.js → orgLimitWarning.js} +27 -27
- package/admin/orm/query/index.d.ts +1 -28
- package/admin/orm/query/index.js +0 -44
- package/{admin/cli/commands/app-step.d.ts → esm/admin/cli/commands/app-limit-warning.d.ts} +1 -1
- package/esm/{public/cli/commands/app-step.js → admin/cli/commands/app-limit-warning.js} +58 -54
- package/esm/admin/cli/commands/org-limit-warning.d.ts +8 -0
- package/esm/{public/cli/commands/app-level.js → admin/cli/commands/org-limit-warning.js} +66 -62
- package/esm/admin/cli/commands.js +7 -15
- package/esm/admin/cli/executor.d.ts +3 -15
- package/esm/admin/orm/index.d.ts +6 -20
- package/esm/admin/orm/index.js +6 -10
- package/esm/admin/orm/input-types.d.ts +488 -768
- package/esm/admin/orm/models/appLimitWarning.d.ts +54 -0
- package/esm/{public/orm/models/appAchievement.js → admin/orm/models/appLimitWarning.js} +25 -25
- package/esm/admin/orm/models/index.d.ts +3 -5
- package/esm/admin/orm/models/index.js +3 -5
- package/esm/admin/orm/models/orgLimitWarning.d.ts +54 -0
- package/esm/admin/orm/models/{appAchievement.js → orgLimitWarning.js} +25 -25
- package/esm/admin/orm/query/index.d.ts +1 -28
- package/esm/admin/orm/query/index.js +0 -44
- package/esm/public/cli/commands/app-limit-warning.d.ts +8 -0
- package/esm/{admin/cli/commands/app-step.js → public/cli/commands/app-limit-warning.js} +58 -54
- package/esm/public/cli/commands/construct-blueprint.js +1 -1
- package/esm/public/cli/commands/create-user-database.js +1 -1
- package/esm/public/cli/commands/embedding-chunk.js +66 -0
- package/esm/public/cli/commands/entity-type-provision.js +22 -0
- package/esm/{admin/cli/commands/app-level.d.ts → public/cli/commands/events-module.d.ts} +1 -1
- package/esm/public/cli/commands/{levels-module.js → events-module.js} +438 -152
- package/esm/public/cli/commands/limits-module.js +88 -0
- package/esm/public/cli/commands/org-limit-warning.d.ts +8 -0
- package/esm/{admin/cli/commands/app-level.js → public/cli/commands/org-limit-warning.js} +66 -62
- package/esm/public/cli/commands/partition.js +24 -24
- package/{admin/cli/commands/app-level-requirement.d.ts → esm/public/cli/commands/rate-limit-meters-module.d.ts} +1 -1
- package/esm/public/cli/commands/rate-limit-meters-module.js +448 -0
- package/esm/public/cli/commands/realtime-module.js +24 -24
- package/esm/public/cli/commands/user-state-module.d.ts +8 -0
- package/esm/public/cli/commands/{secrets-module.js → user-state-module.js} +8 -8
- package/esm/public/cli/commands.js +11 -17
- package/esm/public/cli/executor.d.ts +5 -16
- package/esm/public/orm/index.d.ts +10 -22
- package/esm/public/orm/index.js +10 -12
- package/esm/public/orm/input-types.d.ts +1024 -919
- package/esm/public/orm/input-types.js +3 -5
- package/esm/public/orm/models/appLimitWarning.d.ts +54 -0
- package/esm/{admin/orm/models/appLevel.js → public/orm/models/appLimitWarning.js} +25 -25
- package/esm/public/orm/models/eventsModule.d.ts +54 -0
- package/esm/public/orm/models/{levelsModule.js → eventsModule.js} +25 -25
- package/esm/public/orm/models/index.d.ts +5 -6
- package/esm/public/orm/models/index.js +5 -6
- package/esm/public/orm/models/orgLimitWarning.d.ts +54 -0
- package/esm/{admin/orm/models/appStep.js → public/orm/models/orgLimitWarning.js} +25 -25
- package/esm/public/orm/models/rateLimitMetersModule.d.ts +54 -0
- package/esm/{admin/orm/models/appLevelRequirement.js → public/orm/models/rateLimitMetersModule.js} +25 -25
- package/esm/public/orm/models/userStateModule.d.ts +54 -0
- package/esm/public/orm/models/userStateModule.js +100 -0
- package/esm/public/orm/mutation/index.d.ts +2 -2
- package/esm/public/orm/query/index.d.ts +1 -28
- package/esm/public/orm/query/index.js +0 -44
- package/package.json +4 -4
- package/public/cli/commands/app-limit-warning.d.ts +8 -0
- package/{admin/cli/commands/app-step.js → public/cli/commands/app-limit-warning.js} +58 -54
- package/public/cli/commands/construct-blueprint.js +1 -1
- package/public/cli/commands/create-user-database.js +1 -1
- package/public/cli/commands/embedding-chunk.js +66 -0
- package/public/cli/commands/entity-type-provision.js +22 -0
- package/{admin/cli/commands/app-level.d.ts → public/cli/commands/events-module.d.ts} +1 -1
- package/public/cli/commands/{levels-module.js → events-module.js} +438 -152
- package/public/cli/commands/limits-module.js +88 -0
- package/public/cli/commands/org-limit-warning.d.ts +8 -0
- package/public/cli/commands/{app-level.js → org-limit-warning.js} +66 -62
- package/public/cli/commands/partition.js +24 -24
- package/public/cli/commands/rate-limit-meters-module.d.ts +8 -0
- package/public/cli/commands/rate-limit-meters-module.js +450 -0
- package/public/cli/commands/realtime-module.js +24 -24
- package/public/cli/commands/user-state-module.d.ts +8 -0
- package/public/cli/commands/{secrets-module.js → user-state-module.js} +8 -8
- package/public/cli/commands.js +11 -17
- package/public/cli/executor.d.ts +5 -16
- package/public/orm/index.d.ts +10 -22
- package/public/orm/index.js +10 -12
- package/public/orm/input-types.d.ts +1024 -919
- package/public/orm/input-types.js +3 -5
- package/public/orm/models/appLimitWarning.d.ts +54 -0
- package/{admin/orm/models/appStep.js → public/orm/models/appLimitWarning.js} +27 -27
- package/public/orm/models/eventsModule.d.ts +54 -0
- package/public/orm/models/{levelsModule.js → eventsModule.js} +27 -27
- package/public/orm/models/index.d.ts +5 -6
- package/public/orm/models/index.js +13 -15
- package/public/orm/models/orgLimitWarning.d.ts +54 -0
- package/{admin/orm/models/appLevel.js → public/orm/models/orgLimitWarning.js} +27 -27
- package/public/orm/models/rateLimitMetersModule.d.ts +54 -0
- package/public/orm/models/{appAchievement.js → rateLimitMetersModule.js} +27 -27
- package/public/orm/models/userStateModule.d.ts +54 -0
- package/public/orm/models/userStateModule.js +104 -0
- package/public/orm/mutation/index.d.ts +2 -2
- package/public/orm/query/index.d.ts +1 -28
- package/public/orm/query/index.js +0 -44
- package/admin/cli/commands/app-achievement.js +0 -286
- package/admin/cli/commands/app-level-requirement.js +0 -328
- package/admin/cli/commands/steps-achieved.d.ts +0 -8
- package/admin/cli/commands/steps-achieved.js +0 -35
- package/admin/cli/commands/steps-required.d.ts +0 -8
- package/admin/cli/commands/steps-required.js +0 -54
- package/admin/orm/models/appAchievement.d.ts +0 -54
- package/admin/orm/models/appLevel.d.ts +0 -54
- package/admin/orm/models/appLevelRequirement.d.ts +0 -54
- package/admin/orm/models/appLevelRequirement.js +0 -104
- package/admin/orm/models/appStep.d.ts +0 -54
- package/esm/admin/cli/commands/app-achievement.js +0 -284
- package/esm/admin/cli/commands/app-level-requirement.d.ts +0 -8
- package/esm/admin/cli/commands/app-level-requirement.js +0 -326
- package/esm/admin/cli/commands/app-step.d.ts +0 -8
- package/esm/admin/cli/commands/steps-achieved.d.ts +0 -8
- package/esm/admin/cli/commands/steps-achieved.js +0 -33
- package/esm/admin/cli/commands/steps-required.d.ts +0 -8
- package/esm/admin/cli/commands/steps-required.js +0 -52
- package/esm/admin/orm/models/appAchievement.d.ts +0 -54
- package/esm/admin/orm/models/appLevel.d.ts +0 -54
- package/esm/admin/orm/models/appLevelRequirement.d.ts +0 -54
- package/esm/admin/orm/models/appStep.d.ts +0 -54
- package/esm/public/cli/commands/app-achievement.d.ts +0 -8
- package/esm/public/cli/commands/app-achievement.js +0 -284
- package/esm/public/cli/commands/app-level-requirement.d.ts +0 -8
- package/esm/public/cli/commands/app-level-requirement.js +0 -326
- package/esm/public/cli/commands/app-level.d.ts +0 -8
- package/esm/public/cli/commands/app-step.d.ts +0 -8
- package/esm/public/cli/commands/levels-module.d.ts +0 -8
- package/esm/public/cli/commands/secrets-module.d.ts +0 -8
- package/esm/public/cli/commands/steps-achieved.d.ts +0 -8
- package/esm/public/cli/commands/steps-achieved.js +0 -33
- package/esm/public/cli/commands/steps-required.d.ts +0 -8
- package/esm/public/cli/commands/steps-required.js +0 -52
- package/esm/public/orm/models/appAchievement.d.ts +0 -54
- package/esm/public/orm/models/appLevel.d.ts +0 -54
- package/esm/public/orm/models/appLevel.js +0 -100
- package/esm/public/orm/models/appLevelRequirement.d.ts +0 -54
- package/esm/public/orm/models/appLevelRequirement.js +0 -100
- package/esm/public/orm/models/appStep.d.ts +0 -54
- package/esm/public/orm/models/appStep.js +0 -100
- package/esm/public/orm/models/levelsModule.d.ts +0 -54
- package/esm/public/orm/models/secretsModule.d.ts +0 -54
- package/esm/public/orm/models/secretsModule.js +0 -100
- package/public/cli/commands/app-achievement.d.ts +0 -8
- package/public/cli/commands/app-achievement.js +0 -286
- package/public/cli/commands/app-level-requirement.d.ts +0 -8
- package/public/cli/commands/app-level-requirement.js +0 -328
- package/public/cli/commands/app-level.d.ts +0 -8
- package/public/cli/commands/app-step.d.ts +0 -8
- package/public/cli/commands/levels-module.d.ts +0 -8
- package/public/cli/commands/secrets-module.d.ts +0 -8
- package/public/cli/commands/steps-achieved.d.ts +0 -8
- package/public/cli/commands/steps-achieved.js +0 -35
- package/public/cli/commands/steps-required.d.ts +0 -8
- package/public/cli/commands/steps-required.js +0 -54
- package/public/orm/models/appAchievement.d.ts +0 -54
- package/public/orm/models/appLevel.d.ts +0 -54
- package/public/orm/models/appLevel.js +0 -104
- package/public/orm/models/appLevelRequirement.d.ts +0 -54
- package/public/orm/models/appLevelRequirement.js +0 -104
- package/public/orm/models/appStep.d.ts +0 -54
- package/public/orm/models/appStep.js +0 -104
- package/public/orm/models/levelsModule.d.ts +0 -54
- package/public/orm/models/secretsModule.d.ts +0 -54
package/public/cli/commands.js
CHANGED
|
@@ -18,7 +18,6 @@ const get_all_record_1 = __importDefault(require("./commands/get-all-record"));
|
|
|
18
18
|
const app_permission_1 = __importDefault(require("./commands/app-permission"));
|
|
19
19
|
const org_permission_1 = __importDefault(require("./commands/org-permission"));
|
|
20
20
|
const object_1 = __importDefault(require("./commands/object"));
|
|
21
|
-
const app_level_requirement_1 = __importDefault(require("./commands/app-level-requirement"));
|
|
22
21
|
const database_1 = __importDefault(require("./commands/database"));
|
|
23
22
|
const schema_1 = __importDefault(require("./commands/schema"));
|
|
24
23
|
const table_1 = __importDefault(require("./commands/table"));
|
|
@@ -69,14 +68,14 @@ const denormalized_table_field_1 = __importDefault(require("./commands/denormali
|
|
|
69
68
|
const emails_module_1 = __importDefault(require("./commands/emails-module"));
|
|
70
69
|
const encrypted_secrets_module_1 = __importDefault(require("./commands/encrypted-secrets-module"));
|
|
71
70
|
const invites_module_1 = __importDefault(require("./commands/invites-module"));
|
|
72
|
-
const
|
|
71
|
+
const events_module_1 = __importDefault(require("./commands/events-module"));
|
|
73
72
|
const limits_module_1 = __importDefault(require("./commands/limits-module"));
|
|
74
73
|
const membership_types_module_1 = __importDefault(require("./commands/membership-types-module"));
|
|
75
74
|
const memberships_module_1 = __importDefault(require("./commands/memberships-module"));
|
|
76
75
|
const permissions_module_1 = __importDefault(require("./commands/permissions-module"));
|
|
77
76
|
const phone_numbers_module_1 = __importDefault(require("./commands/phone-numbers-module"));
|
|
78
77
|
const profiles_module_1 = __importDefault(require("./commands/profiles-module"));
|
|
79
|
-
const
|
|
78
|
+
const user_state_module_1 = __importDefault(require("./commands/user-state-module"));
|
|
80
79
|
const sessions_module_1 = __importDefault(require("./commands/sessions-module"));
|
|
81
80
|
const user_auth_module_1 = __importDefault(require("./commands/user-auth-module"));
|
|
82
81
|
const users_module_1 = __importDefault(require("./commands/users-module"));
|
|
@@ -108,9 +107,7 @@ const app_limit_credit_redemption_1 = __importDefault(require("./commands/app-li
|
|
|
108
107
|
const org_limit_1 = __importDefault(require("./commands/org-limit"));
|
|
109
108
|
const org_limit_credit_1 = __importDefault(require("./commands/org-limit-credit"));
|
|
110
109
|
const org_limit_aggregate_1 = __importDefault(require("./commands/org-limit-aggregate"));
|
|
111
|
-
const
|
|
112
|
-
const app_achievement_1 = __importDefault(require("./commands/app-achievement"));
|
|
113
|
-
const app_level_1 = __importDefault(require("./commands/app-level"));
|
|
110
|
+
const org_limit_warning_1 = __importDefault(require("./commands/org-limit-warning"));
|
|
114
111
|
const email_1 = __importDefault(require("./commands/email"));
|
|
115
112
|
const phone_number_1 = __importDefault(require("./commands/phone-number"));
|
|
116
113
|
const crypto_address_1 = __importDefault(require("./commands/crypto-address"));
|
|
@@ -139,6 +136,7 @@ const devices_module_1 = __importDefault(require("./commands/devices-module"));
|
|
|
139
136
|
const node_type_registry_1 = __importDefault(require("./commands/node-type-registry"));
|
|
140
137
|
const app_limit_default_1 = __importDefault(require("./commands/app-limit-default"));
|
|
141
138
|
const org_limit_default_1 = __importDefault(require("./commands/org-limit-default"));
|
|
139
|
+
const app_limit_warning_1 = __importDefault(require("./commands/app-limit-warning"));
|
|
142
140
|
const user_connected_account_1 = __importDefault(require("./commands/user-connected-account"));
|
|
143
141
|
const commit_1 = __importDefault(require("./commands/commit"));
|
|
144
142
|
const pubkey_setting_1 = __importDefault(require("./commands/pubkey-setting"));
|
|
@@ -150,6 +148,7 @@ const rls_setting_1 = __importDefault(require("./commands/rls-setting"));
|
|
|
150
148
|
const app_limit_event_1 = __importDefault(require("./commands/app-limit-event"));
|
|
151
149
|
const org_limit_event_1 = __importDefault(require("./commands/org-limit-event"));
|
|
152
150
|
const rls_module_1 = __importDefault(require("./commands/rls-module"));
|
|
151
|
+
const rate_limit_meters_module_1 = __importDefault(require("./commands/rate-limit-meters-module"));
|
|
153
152
|
const plans_module_1 = __importDefault(require("./commands/plans-module"));
|
|
154
153
|
const sql_action_1 = __importDefault(require("./commands/sql-action"));
|
|
155
154
|
const database_setting_1 = __importDefault(require("./commands/database-setting"));
|
|
@@ -167,7 +166,6 @@ const current_ip_address_1 = __importDefault(require("./commands/current-ip-addr
|
|
|
167
166
|
const require_step_up_1 = __importDefault(require("./commands/require-step-up"));
|
|
168
167
|
const app_permissions_get_padded_mask_1 = __importDefault(require("./commands/app-permissions-get-padded-mask"));
|
|
169
168
|
const org_permissions_get_padded_mask_1 = __importDefault(require("./commands/org-permissions-get-padded-mask"));
|
|
170
|
-
const steps_achieved_1 = __importDefault(require("./commands/steps-achieved"));
|
|
171
169
|
const rev_parse_1 = __importDefault(require("./commands/rev-parse"));
|
|
172
170
|
const resolve_blueprint_field_1 = __importDefault(require("./commands/resolve-blueprint-field"));
|
|
173
171
|
const org_is_manager_of_1 = __importDefault(require("./commands/org-is-manager-of"));
|
|
@@ -181,7 +179,6 @@ const org_permissions_get_by_mask_1 = __importDefault(require("./commands/org-pe
|
|
|
181
179
|
const get_all_objects_from_root_1 = __importDefault(require("./commands/get-all-objects-from-root"));
|
|
182
180
|
const get_path_objects_from_root_1 = __importDefault(require("./commands/get-path-objects-from-root"));
|
|
183
181
|
const get_object_at_path_1 = __importDefault(require("./commands/get-object-at-path"));
|
|
184
|
-
const steps_required_1 = __importDefault(require("./commands/steps-required"));
|
|
185
182
|
const current_user_1 = __importDefault(require("./commands/current-user"));
|
|
186
183
|
const send_account_deletion_email_1 = __importDefault(require("./commands/send-account-deletion-email"));
|
|
187
184
|
const sign_out_1 = __importDefault(require("./commands/sign-out"));
|
|
@@ -241,7 +238,6 @@ const createCommandMap = () => ({
|
|
|
241
238
|
'app-permission': app_permission_1.default,
|
|
242
239
|
'org-permission': org_permission_1.default,
|
|
243
240
|
object: object_1.default,
|
|
244
|
-
'app-level-requirement': app_level_requirement_1.default,
|
|
245
241
|
database: database_1.default,
|
|
246
242
|
schema: schema_1.default,
|
|
247
243
|
table: table_1.default,
|
|
@@ -292,14 +288,14 @@ const createCommandMap = () => ({
|
|
|
292
288
|
'emails-module': emails_module_1.default,
|
|
293
289
|
'encrypted-secrets-module': encrypted_secrets_module_1.default,
|
|
294
290
|
'invites-module': invites_module_1.default,
|
|
295
|
-
'
|
|
291
|
+
'events-module': events_module_1.default,
|
|
296
292
|
'limits-module': limits_module_1.default,
|
|
297
293
|
'membership-types-module': membership_types_module_1.default,
|
|
298
294
|
'memberships-module': memberships_module_1.default,
|
|
299
295
|
'permissions-module': permissions_module_1.default,
|
|
300
296
|
'phone-numbers-module': phone_numbers_module_1.default,
|
|
301
297
|
'profiles-module': profiles_module_1.default,
|
|
302
|
-
'
|
|
298
|
+
'user-state-module': user_state_module_1.default,
|
|
303
299
|
'sessions-module': sessions_module_1.default,
|
|
304
300
|
'user-auth-module': user_auth_module_1.default,
|
|
305
301
|
'users-module': users_module_1.default,
|
|
@@ -331,9 +327,7 @@ const createCommandMap = () => ({
|
|
|
331
327
|
'org-limit': org_limit_1.default,
|
|
332
328
|
'org-limit-credit': org_limit_credit_1.default,
|
|
333
329
|
'org-limit-aggregate': org_limit_aggregate_1.default,
|
|
334
|
-
'
|
|
335
|
-
'app-achievement': app_achievement_1.default,
|
|
336
|
-
'app-level': app_level_1.default,
|
|
330
|
+
'org-limit-warning': org_limit_warning_1.default,
|
|
337
331
|
email: email_1.default,
|
|
338
332
|
'phone-number': phone_number_1.default,
|
|
339
333
|
'crypto-address': crypto_address_1.default,
|
|
@@ -362,6 +356,7 @@ const createCommandMap = () => ({
|
|
|
362
356
|
'node-type-registry': node_type_registry_1.default,
|
|
363
357
|
'app-limit-default': app_limit_default_1.default,
|
|
364
358
|
'org-limit-default': org_limit_default_1.default,
|
|
359
|
+
'app-limit-warning': app_limit_warning_1.default,
|
|
365
360
|
'user-connected-account': user_connected_account_1.default,
|
|
366
361
|
commit: commit_1.default,
|
|
367
362
|
'pubkey-setting': pubkey_setting_1.default,
|
|
@@ -373,6 +368,7 @@ const createCommandMap = () => ({
|
|
|
373
368
|
'app-limit-event': app_limit_event_1.default,
|
|
374
369
|
'org-limit-event': org_limit_event_1.default,
|
|
375
370
|
'rls-module': rls_module_1.default,
|
|
371
|
+
'rate-limit-meters-module': rate_limit_meters_module_1.default,
|
|
376
372
|
'plans-module': plans_module_1.default,
|
|
377
373
|
'sql-action': sql_action_1.default,
|
|
378
374
|
'database-setting': database_setting_1.default,
|
|
@@ -390,7 +386,6 @@ const createCommandMap = () => ({
|
|
|
390
386
|
'require-step-up': require_step_up_1.default,
|
|
391
387
|
'app-permissions-get-padded-mask': app_permissions_get_padded_mask_1.default,
|
|
392
388
|
'org-permissions-get-padded-mask': org_permissions_get_padded_mask_1.default,
|
|
393
|
-
'steps-achieved': steps_achieved_1.default,
|
|
394
389
|
'rev-parse': rev_parse_1.default,
|
|
395
390
|
'resolve-blueprint-field': resolve_blueprint_field_1.default,
|
|
396
391
|
'org-is-manager-of': org_is_manager_of_1.default,
|
|
@@ -404,7 +399,6 @@ const createCommandMap = () => ({
|
|
|
404
399
|
'get-all-objects-from-root': get_all_objects_from_root_1.default,
|
|
405
400
|
'get-path-objects-from-root': get_path_objects_from_root_1.default,
|
|
406
401
|
'get-object-at-path': get_object_at_path_1.default,
|
|
407
|
-
'steps-required': steps_required_1.default,
|
|
408
402
|
'current-user': current_user_1.default,
|
|
409
403
|
'send-account-deletion-email': send_account_deletion_email_1.default,
|
|
410
404
|
'sign-out': sign_out_1.default,
|
|
@@ -456,7 +450,7 @@ const createCommandMap = () => ({
|
|
|
456
450
|
'provision-table': provision_table_1.default,
|
|
457
451
|
'provision-bucket': provision_bucket_1.default,
|
|
458
452
|
});
|
|
459
|
-
const usage = "\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n org-get-managers-record orgGetManagersRecord CRUD operations\n org-get-subordinates-record orgGetSubordinatesRecord CRUD operations\n get-all-record getAllRecord CRUD operations\n app-permission appPermission CRUD operations\n org-permission orgPermission CRUD operations\n object object CRUD operations\n app-level-requirement appLevelRequirement CRUD operations\n database database CRUD operations\n schema schema CRUD operations\n table table CRUD operations\n check-constraint checkConstraint CRUD operations\n field field CRUD operations\n spatial-relation spatialRelation CRUD operations\n foreign-key-constraint foreignKeyConstraint CRUD operations\n full-text-search fullTextSearch CRUD operations\n index index CRUD operations\n policy policy CRUD operations\n primary-key-constraint primaryKeyConstraint CRUD operations\n table-grant tableGrant CRUD operations\n trigger trigger CRUD operations\n unique-constraint uniqueConstraint CRUD operations\n view view CRUD operations\n view-table viewTable CRUD operations\n view-grant viewGrant CRUD operations\n view-rule viewRule CRUD operations\n embedding-chunk embeddingChunk CRUD operations\n secure-table-provision secureTableProvision CRUD operations\n relation-provision relationProvision CRUD operations\n session-secrets-module sessionSecretsModule CRUD operations\n identity-providers-module identityProvidersModule CRUD operations\n realtime-module realtimeModule CRUD operations\n schema-grant schemaGrant CRUD operations\n default-privilege defaultPrivilege CRUD operations\n enum enum CRUD operations\n function function CRUD operations\n api-schema apiSchema CRUD operations\n api-module apiModule CRUD operations\n domain domain CRUD operations\n site-metadatum siteMetadatum CRUD operations\n site-module siteModule CRUD operations\n site-theme siteTheme CRUD operations\n cors-setting corsSetting CRUD operations\n trigger-function triggerFunction CRUD operations\n database-transfer databaseTransfer CRUD operations\n partition partition CRUD operations\n api api CRUD operations\n site site CRUD operations\n app app CRUD operations\n api-setting apiSetting CRUD operations\n connected-accounts-module connectedAccountsModule CRUD operations\n crypto-addresses-module cryptoAddressesModule CRUD operations\n crypto-auth-module cryptoAuthModule CRUD operations\n default-ids-module defaultIdsModule CRUD operations\n denormalized-table-field denormalizedTableField CRUD operations\n emails-module emailsModule CRUD operations\n encrypted-secrets-module encryptedSecretsModule CRUD operations\n invites-module invitesModule CRUD operations\n levels-module levelsModule CRUD operations\n limits-module limitsModule CRUD operations\n membership-types-module membershipTypesModule CRUD operations\n memberships-module membershipsModule CRUD operations\n permissions-module permissionsModule CRUD operations\n phone-numbers-module phoneNumbersModule CRUD operations\n profiles-module profilesModule CRUD operations\n secrets-module secretsModule CRUD operations\n sessions-module sessionsModule CRUD operations\n user-auth-module userAuthModule CRUD operations\n users-module usersModule CRUD operations\n blueprint blueprint CRUD operations\n blueprint-template blueprintTemplate CRUD operations\n blueprint-construction blueprintConstruction CRUD operations\n storage-module storageModule CRUD operations\n entity-type-provision entityTypeProvision CRUD operations\n webauthn-credentials-module webauthnCredentialsModule CRUD operations\n webauthn-auth-module webauthnAuthModule CRUD operations\n notifications-module notificationsModule CRUD operations\n database-provision-module databaseProvisionModule CRUD operations\n app-admin-grant appAdminGrant CRUD operations\n app-owner-grant appOwnerGrant CRUD operations\n app-grant appGrant CRUD operations\n org-membership orgMembership CRUD operations\n org-member orgMember CRUD operations\n org-admin-grant orgAdminGrant CRUD operations\n org-owner-grant orgOwnerGrant CRUD operations\n org-member-profile orgMemberProfile CRUD operations\n org-grant orgGrant CRUD operations\n org-chart-edge orgChartEdge CRUD operations\n org-chart-edge-grant orgChartEdgeGrant CRUD operations\n org-permission-default orgPermissionDefault CRUD operations\n app-limit appLimit CRUD operations\n app-limit-credit appLimitCredit CRUD operations\n app-limit-credit-code-item appLimitCreditCodeItem CRUD operations\n app-limit-credit-redemption appLimitCreditRedemption CRUD operations\n org-limit orgLimit CRUD operations\n org-limit-credit orgLimitCredit CRUD operations\n org-limit-aggregate orgLimitAggregate CRUD operations\n app-step appStep CRUD operations\n app-achievement appAchievement CRUD operations\n app-level appLevel CRUD operations\n email email CRUD operations\n phone-number phoneNumber CRUD operations\n crypto-address cryptoAddress CRUD operations\n webauthn-credential webauthnCredential CRUD operations\n app-invite appInvite CRUD operations\n app-claimed-invite appClaimedInvite CRUD operations\n org-invite orgInvite CRUD operations\n org-claimed-invite orgClaimedInvite CRUD operations\n audit-log auditLog CRUD operations\n agent-thread agentThread CRUD operations\n agent-message agentMessage CRUD operations\n agent-task agentTask CRUD operations\n role-type roleType CRUD operations\n identity-provider identityProvider CRUD operations\n ref ref CRUD operations\n store store CRUD operations\n app-permission-default appPermissionDefault CRUD operations\n app-limit-credit-code appLimitCreditCode CRUD operations\n app-limit-caps-default appLimitCapsDefault CRUD operations\n org-limit-caps-default orgLimitCapsDefault CRUD operations\n app-limit-cap appLimitCap CRUD operations\n org-limit-cap orgLimitCap CRUD operations\n membership-type membershipType CRUD operations\n migrate-file migrateFile CRUD operations\n devices-module devicesModule CRUD operations\n node-type-registry nodeTypeRegistry CRUD operations\n app-limit-default appLimitDefault CRUD operations\n org-limit-default orgLimitDefault CRUD operations\n user-connected-account userConnectedAccount CRUD operations\n commit commit CRUD operations\n pubkey-setting pubkeySetting CRUD operations\n rate-limits-module rateLimitsModule CRUD operations\n usage-snapshot usageSnapshot CRUD operations\n app-membership-default appMembershipDefault CRUD operations\n org-membership-default orgMembershipDefault CRUD operations\n rls-setting rlsSetting CRUD operations\n app-limit-event appLimitEvent CRUD operations\n org-limit-event orgLimitEvent CRUD operations\n rls-module rlsModule CRUD operations\n plans-module plansModule CRUD operations\n sql-action sqlAction CRUD operations\n database-setting databaseSetting CRUD operations\n billing-module billingModule CRUD operations\n ast-migration astMigration CRUD operations\n user user CRUD operations\n org-membership-setting orgMembershipSetting CRUD operations\n webauthn-setting webauthnSetting CRUD operations\n app-membership appMembership CRUD operations\n billing-provider-module billingProviderModule CRUD operations\n hierarchy-module hierarchyModule CRUD operations\n current-user-id currentUserId\n current-user-agent currentUserAgent\n current-ip-address currentIpAddress\n require-step-up requireStepUp\n app-permissions-get-padded-mask appPermissionsGetPaddedMask\n org-permissions-get-padded-mask orgPermissionsGetPaddedMask\n steps-achieved stepsAchieved\n rev-parse revParse\n resolve-blueprint-field Resolves a field_name within a given table_id to a field_id. Throws if no match is found. Used by construct_blueprint to translate user-authored field names (e.g. \"location\") into field UUIDs for downstream provisioning procedures. table_id must already be resolved (via resolve_blueprint_table) before calling this.\n org-is-manager-of orgIsManagerOf\n app-permissions-get-mask appPermissionsGetMask\n org-permissions-get-mask orgPermissionsGetMask\n resolve-blueprint-table Resolves a table_name (with optional schema_name) to a table_id. Resolution order: (1) if schema_name provided, exact lookup via metaschema_public.schema.name + metaschema_public.table; (2) check local table_map (tables created in current blueprint); (3) search metaschema_public.table by name across all schemas; (4) if multiple matches, throw ambiguous error asking for schema_name; (5) if no match, throw not-found error.\n app-permissions-get-mask-by-names appPermissionsGetMaskByNames\n org-permissions-get-mask-by-names orgPermissionsGetMaskByNames\n app-permissions-get-by-mask Reads and enables pagination through a set of `AppPermission`.\n org-permissions-get-by-mask Reads and enables pagination through a set of `OrgPermission`.\n get-all-objects-from-root Reads and enables pagination through a set of `Object`.\n get-path-objects-from-root Reads and enables pagination through a set of `Object`.\n get-object-at-path getObjectAtPath\n steps-required Reads and enables pagination through a set of `AppLevelRequirement`.\n current-user currentUser\n send-account-deletion-email sendAccountDeletionEmail\n sign-out signOut\n accept-database-transfer acceptDatabaseTransfer\n cancel-database-transfer cancelDatabaseTransfer\n reject-database-transfer rejectDatabaseTransfer\n disconnect-account disconnectAccount\n revoke-api-key revokeApiKey\n revoke-session revokeSession\n verify-password verifyPassword\n verify-totp verifyTotp\n submit-app-invite-code submitAppInviteCode\n submit-org-invite-code submitOrgInviteCode\n check-password checkPassword\n confirm-delete-account confirmDeleteAccount\n set-password setPassword\n verify-email verifyEmail\n freeze-objects freezeObjects\n init-empty-repo initEmptyRepo\n construct-blueprint Executes a blueprint definition by delegating to provision_* procedures. Creates a blueprint_construction record to track the attempt. Seven phases: (0) entity_type_provision for each membership_type entry \u2014 provisions entity tables, membership modules, and security, (1) provision_table() for each table with nodes[], fields[], policies[], and grants (table-level indexes/fts/unique_constraints/check_constraints are deferred), (2) provision_relation() for each relation, (3) provision_index() for top-level + deferred indexes, (4) provision_full_text_search() for top-level + deferred FTS, (5) provision_unique_constraint() for top-level + deferred unique constraints, (6) provision_check_constraint() for top-level + deferred check constraints. Phase 0 entity tables are added to the table_map so subsequent phases can reference them by name. Table-level entries are deferred to phases 3-6 so they can reference columns created by relations in phase 2. Returns the construction record ID on success, NULL on failure.\n provision-new-user provisionNewUser\n reset-password resetPassword\n remove-node-at-path removeNodeAtPath\n copy-template-to-blueprint Creates a new blueprint by copying a template definition. Checks visibility: owners can always copy their own templates, others require public visibility. Increments the template copy_count. Returns the new blueprint ID.\n provision-spatial-relation Idempotent provisioner for metaschema_public.spatial_relation. Inserts a row declaring a spatial predicate between two geometry/geography columns (owner and target). Called from construct_blueprint when a relation entry has $type=RelationSpatial. Graceful: re-running with the same (source_table_id, name) returns the existing id without modifying the row. Operator whitelist and st_dwithin \u2194 param_name pairing are enforced by the spatial_relation table CHECKs. Both fields must already exist \u2014 this is a metadata-only insert.\n bootstrap-user bootstrapUser\n set-field-order setFieldOrder\n provision-check-constraint Creates a check constraint on a table from a $type + data blueprint definition. Supports: CheckOneOf (enum validation via = ANY(ARRAY[...])), CheckGreaterThan (single-column > value or cross-column), CheckLessThan (single-column < value or cross-column), CheckNotEqual (cross-column inequality). Builds AST expressions via ast_helpers and inserts into metaschema_public.check_constraint. Graceful: skips if a constraint with the same name already exists.\n provision-unique-constraint Creates a unique constraint on a table. Accepts a jsonb definition with columns (array of field names). Graceful: skips if the exact same unique constraint already exists.\n provision-full-text-search Creates a full-text search configuration on a table. Accepts a jsonb definition with field (tsvector column name) and sources (array of {field, weight, lang}). Graceful: skips if FTS config already exists for the same (table_id, field_id). Returns the fts_id.\n provision-index Creates an index on a table. Accepts a jsonb definition with columns (array of names or single column string), access_method (default BTREE), is_unique, op_classes, options, and name (auto-generated if omitted). Graceful: skips if an index with the same (table_id, field_ids, access_method) already exists. Returns the index_id.\n set-data-at-path setDataAtPath\n set-props-and-commit setPropsAndCommit\n provision-database-with-user provisionDatabaseWithUser\n insert-node-at-path insertNodeAtPath\n update-node-at-path updateNodeAtPath\n set-and-commit setAndCommit\n provision-relation Composable relation provisioning: creates FK fields, indexes, unique constraints, and junction tables depending on the relation_type. Supports RelationBelongsTo, RelationHasOne, RelationHasMany, and RelationManyToMany. ManyToMany uses provision_table() internally for junction table creation with full node/grant/policy support. All operations are graceful (skip existing). Returns (out_field_id, out_junction_table_id, out_source_field_id, out_target_field_id).\n apply-rls applyRls\n sign-in-cross-origin signInCrossOrigin\n create-user-database Creates a new user database with all required modules, permissions, and RLS policies.\n\nParameters:\n - database_name: Name for the new database (required)\n - owner_id: UUID of the owner user (required)\n - include_invites: Include invite system (default: true)\n - include_groups: Include group-level memberships (default: false)\n - include_levels: Include levels/achievements (default: false)\n - bitlen: Bit length for permission masks (default: 64)\n - tokens_expiration: Token expiration interval (default: 30 days)\n\nReturns the database_id UUID of the newly created database.\n\nExample usage:\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid);\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid, true, true); -- with invites and groups\n\n extend-token-expires extendTokenExpires\n create-api-key createApiKey\n send-verification-email sendVerificationEmail\n forgot-password forgotPassword\n sign-up signUp\n request-cross-origin-token requestCrossOriginToken\n sign-in signIn\n provision-table Composable table provisioning: creates or finds a table, then creates fields (so Data* modules can reference them), applies N nodes (Data* modules), enables RLS, creates grants, creates N policies, and optionally creates table-level indexes/full_text_searches/unique_constraints. All operations are graceful (skip existing). Accepts multiple nodes and multiple policies per call, unlike secure_table_provision which is limited to one of each. Returns (out_table_id, out_fields).\n provision-bucket Provision an S3 bucket for a logical bucket in the database.\nReads the bucket config via RLS, then creates and configures\nthe S3 bucket with the appropriate privacy policies, CORS rules,\nand lifecycle settings.\n\n --help, -h Show this help message\n --version, -v Show version\n";
|
|
453
|
+
const usage = "\ncsdk <command>\n\nCommands:\n context Manage API contexts\n auth Manage authentication\n org-get-managers-record orgGetManagersRecord CRUD operations\n org-get-subordinates-record orgGetSubordinatesRecord CRUD operations\n get-all-record getAllRecord CRUD operations\n app-permission appPermission CRUD operations\n org-permission orgPermission CRUD operations\n object object CRUD operations\n database database CRUD operations\n schema schema CRUD operations\n table table CRUD operations\n check-constraint checkConstraint CRUD operations\n field field CRUD operations\n spatial-relation spatialRelation CRUD operations\n foreign-key-constraint foreignKeyConstraint CRUD operations\n full-text-search fullTextSearch CRUD operations\n index index CRUD operations\n policy policy CRUD operations\n primary-key-constraint primaryKeyConstraint CRUD operations\n table-grant tableGrant CRUD operations\n trigger trigger CRUD operations\n unique-constraint uniqueConstraint CRUD operations\n view view CRUD operations\n view-table viewTable CRUD operations\n view-grant viewGrant CRUD operations\n view-rule viewRule CRUD operations\n embedding-chunk embeddingChunk CRUD operations\n secure-table-provision secureTableProvision CRUD operations\n relation-provision relationProvision CRUD operations\n session-secrets-module sessionSecretsModule CRUD operations\n identity-providers-module identityProvidersModule CRUD operations\n realtime-module realtimeModule CRUD operations\n schema-grant schemaGrant CRUD operations\n default-privilege defaultPrivilege CRUD operations\n enum enum CRUD operations\n function function CRUD operations\n api-schema apiSchema CRUD operations\n api-module apiModule CRUD operations\n domain domain CRUD operations\n site-metadatum siteMetadatum CRUD operations\n site-module siteModule CRUD operations\n site-theme siteTheme CRUD operations\n cors-setting corsSetting CRUD operations\n trigger-function triggerFunction CRUD operations\n database-transfer databaseTransfer CRUD operations\n partition partition CRUD operations\n api api CRUD operations\n site site CRUD operations\n app app CRUD operations\n api-setting apiSetting CRUD operations\n connected-accounts-module connectedAccountsModule CRUD operations\n crypto-addresses-module cryptoAddressesModule CRUD operations\n crypto-auth-module cryptoAuthModule CRUD operations\n default-ids-module defaultIdsModule CRUD operations\n denormalized-table-field denormalizedTableField CRUD operations\n emails-module emailsModule CRUD operations\n encrypted-secrets-module encryptedSecretsModule CRUD operations\n invites-module invitesModule CRUD operations\n events-module eventsModule CRUD operations\n limits-module limitsModule CRUD operations\n membership-types-module membershipTypesModule CRUD operations\n memberships-module membershipsModule CRUD operations\n permissions-module permissionsModule CRUD operations\n phone-numbers-module phoneNumbersModule CRUD operations\n profiles-module profilesModule CRUD operations\n user-state-module userStateModule CRUD operations\n sessions-module sessionsModule CRUD operations\n user-auth-module userAuthModule CRUD operations\n users-module usersModule CRUD operations\n blueprint blueprint CRUD operations\n blueprint-template blueprintTemplate CRUD operations\n blueprint-construction blueprintConstruction CRUD operations\n storage-module storageModule CRUD operations\n entity-type-provision entityTypeProvision CRUD operations\n webauthn-credentials-module webauthnCredentialsModule CRUD operations\n webauthn-auth-module webauthnAuthModule CRUD operations\n notifications-module notificationsModule CRUD operations\n database-provision-module databaseProvisionModule CRUD operations\n app-admin-grant appAdminGrant CRUD operations\n app-owner-grant appOwnerGrant CRUD operations\n app-grant appGrant CRUD operations\n org-membership orgMembership CRUD operations\n org-member orgMember CRUD operations\n org-admin-grant orgAdminGrant CRUD operations\n org-owner-grant orgOwnerGrant CRUD operations\n org-member-profile orgMemberProfile CRUD operations\n org-grant orgGrant CRUD operations\n org-chart-edge orgChartEdge CRUD operations\n org-chart-edge-grant orgChartEdgeGrant CRUD operations\n org-permission-default orgPermissionDefault CRUD operations\n app-limit appLimit CRUD operations\n app-limit-credit appLimitCredit CRUD operations\n app-limit-credit-code-item appLimitCreditCodeItem CRUD operations\n app-limit-credit-redemption appLimitCreditRedemption CRUD operations\n org-limit orgLimit CRUD operations\n org-limit-credit orgLimitCredit CRUD operations\n org-limit-aggregate orgLimitAggregate CRUD operations\n org-limit-warning orgLimitWarning CRUD operations\n email email CRUD operations\n phone-number phoneNumber CRUD operations\n crypto-address cryptoAddress CRUD operations\n webauthn-credential webauthnCredential CRUD operations\n app-invite appInvite CRUD operations\n app-claimed-invite appClaimedInvite CRUD operations\n org-invite orgInvite CRUD operations\n org-claimed-invite orgClaimedInvite CRUD operations\n audit-log auditLog CRUD operations\n agent-thread agentThread CRUD operations\n agent-message agentMessage CRUD operations\n agent-task agentTask CRUD operations\n role-type roleType CRUD operations\n identity-provider identityProvider CRUD operations\n ref ref CRUD operations\n store store CRUD operations\n app-permission-default appPermissionDefault CRUD operations\n app-limit-credit-code appLimitCreditCode CRUD operations\n app-limit-caps-default appLimitCapsDefault CRUD operations\n org-limit-caps-default orgLimitCapsDefault CRUD operations\n app-limit-cap appLimitCap CRUD operations\n org-limit-cap orgLimitCap CRUD operations\n membership-type membershipType CRUD operations\n migrate-file migrateFile CRUD operations\n devices-module devicesModule CRUD operations\n node-type-registry nodeTypeRegistry CRUD operations\n app-limit-default appLimitDefault CRUD operations\n org-limit-default orgLimitDefault CRUD operations\n app-limit-warning appLimitWarning CRUD operations\n user-connected-account userConnectedAccount CRUD operations\n commit commit CRUD operations\n pubkey-setting pubkeySetting CRUD operations\n rate-limits-module rateLimitsModule CRUD operations\n usage-snapshot usageSnapshot CRUD operations\n app-membership-default appMembershipDefault CRUD operations\n org-membership-default orgMembershipDefault CRUD operations\n rls-setting rlsSetting CRUD operations\n app-limit-event appLimitEvent CRUD operations\n org-limit-event orgLimitEvent CRUD operations\n rls-module rlsModule CRUD operations\n rate-limit-meters-module rateLimitMetersModule CRUD operations\n plans-module plansModule CRUD operations\n sql-action sqlAction CRUD operations\n database-setting databaseSetting CRUD operations\n billing-module billingModule CRUD operations\n ast-migration astMigration CRUD operations\n user user CRUD operations\n org-membership-setting orgMembershipSetting CRUD operations\n webauthn-setting webauthnSetting CRUD operations\n app-membership appMembership CRUD operations\n billing-provider-module billingProviderModule CRUD operations\n hierarchy-module hierarchyModule CRUD operations\n current-user-id currentUserId\n current-user-agent currentUserAgent\n current-ip-address currentIpAddress\n require-step-up requireStepUp\n app-permissions-get-padded-mask appPermissionsGetPaddedMask\n org-permissions-get-padded-mask orgPermissionsGetPaddedMask\n rev-parse revParse\n resolve-blueprint-field Resolves a field_name within a given table_id to a field_id. Throws if no match is found. Used by construct_blueprint to translate user-authored field names (e.g. \"location\") into field UUIDs for downstream provisioning procedures. table_id must already be resolved (via resolve_blueprint_table) before calling this.\n org-is-manager-of orgIsManagerOf\n app-permissions-get-mask appPermissionsGetMask\n org-permissions-get-mask orgPermissionsGetMask\n resolve-blueprint-table Resolves a table_name (with optional schema_name) to a table_id. Resolution order: (1) if schema_name provided, exact lookup via metaschema_public.schema.name + metaschema_public.table; (2) check local table_map (tables created in current blueprint); (3) search metaschema_public.table by name across all schemas; (4) if multiple matches, throw ambiguous error asking for schema_name; (5) if no match, throw not-found error.\n app-permissions-get-mask-by-names appPermissionsGetMaskByNames\n org-permissions-get-mask-by-names orgPermissionsGetMaskByNames\n app-permissions-get-by-mask Reads and enables pagination through a set of `AppPermission`.\n org-permissions-get-by-mask Reads and enables pagination through a set of `OrgPermission`.\n get-all-objects-from-root Reads and enables pagination through a set of `Object`.\n get-path-objects-from-root Reads and enables pagination through a set of `Object`.\n get-object-at-path getObjectAtPath\n current-user currentUser\n send-account-deletion-email sendAccountDeletionEmail\n sign-out signOut\n accept-database-transfer acceptDatabaseTransfer\n cancel-database-transfer cancelDatabaseTransfer\n reject-database-transfer rejectDatabaseTransfer\n disconnect-account disconnectAccount\n revoke-api-key revokeApiKey\n revoke-session revokeSession\n verify-password verifyPassword\n verify-totp verifyTotp\n submit-app-invite-code submitAppInviteCode\n submit-org-invite-code submitOrgInviteCode\n check-password checkPassword\n confirm-delete-account confirmDeleteAccount\n set-password setPassword\n verify-email verifyEmail\n freeze-objects freezeObjects\n init-empty-repo initEmptyRepo\n construct-blueprint Executes a blueprint definition by delegating to provision_* procedures. Creates a blueprint_construction record to track the attempt. Eight phases: (0) entity_type_provision for each membership_type entry \u2014 provisions entity tables, membership modules, and security, (0.5) app-level storage, (1) provision_table() for each table with nodes[], fields[], policies[], and grants (table-level indexes/fts/unique_constraints/check_constraints are deferred), (2) provision_relation() for each relation, (3) provision_index() for top-level + deferred indexes, (4) provision_full_text_search() for top-level + deferred FTS, (5) provision_unique_constraint() for top-level + deferred unique constraints, (6) provision_check_constraint() for top-level + deferred check constraints, (7) seed achievements from definition.achievements[] \u2014 resolves events_module by entity_prefix and creates INSERT actions for levels, level_requirements, and achievement_rewards tables. Phase 0 entity tables are added to the table_map so subsequent phases can reference them by name. Table-level entries are deferred to phases 3-6 so they can reference columns created by relations in phase 2. Returns the construction record ID on success, NULL on failure.\n provision-new-user provisionNewUser\n reset-password resetPassword\n remove-node-at-path removeNodeAtPath\n copy-template-to-blueprint Creates a new blueprint by copying a template definition. Checks visibility: owners can always copy their own templates, others require public visibility. Increments the template copy_count. Returns the new blueprint ID.\n provision-spatial-relation Idempotent provisioner for metaschema_public.spatial_relation. Inserts a row declaring a spatial predicate between two geometry/geography columns (owner and target). Called from construct_blueprint when a relation entry has $type=RelationSpatial. Graceful: re-running with the same (source_table_id, name) returns the existing id without modifying the row. Operator whitelist and st_dwithin \u2194 param_name pairing are enforced by the spatial_relation table CHECKs. Both fields must already exist \u2014 this is a metadata-only insert.\n bootstrap-user bootstrapUser\n set-field-order setFieldOrder\n provision-check-constraint Creates a check constraint on a table from a $type + data blueprint definition. Supports: CheckOneOf (enum validation via = ANY(ARRAY[...])), CheckGreaterThan (single-column > value or cross-column), CheckLessThan (single-column < value or cross-column), CheckNotEqual (cross-column inequality). Builds AST expressions via ast_helpers and inserts into metaschema_public.check_constraint. Graceful: skips if a constraint with the same name already exists.\n provision-unique-constraint Creates a unique constraint on a table. Accepts a jsonb definition with columns (array of field names). Graceful: skips if the exact same unique constraint already exists.\n provision-full-text-search Creates a full-text search configuration on a table. Accepts a jsonb definition with field (tsvector column name) and sources (array of {field, weight, lang}). Graceful: skips if FTS config already exists for the same (table_id, field_id). Returns the fts_id.\n provision-index Creates an index on a table. Accepts a jsonb definition with columns (array of names or single column string), access_method (default BTREE), is_unique, op_classes, options, and name (auto-generated if omitted). Graceful: skips if an index with the same (table_id, field_ids, access_method) already exists. Returns the index_id.\n set-data-at-path setDataAtPath\n set-props-and-commit setPropsAndCommit\n provision-database-with-user provisionDatabaseWithUser\n insert-node-at-path insertNodeAtPath\n update-node-at-path updateNodeAtPath\n set-and-commit setAndCommit\n provision-relation Composable relation provisioning: creates FK fields, indexes, unique constraints, and junction tables depending on the relation_type. Supports RelationBelongsTo, RelationHasOne, RelationHasMany, and RelationManyToMany. ManyToMany uses provision_table() internally for junction table creation with full node/grant/policy support. All operations are graceful (skip existing). Returns (out_field_id, out_junction_table_id, out_source_field_id, out_target_field_id).\n apply-rls applyRls\n sign-in-cross-origin signInCrossOrigin\n create-user-database Creates a new user database with all required modules, permissions, and RLS policies.\n\nParameters:\n - database_name: Name for the new database (required)\n - owner_id: UUID of the owner user (required)\n - include_invites: Include invite system (default: true)\n - include_groups: Include group-level memberships (default: false)\n - include_levels: Include events/analytics (default: false)\n - bitlen: Bit length for permission masks (default: 64)\n - tokens_expiration: Token expiration interval (default: 30 days)\n\nReturns the database_id UUID of the newly created database.\n\nExample usage:\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid);\n SELECT metaschema_public.create_user_database('my_app', 'a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11'::uuid, true, true); -- with invites and groups\n\n extend-token-expires extendTokenExpires\n create-api-key createApiKey\n send-verification-email sendVerificationEmail\n forgot-password forgotPassword\n sign-up signUp\n request-cross-origin-token requestCrossOriginToken\n sign-in signIn\n provision-table Composable table provisioning: creates or finds a table, then creates fields (so Data* modules can reference them), applies N nodes (Data* modules), enables RLS, creates grants, creates N policies, and optionally creates table-level indexes/full_text_searches/unique_constraints. All operations are graceful (skip existing). Accepts multiple nodes and multiple policies per call, unlike secure_table_provision which is limited to one of each. Returns (out_table_id, out_fields).\n provision-bucket Provision an S3 bucket for a logical bucket in the database.\nReads the bucket config via RLS, then creates and configures\nthe S3 bucket with the appropriate privacy policies, CORS rules,\nand lifecycle settings.\n\n --help, -h Show this help message\n --version, -v Show version\n";
|
|
460
454
|
const commands = async (argv, prompter, options) => {
|
|
461
455
|
if (argv.help || argv.h) {
|
|
462
456
|
console.log(usage);
|
package/public/cli/executor.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ export declare function getClient(contextName?: string): {
|
|
|
6
6
|
appPermission: import("../orm").AppPermissionModel;
|
|
7
7
|
orgPermission: import("../orm").OrgPermissionModel;
|
|
8
8
|
object: import("../orm").ObjectModel;
|
|
9
|
-
appLevelRequirement: import("../orm").AppLevelRequirementModel;
|
|
10
9
|
database: import("../orm").DatabaseModel;
|
|
11
10
|
schema: import("../orm").SchemaModel;
|
|
12
11
|
table: import("../orm").TableModel;
|
|
@@ -57,14 +56,14 @@ export declare function getClient(contextName?: string): {
|
|
|
57
56
|
emailsModule: import("../orm").EmailsModuleModel;
|
|
58
57
|
encryptedSecretsModule: import("../orm").EncryptedSecretsModuleModel;
|
|
59
58
|
invitesModule: import("../orm").InvitesModuleModel;
|
|
60
|
-
|
|
59
|
+
eventsModule: import("../orm").EventsModuleModel;
|
|
61
60
|
limitsModule: import("../orm").LimitsModuleModel;
|
|
62
61
|
membershipTypesModule: import("../orm").MembershipTypesModuleModel;
|
|
63
62
|
membershipsModule: import("../orm").MembershipsModuleModel;
|
|
64
63
|
permissionsModule: import("../orm").PermissionsModuleModel;
|
|
65
64
|
phoneNumbersModule: import("../orm").PhoneNumbersModuleModel;
|
|
66
65
|
profilesModule: import("../orm").ProfilesModuleModel;
|
|
67
|
-
|
|
66
|
+
userStateModule: import("../orm").UserStateModuleModel;
|
|
68
67
|
sessionsModule: import("../orm").SessionsModuleModel;
|
|
69
68
|
userAuthModule: import("../orm").UserAuthModuleModel;
|
|
70
69
|
usersModule: import("../orm").UsersModuleModel;
|
|
@@ -96,9 +95,7 @@ export declare function getClient(contextName?: string): {
|
|
|
96
95
|
orgLimit: import("../orm").OrgLimitModel;
|
|
97
96
|
orgLimitCredit: import("../orm").OrgLimitCreditModel;
|
|
98
97
|
orgLimitAggregate: import("../orm").OrgLimitAggregateModel;
|
|
99
|
-
|
|
100
|
-
appAchievement: import("../orm").AppAchievementModel;
|
|
101
|
-
appLevel: import("../orm").AppLevelModel;
|
|
98
|
+
orgLimitWarning: import("../orm").OrgLimitWarningModel;
|
|
102
99
|
email: import("../orm").EmailModel;
|
|
103
100
|
phoneNumber: import("../orm").PhoneNumberModel;
|
|
104
101
|
cryptoAddress: import("../orm").CryptoAddressModel;
|
|
@@ -127,6 +124,7 @@ export declare function getClient(contextName?: string): {
|
|
|
127
124
|
nodeTypeRegistry: import("../orm").NodeTypeRegistryModel;
|
|
128
125
|
appLimitDefault: import("../orm").AppLimitDefaultModel;
|
|
129
126
|
orgLimitDefault: import("../orm").OrgLimitDefaultModel;
|
|
127
|
+
appLimitWarning: import("../orm").AppLimitWarningModel;
|
|
130
128
|
userConnectedAccount: import("../orm").UserConnectedAccountModel;
|
|
131
129
|
commit: import("../orm").CommitModel;
|
|
132
130
|
pubkeySetting: import("../orm").PubkeySettingModel;
|
|
@@ -138,6 +136,7 @@ export declare function getClient(contextName?: string): {
|
|
|
138
136
|
appLimitEvent: import("../orm").AppLimitEventModel;
|
|
139
137
|
orgLimitEvent: import("../orm").OrgLimitEventModel;
|
|
140
138
|
rlsModule: import("../orm").RlsModuleModel;
|
|
139
|
+
rateLimitMetersModule: import("../orm").RateLimitMetersModuleModel;
|
|
141
140
|
plansModule: import("../orm").PlansModuleModel;
|
|
142
141
|
sqlAction: import("../orm").SqlActionModel;
|
|
143
142
|
databaseSetting: import("../orm").DatabaseSettingModel;
|
|
@@ -180,11 +179,6 @@ export declare function getClient(contextName?: string): {
|
|
|
180
179
|
}) => import("../orm").QueryBuilder<{
|
|
181
180
|
orgPermissionsGetPaddedMask: string | null;
|
|
182
181
|
}>;
|
|
183
|
-
stepsAchieved: (args: import("../orm/query").StepsAchievedVariables, options?: {
|
|
184
|
-
select?: Record<string, unknown>;
|
|
185
|
-
}) => import("../orm").QueryBuilder<{
|
|
186
|
-
stepsAchieved: boolean | null;
|
|
187
|
-
}>;
|
|
188
182
|
revParse: (args: import("../orm/query").RevParseVariables, options?: {
|
|
189
183
|
select?: Record<string, unknown>;
|
|
190
184
|
}) => import("../orm").QueryBuilder<{
|
|
@@ -250,11 +244,6 @@ export declare function getClient(contextName?: string): {
|
|
|
250
244
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").ObjectSelect>) => import("../orm").QueryBuilder<{
|
|
251
245
|
getObjectAtPath: import("../orm").InferSelectResult<import("../orm/input-types").Object, S> | null;
|
|
252
246
|
}>;
|
|
253
|
-
stepsRequired: (args: import("../orm/query").StepsRequiredVariables, options?: {
|
|
254
|
-
select?: Record<string, unknown>;
|
|
255
|
-
}) => import("../orm").QueryBuilder<{
|
|
256
|
-
stepsRequired: import("../orm/input-types").AppLevelRequirementConnection | null;
|
|
257
|
-
}>;
|
|
258
247
|
currentUser: <S extends import("../orm/input-types").UserSelect>(options: {
|
|
259
248
|
select: S;
|
|
260
249
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").UserSelect>) => import("../orm").QueryBuilder<{
|
package/public/orm/index.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import { GetAllRecordModel } from './models/getAllRecord';
|
|
|
5
5
|
import { AppPermissionModel } from './models/appPermission';
|
|
6
6
|
import { OrgPermissionModel } from './models/orgPermission';
|
|
7
7
|
import { ObjectModel } from './models/object';
|
|
8
|
-
import { AppLevelRequirementModel } from './models/appLevelRequirement';
|
|
9
8
|
import { DatabaseModel } from './models/database';
|
|
10
9
|
import { SchemaModel } from './models/schema';
|
|
11
10
|
import { TableModel } from './models/table';
|
|
@@ -56,14 +55,14 @@ import { DenormalizedTableFieldModel } from './models/denormalizedTableField';
|
|
|
56
55
|
import { EmailsModuleModel } from './models/emailsModule';
|
|
57
56
|
import { EncryptedSecretsModuleModel } from './models/encryptedSecretsModule';
|
|
58
57
|
import { InvitesModuleModel } from './models/invitesModule';
|
|
59
|
-
import {
|
|
58
|
+
import { EventsModuleModel } from './models/eventsModule';
|
|
60
59
|
import { LimitsModuleModel } from './models/limitsModule';
|
|
61
60
|
import { MembershipTypesModuleModel } from './models/membershipTypesModule';
|
|
62
61
|
import { MembershipsModuleModel } from './models/membershipsModule';
|
|
63
62
|
import { PermissionsModuleModel } from './models/permissionsModule';
|
|
64
63
|
import { PhoneNumbersModuleModel } from './models/phoneNumbersModule';
|
|
65
64
|
import { ProfilesModuleModel } from './models/profilesModule';
|
|
66
|
-
import {
|
|
65
|
+
import { UserStateModuleModel } from './models/userStateModule';
|
|
67
66
|
import { SessionsModuleModel } from './models/sessionsModule';
|
|
68
67
|
import { UserAuthModuleModel } from './models/userAuthModule';
|
|
69
68
|
import { UsersModuleModel } from './models/usersModule';
|
|
@@ -95,9 +94,7 @@ import { AppLimitCreditRedemptionModel } from './models/appLimitCreditRedemption
|
|
|
95
94
|
import { OrgLimitModel } from './models/orgLimit';
|
|
96
95
|
import { OrgLimitCreditModel } from './models/orgLimitCredit';
|
|
97
96
|
import { OrgLimitAggregateModel } from './models/orgLimitAggregate';
|
|
98
|
-
import {
|
|
99
|
-
import { AppAchievementModel } from './models/appAchievement';
|
|
100
|
-
import { AppLevelModel } from './models/appLevel';
|
|
97
|
+
import { OrgLimitWarningModel } from './models/orgLimitWarning';
|
|
101
98
|
import { EmailModel } from './models/email';
|
|
102
99
|
import { PhoneNumberModel } from './models/phoneNumber';
|
|
103
100
|
import { CryptoAddressModel } from './models/cryptoAddress';
|
|
@@ -126,6 +123,7 @@ import { DevicesModuleModel } from './models/devicesModule';
|
|
|
126
123
|
import { NodeTypeRegistryModel } from './models/nodeTypeRegistry';
|
|
127
124
|
import { AppLimitDefaultModel } from './models/appLimitDefault';
|
|
128
125
|
import { OrgLimitDefaultModel } from './models/orgLimitDefault';
|
|
126
|
+
import { AppLimitWarningModel } from './models/appLimitWarning';
|
|
129
127
|
import { UserConnectedAccountModel } from './models/userConnectedAccount';
|
|
130
128
|
import { CommitModel } from './models/commit';
|
|
131
129
|
import { PubkeySettingModel } from './models/pubkeySetting';
|
|
@@ -137,6 +135,7 @@ import { RlsSettingModel } from './models/rlsSetting';
|
|
|
137
135
|
import { AppLimitEventModel } from './models/appLimitEvent';
|
|
138
136
|
import { OrgLimitEventModel } from './models/orgLimitEvent';
|
|
139
137
|
import { RlsModuleModel } from './models/rlsModule';
|
|
138
|
+
import { RateLimitMetersModuleModel } from './models/rateLimitMetersModule';
|
|
140
139
|
import { PlansModuleModel } from './models/plansModule';
|
|
141
140
|
import { SqlActionModel } from './models/sqlAction';
|
|
142
141
|
import { DatabaseSettingModel } from './models/databaseSetting';
|
|
@@ -185,7 +184,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
185
184
|
appPermission: AppPermissionModel;
|
|
186
185
|
orgPermission: OrgPermissionModel;
|
|
187
186
|
object: ObjectModel;
|
|
188
|
-
appLevelRequirement: AppLevelRequirementModel;
|
|
189
187
|
database: DatabaseModel;
|
|
190
188
|
schema: SchemaModel;
|
|
191
189
|
table: TableModel;
|
|
@@ -236,14 +234,14 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
236
234
|
emailsModule: EmailsModuleModel;
|
|
237
235
|
encryptedSecretsModule: EncryptedSecretsModuleModel;
|
|
238
236
|
invitesModule: InvitesModuleModel;
|
|
239
|
-
|
|
237
|
+
eventsModule: EventsModuleModel;
|
|
240
238
|
limitsModule: LimitsModuleModel;
|
|
241
239
|
membershipTypesModule: MembershipTypesModuleModel;
|
|
242
240
|
membershipsModule: MembershipsModuleModel;
|
|
243
241
|
permissionsModule: PermissionsModuleModel;
|
|
244
242
|
phoneNumbersModule: PhoneNumbersModuleModel;
|
|
245
243
|
profilesModule: ProfilesModuleModel;
|
|
246
|
-
|
|
244
|
+
userStateModule: UserStateModuleModel;
|
|
247
245
|
sessionsModule: SessionsModuleModel;
|
|
248
246
|
userAuthModule: UserAuthModuleModel;
|
|
249
247
|
usersModule: UsersModuleModel;
|
|
@@ -275,9 +273,7 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
275
273
|
orgLimit: OrgLimitModel;
|
|
276
274
|
orgLimitCredit: OrgLimitCreditModel;
|
|
277
275
|
orgLimitAggregate: OrgLimitAggregateModel;
|
|
278
|
-
|
|
279
|
-
appAchievement: AppAchievementModel;
|
|
280
|
-
appLevel: AppLevelModel;
|
|
276
|
+
orgLimitWarning: OrgLimitWarningModel;
|
|
281
277
|
email: EmailModel;
|
|
282
278
|
phoneNumber: PhoneNumberModel;
|
|
283
279
|
cryptoAddress: CryptoAddressModel;
|
|
@@ -306,6 +302,7 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
306
302
|
nodeTypeRegistry: NodeTypeRegistryModel;
|
|
307
303
|
appLimitDefault: AppLimitDefaultModel;
|
|
308
304
|
orgLimitDefault: OrgLimitDefaultModel;
|
|
305
|
+
appLimitWarning: AppLimitWarningModel;
|
|
309
306
|
userConnectedAccount: UserConnectedAccountModel;
|
|
310
307
|
commit: CommitModel;
|
|
311
308
|
pubkeySetting: PubkeySettingModel;
|
|
@@ -317,6 +314,7 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
317
314
|
appLimitEvent: AppLimitEventModel;
|
|
318
315
|
orgLimitEvent: OrgLimitEventModel;
|
|
319
316
|
rlsModule: RlsModuleModel;
|
|
317
|
+
rateLimitMetersModule: RateLimitMetersModuleModel;
|
|
320
318
|
plansModule: PlansModuleModel;
|
|
321
319
|
sqlAction: SqlActionModel;
|
|
322
320
|
databaseSetting: DatabaseSettingModel;
|
|
@@ -359,11 +357,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
359
357
|
}) => import("./query-builder").QueryBuilder<{
|
|
360
358
|
orgPermissionsGetPaddedMask: string | null;
|
|
361
359
|
}>;
|
|
362
|
-
stepsAchieved: (args: import("./query").StepsAchievedVariables, options?: {
|
|
363
|
-
select?: Record<string, unknown>;
|
|
364
|
-
}) => import("./query-builder").QueryBuilder<{
|
|
365
|
-
stepsAchieved: boolean | null;
|
|
366
|
-
}>;
|
|
367
360
|
revParse: (args: import("./query").RevParseVariables, options?: {
|
|
368
361
|
select?: Record<string, unknown>;
|
|
369
362
|
}) => import("./query-builder").QueryBuilder<{
|
|
@@ -429,11 +422,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
429
422
|
} & import("./select-types").StrictSelect<S, import("./input-types").ObjectSelect>) => import("./query-builder").QueryBuilder<{
|
|
430
423
|
getObjectAtPath: import("./select-types").InferSelectResult<import("./input-types").Object, S> | null;
|
|
431
424
|
}>;
|
|
432
|
-
stepsRequired: (args: import("./query").StepsRequiredVariables, options?: {
|
|
433
|
-
select?: Record<string, unknown>;
|
|
434
|
-
}) => import("./query-builder").QueryBuilder<{
|
|
435
|
-
stepsRequired: import("./input-types").AppLevelRequirementConnection | null;
|
|
436
|
-
}>;
|
|
437
425
|
currentUser: <S extends import("./input-types").UserSelect>(options: {
|
|
438
426
|
select: S;
|
|
439
427
|
} & import("./select-types").StrictSelect<S, import("./input-types").UserSelect>) => import("./query-builder").QueryBuilder<{
|
package/public/orm/index.js
CHANGED
|
@@ -28,7 +28,6 @@ const getAllRecord_1 = require("./models/getAllRecord");
|
|
|
28
28
|
const appPermission_1 = require("./models/appPermission");
|
|
29
29
|
const orgPermission_1 = require("./models/orgPermission");
|
|
30
30
|
const object_1 = require("./models/object");
|
|
31
|
-
const appLevelRequirement_1 = require("./models/appLevelRequirement");
|
|
32
31
|
const database_1 = require("./models/database");
|
|
33
32
|
const schema_1 = require("./models/schema");
|
|
34
33
|
const table_1 = require("./models/table");
|
|
@@ -79,14 +78,14 @@ const denormalizedTableField_1 = require("./models/denormalizedTableField");
|
|
|
79
78
|
const emailsModule_1 = require("./models/emailsModule");
|
|
80
79
|
const encryptedSecretsModule_1 = require("./models/encryptedSecretsModule");
|
|
81
80
|
const invitesModule_1 = require("./models/invitesModule");
|
|
82
|
-
const
|
|
81
|
+
const eventsModule_1 = require("./models/eventsModule");
|
|
83
82
|
const limitsModule_1 = require("./models/limitsModule");
|
|
84
83
|
const membershipTypesModule_1 = require("./models/membershipTypesModule");
|
|
85
84
|
const membershipsModule_1 = require("./models/membershipsModule");
|
|
86
85
|
const permissionsModule_1 = require("./models/permissionsModule");
|
|
87
86
|
const phoneNumbersModule_1 = require("./models/phoneNumbersModule");
|
|
88
87
|
const profilesModule_1 = require("./models/profilesModule");
|
|
89
|
-
const
|
|
88
|
+
const userStateModule_1 = require("./models/userStateModule");
|
|
90
89
|
const sessionsModule_1 = require("./models/sessionsModule");
|
|
91
90
|
const userAuthModule_1 = require("./models/userAuthModule");
|
|
92
91
|
const usersModule_1 = require("./models/usersModule");
|
|
@@ -118,9 +117,7 @@ const appLimitCreditRedemption_1 = require("./models/appLimitCreditRedemption");
|
|
|
118
117
|
const orgLimit_1 = require("./models/orgLimit");
|
|
119
118
|
const orgLimitCredit_1 = require("./models/orgLimitCredit");
|
|
120
119
|
const orgLimitAggregate_1 = require("./models/orgLimitAggregate");
|
|
121
|
-
const
|
|
122
|
-
const appAchievement_1 = require("./models/appAchievement");
|
|
123
|
-
const appLevel_1 = require("./models/appLevel");
|
|
120
|
+
const orgLimitWarning_1 = require("./models/orgLimitWarning");
|
|
124
121
|
const email_1 = require("./models/email");
|
|
125
122
|
const phoneNumber_1 = require("./models/phoneNumber");
|
|
126
123
|
const cryptoAddress_1 = require("./models/cryptoAddress");
|
|
@@ -149,6 +146,7 @@ const devicesModule_1 = require("./models/devicesModule");
|
|
|
149
146
|
const nodeTypeRegistry_1 = require("./models/nodeTypeRegistry");
|
|
150
147
|
const appLimitDefault_1 = require("./models/appLimitDefault");
|
|
151
148
|
const orgLimitDefault_1 = require("./models/orgLimitDefault");
|
|
149
|
+
const appLimitWarning_1 = require("./models/appLimitWarning");
|
|
152
150
|
const userConnectedAccount_1 = require("./models/userConnectedAccount");
|
|
153
151
|
const commit_1 = require("./models/commit");
|
|
154
152
|
const pubkeySetting_1 = require("./models/pubkeySetting");
|
|
@@ -160,6 +158,7 @@ const rlsSetting_1 = require("./models/rlsSetting");
|
|
|
160
158
|
const appLimitEvent_1 = require("./models/appLimitEvent");
|
|
161
159
|
const orgLimitEvent_1 = require("./models/orgLimitEvent");
|
|
162
160
|
const rlsModule_1 = require("./models/rlsModule");
|
|
161
|
+
const rateLimitMetersModule_1 = require("./models/rateLimitMetersModule");
|
|
163
162
|
const plansModule_1 = require("./models/plansModule");
|
|
164
163
|
const sqlAction_1 = require("./models/sqlAction");
|
|
165
164
|
const databaseSetting_1 = require("./models/databaseSetting");
|
|
@@ -215,7 +214,6 @@ function createClient(config) {
|
|
|
215
214
|
appPermission: new appPermission_1.AppPermissionModel(client),
|
|
216
215
|
orgPermission: new orgPermission_1.OrgPermissionModel(client),
|
|
217
216
|
object: new object_1.ObjectModel(client),
|
|
218
|
-
appLevelRequirement: new appLevelRequirement_1.AppLevelRequirementModel(client),
|
|
219
217
|
database: new database_1.DatabaseModel(client),
|
|
220
218
|
schema: new schema_1.SchemaModel(client),
|
|
221
219
|
table: new table_1.TableModel(client),
|
|
@@ -266,14 +264,14 @@ function createClient(config) {
|
|
|
266
264
|
emailsModule: new emailsModule_1.EmailsModuleModel(client),
|
|
267
265
|
encryptedSecretsModule: new encryptedSecretsModule_1.EncryptedSecretsModuleModel(client),
|
|
268
266
|
invitesModule: new invitesModule_1.InvitesModuleModel(client),
|
|
269
|
-
|
|
267
|
+
eventsModule: new eventsModule_1.EventsModuleModel(client),
|
|
270
268
|
limitsModule: new limitsModule_1.LimitsModuleModel(client),
|
|
271
269
|
membershipTypesModule: new membershipTypesModule_1.MembershipTypesModuleModel(client),
|
|
272
270
|
membershipsModule: new membershipsModule_1.MembershipsModuleModel(client),
|
|
273
271
|
permissionsModule: new permissionsModule_1.PermissionsModuleModel(client),
|
|
274
272
|
phoneNumbersModule: new phoneNumbersModule_1.PhoneNumbersModuleModel(client),
|
|
275
273
|
profilesModule: new profilesModule_1.ProfilesModuleModel(client),
|
|
276
|
-
|
|
274
|
+
userStateModule: new userStateModule_1.UserStateModuleModel(client),
|
|
277
275
|
sessionsModule: new sessionsModule_1.SessionsModuleModel(client),
|
|
278
276
|
userAuthModule: new userAuthModule_1.UserAuthModuleModel(client),
|
|
279
277
|
usersModule: new usersModule_1.UsersModuleModel(client),
|
|
@@ -305,9 +303,7 @@ function createClient(config) {
|
|
|
305
303
|
orgLimit: new orgLimit_1.OrgLimitModel(client),
|
|
306
304
|
orgLimitCredit: new orgLimitCredit_1.OrgLimitCreditModel(client),
|
|
307
305
|
orgLimitAggregate: new orgLimitAggregate_1.OrgLimitAggregateModel(client),
|
|
308
|
-
|
|
309
|
-
appAchievement: new appAchievement_1.AppAchievementModel(client),
|
|
310
|
-
appLevel: new appLevel_1.AppLevelModel(client),
|
|
306
|
+
orgLimitWarning: new orgLimitWarning_1.OrgLimitWarningModel(client),
|
|
311
307
|
email: new email_1.EmailModel(client),
|
|
312
308
|
phoneNumber: new phoneNumber_1.PhoneNumberModel(client),
|
|
313
309
|
cryptoAddress: new cryptoAddress_1.CryptoAddressModel(client),
|
|
@@ -336,6 +332,7 @@ function createClient(config) {
|
|
|
336
332
|
nodeTypeRegistry: new nodeTypeRegistry_1.NodeTypeRegistryModel(client),
|
|
337
333
|
appLimitDefault: new appLimitDefault_1.AppLimitDefaultModel(client),
|
|
338
334
|
orgLimitDefault: new orgLimitDefault_1.OrgLimitDefaultModel(client),
|
|
335
|
+
appLimitWarning: new appLimitWarning_1.AppLimitWarningModel(client),
|
|
339
336
|
userConnectedAccount: new userConnectedAccount_1.UserConnectedAccountModel(client),
|
|
340
337
|
commit: new commit_1.CommitModel(client),
|
|
341
338
|
pubkeySetting: new pubkeySetting_1.PubkeySettingModel(client),
|
|
@@ -347,6 +344,7 @@ function createClient(config) {
|
|
|
347
344
|
appLimitEvent: new appLimitEvent_1.AppLimitEventModel(client),
|
|
348
345
|
orgLimitEvent: new orgLimitEvent_1.OrgLimitEventModel(client),
|
|
349
346
|
rlsModule: new rlsModule_1.RlsModuleModel(client),
|
|
347
|
+
rateLimitMetersModule: new rateLimitMetersModule_1.RateLimitMetersModuleModel(client),
|
|
350
348
|
plansModule: new plansModule_1.PlansModuleModel(client),
|
|
351
349
|
sqlAction: new sqlAction_1.SqlActionModel(client),
|
|
352
350
|
databaseSetting: new databaseSetting_1.DatabaseSettingModel(client),
|