@constructive-sdk/cli 0.20.4 → 0.20.6
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/{request-upload-url.d.ts → app-limit-cap.d.ts} +1 -1
- package/admin/cli/commands/app-limit-cap.js +272 -0
- package/{esm/admin/cli/commands/request-upload-url.d.ts → admin/cli/commands/app-limit-caps-default.d.ts} +1 -1
- package/admin/cli/commands/app-limit-caps-default.js +252 -0
- package/{auth/cli/commands/request-upload-url.d.ts → admin/cli/commands/app-limit-credit-code-item.d.ts} +1 -1
- package/admin/cli/commands/app-limit-credit-code-item.js +292 -0
- package/{esm/auth/cli/commands/request-upload-url.d.ts → admin/cli/commands/app-limit-credit-code.d.ts} +1 -1
- package/admin/cli/commands/app-limit-credit-code.js +296 -0
- package/admin/cli/commands/app-limit-credit-redemption.d.ts +8 -0
- package/admin/cli/commands/app-limit-credit-redemption.js +250 -0
- package/admin/cli/commands/app-limit-credit.d.ts +8 -0
- package/admin/cli/commands/app-limit-credit.js +316 -0
- package/admin/cli/commands/app-limit.js +66 -0
- package/admin/cli/commands/org-limit-aggregate.js +88 -0
- package/admin/cli/commands/org-limit-cap.d.ts +8 -0
- package/admin/cli/commands/org-limit-cap.js +272 -0
- package/admin/cli/commands/org-limit-caps-default.d.ts +8 -0
- package/admin/cli/commands/org-limit-caps-default.js +252 -0
- package/admin/cli/commands/org-limit-credit.d.ts +8 -0
- package/admin/cli/commands/org-limit-credit.js +338 -0
- package/admin/cli/commands/org-limit.js +66 -0
- package/admin/cli/commands.js +25 -9
- package/admin/cli/executor.d.ts +12 -8
- package/admin/orm/index.d.ts +24 -11
- package/admin/orm/index.js +24 -6
- package/admin/orm/input-types.d.ts +2108 -545
- package/admin/orm/input-types.js +13 -1
- package/admin/orm/models/appLimitCap.d.ts +56 -0
- package/admin/orm/models/appLimitCap.js +100 -0
- package/admin/orm/models/appLimitCapsDefault.d.ts +56 -0
- package/admin/orm/models/appLimitCapsDefault.js +100 -0
- package/admin/orm/models/appLimitCredit.d.ts +56 -0
- package/admin/orm/models/appLimitCredit.js +100 -0
- package/admin/orm/models/appLimitCreditCode.d.ts +56 -0
- package/admin/orm/models/appLimitCreditCode.js +100 -0
- package/admin/orm/models/appLimitCreditCodeItem.d.ts +56 -0
- package/admin/orm/models/appLimitCreditCodeItem.js +100 -0
- package/admin/orm/models/appLimitCreditRedemption.d.ts +56 -0
- package/admin/orm/models/appLimitCreditRedemption.js +100 -0
- package/admin/orm/models/index.d.ts +12 -3
- package/admin/orm/models/index.js +25 -7
- package/admin/orm/models/orgLimitCap.d.ts +56 -0
- package/admin/orm/models/orgLimitCap.js +100 -0
- package/admin/orm/models/orgLimitCapsDefault.d.ts +56 -0
- package/admin/orm/models/orgLimitCapsDefault.js +100 -0
- package/admin/orm/models/orgLimitCredit.d.ts +56 -0
- package/admin/orm/models/orgLimitCredit.js +100 -0
- package/admin/orm/mutation/index.d.ts +1 -16
- package/admin/orm/mutation/index.js +0 -12
- package/admin/orm/query-builder.js +24 -0
- package/auth/cli/commands.js +1 -3
- package/auth/cli/executor.d.ts +0 -5
- package/auth/orm/index.d.ts +0 -5
- package/auth/orm/input-types.d.ts +0 -38
- package/auth/orm/mutation/index.d.ts +1 -16
- package/auth/orm/mutation/index.js +0 -12
- package/auth/orm/query-builder.js +24 -0
- package/esm/admin/cli/commands/app-limit-cap.d.ts +8 -0
- package/esm/admin/cli/commands/app-limit-cap.js +270 -0
- package/esm/admin/cli/commands/app-limit-caps-default.d.ts +8 -0
- package/esm/admin/cli/commands/app-limit-caps-default.js +250 -0
- package/esm/admin/cli/commands/app-limit-credit-code-item.d.ts +8 -0
- package/esm/admin/cli/commands/app-limit-credit-code-item.js +290 -0
- package/esm/admin/cli/commands/app-limit-credit-code.d.ts +8 -0
- package/esm/admin/cli/commands/app-limit-credit-code.js +294 -0
- package/esm/admin/cli/commands/app-limit-credit-redemption.d.ts +8 -0
- package/esm/admin/cli/commands/app-limit-credit-redemption.js +248 -0
- package/esm/admin/cli/commands/app-limit-credit.d.ts +8 -0
- package/esm/admin/cli/commands/app-limit-credit.js +314 -0
- package/esm/admin/cli/commands/app-limit.js +66 -0
- package/esm/admin/cli/commands/org-limit-aggregate.js +88 -0
- package/esm/admin/cli/commands/org-limit-cap.d.ts +8 -0
- package/esm/admin/cli/commands/org-limit-cap.js +270 -0
- package/esm/admin/cli/commands/org-limit-caps-default.d.ts +8 -0
- package/esm/admin/cli/commands/org-limit-caps-default.js +250 -0
- package/esm/admin/cli/commands/org-limit-credit.d.ts +8 -0
- package/esm/admin/cli/commands/org-limit-credit.js +336 -0
- package/esm/admin/cli/commands/org-limit.js +66 -0
- package/esm/admin/cli/commands.js +25 -9
- package/esm/admin/cli/executor.d.ts +12 -8
- package/esm/admin/orm/index.d.ts +24 -11
- package/esm/admin/orm/index.js +24 -6
- package/esm/admin/orm/input-types.d.ts +2108 -545
- package/esm/admin/orm/input-types.js +13 -1
- package/esm/admin/orm/models/appLimitCap.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCap.js +96 -0
- package/esm/admin/orm/models/appLimitCapsDefault.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCapsDefault.js +96 -0
- package/esm/admin/orm/models/appLimitCredit.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCredit.js +96 -0
- package/esm/admin/orm/models/appLimitCreditCode.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCreditCode.js +96 -0
- package/esm/admin/orm/models/appLimitCreditCodeItem.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCreditCodeItem.js +96 -0
- package/esm/admin/orm/models/appLimitCreditRedemption.d.ts +56 -0
- package/esm/admin/orm/models/appLimitCreditRedemption.js +96 -0
- package/esm/admin/orm/models/index.d.ts +12 -3
- package/esm/admin/orm/models/index.js +12 -3
- package/esm/admin/orm/models/orgLimitCap.d.ts +56 -0
- package/esm/admin/orm/models/orgLimitCap.js +96 -0
- package/esm/admin/orm/models/orgLimitCapsDefault.d.ts +56 -0
- package/esm/admin/orm/models/orgLimitCapsDefault.js +96 -0
- package/esm/admin/orm/models/orgLimitCredit.d.ts +56 -0
- package/esm/admin/orm/models/orgLimitCredit.js +96 -0
- package/esm/admin/orm/mutation/index.d.ts +1 -16
- package/esm/admin/orm/mutation/index.js +0 -12
- package/esm/admin/orm/query-builder.js +24 -0
- package/esm/auth/cli/commands.js +1 -3
- package/esm/auth/cli/executor.d.ts +0 -5
- package/esm/auth/orm/index.d.ts +0 -5
- package/esm/auth/orm/input-types.d.ts +0 -38
- package/esm/auth/orm/mutation/index.d.ts +1 -16
- package/esm/auth/orm/mutation/index.js +0 -12
- package/esm/auth/orm/query-builder.js +24 -0
- package/esm/objects/cli/commands.js +1 -3
- package/esm/objects/cli/executor.d.ts +0 -5
- package/esm/objects/orm/index.d.ts +0 -5
- package/esm/objects/orm/input-types.d.ts +0 -38
- package/esm/objects/orm/mutation/index.d.ts +1 -16
- package/esm/objects/orm/mutation/index.js +0 -12
- package/esm/objects/orm/query-builder.js +24 -0
- package/esm/public/cli/commands/api-setting.d.ts +8 -0
- package/esm/public/cli/commands/api-setting.js +468 -0
- package/esm/public/cli/commands/app-limit-cap.d.ts +8 -0
- package/esm/public/cli/commands/app-limit-cap.js +270 -0
- package/esm/public/cli/commands/app-limit-caps-default.d.ts +8 -0
- package/esm/public/cli/commands/app-limit-caps-default.js +250 -0
- package/esm/public/cli/commands/app-limit-credit-code-item.d.ts +8 -0
- package/esm/public/cli/commands/app-limit-credit-code-item.js +290 -0
- package/esm/public/cli/commands/app-limit-credit-code.d.ts +8 -0
- package/esm/public/cli/commands/app-limit-credit-code.js +294 -0
- package/esm/public/cli/commands/app-limit-credit-redemption.d.ts +8 -0
- package/esm/public/cli/commands/app-limit-credit-redemption.js +248 -0
- package/esm/public/cli/commands/app-limit-credit.d.ts +8 -0
- package/esm/public/cli/commands/app-limit-credit.js +314 -0
- package/esm/public/cli/commands/app-limit.js +66 -0
- package/esm/public/cli/commands/append-smart-tags.d.ts +8 -0
- package/esm/{admin/cli/commands/request-upload-url.js → public/cli/commands/append-smart-tags.js} +3 -3
- package/esm/public/cli/commands/billing-provider-module.d.ts +8 -0
- package/esm/public/cli/commands/billing-provider-module.js +624 -0
- package/esm/public/cli/commands/cors-setting.d.ts +8 -0
- package/esm/public/cli/commands/cors-setting.js +272 -0
- package/esm/public/cli/commands/database-setting.d.ts +8 -0
- package/esm/public/cli/commands/database-setting.js +448 -0
- package/esm/public/cli/commands/entity-type-provision.js +22 -0
- package/esm/public/cli/commands/function.d.ts +8 -0
- package/esm/public/cli/commands/function.js +268 -0
- package/esm/public/cli/commands/limits-module.js +198 -0
- package/esm/public/cli/commands/org-limit-aggregate.js +88 -0
- package/esm/public/cli/commands/org-limit-cap.d.ts +8 -0
- package/esm/public/cli/commands/org-limit-cap.js +270 -0
- package/esm/public/cli/commands/org-limit-caps-default.d.ts +8 -0
- package/esm/public/cli/commands/org-limit-caps-default.js +250 -0
- package/esm/public/cli/commands/org-limit-credit.d.ts +8 -0
- package/esm/public/cli/commands/org-limit-credit.js +336 -0
- package/esm/public/cli/commands/org-limit.js +66 -0
- package/esm/public/cli/commands/partition.d.ts +8 -0
- package/esm/public/cli/commands/partition.js +388 -0
- package/esm/public/cli/commands/plans-module.js +44 -0
- package/esm/public/cli/commands/pubkey-setting.d.ts +8 -0
- package/esm/public/cli/commands/pubkey-setting.js +382 -0
- package/esm/public/cli/commands/realtime-module.d.ts +8 -0
- package/esm/public/cli/commands/realtime-module.js +448 -0
- package/esm/public/cli/commands/rls-setting.d.ts +8 -0
- package/esm/public/cli/commands/rls-setting.js +404 -0
- package/esm/public/cli/commands/storage-module.js +198 -0
- package/esm/public/cli/commands/webauthn-setting.d.ts +8 -0
- package/esm/public/cli/commands/webauthn-setting.js +580 -0
- package/esm/public/cli/commands.js +43 -5
- package/esm/public/cli/executor.d.ts +25 -6
- package/esm/public/orm/index.d.ts +45 -7
- package/esm/public/orm/index.js +40 -2
- package/esm/public/orm/input-types.d.ts +4955 -295
- package/esm/public/orm/input-types.js +28 -0
- package/esm/public/orm/models/apiSetting.d.ts +56 -0
- package/esm/public/orm/models/apiSetting.js +96 -0
- package/esm/public/orm/models/appLimitCap.d.ts +56 -0
- package/esm/public/orm/models/appLimitCap.js +96 -0
- package/esm/public/orm/models/appLimitCapsDefault.d.ts +56 -0
- package/esm/public/orm/models/appLimitCapsDefault.js +96 -0
- package/esm/public/orm/models/appLimitCredit.d.ts +56 -0
- package/esm/public/orm/models/appLimitCredit.js +96 -0
- package/esm/public/orm/models/appLimitCreditCode.d.ts +56 -0
- package/esm/public/orm/models/appLimitCreditCode.js +96 -0
- package/esm/public/orm/models/appLimitCreditCodeItem.d.ts +56 -0
- package/esm/public/orm/models/appLimitCreditCodeItem.js +96 -0
- package/esm/public/orm/models/appLimitCreditRedemption.d.ts +56 -0
- package/esm/public/orm/models/appLimitCreditRedemption.js +96 -0
- package/esm/public/orm/models/billingProviderModule.d.ts +56 -0
- package/esm/public/orm/models/billingProviderModule.js +96 -0
- package/esm/public/orm/models/corsSetting.d.ts +56 -0
- package/esm/public/orm/models/corsSetting.js +96 -0
- package/esm/public/orm/models/databaseSetting.d.ts +56 -0
- package/esm/public/orm/models/databaseSetting.js +96 -0
- package/esm/public/orm/models/function.d.ts +56 -0
- package/esm/public/orm/models/function.js +96 -0
- package/esm/public/orm/models/index.d.ts +20 -1
- package/esm/public/orm/models/index.js +20 -1
- package/esm/public/orm/models/orgLimitCap.d.ts +56 -0
- package/esm/public/orm/models/orgLimitCap.js +96 -0
- package/esm/public/orm/models/orgLimitCapsDefault.d.ts +56 -0
- package/esm/public/orm/models/orgLimitCapsDefault.js +96 -0
- package/esm/public/orm/models/orgLimitCredit.d.ts +56 -0
- package/esm/public/orm/models/orgLimitCredit.js +96 -0
- package/esm/public/orm/models/partition.d.ts +56 -0
- package/esm/public/orm/models/partition.js +96 -0
- package/esm/public/orm/models/pubkeySetting.d.ts +56 -0
- package/esm/public/orm/models/pubkeySetting.js +96 -0
- package/esm/public/orm/models/realtimeModule.d.ts +56 -0
- package/esm/public/orm/models/realtimeModule.js +96 -0
- package/esm/public/orm/models/rlsSetting.d.ts +56 -0
- package/esm/public/orm/models/rlsSetting.js +96 -0
- package/esm/public/orm/models/webauthnSetting.d.ts +56 -0
- package/esm/public/orm/models/webauthnSetting.js +96 -0
- package/esm/public/orm/mutation/index.d.ts +9 -16
- package/esm/public/orm/mutation/index.js +12 -12
- package/esm/public/orm/query-builder.js +24 -0
- package/objects/cli/commands.js +1 -3
- package/objects/cli/executor.d.ts +0 -5
- package/objects/orm/index.d.ts +0 -5
- package/objects/orm/input-types.d.ts +0 -38
- package/objects/orm/mutation/index.d.ts +1 -16
- package/objects/orm/mutation/index.js +0 -12
- package/objects/orm/query-builder.js +24 -0
- package/package.json +4 -4
- package/public/cli/commands/api-setting.d.ts +8 -0
- package/public/cli/commands/api-setting.js +470 -0
- package/public/cli/commands/app-limit-cap.d.ts +8 -0
- package/public/cli/commands/app-limit-cap.js +272 -0
- package/public/cli/commands/app-limit-caps-default.d.ts +8 -0
- package/public/cli/commands/app-limit-caps-default.js +252 -0
- package/public/cli/commands/app-limit-credit-code-item.d.ts +8 -0
- package/public/cli/commands/app-limit-credit-code-item.js +292 -0
- package/public/cli/commands/app-limit-credit-code.d.ts +8 -0
- package/public/cli/commands/app-limit-credit-code.js +296 -0
- package/public/cli/commands/app-limit-credit-redemption.d.ts +8 -0
- package/public/cli/commands/app-limit-credit-redemption.js +250 -0
- package/public/cli/commands/app-limit-credit.d.ts +8 -0
- package/public/cli/commands/app-limit-credit.js +316 -0
- package/public/cli/commands/app-limit.js +66 -0
- package/public/cli/commands/append-smart-tags.d.ts +8 -0
- package/{objects/cli/commands/request-upload-url.js → public/cli/commands/append-smart-tags.js} +3 -3
- package/public/cli/commands/billing-provider-module.d.ts +8 -0
- package/public/cli/commands/billing-provider-module.js +626 -0
- package/public/cli/commands/cors-setting.d.ts +8 -0
- package/public/cli/commands/cors-setting.js +274 -0
- package/public/cli/commands/database-setting.d.ts +8 -0
- package/public/cli/commands/database-setting.js +450 -0
- package/public/cli/commands/entity-type-provision.js +22 -0
- package/public/cli/commands/function.d.ts +8 -0
- package/public/cli/commands/function.js +270 -0
- package/public/cli/commands/limits-module.js +198 -0
- package/public/cli/commands/org-limit-aggregate.js +88 -0
- package/public/cli/commands/org-limit-cap.d.ts +8 -0
- package/public/cli/commands/org-limit-cap.js +272 -0
- package/public/cli/commands/org-limit-caps-default.d.ts +8 -0
- package/public/cli/commands/org-limit-caps-default.js +252 -0
- package/public/cli/commands/org-limit-credit.d.ts +8 -0
- package/public/cli/commands/org-limit-credit.js +338 -0
- package/public/cli/commands/org-limit.js +66 -0
- package/public/cli/commands/partition.d.ts +8 -0
- package/public/cli/commands/partition.js +390 -0
- package/public/cli/commands/plans-module.js +44 -0
- package/public/cli/commands/pubkey-setting.d.ts +8 -0
- package/public/cli/commands/pubkey-setting.js +384 -0
- package/public/cli/commands/realtime-module.d.ts +8 -0
- package/public/cli/commands/realtime-module.js +450 -0
- package/public/cli/commands/rls-setting.d.ts +8 -0
- package/public/cli/commands/rls-setting.js +406 -0
- package/public/cli/commands/storage-module.js +198 -0
- package/public/cli/commands/webauthn-setting.d.ts +8 -0
- package/public/cli/commands/webauthn-setting.js +582 -0
- package/public/cli/commands.js +43 -5
- package/public/cli/executor.d.ts +25 -6
- package/public/orm/index.d.ts +45 -7
- package/public/orm/index.js +40 -2
- package/public/orm/input-types.d.ts +4955 -295
- package/public/orm/input-types.js +28 -0
- package/public/orm/models/apiSetting.d.ts +56 -0
- package/public/orm/models/apiSetting.js +100 -0
- package/public/orm/models/appLimitCap.d.ts +56 -0
- package/public/orm/models/appLimitCap.js +100 -0
- package/public/orm/models/appLimitCapsDefault.d.ts +56 -0
- package/public/orm/models/appLimitCapsDefault.js +100 -0
- package/public/orm/models/appLimitCredit.d.ts +56 -0
- package/public/orm/models/appLimitCredit.js +100 -0
- package/public/orm/models/appLimitCreditCode.d.ts +56 -0
- package/public/orm/models/appLimitCreditCode.js +100 -0
- package/public/orm/models/appLimitCreditCodeItem.d.ts +56 -0
- package/public/orm/models/appLimitCreditCodeItem.js +100 -0
- package/public/orm/models/appLimitCreditRedemption.d.ts +56 -0
- package/public/orm/models/appLimitCreditRedemption.js +100 -0
- package/public/orm/models/billingProviderModule.d.ts +56 -0
- package/public/orm/models/billingProviderModule.js +100 -0
- package/public/orm/models/corsSetting.d.ts +56 -0
- package/public/orm/models/corsSetting.js +100 -0
- package/public/orm/models/databaseSetting.d.ts +56 -0
- package/public/orm/models/databaseSetting.js +100 -0
- package/public/orm/models/function.d.ts +56 -0
- package/public/orm/models/function.js +100 -0
- package/public/orm/models/index.d.ts +20 -1
- package/public/orm/models/index.js +43 -5
- package/public/orm/models/orgLimitCap.d.ts +56 -0
- package/public/orm/models/orgLimitCap.js +100 -0
- package/public/orm/models/orgLimitCapsDefault.d.ts +56 -0
- package/public/orm/models/orgLimitCapsDefault.js +100 -0
- package/public/orm/models/orgLimitCredit.d.ts +56 -0
- package/public/orm/models/orgLimitCredit.js +100 -0
- package/public/orm/models/partition.d.ts +56 -0
- package/public/orm/models/partition.js +100 -0
- package/public/orm/models/pubkeySetting.d.ts +56 -0
- package/public/orm/models/pubkeySetting.js +100 -0
- package/public/orm/models/realtimeModule.d.ts +56 -0
- package/public/orm/models/realtimeModule.js +100 -0
- package/public/orm/models/rlsSetting.d.ts +56 -0
- package/public/orm/models/rlsSetting.js +100 -0
- package/public/orm/models/webauthnSetting.d.ts +56 -0
- package/public/orm/models/webauthnSetting.js +100 -0
- package/public/orm/mutation/index.d.ts +9 -16
- package/public/orm/mutation/index.js +12 -12
- package/public/orm/query-builder.js +24 -0
- package/admin/cli/commands/request-upload-url.js +0 -36
- package/auth/cli/commands/request-upload-url.js +0 -36
- package/esm/auth/cli/commands/request-upload-url.js +0 -34
- package/esm/objects/cli/commands/request-upload-url.d.ts +0 -8
- package/esm/objects/cli/commands/request-upload-url.js +0 -34
- package/esm/public/cli/commands/request-upload-url.d.ts +0 -8
- package/esm/public/cli/commands/request-upload-url.js +0 -34
- package/objects/cli/commands/request-upload-url.d.ts +0 -8
- package/public/cli/commands/request-upload-url.d.ts +0 -8
- package/public/cli/commands/request-upload-url.js +0 -36
package/public/cli/commands.js
CHANGED
|
@@ -25,6 +25,7 @@ const table_1 = __importDefault(require("./commands/table"));
|
|
|
25
25
|
const check_constraint_1 = __importDefault(require("./commands/check-constraint"));
|
|
26
26
|
const field_1 = __importDefault(require("./commands/field"));
|
|
27
27
|
const spatial_relation_1 = __importDefault(require("./commands/spatial-relation"));
|
|
28
|
+
const partition_1 = __importDefault(require("./commands/partition"));
|
|
28
29
|
const foreign_key_constraint_1 = __importDefault(require("./commands/foreign-key-constraint"));
|
|
29
30
|
const full_text_search_1 = __importDefault(require("./commands/full-text-search"));
|
|
30
31
|
const index_1 = __importDefault(require("./commands/index"));
|
|
@@ -42,20 +43,24 @@ const secure_table_provision_1 = __importDefault(require("./commands/secure-tabl
|
|
|
42
43
|
const relation_provision_1 = __importDefault(require("./commands/relation-provision"));
|
|
43
44
|
const session_secrets_module_1 = __importDefault(require("./commands/session-secrets-module"));
|
|
44
45
|
const identity_providers_module_1 = __importDefault(require("./commands/identity-providers-module"));
|
|
46
|
+
const realtime_module_1 = __importDefault(require("./commands/realtime-module"));
|
|
45
47
|
const schema_grant_1 = __importDefault(require("./commands/schema-grant"));
|
|
46
48
|
const default_privilege_1 = __importDefault(require("./commands/default-privilege"));
|
|
47
49
|
const enum_1 = __importDefault(require("./commands/enum"));
|
|
50
|
+
const function_1 = __importDefault(require("./commands/function"));
|
|
48
51
|
const api_schema_1 = __importDefault(require("./commands/api-schema"));
|
|
49
52
|
const api_module_1 = __importDefault(require("./commands/api-module"));
|
|
50
53
|
const domain_1 = __importDefault(require("./commands/domain"));
|
|
51
54
|
const site_metadatum_1 = __importDefault(require("./commands/site-metadatum"));
|
|
52
55
|
const site_module_1 = __importDefault(require("./commands/site-module"));
|
|
53
56
|
const site_theme_1 = __importDefault(require("./commands/site-theme"));
|
|
57
|
+
const cors_setting_1 = __importDefault(require("./commands/cors-setting"));
|
|
54
58
|
const trigger_function_1 = __importDefault(require("./commands/trigger-function"));
|
|
55
59
|
const database_transfer_1 = __importDefault(require("./commands/database-transfer"));
|
|
56
60
|
const api_1 = __importDefault(require("./commands/api"));
|
|
57
61
|
const site_1 = __importDefault(require("./commands/site"));
|
|
58
62
|
const app_1 = __importDefault(require("./commands/app"));
|
|
63
|
+
const api_setting_1 = __importDefault(require("./commands/api-setting"));
|
|
59
64
|
const connected_accounts_module_1 = __importDefault(require("./commands/connected-accounts-module"));
|
|
60
65
|
const crypto_addresses_module_1 = __importDefault(require("./commands/crypto-addresses-module"));
|
|
61
66
|
const crypto_auth_module_1 = __importDefault(require("./commands/crypto-auth-module"));
|
|
@@ -97,7 +102,11 @@ const org_chart_edge_1 = __importDefault(require("./commands/org-chart-edge"));
|
|
|
97
102
|
const org_chart_edge_grant_1 = __importDefault(require("./commands/org-chart-edge-grant"));
|
|
98
103
|
const org_permission_default_1 = __importDefault(require("./commands/org-permission-default"));
|
|
99
104
|
const app_limit_1 = __importDefault(require("./commands/app-limit"));
|
|
105
|
+
const app_limit_credit_1 = __importDefault(require("./commands/app-limit-credit"));
|
|
106
|
+
const app_limit_credit_code_item_1 = __importDefault(require("./commands/app-limit-credit-code-item"));
|
|
107
|
+
const app_limit_credit_redemption_1 = __importDefault(require("./commands/app-limit-credit-redemption"));
|
|
100
108
|
const org_limit_1 = __importDefault(require("./commands/org-limit"));
|
|
109
|
+
const org_limit_credit_1 = __importDefault(require("./commands/org-limit-credit"));
|
|
101
110
|
const org_limit_aggregate_1 = __importDefault(require("./commands/org-limit-aggregate"));
|
|
102
111
|
const app_step_1 = __importDefault(require("./commands/app-step"));
|
|
103
112
|
const app_achievement_1 = __importDefault(require("./commands/app-achievement"));
|
|
@@ -119,6 +128,11 @@ const identity_provider_1 = __importDefault(require("./commands/identity-provide
|
|
|
119
128
|
const ref_1 = __importDefault(require("./commands/ref"));
|
|
120
129
|
const store_1 = __importDefault(require("./commands/store"));
|
|
121
130
|
const app_permission_default_1 = __importDefault(require("./commands/app-permission-default"));
|
|
131
|
+
const app_limit_credit_code_1 = __importDefault(require("./commands/app-limit-credit-code"));
|
|
132
|
+
const app_limit_caps_default_1 = __importDefault(require("./commands/app-limit-caps-default"));
|
|
133
|
+
const org_limit_caps_default_1 = __importDefault(require("./commands/org-limit-caps-default"));
|
|
134
|
+
const app_limit_cap_1 = __importDefault(require("./commands/app-limit-cap"));
|
|
135
|
+
const org_limit_cap_1 = __importDefault(require("./commands/org-limit-cap"));
|
|
122
136
|
const membership_type_1 = __importDefault(require("./commands/membership-type"));
|
|
123
137
|
const migrate_file_1 = __importDefault(require("./commands/migrate-file"));
|
|
124
138
|
const devices_module_1 = __importDefault(require("./commands/devices-module"));
|
|
@@ -127,19 +141,24 @@ const app_limit_default_1 = __importDefault(require("./commands/app-limit-defaul
|
|
|
127
141
|
const org_limit_default_1 = __importDefault(require("./commands/org-limit-default"));
|
|
128
142
|
const user_connected_account_1 = __importDefault(require("./commands/user-connected-account"));
|
|
129
143
|
const commit_1 = __importDefault(require("./commands/commit"));
|
|
144
|
+
const pubkey_setting_1 = __importDefault(require("./commands/pubkey-setting"));
|
|
130
145
|
const rate_limits_module_1 = __importDefault(require("./commands/rate-limits-module"));
|
|
131
146
|
const app_membership_default_1 = __importDefault(require("./commands/app-membership-default"));
|
|
132
147
|
const org_membership_default_1 = __importDefault(require("./commands/org-membership-default"));
|
|
148
|
+
const rls_setting_1 = __importDefault(require("./commands/rls-setting"));
|
|
133
149
|
const app_limit_event_1 = __importDefault(require("./commands/app-limit-event"));
|
|
134
150
|
const org_limit_event_1 = __importDefault(require("./commands/org-limit-event"));
|
|
135
|
-
const plans_module_1 = __importDefault(require("./commands/plans-module"));
|
|
136
151
|
const rls_module_1 = __importDefault(require("./commands/rls-module"));
|
|
152
|
+
const database_setting_1 = __importDefault(require("./commands/database-setting"));
|
|
153
|
+
const plans_module_1 = __importDefault(require("./commands/plans-module"));
|
|
137
154
|
const sql_action_1 = __importDefault(require("./commands/sql-action"));
|
|
138
155
|
const billing_module_1 = __importDefault(require("./commands/billing-module"));
|
|
139
156
|
const ast_migration_1 = __importDefault(require("./commands/ast-migration"));
|
|
140
157
|
const user_1 = __importDefault(require("./commands/user"));
|
|
141
158
|
const org_membership_setting_1 = __importDefault(require("./commands/org-membership-setting"));
|
|
159
|
+
const webauthn_setting_1 = __importDefault(require("./commands/webauthn-setting"));
|
|
142
160
|
const app_membership_1 = __importDefault(require("./commands/app-membership"));
|
|
161
|
+
const billing_provider_module_1 = __importDefault(require("./commands/billing-provider-module"));
|
|
143
162
|
const hierarchy_module_1 = __importDefault(require("./commands/hierarchy-module"));
|
|
144
163
|
const current_user_id_1 = __importDefault(require("./commands/current-user-id"));
|
|
145
164
|
const current_user_agent_1 = __importDefault(require("./commands/current-user-agent"));
|
|
@@ -189,6 +208,7 @@ const copy_template_to_blueprint_1 = __importDefault(require("./commands/copy-te
|
|
|
189
208
|
const provision_spatial_relation_1 = __importDefault(require("./commands/provision-spatial-relation"));
|
|
190
209
|
const bootstrap_user_1 = __importDefault(require("./commands/bootstrap-user"));
|
|
191
210
|
const set_field_order_1 = __importDefault(require("./commands/set-field-order"));
|
|
211
|
+
const append_smart_tags_1 = __importDefault(require("./commands/append-smart-tags"));
|
|
192
212
|
const provision_unique_constraint_1 = __importDefault(require("./commands/provision-unique-constraint"));
|
|
193
213
|
const provision_full_text_search_1 = __importDefault(require("./commands/provision-full-text-search"));
|
|
194
214
|
const provision_index_1 = __importDefault(require("./commands/provision-index"));
|
|
@@ -210,7 +230,6 @@ const sign_up_1 = __importDefault(require("./commands/sign-up"));
|
|
|
210
230
|
const request_cross_origin_token_1 = __importDefault(require("./commands/request-cross-origin-token"));
|
|
211
231
|
const sign_in_1 = __importDefault(require("./commands/sign-in"));
|
|
212
232
|
const provision_table_1 = __importDefault(require("./commands/provision-table"));
|
|
213
|
-
const request_upload_url_1 = __importDefault(require("./commands/request-upload-url"));
|
|
214
233
|
const provision_bucket_1 = __importDefault(require("./commands/provision-bucket"));
|
|
215
234
|
const createCommandMap = () => ({
|
|
216
235
|
context: context_1.default,
|
|
@@ -228,6 +247,7 @@ const createCommandMap = () => ({
|
|
|
228
247
|
'check-constraint': check_constraint_1.default,
|
|
229
248
|
field: field_1.default,
|
|
230
249
|
'spatial-relation': spatial_relation_1.default,
|
|
250
|
+
partition: partition_1.default,
|
|
231
251
|
'foreign-key-constraint': foreign_key_constraint_1.default,
|
|
232
252
|
'full-text-search': full_text_search_1.default,
|
|
233
253
|
index: index_1.default,
|
|
@@ -245,20 +265,24 @@ const createCommandMap = () => ({
|
|
|
245
265
|
'relation-provision': relation_provision_1.default,
|
|
246
266
|
'session-secrets-module': session_secrets_module_1.default,
|
|
247
267
|
'identity-providers-module': identity_providers_module_1.default,
|
|
268
|
+
'realtime-module': realtime_module_1.default,
|
|
248
269
|
'schema-grant': schema_grant_1.default,
|
|
249
270
|
'default-privilege': default_privilege_1.default,
|
|
250
271
|
enum: enum_1.default,
|
|
272
|
+
function: function_1.default,
|
|
251
273
|
'api-schema': api_schema_1.default,
|
|
252
274
|
'api-module': api_module_1.default,
|
|
253
275
|
domain: domain_1.default,
|
|
254
276
|
'site-metadatum': site_metadatum_1.default,
|
|
255
277
|
'site-module': site_module_1.default,
|
|
256
278
|
'site-theme': site_theme_1.default,
|
|
279
|
+
'cors-setting': cors_setting_1.default,
|
|
257
280
|
'trigger-function': trigger_function_1.default,
|
|
258
281
|
'database-transfer': database_transfer_1.default,
|
|
259
282
|
api: api_1.default,
|
|
260
283
|
site: site_1.default,
|
|
261
284
|
app: app_1.default,
|
|
285
|
+
'api-setting': api_setting_1.default,
|
|
262
286
|
'connected-accounts-module': connected_accounts_module_1.default,
|
|
263
287
|
'crypto-addresses-module': crypto_addresses_module_1.default,
|
|
264
288
|
'crypto-auth-module': crypto_auth_module_1.default,
|
|
@@ -300,7 +324,11 @@ const createCommandMap = () => ({
|
|
|
300
324
|
'org-chart-edge-grant': org_chart_edge_grant_1.default,
|
|
301
325
|
'org-permission-default': org_permission_default_1.default,
|
|
302
326
|
'app-limit': app_limit_1.default,
|
|
327
|
+
'app-limit-credit': app_limit_credit_1.default,
|
|
328
|
+
'app-limit-credit-code-item': app_limit_credit_code_item_1.default,
|
|
329
|
+
'app-limit-credit-redemption': app_limit_credit_redemption_1.default,
|
|
303
330
|
'org-limit': org_limit_1.default,
|
|
331
|
+
'org-limit-credit': org_limit_credit_1.default,
|
|
304
332
|
'org-limit-aggregate': org_limit_aggregate_1.default,
|
|
305
333
|
'app-step': app_step_1.default,
|
|
306
334
|
'app-achievement': app_achievement_1.default,
|
|
@@ -322,6 +350,11 @@ const createCommandMap = () => ({
|
|
|
322
350
|
ref: ref_1.default,
|
|
323
351
|
store: store_1.default,
|
|
324
352
|
'app-permission-default': app_permission_default_1.default,
|
|
353
|
+
'app-limit-credit-code': app_limit_credit_code_1.default,
|
|
354
|
+
'app-limit-caps-default': app_limit_caps_default_1.default,
|
|
355
|
+
'org-limit-caps-default': org_limit_caps_default_1.default,
|
|
356
|
+
'app-limit-cap': app_limit_cap_1.default,
|
|
357
|
+
'org-limit-cap': org_limit_cap_1.default,
|
|
325
358
|
'membership-type': membership_type_1.default,
|
|
326
359
|
'migrate-file': migrate_file_1.default,
|
|
327
360
|
'devices-module': devices_module_1.default,
|
|
@@ -330,19 +363,24 @@ const createCommandMap = () => ({
|
|
|
330
363
|
'org-limit-default': org_limit_default_1.default,
|
|
331
364
|
'user-connected-account': user_connected_account_1.default,
|
|
332
365
|
commit: commit_1.default,
|
|
366
|
+
'pubkey-setting': pubkey_setting_1.default,
|
|
333
367
|
'rate-limits-module': rate_limits_module_1.default,
|
|
334
368
|
'app-membership-default': app_membership_default_1.default,
|
|
335
369
|
'org-membership-default': org_membership_default_1.default,
|
|
370
|
+
'rls-setting': rls_setting_1.default,
|
|
336
371
|
'app-limit-event': app_limit_event_1.default,
|
|
337
372
|
'org-limit-event': org_limit_event_1.default,
|
|
338
|
-
'plans-module': plans_module_1.default,
|
|
339
373
|
'rls-module': rls_module_1.default,
|
|
374
|
+
'database-setting': database_setting_1.default,
|
|
375
|
+
'plans-module': plans_module_1.default,
|
|
340
376
|
'sql-action': sql_action_1.default,
|
|
341
377
|
'billing-module': billing_module_1.default,
|
|
342
378
|
'ast-migration': ast_migration_1.default,
|
|
343
379
|
user: user_1.default,
|
|
344
380
|
'org-membership-setting': org_membership_setting_1.default,
|
|
381
|
+
'webauthn-setting': webauthn_setting_1.default,
|
|
345
382
|
'app-membership': app_membership_1.default,
|
|
383
|
+
'billing-provider-module': billing_provider_module_1.default,
|
|
346
384
|
'hierarchy-module': hierarchy_module_1.default,
|
|
347
385
|
'current-user-id': current_user_id_1.default,
|
|
348
386
|
'current-user-agent': current_user_agent_1.default,
|
|
@@ -392,6 +430,7 @@ const createCommandMap = () => ({
|
|
|
392
430
|
'provision-spatial-relation': provision_spatial_relation_1.default,
|
|
393
431
|
'bootstrap-user': bootstrap_user_1.default,
|
|
394
432
|
'set-field-order': set_field_order_1.default,
|
|
433
|
+
'append-smart-tags': append_smart_tags_1.default,
|
|
395
434
|
'provision-unique-constraint': provision_unique_constraint_1.default,
|
|
396
435
|
'provision-full-text-search': provision_full_text_search_1.default,
|
|
397
436
|
'provision-index': provision_index_1.default,
|
|
@@ -413,10 +452,9 @@ const createCommandMap = () => ({
|
|
|
413
452
|
'request-cross-origin-token': request_cross_origin_token_1.default,
|
|
414
453
|
'sign-in': sign_in_1.default,
|
|
415
454
|
'provision-table': provision_table_1.default,
|
|
416
|
-
'request-upload-url': request_upload_url_1.default,
|
|
417
455
|
'provision-bucket': provision_bucket_1.default,
|
|
418
456
|
});
|
|
419
|
-
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 schema-grant schemaGrant CRUD operations\n default-privilege defaultPrivilege CRUD operations\n enum enum 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 trigger-function triggerFunction CRUD operations\n database-transfer databaseTransfer CRUD operations\n api api CRUD operations\n site site CRUD operations\n app app 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 org-limit orgLimit 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 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 rate-limits-module rateLimitsModule CRUD operations\n app-membership-default appMembershipDefault CRUD operations\n org-membership-default orgMembershipDefault CRUD operations\n app-limit-event appLimitEvent CRUD operations\n org-limit-event orgLimitEvent CRUD operations\n plans-module plansModule CRUD operations\n rls-module rlsModule CRUD operations\n sql-action sqlAction 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 app-membership appMembership 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. Six 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 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. Phase 0 entity tables are added to the table_map so subsequent phases can reference them by name. Table-level indexes/fts/unique_constraints are deferred to phases 3-5 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-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 request-upload-url Request a presigned URL for uploading a file directly to S3.\nClient computes SHA-256 of the file content and provides it here.\nIf a file with the same hash already exists (dedup), returns the\nexisting file ID and deduplicated=true with no uploadUrl.\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";
|
|
457
|
+
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 partition partition 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 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 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 database-setting databaseSetting CRUD operations\n plans-module plansModule CRUD operations\n sql-action sqlAction 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. Six 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 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. Phase 0 entity tables are added to the table_map so subsequent phases can reference them by name. Table-level indexes/fts/unique_constraints are deferred to phases 3-5 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 append-smart-tags appendSmartTags\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";
|
|
420
458
|
const commands = async (argv, prompter, options) => {
|
|
421
459
|
if (argv.help || argv.h) {
|
|
422
460
|
console.log(usage);
|
package/public/cli/executor.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare function getClient(contextName?: string): {
|
|
|
13
13
|
checkConstraint: import("../orm").CheckConstraintModel;
|
|
14
14
|
field: import("../orm").FieldModel;
|
|
15
15
|
spatialRelation: import("../orm").SpatialRelationModel;
|
|
16
|
+
partition: import("../orm").PartitionModel;
|
|
16
17
|
foreignKeyConstraint: import("../orm").ForeignKeyConstraintModel;
|
|
17
18
|
fullTextSearch: import("../orm").FullTextSearchModel;
|
|
18
19
|
index: import("../orm").IndexModel;
|
|
@@ -30,20 +31,24 @@ export declare function getClient(contextName?: string): {
|
|
|
30
31
|
relationProvision: import("../orm").RelationProvisionModel;
|
|
31
32
|
sessionSecretsModule: import("../orm").SessionSecretsModuleModel;
|
|
32
33
|
identityProvidersModule: import("../orm").IdentityProvidersModuleModel;
|
|
34
|
+
realtimeModule: import("../orm").RealtimeModuleModel;
|
|
33
35
|
schemaGrant: import("../orm").SchemaGrantModel;
|
|
34
36
|
defaultPrivilege: import("../orm").DefaultPrivilegeModel;
|
|
35
37
|
enum: import("../orm").EnumModel;
|
|
38
|
+
function: import("../orm").FunctionModel;
|
|
36
39
|
apiSchema: import("../orm").ApiSchemaModel;
|
|
37
40
|
apiModule: import("../orm").ApiModuleModel;
|
|
38
41
|
domain: import("../orm").DomainModel;
|
|
39
42
|
siteMetadatum: import("../orm").SiteMetadatumModel;
|
|
40
43
|
siteModule: import("../orm").SiteModuleModel;
|
|
41
44
|
siteTheme: import("../orm").SiteThemeModel;
|
|
45
|
+
corsSetting: import("../orm").CorsSettingModel;
|
|
42
46
|
triggerFunction: import("../orm").TriggerFunctionModel;
|
|
43
47
|
databaseTransfer: import("../orm").DatabaseTransferModel;
|
|
44
48
|
api: import("../orm").ApiModel;
|
|
45
49
|
site: import("../orm").SiteModel;
|
|
46
50
|
app: import("../orm").AppModel;
|
|
51
|
+
apiSetting: import("../orm").ApiSettingModel;
|
|
47
52
|
connectedAccountsModule: import("../orm").ConnectedAccountsModuleModel;
|
|
48
53
|
cryptoAddressesModule: import("../orm").CryptoAddressesModuleModel;
|
|
49
54
|
cryptoAuthModule: import("../orm").CryptoAuthModuleModel;
|
|
@@ -85,7 +90,11 @@ export declare function getClient(contextName?: string): {
|
|
|
85
90
|
orgChartEdgeGrant: import("../orm").OrgChartEdgeGrantModel;
|
|
86
91
|
orgPermissionDefault: import("../orm").OrgPermissionDefaultModel;
|
|
87
92
|
appLimit: import("../orm").AppLimitModel;
|
|
93
|
+
appLimitCredit: import("../orm").AppLimitCreditModel;
|
|
94
|
+
appLimitCreditCodeItem: import("../orm").AppLimitCreditCodeItemModel;
|
|
95
|
+
appLimitCreditRedemption: import("../orm").AppLimitCreditRedemptionModel;
|
|
88
96
|
orgLimit: import("../orm").OrgLimitModel;
|
|
97
|
+
orgLimitCredit: import("../orm").OrgLimitCreditModel;
|
|
89
98
|
orgLimitAggregate: import("../orm").OrgLimitAggregateModel;
|
|
90
99
|
appStep: import("../orm").AppStepModel;
|
|
91
100
|
appAchievement: import("../orm").AppAchievementModel;
|
|
@@ -107,6 +116,11 @@ export declare function getClient(contextName?: string): {
|
|
|
107
116
|
ref: import("../orm").RefModel;
|
|
108
117
|
store: import("../orm").StoreModel;
|
|
109
118
|
appPermissionDefault: import("../orm").AppPermissionDefaultModel;
|
|
119
|
+
appLimitCreditCode: import("../orm").AppLimitCreditCodeModel;
|
|
120
|
+
appLimitCapsDefault: import("../orm").AppLimitCapsDefaultModel;
|
|
121
|
+
orgLimitCapsDefault: import("../orm").OrgLimitCapsDefaultModel;
|
|
122
|
+
appLimitCap: import("../orm").AppLimitCapModel;
|
|
123
|
+
orgLimitCap: import("../orm").OrgLimitCapModel;
|
|
110
124
|
membershipType: import("../orm").MembershipTypeModel;
|
|
111
125
|
migrateFile: import("../orm").MigrateFileModel;
|
|
112
126
|
devicesModule: import("../orm").DevicesModuleModel;
|
|
@@ -115,19 +129,24 @@ export declare function getClient(contextName?: string): {
|
|
|
115
129
|
orgLimitDefault: import("../orm").OrgLimitDefaultModel;
|
|
116
130
|
userConnectedAccount: import("../orm").UserConnectedAccountModel;
|
|
117
131
|
commit: import("../orm").CommitModel;
|
|
132
|
+
pubkeySetting: import("../orm").PubkeySettingModel;
|
|
118
133
|
rateLimitsModule: import("../orm").RateLimitsModuleModel;
|
|
119
134
|
appMembershipDefault: import("../orm").AppMembershipDefaultModel;
|
|
120
135
|
orgMembershipDefault: import("../orm").OrgMembershipDefaultModel;
|
|
136
|
+
rlsSetting: import("../orm").RlsSettingModel;
|
|
121
137
|
appLimitEvent: import("../orm").AppLimitEventModel;
|
|
122
138
|
orgLimitEvent: import("../orm").OrgLimitEventModel;
|
|
123
|
-
plansModule: import("../orm").PlansModuleModel;
|
|
124
139
|
rlsModule: import("../orm").RlsModuleModel;
|
|
140
|
+
databaseSetting: import("../orm").DatabaseSettingModel;
|
|
141
|
+
plansModule: import("../orm").PlansModuleModel;
|
|
125
142
|
sqlAction: import("../orm").SqlActionModel;
|
|
126
143
|
billingModule: import("../orm").BillingModuleModel;
|
|
127
144
|
astMigration: import("../orm").AstMigrationModel;
|
|
128
145
|
user: import("../orm").UserModel;
|
|
129
146
|
orgMembershipSetting: import("../orm").OrgMembershipSettingModel;
|
|
147
|
+
webauthnSetting: import("../orm").WebauthnSettingModel;
|
|
130
148
|
appMembership: import("../orm").AppMembershipModel;
|
|
149
|
+
billingProviderModule: import("../orm").BillingProviderModuleModel;
|
|
131
150
|
hierarchyModule: import("../orm").HierarchyModuleModel;
|
|
132
151
|
query: {
|
|
133
152
|
currentUserId: (options?: {
|
|
@@ -372,6 +391,11 @@ export declare function getClient(contextName?: string): {
|
|
|
372
391
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").SetFieldOrderPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
373
392
|
setFieldOrder: import("../orm").InferSelectResult<import("../orm/input-types").SetFieldOrderPayload, S> | null;
|
|
374
393
|
}>;
|
|
394
|
+
appendSmartTags: <S extends import("../orm/input-types").AppendSmartTagsPayloadSelect>(args: import("../orm/mutation").AppendSmartTagsVariables, options: {
|
|
395
|
+
select: S;
|
|
396
|
+
} & import("../orm").StrictSelect<S, import("../orm/input-types").AppendSmartTagsPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
397
|
+
appendSmartTags: import("../orm").InferSelectResult<import("../orm/input-types").AppendSmartTagsPayload, S> | null;
|
|
398
|
+
}>;
|
|
375
399
|
provisionUniqueConstraint: <S extends import("../orm/input-types").ProvisionUniqueConstraintPayloadSelect>(args: import("../orm/mutation").ProvisionUniqueConstraintVariables, options: {
|
|
376
400
|
select: S;
|
|
377
401
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").ProvisionUniqueConstraintPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
@@ -477,11 +501,6 @@ export declare function getClient(contextName?: string): {
|
|
|
477
501
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").ProvisionTablePayloadSelect>) => import("../orm").QueryBuilder<{
|
|
478
502
|
provisionTable: import("../orm").InferSelectResult<import("../orm/input-types").ProvisionTablePayload, S> | null;
|
|
479
503
|
}>;
|
|
480
|
-
requestUploadUrl: <S extends import("../orm/input-types").RequestUploadUrlPayloadSelect>(args: import("../orm/mutation").RequestUploadUrlVariables, options: {
|
|
481
|
-
select: S;
|
|
482
|
-
} & import("../orm").StrictSelect<S, import("../orm/input-types").RequestUploadUrlPayloadSelect>) => import("../orm").QueryBuilder<{
|
|
483
|
-
requestUploadUrl: import("../orm").InferSelectResult<import("../orm/input-types").RequestUploadUrlPayload, S> | null;
|
|
484
|
-
}>;
|
|
485
504
|
provisionBucket: <S extends import("../orm/input-types").ProvisionBucketPayloadSelect>(args: import("../orm/mutation").ProvisionBucketVariables, options: {
|
|
486
505
|
select: S;
|
|
487
506
|
} & import("../orm").StrictSelect<S, import("../orm/input-types").ProvisionBucketPayloadSelect>) => import("../orm").QueryBuilder<{
|
package/public/orm/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import { TableModel } from './models/table';
|
|
|
12
12
|
import { CheckConstraintModel } from './models/checkConstraint';
|
|
13
13
|
import { FieldModel } from './models/field';
|
|
14
14
|
import { SpatialRelationModel } from './models/spatialRelation';
|
|
15
|
+
import { PartitionModel } from './models/partition';
|
|
15
16
|
import { ForeignKeyConstraintModel } from './models/foreignKeyConstraint';
|
|
16
17
|
import { FullTextSearchModel } from './models/fullTextSearch';
|
|
17
18
|
import { IndexModel } from './models/index';
|
|
@@ -29,20 +30,24 @@ import { SecureTableProvisionModel } from './models/secureTableProvision';
|
|
|
29
30
|
import { RelationProvisionModel } from './models/relationProvision';
|
|
30
31
|
import { SessionSecretsModuleModel } from './models/sessionSecretsModule';
|
|
31
32
|
import { IdentityProvidersModuleModel } from './models/identityProvidersModule';
|
|
33
|
+
import { RealtimeModuleModel } from './models/realtimeModule';
|
|
32
34
|
import { SchemaGrantModel } from './models/schemaGrant';
|
|
33
35
|
import { DefaultPrivilegeModel } from './models/defaultPrivilege';
|
|
34
36
|
import { EnumModel } from './models/enum';
|
|
37
|
+
import { FunctionModel } from './models/function';
|
|
35
38
|
import { ApiSchemaModel } from './models/apiSchema';
|
|
36
39
|
import { ApiModuleModel } from './models/apiModule';
|
|
37
40
|
import { DomainModel } from './models/domain';
|
|
38
41
|
import { SiteMetadatumModel } from './models/siteMetadatum';
|
|
39
42
|
import { SiteModuleModel } from './models/siteModule';
|
|
40
43
|
import { SiteThemeModel } from './models/siteTheme';
|
|
44
|
+
import { CorsSettingModel } from './models/corsSetting';
|
|
41
45
|
import { TriggerFunctionModel } from './models/triggerFunction';
|
|
42
46
|
import { DatabaseTransferModel } from './models/databaseTransfer';
|
|
43
47
|
import { ApiModel } from './models/api';
|
|
44
48
|
import { SiteModel } from './models/site';
|
|
45
49
|
import { AppModel } from './models/app';
|
|
50
|
+
import { ApiSettingModel } from './models/apiSetting';
|
|
46
51
|
import { ConnectedAccountsModuleModel } from './models/connectedAccountsModule';
|
|
47
52
|
import { CryptoAddressesModuleModel } from './models/cryptoAddressesModule';
|
|
48
53
|
import { CryptoAuthModuleModel } from './models/cryptoAuthModule';
|
|
@@ -84,7 +89,11 @@ import { OrgChartEdgeModel } from './models/orgChartEdge';
|
|
|
84
89
|
import { OrgChartEdgeGrantModel } from './models/orgChartEdgeGrant';
|
|
85
90
|
import { OrgPermissionDefaultModel } from './models/orgPermissionDefault';
|
|
86
91
|
import { AppLimitModel } from './models/appLimit';
|
|
92
|
+
import { AppLimitCreditModel } from './models/appLimitCredit';
|
|
93
|
+
import { AppLimitCreditCodeItemModel } from './models/appLimitCreditCodeItem';
|
|
94
|
+
import { AppLimitCreditRedemptionModel } from './models/appLimitCreditRedemption';
|
|
87
95
|
import { OrgLimitModel } from './models/orgLimit';
|
|
96
|
+
import { OrgLimitCreditModel } from './models/orgLimitCredit';
|
|
88
97
|
import { OrgLimitAggregateModel } from './models/orgLimitAggregate';
|
|
89
98
|
import { AppStepModel } from './models/appStep';
|
|
90
99
|
import { AppAchievementModel } from './models/appAchievement';
|
|
@@ -106,6 +115,11 @@ import { IdentityProviderModel } from './models/identityProvider';
|
|
|
106
115
|
import { RefModel } from './models/ref';
|
|
107
116
|
import { StoreModel } from './models/store';
|
|
108
117
|
import { AppPermissionDefaultModel } from './models/appPermissionDefault';
|
|
118
|
+
import { AppLimitCreditCodeModel } from './models/appLimitCreditCode';
|
|
119
|
+
import { AppLimitCapsDefaultModel } from './models/appLimitCapsDefault';
|
|
120
|
+
import { OrgLimitCapsDefaultModel } from './models/orgLimitCapsDefault';
|
|
121
|
+
import { AppLimitCapModel } from './models/appLimitCap';
|
|
122
|
+
import { OrgLimitCapModel } from './models/orgLimitCap';
|
|
109
123
|
import { MembershipTypeModel } from './models/membershipType';
|
|
110
124
|
import { MigrateFileModel } from './models/migrateFile';
|
|
111
125
|
import { DevicesModuleModel } from './models/devicesModule';
|
|
@@ -114,19 +128,24 @@ import { AppLimitDefaultModel } from './models/appLimitDefault';
|
|
|
114
128
|
import { OrgLimitDefaultModel } from './models/orgLimitDefault';
|
|
115
129
|
import { UserConnectedAccountModel } from './models/userConnectedAccount';
|
|
116
130
|
import { CommitModel } from './models/commit';
|
|
131
|
+
import { PubkeySettingModel } from './models/pubkeySetting';
|
|
117
132
|
import { RateLimitsModuleModel } from './models/rateLimitsModule';
|
|
118
133
|
import { AppMembershipDefaultModel } from './models/appMembershipDefault';
|
|
119
134
|
import { OrgMembershipDefaultModel } from './models/orgMembershipDefault';
|
|
135
|
+
import { RlsSettingModel } from './models/rlsSetting';
|
|
120
136
|
import { AppLimitEventModel } from './models/appLimitEvent';
|
|
121
137
|
import { OrgLimitEventModel } from './models/orgLimitEvent';
|
|
122
|
-
import { PlansModuleModel } from './models/plansModule';
|
|
123
138
|
import { RlsModuleModel } from './models/rlsModule';
|
|
139
|
+
import { DatabaseSettingModel } from './models/databaseSetting';
|
|
140
|
+
import { PlansModuleModel } from './models/plansModule';
|
|
124
141
|
import { SqlActionModel } from './models/sqlAction';
|
|
125
142
|
import { BillingModuleModel } from './models/billingModule';
|
|
126
143
|
import { AstMigrationModel } from './models/astMigration';
|
|
127
144
|
import { UserModel } from './models/user';
|
|
128
145
|
import { OrgMembershipSettingModel } from './models/orgMembershipSetting';
|
|
146
|
+
import { WebauthnSettingModel } from './models/webauthnSetting';
|
|
129
147
|
import { AppMembershipModel } from './models/appMembership';
|
|
148
|
+
import { BillingProviderModuleModel } from './models/billingProviderModule';
|
|
130
149
|
import { HierarchyModuleModel } from './models/hierarchyModule';
|
|
131
150
|
export type { OrmClientConfig, QueryResult, GraphQLError, GraphQLAdapter } from './client';
|
|
132
151
|
export { GraphQLRequestError } from './client';
|
|
@@ -173,6 +192,7 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
173
192
|
checkConstraint: CheckConstraintModel;
|
|
174
193
|
field: FieldModel;
|
|
175
194
|
spatialRelation: SpatialRelationModel;
|
|
195
|
+
partition: PartitionModel;
|
|
176
196
|
foreignKeyConstraint: ForeignKeyConstraintModel;
|
|
177
197
|
fullTextSearch: FullTextSearchModel;
|
|
178
198
|
index: IndexModel;
|
|
@@ -190,20 +210,24 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
190
210
|
relationProvision: RelationProvisionModel;
|
|
191
211
|
sessionSecretsModule: SessionSecretsModuleModel;
|
|
192
212
|
identityProvidersModule: IdentityProvidersModuleModel;
|
|
213
|
+
realtimeModule: RealtimeModuleModel;
|
|
193
214
|
schemaGrant: SchemaGrantModel;
|
|
194
215
|
defaultPrivilege: DefaultPrivilegeModel;
|
|
195
216
|
enum: EnumModel;
|
|
217
|
+
function: FunctionModel;
|
|
196
218
|
apiSchema: ApiSchemaModel;
|
|
197
219
|
apiModule: ApiModuleModel;
|
|
198
220
|
domain: DomainModel;
|
|
199
221
|
siteMetadatum: SiteMetadatumModel;
|
|
200
222
|
siteModule: SiteModuleModel;
|
|
201
223
|
siteTheme: SiteThemeModel;
|
|
224
|
+
corsSetting: CorsSettingModel;
|
|
202
225
|
triggerFunction: TriggerFunctionModel;
|
|
203
226
|
databaseTransfer: DatabaseTransferModel;
|
|
204
227
|
api: ApiModel;
|
|
205
228
|
site: SiteModel;
|
|
206
229
|
app: AppModel;
|
|
230
|
+
apiSetting: ApiSettingModel;
|
|
207
231
|
connectedAccountsModule: ConnectedAccountsModuleModel;
|
|
208
232
|
cryptoAddressesModule: CryptoAddressesModuleModel;
|
|
209
233
|
cryptoAuthModule: CryptoAuthModuleModel;
|
|
@@ -245,7 +269,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
245
269
|
orgChartEdgeGrant: OrgChartEdgeGrantModel;
|
|
246
270
|
orgPermissionDefault: OrgPermissionDefaultModel;
|
|
247
271
|
appLimit: AppLimitModel;
|
|
272
|
+
appLimitCredit: AppLimitCreditModel;
|
|
273
|
+
appLimitCreditCodeItem: AppLimitCreditCodeItemModel;
|
|
274
|
+
appLimitCreditRedemption: AppLimitCreditRedemptionModel;
|
|
248
275
|
orgLimit: OrgLimitModel;
|
|
276
|
+
orgLimitCredit: OrgLimitCreditModel;
|
|
249
277
|
orgLimitAggregate: OrgLimitAggregateModel;
|
|
250
278
|
appStep: AppStepModel;
|
|
251
279
|
appAchievement: AppAchievementModel;
|
|
@@ -267,6 +295,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
267
295
|
ref: RefModel;
|
|
268
296
|
store: StoreModel;
|
|
269
297
|
appPermissionDefault: AppPermissionDefaultModel;
|
|
298
|
+
appLimitCreditCode: AppLimitCreditCodeModel;
|
|
299
|
+
appLimitCapsDefault: AppLimitCapsDefaultModel;
|
|
300
|
+
orgLimitCapsDefault: OrgLimitCapsDefaultModel;
|
|
301
|
+
appLimitCap: AppLimitCapModel;
|
|
302
|
+
orgLimitCap: OrgLimitCapModel;
|
|
270
303
|
membershipType: MembershipTypeModel;
|
|
271
304
|
migrateFile: MigrateFileModel;
|
|
272
305
|
devicesModule: DevicesModuleModel;
|
|
@@ -275,19 +308,24 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
275
308
|
orgLimitDefault: OrgLimitDefaultModel;
|
|
276
309
|
userConnectedAccount: UserConnectedAccountModel;
|
|
277
310
|
commit: CommitModel;
|
|
311
|
+
pubkeySetting: PubkeySettingModel;
|
|
278
312
|
rateLimitsModule: RateLimitsModuleModel;
|
|
279
313
|
appMembershipDefault: AppMembershipDefaultModel;
|
|
280
314
|
orgMembershipDefault: OrgMembershipDefaultModel;
|
|
315
|
+
rlsSetting: RlsSettingModel;
|
|
281
316
|
appLimitEvent: AppLimitEventModel;
|
|
282
317
|
orgLimitEvent: OrgLimitEventModel;
|
|
283
|
-
plansModule: PlansModuleModel;
|
|
284
318
|
rlsModule: RlsModuleModel;
|
|
319
|
+
databaseSetting: DatabaseSettingModel;
|
|
320
|
+
plansModule: PlansModuleModel;
|
|
285
321
|
sqlAction: SqlActionModel;
|
|
286
322
|
billingModule: BillingModuleModel;
|
|
287
323
|
astMigration: AstMigrationModel;
|
|
288
324
|
user: UserModel;
|
|
289
325
|
orgMembershipSetting: OrgMembershipSettingModel;
|
|
326
|
+
webauthnSetting: WebauthnSettingModel;
|
|
290
327
|
appMembership: AppMembershipModel;
|
|
328
|
+
billingProviderModule: BillingProviderModuleModel;
|
|
291
329
|
hierarchyModule: HierarchyModuleModel;
|
|
292
330
|
query: {
|
|
293
331
|
currentUserId: (options?: {
|
|
@@ -532,6 +570,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
532
570
|
} & import("./select-types").StrictSelect<S, import("./input-types").SetFieldOrderPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
533
571
|
setFieldOrder: import("./select-types").InferSelectResult<import("./input-types").SetFieldOrderPayload, S> | null;
|
|
534
572
|
}>;
|
|
573
|
+
appendSmartTags: <S extends import("./input-types").AppendSmartTagsPayloadSelect>(args: import("./mutation").AppendSmartTagsVariables, options: {
|
|
574
|
+
select: S;
|
|
575
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").AppendSmartTagsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
576
|
+
appendSmartTags: import("./select-types").InferSelectResult<import("./input-types").AppendSmartTagsPayload, S> | null;
|
|
577
|
+
}>;
|
|
535
578
|
provisionUniqueConstraint: <S extends import("./input-types").ProvisionUniqueConstraintPayloadSelect>(args: import("./mutation").ProvisionUniqueConstraintVariables, options: {
|
|
536
579
|
select: S;
|
|
537
580
|
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionUniqueConstraintPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -637,11 +680,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
637
680
|
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionTablePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
638
681
|
provisionTable: import("./select-types").InferSelectResult<import("./input-types").ProvisionTablePayload, S> | null;
|
|
639
682
|
}>;
|
|
640
|
-
requestUploadUrl: <S extends import("./input-types").RequestUploadUrlPayloadSelect>(args: import("./mutation").RequestUploadUrlVariables, options: {
|
|
641
|
-
select: S;
|
|
642
|
-
} & import("./select-types").StrictSelect<S, import("./input-types").RequestUploadUrlPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
643
|
-
requestUploadUrl: import("./select-types").InferSelectResult<import("./input-types").RequestUploadUrlPayload, S> | null;
|
|
644
|
-
}>;
|
|
645
683
|
provisionBucket: <S extends import("./input-types").ProvisionBucketPayloadSelect>(args: import("./mutation").ProvisionBucketVariables, options: {
|
|
646
684
|
select: S;
|
|
647
685
|
} & import("./select-types").StrictSelect<S, import("./input-types").ProvisionBucketPayloadSelect>) => import("./query-builder").QueryBuilder<{
|