@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
|
@@ -7,48 +7,48 @@ import { extractFirst } from 'inquirerer';
|
|
|
7
7
|
import { getClient } from '../executor';
|
|
8
8
|
import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from '../utils';
|
|
9
9
|
const fieldSchema = {
|
|
10
|
-
|
|
10
|
+
actorMaskCheck: 'string',
|
|
11
|
+
actorPermCheck: 'string',
|
|
12
|
+
actorTableId: 'uuid',
|
|
13
|
+
adminGrantsTableId: 'uuid',
|
|
14
|
+
adminGrantsTableName: 'string',
|
|
15
|
+
apiName: 'string',
|
|
11
16
|
databaseId: 'uuid',
|
|
17
|
+
defaultLimitsTableId: 'uuid',
|
|
18
|
+
defaultPermissionsTableId: 'uuid',
|
|
12
19
|
entityField: 'string',
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
20
|
+
entityIdsByMask: 'string',
|
|
21
|
+
entityIdsByPerm: 'string',
|
|
22
|
+
entityIdsFunction: 'string',
|
|
23
|
+
entityTableId: 'uuid',
|
|
24
|
+
entityTableOwnerId: 'uuid',
|
|
25
|
+
getOrgFn: 'string',
|
|
26
|
+
grantsTableId: 'uuid',
|
|
27
|
+
grantsTableName: 'string',
|
|
28
|
+
id: 'uuid',
|
|
29
|
+
limitsTableId: 'uuid',
|
|
30
|
+
memberProfilesTableId: 'uuid',
|
|
19
31
|
membersTableId: 'uuid',
|
|
20
32
|
membersTableName: 'string',
|
|
21
33
|
membershipDefaultsTableId: 'uuid',
|
|
22
34
|
membershipDefaultsTableName: 'string',
|
|
23
35
|
membershipSettingsTableId: 'uuid',
|
|
24
36
|
membershipSettingsTableName: 'string',
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
actorTableId: 'uuid',
|
|
28
|
-
limitsTableId: 'uuid',
|
|
29
|
-
defaultLimitsTableId: 'uuid',
|
|
30
|
-
permissionsTableId: 'uuid',
|
|
31
|
-
defaultPermissionsTableId: 'uuid',
|
|
32
|
-
sprtTableId: 'uuid',
|
|
33
|
-
adminGrantsTableId: 'uuid',
|
|
34
|
-
adminGrantsTableName: 'string',
|
|
37
|
+
membershipsTableId: 'uuid',
|
|
38
|
+
membershipsTableName: 'string',
|
|
35
39
|
ownerGrantsTableId: 'uuid',
|
|
36
40
|
ownerGrantsTableName: 'string',
|
|
37
|
-
scope: 'string',
|
|
38
|
-
prefix: 'string',
|
|
39
|
-
entityTableId: 'uuid',
|
|
40
|
-
entityTableOwnerId: 'uuid',
|
|
41
|
-
getOrgFn: 'string',
|
|
42
|
-
actorMaskCheck: 'string',
|
|
43
|
-
actorPermCheck: 'string',
|
|
44
|
-
entityIdsByMask: 'string',
|
|
45
|
-
entityIdsByPerm: 'string',
|
|
46
|
-
entityIdsFunction: 'string',
|
|
47
|
-
memberProfilesTableId: 'uuid',
|
|
48
|
-
permissionDefaultPermissionsTableId: 'uuid',
|
|
49
41
|
permissionDefaultGrantsTableId: 'uuid',
|
|
50
|
-
|
|
42
|
+
permissionDefaultPermissionsTableId: 'uuid',
|
|
43
|
+
permissionsTableId: 'uuid',
|
|
44
|
+
prefix: 'string',
|
|
51
45
|
privateApiName: 'string',
|
|
46
|
+
privateSchemaId: 'uuid',
|
|
47
|
+
privateSchemaName: 'string',
|
|
48
|
+
publicSchemaName: 'string',
|
|
49
|
+
schemaId: 'uuid',
|
|
50
|
+
scope: 'string',
|
|
51
|
+
sprtTableId: 'uuid',
|
|
52
52
|
};
|
|
53
53
|
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';
|
|
54
54
|
export default async (argv, prompter, _options) => {
|
|
@@ -92,48 +92,48 @@ async function handleTableSubcommand(subcommand, argv, prompter) {
|
|
|
92
92
|
async function handleList(argv, _prompter) {
|
|
93
93
|
try {
|
|
94
94
|
const defaultSelect = {
|
|
95
|
-
|
|
95
|
+
actorMaskCheck: true,
|
|
96
|
+
actorPermCheck: true,
|
|
97
|
+
actorTableId: true,
|
|
98
|
+
adminGrantsTableId: true,
|
|
99
|
+
adminGrantsTableName: true,
|
|
100
|
+
apiName: true,
|
|
96
101
|
databaseId: true,
|
|
102
|
+
defaultLimitsTableId: true,
|
|
103
|
+
defaultPermissionsTableId: true,
|
|
97
104
|
entityField: true,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
105
|
+
entityIdsByMask: true,
|
|
106
|
+
entityIdsByPerm: true,
|
|
107
|
+
entityIdsFunction: true,
|
|
108
|
+
entityTableId: true,
|
|
109
|
+
entityTableOwnerId: true,
|
|
110
|
+
getOrgFn: true,
|
|
111
|
+
grantsTableId: true,
|
|
112
|
+
grantsTableName: true,
|
|
113
|
+
id: true,
|
|
114
|
+
limitsTableId: true,
|
|
115
|
+
memberProfilesTableId: true,
|
|
104
116
|
membersTableId: true,
|
|
105
117
|
membersTableName: true,
|
|
106
118
|
membershipDefaultsTableId: true,
|
|
107
119
|
membershipDefaultsTableName: true,
|
|
108
120
|
membershipSettingsTableId: true,
|
|
109
121
|
membershipSettingsTableName: true,
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
actorTableId: true,
|
|
113
|
-
limitsTableId: true,
|
|
114
|
-
defaultLimitsTableId: true,
|
|
115
|
-
permissionsTableId: true,
|
|
116
|
-
defaultPermissionsTableId: true,
|
|
117
|
-
sprtTableId: true,
|
|
118
|
-
adminGrantsTableId: true,
|
|
119
|
-
adminGrantsTableName: true,
|
|
122
|
+
membershipsTableId: true,
|
|
123
|
+
membershipsTableName: true,
|
|
120
124
|
ownerGrantsTableId: true,
|
|
121
125
|
ownerGrantsTableName: true,
|
|
122
|
-
scope: true,
|
|
123
|
-
prefix: true,
|
|
124
|
-
entityTableId: true,
|
|
125
|
-
entityTableOwnerId: true,
|
|
126
|
-
getOrgFn: true,
|
|
127
|
-
actorMaskCheck: true,
|
|
128
|
-
actorPermCheck: true,
|
|
129
|
-
entityIdsByMask: true,
|
|
130
|
-
entityIdsByPerm: true,
|
|
131
|
-
entityIdsFunction: true,
|
|
132
|
-
memberProfilesTableId: true,
|
|
133
|
-
permissionDefaultPermissionsTableId: true,
|
|
134
126
|
permissionDefaultGrantsTableId: true,
|
|
135
|
-
|
|
127
|
+
permissionDefaultPermissionsTableId: true,
|
|
128
|
+
permissionsTableId: true,
|
|
129
|
+
prefix: true,
|
|
136
130
|
privateApiName: true,
|
|
131
|
+
privateSchemaId: true,
|
|
132
|
+
privateSchemaName: true,
|
|
133
|
+
publicSchemaName: true,
|
|
134
|
+
schemaId: true,
|
|
135
|
+
scope: true,
|
|
136
|
+
sprtTableId: true,
|
|
137
137
|
};
|
|
138
138
|
const findManyArgs = parseFindManyArgs(argv, defaultSelect);
|
|
139
139
|
const client = getClient();
|
|
@@ -151,48 +151,48 @@ async function handleList(argv, _prompter) {
|
|
|
151
151
|
async function handleFindFirst(argv, _prompter) {
|
|
152
152
|
try {
|
|
153
153
|
const defaultSelect = {
|
|
154
|
-
|
|
154
|
+
actorMaskCheck: true,
|
|
155
|
+
actorPermCheck: true,
|
|
156
|
+
actorTableId: true,
|
|
157
|
+
adminGrantsTableId: true,
|
|
158
|
+
adminGrantsTableName: true,
|
|
159
|
+
apiName: true,
|
|
155
160
|
databaseId: true,
|
|
161
|
+
defaultLimitsTableId: true,
|
|
162
|
+
defaultPermissionsTableId: true,
|
|
156
163
|
entityField: true,
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
164
|
+
entityIdsByMask: true,
|
|
165
|
+
entityIdsByPerm: true,
|
|
166
|
+
entityIdsFunction: true,
|
|
167
|
+
entityTableId: true,
|
|
168
|
+
entityTableOwnerId: true,
|
|
169
|
+
getOrgFn: true,
|
|
170
|
+
grantsTableId: true,
|
|
171
|
+
grantsTableName: true,
|
|
172
|
+
id: true,
|
|
173
|
+
limitsTableId: true,
|
|
174
|
+
memberProfilesTableId: true,
|
|
163
175
|
membersTableId: true,
|
|
164
176
|
membersTableName: true,
|
|
165
177
|
membershipDefaultsTableId: true,
|
|
166
178
|
membershipDefaultsTableName: true,
|
|
167
179
|
membershipSettingsTableId: true,
|
|
168
180
|
membershipSettingsTableName: true,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
actorTableId: true,
|
|
172
|
-
limitsTableId: true,
|
|
173
|
-
defaultLimitsTableId: true,
|
|
174
|
-
permissionsTableId: true,
|
|
175
|
-
defaultPermissionsTableId: true,
|
|
176
|
-
sprtTableId: true,
|
|
177
|
-
adminGrantsTableId: true,
|
|
178
|
-
adminGrantsTableName: true,
|
|
181
|
+
membershipsTableId: true,
|
|
182
|
+
membershipsTableName: true,
|
|
179
183
|
ownerGrantsTableId: true,
|
|
180
184
|
ownerGrantsTableName: true,
|
|
181
|
-
scope: true,
|
|
182
|
-
prefix: true,
|
|
183
|
-
entityTableId: true,
|
|
184
|
-
entityTableOwnerId: true,
|
|
185
|
-
getOrgFn: true,
|
|
186
|
-
actorMaskCheck: true,
|
|
187
|
-
actorPermCheck: true,
|
|
188
|
-
entityIdsByMask: true,
|
|
189
|
-
entityIdsByPerm: true,
|
|
190
|
-
entityIdsFunction: true,
|
|
191
|
-
memberProfilesTableId: true,
|
|
192
|
-
permissionDefaultPermissionsTableId: true,
|
|
193
185
|
permissionDefaultGrantsTableId: true,
|
|
194
|
-
|
|
186
|
+
permissionDefaultPermissionsTableId: true,
|
|
187
|
+
permissionsTableId: true,
|
|
188
|
+
prefix: true,
|
|
195
189
|
privateApiName: true,
|
|
190
|
+
privateSchemaId: true,
|
|
191
|
+
privateSchemaName: true,
|
|
192
|
+
publicSchemaName: true,
|
|
193
|
+
schemaId: true,
|
|
194
|
+
scope: true,
|
|
195
|
+
sprtTableId: true,
|
|
196
196
|
};
|
|
197
197
|
const findFirstArgs = parseFindFirstArgs(argv, defaultSelect);
|
|
198
198
|
const client = getClient();
|
|
@@ -222,48 +222,48 @@ async function handleGet(argv, prompter) {
|
|
|
222
222
|
.findOne({
|
|
223
223
|
id: answers.id,
|
|
224
224
|
select: {
|
|
225
|
-
|
|
225
|
+
actorMaskCheck: true,
|
|
226
|
+
actorPermCheck: true,
|
|
227
|
+
actorTableId: true,
|
|
228
|
+
adminGrantsTableId: true,
|
|
229
|
+
adminGrantsTableName: true,
|
|
230
|
+
apiName: true,
|
|
226
231
|
databaseId: true,
|
|
232
|
+
defaultLimitsTableId: true,
|
|
233
|
+
defaultPermissionsTableId: true,
|
|
227
234
|
entityField: true,
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
235
|
+
entityIdsByMask: true,
|
|
236
|
+
entityIdsByPerm: true,
|
|
237
|
+
entityIdsFunction: true,
|
|
238
|
+
entityTableId: true,
|
|
239
|
+
entityTableOwnerId: true,
|
|
240
|
+
getOrgFn: true,
|
|
241
|
+
grantsTableId: true,
|
|
242
|
+
grantsTableName: true,
|
|
243
|
+
id: true,
|
|
244
|
+
limitsTableId: true,
|
|
245
|
+
memberProfilesTableId: true,
|
|
234
246
|
membersTableId: true,
|
|
235
247
|
membersTableName: true,
|
|
236
248
|
membershipDefaultsTableId: true,
|
|
237
249
|
membershipDefaultsTableName: true,
|
|
238
250
|
membershipSettingsTableId: true,
|
|
239
251
|
membershipSettingsTableName: true,
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
actorTableId: true,
|
|
243
|
-
limitsTableId: true,
|
|
244
|
-
defaultLimitsTableId: true,
|
|
245
|
-
permissionsTableId: true,
|
|
246
|
-
defaultPermissionsTableId: true,
|
|
247
|
-
sprtTableId: true,
|
|
248
|
-
adminGrantsTableId: true,
|
|
249
|
-
adminGrantsTableName: true,
|
|
252
|
+
membershipsTableId: true,
|
|
253
|
+
membershipsTableName: true,
|
|
250
254
|
ownerGrantsTableId: true,
|
|
251
255
|
ownerGrantsTableName: true,
|
|
252
|
-
scope: true,
|
|
253
|
-
prefix: true,
|
|
254
|
-
entityTableId: true,
|
|
255
|
-
entityTableOwnerId: true,
|
|
256
|
-
getOrgFn: true,
|
|
257
|
-
actorMaskCheck: true,
|
|
258
|
-
actorPermCheck: true,
|
|
259
|
-
entityIdsByMask: true,
|
|
260
|
-
entityIdsByPerm: true,
|
|
261
|
-
entityIdsFunction: true,
|
|
262
|
-
memberProfilesTableId: true,
|
|
263
|
-
permissionDefaultPermissionsTableId: true,
|
|
264
256
|
permissionDefaultGrantsTableId: true,
|
|
265
|
-
|
|
257
|
+
permissionDefaultPermissionsTableId: true,
|
|
258
|
+
permissionsTableId: true,
|
|
259
|
+
prefix: true,
|
|
266
260
|
privateApiName: true,
|
|
261
|
+
privateSchemaId: true,
|
|
262
|
+
privateSchemaName: true,
|
|
263
|
+
publicSchemaName: true,
|
|
264
|
+
schemaId: true,
|
|
265
|
+
scope: true,
|
|
266
|
+
sprtTableId: true,
|
|
267
267
|
},
|
|
268
268
|
})
|
|
269
269
|
.execute();
|
|
@@ -282,98 +282,112 @@ async function handleCreate(argv, prompter) {
|
|
|
282
282
|
const rawAnswers = await prompter.prompt(argv, [
|
|
283
283
|
{
|
|
284
284
|
type: 'text',
|
|
285
|
-
name: '
|
|
286
|
-
message: '
|
|
287
|
-
required:
|
|
285
|
+
name: 'actorMaskCheck',
|
|
286
|
+
message: 'actorMaskCheck',
|
|
287
|
+
required: false,
|
|
288
|
+
skipPrompt: true,
|
|
288
289
|
},
|
|
289
290
|
{
|
|
290
291
|
type: 'text',
|
|
291
|
-
name: '
|
|
292
|
-
message: '
|
|
292
|
+
name: 'actorPermCheck',
|
|
293
|
+
message: 'actorPermCheck',
|
|
293
294
|
required: false,
|
|
294
295
|
skipPrompt: true,
|
|
295
296
|
},
|
|
296
297
|
{
|
|
297
298
|
type: 'text',
|
|
298
|
-
name: '
|
|
299
|
-
message: '
|
|
299
|
+
name: 'actorTableId',
|
|
300
|
+
message: 'actorTableId',
|
|
300
301
|
required: false,
|
|
301
302
|
skipPrompt: true,
|
|
302
303
|
},
|
|
303
304
|
{
|
|
304
305
|
type: 'text',
|
|
305
|
-
name: '
|
|
306
|
-
message: '
|
|
306
|
+
name: 'adminGrantsTableId',
|
|
307
|
+
message: 'adminGrantsTableId',
|
|
307
308
|
required: false,
|
|
308
309
|
skipPrompt: true,
|
|
309
310
|
},
|
|
310
311
|
{
|
|
311
312
|
type: 'text',
|
|
312
|
-
name: '
|
|
313
|
-
message: '
|
|
313
|
+
name: 'adminGrantsTableName',
|
|
314
|
+
message: 'adminGrantsTableName',
|
|
314
315
|
required: false,
|
|
315
316
|
skipPrompt: true,
|
|
316
317
|
},
|
|
317
318
|
{
|
|
318
319
|
type: 'text',
|
|
319
|
-
name: '
|
|
320
|
-
message: '
|
|
320
|
+
name: 'apiName',
|
|
321
|
+
message: 'apiName',
|
|
321
322
|
required: false,
|
|
322
323
|
skipPrompt: true,
|
|
323
324
|
},
|
|
324
325
|
{
|
|
325
326
|
type: 'text',
|
|
326
|
-
name: '
|
|
327
|
-
message: '
|
|
327
|
+
name: 'databaseId',
|
|
328
|
+
message: 'databaseId',
|
|
329
|
+
required: true,
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
type: 'text',
|
|
333
|
+
name: 'defaultLimitsTableId',
|
|
334
|
+
message: 'defaultLimitsTableId',
|
|
328
335
|
required: false,
|
|
329
336
|
skipPrompt: true,
|
|
330
337
|
},
|
|
331
338
|
{
|
|
332
339
|
type: 'text',
|
|
333
|
-
name: '
|
|
334
|
-
message: '
|
|
340
|
+
name: 'defaultPermissionsTableId',
|
|
341
|
+
message: 'defaultPermissionsTableId',
|
|
335
342
|
required: false,
|
|
336
343
|
skipPrompt: true,
|
|
337
344
|
},
|
|
338
345
|
{
|
|
339
346
|
type: 'text',
|
|
340
|
-
name: '
|
|
341
|
-
message: '
|
|
347
|
+
name: 'entityField',
|
|
348
|
+
message: 'entityField',
|
|
342
349
|
required: false,
|
|
343
350
|
skipPrompt: true,
|
|
344
351
|
},
|
|
345
352
|
{
|
|
346
353
|
type: 'text',
|
|
347
|
-
name: '
|
|
348
|
-
message: '
|
|
354
|
+
name: 'entityIdsByMask',
|
|
355
|
+
message: 'entityIdsByMask',
|
|
349
356
|
required: false,
|
|
350
357
|
skipPrompt: true,
|
|
351
358
|
},
|
|
352
359
|
{
|
|
353
360
|
type: 'text',
|
|
354
|
-
name: '
|
|
355
|
-
message: '
|
|
361
|
+
name: 'entityIdsByPerm',
|
|
362
|
+
message: 'entityIdsByPerm',
|
|
356
363
|
required: false,
|
|
357
364
|
skipPrompt: true,
|
|
358
365
|
},
|
|
359
366
|
{
|
|
360
367
|
type: 'text',
|
|
361
|
-
name: '
|
|
362
|
-
message: '
|
|
368
|
+
name: 'entityIdsFunction',
|
|
369
|
+
message: 'entityIdsFunction',
|
|
363
370
|
required: false,
|
|
364
371
|
skipPrompt: true,
|
|
365
372
|
},
|
|
366
373
|
{
|
|
367
374
|
type: 'text',
|
|
368
|
-
name: '
|
|
369
|
-
message: '
|
|
375
|
+
name: 'entityTableId',
|
|
376
|
+
message: 'entityTableId',
|
|
370
377
|
required: false,
|
|
371
378
|
skipPrompt: true,
|
|
372
379
|
},
|
|
373
380
|
{
|
|
374
381
|
type: 'text',
|
|
375
|
-
name: '
|
|
376
|
-
message: '
|
|
382
|
+
name: 'entityTableOwnerId',
|
|
383
|
+
message: 'entityTableOwnerId',
|
|
384
|
+
required: false,
|
|
385
|
+
skipPrompt: true,
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
type: 'text',
|
|
389
|
+
name: 'getOrgFn',
|
|
390
|
+
message: 'getOrgFn',
|
|
377
391
|
required: false,
|
|
378
392
|
skipPrompt: true,
|
|
379
393
|
},
|
|
@@ -391,13 +405,6 @@ async function handleCreate(argv, prompter) {
|
|
|
391
405
|
required: false,
|
|
392
406
|
skipPrompt: true,
|
|
393
407
|
},
|
|
394
|
-
{
|
|
395
|
-
type: 'text',
|
|
396
|
-
name: 'actorTableId',
|
|
397
|
-
message: 'actorTableId',
|
|
398
|
-
required: false,
|
|
399
|
-
skipPrompt: true,
|
|
400
|
-
},
|
|
401
408
|
{
|
|
402
409
|
type: 'text',
|
|
403
410
|
name: 'limitsTableId',
|
|
@@ -407,162 +414,155 @@ async function handleCreate(argv, prompter) {
|
|
|
407
414
|
},
|
|
408
415
|
{
|
|
409
416
|
type: 'text',
|
|
410
|
-
name: '
|
|
411
|
-
message: '
|
|
412
|
-
required: false,
|
|
413
|
-
skipPrompt: true,
|
|
414
|
-
},
|
|
415
|
-
{
|
|
416
|
-
type: 'text',
|
|
417
|
-
name: 'permissionsTableId',
|
|
418
|
-
message: 'permissionsTableId',
|
|
417
|
+
name: 'memberProfilesTableId',
|
|
418
|
+
message: 'memberProfilesTableId',
|
|
419
419
|
required: false,
|
|
420
420
|
skipPrompt: true,
|
|
421
421
|
},
|
|
422
422
|
{
|
|
423
423
|
type: 'text',
|
|
424
|
-
name: '
|
|
425
|
-
message: '
|
|
424
|
+
name: 'membersTableId',
|
|
425
|
+
message: 'membersTableId',
|
|
426
426
|
required: false,
|
|
427
427
|
skipPrompt: true,
|
|
428
428
|
},
|
|
429
429
|
{
|
|
430
430
|
type: 'text',
|
|
431
|
-
name: '
|
|
432
|
-
message: '
|
|
431
|
+
name: 'membersTableName',
|
|
432
|
+
message: 'membersTableName',
|
|
433
433
|
required: false,
|
|
434
434
|
skipPrompt: true,
|
|
435
435
|
},
|
|
436
436
|
{
|
|
437
437
|
type: 'text',
|
|
438
|
-
name: '
|
|
439
|
-
message: '
|
|
438
|
+
name: 'membershipDefaultsTableId',
|
|
439
|
+
message: 'membershipDefaultsTableId',
|
|
440
440
|
required: false,
|
|
441
441
|
skipPrompt: true,
|
|
442
442
|
},
|
|
443
443
|
{
|
|
444
444
|
type: 'text',
|
|
445
|
-
name: '
|
|
446
|
-
message: '
|
|
445
|
+
name: 'membershipDefaultsTableName',
|
|
446
|
+
message: 'membershipDefaultsTableName',
|
|
447
447
|
required: false,
|
|
448
448
|
skipPrompt: true,
|
|
449
449
|
},
|
|
450
450
|
{
|
|
451
451
|
type: 'text',
|
|
452
|
-
name: '
|
|
453
|
-
message: '
|
|
452
|
+
name: 'membershipSettingsTableId',
|
|
453
|
+
message: 'membershipSettingsTableId',
|
|
454
454
|
required: false,
|
|
455
455
|
skipPrompt: true,
|
|
456
456
|
},
|
|
457
457
|
{
|
|
458
458
|
type: 'text',
|
|
459
|
-
name: '
|
|
460
|
-
message: '
|
|
459
|
+
name: 'membershipSettingsTableName',
|
|
460
|
+
message: 'membershipSettingsTableName',
|
|
461
461
|
required: false,
|
|
462
462
|
skipPrompt: true,
|
|
463
463
|
},
|
|
464
464
|
{
|
|
465
465
|
type: 'text',
|
|
466
|
-
name: '
|
|
467
|
-
message: '
|
|
466
|
+
name: 'membershipsTableId',
|
|
467
|
+
message: 'membershipsTableId',
|
|
468
468
|
required: false,
|
|
469
469
|
skipPrompt: true,
|
|
470
470
|
},
|
|
471
471
|
{
|
|
472
472
|
type: 'text',
|
|
473
|
-
name: '
|
|
474
|
-
message: '
|
|
473
|
+
name: 'membershipsTableName',
|
|
474
|
+
message: 'membershipsTableName',
|
|
475
475
|
required: false,
|
|
476
476
|
skipPrompt: true,
|
|
477
477
|
},
|
|
478
478
|
{
|
|
479
479
|
type: 'text',
|
|
480
|
-
name: '
|
|
481
|
-
message: '
|
|
480
|
+
name: 'ownerGrantsTableId',
|
|
481
|
+
message: 'ownerGrantsTableId',
|
|
482
482
|
required: false,
|
|
483
483
|
skipPrompt: true,
|
|
484
484
|
},
|
|
485
485
|
{
|
|
486
486
|
type: 'text',
|
|
487
|
-
name: '
|
|
488
|
-
message: '
|
|
487
|
+
name: 'ownerGrantsTableName',
|
|
488
|
+
message: 'ownerGrantsTableName',
|
|
489
489
|
required: false,
|
|
490
490
|
skipPrompt: true,
|
|
491
491
|
},
|
|
492
492
|
{
|
|
493
493
|
type: 'text',
|
|
494
|
-
name: '
|
|
495
|
-
message: '
|
|
494
|
+
name: 'permissionDefaultGrantsTableId',
|
|
495
|
+
message: 'permissionDefaultGrantsTableId',
|
|
496
496
|
required: false,
|
|
497
497
|
skipPrompt: true,
|
|
498
498
|
},
|
|
499
499
|
{
|
|
500
500
|
type: 'text',
|
|
501
|
-
name: '
|
|
502
|
-
message: '
|
|
501
|
+
name: 'permissionDefaultPermissionsTableId',
|
|
502
|
+
message: 'permissionDefaultPermissionsTableId',
|
|
503
503
|
required: false,
|
|
504
504
|
skipPrompt: true,
|
|
505
505
|
},
|
|
506
506
|
{
|
|
507
507
|
type: 'text',
|
|
508
|
-
name: '
|
|
509
|
-
message: '
|
|
508
|
+
name: 'permissionsTableId',
|
|
509
|
+
message: 'permissionsTableId',
|
|
510
510
|
required: false,
|
|
511
511
|
skipPrompt: true,
|
|
512
512
|
},
|
|
513
513
|
{
|
|
514
514
|
type: 'text',
|
|
515
|
-
name: '
|
|
516
|
-
message: '
|
|
515
|
+
name: 'prefix',
|
|
516
|
+
message: 'prefix',
|
|
517
517
|
required: false,
|
|
518
518
|
skipPrompt: true,
|
|
519
519
|
},
|
|
520
520
|
{
|
|
521
521
|
type: 'text',
|
|
522
|
-
name: '
|
|
523
|
-
message: '
|
|
522
|
+
name: 'privateApiName',
|
|
523
|
+
message: 'privateApiName',
|
|
524
524
|
required: false,
|
|
525
525
|
skipPrompt: true,
|
|
526
526
|
},
|
|
527
527
|
{
|
|
528
528
|
type: 'text',
|
|
529
|
-
name: '
|
|
530
|
-
message: '
|
|
529
|
+
name: 'privateSchemaId',
|
|
530
|
+
message: 'privateSchemaId',
|
|
531
531
|
required: false,
|
|
532
532
|
skipPrompt: true,
|
|
533
533
|
},
|
|
534
534
|
{
|
|
535
535
|
type: 'text',
|
|
536
|
-
name: '
|
|
537
|
-
message: '
|
|
536
|
+
name: 'privateSchemaName',
|
|
537
|
+
message: 'privateSchemaName',
|
|
538
538
|
required: false,
|
|
539
539
|
skipPrompt: true,
|
|
540
540
|
},
|
|
541
541
|
{
|
|
542
542
|
type: 'text',
|
|
543
|
-
name: '
|
|
544
|
-
message: '
|
|
543
|
+
name: 'publicSchemaName',
|
|
544
|
+
message: 'publicSchemaName',
|
|
545
545
|
required: false,
|
|
546
546
|
skipPrompt: true,
|
|
547
547
|
},
|
|
548
548
|
{
|
|
549
549
|
type: 'text',
|
|
550
|
-
name: '
|
|
551
|
-
message: '
|
|
550
|
+
name: 'schemaId',
|
|
551
|
+
message: 'schemaId',
|
|
552
552
|
required: false,
|
|
553
553
|
skipPrompt: true,
|
|
554
554
|
},
|
|
555
555
|
{
|
|
556
556
|
type: 'text',
|
|
557
|
-
name: '
|
|
558
|
-
message: '
|
|
557
|
+
name: 'scope',
|
|
558
|
+
message: 'scope',
|
|
559
559
|
required: false,
|
|
560
560
|
skipPrompt: true,
|
|
561
561
|
},
|
|
562
562
|
{
|
|
563
563
|
type: 'text',
|
|
564
|
-
name: '
|
|
565
|
-
message: '
|
|
564
|
+
name: 'sprtTableId',
|
|
565
|
+
message: 'sprtTableId',
|
|
566
566
|
required: false,
|
|
567
567
|
skipPrompt: true,
|
|
568
568
|
},
|
|
@@ -573,91 +573,91 @@ async function handleCreate(argv, prompter) {
|
|
|
573
573
|
const result = await client.membershipsModule
|
|
574
574
|
.create({
|
|
575
575
|
data: {
|
|
576
|
+
actorMaskCheck: cleanedData.actorMaskCheck,
|
|
577
|
+
actorPermCheck: cleanedData.actorPermCheck,
|
|
578
|
+
actorTableId: cleanedData.actorTableId,
|
|
579
|
+
adminGrantsTableId: cleanedData.adminGrantsTableId,
|
|
580
|
+
adminGrantsTableName: cleanedData.adminGrantsTableName,
|
|
581
|
+
apiName: cleanedData.apiName,
|
|
576
582
|
databaseId: cleanedData.databaseId,
|
|
583
|
+
defaultLimitsTableId: cleanedData.defaultLimitsTableId,
|
|
584
|
+
defaultPermissionsTableId: cleanedData.defaultPermissionsTableId,
|
|
577
585
|
entityField: cleanedData.entityField,
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
586
|
+
entityIdsByMask: cleanedData.entityIdsByMask,
|
|
587
|
+
entityIdsByPerm: cleanedData.entityIdsByPerm,
|
|
588
|
+
entityIdsFunction: cleanedData.entityIdsFunction,
|
|
589
|
+
entityTableId: cleanedData.entityTableId,
|
|
590
|
+
entityTableOwnerId: cleanedData.entityTableOwnerId,
|
|
591
|
+
getOrgFn: cleanedData.getOrgFn,
|
|
592
|
+
grantsTableId: cleanedData.grantsTableId,
|
|
593
|
+
grantsTableName: cleanedData.grantsTableName,
|
|
594
|
+
limitsTableId: cleanedData.limitsTableId,
|
|
595
|
+
memberProfilesTableId: cleanedData.memberProfilesTableId,
|
|
584
596
|
membersTableId: cleanedData.membersTableId,
|
|
585
597
|
membersTableName: cleanedData.membersTableName,
|
|
586
598
|
membershipDefaultsTableId: cleanedData.membershipDefaultsTableId,
|
|
587
599
|
membershipDefaultsTableName: cleanedData.membershipDefaultsTableName,
|
|
588
600
|
membershipSettingsTableId: cleanedData.membershipSettingsTableId,
|
|
589
601
|
membershipSettingsTableName: cleanedData.membershipSettingsTableName,
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
actorTableId: cleanedData.actorTableId,
|
|
593
|
-
limitsTableId: cleanedData.limitsTableId,
|
|
594
|
-
defaultLimitsTableId: cleanedData.defaultLimitsTableId,
|
|
595
|
-
permissionsTableId: cleanedData.permissionsTableId,
|
|
596
|
-
defaultPermissionsTableId: cleanedData.defaultPermissionsTableId,
|
|
597
|
-
sprtTableId: cleanedData.sprtTableId,
|
|
598
|
-
adminGrantsTableId: cleanedData.adminGrantsTableId,
|
|
599
|
-
adminGrantsTableName: cleanedData.adminGrantsTableName,
|
|
602
|
+
membershipsTableId: cleanedData.membershipsTableId,
|
|
603
|
+
membershipsTableName: cleanedData.membershipsTableName,
|
|
600
604
|
ownerGrantsTableId: cleanedData.ownerGrantsTableId,
|
|
601
605
|
ownerGrantsTableName: cleanedData.ownerGrantsTableName,
|
|
602
|
-
scope: cleanedData.scope,
|
|
603
|
-
prefix: cleanedData.prefix,
|
|
604
|
-
entityTableId: cleanedData.entityTableId,
|
|
605
|
-
entityTableOwnerId: cleanedData.entityTableOwnerId,
|
|
606
|
-
getOrgFn: cleanedData.getOrgFn,
|
|
607
|
-
actorMaskCheck: cleanedData.actorMaskCheck,
|
|
608
|
-
actorPermCheck: cleanedData.actorPermCheck,
|
|
609
|
-
entityIdsByMask: cleanedData.entityIdsByMask,
|
|
610
|
-
entityIdsByPerm: cleanedData.entityIdsByPerm,
|
|
611
|
-
entityIdsFunction: cleanedData.entityIdsFunction,
|
|
612
|
-
memberProfilesTableId: cleanedData.memberProfilesTableId,
|
|
613
|
-
permissionDefaultPermissionsTableId: cleanedData.permissionDefaultPermissionsTableId,
|
|
614
606
|
permissionDefaultGrantsTableId: cleanedData.permissionDefaultGrantsTableId,
|
|
615
|
-
|
|
607
|
+
permissionDefaultPermissionsTableId: cleanedData.permissionDefaultPermissionsTableId,
|
|
608
|
+
permissionsTableId: cleanedData.permissionsTableId,
|
|
609
|
+
prefix: cleanedData.prefix,
|
|
616
610
|
privateApiName: cleanedData.privateApiName,
|
|
611
|
+
privateSchemaId: cleanedData.privateSchemaId,
|
|
612
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
613
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
614
|
+
schemaId: cleanedData.schemaId,
|
|
615
|
+
scope: cleanedData.scope,
|
|
616
|
+
sprtTableId: cleanedData.sprtTableId,
|
|
617
617
|
},
|
|
618
618
|
select: {
|
|
619
|
-
|
|
619
|
+
actorMaskCheck: true,
|
|
620
|
+
actorPermCheck: true,
|
|
621
|
+
actorTableId: true,
|
|
622
|
+
adminGrantsTableId: true,
|
|
623
|
+
adminGrantsTableName: true,
|
|
624
|
+
apiName: true,
|
|
620
625
|
databaseId: true,
|
|
626
|
+
defaultLimitsTableId: true,
|
|
627
|
+
defaultPermissionsTableId: true,
|
|
621
628
|
entityField: true,
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
629
|
+
entityIdsByMask: true,
|
|
630
|
+
entityIdsByPerm: true,
|
|
631
|
+
entityIdsFunction: true,
|
|
632
|
+
entityTableId: true,
|
|
633
|
+
entityTableOwnerId: true,
|
|
634
|
+
getOrgFn: true,
|
|
635
|
+
grantsTableId: true,
|
|
636
|
+
grantsTableName: true,
|
|
637
|
+
id: true,
|
|
638
|
+
limitsTableId: true,
|
|
639
|
+
memberProfilesTableId: true,
|
|
628
640
|
membersTableId: true,
|
|
629
641
|
membersTableName: true,
|
|
630
642
|
membershipDefaultsTableId: true,
|
|
631
643
|
membershipDefaultsTableName: true,
|
|
632
644
|
membershipSettingsTableId: true,
|
|
633
645
|
membershipSettingsTableName: true,
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
actorTableId: true,
|
|
637
|
-
limitsTableId: true,
|
|
638
|
-
defaultLimitsTableId: true,
|
|
639
|
-
permissionsTableId: true,
|
|
640
|
-
defaultPermissionsTableId: true,
|
|
641
|
-
sprtTableId: true,
|
|
642
|
-
adminGrantsTableId: true,
|
|
643
|
-
adminGrantsTableName: true,
|
|
646
|
+
membershipsTableId: true,
|
|
647
|
+
membershipsTableName: true,
|
|
644
648
|
ownerGrantsTableId: true,
|
|
645
649
|
ownerGrantsTableName: true,
|
|
646
|
-
scope: true,
|
|
647
|
-
prefix: true,
|
|
648
|
-
entityTableId: true,
|
|
649
|
-
entityTableOwnerId: true,
|
|
650
|
-
getOrgFn: true,
|
|
651
|
-
actorMaskCheck: true,
|
|
652
|
-
actorPermCheck: true,
|
|
653
|
-
entityIdsByMask: true,
|
|
654
|
-
entityIdsByPerm: true,
|
|
655
|
-
entityIdsFunction: true,
|
|
656
|
-
memberProfilesTableId: true,
|
|
657
|
-
permissionDefaultPermissionsTableId: true,
|
|
658
650
|
permissionDefaultGrantsTableId: true,
|
|
659
|
-
|
|
651
|
+
permissionDefaultPermissionsTableId: true,
|
|
652
|
+
permissionsTableId: true,
|
|
653
|
+
prefix: true,
|
|
660
654
|
privateApiName: true,
|
|
655
|
+
privateSchemaId: true,
|
|
656
|
+
privateSchemaName: true,
|
|
657
|
+
publicSchemaName: true,
|
|
658
|
+
schemaId: true,
|
|
659
|
+
scope: true,
|
|
660
|
+
sprtTableId: true,
|
|
661
661
|
},
|
|
662
662
|
})
|
|
663
663
|
.execute();
|
|
@@ -682,98 +682,112 @@ async function handleUpdate(argv, prompter) {
|
|
|
682
682
|
},
|
|
683
683
|
{
|
|
684
684
|
type: 'text',
|
|
685
|
-
name: '
|
|
686
|
-
message: '
|
|
685
|
+
name: 'actorMaskCheck',
|
|
686
|
+
message: 'actorMaskCheck',
|
|
687
687
|
required: false,
|
|
688
|
+
skipPrompt: true,
|
|
688
689
|
},
|
|
689
690
|
{
|
|
690
691
|
type: 'text',
|
|
691
|
-
name: '
|
|
692
|
-
message: '
|
|
692
|
+
name: 'actorPermCheck',
|
|
693
|
+
message: 'actorPermCheck',
|
|
693
694
|
required: false,
|
|
694
695
|
skipPrompt: true,
|
|
695
696
|
},
|
|
696
697
|
{
|
|
697
698
|
type: 'text',
|
|
698
|
-
name: '
|
|
699
|
-
message: '
|
|
699
|
+
name: 'actorTableId',
|
|
700
|
+
message: 'actorTableId',
|
|
700
701
|
required: false,
|
|
701
702
|
skipPrompt: true,
|
|
702
703
|
},
|
|
703
704
|
{
|
|
704
705
|
type: 'text',
|
|
705
|
-
name: '
|
|
706
|
-
message: '
|
|
706
|
+
name: 'adminGrantsTableId',
|
|
707
|
+
message: 'adminGrantsTableId',
|
|
707
708
|
required: false,
|
|
708
709
|
skipPrompt: true,
|
|
709
710
|
},
|
|
710
711
|
{
|
|
711
712
|
type: 'text',
|
|
712
|
-
name: '
|
|
713
|
-
message: '
|
|
713
|
+
name: 'adminGrantsTableName',
|
|
714
|
+
message: 'adminGrantsTableName',
|
|
715
|
+
required: false,
|
|
716
|
+
skipPrompt: true,
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
type: 'text',
|
|
720
|
+
name: 'apiName',
|
|
721
|
+
message: 'apiName',
|
|
714
722
|
required: false,
|
|
715
723
|
skipPrompt: true,
|
|
716
724
|
},
|
|
717
725
|
{
|
|
718
726
|
type: 'text',
|
|
719
|
-
name: '
|
|
720
|
-
message: '
|
|
727
|
+
name: 'databaseId',
|
|
728
|
+
message: 'databaseId',
|
|
729
|
+
required: false,
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
type: 'text',
|
|
733
|
+
name: 'defaultLimitsTableId',
|
|
734
|
+
message: 'defaultLimitsTableId',
|
|
721
735
|
required: false,
|
|
722
736
|
skipPrompt: true,
|
|
723
737
|
},
|
|
724
738
|
{
|
|
725
739
|
type: 'text',
|
|
726
|
-
name: '
|
|
727
|
-
message: '
|
|
740
|
+
name: 'defaultPermissionsTableId',
|
|
741
|
+
message: 'defaultPermissionsTableId',
|
|
728
742
|
required: false,
|
|
729
743
|
skipPrompt: true,
|
|
730
744
|
},
|
|
731
745
|
{
|
|
732
746
|
type: 'text',
|
|
733
|
-
name: '
|
|
734
|
-
message: '
|
|
747
|
+
name: 'entityField',
|
|
748
|
+
message: 'entityField',
|
|
735
749
|
required: false,
|
|
736
750
|
skipPrompt: true,
|
|
737
751
|
},
|
|
738
752
|
{
|
|
739
753
|
type: 'text',
|
|
740
|
-
name: '
|
|
741
|
-
message: '
|
|
754
|
+
name: 'entityIdsByMask',
|
|
755
|
+
message: 'entityIdsByMask',
|
|
742
756
|
required: false,
|
|
743
757
|
skipPrompt: true,
|
|
744
758
|
},
|
|
745
759
|
{
|
|
746
760
|
type: 'text',
|
|
747
|
-
name: '
|
|
748
|
-
message: '
|
|
761
|
+
name: 'entityIdsByPerm',
|
|
762
|
+
message: 'entityIdsByPerm',
|
|
749
763
|
required: false,
|
|
750
764
|
skipPrompt: true,
|
|
751
765
|
},
|
|
752
766
|
{
|
|
753
767
|
type: 'text',
|
|
754
|
-
name: '
|
|
755
|
-
message: '
|
|
768
|
+
name: 'entityIdsFunction',
|
|
769
|
+
message: 'entityIdsFunction',
|
|
756
770
|
required: false,
|
|
757
771
|
skipPrompt: true,
|
|
758
772
|
},
|
|
759
773
|
{
|
|
760
774
|
type: 'text',
|
|
761
|
-
name: '
|
|
762
|
-
message: '
|
|
775
|
+
name: 'entityTableId',
|
|
776
|
+
message: 'entityTableId',
|
|
763
777
|
required: false,
|
|
764
778
|
skipPrompt: true,
|
|
765
779
|
},
|
|
766
780
|
{
|
|
767
781
|
type: 'text',
|
|
768
|
-
name: '
|
|
769
|
-
message: '
|
|
782
|
+
name: 'entityTableOwnerId',
|
|
783
|
+
message: 'entityTableOwnerId',
|
|
770
784
|
required: false,
|
|
771
785
|
skipPrompt: true,
|
|
772
786
|
},
|
|
773
787
|
{
|
|
774
788
|
type: 'text',
|
|
775
|
-
name: '
|
|
776
|
-
message: '
|
|
789
|
+
name: 'getOrgFn',
|
|
790
|
+
message: 'getOrgFn',
|
|
777
791
|
required: false,
|
|
778
792
|
skipPrompt: true,
|
|
779
793
|
},
|
|
@@ -791,13 +805,6 @@ async function handleUpdate(argv, prompter) {
|
|
|
791
805
|
required: false,
|
|
792
806
|
skipPrompt: true,
|
|
793
807
|
},
|
|
794
|
-
{
|
|
795
|
-
type: 'text',
|
|
796
|
-
name: 'actorTableId',
|
|
797
|
-
message: 'actorTableId',
|
|
798
|
-
required: false,
|
|
799
|
-
skipPrompt: true,
|
|
800
|
-
},
|
|
801
808
|
{
|
|
802
809
|
type: 'text',
|
|
803
810
|
name: 'limitsTableId',
|
|
@@ -807,162 +814,155 @@ async function handleUpdate(argv, prompter) {
|
|
|
807
814
|
},
|
|
808
815
|
{
|
|
809
816
|
type: 'text',
|
|
810
|
-
name: '
|
|
811
|
-
message: '
|
|
812
|
-
required: false,
|
|
813
|
-
skipPrompt: true,
|
|
814
|
-
},
|
|
815
|
-
{
|
|
816
|
-
type: 'text',
|
|
817
|
-
name: 'permissionsTableId',
|
|
818
|
-
message: 'permissionsTableId',
|
|
817
|
+
name: 'memberProfilesTableId',
|
|
818
|
+
message: 'memberProfilesTableId',
|
|
819
819
|
required: false,
|
|
820
820
|
skipPrompt: true,
|
|
821
821
|
},
|
|
822
822
|
{
|
|
823
823
|
type: 'text',
|
|
824
|
-
name: '
|
|
825
|
-
message: '
|
|
824
|
+
name: 'membersTableId',
|
|
825
|
+
message: 'membersTableId',
|
|
826
826
|
required: false,
|
|
827
827
|
skipPrompt: true,
|
|
828
828
|
},
|
|
829
829
|
{
|
|
830
830
|
type: 'text',
|
|
831
|
-
name: '
|
|
832
|
-
message: '
|
|
831
|
+
name: 'membersTableName',
|
|
832
|
+
message: 'membersTableName',
|
|
833
833
|
required: false,
|
|
834
834
|
skipPrompt: true,
|
|
835
835
|
},
|
|
836
836
|
{
|
|
837
837
|
type: 'text',
|
|
838
|
-
name: '
|
|
839
|
-
message: '
|
|
838
|
+
name: 'membershipDefaultsTableId',
|
|
839
|
+
message: 'membershipDefaultsTableId',
|
|
840
840
|
required: false,
|
|
841
841
|
skipPrompt: true,
|
|
842
842
|
},
|
|
843
843
|
{
|
|
844
844
|
type: 'text',
|
|
845
|
-
name: '
|
|
846
|
-
message: '
|
|
845
|
+
name: 'membershipDefaultsTableName',
|
|
846
|
+
message: 'membershipDefaultsTableName',
|
|
847
847
|
required: false,
|
|
848
848
|
skipPrompt: true,
|
|
849
849
|
},
|
|
850
850
|
{
|
|
851
851
|
type: 'text',
|
|
852
|
-
name: '
|
|
853
|
-
message: '
|
|
852
|
+
name: 'membershipSettingsTableId',
|
|
853
|
+
message: 'membershipSettingsTableId',
|
|
854
854
|
required: false,
|
|
855
855
|
skipPrompt: true,
|
|
856
856
|
},
|
|
857
857
|
{
|
|
858
858
|
type: 'text',
|
|
859
|
-
name: '
|
|
860
|
-
message: '
|
|
859
|
+
name: 'membershipSettingsTableName',
|
|
860
|
+
message: 'membershipSettingsTableName',
|
|
861
861
|
required: false,
|
|
862
862
|
skipPrompt: true,
|
|
863
863
|
},
|
|
864
864
|
{
|
|
865
865
|
type: 'text',
|
|
866
|
-
name: '
|
|
867
|
-
message: '
|
|
866
|
+
name: 'membershipsTableId',
|
|
867
|
+
message: 'membershipsTableId',
|
|
868
868
|
required: false,
|
|
869
869
|
skipPrompt: true,
|
|
870
870
|
},
|
|
871
871
|
{
|
|
872
872
|
type: 'text',
|
|
873
|
-
name: '
|
|
874
|
-
message: '
|
|
873
|
+
name: 'membershipsTableName',
|
|
874
|
+
message: 'membershipsTableName',
|
|
875
875
|
required: false,
|
|
876
876
|
skipPrompt: true,
|
|
877
877
|
},
|
|
878
878
|
{
|
|
879
879
|
type: 'text',
|
|
880
|
-
name: '
|
|
881
|
-
message: '
|
|
880
|
+
name: 'ownerGrantsTableId',
|
|
881
|
+
message: 'ownerGrantsTableId',
|
|
882
882
|
required: false,
|
|
883
883
|
skipPrompt: true,
|
|
884
884
|
},
|
|
885
885
|
{
|
|
886
886
|
type: 'text',
|
|
887
|
-
name: '
|
|
888
|
-
message: '
|
|
887
|
+
name: 'ownerGrantsTableName',
|
|
888
|
+
message: 'ownerGrantsTableName',
|
|
889
889
|
required: false,
|
|
890
890
|
skipPrompt: true,
|
|
891
891
|
},
|
|
892
892
|
{
|
|
893
893
|
type: 'text',
|
|
894
|
-
name: '
|
|
895
|
-
message: '
|
|
894
|
+
name: 'permissionDefaultGrantsTableId',
|
|
895
|
+
message: 'permissionDefaultGrantsTableId',
|
|
896
896
|
required: false,
|
|
897
897
|
skipPrompt: true,
|
|
898
898
|
},
|
|
899
899
|
{
|
|
900
900
|
type: 'text',
|
|
901
|
-
name: '
|
|
902
|
-
message: '
|
|
901
|
+
name: 'permissionDefaultPermissionsTableId',
|
|
902
|
+
message: 'permissionDefaultPermissionsTableId',
|
|
903
903
|
required: false,
|
|
904
904
|
skipPrompt: true,
|
|
905
905
|
},
|
|
906
906
|
{
|
|
907
907
|
type: 'text',
|
|
908
|
-
name: '
|
|
909
|
-
message: '
|
|
908
|
+
name: 'permissionsTableId',
|
|
909
|
+
message: 'permissionsTableId',
|
|
910
910
|
required: false,
|
|
911
911
|
skipPrompt: true,
|
|
912
912
|
},
|
|
913
913
|
{
|
|
914
914
|
type: 'text',
|
|
915
|
-
name: '
|
|
916
|
-
message: '
|
|
915
|
+
name: 'prefix',
|
|
916
|
+
message: 'prefix',
|
|
917
917
|
required: false,
|
|
918
918
|
skipPrompt: true,
|
|
919
919
|
},
|
|
920
920
|
{
|
|
921
921
|
type: 'text',
|
|
922
|
-
name: '
|
|
923
|
-
message: '
|
|
922
|
+
name: 'privateApiName',
|
|
923
|
+
message: 'privateApiName',
|
|
924
924
|
required: false,
|
|
925
925
|
skipPrompt: true,
|
|
926
926
|
},
|
|
927
927
|
{
|
|
928
928
|
type: 'text',
|
|
929
|
-
name: '
|
|
930
|
-
message: '
|
|
929
|
+
name: 'privateSchemaId',
|
|
930
|
+
message: 'privateSchemaId',
|
|
931
931
|
required: false,
|
|
932
932
|
skipPrompt: true,
|
|
933
933
|
},
|
|
934
934
|
{
|
|
935
935
|
type: 'text',
|
|
936
|
-
name: '
|
|
937
|
-
message: '
|
|
936
|
+
name: 'privateSchemaName',
|
|
937
|
+
message: 'privateSchemaName',
|
|
938
938
|
required: false,
|
|
939
939
|
skipPrompt: true,
|
|
940
940
|
},
|
|
941
941
|
{
|
|
942
942
|
type: 'text',
|
|
943
|
-
name: '
|
|
944
|
-
message: '
|
|
943
|
+
name: 'publicSchemaName',
|
|
944
|
+
message: 'publicSchemaName',
|
|
945
945
|
required: false,
|
|
946
946
|
skipPrompt: true,
|
|
947
947
|
},
|
|
948
948
|
{
|
|
949
949
|
type: 'text',
|
|
950
|
-
name: '
|
|
951
|
-
message: '
|
|
950
|
+
name: 'schemaId',
|
|
951
|
+
message: 'schemaId',
|
|
952
952
|
required: false,
|
|
953
953
|
skipPrompt: true,
|
|
954
954
|
},
|
|
955
955
|
{
|
|
956
956
|
type: 'text',
|
|
957
|
-
name: '
|
|
958
|
-
message: '
|
|
957
|
+
name: 'scope',
|
|
958
|
+
message: 'scope',
|
|
959
959
|
required: false,
|
|
960
960
|
skipPrompt: true,
|
|
961
961
|
},
|
|
962
962
|
{
|
|
963
963
|
type: 'text',
|
|
964
|
-
name: '
|
|
965
|
-
message: '
|
|
964
|
+
name: 'sprtTableId',
|
|
965
|
+
message: 'sprtTableId',
|
|
966
966
|
required: false,
|
|
967
967
|
skipPrompt: true,
|
|
968
968
|
},
|
|
@@ -976,91 +976,91 @@ async function handleUpdate(argv, prompter) {
|
|
|
976
976
|
id: answers.id,
|
|
977
977
|
},
|
|
978
978
|
data: {
|
|
979
|
+
actorMaskCheck: cleanedData.actorMaskCheck,
|
|
980
|
+
actorPermCheck: cleanedData.actorPermCheck,
|
|
981
|
+
actorTableId: cleanedData.actorTableId,
|
|
982
|
+
adminGrantsTableId: cleanedData.adminGrantsTableId,
|
|
983
|
+
adminGrantsTableName: cleanedData.adminGrantsTableName,
|
|
984
|
+
apiName: cleanedData.apiName,
|
|
979
985
|
databaseId: cleanedData.databaseId,
|
|
986
|
+
defaultLimitsTableId: cleanedData.defaultLimitsTableId,
|
|
987
|
+
defaultPermissionsTableId: cleanedData.defaultPermissionsTableId,
|
|
980
988
|
entityField: cleanedData.entityField,
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
989
|
+
entityIdsByMask: cleanedData.entityIdsByMask,
|
|
990
|
+
entityIdsByPerm: cleanedData.entityIdsByPerm,
|
|
991
|
+
entityIdsFunction: cleanedData.entityIdsFunction,
|
|
992
|
+
entityTableId: cleanedData.entityTableId,
|
|
993
|
+
entityTableOwnerId: cleanedData.entityTableOwnerId,
|
|
994
|
+
getOrgFn: cleanedData.getOrgFn,
|
|
995
|
+
grantsTableId: cleanedData.grantsTableId,
|
|
996
|
+
grantsTableName: cleanedData.grantsTableName,
|
|
997
|
+
limitsTableId: cleanedData.limitsTableId,
|
|
998
|
+
memberProfilesTableId: cleanedData.memberProfilesTableId,
|
|
987
999
|
membersTableId: cleanedData.membersTableId,
|
|
988
1000
|
membersTableName: cleanedData.membersTableName,
|
|
989
1001
|
membershipDefaultsTableId: cleanedData.membershipDefaultsTableId,
|
|
990
1002
|
membershipDefaultsTableName: cleanedData.membershipDefaultsTableName,
|
|
991
1003
|
membershipSettingsTableId: cleanedData.membershipSettingsTableId,
|
|
992
1004
|
membershipSettingsTableName: cleanedData.membershipSettingsTableName,
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
actorTableId: cleanedData.actorTableId,
|
|
996
|
-
limitsTableId: cleanedData.limitsTableId,
|
|
997
|
-
defaultLimitsTableId: cleanedData.defaultLimitsTableId,
|
|
998
|
-
permissionsTableId: cleanedData.permissionsTableId,
|
|
999
|
-
defaultPermissionsTableId: cleanedData.defaultPermissionsTableId,
|
|
1000
|
-
sprtTableId: cleanedData.sprtTableId,
|
|
1001
|
-
adminGrantsTableId: cleanedData.adminGrantsTableId,
|
|
1002
|
-
adminGrantsTableName: cleanedData.adminGrantsTableName,
|
|
1005
|
+
membershipsTableId: cleanedData.membershipsTableId,
|
|
1006
|
+
membershipsTableName: cleanedData.membershipsTableName,
|
|
1003
1007
|
ownerGrantsTableId: cleanedData.ownerGrantsTableId,
|
|
1004
1008
|
ownerGrantsTableName: cleanedData.ownerGrantsTableName,
|
|
1005
|
-
scope: cleanedData.scope,
|
|
1006
|
-
prefix: cleanedData.prefix,
|
|
1007
|
-
entityTableId: cleanedData.entityTableId,
|
|
1008
|
-
entityTableOwnerId: cleanedData.entityTableOwnerId,
|
|
1009
|
-
getOrgFn: cleanedData.getOrgFn,
|
|
1010
|
-
actorMaskCheck: cleanedData.actorMaskCheck,
|
|
1011
|
-
actorPermCheck: cleanedData.actorPermCheck,
|
|
1012
|
-
entityIdsByMask: cleanedData.entityIdsByMask,
|
|
1013
|
-
entityIdsByPerm: cleanedData.entityIdsByPerm,
|
|
1014
|
-
entityIdsFunction: cleanedData.entityIdsFunction,
|
|
1015
|
-
memberProfilesTableId: cleanedData.memberProfilesTableId,
|
|
1016
|
-
permissionDefaultPermissionsTableId: cleanedData.permissionDefaultPermissionsTableId,
|
|
1017
1009
|
permissionDefaultGrantsTableId: cleanedData.permissionDefaultGrantsTableId,
|
|
1018
|
-
|
|
1010
|
+
permissionDefaultPermissionsTableId: cleanedData.permissionDefaultPermissionsTableId,
|
|
1011
|
+
permissionsTableId: cleanedData.permissionsTableId,
|
|
1012
|
+
prefix: cleanedData.prefix,
|
|
1019
1013
|
privateApiName: cleanedData.privateApiName,
|
|
1014
|
+
privateSchemaId: cleanedData.privateSchemaId,
|
|
1015
|
+
privateSchemaName: cleanedData.privateSchemaName,
|
|
1016
|
+
publicSchemaName: cleanedData.publicSchemaName,
|
|
1017
|
+
schemaId: cleanedData.schemaId,
|
|
1018
|
+
scope: cleanedData.scope,
|
|
1019
|
+
sprtTableId: cleanedData.sprtTableId,
|
|
1020
1020
|
},
|
|
1021
1021
|
select: {
|
|
1022
|
-
|
|
1022
|
+
actorMaskCheck: true,
|
|
1023
|
+
actorPermCheck: true,
|
|
1024
|
+
actorTableId: true,
|
|
1025
|
+
adminGrantsTableId: true,
|
|
1026
|
+
adminGrantsTableName: true,
|
|
1027
|
+
apiName: true,
|
|
1023
1028
|
databaseId: true,
|
|
1029
|
+
defaultLimitsTableId: true,
|
|
1030
|
+
defaultPermissionsTableId: true,
|
|
1024
1031
|
entityField: true,
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1032
|
+
entityIdsByMask: true,
|
|
1033
|
+
entityIdsByPerm: true,
|
|
1034
|
+
entityIdsFunction: true,
|
|
1035
|
+
entityTableId: true,
|
|
1036
|
+
entityTableOwnerId: true,
|
|
1037
|
+
getOrgFn: true,
|
|
1038
|
+
grantsTableId: true,
|
|
1039
|
+
grantsTableName: true,
|
|
1040
|
+
id: true,
|
|
1041
|
+
limitsTableId: true,
|
|
1042
|
+
memberProfilesTableId: true,
|
|
1031
1043
|
membersTableId: true,
|
|
1032
1044
|
membersTableName: true,
|
|
1033
1045
|
membershipDefaultsTableId: true,
|
|
1034
1046
|
membershipDefaultsTableName: true,
|
|
1035
1047
|
membershipSettingsTableId: true,
|
|
1036
1048
|
membershipSettingsTableName: true,
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
actorTableId: true,
|
|
1040
|
-
limitsTableId: true,
|
|
1041
|
-
defaultLimitsTableId: true,
|
|
1042
|
-
permissionsTableId: true,
|
|
1043
|
-
defaultPermissionsTableId: true,
|
|
1044
|
-
sprtTableId: true,
|
|
1045
|
-
adminGrantsTableId: true,
|
|
1046
|
-
adminGrantsTableName: true,
|
|
1049
|
+
membershipsTableId: true,
|
|
1050
|
+
membershipsTableName: true,
|
|
1047
1051
|
ownerGrantsTableId: true,
|
|
1048
1052
|
ownerGrantsTableName: true,
|
|
1049
|
-
scope: true,
|
|
1050
|
-
prefix: true,
|
|
1051
|
-
entityTableId: true,
|
|
1052
|
-
entityTableOwnerId: true,
|
|
1053
|
-
getOrgFn: true,
|
|
1054
|
-
actorMaskCheck: true,
|
|
1055
|
-
actorPermCheck: true,
|
|
1056
|
-
entityIdsByMask: true,
|
|
1057
|
-
entityIdsByPerm: true,
|
|
1058
|
-
entityIdsFunction: true,
|
|
1059
|
-
memberProfilesTableId: true,
|
|
1060
|
-
permissionDefaultPermissionsTableId: true,
|
|
1061
1053
|
permissionDefaultGrantsTableId: true,
|
|
1062
|
-
|
|
1054
|
+
permissionDefaultPermissionsTableId: true,
|
|
1055
|
+
permissionsTableId: true,
|
|
1056
|
+
prefix: true,
|
|
1063
1057
|
privateApiName: true,
|
|
1058
|
+
privateSchemaId: true,
|
|
1059
|
+
privateSchemaName: true,
|
|
1060
|
+
publicSchemaName: true,
|
|
1061
|
+
schemaId: true,
|
|
1062
|
+
scope: true,
|
|
1063
|
+
sprtTableId: true,
|
|
1064
1064
|
},
|
|
1065
1065
|
})
|
|
1066
1066
|
.execute();
|