@constructive-sdk/cli 0.20.3 → 0.20.5
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/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 +41 -5
- package/esm/public/cli/executor.d.ts +24 -6
- package/esm/public/orm/index.d.ts +43 -7
- package/esm/public/orm/index.js +38 -2
- package/esm/public/orm/input-types.d.ts +4601 -321
- package/esm/public/orm/input-types.js +21 -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 +19 -1
- package/esm/public/orm/models/index.js +19 -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/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/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 +41 -5
- package/public/cli/executor.d.ts +24 -6
- package/public/orm/index.d.ts +43 -7
- package/public/orm/index.js +38 -2
- package/public/orm/input-types.d.ts +4601 -321
- package/public/orm/input-types.js +21 -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 +19 -1
- package/public/orm/models/index.js +41 -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/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
|
@@ -24,11 +24,20 @@ const fieldSchema = {
|
|
|
24
24
|
provider: 'string',
|
|
25
25
|
allowedOrigins: 'string',
|
|
26
26
|
restrictReads: 'boolean',
|
|
27
|
+
hasPathShares: 'boolean',
|
|
28
|
+
pathSharesTableId: 'uuid',
|
|
27
29
|
uploadUrlExpirySeconds: 'int',
|
|
28
30
|
downloadUrlExpirySeconds: 'int',
|
|
29
31
|
defaultMaxFileSize: 'int',
|
|
30
32
|
maxFilenameLength: 'int',
|
|
31
33
|
cacheTtlSeconds: 'int',
|
|
34
|
+
maxBulkFiles: 'int',
|
|
35
|
+
maxBulkTotalSize: 'int',
|
|
36
|
+
hasVersioning: 'boolean',
|
|
37
|
+
hasContentHash: 'boolean',
|
|
38
|
+
hasCustomKeys: 'boolean',
|
|
39
|
+
hasAuditLog: 'boolean',
|
|
40
|
+
fileEventsTableId: 'uuid',
|
|
32
41
|
};
|
|
33
42
|
const usage = '\nstorage-module <command>\n\nCommands:\n list List storageModule records\n find-first Find first matching storageModule record\n get Get a storageModule by ID\n create Create a new storageModule\n update Update an existing storageModule\n delete Delete a storageModule\n\nList Options:\n --limit <n> Max number of records to return (forward pagination)\n --last <n> Number of records from the end (backward pagination)\n --after <cursor> Cursor for forward pagination\n --before <cursor> Cursor for backward pagination\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.name.equalTo foo)\n --condition.<f>.<op> Condition filter (dot-notation)\n --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\nFind-First Options:\n --select <fields> Comma-separated list of fields to return\n --where.<field>.<op> Filter (dot-notation, e.g. --where.status.equalTo active)\n --condition.<f>.<op> Condition filter (dot-notation)\n\n --help, -h Show this help message\n';
|
|
34
43
|
export default async (argv, prompter, _options) => {
|
|
@@ -89,11 +98,20 @@ async function handleList(argv, _prompter) {
|
|
|
89
98
|
provider: true,
|
|
90
99
|
allowedOrigins: true,
|
|
91
100
|
restrictReads: true,
|
|
101
|
+
hasPathShares: true,
|
|
102
|
+
pathSharesTableId: true,
|
|
92
103
|
uploadUrlExpirySeconds: true,
|
|
93
104
|
downloadUrlExpirySeconds: true,
|
|
94
105
|
defaultMaxFileSize: true,
|
|
95
106
|
maxFilenameLength: true,
|
|
96
107
|
cacheTtlSeconds: true,
|
|
108
|
+
maxBulkFiles: true,
|
|
109
|
+
maxBulkTotalSize: true,
|
|
110
|
+
hasVersioning: true,
|
|
111
|
+
hasContentHash: true,
|
|
112
|
+
hasCustomKeys: true,
|
|
113
|
+
hasAuditLog: true,
|
|
114
|
+
fileEventsTableId: true,
|
|
97
115
|
};
|
|
98
116
|
const findManyArgs = parseFindManyArgs(argv, defaultSelect);
|
|
99
117
|
const client = getClient();
|
|
@@ -128,11 +146,20 @@ async function handleFindFirst(argv, _prompter) {
|
|
|
128
146
|
provider: true,
|
|
129
147
|
allowedOrigins: true,
|
|
130
148
|
restrictReads: true,
|
|
149
|
+
hasPathShares: true,
|
|
150
|
+
pathSharesTableId: true,
|
|
131
151
|
uploadUrlExpirySeconds: true,
|
|
132
152
|
downloadUrlExpirySeconds: true,
|
|
133
153
|
defaultMaxFileSize: true,
|
|
134
154
|
maxFilenameLength: true,
|
|
135
155
|
cacheTtlSeconds: true,
|
|
156
|
+
maxBulkFiles: true,
|
|
157
|
+
maxBulkTotalSize: true,
|
|
158
|
+
hasVersioning: true,
|
|
159
|
+
hasContentHash: true,
|
|
160
|
+
hasCustomKeys: true,
|
|
161
|
+
hasAuditLog: true,
|
|
162
|
+
fileEventsTableId: true,
|
|
136
163
|
};
|
|
137
164
|
const findFirstArgs = parseFindFirstArgs(argv, defaultSelect);
|
|
138
165
|
const client = getClient();
|
|
@@ -179,11 +206,20 @@ async function handleGet(argv, prompter) {
|
|
|
179
206
|
provider: true,
|
|
180
207
|
allowedOrigins: true,
|
|
181
208
|
restrictReads: true,
|
|
209
|
+
hasPathShares: true,
|
|
210
|
+
pathSharesTableId: true,
|
|
182
211
|
uploadUrlExpirySeconds: true,
|
|
183
212
|
downloadUrlExpirySeconds: true,
|
|
184
213
|
defaultMaxFileSize: true,
|
|
185
214
|
maxFilenameLength: true,
|
|
186
215
|
cacheTtlSeconds: true,
|
|
216
|
+
maxBulkFiles: true,
|
|
217
|
+
maxBulkTotalSize: true,
|
|
218
|
+
hasVersioning: true,
|
|
219
|
+
hasContentHash: true,
|
|
220
|
+
hasCustomKeys: true,
|
|
221
|
+
hasAuditLog: true,
|
|
222
|
+
fileEventsTableId: true,
|
|
187
223
|
},
|
|
188
224
|
})
|
|
189
225
|
.execute();
|
|
@@ -311,6 +347,20 @@ async function handleCreate(argv, prompter) {
|
|
|
311
347
|
required: false,
|
|
312
348
|
skipPrompt: true,
|
|
313
349
|
},
|
|
350
|
+
{
|
|
351
|
+
type: 'boolean',
|
|
352
|
+
name: 'hasPathShares',
|
|
353
|
+
message: 'hasPathShares',
|
|
354
|
+
required: false,
|
|
355
|
+
skipPrompt: true,
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
type: 'text',
|
|
359
|
+
name: 'pathSharesTableId',
|
|
360
|
+
message: 'pathSharesTableId',
|
|
361
|
+
required: false,
|
|
362
|
+
skipPrompt: true,
|
|
363
|
+
},
|
|
314
364
|
{
|
|
315
365
|
type: 'text',
|
|
316
366
|
name: 'uploadUrlExpirySeconds',
|
|
@@ -346,6 +396,55 @@ async function handleCreate(argv, prompter) {
|
|
|
346
396
|
required: false,
|
|
347
397
|
skipPrompt: true,
|
|
348
398
|
},
|
|
399
|
+
{
|
|
400
|
+
type: 'text',
|
|
401
|
+
name: 'maxBulkFiles',
|
|
402
|
+
message: 'maxBulkFiles',
|
|
403
|
+
required: false,
|
|
404
|
+
skipPrompt: true,
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
type: 'text',
|
|
408
|
+
name: 'maxBulkTotalSize',
|
|
409
|
+
message: 'maxBulkTotalSize',
|
|
410
|
+
required: false,
|
|
411
|
+
skipPrompt: true,
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
type: 'boolean',
|
|
415
|
+
name: 'hasVersioning',
|
|
416
|
+
message: 'hasVersioning',
|
|
417
|
+
required: false,
|
|
418
|
+
skipPrompt: true,
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
type: 'boolean',
|
|
422
|
+
name: 'hasContentHash',
|
|
423
|
+
message: 'hasContentHash',
|
|
424
|
+
required: false,
|
|
425
|
+
skipPrompt: true,
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
type: 'boolean',
|
|
429
|
+
name: 'hasCustomKeys',
|
|
430
|
+
message: 'hasCustomKeys',
|
|
431
|
+
required: false,
|
|
432
|
+
skipPrompt: true,
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
type: 'boolean',
|
|
436
|
+
name: 'hasAuditLog',
|
|
437
|
+
message: 'hasAuditLog',
|
|
438
|
+
required: false,
|
|
439
|
+
skipPrompt: true,
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
type: 'text',
|
|
443
|
+
name: 'fileEventsTableId',
|
|
444
|
+
message: 'fileEventsTableId',
|
|
445
|
+
required: false,
|
|
446
|
+
skipPrompt: true,
|
|
447
|
+
},
|
|
349
448
|
]);
|
|
350
449
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
351
450
|
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
@@ -369,11 +468,20 @@ async function handleCreate(argv, prompter) {
|
|
|
369
468
|
provider: cleanedData.provider,
|
|
370
469
|
allowedOrigins: cleanedData.allowedOrigins,
|
|
371
470
|
restrictReads: cleanedData.restrictReads,
|
|
471
|
+
hasPathShares: cleanedData.hasPathShares,
|
|
472
|
+
pathSharesTableId: cleanedData.pathSharesTableId,
|
|
372
473
|
uploadUrlExpirySeconds: cleanedData.uploadUrlExpirySeconds,
|
|
373
474
|
downloadUrlExpirySeconds: cleanedData.downloadUrlExpirySeconds,
|
|
374
475
|
defaultMaxFileSize: cleanedData.defaultMaxFileSize,
|
|
375
476
|
maxFilenameLength: cleanedData.maxFilenameLength,
|
|
376
477
|
cacheTtlSeconds: cleanedData.cacheTtlSeconds,
|
|
478
|
+
maxBulkFiles: cleanedData.maxBulkFiles,
|
|
479
|
+
maxBulkTotalSize: cleanedData.maxBulkTotalSize,
|
|
480
|
+
hasVersioning: cleanedData.hasVersioning,
|
|
481
|
+
hasContentHash: cleanedData.hasContentHash,
|
|
482
|
+
hasCustomKeys: cleanedData.hasCustomKeys,
|
|
483
|
+
hasAuditLog: cleanedData.hasAuditLog,
|
|
484
|
+
fileEventsTableId: cleanedData.fileEventsTableId,
|
|
377
485
|
},
|
|
378
486
|
select: {
|
|
379
487
|
id: true,
|
|
@@ -393,11 +501,20 @@ async function handleCreate(argv, prompter) {
|
|
|
393
501
|
provider: true,
|
|
394
502
|
allowedOrigins: true,
|
|
395
503
|
restrictReads: true,
|
|
504
|
+
hasPathShares: true,
|
|
505
|
+
pathSharesTableId: true,
|
|
396
506
|
uploadUrlExpirySeconds: true,
|
|
397
507
|
downloadUrlExpirySeconds: true,
|
|
398
508
|
defaultMaxFileSize: true,
|
|
399
509
|
maxFilenameLength: true,
|
|
400
510
|
cacheTtlSeconds: true,
|
|
511
|
+
maxBulkFiles: true,
|
|
512
|
+
maxBulkTotalSize: true,
|
|
513
|
+
hasVersioning: true,
|
|
514
|
+
hasContentHash: true,
|
|
515
|
+
hasCustomKeys: true,
|
|
516
|
+
hasAuditLog: true,
|
|
517
|
+
fileEventsTableId: true,
|
|
401
518
|
},
|
|
402
519
|
})
|
|
403
520
|
.execute();
|
|
@@ -531,6 +648,20 @@ async function handleUpdate(argv, prompter) {
|
|
|
531
648
|
required: false,
|
|
532
649
|
skipPrompt: true,
|
|
533
650
|
},
|
|
651
|
+
{
|
|
652
|
+
type: 'boolean',
|
|
653
|
+
name: 'hasPathShares',
|
|
654
|
+
message: 'hasPathShares',
|
|
655
|
+
required: false,
|
|
656
|
+
skipPrompt: true,
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
type: 'text',
|
|
660
|
+
name: 'pathSharesTableId',
|
|
661
|
+
message: 'pathSharesTableId',
|
|
662
|
+
required: false,
|
|
663
|
+
skipPrompt: true,
|
|
664
|
+
},
|
|
534
665
|
{
|
|
535
666
|
type: 'text',
|
|
536
667
|
name: 'uploadUrlExpirySeconds',
|
|
@@ -566,6 +697,55 @@ async function handleUpdate(argv, prompter) {
|
|
|
566
697
|
required: false,
|
|
567
698
|
skipPrompt: true,
|
|
568
699
|
},
|
|
700
|
+
{
|
|
701
|
+
type: 'text',
|
|
702
|
+
name: 'maxBulkFiles',
|
|
703
|
+
message: 'maxBulkFiles',
|
|
704
|
+
required: false,
|
|
705
|
+
skipPrompt: true,
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
type: 'text',
|
|
709
|
+
name: 'maxBulkTotalSize',
|
|
710
|
+
message: 'maxBulkTotalSize',
|
|
711
|
+
required: false,
|
|
712
|
+
skipPrompt: true,
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
type: 'boolean',
|
|
716
|
+
name: 'hasVersioning',
|
|
717
|
+
message: 'hasVersioning',
|
|
718
|
+
required: false,
|
|
719
|
+
skipPrompt: true,
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
type: 'boolean',
|
|
723
|
+
name: 'hasContentHash',
|
|
724
|
+
message: 'hasContentHash',
|
|
725
|
+
required: false,
|
|
726
|
+
skipPrompt: true,
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
type: 'boolean',
|
|
730
|
+
name: 'hasCustomKeys',
|
|
731
|
+
message: 'hasCustomKeys',
|
|
732
|
+
required: false,
|
|
733
|
+
skipPrompt: true,
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
type: 'boolean',
|
|
737
|
+
name: 'hasAuditLog',
|
|
738
|
+
message: 'hasAuditLog',
|
|
739
|
+
required: false,
|
|
740
|
+
skipPrompt: true,
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
type: 'text',
|
|
744
|
+
name: 'fileEventsTableId',
|
|
745
|
+
message: 'fileEventsTableId',
|
|
746
|
+
required: false,
|
|
747
|
+
skipPrompt: true,
|
|
748
|
+
},
|
|
569
749
|
]);
|
|
570
750
|
const answers = coerceAnswers(rawAnswers, fieldSchema);
|
|
571
751
|
const cleanedData = stripUndefined(answers, fieldSchema);
|
|
@@ -592,11 +772,20 @@ async function handleUpdate(argv, prompter) {
|
|
|
592
772
|
provider: cleanedData.provider,
|
|
593
773
|
allowedOrigins: cleanedData.allowedOrigins,
|
|
594
774
|
restrictReads: cleanedData.restrictReads,
|
|
775
|
+
hasPathShares: cleanedData.hasPathShares,
|
|
776
|
+
pathSharesTableId: cleanedData.pathSharesTableId,
|
|
595
777
|
uploadUrlExpirySeconds: cleanedData.uploadUrlExpirySeconds,
|
|
596
778
|
downloadUrlExpirySeconds: cleanedData.downloadUrlExpirySeconds,
|
|
597
779
|
defaultMaxFileSize: cleanedData.defaultMaxFileSize,
|
|
598
780
|
maxFilenameLength: cleanedData.maxFilenameLength,
|
|
599
781
|
cacheTtlSeconds: cleanedData.cacheTtlSeconds,
|
|
782
|
+
maxBulkFiles: cleanedData.maxBulkFiles,
|
|
783
|
+
maxBulkTotalSize: cleanedData.maxBulkTotalSize,
|
|
784
|
+
hasVersioning: cleanedData.hasVersioning,
|
|
785
|
+
hasContentHash: cleanedData.hasContentHash,
|
|
786
|
+
hasCustomKeys: cleanedData.hasCustomKeys,
|
|
787
|
+
hasAuditLog: cleanedData.hasAuditLog,
|
|
788
|
+
fileEventsTableId: cleanedData.fileEventsTableId,
|
|
600
789
|
},
|
|
601
790
|
select: {
|
|
602
791
|
id: true,
|
|
@@ -616,11 +805,20 @@ async function handleUpdate(argv, prompter) {
|
|
|
616
805
|
provider: true,
|
|
617
806
|
allowedOrigins: true,
|
|
618
807
|
restrictReads: true,
|
|
808
|
+
hasPathShares: true,
|
|
809
|
+
pathSharesTableId: true,
|
|
619
810
|
uploadUrlExpirySeconds: true,
|
|
620
811
|
downloadUrlExpirySeconds: true,
|
|
621
812
|
defaultMaxFileSize: true,
|
|
622
813
|
maxFilenameLength: true,
|
|
623
814
|
cacheTtlSeconds: true,
|
|
815
|
+
maxBulkFiles: true,
|
|
816
|
+
maxBulkTotalSize: true,
|
|
817
|
+
hasVersioning: true,
|
|
818
|
+
hasContentHash: true,
|
|
819
|
+
hasCustomKeys: true,
|
|
820
|
+
hasAuditLog: true,
|
|
821
|
+
fileEventsTableId: true,
|
|
624
822
|
},
|
|
625
823
|
})
|
|
626
824
|
.execute();
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CLI commands for WebauthnSetting
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { CLIOptions, Inquirerer } from 'inquirerer';
|
|
7
|
+
declare const _default: (argv: Partial<Record<string, unknown>>, prompter: Inquirerer, _options: CLIOptions) => Promise<void>;
|
|
8
|
+
export default _default;
|