@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,18 +9,18 @@ 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
|
+
apiExposure: 'string',
|
|
13
|
+
category: 'string',
|
|
14
|
+
createdAt: 'string',
|
|
13
15
|
databaseId: 'uuid',
|
|
16
|
+
description: 'string',
|
|
17
|
+
id: 'uuid',
|
|
18
|
+
isPublic: 'boolean',
|
|
19
|
+
label: 'string',
|
|
14
20
|
name: 'string',
|
|
15
21
|
schemaName: 'string',
|
|
16
|
-
label: 'string',
|
|
17
|
-
description: 'string',
|
|
18
22
|
smartTags: 'json',
|
|
19
|
-
category: 'string',
|
|
20
23
|
tags: 'string',
|
|
21
|
-
isPublic: 'boolean',
|
|
22
|
-
apiExposure: 'string',
|
|
23
|
-
createdAt: 'string',
|
|
24
24
|
updatedAt: 'string',
|
|
25
25
|
};
|
|
26
26
|
const usage = '\nschema <command>\n\nCommands:\n list List schema records\n find-first Find first matching schema record\n get Get a schema by ID\n create Create a new schema\n update Update an existing schema\n delete Delete a schema\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';
|
|
@@ -65,18 +65,18 @@ async function handleTableSubcommand(subcommand, argv, prompter) {
|
|
|
65
65
|
async function handleList(argv, _prompter) {
|
|
66
66
|
try {
|
|
67
67
|
const defaultSelect = {
|
|
68
|
-
|
|
68
|
+
apiExposure: true,
|
|
69
|
+
category: true,
|
|
70
|
+
createdAt: true,
|
|
69
71
|
databaseId: true,
|
|
72
|
+
description: true,
|
|
73
|
+
id: true,
|
|
74
|
+
isPublic: true,
|
|
75
|
+
label: true,
|
|
70
76
|
name: true,
|
|
71
77
|
schemaName: true,
|
|
72
|
-
label: true,
|
|
73
|
-
description: true,
|
|
74
78
|
smartTags: true,
|
|
75
|
-
category: true,
|
|
76
79
|
tags: true,
|
|
77
|
-
isPublic: true,
|
|
78
|
-
apiExposure: true,
|
|
79
|
-
createdAt: true,
|
|
80
80
|
updatedAt: true,
|
|
81
81
|
};
|
|
82
82
|
const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
|
|
@@ -95,18 +95,18 @@ async function handleList(argv, _prompter) {
|
|
|
95
95
|
async function handleFindFirst(argv, _prompter) {
|
|
96
96
|
try {
|
|
97
97
|
const defaultSelect = {
|
|
98
|
-
|
|
98
|
+
apiExposure: true,
|
|
99
|
+
category: true,
|
|
100
|
+
createdAt: true,
|
|
99
101
|
databaseId: true,
|
|
102
|
+
description: true,
|
|
103
|
+
id: true,
|
|
104
|
+
isPublic: true,
|
|
105
|
+
label: true,
|
|
100
106
|
name: true,
|
|
101
107
|
schemaName: true,
|
|
102
|
-
label: true,
|
|
103
|
-
description: true,
|
|
104
108
|
smartTags: true,
|
|
105
|
-
category: true,
|
|
106
109
|
tags: true,
|
|
107
|
-
isPublic: true,
|
|
108
|
-
apiExposure: true,
|
|
109
|
-
createdAt: true,
|
|
110
110
|
updatedAt: true,
|
|
111
111
|
};
|
|
112
112
|
const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
|
|
@@ -137,18 +137,18 @@ async function handleGet(argv, prompter) {
|
|
|
137
137
|
.findOne({
|
|
138
138
|
id: answers.id,
|
|
139
139
|
select: {
|
|
140
|
-
|
|
140
|
+
apiExposure: true,
|
|
141
|
+
category: true,
|
|
142
|
+
createdAt: true,
|
|
141
143
|
databaseId: true,
|
|
144
|
+
description: true,
|
|
145
|
+
id: true,
|
|
146
|
+
isPublic: true,
|
|
147
|
+
label: true,
|
|
142
148
|
name: true,
|
|
143
149
|
schemaName: true,
|
|
144
|
-
label: true,
|
|
145
|
-
description: true,
|
|
146
150
|
smartTags: true,
|
|
147
|
-
category: true,
|
|
148
151
|
tags: true,
|
|
149
|
-
isPublic: true,
|
|
150
|
-
apiExposure: true,
|
|
151
|
-
createdAt: true,
|
|
152
152
|
updatedAt: true,
|
|
153
153
|
},
|
|
154
154
|
})
|
|
@@ -168,29 +168,24 @@ async function handleCreate(argv, prompter) {
|
|
|
168
168
|
const rawAnswers = await prompter.prompt(argv, [
|
|
169
169
|
{
|
|
170
170
|
type: 'text',
|
|
171
|
-
name: '
|
|
172
|
-
message: '
|
|
173
|
-
required:
|
|
171
|
+
name: 'apiExposure',
|
|
172
|
+
message: 'apiExposure',
|
|
173
|
+
required: false,
|
|
174
|
+
skipPrompt: true,
|
|
174
175
|
},
|
|
175
176
|
{
|
|
176
177
|
type: 'text',
|
|
177
|
-
name: '
|
|
178
|
-
message: '
|
|
179
|
-
required:
|
|
178
|
+
name: 'category',
|
|
179
|
+
message: 'category',
|
|
180
|
+
required: false,
|
|
181
|
+
skipPrompt: true,
|
|
180
182
|
},
|
|
181
183
|
{
|
|
182
184
|
type: 'text',
|
|
183
|
-
name: '
|
|
184
|
-
message: '
|
|
185
|
+
name: 'databaseId',
|
|
186
|
+
message: 'databaseId',
|
|
185
187
|
required: true,
|
|
186
188
|
},
|
|
187
|
-
{
|
|
188
|
-
type: 'text',
|
|
189
|
-
name: 'label',
|
|
190
|
-
message: 'label',
|
|
191
|
-
required: false,
|
|
192
|
-
skipPrompt: true,
|
|
193
|
-
},
|
|
194
189
|
{
|
|
195
190
|
type: 'text',
|
|
196
191
|
name: 'description',
|
|
@@ -199,37 +194,42 @@ async function handleCreate(argv, prompter) {
|
|
|
199
194
|
skipPrompt: true,
|
|
200
195
|
},
|
|
201
196
|
{
|
|
202
|
-
type: '
|
|
203
|
-
name: '
|
|
204
|
-
message: '
|
|
197
|
+
type: 'boolean',
|
|
198
|
+
name: 'isPublic',
|
|
199
|
+
message: 'isPublic',
|
|
205
200
|
required: false,
|
|
206
201
|
skipPrompt: true,
|
|
207
202
|
},
|
|
208
203
|
{
|
|
209
204
|
type: 'text',
|
|
210
|
-
name: '
|
|
211
|
-
message: '
|
|
205
|
+
name: 'label',
|
|
206
|
+
message: 'label',
|
|
212
207
|
required: false,
|
|
213
208
|
skipPrompt: true,
|
|
214
209
|
},
|
|
215
210
|
{
|
|
216
211
|
type: 'text',
|
|
217
|
-
name: '
|
|
218
|
-
message: '
|
|
219
|
-
required:
|
|
220
|
-
skipPrompt: true,
|
|
212
|
+
name: 'name',
|
|
213
|
+
message: 'name',
|
|
214
|
+
required: true,
|
|
221
215
|
},
|
|
222
216
|
{
|
|
223
|
-
type: '
|
|
224
|
-
name: '
|
|
225
|
-
message: '
|
|
217
|
+
type: 'text',
|
|
218
|
+
name: 'schemaName',
|
|
219
|
+
message: 'schemaName',
|
|
220
|
+
required: true,
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
type: 'json',
|
|
224
|
+
name: 'smartTags',
|
|
225
|
+
message: 'smartTags',
|
|
226
226
|
required: false,
|
|
227
227
|
skipPrompt: true,
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
230
|
type: 'text',
|
|
231
|
-
name: '
|
|
232
|
-
message: '
|
|
231
|
+
name: 'tags',
|
|
232
|
+
message: 'tags',
|
|
233
233
|
required: false,
|
|
234
234
|
skipPrompt: true,
|
|
235
235
|
},
|
|
@@ -240,30 +240,30 @@ async function handleCreate(argv, prompter) {
|
|
|
240
240
|
const result = await client.schema
|
|
241
241
|
.create({
|
|
242
242
|
data: {
|
|
243
|
+
apiExposure: cleanedData.apiExposure,
|
|
244
|
+
category: cleanedData.category,
|
|
243
245
|
databaseId: cleanedData.databaseId,
|
|
246
|
+
description: cleanedData.description,
|
|
247
|
+
isPublic: cleanedData.isPublic,
|
|
248
|
+
label: cleanedData.label,
|
|
244
249
|
name: cleanedData.name,
|
|
245
250
|
schemaName: cleanedData.schemaName,
|
|
246
|
-
label: cleanedData.label,
|
|
247
|
-
description: cleanedData.description,
|
|
248
251
|
smartTags: cleanedData.smartTags,
|
|
249
|
-
category: cleanedData.category,
|
|
250
252
|
tags: cleanedData.tags,
|
|
251
|
-
isPublic: cleanedData.isPublic,
|
|
252
|
-
apiExposure: cleanedData.apiExposure,
|
|
253
253
|
},
|
|
254
254
|
select: {
|
|
255
|
-
|
|
255
|
+
apiExposure: true,
|
|
256
|
+
category: true,
|
|
257
|
+
createdAt: true,
|
|
256
258
|
databaseId: true,
|
|
259
|
+
description: true,
|
|
260
|
+
id: true,
|
|
261
|
+
isPublic: true,
|
|
262
|
+
label: true,
|
|
257
263
|
name: true,
|
|
258
264
|
schemaName: true,
|
|
259
|
-
label: true,
|
|
260
|
-
description: true,
|
|
261
265
|
smartTags: true,
|
|
262
|
-
category: true,
|
|
263
266
|
tags: true,
|
|
264
|
-
isPublic: true,
|
|
265
|
-
apiExposure: true,
|
|
266
|
-
createdAt: true,
|
|
267
267
|
updatedAt: true,
|
|
268
268
|
},
|
|
269
269
|
})
|
|
@@ -289,68 +289,68 @@ async function handleUpdate(argv, prompter) {
|
|
|
289
289
|
},
|
|
290
290
|
{
|
|
291
291
|
type: 'text',
|
|
292
|
-
name: '
|
|
293
|
-
message: '
|
|
292
|
+
name: 'apiExposure',
|
|
293
|
+
message: 'apiExposure',
|
|
294
294
|
required: false,
|
|
295
|
+
skipPrompt: true,
|
|
295
296
|
},
|
|
296
297
|
{
|
|
297
298
|
type: 'text',
|
|
298
|
-
name: '
|
|
299
|
-
message: '
|
|
299
|
+
name: 'category',
|
|
300
|
+
message: 'category',
|
|
300
301
|
required: false,
|
|
302
|
+
skipPrompt: true,
|
|
301
303
|
},
|
|
302
304
|
{
|
|
303
305
|
type: 'text',
|
|
304
|
-
name: '
|
|
305
|
-
message: '
|
|
306
|
+
name: 'databaseId',
|
|
307
|
+
message: 'databaseId',
|
|
306
308
|
required: false,
|
|
307
309
|
},
|
|
308
310
|
{
|
|
309
311
|
type: 'text',
|
|
310
|
-
name: '
|
|
311
|
-
message: '
|
|
312
|
+
name: 'description',
|
|
313
|
+
message: 'description',
|
|
312
314
|
required: false,
|
|
313
315
|
skipPrompt: true,
|
|
314
316
|
},
|
|
315
317
|
{
|
|
316
|
-
type: '
|
|
317
|
-
name: '
|
|
318
|
-
message: '
|
|
318
|
+
type: 'boolean',
|
|
319
|
+
name: 'isPublic',
|
|
320
|
+
message: 'isPublic',
|
|
319
321
|
required: false,
|
|
320
322
|
skipPrompt: true,
|
|
321
323
|
},
|
|
322
324
|
{
|
|
323
|
-
type: '
|
|
324
|
-
name: '
|
|
325
|
-
message: '
|
|
325
|
+
type: 'text',
|
|
326
|
+
name: 'label',
|
|
327
|
+
message: 'label',
|
|
326
328
|
required: false,
|
|
327
329
|
skipPrompt: true,
|
|
328
330
|
},
|
|
329
331
|
{
|
|
330
332
|
type: 'text',
|
|
331
|
-
name: '
|
|
332
|
-
message: '
|
|
333
|
+
name: 'name',
|
|
334
|
+
message: 'name',
|
|
333
335
|
required: false,
|
|
334
|
-
skipPrompt: true,
|
|
335
336
|
},
|
|
336
337
|
{
|
|
337
338
|
type: 'text',
|
|
338
|
-
name: '
|
|
339
|
-
message: '
|
|
339
|
+
name: 'schemaName',
|
|
340
|
+
message: 'schemaName',
|
|
340
341
|
required: false,
|
|
341
|
-
skipPrompt: true,
|
|
342
342
|
},
|
|
343
343
|
{
|
|
344
|
-
type: '
|
|
345
|
-
name: '
|
|
346
|
-
message: '
|
|
344
|
+
type: 'json',
|
|
345
|
+
name: 'smartTags',
|
|
346
|
+
message: 'smartTags',
|
|
347
347
|
required: false,
|
|
348
348
|
skipPrompt: true,
|
|
349
349
|
},
|
|
350
350
|
{
|
|
351
351
|
type: 'text',
|
|
352
|
-
name: '
|
|
353
|
-
message: '
|
|
352
|
+
name: 'tags',
|
|
353
|
+
message: 'tags',
|
|
354
354
|
required: false,
|
|
355
355
|
skipPrompt: true,
|
|
356
356
|
},
|
|
@@ -364,30 +364,30 @@ async function handleUpdate(argv, prompter) {
|
|
|
364
364
|
id: answers.id,
|
|
365
365
|
},
|
|
366
366
|
data: {
|
|
367
|
+
apiExposure: cleanedData.apiExposure,
|
|
368
|
+
category: cleanedData.category,
|
|
367
369
|
databaseId: cleanedData.databaseId,
|
|
370
|
+
description: cleanedData.description,
|
|
371
|
+
isPublic: cleanedData.isPublic,
|
|
372
|
+
label: cleanedData.label,
|
|
368
373
|
name: cleanedData.name,
|
|
369
374
|
schemaName: cleanedData.schemaName,
|
|
370
|
-
label: cleanedData.label,
|
|
371
|
-
description: cleanedData.description,
|
|
372
375
|
smartTags: cleanedData.smartTags,
|
|
373
|
-
category: cleanedData.category,
|
|
374
376
|
tags: cleanedData.tags,
|
|
375
|
-
isPublic: cleanedData.isPublic,
|
|
376
|
-
apiExposure: cleanedData.apiExposure,
|
|
377
377
|
},
|
|
378
378
|
select: {
|
|
379
|
-
|
|
379
|
+
apiExposure: true,
|
|
380
|
+
category: true,
|
|
381
|
+
createdAt: true,
|
|
380
382
|
databaseId: true,
|
|
383
|
+
description: true,
|
|
384
|
+
id: true,
|
|
385
|
+
isPublic: true,
|
|
386
|
+
label: true,
|
|
381
387
|
name: true,
|
|
382
388
|
schemaName: true,
|
|
383
|
-
label: true,
|
|
384
|
-
description: true,
|
|
385
389
|
smartTags: true,
|
|
386
|
-
category: true,
|
|
387
390
|
tags: true,
|
|
388
|
-
isPublic: true,
|
|
389
|
-
apiExposure: true,
|
|
390
|
-
createdAt: true,
|
|
391
391
|
updatedAt: true,
|
|
392
392
|
},
|
|
393
393
|
})
|
|
@@ -9,12 +9,12 @@ const inquirerer_1 = require("inquirerer");
|
|
|
9
9
|
const executor_1 = require("../executor");
|
|
10
10
|
const utils_1 = require("../utils");
|
|
11
11
|
const fieldSchema = {
|
|
12
|
-
id: 'uuid',
|
|
13
12
|
databaseId: 'uuid',
|
|
14
|
-
siteId: 'uuid',
|
|
15
|
-
title: 'string',
|
|
16
13
|
description: 'string',
|
|
14
|
+
id: 'uuid',
|
|
17
15
|
ogImage: 'string',
|
|
16
|
+
siteId: 'uuid',
|
|
17
|
+
title: 'string',
|
|
18
18
|
};
|
|
19
19
|
const usage = '\nsite-metadatum <command>\n\nCommands:\n list List siteMetadatum records\n find-first Find first matching siteMetadatum record\n get Get a siteMetadatum by ID\n create Create a new siteMetadatum\n update Update an existing siteMetadatum\n delete Delete a siteMetadatum\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';
|
|
20
20
|
exports.default = async (argv, prompter, _options) => {
|
|
@@ -58,12 +58,12 @@ async function handleTableSubcommand(subcommand, argv, prompter) {
|
|
|
58
58
|
async function handleList(argv, _prompter) {
|
|
59
59
|
try {
|
|
60
60
|
const defaultSelect = {
|
|
61
|
-
id: true,
|
|
62
61
|
databaseId: true,
|
|
63
|
-
siteId: true,
|
|
64
|
-
title: true,
|
|
65
62
|
description: true,
|
|
63
|
+
id: true,
|
|
66
64
|
ogImage: true,
|
|
65
|
+
siteId: true,
|
|
66
|
+
title: true,
|
|
67
67
|
};
|
|
68
68
|
const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
|
|
69
69
|
const client = (0, executor_1.getClient)();
|
|
@@ -81,12 +81,12 @@ async function handleList(argv, _prompter) {
|
|
|
81
81
|
async function handleFindFirst(argv, _prompter) {
|
|
82
82
|
try {
|
|
83
83
|
const defaultSelect = {
|
|
84
|
-
id: true,
|
|
85
84
|
databaseId: true,
|
|
86
|
-
siteId: true,
|
|
87
|
-
title: true,
|
|
88
85
|
description: true,
|
|
86
|
+
id: true,
|
|
89
87
|
ogImage: true,
|
|
88
|
+
siteId: true,
|
|
89
|
+
title: true,
|
|
90
90
|
};
|
|
91
91
|
const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
|
|
92
92
|
const client = (0, executor_1.getClient)();
|
|
@@ -116,12 +116,12 @@ async function handleGet(argv, prompter) {
|
|
|
116
116
|
.findOne({
|
|
117
117
|
id: answers.id,
|
|
118
118
|
select: {
|
|
119
|
-
id: true,
|
|
120
119
|
databaseId: true,
|
|
121
|
-
siteId: true,
|
|
122
|
-
title: true,
|
|
123
120
|
description: true,
|
|
121
|
+
id: true,
|
|
124
122
|
ogImage: true,
|
|
123
|
+
siteId: true,
|
|
124
|
+
title: true,
|
|
125
125
|
},
|
|
126
126
|
})
|
|
127
127
|
.execute();
|
|
@@ -146,28 +146,28 @@ async function handleCreate(argv, prompter) {
|
|
|
146
146
|
},
|
|
147
147
|
{
|
|
148
148
|
type: 'text',
|
|
149
|
-
name: '
|
|
150
|
-
message: '
|
|
151
|
-
required:
|
|
149
|
+
name: 'description',
|
|
150
|
+
message: 'description',
|
|
151
|
+
required: false,
|
|
152
|
+
skipPrompt: true,
|
|
152
153
|
},
|
|
153
154
|
{
|
|
154
155
|
type: 'text',
|
|
155
|
-
name: '
|
|
156
|
-
message: '
|
|
156
|
+
name: 'ogImage',
|
|
157
|
+
message: 'ogImage',
|
|
157
158
|
required: false,
|
|
158
159
|
skipPrompt: true,
|
|
159
160
|
},
|
|
160
161
|
{
|
|
161
162
|
type: 'text',
|
|
162
|
-
name: '
|
|
163
|
-
message: '
|
|
164
|
-
required:
|
|
165
|
-
skipPrompt: true,
|
|
163
|
+
name: 'siteId',
|
|
164
|
+
message: 'siteId',
|
|
165
|
+
required: true,
|
|
166
166
|
},
|
|
167
167
|
{
|
|
168
168
|
type: 'text',
|
|
169
|
-
name: '
|
|
170
|
-
message: '
|
|
169
|
+
name: 'title',
|
|
170
|
+
message: 'title',
|
|
171
171
|
required: false,
|
|
172
172
|
skipPrompt: true,
|
|
173
173
|
},
|
|
@@ -179,18 +179,18 @@ async function handleCreate(argv, prompter) {
|
|
|
179
179
|
.create({
|
|
180
180
|
data: {
|
|
181
181
|
databaseId: cleanedData.databaseId,
|
|
182
|
-
siteId: cleanedData.siteId,
|
|
183
|
-
title: cleanedData.title,
|
|
184
182
|
description: cleanedData.description,
|
|
185
183
|
ogImage: cleanedData.ogImage,
|
|
184
|
+
siteId: cleanedData.siteId,
|
|
185
|
+
title: cleanedData.title,
|
|
186
186
|
},
|
|
187
187
|
select: {
|
|
188
|
-
id: true,
|
|
189
188
|
databaseId: true,
|
|
190
|
-
siteId: true,
|
|
191
|
-
title: true,
|
|
192
189
|
description: true,
|
|
190
|
+
id: true,
|
|
193
191
|
ogImage: true,
|
|
192
|
+
siteId: true,
|
|
193
|
+
title: true,
|
|
194
194
|
},
|
|
195
195
|
})
|
|
196
196
|
.execute();
|
|
@@ -221,28 +221,28 @@ async function handleUpdate(argv, prompter) {
|
|
|
221
221
|
},
|
|
222
222
|
{
|
|
223
223
|
type: 'text',
|
|
224
|
-
name: '
|
|
225
|
-
message: '
|
|
224
|
+
name: 'description',
|
|
225
|
+
message: 'description',
|
|
226
226
|
required: false,
|
|
227
|
+
skipPrompt: true,
|
|
227
228
|
},
|
|
228
229
|
{
|
|
229
230
|
type: 'text',
|
|
230
|
-
name: '
|
|
231
|
-
message: '
|
|
231
|
+
name: 'ogImage',
|
|
232
|
+
message: 'ogImage',
|
|
232
233
|
required: false,
|
|
233
234
|
skipPrompt: true,
|
|
234
235
|
},
|
|
235
236
|
{
|
|
236
237
|
type: 'text',
|
|
237
|
-
name: '
|
|
238
|
-
message: '
|
|
238
|
+
name: 'siteId',
|
|
239
|
+
message: 'siteId',
|
|
239
240
|
required: false,
|
|
240
|
-
skipPrompt: true,
|
|
241
241
|
},
|
|
242
242
|
{
|
|
243
243
|
type: 'text',
|
|
244
|
-
name: '
|
|
245
|
-
message: '
|
|
244
|
+
name: 'title',
|
|
245
|
+
message: 'title',
|
|
246
246
|
required: false,
|
|
247
247
|
skipPrompt: true,
|
|
248
248
|
},
|
|
@@ -257,18 +257,18 @@ async function handleUpdate(argv, prompter) {
|
|
|
257
257
|
},
|
|
258
258
|
data: {
|
|
259
259
|
databaseId: cleanedData.databaseId,
|
|
260
|
-
siteId: cleanedData.siteId,
|
|
261
|
-
title: cleanedData.title,
|
|
262
260
|
description: cleanedData.description,
|
|
263
261
|
ogImage: cleanedData.ogImage,
|
|
262
|
+
siteId: cleanedData.siteId,
|
|
263
|
+
title: cleanedData.title,
|
|
264
264
|
},
|
|
265
265
|
select: {
|
|
266
|
-
id: true,
|
|
267
266
|
databaseId: true,
|
|
268
|
-
siteId: true,
|
|
269
|
-
title: true,
|
|
270
267
|
description: true,
|
|
268
|
+
id: true,
|
|
271
269
|
ogImage: true,
|
|
270
|
+
siteId: true,
|
|
271
|
+
title: true,
|
|
272
272
|
},
|
|
273
273
|
})
|
|
274
274
|
.execute();
|