@constructive-sdk/cli 0.30.3 → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/cli/commands/app-admin-grant.js +34 -34
- package/admin/cli/commands/app-claimed-invite.js +28 -28
- package/admin/cli/commands/app-grant.js +48 -48
- package/admin/cli/commands/app-invite.js +104 -104
- package/admin/cli/commands/app-membership-default.js +34 -34
- package/admin/cli/commands/app-membership.js +108 -108
- package/admin/cli/commands/app-owner-grant.js +34 -34
- package/admin/cli/commands/app-permission-default-grant.js +34 -34
- package/admin/cli/commands/app-permission-default-permission.js +6 -6
- package/admin/cli/commands/app-permission.js +28 -28
- package/admin/cli/commands/app-permissions-get-by-mask.js +6 -6
- package/admin/cli/commands/membership-type.js +48 -48
- package/admin/cli/commands/org-admin-grant.js +34 -34
- package/admin/cli/commands/org-chart-edge-grant.js +59 -59
- package/admin/cli/commands/org-chart-edge.js +44 -44
- package/admin/cli/commands/org-claimed-invite.js +40 -40
- package/admin/cli/commands/org-get-managers-record.js +9 -9
- package/admin/cli/commands/org-get-subordinates-record.js +9 -9
- package/admin/cli/commands/org-grant.js +55 -55
- package/admin/cli/commands/org-invite.js +144 -144
- package/admin/cli/commands/org-is-manager-of.js +4 -4
- package/admin/cli/commands/org-member-profile.js +85 -85
- package/admin/cli/commands/org-member.js +28 -28
- package/admin/cli/commands/org-membership-default.js +40 -40
- package/admin/cli/commands/org-membership-setting.js +119 -119
- package/admin/cli/commands/org-membership.js +136 -136
- package/admin/cli/commands/org-owner-grant.js +34 -34
- package/admin/cli/commands/org-permission-default-grant.js +50 -50
- package/admin/cli/commands/org-permission-default-permission.js +22 -22
- package/admin/cli/commands/org-permission-default.js +19 -19
- package/admin/cli/commands/org-permission.js +28 -28
- package/admin/cli/commands/org-permissions-get-by-mask.js +6 -6
- package/admin/cli/commands.js +57 -57
- package/admin/cli/executor.d.ts +45 -45
- package/admin/orm/index.d.ts +67 -67
- package/admin/orm/index.js +44 -44
- package/admin/orm/input-types.d.ts +3168 -3168
- package/admin/orm/input-types.js +1 -1
- package/admin/orm/models/index.d.ts +22 -22
- package/admin/orm/models/index.js +45 -45
- package/admin/orm/mutation/index.d.ts +12 -12
- package/admin/orm/mutation/index.js +12 -12
- package/admin/orm/query/index.d.ts +47 -47
- package/admin/orm/query/index.js +68 -68
- package/agent/cli/commands/agent-message.js +77 -77
- package/agent/cli/commands/agent-persona.js +110 -110
- package/agent/cli/commands/agent-plan.js +69 -69
- package/agent/cli/commands/agent-prompt.js +71 -71
- package/agent/cli/commands/agent-resource-chunk.js +16 -16
- package/agent/cli/commands/agent-resource.js +189 -189
- package/agent/cli/commands/agent-task.js +132 -132
- package/agent/cli/commands/agent-thread.js +120 -120
- package/agent/cli/commands/agent.js +100 -100
- package/agent/cli/commands.js +9 -9
- package/agent/cli/executor.d.ts +4 -4
- package/agent/orm/index.d.ts +8 -8
- package/agent/orm/index.js +8 -8
- package/agent/orm/input-types.d.ts +1788 -1788
- package/agent/orm/input-types.js +9 -9
- package/agent/orm/models/index.d.ts +4 -4
- package/agent/orm/models/index.js +9 -9
- package/api/cli/commands/api-module.js +42 -42
- package/api/cli/commands/api-schema.js +26 -26
- package/api/cli/commands/api-setting.js +126 -126
- package/api/cli/commands/api.js +78 -78
- package/api/cli/commands/app.js +82 -82
- package/api/cli/commands/apply-registry-defaults.js +4 -4
- package/api/cli/commands/ast-migration.js +66 -66
- package/api/cli/commands/check-constraint.js +91 -91
- package/api/cli/commands/composite-type.js +90 -90
- package/api/cli/commands/cors-setting.js +34 -34
- package/api/cli/commands/database-setting.js +142 -142
- package/api/cli/commands/database-transfer.js +125 -125
- package/api/cli/commands/database.js +62 -62
- package/api/cli/commands/default-privilege.js +52 -52
- package/api/cli/commands/domain.js +86 -86
- package/api/cli/commands/embedding-chunk.js +178 -178
- package/api/cli/commands/enum.js +82 -82
- package/api/cli/commands/field.js +231 -231
- package/api/cli/commands/foreign-key-constraint.js +132 -132
- package/api/cli/commands/full-text-search.js +60 -60
- package/api/cli/commands/function.js +22 -22
- package/api/cli/commands/index.js +118 -118
- package/api/cli/commands/migrate-file.js +4 -4
- package/api/cli/commands/node-type-registry.js +48 -48
- package/api/cli/commands/partition.js +102 -102
- package/api/cli/commands/policy.js +128 -128
- package/api/cli/commands/primary-key-constraint.js +80 -80
- package/api/cli/commands/pubkey-setting.js +72 -72
- package/api/cli/commands/rls-setting.js +69 -69
- package/api/cli/commands/schema-grant.js +28 -28
- package/api/cli/commands/schema.js +106 -106
- package/api/cli/commands/site-metadatum.js +42 -42
- package/api/cli/commands/site-module.js +38 -38
- package/api/cli/commands/site-theme.js +6 -6
- package/api/cli/commands/site.js +102 -102
- package/api/cli/commands/spatial-relation.js +83 -83
- package/api/cli/commands/sql-action.js +57 -57
- package/api/cli/commands/table-grant.js +66 -66
- package/api/cli/commands/table.js +203 -203
- package/api/cli/commands/trigger-function.js +34 -34
- package/api/cli/commands/trigger.js +64 -64
- package/api/cli/commands/unique-constraint.js +94 -94
- package/api/cli/commands/view-grant.js +46 -46
- package/api/cli/commands/view-rule.js +52 -52
- package/api/cli/commands/view-table.js +34 -34
- package/api/cli/commands/view.js +135 -135
- package/api/cli/commands/webauthn-setting.js +174 -174
- package/api/cli/commands.js +71 -71
- package/api/cli/executor.d.ts +45 -45
- package/api/orm/index.d.ts +77 -77
- package/api/orm/index.js +64 -64
- package/api/orm/input-types.d.ts +8781 -8781
- package/api/orm/input-types.js +48 -48
- package/api/orm/models/index.d.ts +32 -32
- package/api/orm/models/index.js +65 -65
- package/api/orm/mutation/index.d.ts +29 -29
- package/api/orm/mutation/index.js +30 -30
- package/api/orm/query/index.d.ts +1 -1
- package/api/orm/query/index.js +4 -4
- package/auth/cli/commands/audit-log-auth.js +57 -57
- package/auth/cli/commands/crypto-address.js +50 -50
- package/auth/cli/commands/email.js +50 -50
- package/auth/cli/commands/identity-provider.js +20 -32
- package/auth/cli/commands/org-api-key-list.js +47 -47
- package/auth/cli/commands/phone-number.js +67 -67
- package/auth/cli/commands/principal-entity.js +32 -32
- package/auth/cli/commands/principal-scope-override.js +43 -43
- package/auth/cli/commands/principal.js +42 -42
- package/auth/cli/commands/user-connected-account.js +33 -33
- package/auth/cli/commands/user.js +43 -43
- package/auth/cli/commands/webauthn-credential.js +123 -123
- package/auth/cli/commands.js +59 -59
- package/auth/cli/executor.d.ts +96 -96
- package/auth/orm/index.d.ts +103 -103
- package/auth/orm/index.js +14 -14
- package/auth/orm/input-types.d.ts +2102 -2109
- package/auth/orm/input-types.js +5 -5
- package/auth/orm/models/index.d.ts +7 -7
- package/auth/orm/models/index.js +15 -15
- package/auth/orm/mutation/index.d.ts +138 -138
- package/auth/orm/mutation/index.js +168 -168
- package/auth/orm/query/index.d.ts +10 -10
- package/auth/orm/query/index.js +14 -14
- package/compute/cli/commands/db-preset.js +96 -96
- package/compute/cli/commands/function-api-binding.js +41 -41
- package/compute/cli/commands/function-definition.js +375 -397
- package/compute/cli/commands/function-deployment-event.js +48 -48
- package/compute/cli/commands/function-deployment.js +220 -220
- package/compute/cli/commands/function-execution-log.js +48 -48
- package/compute/cli/commands/function-graph-commit.js +69 -69
- package/compute/cli/commands/function-graph-execution-node-state.js +106 -106
- package/compute/cli/commands/function-graph-execution-output.js +28 -28
- package/compute/cli/commands/function-graph-execution.js +233 -233
- package/compute/cli/commands/function-graph-object.js +37 -37
- package/compute/cli/commands/function-graph-ref.js +22 -22
- package/compute/cli/commands/function-graph-store.js +28 -28
- package/compute/cli/commands/function-graph.js +100 -100
- package/compute/cli/commands/function-invocation.js +175 -131
- package/compute/cli/commands/get-all-record.js +11 -11
- package/compute/cli/commands/infra-commit.js +69 -69
- package/compute/cli/commands/infra-get-all-record.js +11 -11
- package/compute/cli/commands/infra-object.js +37 -37
- package/compute/cli/commands/infra-ref.js +22 -22
- package/compute/cli/commands/infra-store.js +28 -28
- package/compute/cli/commands/integration-provider.js +91 -91
- package/compute/cli/commands/namespace-event.js +127 -127
- package/compute/cli/commands/namespace.js +115 -115
- package/compute/cli/commands/platform-function-api-binding.js +41 -41
- package/compute/cli/commands/platform-function-definition.js +357 -379
- package/compute/cli/commands/platform-function-deployment-event.js +28 -28
- package/compute/cli/commands/platform-function-deployment.js +206 -206
- package/compute/cli/commands/platform-function-execution-log.js +28 -28
- package/compute/cli/commands/platform-function-invocation.js +161 -117
- package/compute/cli/commands/platform-namespace-event.js +108 -108
- package/compute/cli/commands/platform-namespace.js +109 -109
- package/compute/cli/commands/platform-resource-definition.js +157 -157
- package/compute/cli/commands/platform-resource-event.js +41 -41
- package/compute/cli/commands/platform-resource-status-check.js +59 -59
- package/compute/cli/commands/platform-resource.js +182 -182
- package/compute/cli/commands/platform-resources-requirements-state.js +32 -32
- package/compute/cli/commands/platform-resources-resolved-requirement.js +53 -53
- package/compute/cli/commands/resource-definition.js +172 -172
- package/compute/cli/commands/resource-event.js +50 -50
- package/compute/cli/commands/resource-status-check.js +68 -68
- package/compute/cli/commands/resource.js +192 -192
- package/compute/cli/commands/resources-requirements-state.js +32 -32
- package/compute/cli/commands/resources-resolved-requirement.js +53 -53
- package/compute/cli/commands.js +87 -87
- package/compute/cli/executor.d.ts +78 -78
- package/compute/orm/index.d.ts +110 -110
- package/compute/orm/index.js +64 -64
- package/compute/orm/input-types.d.ts +7256 -7037
- package/compute/orm/input-types.js +15 -13
- package/compute/orm/models/index.d.ts +32 -32
- package/compute/orm/models/index.js +65 -65
- package/compute/orm/mutation/index.d.ts +77 -77
- package/compute/orm/mutation/index.js +96 -96
- package/config/cli/commands/config.js +102 -102
- package/config/cli/commands/platform-config.js +96 -96
- package/config/cli/commands/platform-internal-secret.js +43 -43
- package/config/cli/commands/platform-secret.js +53 -53
- package/config/cli/commands/secret.js +55 -55
- package/config/cli/commands.js +15 -15
- package/config/cli/executor.d.ts +29 -29
- package/config/orm/index.d.ts +30 -30
- package/config/orm/index.js +2 -2
- package/config/orm/input-types.d.ts +416 -416
- package/config/orm/models/index.d.ts +1 -1
- package/config/orm/models/index.js +3 -3
- package/config/orm/mutation/index.d.ts +47 -47
- package/config/orm/mutation/index.js +60 -60
- package/esm/admin/cli/commands/app-admin-grant.js +34 -34
- package/esm/admin/cli/commands/app-claimed-invite.js +28 -28
- package/esm/admin/cli/commands/app-grant.js +48 -48
- package/esm/admin/cli/commands/app-invite.js +104 -104
- package/esm/admin/cli/commands/app-membership-default.js +34 -34
- package/esm/admin/cli/commands/app-membership.js +108 -108
- package/esm/admin/cli/commands/app-owner-grant.js +34 -34
- package/esm/admin/cli/commands/app-permission-default-grant.js +34 -34
- package/esm/admin/cli/commands/app-permission-default-permission.js +6 -6
- package/esm/admin/cli/commands/app-permission.js +28 -28
- package/esm/admin/cli/commands/app-permissions-get-by-mask.js +6 -6
- package/esm/admin/cli/commands/membership-type.js +48 -48
- package/esm/admin/cli/commands/org-admin-grant.js +34 -34
- package/esm/admin/cli/commands/org-chart-edge-grant.js +59 -59
- package/esm/admin/cli/commands/org-chart-edge.js +44 -44
- package/esm/admin/cli/commands/org-claimed-invite.js +40 -40
- package/esm/admin/cli/commands/org-get-managers-record.js +9 -9
- package/esm/admin/cli/commands/org-get-subordinates-record.js +9 -9
- package/esm/admin/cli/commands/org-grant.js +55 -55
- package/esm/admin/cli/commands/org-invite.js +144 -144
- package/esm/admin/cli/commands/org-is-manager-of.js +4 -4
- package/esm/admin/cli/commands/org-member-profile.js +85 -85
- package/esm/admin/cli/commands/org-member.js +28 -28
- package/esm/admin/cli/commands/org-membership-default.js +40 -40
- package/esm/admin/cli/commands/org-membership-setting.js +119 -119
- package/esm/admin/cli/commands/org-membership.js +136 -136
- package/esm/admin/cli/commands/org-owner-grant.js +34 -34
- package/esm/admin/cli/commands/org-permission-default-grant.js +50 -50
- package/esm/admin/cli/commands/org-permission-default-permission.js +22 -22
- package/esm/admin/cli/commands/org-permission-default.js +19 -19
- package/esm/admin/cli/commands/org-permission.js +28 -28
- package/esm/admin/cli/commands/org-permissions-get-by-mask.js +6 -6
- package/esm/admin/cli/commands.js +57 -57
- package/esm/admin/cli/executor.d.ts +45 -45
- package/esm/admin/orm/index.d.ts +67 -67
- package/esm/admin/orm/index.js +44 -44
- package/esm/admin/orm/input-types.d.ts +3168 -3168
- package/esm/admin/orm/input-types.js +1 -1
- package/esm/admin/orm/models/index.d.ts +22 -22
- package/esm/admin/orm/models/index.js +22 -22
- package/esm/admin/orm/mutation/index.d.ts +12 -12
- package/esm/admin/orm/mutation/index.js +12 -12
- package/esm/admin/orm/query/index.d.ts +47 -47
- package/esm/admin/orm/query/index.js +68 -68
- package/esm/agent/cli/commands/agent-message.js +77 -77
- package/esm/agent/cli/commands/agent-persona.js +110 -110
- package/esm/agent/cli/commands/agent-plan.js +69 -69
- package/esm/agent/cli/commands/agent-prompt.js +71 -71
- package/esm/agent/cli/commands/agent-resource-chunk.js +16 -16
- package/esm/agent/cli/commands/agent-resource.js +189 -189
- package/esm/agent/cli/commands/agent-task.js +132 -132
- package/esm/agent/cli/commands/agent-thread.js +120 -120
- package/esm/agent/cli/commands/agent.js +100 -100
- package/esm/agent/cli/commands.js +9 -9
- package/esm/agent/cli/executor.d.ts +4 -4
- package/esm/agent/orm/index.d.ts +8 -8
- package/esm/agent/orm/index.js +8 -8
- package/esm/agent/orm/input-types.d.ts +1788 -1788
- package/esm/agent/orm/input-types.js +9 -9
- package/esm/agent/orm/models/index.d.ts +4 -4
- package/esm/agent/orm/models/index.js +4 -4
- package/esm/api/cli/commands/api-module.js +42 -42
- package/esm/api/cli/commands/api-schema.js +26 -26
- package/esm/api/cli/commands/api-setting.js +126 -126
- package/esm/api/cli/commands/api.js +78 -78
- package/esm/api/cli/commands/app.js +82 -82
- package/esm/api/cli/commands/apply-registry-defaults.js +4 -4
- package/esm/api/cli/commands/ast-migration.js +66 -66
- package/esm/api/cli/commands/check-constraint.js +91 -91
- package/esm/api/cli/commands/composite-type.js +90 -90
- package/esm/api/cli/commands/cors-setting.js +34 -34
- package/esm/api/cli/commands/database-setting.js +142 -142
- package/esm/api/cli/commands/database-transfer.js +125 -125
- package/esm/api/cli/commands/database.js +62 -62
- package/esm/api/cli/commands/default-privilege.js +52 -52
- package/esm/api/cli/commands/domain.js +86 -86
- package/esm/api/cli/commands/embedding-chunk.js +178 -178
- package/esm/api/cli/commands/enum.js +82 -82
- package/esm/api/cli/commands/field.js +231 -231
- package/esm/api/cli/commands/foreign-key-constraint.js +132 -132
- package/esm/api/cli/commands/full-text-search.js +60 -60
- package/esm/api/cli/commands/function.js +22 -22
- package/esm/api/cli/commands/index.js +118 -118
- package/esm/api/cli/commands/migrate-file.js +4 -4
- package/esm/api/cli/commands/node-type-registry.js +48 -48
- package/esm/api/cli/commands/partition.js +102 -102
- package/esm/api/cli/commands/policy.js +128 -128
- package/esm/api/cli/commands/primary-key-constraint.js +80 -80
- package/esm/api/cli/commands/pubkey-setting.js +72 -72
- package/esm/api/cli/commands/rls-setting.js +69 -69
- package/esm/api/cli/commands/schema-grant.js +28 -28
- package/esm/api/cli/commands/schema.js +106 -106
- package/esm/api/cli/commands/site-metadatum.js +42 -42
- package/esm/api/cli/commands/site-module.js +38 -38
- package/esm/api/cli/commands/site-theme.js +6 -6
- package/esm/api/cli/commands/site.js +102 -102
- package/esm/api/cli/commands/spatial-relation.js +83 -83
- package/esm/api/cli/commands/sql-action.js +57 -57
- package/esm/api/cli/commands/table-grant.js +66 -66
- package/esm/api/cli/commands/table.js +203 -203
- package/esm/api/cli/commands/trigger-function.js +34 -34
- package/esm/api/cli/commands/trigger.js +64 -64
- package/esm/api/cli/commands/unique-constraint.js +94 -94
- package/esm/api/cli/commands/view-grant.js +46 -46
- package/esm/api/cli/commands/view-rule.js +52 -52
- package/esm/api/cli/commands/view-table.js +34 -34
- package/esm/api/cli/commands/view.js +135 -135
- package/esm/api/cli/commands/webauthn-setting.js +174 -174
- package/esm/api/cli/commands.js +71 -71
- package/esm/api/cli/executor.d.ts +45 -45
- package/esm/api/orm/index.d.ts +77 -77
- package/esm/api/orm/index.js +64 -64
- package/esm/api/orm/input-types.d.ts +8781 -8781
- package/esm/api/orm/input-types.js +48 -48
- package/esm/api/orm/models/index.d.ts +32 -32
- package/esm/api/orm/models/index.js +32 -32
- package/esm/api/orm/mutation/index.d.ts +29 -29
- package/esm/api/orm/mutation/index.js +30 -30
- package/esm/api/orm/query/index.d.ts +1 -1
- package/esm/api/orm/query/index.js +4 -4
- package/esm/auth/cli/commands/audit-log-auth.js +57 -57
- package/esm/auth/cli/commands/crypto-address.js +50 -50
- package/esm/auth/cli/commands/email.js +50 -50
- package/esm/auth/cli/commands/identity-provider.js +20 -32
- package/esm/auth/cli/commands/org-api-key-list.js +47 -47
- package/esm/auth/cli/commands/phone-number.js +67 -67
- package/esm/auth/cli/commands/principal-entity.js +32 -32
- package/esm/auth/cli/commands/principal-scope-override.js +43 -43
- package/esm/auth/cli/commands/principal.js +42 -42
- package/esm/auth/cli/commands/user-connected-account.js +33 -33
- package/esm/auth/cli/commands/user.js +43 -43
- package/esm/auth/cli/commands/webauthn-credential.js +123 -123
- package/esm/auth/cli/commands.js +59 -59
- package/esm/auth/cli/executor.d.ts +96 -96
- package/esm/auth/orm/index.d.ts +103 -103
- package/esm/auth/orm/index.js +14 -14
- package/esm/auth/orm/input-types.d.ts +2102 -2109
- package/esm/auth/orm/input-types.js +5 -5
- package/esm/auth/orm/models/index.d.ts +7 -7
- package/esm/auth/orm/models/index.js +7 -7
- package/esm/auth/orm/mutation/index.d.ts +138 -138
- package/esm/auth/orm/mutation/index.js +168 -168
- package/esm/auth/orm/query/index.d.ts +10 -10
- package/esm/auth/orm/query/index.js +14 -14
- package/esm/compute/cli/commands/db-preset.js +96 -96
- package/esm/compute/cli/commands/function-api-binding.js +41 -41
- package/esm/compute/cli/commands/function-definition.js +375 -397
- package/esm/compute/cli/commands/function-deployment-event.js +48 -48
- package/esm/compute/cli/commands/function-deployment.js +220 -220
- package/esm/compute/cli/commands/function-execution-log.js +48 -48
- package/esm/compute/cli/commands/function-graph-commit.js +69 -69
- package/esm/compute/cli/commands/function-graph-execution-node-state.js +106 -106
- package/esm/compute/cli/commands/function-graph-execution-output.js +28 -28
- package/esm/compute/cli/commands/function-graph-execution.js +233 -233
- package/esm/compute/cli/commands/function-graph-object.js +37 -37
- package/esm/compute/cli/commands/function-graph-ref.js +22 -22
- package/esm/compute/cli/commands/function-graph-store.js +28 -28
- package/esm/compute/cli/commands/function-graph.js +100 -100
- package/esm/compute/cli/commands/function-invocation.js +175 -131
- package/esm/compute/cli/commands/get-all-record.js +11 -11
- package/esm/compute/cli/commands/infra-commit.js +69 -69
- package/esm/compute/cli/commands/infra-get-all-record.js +11 -11
- package/esm/compute/cli/commands/infra-object.js +37 -37
- package/esm/compute/cli/commands/infra-ref.js +22 -22
- package/esm/compute/cli/commands/infra-store.js +28 -28
- package/esm/compute/cli/commands/integration-provider.js +91 -91
- package/esm/compute/cli/commands/namespace-event.js +127 -127
- package/esm/compute/cli/commands/namespace.js +115 -115
- package/esm/compute/cli/commands/platform-function-api-binding.js +41 -41
- package/esm/compute/cli/commands/platform-function-definition.js +357 -379
- package/esm/compute/cli/commands/platform-function-deployment-event.js +28 -28
- package/esm/compute/cli/commands/platform-function-deployment.js +206 -206
- package/esm/compute/cli/commands/platform-function-execution-log.js +28 -28
- package/esm/compute/cli/commands/platform-function-invocation.js +161 -117
- package/esm/compute/cli/commands/platform-namespace-event.js +108 -108
- package/esm/compute/cli/commands/platform-namespace.js +109 -109
- package/esm/compute/cli/commands/platform-resource-definition.js +157 -157
- package/esm/compute/cli/commands/platform-resource-event.js +41 -41
- package/esm/compute/cli/commands/platform-resource-status-check.js +59 -59
- package/esm/compute/cli/commands/platform-resource.js +182 -182
- package/esm/compute/cli/commands/platform-resources-requirements-state.js +32 -32
- package/esm/compute/cli/commands/platform-resources-resolved-requirement.js +53 -53
- package/esm/compute/cli/commands/resource-definition.js +172 -172
- package/esm/compute/cli/commands/resource-event.js +50 -50
- package/esm/compute/cli/commands/resource-status-check.js +68 -68
- package/esm/compute/cli/commands/resource.js +192 -192
- package/esm/compute/cli/commands/resources-requirements-state.js +32 -32
- package/esm/compute/cli/commands/resources-resolved-requirement.js +53 -53
- package/esm/compute/cli/commands.js +87 -87
- package/esm/compute/cli/executor.d.ts +78 -78
- package/esm/compute/orm/index.d.ts +110 -110
- package/esm/compute/orm/index.js +64 -64
- package/esm/compute/orm/input-types.d.ts +7256 -7037
- package/esm/compute/orm/input-types.js +15 -13
- package/esm/compute/orm/models/index.d.ts +32 -32
- package/esm/compute/orm/models/index.js +32 -32
- package/esm/compute/orm/mutation/index.d.ts +77 -77
- package/esm/compute/orm/mutation/index.js +96 -96
- package/esm/config/cli/commands/config.js +102 -102
- package/esm/config/cli/commands/platform-config.js +96 -96
- package/esm/config/cli/commands/platform-internal-secret.js +43 -43
- package/esm/config/cli/commands/platform-secret.js +53 -53
- package/esm/config/cli/commands/secret.js +55 -55
- package/esm/config/cli/commands.js +15 -15
- package/esm/config/cli/executor.d.ts +29 -29
- package/esm/config/orm/index.d.ts +30 -30
- package/esm/config/orm/index.js +2 -2
- package/esm/config/orm/input-types.d.ts +416 -416
- package/esm/config/orm/models/index.d.ts +1 -1
- package/esm/config/orm/models/index.js +1 -1
- package/esm/config/orm/mutation/index.d.ts +47 -47
- package/esm/config/orm/mutation/index.js +60 -60
- package/esm/infra/cli/commands/db-preset.js +96 -96
- package/esm/infra/cli/commands/infra-commit.js +69 -69
- package/esm/infra/cli/commands/infra-get-all-record.js +11 -11
- package/esm/infra/cli/commands/infra-object.js +37 -37
- package/esm/infra/cli/commands/infra-ref.js +22 -22
- package/esm/infra/cli/commands/infra-store.js +28 -28
- package/esm/infra/cli/commands/namespace-event.js +127 -127
- package/esm/infra/cli/commands/namespace.js +115 -115
- package/esm/infra/cli/commands/platform-namespace-event.js +108 -108
- package/esm/infra/cli/commands/platform-namespace.js +109 -109
- package/esm/infra/cli/commands.js +13 -13
- package/esm/infra/cli/executor.d.ts +10 -10
- package/esm/infra/orm/index.d.ts +15 -15
- package/esm/infra/orm/index.js +10 -10
- package/esm/infra/orm/input-types.d.ts +971 -971
- package/esm/infra/orm/models/index.d.ts +5 -5
- package/esm/infra/orm/models/index.js +5 -5
- package/esm/infra/orm/mutation/index.d.ts +9 -9
- package/esm/infra/orm/mutation/index.js +12 -12
- package/esm/modules/cli/commands/agent-module.js +388 -388
- package/esm/modules/cli/commands/billing-module.js +250 -250
- package/esm/modules/cli/commands/billing-provider-module.js +182 -182
- package/esm/modules/cli/commands/blueprint-construction.js +72 -72
- package/esm/modules/cli/commands/blueprint-template.js +187 -187
- package/esm/modules/cli/commands/blueprint.js +95 -95
- package/esm/modules/cli/commands/compute-log-module.js +190 -190
- package/esm/modules/cli/commands/config-secrets-user-module.js +50 -50
- package/esm/modules/cli/commands/connected-accounts-module.js +76 -76
- package/esm/modules/cli/commands/crypto-addresses-module.js +89 -89
- package/esm/modules/cli/commands/crypto-auth-module.js +114 -114
- package/esm/modules/cli/commands/database-provision-module.js +174 -174
- package/esm/modules/cli/commands/db-pool-config.js +86 -86
- package/esm/modules/cli/commands/db-pool.js +112 -112
- package/esm/modules/cli/commands/db-preset-module.js +170 -170
- package/esm/modules/cli/commands/db-usage-module.js +249 -249
- package/esm/modules/cli/commands/default-ids-module.js +6 -6
- package/esm/modules/cli/commands/denormalized-table-field.js +100 -100
- package/esm/modules/cli/commands/devices-module.js +46 -46
- package/esm/modules/cli/commands/emails-module.js +76 -76
- package/esm/modules/cli/commands/entity-type-provision.js +405 -405
- package/esm/modules/cli/commands/events-module.js +399 -399
- package/esm/modules/cli/commands/function-deployment-module.js +189 -189
- package/esm/modules/cli/commands/function-invocation-module.js +176 -176
- package/esm/modules/cli/commands/function-module.js +193 -149
- package/esm/modules/cli/commands/graph-execution-module.js +214 -214
- package/esm/modules/cli/commands/graph-module.js +175 -175
- package/esm/modules/cli/commands/hierarchy-module.js +212 -212
- package/esm/modules/cli/commands/i-18-n-module.js +56 -56
- package/esm/modules/cli/commands/identity-providers-module.js +112 -112
- package/esm/modules/cli/commands/inference-log-module.js +181 -181
- package/esm/modules/cli/commands/infra-config-module.js +158 -158
- package/esm/modules/cli/commands/infra-secrets-module.js +157 -157
- package/esm/modules/cli/commands/integration-providers-module.js +112 -112
- package/esm/modules/cli/commands/internal-secrets-module.js +151 -151
- package/esm/modules/cli/commands/invites-module.js +178 -178
- package/esm/modules/cli/commands/limits-module.js +362 -362
- package/esm/modules/cli/commands/membership-types-module.js +6 -6
- package/esm/modules/cli/commands/memberships-module.js +411 -411
- package/esm/modules/cli/commands/merkle-store-module.js +160 -160
- package/esm/modules/cli/commands/namespace-module.js +176 -176
- package/esm/modules/cli/commands/notifications-module.js +250 -250
- package/esm/modules/cli/commands/permissions-module.js +202 -202
- package/esm/modules/cli/commands/phone-numbers-module.js +76 -76
- package/esm/modules/cli/commands/plans-module.js +190 -190
- package/esm/modules/cli/commands/principal-auth-module.js +174 -174
- package/esm/modules/cli/commands/profiles-module.js +225 -225
- package/esm/modules/cli/commands/rate-limit-meters-module.js +146 -146
- package/esm/modules/cli/commands/rate-limits-module.js +66 -66
- package/esm/modules/cli/commands/realtime-module.js +134 -134
- package/esm/modules/cli/commands/relation-provision.js +228 -228
- package/esm/modules/cli/commands/resolve-blueprint-field.js +4 -4
- package/esm/modules/cli/commands/resolve-blueprint-table.js +4 -4
- package/esm/modules/cli/commands/resource-module.js +250 -250
- package/esm/modules/cli/commands/rls-module.js +114 -114
- package/esm/modules/cli/commands/secure-table-provision.js +98 -98
- package/esm/modules/cli/commands/session-secrets-module.js +26 -26
- package/esm/modules/cli/commands/sessions-module.js +82 -82
- package/esm/modules/cli/commands/storage-log-module.js +173 -173
- package/esm/modules/cli/commands/storage-module.js +437 -437
- package/esm/modules/cli/commands/transfer-log-module.js +173 -173
- package/esm/modules/cli/commands/user-auth-module.js +266 -266
- package/esm/modules/cli/commands/user-credentials-module.js +28 -28
- package/esm/modules/cli/commands/user-settings-module.js +48 -48
- package/esm/modules/cli/commands/user-state-module.js +6 -6
- package/esm/modules/cli/commands/users-module.js +50 -50
- package/esm/modules/cli/commands/webauthn-auth-module.js +150 -150
- package/esm/modules/cli/commands/webauthn-credentials-module.js +74 -74
- package/esm/modules/cli/commands.js +117 -117
- package/esm/modules/cli/executor.d.ts +73 -73
- package/esm/modules/orm/index.d.ts +126 -126
- package/esm/modules/orm/index.js +106 -106
- package/esm/modules/orm/input-types.d.ts +11482 -11468
- package/esm/modules/orm/input-types.js +1 -1
- package/esm/modules/orm/models/index.d.ts +53 -53
- package/esm/modules/orm/models/index.js +53 -53
- package/esm/modules/orm/mutation/index.d.ts +51 -51
- package/esm/modules/orm/mutation/index.js +42 -42
- package/esm/modules/orm/query/index.d.ts +3 -3
- package/esm/modules/orm/query/index.js +8 -8
- package/esm/objects/cli/commands/commit.js +73 -73
- package/esm/objects/cli/commands/get-all-record.js +11 -11
- package/esm/objects/cli/commands/object.js +34 -34
- package/esm/objects/cli/commands/ref.js +31 -31
- package/esm/objects/cli/commands/store.js +32 -32
- package/esm/objects/cli/commands.js +7 -7
- package/esm/objects/cli/executor.d.ts +7 -7
- package/esm/objects/orm/index.d.ts +9 -9
- package/esm/objects/orm/index.js +4 -4
- package/esm/objects/orm/input-types.d.ts +384 -384
- package/esm/objects/orm/models/index.d.ts +2 -2
- package/esm/objects/orm/models/index.js +2 -2
- package/esm/objects/orm/mutation/index.d.ts +9 -9
- package/esm/objects/orm/mutation/index.js +12 -12
- package/esm/usage/cli/commands/app-limit-cap.js +26 -26
- package/esm/usage/cli/commands/app-limit-caps-default.js +19 -19
- package/esm/usage/cli/commands/app-limit-credit-code-item.js +41 -41
- package/esm/usage/cli/commands/app-limit-credit-code.js +26 -26
- package/esm/usage/cli/commands/app-limit-credit-redemption.js +22 -22
- package/esm/usage/cli/commands/app-limit-credit.js +26 -26
- package/esm/usage/cli/commands/app-limit-default.js +19 -19
- package/esm/usage/cli/commands/app-limit-event.js +86 -86
- package/esm/usage/cli/commands/app-limit-warning.js +24 -24
- package/esm/usage/cli/commands/app-limit.js +106 -106
- package/esm/usage/cli/commands/org-limit-aggregate.js +110 -110
- package/esm/usage/cli/commands/org-limit-cap.js +26 -26
- package/esm/usage/cli/commands/org-limit-caps-default.js +19 -19
- package/esm/usage/cli/commands/org-limit-credit.js +72 -72
- package/esm/usage/cli/commands/org-limit-default.js +19 -19
- package/esm/usage/cli/commands/org-limit-event.js +86 -86
- package/esm/usage/cli/commands/org-limit-warning.js +46 -46
- package/esm/usage/cli/commands/org-limit.js +123 -123
- package/esm/usage/cli/commands.js +27 -27
- package/esm/usage/cli/executor.d.ts +17 -17
- package/esm/usage/orm/index.d.ts +29 -29
- package/esm/usage/orm/index.js +24 -24
- package/esm/usage/orm/input-types.d.ts +2049 -2049
- package/esm/usage/orm/input-types.js +5 -5
- package/esm/usage/orm/models/index.d.ts +12 -12
- package/esm/usage/orm/models/index.js +12 -12
- package/esm/usage/orm/mutation/index.d.ts +16 -16
- package/esm/usage/orm/mutation/index.js +12 -12
- package/infra/cli/commands/db-preset.js +96 -96
- package/infra/cli/commands/infra-commit.js +69 -69
- package/infra/cli/commands/infra-get-all-record.js +11 -11
- package/infra/cli/commands/infra-object.js +37 -37
- package/infra/cli/commands/infra-ref.js +22 -22
- package/infra/cli/commands/infra-store.js +28 -28
- package/infra/cli/commands/namespace-event.js +127 -127
- package/infra/cli/commands/namespace.js +115 -115
- package/infra/cli/commands/platform-namespace-event.js +108 -108
- package/infra/cli/commands/platform-namespace.js +109 -109
- package/infra/cli/commands.js +13 -13
- package/infra/cli/executor.d.ts +10 -10
- package/infra/orm/index.d.ts +15 -15
- package/infra/orm/index.js +10 -10
- package/infra/orm/input-types.d.ts +971 -971
- package/infra/orm/models/index.d.ts +5 -5
- package/infra/orm/models/index.js +11 -11
- package/infra/orm/mutation/index.d.ts +9 -9
- package/infra/orm/mutation/index.js +12 -12
- package/modules/cli/commands/agent-module.js +388 -388
- package/modules/cli/commands/billing-module.js +250 -250
- package/modules/cli/commands/billing-provider-module.js +182 -182
- package/modules/cli/commands/blueprint-construction.js +72 -72
- package/modules/cli/commands/blueprint-template.js +187 -187
- package/modules/cli/commands/blueprint.js +95 -95
- package/modules/cli/commands/compute-log-module.js +190 -190
- package/modules/cli/commands/config-secrets-user-module.js +50 -50
- package/modules/cli/commands/connected-accounts-module.js +76 -76
- package/modules/cli/commands/crypto-addresses-module.js +89 -89
- package/modules/cli/commands/crypto-auth-module.js +114 -114
- package/modules/cli/commands/database-provision-module.js +174 -174
- package/modules/cli/commands/db-pool-config.js +86 -86
- package/modules/cli/commands/db-pool.js +112 -112
- package/modules/cli/commands/db-preset-module.js +170 -170
- package/modules/cli/commands/db-usage-module.js +249 -249
- package/modules/cli/commands/default-ids-module.js +6 -6
- package/modules/cli/commands/denormalized-table-field.js +100 -100
- package/modules/cli/commands/devices-module.js +46 -46
- package/modules/cli/commands/emails-module.js +76 -76
- package/modules/cli/commands/entity-type-provision.js +405 -405
- package/modules/cli/commands/events-module.js +399 -399
- package/modules/cli/commands/function-deployment-module.js +189 -189
- package/modules/cli/commands/function-invocation-module.js +176 -176
- package/modules/cli/commands/function-module.js +193 -149
- package/modules/cli/commands/graph-execution-module.js +214 -214
- package/modules/cli/commands/graph-module.js +175 -175
- package/modules/cli/commands/hierarchy-module.js +212 -212
- package/modules/cli/commands/i-18-n-module.js +56 -56
- package/modules/cli/commands/identity-providers-module.js +112 -112
- package/modules/cli/commands/inference-log-module.js +181 -181
- package/modules/cli/commands/infra-config-module.js +158 -158
- package/modules/cli/commands/infra-secrets-module.js +157 -157
- package/modules/cli/commands/integration-providers-module.js +112 -112
- package/modules/cli/commands/internal-secrets-module.js +151 -151
- package/modules/cli/commands/invites-module.js +178 -178
- package/modules/cli/commands/limits-module.js +362 -362
- package/modules/cli/commands/membership-types-module.js +6 -6
- package/modules/cli/commands/memberships-module.js +411 -411
- package/modules/cli/commands/merkle-store-module.js +160 -160
- package/modules/cli/commands/namespace-module.js +176 -176
- package/modules/cli/commands/notifications-module.js +250 -250
- package/modules/cli/commands/permissions-module.js +202 -202
- package/modules/cli/commands/phone-numbers-module.js +76 -76
- package/modules/cli/commands/plans-module.js +190 -190
- package/modules/cli/commands/principal-auth-module.js +174 -174
- package/modules/cli/commands/profiles-module.js +225 -225
- package/modules/cli/commands/rate-limit-meters-module.js +146 -146
- package/modules/cli/commands/rate-limits-module.js +66 -66
- package/modules/cli/commands/realtime-module.js +134 -134
- package/modules/cli/commands/relation-provision.js +228 -228
- package/modules/cli/commands/resolve-blueprint-field.js +4 -4
- package/modules/cli/commands/resolve-blueprint-table.js +4 -4
- package/modules/cli/commands/resource-module.js +250 -250
- package/modules/cli/commands/rls-module.js +114 -114
- package/modules/cli/commands/secure-table-provision.js +98 -98
- package/modules/cli/commands/session-secrets-module.js +26 -26
- package/modules/cli/commands/sessions-module.js +82 -82
- package/modules/cli/commands/storage-log-module.js +173 -173
- package/modules/cli/commands/storage-module.js +437 -437
- package/modules/cli/commands/transfer-log-module.js +173 -173
- package/modules/cli/commands/user-auth-module.js +266 -266
- package/modules/cli/commands/user-credentials-module.js +28 -28
- package/modules/cli/commands/user-settings-module.js +48 -48
- package/modules/cli/commands/user-state-module.js +6 -6
- package/modules/cli/commands/users-module.js +50 -50
- package/modules/cli/commands/webauthn-auth-module.js +150 -150
- package/modules/cli/commands/webauthn-credentials-module.js +74 -74
- package/modules/cli/commands.js +117 -117
- package/modules/cli/executor.d.ts +73 -73
- package/modules/orm/index.d.ts +126 -126
- package/modules/orm/index.js +106 -106
- package/modules/orm/input-types.d.ts +11482 -11468
- package/modules/orm/input-types.js +1 -1
- package/modules/orm/models/index.d.ts +53 -53
- package/modules/orm/models/index.js +108 -108
- package/modules/orm/mutation/index.d.ts +51 -51
- package/modules/orm/mutation/index.js +42 -42
- package/modules/orm/query/index.d.ts +3 -3
- package/modules/orm/query/index.js +8 -8
- package/objects/cli/commands/commit.js +73 -73
- package/objects/cli/commands/get-all-record.js +11 -11
- package/objects/cli/commands/object.js +34 -34
- package/objects/cli/commands/ref.js +31 -31
- package/objects/cli/commands/store.js +32 -32
- package/objects/cli/commands.js +7 -7
- package/objects/cli/executor.d.ts +7 -7
- package/objects/orm/index.d.ts +9 -9
- package/objects/orm/index.js +4 -4
- package/objects/orm/input-types.d.ts +384 -384
- package/objects/orm/models/index.d.ts +2 -2
- package/objects/orm/models/index.js +5 -5
- package/objects/orm/mutation/index.d.ts +9 -9
- package/objects/orm/mutation/index.js +12 -12
- package/package.json +4 -4
- package/usage/cli/commands/app-limit-cap.js +26 -26
- package/usage/cli/commands/app-limit-caps-default.js +19 -19
- package/usage/cli/commands/app-limit-credit-code-item.js +41 -41
- package/usage/cli/commands/app-limit-credit-code.js +26 -26
- package/usage/cli/commands/app-limit-credit-redemption.js +22 -22
- package/usage/cli/commands/app-limit-credit.js +26 -26
- package/usage/cli/commands/app-limit-default.js +19 -19
- package/usage/cli/commands/app-limit-event.js +86 -86
- package/usage/cli/commands/app-limit-warning.js +24 -24
- package/usage/cli/commands/app-limit.js +106 -106
- package/usage/cli/commands/org-limit-aggregate.js +110 -110
- package/usage/cli/commands/org-limit-cap.js +26 -26
- package/usage/cli/commands/org-limit-caps-default.js +19 -19
- package/usage/cli/commands/org-limit-credit.js +72 -72
- package/usage/cli/commands/org-limit-default.js +19 -19
- package/usage/cli/commands/org-limit-event.js +86 -86
- package/usage/cli/commands/org-limit-warning.js +46 -46
- package/usage/cli/commands/org-limit.js +123 -123
- package/usage/cli/commands.js +27 -27
- package/usage/cli/executor.d.ts +17 -17
- package/usage/orm/index.d.ts +29 -29
- package/usage/orm/index.js +24 -24
- package/usage/orm/input-types.d.ts +2049 -2049
- package/usage/orm/input-types.js +5 -5
- package/usage/orm/models/index.d.ts +12 -12
- package/usage/orm/models/index.js +25 -25
- package/usage/orm/mutation/index.d.ts +16 -16
- package/usage/orm/mutation/index.js +12 -12
|
@@ -9,48 +9,48 @@ const inquirerer_1 = require("inquirerer");
|
|
|
9
9
|
const executor_1 = require("../executor");
|
|
10
10
|
const utils_1 = require("../utils");
|
|
11
11
|
const fieldSchema = {
|
|
12
|
-
|
|
12
|
+
actorMaskCheck: 'string',
|
|
13
|
+
actorPermCheck: 'string',
|
|
14
|
+
actorTableId: 'uuid',
|
|
15
|
+
adminGrantsTableId: 'uuid',
|
|
16
|
+
adminGrantsTableName: 'string',
|
|
17
|
+
apiName: 'string',
|
|
13
18
|
databaseId: 'uuid',
|
|
19
|
+
defaultLimitsTableId: 'uuid',
|
|
20
|
+
defaultPermissionsTableId: 'uuid',
|
|
14
21
|
entityField: 'string',
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
entityIdsByMask: 'string',
|
|
23
|
+
entityIdsByPerm: 'string',
|
|
24
|
+
entityIdsFunction: 'string',
|
|
25
|
+
entityTableId: 'uuid',
|
|
26
|
+
entityTableOwnerId: 'uuid',
|
|
27
|
+
getOrgFn: 'string',
|
|
28
|
+
grantsTableId: 'uuid',
|
|
29
|
+
grantsTableName: 'string',
|
|
30
|
+
id: 'uuid',
|
|
31
|
+
limitsTableId: 'uuid',
|
|
32
|
+
memberProfilesTableId: 'uuid',
|
|
21
33
|
membersTableId: 'uuid',
|
|
22
34
|
membersTableName: 'string',
|
|
23
35
|
membershipDefaultsTableId: 'uuid',
|
|
24
36
|
membershipDefaultsTableName: 'string',
|
|
25
37
|
membershipSettingsTableId: 'uuid',
|
|
26
38
|
membershipSettingsTableName: 'string',
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
actorTableId: 'uuid',
|
|
30
|
-
limitsTableId: 'uuid',
|
|
31
|
-
defaultLimitsTableId: 'uuid',
|
|
32
|
-
permissionsTableId: 'uuid',
|
|
33
|
-
defaultPermissionsTableId: 'uuid',
|
|
34
|
-
sprtTableId: 'uuid',
|
|
35
|
-
adminGrantsTableId: 'uuid',
|
|
36
|
-
adminGrantsTableName: 'string',
|
|
39
|
+
membershipsTableId: 'uuid',
|
|
40
|
+
membershipsTableName: 'string',
|
|
37
41
|
ownerGrantsTableId: 'uuid',
|
|
38
42
|
ownerGrantsTableName: 'string',
|
|
39
|
-
scope: 'string',
|
|
40
|
-
prefix: 'string',
|
|
41
|
-
entityTableId: 'uuid',
|
|
42
|
-
entityTableOwnerId: 'uuid',
|
|
43
|
-
getOrgFn: 'string',
|
|
44
|
-
actorMaskCheck: 'string',
|
|
45
|
-
actorPermCheck: 'string',
|
|
46
|
-
entityIdsByMask: 'string',
|
|
47
|
-
entityIdsByPerm: 'string',
|
|
48
|
-
entityIdsFunction: 'string',
|
|
49
|
-
memberProfilesTableId: 'uuid',
|
|
50
|
-
permissionDefaultPermissionsTableId: 'uuid',
|
|
51
43
|
permissionDefaultGrantsTableId: 'uuid',
|
|
52
|
-
|
|
44
|
+
permissionDefaultPermissionsTableId: 'uuid',
|
|
45
|
+
permissionsTableId: 'uuid',
|
|
46
|
+
prefix: 'string',
|
|
53
47
|
privateApiName: 'string',
|
|
48
|
+
privateSchemaId: 'uuid',
|
|
49
|
+
privateSchemaName: 'string',
|
|
50
|
+
publicSchemaName: 'string',
|
|
51
|
+
schemaId: 'uuid',
|
|
52
|
+
scope: 'string',
|
|
53
|
+
sprtTableId: 'uuid',
|
|
54
54
|
};
|
|
55
55
|
const usage = '\nmemberships-module <command>\n\nCommands:\n list List membershipsModule records\n find-first Find first matching membershipsModule record\n get Get a membershipsModule by ID\n create Create a new membershipsModule\n update Update an existing membershipsModule\n delete Delete a membershipsModule\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 --orderBy <values> Comma-separated ordering values (e.g. NAME_ASC,CREATED_AT_DESC)\n\n --help, -h Show this help message\n';
|
|
56
56
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -94,48 +94,48 @@ async function handleTableSubcommand(subcommand, argv, prompter) {
|
|
|
94
94
|
async function handleList(argv, _prompter) {
|
|
95
95
|
try {
|
|
96
96
|
const defaultSelect = {
|
|
97
|
-
|
|
97
|
+
actorMaskCheck: true,
|
|
98
|
+
actorPermCheck: true,
|
|
99
|
+
actorTableId: true,
|
|
100
|
+
adminGrantsTableId: true,
|
|
101
|
+
adminGrantsTableName: true,
|
|
102
|
+
apiName: true,
|
|
98
103
|
databaseId: true,
|
|
104
|
+
defaultLimitsTableId: true,
|
|
105
|
+
defaultPermissionsTableId: true,
|
|
99
106
|
entityField: true,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
107
|
+
entityIdsByMask: true,
|
|
108
|
+
entityIdsByPerm: true,
|
|
109
|
+
entityIdsFunction: true,
|
|
110
|
+
entityTableId: true,
|
|
111
|
+
entityTableOwnerId: true,
|
|
112
|
+
getOrgFn: true,
|
|
113
|
+
grantsTableId: true,
|
|
114
|
+
grantsTableName: true,
|
|
115
|
+
id: true,
|
|
116
|
+
limitsTableId: true,
|
|
117
|
+
memberProfilesTableId: true,
|
|
106
118
|
membersTableId: true,
|
|
107
119
|
membersTableName: true,
|
|
108
120
|
membershipDefaultsTableId: true,
|
|
109
121
|
membershipDefaultsTableName: true,
|
|
110
122
|
membershipSettingsTableId: true,
|
|
111
123
|
membershipSettingsTableName: true,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
actorTableId: true,
|
|
115
|
-
limitsTableId: true,
|
|
116
|
-
defaultLimitsTableId: true,
|
|
117
|
-
permissionsTableId: true,
|
|
118
|
-
defaultPermissionsTableId: true,
|
|
119
|
-
sprtTableId: true,
|
|
120
|
-
adminGrantsTableId: true,
|
|
121
|
-
adminGrantsTableName: true,
|
|
124
|
+
membershipsTableId: true,
|
|
125
|
+
membershipsTableName: true,
|
|
122
126
|
ownerGrantsTableId: true,
|
|
123
127
|
ownerGrantsTableName: true,
|
|
124
|
-
scope: true,
|
|
125
|
-
prefix: true,
|
|
126
|
-
entityTableId: true,
|
|
127
|
-
entityTableOwnerId: true,
|
|
128
|
-
getOrgFn: true,
|
|
129
|
-
actorMaskCheck: true,
|
|
130
|
-
actorPermCheck: true,
|
|
131
|
-
entityIdsByMask: true,
|
|
132
|
-
entityIdsByPerm: true,
|
|
133
|
-
entityIdsFunction: true,
|
|
134
|
-
memberProfilesTableId: true,
|
|
135
|
-
permissionDefaultPermissionsTableId: true,
|
|
136
128
|
permissionDefaultGrantsTableId: true,
|
|
137
|
-
|
|
129
|
+
permissionDefaultPermissionsTableId: true,
|
|
130
|
+
permissionsTableId: true,
|
|
131
|
+
prefix: true,
|
|
138
132
|
privateApiName: true,
|
|
133
|
+
privateSchemaId: true,
|
|
134
|
+
privateSchemaName: true,
|
|
135
|
+
publicSchemaName: true,
|
|
136
|
+
schemaId: true,
|
|
137
|
+
scope: true,
|
|
138
|
+
sprtTableId: true,
|
|
139
139
|
};
|
|
140
140
|
const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
|
|
141
141
|
const client = (0, executor_1.getClient)();
|
|
@@ -153,48 +153,48 @@ async function handleList(argv, _prompter) {
|
|
|
153
153
|
async function handleFindFirst(argv, _prompter) {
|
|
154
154
|
try {
|
|
155
155
|
const defaultSelect = {
|
|
156
|
-
|
|
156
|
+
actorMaskCheck: true,
|
|
157
|
+
actorPermCheck: true,
|
|
158
|
+
actorTableId: true,
|
|
159
|
+
adminGrantsTableId: true,
|
|
160
|
+
adminGrantsTableName: true,
|
|
161
|
+
apiName: true,
|
|
157
162
|
databaseId: true,
|
|
163
|
+
defaultLimitsTableId: true,
|
|
164
|
+
defaultPermissionsTableId: true,
|
|
158
165
|
entityField: true,
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
166
|
+
entityIdsByMask: true,
|
|
167
|
+
entityIdsByPerm: true,
|
|
168
|
+
entityIdsFunction: true,
|
|
169
|
+
entityTableId: true,
|
|
170
|
+
entityTableOwnerId: true,
|
|
171
|
+
getOrgFn: true,
|
|
172
|
+
grantsTableId: true,
|
|
173
|
+
grantsTableName: true,
|
|
174
|
+
id: true,
|
|
175
|
+
limitsTableId: true,
|
|
176
|
+
memberProfilesTableId: true,
|
|
165
177
|
membersTableId: true,
|
|
166
178
|
membersTableName: true,
|
|
167
179
|
membershipDefaultsTableId: true,
|
|
168
180
|
membershipDefaultsTableName: true,
|
|
169
181
|
membershipSettingsTableId: true,
|
|
170
182
|
membershipSettingsTableName: true,
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
actorTableId: true,
|
|
174
|
-
limitsTableId: true,
|
|
175
|
-
defaultLimitsTableId: true,
|
|
176
|
-
permissionsTableId: true,
|
|
177
|
-
defaultPermissionsTableId: true,
|
|
178
|
-
sprtTableId: true,
|
|
179
|
-
adminGrantsTableId: true,
|
|
180
|
-
adminGrantsTableName: true,
|
|
183
|
+
membershipsTableId: true,
|
|
184
|
+
membershipsTableName: true,
|
|
181
185
|
ownerGrantsTableId: true,
|
|
182
186
|
ownerGrantsTableName: true,
|
|
183
|
-
scope: true,
|
|
184
|
-
prefix: true,
|
|
185
|
-
entityTableId: true,
|
|
186
|
-
entityTableOwnerId: true,
|
|
187
|
-
getOrgFn: true,
|
|
188
|
-
actorMaskCheck: true,
|
|
189
|
-
actorPermCheck: true,
|
|
190
|
-
entityIdsByMask: true,
|
|
191
|
-
entityIdsByPerm: true,
|
|
192
|
-
entityIdsFunction: true,
|
|
193
|
-
memberProfilesTableId: true,
|
|
194
|
-
permissionDefaultPermissionsTableId: true,
|
|
195
187
|
permissionDefaultGrantsTableId: true,
|
|
196
|
-
|
|
188
|
+
permissionDefaultPermissionsTableId: true,
|
|
189
|
+
permissionsTableId: true,
|
|
190
|
+
prefix: true,
|
|
197
191
|
privateApiName: true,
|
|
192
|
+
privateSchemaId: true,
|
|
193
|
+
privateSchemaName: true,
|
|
194
|
+
publicSchemaName: true,
|
|
195
|
+
schemaId: true,
|
|
196
|
+
scope: true,
|
|
197
|
+
sprtTableId: true,
|
|
198
198
|
};
|
|
199
199
|
const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
|
|
200
200
|
const client = (0, executor_1.getClient)();
|
|
@@ -224,48 +224,48 @@ async function handleGet(argv, prompter) {
|
|
|
224
224
|
.findOne({
|
|
225
225
|
id: answers.id,
|
|
226
226
|
select: {
|
|
227
|
-
|
|
227
|
+
actorMaskCheck: true,
|
|
228
|
+
actorPermCheck: true,
|
|
229
|
+
actorTableId: true,
|
|
230
|
+
adminGrantsTableId: true,
|
|
231
|
+
adminGrantsTableName: true,
|
|
232
|
+
apiName: true,
|
|
228
233
|
databaseId: true,
|
|
234
|
+
defaultLimitsTableId: true,
|
|
235
|
+
defaultPermissionsTableId: true,
|
|
229
236
|
entityField: true,
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
237
|
+
entityIdsByMask: true,
|
|
238
|
+
entityIdsByPerm: true,
|
|
239
|
+
entityIdsFunction: true,
|
|
240
|
+
entityTableId: true,
|
|
241
|
+
entityTableOwnerId: true,
|
|
242
|
+
getOrgFn: true,
|
|
243
|
+
grantsTableId: true,
|
|
244
|
+
grantsTableName: true,
|
|
245
|
+
id: true,
|
|
246
|
+
limitsTableId: true,
|
|
247
|
+
memberProfilesTableId: true,
|
|
236
248
|
membersTableId: true,
|
|
237
249
|
membersTableName: true,
|
|
238
250
|
membershipDefaultsTableId: true,
|
|
239
251
|
membershipDefaultsTableName: true,
|
|
240
252
|
membershipSettingsTableId: true,
|
|
241
253
|
membershipSettingsTableName: true,
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
actorTableId: true,
|
|
245
|
-
limitsTableId: true,
|
|
246
|
-
defaultLimitsTableId: true,
|
|
247
|
-
permissionsTableId: true,
|
|
248
|
-
defaultPermissionsTableId: true,
|
|
249
|
-
sprtTableId: true,
|
|
250
|
-
adminGrantsTableId: true,
|
|
251
|
-
adminGrantsTableName: true,
|
|
254
|
+
membershipsTableId: true,
|
|
255
|
+
membershipsTableName: true,
|
|
252
256
|
ownerGrantsTableId: true,
|
|
253
257
|
ownerGrantsTableName: true,
|
|
254
|
-
scope: true,
|
|
255
|
-
prefix: true,
|
|
256
|
-
entityTableId: true,
|
|
257
|
-
entityTableOwnerId: true,
|
|
258
|
-
getOrgFn: true,
|
|
259
|
-
actorMaskCheck: true,
|
|
260
|
-
actorPermCheck: true,
|
|
261
|
-
entityIdsByMask: true,
|
|
262
|
-
entityIdsByPerm: true,
|
|
263
|
-
entityIdsFunction: true,
|
|
264
|
-
memberProfilesTableId: true,
|
|
265
|
-
permissionDefaultPermissionsTableId: true,
|
|
266
258
|
permissionDefaultGrantsTableId: true,
|
|
267
|
-
|
|
259
|
+
permissionDefaultPermissionsTableId: true,
|
|
260
|
+
permissionsTableId: true,
|
|
261
|
+
prefix: true,
|
|
268
262
|
privateApiName: true,
|
|
263
|
+
privateSchemaId: true,
|
|
264
|
+
privateSchemaName: true,
|
|
265
|
+
publicSchemaName: true,
|
|
266
|
+
schemaId: true,
|
|
267
|
+
scope: true,
|
|
268
|
+
sprtTableId: true,
|
|
269
269
|
},
|
|
270
270
|
})
|
|
271
271
|
.execute();
|
|
@@ -284,98 +284,112 @@ async function handleCreate(argv, prompter) {
|
|
|
284
284
|
const rawAnswers = await prompter.prompt(argv, [
|
|
285
285
|
{
|
|
286
286
|
type: 'text',
|
|
287
|
-
name: '
|
|
288
|
-
message: '
|
|
289
|
-
required:
|
|
287
|
+
name: 'actorMaskCheck',
|
|
288
|
+
message: 'actorMaskCheck',
|
|
289
|
+
required: false,
|
|
290
|
+
skipPrompt: true,
|
|
290
291
|
},
|
|
291
292
|
{
|
|
292
293
|
type: 'text',
|
|
293
|
-
name: '
|
|
294
|
-
message: '
|
|
294
|
+
name: 'actorPermCheck',
|
|
295
|
+
message: 'actorPermCheck',
|
|
295
296
|
required: false,
|
|
296
297
|
skipPrompt: true,
|
|
297
298
|
},
|
|
298
299
|
{
|
|
299
300
|
type: 'text',
|
|
300
|
-
name: '
|
|
301
|
-
message: '
|
|
301
|
+
name: 'actorTableId',
|
|
302
|
+
message: 'actorTableId',
|
|
302
303
|
required: false,
|
|
303
304
|
skipPrompt: true,
|
|
304
305
|
},
|
|
305
306
|
{
|
|
306
307
|
type: 'text',
|
|
307
|
-
name: '
|
|
308
|
-
message: '
|
|
308
|
+
name: 'adminGrantsTableId',
|
|
309
|
+
message: 'adminGrantsTableId',
|
|
309
310
|
required: false,
|
|
310
311
|
skipPrompt: true,
|
|
311
312
|
},
|
|
312
313
|
{
|
|
313
314
|
type: 'text',
|
|
314
|
-
name: '
|
|
315
|
-
message: '
|
|
315
|
+
name: 'adminGrantsTableName',
|
|
316
|
+
message: 'adminGrantsTableName',
|
|
316
317
|
required: false,
|
|
317
318
|
skipPrompt: true,
|
|
318
319
|
},
|
|
319
320
|
{
|
|
320
321
|
type: 'text',
|
|
321
|
-
name: '
|
|
322
|
-
message: '
|
|
322
|
+
name: 'apiName',
|
|
323
|
+
message: 'apiName',
|
|
323
324
|
required: false,
|
|
324
325
|
skipPrompt: true,
|
|
325
326
|
},
|
|
326
327
|
{
|
|
327
328
|
type: 'text',
|
|
328
|
-
name: '
|
|
329
|
-
message: '
|
|
329
|
+
name: 'databaseId',
|
|
330
|
+
message: 'databaseId',
|
|
331
|
+
required: true,
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
type: 'text',
|
|
335
|
+
name: 'defaultLimitsTableId',
|
|
336
|
+
message: 'defaultLimitsTableId',
|
|
330
337
|
required: false,
|
|
331
338
|
skipPrompt: true,
|
|
332
339
|
},
|
|
333
340
|
{
|
|
334
341
|
type: 'text',
|
|
335
|
-
name: '
|
|
336
|
-
message: '
|
|
342
|
+
name: 'defaultPermissionsTableId',
|
|
343
|
+
message: 'defaultPermissionsTableId',
|
|
337
344
|
required: false,
|
|
338
345
|
skipPrompt: true,
|
|
339
346
|
},
|
|
340
347
|
{
|
|
341
348
|
type: 'text',
|
|
342
|
-
name: '
|
|
343
|
-
message: '
|
|
349
|
+
name: 'entityField',
|
|
350
|
+
message: 'entityField',
|
|
344
351
|
required: false,
|
|
345
352
|
skipPrompt: true,
|
|
346
353
|
},
|
|
347
354
|
{
|
|
348
355
|
type: 'text',
|
|
349
|
-
name: '
|
|
350
|
-
message: '
|
|
356
|
+
name: 'entityIdsByMask',
|
|
357
|
+
message: 'entityIdsByMask',
|
|
351
358
|
required: false,
|
|
352
359
|
skipPrompt: true,
|
|
353
360
|
},
|
|
354
361
|
{
|
|
355
362
|
type: 'text',
|
|
356
|
-
name: '
|
|
357
|
-
message: '
|
|
363
|
+
name: 'entityIdsByPerm',
|
|
364
|
+
message: 'entityIdsByPerm',
|
|
358
365
|
required: false,
|
|
359
366
|
skipPrompt: true,
|
|
360
367
|
},
|
|
361
368
|
{
|
|
362
369
|
type: 'text',
|
|
363
|
-
name: '
|
|
364
|
-
message: '
|
|
370
|
+
name: 'entityIdsFunction',
|
|
371
|
+
message: 'entityIdsFunction',
|
|
365
372
|
required: false,
|
|
366
373
|
skipPrompt: true,
|
|
367
374
|
},
|
|
368
375
|
{
|
|
369
376
|
type: 'text',
|
|
370
|
-
name: '
|
|
371
|
-
message: '
|
|
377
|
+
name: 'entityTableId',
|
|
378
|
+
message: 'entityTableId',
|
|
372
379
|
required: false,
|
|
373
380
|
skipPrompt: true,
|
|
374
381
|
},
|
|
375
382
|
{
|
|
376
383
|
type: 'text',
|
|
377
|
-
name: '
|
|
378
|
-
message: '
|
|
384
|
+
name: 'entityTableOwnerId',
|
|
385
|
+
message: 'entityTableOwnerId',
|
|
386
|
+
required: false,
|
|
387
|
+
skipPrompt: true,
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
type: 'text',
|
|
391
|
+
name: 'getOrgFn',
|
|
392
|
+
message: 'getOrgFn',
|
|
379
393
|
required: false,
|
|
380
394
|
skipPrompt: true,
|
|
381
395
|
},
|
|
@@ -393,13 +407,6 @@ async function handleCreate(argv, prompter) {
|
|
|
393
407
|
required: false,
|
|
394
408
|
skipPrompt: true,
|
|
395
409
|
},
|
|
396
|
-
{
|
|
397
|
-
type: 'text',
|
|
398
|
-
name: 'actorTableId',
|
|
399
|
-
message: 'actorTableId',
|
|
400
|
-
required: false,
|
|
401
|
-
skipPrompt: true,
|
|
402
|
-
},
|
|
403
410
|
{
|
|
404
411
|
type: 'text',
|
|
405
412
|
name: 'limitsTableId',
|
|
@@ -409,162 +416,155 @@ async function handleCreate(argv, prompter) {
|
|
|
409
416
|
},
|
|
410
417
|
{
|
|
411
418
|
type: 'text',
|
|
412
|
-
name: '
|
|
413
|
-
message: '
|
|
414
|
-
required: false,
|
|
415
|
-
skipPrompt: true,
|
|
416
|
-
},
|
|
417
|
-
{
|
|
418
|
-
type: 'text',
|
|
419
|
-
name: 'permissionsTableId',
|
|
420
|
-
message: 'permissionsTableId',
|
|
419
|
+
name: 'memberProfilesTableId',
|
|
420
|
+
message: 'memberProfilesTableId',
|
|
421
421
|
required: false,
|
|
422
422
|
skipPrompt: true,
|
|
423
423
|
},
|
|
424
424
|
{
|
|
425
425
|
type: 'text',
|
|
426
|
-
name: '
|
|
427
|
-
message: '
|
|
426
|
+
name: 'membersTableId',
|
|
427
|
+
message: 'membersTableId',
|
|
428
428
|
required: false,
|
|
429
429
|
skipPrompt: true,
|
|
430
430
|
},
|
|
431
431
|
{
|
|
432
432
|
type: 'text',
|
|
433
|
-
name: '
|
|
434
|
-
message: '
|
|
433
|
+
name: 'membersTableName',
|
|
434
|
+
message: 'membersTableName',
|
|
435
435
|
required: false,
|
|
436
436
|
skipPrompt: true,
|
|
437
437
|
},
|
|
438
438
|
{
|
|
439
439
|
type: 'text',
|
|
440
|
-
name: '
|
|
441
|
-
message: '
|
|
440
|
+
name: 'membershipDefaultsTableId',
|
|
441
|
+
message: 'membershipDefaultsTableId',
|
|
442
442
|
required: false,
|
|
443
443
|
skipPrompt: true,
|
|
444
444
|
},
|
|
445
445
|
{
|
|
446
446
|
type: 'text',
|
|
447
|
-
name: '
|
|
448
|
-
message: '
|
|
447
|
+
name: 'membershipDefaultsTableName',
|
|
448
|
+
message: 'membershipDefaultsTableName',
|
|
449
449
|
required: false,
|
|
450
450
|
skipPrompt: true,
|
|
451
451
|
},
|
|
452
452
|
{
|
|
453
453
|
type: 'text',
|
|
454
|
-
name: '
|
|
455
|
-
message: '
|
|
454
|
+
name: 'membershipSettingsTableId',
|
|
455
|
+
message: 'membershipSettingsTableId',
|
|
456
456
|
required: false,
|
|
457
457
|
skipPrompt: true,
|
|
458
458
|
},
|
|
459
459
|
{
|
|
460
460
|
type: 'text',
|
|
461
|
-
name: '
|
|
462
|
-
message: '
|
|
461
|
+
name: 'membershipSettingsTableName',
|
|
462
|
+
message: 'membershipSettingsTableName',
|
|
463
463
|
required: false,
|
|
464
464
|
skipPrompt: true,
|
|
465
465
|
},
|
|
466
466
|
{
|
|
467
467
|
type: 'text',
|
|
468
|
-
name: '
|
|
469
|
-
message: '
|
|
468
|
+
name: 'membershipsTableId',
|
|
469
|
+
message: 'membershipsTableId',
|
|
470
470
|
required: false,
|
|
471
471
|
skipPrompt: true,
|
|
472
472
|
},
|
|
473
473
|
{
|
|
474
474
|
type: 'text',
|
|
475
|
-
name: '
|
|
476
|
-
message: '
|
|
475
|
+
name: 'membershipsTableName',
|
|
476
|
+
message: 'membershipsTableName',
|
|
477
477
|
required: false,
|
|
478
478
|
skipPrompt: true,
|
|
479
479
|
},
|
|
480
480
|
{
|
|
481
481
|
type: 'text',
|
|
482
|
-
name: '
|
|
483
|
-
message: '
|
|
482
|
+
name: 'ownerGrantsTableId',
|
|
483
|
+
message: 'ownerGrantsTableId',
|
|
484
484
|
required: false,
|
|
485
485
|
skipPrompt: true,
|
|
486
486
|
},
|
|
487
487
|
{
|
|
488
488
|
type: 'text',
|
|
489
|
-
name: '
|
|
490
|
-
message: '
|
|
489
|
+
name: 'ownerGrantsTableName',
|
|
490
|
+
message: 'ownerGrantsTableName',
|
|
491
491
|
required: false,
|
|
492
492
|
skipPrompt: true,
|
|
493
493
|
},
|
|
494
494
|
{
|
|
495
495
|
type: 'text',
|
|
496
|
-
name: '
|
|
497
|
-
message: '
|
|
496
|
+
name: 'permissionDefaultGrantsTableId',
|
|
497
|
+
message: 'permissionDefaultGrantsTableId',
|
|
498
498
|
required: false,
|
|
499
499
|
skipPrompt: true,
|
|
500
500
|
},
|
|
501
501
|
{
|
|
502
502
|
type: 'text',
|
|
503
|
-
name: '
|
|
504
|
-
message: '
|
|
503
|
+
name: 'permissionDefaultPermissionsTableId',
|
|
504
|
+
message: 'permissionDefaultPermissionsTableId',
|
|
505
505
|
required: false,
|
|
506
506
|
skipPrompt: true,
|
|
507
507
|
},
|
|
508
508
|
{
|
|
509
509
|
type: 'text',
|
|
510
|
-
name: '
|
|
511
|
-
message: '
|
|
510
|
+
name: 'permissionsTableId',
|
|
511
|
+
message: 'permissionsTableId',
|
|
512
512
|
required: false,
|
|
513
513
|
skipPrompt: true,
|
|
514
514
|
},
|
|
515
515
|
{
|
|
516
516
|
type: 'text',
|
|
517
|
-
name: '
|
|
518
|
-
message: '
|
|
517
|
+
name: 'prefix',
|
|
518
|
+
message: 'prefix',
|
|
519
519
|
required: false,
|
|
520
520
|
skipPrompt: true,
|
|
521
521
|
},
|
|
522
522
|
{
|
|
523
523
|
type: 'text',
|
|
524
|
-
name: '
|
|
525
|
-
message: '
|
|
524
|
+
name: 'privateApiName',
|
|
525
|
+
message: 'privateApiName',
|
|
526
526
|
required: false,
|
|
527
527
|
skipPrompt: true,
|
|
528
528
|
},
|
|
529
529
|
{
|
|
530
530
|
type: 'text',
|
|
531
|
-
name: '
|
|
532
|
-
message: '
|
|
531
|
+
name: 'privateSchemaId',
|
|
532
|
+
message: 'privateSchemaId',
|
|
533
533
|
required: false,
|
|
534
534
|
skipPrompt: true,
|
|
535
535
|
},
|
|
536
536
|
{
|
|
537
537
|
type: 'text',
|
|
538
|
-
name: '
|
|
539
|
-
message: '
|
|
538
|
+
name: 'privateSchemaName',
|
|
539
|
+
message: 'privateSchemaName',
|
|
540
540
|
required: false,
|
|
541
541
|
skipPrompt: true,
|
|
542
542
|
},
|
|
543
543
|
{
|
|
544
544
|
type: 'text',
|
|
545
|
-
name: '
|
|
546
|
-
message: '
|
|
545
|
+
name: 'publicSchemaName',
|
|
546
|
+
message: 'publicSchemaName',
|
|
547
547
|
required: false,
|
|
548
548
|
skipPrompt: true,
|
|
549
549
|
},
|
|
550
550
|
{
|
|
551
551
|
type: 'text',
|
|
552
|
-
name: '
|
|
553
|
-
message: '
|
|
552
|
+
name: 'schemaId',
|
|
553
|
+
message: 'schemaId',
|
|
554
554
|
required: false,
|
|
555
555
|
skipPrompt: true,
|
|
556
556
|
},
|
|
557
557
|
{
|
|
558
558
|
type: 'text',
|
|
559
|
-
name: '
|
|
560
|
-
message: '
|
|
559
|
+
name: 'scope',
|
|
560
|
+
message: 'scope',
|
|
561
561
|
required: false,
|
|
562
562
|
skipPrompt: true,
|
|
563
563
|
},
|
|
564
564
|
{
|
|
565
565
|
type: 'text',
|
|
566
|
-
name: '
|
|
567
|
-
message: '
|
|
566
|
+
name: 'sprtTableId',
|
|
567
|
+
message: 'sprtTableId',
|
|
568
568
|
required: false,
|
|
569
569
|
skipPrompt: true,
|
|
570
570
|
},
|
|
@@ -575,91 +575,91 @@ async function handleCreate(argv, prompter) {
|
|
|
575
575
|
const result = await client.membershipsModule
|
|
576
576
|
.create({
|
|
577
577
|
data: {
|
|
578
|
+
actorMaskCheck: cleanedData.actorMaskCheck,
|
|
579
|
+
actorPermCheck: cleanedData.actorPermCheck,
|
|
580
|
+
actorTableId: cleanedData.actorTableId,
|
|
581
|
+
adminGrantsTableId: cleanedData.adminGrantsTableId,
|
|
582
|
+
adminGrantsTableName: cleanedData.adminGrantsTableName,
|
|
583
|
+
apiName: cleanedData.apiName,
|
|
578
584
|
databaseId: cleanedData.databaseId,
|
|
585
|
+
defaultLimitsTableId: cleanedData.defaultLimitsTableId,
|
|
586
|
+
defaultPermissionsTableId: cleanedData.defaultPermissionsTableId,
|
|
579
587
|
entityField: cleanedData.entityField,
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
588
|
+
entityIdsByMask: cleanedData.entityIdsByMask,
|
|
589
|
+
entityIdsByPerm: cleanedData.entityIdsByPerm,
|
|
590
|
+
entityIdsFunction: cleanedData.entityIdsFunction,
|
|
591
|
+
entityTableId: cleanedData.entityTableId,
|
|
592
|
+
entityTableOwnerId: cleanedData.entityTableOwnerId,
|
|
593
|
+
getOrgFn: cleanedData.getOrgFn,
|
|
594
|
+
grantsTableId: cleanedData.grantsTableId,
|
|
595
|
+
grantsTableName: cleanedData.grantsTableName,
|
|
596
|
+
limitsTableId: cleanedData.limitsTableId,
|
|
597
|
+
memberProfilesTableId: cleanedData.memberProfilesTableId,
|
|
586
598
|
membersTableId: cleanedData.membersTableId,
|
|
587
599
|
membersTableName: cleanedData.membersTableName,
|
|
588
600
|
membershipDefaultsTableId: cleanedData.membershipDefaultsTableId,
|
|
589
601
|
membershipDefaultsTableName: cleanedData.membershipDefaultsTableName,
|
|
590
602
|
membershipSettingsTableId: cleanedData.membershipSettingsTableId,
|
|
591
603
|
membershipSettingsTableName: cleanedData.membershipSettingsTableName,
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
actorTableId: cleanedData.actorTableId,
|
|
595
|
-
limitsTableId: cleanedData.limitsTableId,
|
|
596
|
-
defaultLimitsTableId: cleanedData.defaultLimitsTableId,
|
|
597
|
-
permissionsTableId: cleanedData.permissionsTableId,
|
|
598
|
-
defaultPermissionsTableId: cleanedData.defaultPermissionsTableId,
|
|
599
|
-
sprtTableId: cleanedData.sprtTableId,
|
|
600
|
-
adminGrantsTableId: cleanedData.adminGrantsTableId,
|
|
601
|
-
adminGrantsTableName: cleanedData.adminGrantsTableName,
|
|
604
|
+
membershipsTableId: cleanedData.membershipsTableId,
|
|
605
|
+
membershipsTableName: cleanedData.membershipsTableName,
|
|
602
606
|
ownerGrantsTableId: cleanedData.ownerGrantsTableId,
|
|
603
607
|
ownerGrantsTableName: cleanedData.ownerGrantsTableName,
|
|
604
|
-
scope: cleanedData.scope,
|
|
605
|
-
prefix: cleanedData.prefix,
|
|
606
|
-
entityTableId: cleanedData.entityTableId,
|
|
607
|
-
entityTableOwnerId: cleanedData.entityTableOwnerId,
|
|
608
|
-
getOrgFn: cleanedData.getOrgFn,
|
|
609
|
-
actorMaskCheck: cleanedData.actorMaskCheck,
|
|
610
|
-
actorPermCheck: cleanedData.actorPermCheck,
|
|
611
|
-
entityIdsByMask: cleanedData.entityIdsByMask,
|
|
612
|
-
entityIdsByPerm: cleanedData.entityIdsByPerm,
|
|
613
|
-
entityIdsFunction: cleanedData.entityIdsFunction,
|
|
614
|
-
memberProfilesTableId: cleanedData.memberProfilesTableId,
|
|
615
|
-
permissionDefaultPermissionsTableId: cleanedData.permissionDefaultPermissionsTableId,
|
|
616
608
|
permissionDefaultGrantsTableId: cleanedData.permissionDefaultGrantsTableId,
|
|
617
|
-
|
|
609
|
+
permissionDefaultPermissionsTableId: cleanedData.permissionDefaultPermissionsTableId,
|
|
610
|
+
permissionsTableId: cleanedData.permissionsTableId,
|
|
611
|
+
prefix: cleanedData.prefix,
|
|
618
612
|
privateApiName: cleanedData.privateApiName,
|
|
613
|
+
privateSchemaId: cleanedData.privateSchemaId,
|
|
614
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
615
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
616
|
+
schemaId: cleanedData.schemaId,
|
|
617
|
+
scope: cleanedData.scope,
|
|
618
|
+
sprtTableId: cleanedData.sprtTableId,
|
|
619
619
|
},
|
|
620
620
|
select: {
|
|
621
|
-
|
|
621
|
+
actorMaskCheck: true,
|
|
622
|
+
actorPermCheck: true,
|
|
623
|
+
actorTableId: true,
|
|
624
|
+
adminGrantsTableId: true,
|
|
625
|
+
adminGrantsTableName: true,
|
|
626
|
+
apiName: true,
|
|
622
627
|
databaseId: true,
|
|
628
|
+
defaultLimitsTableId: true,
|
|
629
|
+
defaultPermissionsTableId: true,
|
|
623
630
|
entityField: true,
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
631
|
+
entityIdsByMask: true,
|
|
632
|
+
entityIdsByPerm: true,
|
|
633
|
+
entityIdsFunction: true,
|
|
634
|
+
entityTableId: true,
|
|
635
|
+
entityTableOwnerId: true,
|
|
636
|
+
getOrgFn: true,
|
|
637
|
+
grantsTableId: true,
|
|
638
|
+
grantsTableName: true,
|
|
639
|
+
id: true,
|
|
640
|
+
limitsTableId: true,
|
|
641
|
+
memberProfilesTableId: true,
|
|
630
642
|
membersTableId: true,
|
|
631
643
|
membersTableName: true,
|
|
632
644
|
membershipDefaultsTableId: true,
|
|
633
645
|
membershipDefaultsTableName: true,
|
|
634
646
|
membershipSettingsTableId: true,
|
|
635
647
|
membershipSettingsTableName: true,
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
actorTableId: true,
|
|
639
|
-
limitsTableId: true,
|
|
640
|
-
defaultLimitsTableId: true,
|
|
641
|
-
permissionsTableId: true,
|
|
642
|
-
defaultPermissionsTableId: true,
|
|
643
|
-
sprtTableId: true,
|
|
644
|
-
adminGrantsTableId: true,
|
|
645
|
-
adminGrantsTableName: true,
|
|
648
|
+
membershipsTableId: true,
|
|
649
|
+
membershipsTableName: true,
|
|
646
650
|
ownerGrantsTableId: true,
|
|
647
651
|
ownerGrantsTableName: true,
|
|
648
|
-
scope: true,
|
|
649
|
-
prefix: true,
|
|
650
|
-
entityTableId: true,
|
|
651
|
-
entityTableOwnerId: true,
|
|
652
|
-
getOrgFn: true,
|
|
653
|
-
actorMaskCheck: true,
|
|
654
|
-
actorPermCheck: true,
|
|
655
|
-
entityIdsByMask: true,
|
|
656
|
-
entityIdsByPerm: true,
|
|
657
|
-
entityIdsFunction: true,
|
|
658
|
-
memberProfilesTableId: true,
|
|
659
|
-
permissionDefaultPermissionsTableId: true,
|
|
660
652
|
permissionDefaultGrantsTableId: true,
|
|
661
|
-
|
|
653
|
+
permissionDefaultPermissionsTableId: true,
|
|
654
|
+
permissionsTableId: true,
|
|
655
|
+
prefix: true,
|
|
662
656
|
privateApiName: true,
|
|
657
|
+
privateSchemaId: true,
|
|
658
|
+
privateSchemaName: true,
|
|
659
|
+
publicSchemaName: true,
|
|
660
|
+
schemaId: true,
|
|
661
|
+
scope: true,
|
|
662
|
+
sprtTableId: true,
|
|
663
663
|
},
|
|
664
664
|
})
|
|
665
665
|
.execute();
|
|
@@ -684,98 +684,112 @@ async function handleUpdate(argv, prompter) {
|
|
|
684
684
|
},
|
|
685
685
|
{
|
|
686
686
|
type: 'text',
|
|
687
|
-
name: '
|
|
688
|
-
message: '
|
|
687
|
+
name: 'actorMaskCheck',
|
|
688
|
+
message: 'actorMaskCheck',
|
|
689
689
|
required: false,
|
|
690
|
+
skipPrompt: true,
|
|
690
691
|
},
|
|
691
692
|
{
|
|
692
693
|
type: 'text',
|
|
693
|
-
name: '
|
|
694
|
-
message: '
|
|
694
|
+
name: 'actorPermCheck',
|
|
695
|
+
message: 'actorPermCheck',
|
|
695
696
|
required: false,
|
|
696
697
|
skipPrompt: true,
|
|
697
698
|
},
|
|
698
699
|
{
|
|
699
700
|
type: 'text',
|
|
700
|
-
name: '
|
|
701
|
-
message: '
|
|
701
|
+
name: 'actorTableId',
|
|
702
|
+
message: 'actorTableId',
|
|
702
703
|
required: false,
|
|
703
704
|
skipPrompt: true,
|
|
704
705
|
},
|
|
705
706
|
{
|
|
706
707
|
type: 'text',
|
|
707
|
-
name: '
|
|
708
|
-
message: '
|
|
708
|
+
name: 'adminGrantsTableId',
|
|
709
|
+
message: 'adminGrantsTableId',
|
|
709
710
|
required: false,
|
|
710
711
|
skipPrompt: true,
|
|
711
712
|
},
|
|
712
713
|
{
|
|
713
714
|
type: 'text',
|
|
714
|
-
name: '
|
|
715
|
-
message: '
|
|
715
|
+
name: 'adminGrantsTableName',
|
|
716
|
+
message: 'adminGrantsTableName',
|
|
717
|
+
required: false,
|
|
718
|
+
skipPrompt: true,
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
type: 'text',
|
|
722
|
+
name: 'apiName',
|
|
723
|
+
message: 'apiName',
|
|
716
724
|
required: false,
|
|
717
725
|
skipPrompt: true,
|
|
718
726
|
},
|
|
719
727
|
{
|
|
720
728
|
type: 'text',
|
|
721
|
-
name: '
|
|
722
|
-
message: '
|
|
729
|
+
name: 'databaseId',
|
|
730
|
+
message: 'databaseId',
|
|
731
|
+
required: false,
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
type: 'text',
|
|
735
|
+
name: 'defaultLimitsTableId',
|
|
736
|
+
message: 'defaultLimitsTableId',
|
|
723
737
|
required: false,
|
|
724
738
|
skipPrompt: true,
|
|
725
739
|
},
|
|
726
740
|
{
|
|
727
741
|
type: 'text',
|
|
728
|
-
name: '
|
|
729
|
-
message: '
|
|
742
|
+
name: 'defaultPermissionsTableId',
|
|
743
|
+
message: 'defaultPermissionsTableId',
|
|
730
744
|
required: false,
|
|
731
745
|
skipPrompt: true,
|
|
732
746
|
},
|
|
733
747
|
{
|
|
734
748
|
type: 'text',
|
|
735
|
-
name: '
|
|
736
|
-
message: '
|
|
749
|
+
name: 'entityField',
|
|
750
|
+
message: 'entityField',
|
|
737
751
|
required: false,
|
|
738
752
|
skipPrompt: true,
|
|
739
753
|
},
|
|
740
754
|
{
|
|
741
755
|
type: 'text',
|
|
742
|
-
name: '
|
|
743
|
-
message: '
|
|
756
|
+
name: 'entityIdsByMask',
|
|
757
|
+
message: 'entityIdsByMask',
|
|
744
758
|
required: false,
|
|
745
759
|
skipPrompt: true,
|
|
746
760
|
},
|
|
747
761
|
{
|
|
748
762
|
type: 'text',
|
|
749
|
-
name: '
|
|
750
|
-
message: '
|
|
763
|
+
name: 'entityIdsByPerm',
|
|
764
|
+
message: 'entityIdsByPerm',
|
|
751
765
|
required: false,
|
|
752
766
|
skipPrompt: true,
|
|
753
767
|
},
|
|
754
768
|
{
|
|
755
769
|
type: 'text',
|
|
756
|
-
name: '
|
|
757
|
-
message: '
|
|
770
|
+
name: 'entityIdsFunction',
|
|
771
|
+
message: 'entityIdsFunction',
|
|
758
772
|
required: false,
|
|
759
773
|
skipPrompt: true,
|
|
760
774
|
},
|
|
761
775
|
{
|
|
762
776
|
type: 'text',
|
|
763
|
-
name: '
|
|
764
|
-
message: '
|
|
777
|
+
name: 'entityTableId',
|
|
778
|
+
message: 'entityTableId',
|
|
765
779
|
required: false,
|
|
766
780
|
skipPrompt: true,
|
|
767
781
|
},
|
|
768
782
|
{
|
|
769
783
|
type: 'text',
|
|
770
|
-
name: '
|
|
771
|
-
message: '
|
|
784
|
+
name: 'entityTableOwnerId',
|
|
785
|
+
message: 'entityTableOwnerId',
|
|
772
786
|
required: false,
|
|
773
787
|
skipPrompt: true,
|
|
774
788
|
},
|
|
775
789
|
{
|
|
776
790
|
type: 'text',
|
|
777
|
-
name: '
|
|
778
|
-
message: '
|
|
791
|
+
name: 'getOrgFn',
|
|
792
|
+
message: 'getOrgFn',
|
|
779
793
|
required: false,
|
|
780
794
|
skipPrompt: true,
|
|
781
795
|
},
|
|
@@ -793,13 +807,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
793
807
|
required: false,
|
|
794
808
|
skipPrompt: true,
|
|
795
809
|
},
|
|
796
|
-
{
|
|
797
|
-
type: 'text',
|
|
798
|
-
name: 'actorTableId',
|
|
799
|
-
message: 'actorTableId',
|
|
800
|
-
required: false,
|
|
801
|
-
skipPrompt: true,
|
|
802
|
-
},
|
|
803
810
|
{
|
|
804
811
|
type: 'text',
|
|
805
812
|
name: 'limitsTableId',
|
|
@@ -809,162 +816,155 @@ async function handleUpdate(argv, prompter) {
|
|
|
809
816
|
},
|
|
810
817
|
{
|
|
811
818
|
type: 'text',
|
|
812
|
-
name: '
|
|
813
|
-
message: '
|
|
814
|
-
required: false,
|
|
815
|
-
skipPrompt: true,
|
|
816
|
-
},
|
|
817
|
-
{
|
|
818
|
-
type: 'text',
|
|
819
|
-
name: 'permissionsTableId',
|
|
820
|
-
message: 'permissionsTableId',
|
|
819
|
+
name: 'memberProfilesTableId',
|
|
820
|
+
message: 'memberProfilesTableId',
|
|
821
821
|
required: false,
|
|
822
822
|
skipPrompt: true,
|
|
823
823
|
},
|
|
824
824
|
{
|
|
825
825
|
type: 'text',
|
|
826
|
-
name: '
|
|
827
|
-
message: '
|
|
826
|
+
name: 'membersTableId',
|
|
827
|
+
message: 'membersTableId',
|
|
828
828
|
required: false,
|
|
829
829
|
skipPrompt: true,
|
|
830
830
|
},
|
|
831
831
|
{
|
|
832
832
|
type: 'text',
|
|
833
|
-
name: '
|
|
834
|
-
message: '
|
|
833
|
+
name: 'membersTableName',
|
|
834
|
+
message: 'membersTableName',
|
|
835
835
|
required: false,
|
|
836
836
|
skipPrompt: true,
|
|
837
837
|
},
|
|
838
838
|
{
|
|
839
839
|
type: 'text',
|
|
840
|
-
name: '
|
|
841
|
-
message: '
|
|
840
|
+
name: 'membershipDefaultsTableId',
|
|
841
|
+
message: 'membershipDefaultsTableId',
|
|
842
842
|
required: false,
|
|
843
843
|
skipPrompt: true,
|
|
844
844
|
},
|
|
845
845
|
{
|
|
846
846
|
type: 'text',
|
|
847
|
-
name: '
|
|
848
|
-
message: '
|
|
847
|
+
name: 'membershipDefaultsTableName',
|
|
848
|
+
message: 'membershipDefaultsTableName',
|
|
849
849
|
required: false,
|
|
850
850
|
skipPrompt: true,
|
|
851
851
|
},
|
|
852
852
|
{
|
|
853
853
|
type: 'text',
|
|
854
|
-
name: '
|
|
855
|
-
message: '
|
|
854
|
+
name: 'membershipSettingsTableId',
|
|
855
|
+
message: 'membershipSettingsTableId',
|
|
856
856
|
required: false,
|
|
857
857
|
skipPrompt: true,
|
|
858
858
|
},
|
|
859
859
|
{
|
|
860
860
|
type: 'text',
|
|
861
|
-
name: '
|
|
862
|
-
message: '
|
|
861
|
+
name: 'membershipSettingsTableName',
|
|
862
|
+
message: 'membershipSettingsTableName',
|
|
863
863
|
required: false,
|
|
864
864
|
skipPrompt: true,
|
|
865
865
|
},
|
|
866
866
|
{
|
|
867
867
|
type: 'text',
|
|
868
|
-
name: '
|
|
869
|
-
message: '
|
|
868
|
+
name: 'membershipsTableId',
|
|
869
|
+
message: 'membershipsTableId',
|
|
870
870
|
required: false,
|
|
871
871
|
skipPrompt: true,
|
|
872
872
|
},
|
|
873
873
|
{
|
|
874
874
|
type: 'text',
|
|
875
|
-
name: '
|
|
876
|
-
message: '
|
|
875
|
+
name: 'membershipsTableName',
|
|
876
|
+
message: 'membershipsTableName',
|
|
877
877
|
required: false,
|
|
878
878
|
skipPrompt: true,
|
|
879
879
|
},
|
|
880
880
|
{
|
|
881
881
|
type: 'text',
|
|
882
|
-
name: '
|
|
883
|
-
message: '
|
|
882
|
+
name: 'ownerGrantsTableId',
|
|
883
|
+
message: 'ownerGrantsTableId',
|
|
884
884
|
required: false,
|
|
885
885
|
skipPrompt: true,
|
|
886
886
|
},
|
|
887
887
|
{
|
|
888
888
|
type: 'text',
|
|
889
|
-
name: '
|
|
890
|
-
message: '
|
|
889
|
+
name: 'ownerGrantsTableName',
|
|
890
|
+
message: 'ownerGrantsTableName',
|
|
891
891
|
required: false,
|
|
892
892
|
skipPrompt: true,
|
|
893
893
|
},
|
|
894
894
|
{
|
|
895
895
|
type: 'text',
|
|
896
|
-
name: '
|
|
897
|
-
message: '
|
|
896
|
+
name: 'permissionDefaultGrantsTableId',
|
|
897
|
+
message: 'permissionDefaultGrantsTableId',
|
|
898
898
|
required: false,
|
|
899
899
|
skipPrompt: true,
|
|
900
900
|
},
|
|
901
901
|
{
|
|
902
902
|
type: 'text',
|
|
903
|
-
name: '
|
|
904
|
-
message: '
|
|
903
|
+
name: 'permissionDefaultPermissionsTableId',
|
|
904
|
+
message: 'permissionDefaultPermissionsTableId',
|
|
905
905
|
required: false,
|
|
906
906
|
skipPrompt: true,
|
|
907
907
|
},
|
|
908
908
|
{
|
|
909
909
|
type: 'text',
|
|
910
|
-
name: '
|
|
911
|
-
message: '
|
|
910
|
+
name: 'permissionsTableId',
|
|
911
|
+
message: 'permissionsTableId',
|
|
912
912
|
required: false,
|
|
913
913
|
skipPrompt: true,
|
|
914
914
|
},
|
|
915
915
|
{
|
|
916
916
|
type: 'text',
|
|
917
|
-
name: '
|
|
918
|
-
message: '
|
|
917
|
+
name: 'prefix',
|
|
918
|
+
message: 'prefix',
|
|
919
919
|
required: false,
|
|
920
920
|
skipPrompt: true,
|
|
921
921
|
},
|
|
922
922
|
{
|
|
923
923
|
type: 'text',
|
|
924
|
-
name: '
|
|
925
|
-
message: '
|
|
924
|
+
name: 'privateApiName',
|
|
925
|
+
message: 'privateApiName',
|
|
926
926
|
required: false,
|
|
927
927
|
skipPrompt: true,
|
|
928
928
|
},
|
|
929
929
|
{
|
|
930
930
|
type: 'text',
|
|
931
|
-
name: '
|
|
932
|
-
message: '
|
|
931
|
+
name: 'privateSchemaId',
|
|
932
|
+
message: 'privateSchemaId',
|
|
933
933
|
required: false,
|
|
934
934
|
skipPrompt: true,
|
|
935
935
|
},
|
|
936
936
|
{
|
|
937
937
|
type: 'text',
|
|
938
|
-
name: '
|
|
939
|
-
message: '
|
|
938
|
+
name: 'privateSchemaName',
|
|
939
|
+
message: 'privateSchemaName',
|
|
940
940
|
required: false,
|
|
941
941
|
skipPrompt: true,
|
|
942
942
|
},
|
|
943
943
|
{
|
|
944
944
|
type: 'text',
|
|
945
|
-
name: '
|
|
946
|
-
message: '
|
|
945
|
+
name: 'publicSchemaName',
|
|
946
|
+
message: 'publicSchemaName',
|
|
947
947
|
required: false,
|
|
948
948
|
skipPrompt: true,
|
|
949
949
|
},
|
|
950
950
|
{
|
|
951
951
|
type: 'text',
|
|
952
|
-
name: '
|
|
953
|
-
message: '
|
|
952
|
+
name: 'schemaId',
|
|
953
|
+
message: 'schemaId',
|
|
954
954
|
required: false,
|
|
955
955
|
skipPrompt: true,
|
|
956
956
|
},
|
|
957
957
|
{
|
|
958
958
|
type: 'text',
|
|
959
|
-
name: '
|
|
960
|
-
message: '
|
|
959
|
+
name: 'scope',
|
|
960
|
+
message: 'scope',
|
|
961
961
|
required: false,
|
|
962
962
|
skipPrompt: true,
|
|
963
963
|
},
|
|
964
964
|
{
|
|
965
965
|
type: 'text',
|
|
966
|
-
name: '
|
|
967
|
-
message: '
|
|
966
|
+
name: 'sprtTableId',
|
|
967
|
+
message: 'sprtTableId',
|
|
968
968
|
required: false,
|
|
969
969
|
skipPrompt: true,
|
|
970
970
|
},
|
|
@@ -978,91 +978,91 @@ async function handleUpdate(argv, prompter) {
|
|
|
978
978
|
id: answers.id,
|
|
979
979
|
},
|
|
980
980
|
data: {
|
|
981
|
+
actorMaskCheck: cleanedData.actorMaskCheck,
|
|
982
|
+
actorPermCheck: cleanedData.actorPermCheck,
|
|
983
|
+
actorTableId: cleanedData.actorTableId,
|
|
984
|
+
adminGrantsTableId: cleanedData.adminGrantsTableId,
|
|
985
|
+
adminGrantsTableName: cleanedData.adminGrantsTableName,
|
|
986
|
+
apiName: cleanedData.apiName,
|
|
981
987
|
databaseId: cleanedData.databaseId,
|
|
988
|
+
defaultLimitsTableId: cleanedData.defaultLimitsTableId,
|
|
989
|
+
defaultPermissionsTableId: cleanedData.defaultPermissionsTableId,
|
|
982
990
|
entityField: cleanedData.entityField,
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
991
|
+
entityIdsByMask: cleanedData.entityIdsByMask,
|
|
992
|
+
entityIdsByPerm: cleanedData.entityIdsByPerm,
|
|
993
|
+
entityIdsFunction: cleanedData.entityIdsFunction,
|
|
994
|
+
entityTableId: cleanedData.entityTableId,
|
|
995
|
+
entityTableOwnerId: cleanedData.entityTableOwnerId,
|
|
996
|
+
getOrgFn: cleanedData.getOrgFn,
|
|
997
|
+
grantsTableId: cleanedData.grantsTableId,
|
|
998
|
+
grantsTableName: cleanedData.grantsTableName,
|
|
999
|
+
limitsTableId: cleanedData.limitsTableId,
|
|
1000
|
+
memberProfilesTableId: cleanedData.memberProfilesTableId,
|
|
989
1001
|
membersTableId: cleanedData.membersTableId,
|
|
990
1002
|
membersTableName: cleanedData.membersTableName,
|
|
991
1003
|
membershipDefaultsTableId: cleanedData.membershipDefaultsTableId,
|
|
992
1004
|
membershipDefaultsTableName: cleanedData.membershipDefaultsTableName,
|
|
993
1005
|
membershipSettingsTableId: cleanedData.membershipSettingsTableId,
|
|
994
1006
|
membershipSettingsTableName: cleanedData.membershipSettingsTableName,
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
actorTableId: cleanedData.actorTableId,
|
|
998
|
-
limitsTableId: cleanedData.limitsTableId,
|
|
999
|
-
defaultLimitsTableId: cleanedData.defaultLimitsTableId,
|
|
1000
|
-
permissionsTableId: cleanedData.permissionsTableId,
|
|
1001
|
-
defaultPermissionsTableId: cleanedData.defaultPermissionsTableId,
|
|
1002
|
-
sprtTableId: cleanedData.sprtTableId,
|
|
1003
|
-
adminGrantsTableId: cleanedData.adminGrantsTableId,
|
|
1004
|
-
adminGrantsTableName: cleanedData.adminGrantsTableName,
|
|
1007
|
+
membershipsTableId: cleanedData.membershipsTableId,
|
|
1008
|
+
membershipsTableName: cleanedData.membershipsTableName,
|
|
1005
1009
|
ownerGrantsTableId: cleanedData.ownerGrantsTableId,
|
|
1006
1010
|
ownerGrantsTableName: cleanedData.ownerGrantsTableName,
|
|
1007
|
-
scope: cleanedData.scope,
|
|
1008
|
-
prefix: cleanedData.prefix,
|
|
1009
|
-
entityTableId: cleanedData.entityTableId,
|
|
1010
|
-
entityTableOwnerId: cleanedData.entityTableOwnerId,
|
|
1011
|
-
getOrgFn: cleanedData.getOrgFn,
|
|
1012
|
-
actorMaskCheck: cleanedData.actorMaskCheck,
|
|
1013
|
-
actorPermCheck: cleanedData.actorPermCheck,
|
|
1014
|
-
entityIdsByMask: cleanedData.entityIdsByMask,
|
|
1015
|
-
entityIdsByPerm: cleanedData.entityIdsByPerm,
|
|
1016
|
-
entityIdsFunction: cleanedData.entityIdsFunction,
|
|
1017
|
-
memberProfilesTableId: cleanedData.memberProfilesTableId,
|
|
1018
|
-
permissionDefaultPermissionsTableId: cleanedData.permissionDefaultPermissionsTableId,
|
|
1019
1011
|
permissionDefaultGrantsTableId: cleanedData.permissionDefaultGrantsTableId,
|
|
1020
|
-
|
|
1012
|
+
permissionDefaultPermissionsTableId: cleanedData.permissionDefaultPermissionsTableId,
|
|
1013
|
+
permissionsTableId: cleanedData.permissionsTableId,
|
|
1014
|
+
prefix: cleanedData.prefix,
|
|
1021
1015
|
privateApiName: cleanedData.privateApiName,
|
|
1016
|
+
privateSchemaId: cleanedData.privateSchemaId,
|
|
1017
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
1018
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
1019
|
+
schemaId: cleanedData.schemaId,
|
|
1020
|
+
scope: cleanedData.scope,
|
|
1021
|
+
sprtTableId: cleanedData.sprtTableId,
|
|
1022
1022
|
},
|
|
1023
1023
|
select: {
|
|
1024
|
-
|
|
1024
|
+
actorMaskCheck: true,
|
|
1025
|
+
actorPermCheck: true,
|
|
1026
|
+
actorTableId: true,
|
|
1027
|
+
adminGrantsTableId: true,
|
|
1028
|
+
adminGrantsTableName: true,
|
|
1029
|
+
apiName: true,
|
|
1025
1030
|
databaseId: true,
|
|
1031
|
+
defaultLimitsTableId: true,
|
|
1032
|
+
defaultPermissionsTableId: true,
|
|
1026
1033
|
entityField: true,
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1034
|
+
entityIdsByMask: true,
|
|
1035
|
+
entityIdsByPerm: true,
|
|
1036
|
+
entityIdsFunction: true,
|
|
1037
|
+
entityTableId: true,
|
|
1038
|
+
entityTableOwnerId: true,
|
|
1039
|
+
getOrgFn: true,
|
|
1040
|
+
grantsTableId: true,
|
|
1041
|
+
grantsTableName: true,
|
|
1042
|
+
id: true,
|
|
1043
|
+
limitsTableId: true,
|
|
1044
|
+
memberProfilesTableId: true,
|
|
1033
1045
|
membersTableId: true,
|
|
1034
1046
|
membersTableName: true,
|
|
1035
1047
|
membershipDefaultsTableId: true,
|
|
1036
1048
|
membershipDefaultsTableName: true,
|
|
1037
1049
|
membershipSettingsTableId: true,
|
|
1038
1050
|
membershipSettingsTableName: true,
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
actorTableId: true,
|
|
1042
|
-
limitsTableId: true,
|
|
1043
|
-
defaultLimitsTableId: true,
|
|
1044
|
-
permissionsTableId: true,
|
|
1045
|
-
defaultPermissionsTableId: true,
|
|
1046
|
-
sprtTableId: true,
|
|
1047
|
-
adminGrantsTableId: true,
|
|
1048
|
-
adminGrantsTableName: true,
|
|
1051
|
+
membershipsTableId: true,
|
|
1052
|
+
membershipsTableName: true,
|
|
1049
1053
|
ownerGrantsTableId: true,
|
|
1050
1054
|
ownerGrantsTableName: true,
|
|
1051
|
-
scope: true,
|
|
1052
|
-
prefix: true,
|
|
1053
|
-
entityTableId: true,
|
|
1054
|
-
entityTableOwnerId: true,
|
|
1055
|
-
getOrgFn: true,
|
|
1056
|
-
actorMaskCheck: true,
|
|
1057
|
-
actorPermCheck: true,
|
|
1058
|
-
entityIdsByMask: true,
|
|
1059
|
-
entityIdsByPerm: true,
|
|
1060
|
-
entityIdsFunction: true,
|
|
1061
|
-
memberProfilesTableId: true,
|
|
1062
|
-
permissionDefaultPermissionsTableId: true,
|
|
1063
1055
|
permissionDefaultGrantsTableId: true,
|
|
1064
|
-
|
|
1056
|
+
permissionDefaultPermissionsTableId: true,
|
|
1057
|
+
permissionsTableId: true,
|
|
1058
|
+
prefix: true,
|
|
1065
1059
|
privateApiName: true,
|
|
1060
|
+
privateSchemaId: true,
|
|
1061
|
+
privateSchemaName: true,
|
|
1062
|
+
publicSchemaName: true,
|
|
1063
|
+
schemaId: true,
|
|
1064
|
+
scope: true,
|
|
1065
|
+
sprtTableId: true,
|
|
1066
1066
|
},
|
|
1067
1067
|
})
|
|
1068
1068
|
.execute();
|