@constructive-sdk/cli 0.30.2 → 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,32 +9,32 @@ 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
|
+
archivedAt: 'string',
|
|
13
|
+
body: 'string',
|
|
14
|
+
bodyTrgmSimilarity: 'float',
|
|
13
15
|
createdAt: 'string',
|
|
14
|
-
updatedAt: 'string',
|
|
15
16
|
createdBy: 'uuid',
|
|
16
|
-
updatedBy: 'uuid',
|
|
17
17
|
databaseId: 'uuid',
|
|
18
|
-
slug: 'string',
|
|
19
|
-
kind: 'string',
|
|
20
|
-
title: 'string',
|
|
21
18
|
description: 'string',
|
|
22
|
-
|
|
23
|
-
keywords: 'string',
|
|
24
|
-
isActive: 'boolean',
|
|
25
|
-
metadata: 'json',
|
|
26
|
-
isArchived: 'boolean',
|
|
27
|
-
archivedAt: 'string',
|
|
28
|
-
search: 'string',
|
|
19
|
+
descriptionTrgmSimilarity: 'float',
|
|
29
20
|
embedding: 'string',
|
|
30
21
|
embeddingUpdatedAt: 'string',
|
|
31
|
-
searchTsvRank: 'float',
|
|
32
22
|
embeddingVectorDistance: 'float',
|
|
23
|
+
id: 'uuid',
|
|
24
|
+
isActive: 'boolean',
|
|
25
|
+
isArchived: 'boolean',
|
|
26
|
+
keywords: 'string',
|
|
27
|
+
kind: 'string',
|
|
33
28
|
kindTrgmSimilarity: 'float',
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
bodyTrgmSimilarity: 'float',
|
|
29
|
+
metadata: 'json',
|
|
30
|
+
search: 'string',
|
|
37
31
|
searchScore: 'float',
|
|
32
|
+
searchTsvRank: 'float',
|
|
33
|
+
slug: 'string',
|
|
34
|
+
title: 'string',
|
|
35
|
+
titleTrgmSimilarity: 'float',
|
|
36
|
+
updatedAt: 'string',
|
|
37
|
+
updatedBy: 'uuid',
|
|
38
38
|
};
|
|
39
39
|
const embedder_1 = require("../embedder");
|
|
40
40
|
const usage = '\nagent-resource <command>\n\nCommands:\n list List agentResource records\n find-first Find first matching agentResource record\n search <query> Search agentResource records\n get Get a agentResource by ID\n create Create a new agentResource\n update Update an existing agentResource\n\nCreate/Update Options:\n --auto-embed Convert text values in vector fields to embeddings before saving\n delete Delete a agentResource\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\nSearch Options:\n <query> Search query string (required)\n --limit <n> Max number of records to return\n --offset <n> Number of records to skip\n --select <fields> Comma-separated list of fields to return\n --orderBy <values> Comma-separated list of ordering values\n --auto-embed Convert text queries to vectors via configured embedder\n\nEmbedding Options (for --auto-embed):\n Set EMBEDDER_PROVIDER=ollama to enable text-to-vector embedding.\n Optional: EMBEDDER_MODEL (default: nomic-embed-text)\n Optional: EMBEDDER_BASE_URL (default: http://localhost:11434)\n\n --help, -h Show this help message\n';
|
|
@@ -81,24 +81,24 @@ async function handleTableSubcommand(subcommand, argv, prompter) {
|
|
|
81
81
|
async function handleList(argv, _prompter) {
|
|
82
82
|
try {
|
|
83
83
|
const defaultSelect = {
|
|
84
|
-
|
|
84
|
+
archivedAt: true,
|
|
85
|
+
body: true,
|
|
85
86
|
createdAt: true,
|
|
86
|
-
updatedAt: true,
|
|
87
87
|
createdBy: true,
|
|
88
|
-
updatedBy: true,
|
|
89
88
|
databaseId: true,
|
|
90
|
-
slug: true,
|
|
91
|
-
kind: true,
|
|
92
|
-
title: true,
|
|
93
89
|
description: true,
|
|
94
|
-
body: true,
|
|
95
|
-
keywords: true,
|
|
96
|
-
isActive: true,
|
|
97
|
-
metadata: true,
|
|
98
|
-
isArchived: true,
|
|
99
|
-
archivedAt: true,
|
|
100
90
|
embedding: true,
|
|
101
91
|
embeddingUpdatedAt: true,
|
|
92
|
+
id: true,
|
|
93
|
+
isActive: true,
|
|
94
|
+
isArchived: true,
|
|
95
|
+
keywords: true,
|
|
96
|
+
kind: true,
|
|
97
|
+
metadata: true,
|
|
98
|
+
slug: true,
|
|
99
|
+
title: true,
|
|
100
|
+
updatedAt: true,
|
|
101
|
+
updatedBy: true,
|
|
102
102
|
};
|
|
103
103
|
const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect);
|
|
104
104
|
if (argv['auto-embed']) {
|
|
@@ -124,24 +124,24 @@ async function handleList(argv, _prompter) {
|
|
|
124
124
|
async function handleFindFirst(argv, _prompter) {
|
|
125
125
|
try {
|
|
126
126
|
const defaultSelect = {
|
|
127
|
-
|
|
127
|
+
archivedAt: true,
|
|
128
|
+
body: true,
|
|
128
129
|
createdAt: true,
|
|
129
|
-
updatedAt: true,
|
|
130
130
|
createdBy: true,
|
|
131
|
-
updatedBy: true,
|
|
132
131
|
databaseId: true,
|
|
133
|
-
slug: true,
|
|
134
|
-
kind: true,
|
|
135
|
-
title: true,
|
|
136
132
|
description: true,
|
|
137
|
-
body: true,
|
|
138
|
-
keywords: true,
|
|
139
|
-
isActive: true,
|
|
140
|
-
metadata: true,
|
|
141
|
-
isArchived: true,
|
|
142
|
-
archivedAt: true,
|
|
143
133
|
embedding: true,
|
|
144
134
|
embeddingUpdatedAt: true,
|
|
135
|
+
id: true,
|
|
136
|
+
isActive: true,
|
|
137
|
+
isArchived: true,
|
|
138
|
+
keywords: true,
|
|
139
|
+
kind: true,
|
|
140
|
+
metadata: true,
|
|
141
|
+
slug: true,
|
|
142
|
+
title: true,
|
|
143
|
+
updatedAt: true,
|
|
144
|
+
updatedBy: true,
|
|
145
145
|
};
|
|
146
146
|
const findFirstArgs = (0, utils_1.parseFindFirstArgs)(argv, defaultSelect);
|
|
147
147
|
const client = (0, executor_1.getClient)();
|
|
@@ -167,22 +167,22 @@ async function handleSearch(argv, _prompter) {
|
|
|
167
167
|
embedding: {
|
|
168
168
|
vector: query,
|
|
169
169
|
},
|
|
170
|
-
|
|
171
|
-
query,
|
|
172
|
-
},
|
|
173
|
-
trgmKind: {
|
|
170
|
+
trgmBody: {
|
|
174
171
|
value: query,
|
|
175
172
|
threshold: 0.3,
|
|
176
173
|
},
|
|
177
|
-
|
|
174
|
+
trgmDescription: {
|
|
178
175
|
value: query,
|
|
179
176
|
threshold: 0.3,
|
|
180
177
|
},
|
|
181
|
-
|
|
178
|
+
trgmKind: {
|
|
182
179
|
value: query,
|
|
183
180
|
threshold: 0.3,
|
|
184
181
|
},
|
|
185
|
-
|
|
182
|
+
search: {
|
|
183
|
+
query,
|
|
184
|
+
},
|
|
185
|
+
trgmTitle: {
|
|
186
186
|
value: query,
|
|
187
187
|
threshold: 0.3,
|
|
188
188
|
},
|
|
@@ -196,24 +196,24 @@ async function handleSearch(argv, _prompter) {
|
|
|
196
196
|
await (0, embedder_1.autoEmbedWhere)(searchWhere ?? {}, ['embedding'], embedder);
|
|
197
197
|
}
|
|
198
198
|
const defaultSelect = {
|
|
199
|
-
|
|
199
|
+
archivedAt: true,
|
|
200
|
+
body: true,
|
|
200
201
|
createdAt: true,
|
|
201
|
-
updatedAt: true,
|
|
202
202
|
createdBy: true,
|
|
203
|
-
updatedBy: true,
|
|
204
203
|
databaseId: true,
|
|
205
|
-
slug: true,
|
|
206
|
-
kind: true,
|
|
207
|
-
title: true,
|
|
208
204
|
description: true,
|
|
209
|
-
body: true,
|
|
210
|
-
keywords: true,
|
|
211
|
-
isActive: true,
|
|
212
|
-
metadata: true,
|
|
213
|
-
isArchived: true,
|
|
214
|
-
archivedAt: true,
|
|
215
205
|
embedding: true,
|
|
216
206
|
embeddingUpdatedAt: true,
|
|
207
|
+
id: true,
|
|
208
|
+
isActive: true,
|
|
209
|
+
isArchived: true,
|
|
210
|
+
keywords: true,
|
|
211
|
+
kind: true,
|
|
212
|
+
metadata: true,
|
|
213
|
+
slug: true,
|
|
214
|
+
title: true,
|
|
215
|
+
updatedAt: true,
|
|
216
|
+
updatedBy: true,
|
|
217
217
|
};
|
|
218
218
|
const findManyArgs = (0, utils_1.parseFindManyArgs)(argv, defaultSelect, searchWhere);
|
|
219
219
|
const client = (0, executor_1.getClient)();
|
|
@@ -243,24 +243,24 @@ async function handleGet(argv, prompter) {
|
|
|
243
243
|
.findOne({
|
|
244
244
|
id: answers.id,
|
|
245
245
|
select: {
|
|
246
|
-
|
|
246
|
+
archivedAt: true,
|
|
247
|
+
body: true,
|
|
247
248
|
createdAt: true,
|
|
248
|
-
updatedAt: true,
|
|
249
249
|
createdBy: true,
|
|
250
|
-
updatedBy: true,
|
|
251
250
|
databaseId: true,
|
|
252
|
-
slug: true,
|
|
253
|
-
kind: true,
|
|
254
|
-
title: true,
|
|
255
251
|
description: true,
|
|
256
|
-
body: true,
|
|
257
|
-
keywords: true,
|
|
258
|
-
isActive: true,
|
|
259
|
-
metadata: true,
|
|
260
|
-
isArchived: true,
|
|
261
|
-
archivedAt: true,
|
|
262
252
|
embedding: true,
|
|
263
253
|
embeddingUpdatedAt: true,
|
|
254
|
+
id: true,
|
|
255
|
+
isActive: true,
|
|
256
|
+
isArchived: true,
|
|
257
|
+
keywords: true,
|
|
258
|
+
kind: true,
|
|
259
|
+
metadata: true,
|
|
260
|
+
slug: true,
|
|
261
|
+
title: true,
|
|
262
|
+
updatedAt: true,
|
|
263
|
+
updatedBy: true,
|
|
264
264
|
},
|
|
265
265
|
})
|
|
266
266
|
.execute();
|
|
@@ -279,41 +279,28 @@ async function handleCreate(argv, prompter) {
|
|
|
279
279
|
const rawAnswers = await prompter.prompt(argv, [
|
|
280
280
|
{
|
|
281
281
|
type: 'text',
|
|
282
|
-
name: '
|
|
283
|
-
message: '
|
|
284
|
-
required: false,
|
|
285
|
-
skipPrompt: true,
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
type: 'text',
|
|
289
|
-
name: 'updatedBy',
|
|
290
|
-
message: 'updatedBy',
|
|
282
|
+
name: 'archivedAt',
|
|
283
|
+
message: 'archivedAt',
|
|
291
284
|
required: false,
|
|
292
285
|
skipPrompt: true,
|
|
293
286
|
},
|
|
294
287
|
{
|
|
295
288
|
type: 'text',
|
|
296
|
-
name: '
|
|
297
|
-
message: '
|
|
298
|
-
required: true,
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
type: 'text',
|
|
302
|
-
name: 'slug',
|
|
303
|
-
message: 'slug',
|
|
289
|
+
name: 'body',
|
|
290
|
+
message: 'body',
|
|
304
291
|
required: true,
|
|
305
292
|
},
|
|
306
293
|
{
|
|
307
294
|
type: 'text',
|
|
308
|
-
name: '
|
|
309
|
-
message: '
|
|
295
|
+
name: 'createdBy',
|
|
296
|
+
message: 'createdBy',
|
|
310
297
|
required: false,
|
|
311
298
|
skipPrompt: true,
|
|
312
299
|
},
|
|
313
300
|
{
|
|
314
301
|
type: 'text',
|
|
315
|
-
name: '
|
|
316
|
-
message: '
|
|
302
|
+
name: 'databaseId',
|
|
303
|
+
message: 'databaseId',
|
|
317
304
|
required: true,
|
|
318
305
|
},
|
|
319
306
|
{
|
|
@@ -325,14 +312,15 @@ async function handleCreate(argv, prompter) {
|
|
|
325
312
|
},
|
|
326
313
|
{
|
|
327
314
|
type: 'text',
|
|
328
|
-
name: '
|
|
329
|
-
message: '
|
|
330
|
-
required:
|
|
315
|
+
name: 'embedding',
|
|
316
|
+
message: 'embedding',
|
|
317
|
+
required: false,
|
|
318
|
+
skipPrompt: true,
|
|
331
319
|
},
|
|
332
320
|
{
|
|
333
321
|
type: 'text',
|
|
334
|
-
name: '
|
|
335
|
-
message: '
|
|
322
|
+
name: 'embeddingUpdatedAt',
|
|
323
|
+
message: 'embeddingUpdatedAt',
|
|
336
324
|
required: false,
|
|
337
325
|
skipPrompt: true,
|
|
338
326
|
},
|
|
@@ -343,13 +331,6 @@ async function handleCreate(argv, prompter) {
|
|
|
343
331
|
required: false,
|
|
344
332
|
skipPrompt: true,
|
|
345
333
|
},
|
|
346
|
-
{
|
|
347
|
-
type: 'json',
|
|
348
|
-
name: 'metadata',
|
|
349
|
-
message: 'metadata',
|
|
350
|
-
required: false,
|
|
351
|
-
skipPrompt: true,
|
|
352
|
-
},
|
|
353
334
|
{
|
|
354
335
|
type: 'boolean',
|
|
355
336
|
name: 'isArchived',
|
|
@@ -359,22 +340,41 @@ async function handleCreate(argv, prompter) {
|
|
|
359
340
|
},
|
|
360
341
|
{
|
|
361
342
|
type: 'text',
|
|
362
|
-
name: '
|
|
363
|
-
message: '
|
|
343
|
+
name: 'keywords',
|
|
344
|
+
message: 'keywords',
|
|
364
345
|
required: false,
|
|
365
346
|
skipPrompt: true,
|
|
366
347
|
},
|
|
367
348
|
{
|
|
368
349
|
type: 'text',
|
|
369
|
-
name: '
|
|
370
|
-
message: '
|
|
350
|
+
name: 'kind',
|
|
351
|
+
message: 'kind',
|
|
352
|
+
required: false,
|
|
353
|
+
skipPrompt: true,
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
type: 'json',
|
|
357
|
+
name: 'metadata',
|
|
358
|
+
message: 'metadata',
|
|
371
359
|
required: false,
|
|
372
360
|
skipPrompt: true,
|
|
373
361
|
},
|
|
374
362
|
{
|
|
375
363
|
type: 'text',
|
|
376
|
-
name: '
|
|
377
|
-
message: '
|
|
364
|
+
name: 'slug',
|
|
365
|
+
message: 'slug',
|
|
366
|
+
required: true,
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
type: 'text',
|
|
370
|
+
name: 'title',
|
|
371
|
+
message: 'title',
|
|
372
|
+
required: true,
|
|
373
|
+
},
|
|
374
|
+
{
|
|
375
|
+
type: 'text',
|
|
376
|
+
name: 'updatedBy',
|
|
377
|
+
message: 'updatedBy',
|
|
378
378
|
required: false,
|
|
379
379
|
skipPrompt: true,
|
|
380
380
|
},
|
|
@@ -393,41 +393,41 @@ async function handleCreate(argv, prompter) {
|
|
|
393
393
|
const result = await client.agentResource
|
|
394
394
|
.create({
|
|
395
395
|
data: {
|
|
396
|
+
archivedAt: cleanedData.archivedAt,
|
|
397
|
+
body: cleanedData.body,
|
|
396
398
|
createdBy: cleanedData.createdBy,
|
|
397
|
-
updatedBy: cleanedData.updatedBy,
|
|
398
399
|
databaseId: cleanedData.databaseId,
|
|
399
|
-
slug: cleanedData.slug,
|
|
400
|
-
kind: cleanedData.kind,
|
|
401
|
-
title: cleanedData.title,
|
|
402
400
|
description: cleanedData.description,
|
|
403
|
-
body: cleanedData.body,
|
|
404
|
-
keywords: cleanedData.keywords,
|
|
405
|
-
isActive: cleanedData.isActive,
|
|
406
|
-
metadata: cleanedData.metadata,
|
|
407
|
-
isArchived: cleanedData.isArchived,
|
|
408
|
-
archivedAt: cleanedData.archivedAt,
|
|
409
401
|
embedding: cleanedData.embedding,
|
|
410
402
|
embeddingUpdatedAt: cleanedData.embeddingUpdatedAt,
|
|
403
|
+
isActive: cleanedData.isActive,
|
|
404
|
+
isArchived: cleanedData.isArchived,
|
|
405
|
+
keywords: cleanedData.keywords,
|
|
406
|
+
kind: cleanedData.kind,
|
|
407
|
+
metadata: cleanedData.metadata,
|
|
408
|
+
slug: cleanedData.slug,
|
|
409
|
+
title: cleanedData.title,
|
|
410
|
+
updatedBy: cleanedData.updatedBy,
|
|
411
411
|
},
|
|
412
412
|
select: {
|
|
413
|
-
|
|
413
|
+
archivedAt: true,
|
|
414
|
+
body: true,
|
|
414
415
|
createdAt: true,
|
|
415
|
-
updatedAt: true,
|
|
416
416
|
createdBy: true,
|
|
417
|
-
updatedBy: true,
|
|
418
417
|
databaseId: true,
|
|
419
|
-
slug: true,
|
|
420
|
-
kind: true,
|
|
421
|
-
title: true,
|
|
422
418
|
description: true,
|
|
423
|
-
body: true,
|
|
424
|
-
keywords: true,
|
|
425
|
-
isActive: true,
|
|
426
|
-
metadata: true,
|
|
427
|
-
isArchived: true,
|
|
428
|
-
archivedAt: true,
|
|
429
419
|
embedding: true,
|
|
430
420
|
embeddingUpdatedAt: true,
|
|
421
|
+
id: true,
|
|
422
|
+
isActive: true,
|
|
423
|
+
isArchived: true,
|
|
424
|
+
keywords: true,
|
|
425
|
+
kind: true,
|
|
426
|
+
metadata: true,
|
|
427
|
+
slug: true,
|
|
428
|
+
title: true,
|
|
429
|
+
updatedAt: true,
|
|
430
|
+
updatedBy: true,
|
|
431
431
|
},
|
|
432
432
|
})
|
|
433
433
|
.execute();
|
|
@@ -452,15 +452,21 @@ async function handleUpdate(argv, prompter) {
|
|
|
452
452
|
},
|
|
453
453
|
{
|
|
454
454
|
type: 'text',
|
|
455
|
-
name: '
|
|
456
|
-
message: '
|
|
455
|
+
name: 'archivedAt',
|
|
456
|
+
message: 'archivedAt',
|
|
457
457
|
required: false,
|
|
458
458
|
skipPrompt: true,
|
|
459
459
|
},
|
|
460
460
|
{
|
|
461
461
|
type: 'text',
|
|
462
|
-
name: '
|
|
463
|
-
message: '
|
|
462
|
+
name: 'body',
|
|
463
|
+
message: 'body',
|
|
464
|
+
required: false,
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
type: 'text',
|
|
468
|
+
name: 'createdBy',
|
|
469
|
+
message: 'createdBy',
|
|
464
470
|
required: false,
|
|
465
471
|
skipPrompt: true,
|
|
466
472
|
},
|
|
@@ -472,35 +478,38 @@ async function handleUpdate(argv, prompter) {
|
|
|
472
478
|
},
|
|
473
479
|
{
|
|
474
480
|
type: 'text',
|
|
475
|
-
name: '
|
|
476
|
-
message: '
|
|
481
|
+
name: 'description',
|
|
482
|
+
message: 'description',
|
|
477
483
|
required: false,
|
|
484
|
+
skipPrompt: true,
|
|
478
485
|
},
|
|
479
486
|
{
|
|
480
487
|
type: 'text',
|
|
481
|
-
name: '
|
|
482
|
-
message: '
|
|
488
|
+
name: 'embedding',
|
|
489
|
+
message: 'embedding',
|
|
483
490
|
required: false,
|
|
484
491
|
skipPrompt: true,
|
|
485
492
|
},
|
|
486
493
|
{
|
|
487
494
|
type: 'text',
|
|
488
|
-
name: '
|
|
489
|
-
message: '
|
|
495
|
+
name: 'embeddingUpdatedAt',
|
|
496
|
+
message: 'embeddingUpdatedAt',
|
|
490
497
|
required: false,
|
|
498
|
+
skipPrompt: true,
|
|
491
499
|
},
|
|
492
500
|
{
|
|
493
|
-
type: '
|
|
494
|
-
name: '
|
|
495
|
-
message: '
|
|
501
|
+
type: 'boolean',
|
|
502
|
+
name: 'isActive',
|
|
503
|
+
message: 'isActive',
|
|
496
504
|
required: false,
|
|
497
505
|
skipPrompt: true,
|
|
498
506
|
},
|
|
499
507
|
{
|
|
500
|
-
type: '
|
|
501
|
-
name: '
|
|
502
|
-
message: '
|
|
508
|
+
type: 'boolean',
|
|
509
|
+
name: 'isArchived',
|
|
510
|
+
message: 'isArchived',
|
|
503
511
|
required: false,
|
|
512
|
+
skipPrompt: true,
|
|
504
513
|
},
|
|
505
514
|
{
|
|
506
515
|
type: 'text',
|
|
@@ -510,9 +519,9 @@ async function handleUpdate(argv, prompter) {
|
|
|
510
519
|
skipPrompt: true,
|
|
511
520
|
},
|
|
512
521
|
{
|
|
513
|
-
type: '
|
|
514
|
-
name: '
|
|
515
|
-
message: '
|
|
522
|
+
type: 'text',
|
|
523
|
+
name: 'kind',
|
|
524
|
+
message: 'kind',
|
|
516
525
|
required: false,
|
|
517
526
|
skipPrompt: true,
|
|
518
527
|
},
|
|
@@ -523,31 +532,22 @@ async function handleUpdate(argv, prompter) {
|
|
|
523
532
|
required: false,
|
|
524
533
|
skipPrompt: true,
|
|
525
534
|
},
|
|
526
|
-
{
|
|
527
|
-
type: 'boolean',
|
|
528
|
-
name: 'isArchived',
|
|
529
|
-
message: 'isArchived',
|
|
530
|
-
required: false,
|
|
531
|
-
skipPrompt: true,
|
|
532
|
-
},
|
|
533
535
|
{
|
|
534
536
|
type: 'text',
|
|
535
|
-
name: '
|
|
536
|
-
message: '
|
|
537
|
+
name: 'slug',
|
|
538
|
+
message: 'slug',
|
|
537
539
|
required: false,
|
|
538
|
-
skipPrompt: true,
|
|
539
540
|
},
|
|
540
541
|
{
|
|
541
542
|
type: 'text',
|
|
542
|
-
name: '
|
|
543
|
-
message: '
|
|
543
|
+
name: 'title',
|
|
544
|
+
message: 'title',
|
|
544
545
|
required: false,
|
|
545
|
-
skipPrompt: true,
|
|
546
546
|
},
|
|
547
547
|
{
|
|
548
548
|
type: 'text',
|
|
549
|
-
name: '
|
|
550
|
-
message: '
|
|
549
|
+
name: 'updatedBy',
|
|
550
|
+
message: 'updatedBy',
|
|
551
551
|
required: false,
|
|
552
552
|
skipPrompt: true,
|
|
553
553
|
},
|
|
@@ -569,41 +569,41 @@ async function handleUpdate(argv, prompter) {
|
|
|
569
569
|
id: answers.id,
|
|
570
570
|
},
|
|
571
571
|
data: {
|
|
572
|
+
archivedAt: cleanedData.archivedAt,
|
|
573
|
+
body: cleanedData.body,
|
|
572
574
|
createdBy: cleanedData.createdBy,
|
|
573
|
-
updatedBy: cleanedData.updatedBy,
|
|
574
575
|
databaseId: cleanedData.databaseId,
|
|
575
|
-
slug: cleanedData.slug,
|
|
576
|
-
kind: cleanedData.kind,
|
|
577
|
-
title: cleanedData.title,
|
|
578
576
|
description: cleanedData.description,
|
|
579
|
-
body: cleanedData.body,
|
|
580
|
-
keywords: cleanedData.keywords,
|
|
581
|
-
isActive: cleanedData.isActive,
|
|
582
|
-
metadata: cleanedData.metadata,
|
|
583
|
-
isArchived: cleanedData.isArchived,
|
|
584
|
-
archivedAt: cleanedData.archivedAt,
|
|
585
577
|
embedding: cleanedData.embedding,
|
|
586
578
|
embeddingUpdatedAt: cleanedData.embeddingUpdatedAt,
|
|
579
|
+
isActive: cleanedData.isActive,
|
|
580
|
+
isArchived: cleanedData.isArchived,
|
|
581
|
+
keywords: cleanedData.keywords,
|
|
582
|
+
kind: cleanedData.kind,
|
|
583
|
+
metadata: cleanedData.metadata,
|
|
584
|
+
slug: cleanedData.slug,
|
|
585
|
+
title: cleanedData.title,
|
|
586
|
+
updatedBy: cleanedData.updatedBy,
|
|
587
587
|
},
|
|
588
588
|
select: {
|
|
589
|
-
|
|
589
|
+
archivedAt: true,
|
|
590
|
+
body: true,
|
|
590
591
|
createdAt: true,
|
|
591
|
-
updatedAt: true,
|
|
592
592
|
createdBy: true,
|
|
593
|
-
updatedBy: true,
|
|
594
593
|
databaseId: true,
|
|
595
|
-
slug: true,
|
|
596
|
-
kind: true,
|
|
597
|
-
title: true,
|
|
598
594
|
description: true,
|
|
599
|
-
body: true,
|
|
600
|
-
keywords: true,
|
|
601
|
-
isActive: true,
|
|
602
|
-
metadata: true,
|
|
603
|
-
isArchived: true,
|
|
604
|
-
archivedAt: true,
|
|
605
595
|
embedding: true,
|
|
606
596
|
embeddingUpdatedAt: true,
|
|
597
|
+
id: true,
|
|
598
|
+
isActive: true,
|
|
599
|
+
isArchived: true,
|
|
600
|
+
keywords: true,
|
|
601
|
+
kind: true,
|
|
602
|
+
metadata: true,
|
|
603
|
+
slug: true,
|
|
604
|
+
title: true,
|
|
605
|
+
updatedAt: true,
|
|
606
|
+
updatedBy: true,
|
|
607
607
|
},
|
|
608
608
|
})
|
|
609
609
|
.execute();
|