@tailor-platform/sdk 2.0.0-next.2 → 2.0.0-next.4
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/CHANGELOG.md +511 -10
- package/README.md +9 -9
- package/agent-skills/{tailor-sdk → tailor}/SKILL.md +3 -1
- package/dist/aigateway-DR4Kwuik.mjs +9 -0
- package/dist/aigateway-DR4Kwuik.mjs.map +1 -0
- package/dist/application-BO4ZF8wP.mjs +3 -0
- package/dist/application-BX13RArL.mjs +6669 -0
- package/dist/application-BX13RArL.mjs.map +1 -0
- package/dist/authconnection-CZvi9ANm.mjs +9 -0
- package/dist/authconnection-CZvi9ANm.mjs.map +1 -0
- package/dist/brand-Eo4pLXPJ.mjs.map +1 -1
- package/dist/cli/cache/bundle-cache.d.mts +1 -0
- package/dist/cli/cache/store.d.mts +1 -0
- package/dist/cli/cache/types.d.mts +1 -0
- package/dist/cli/commands/api/api-call.d.mts +19 -0
- package/dist/cli/commands/api/index.d.mts +3 -0
- package/dist/cli/commands/deploy/aigateway.d.mts +1 -0
- package/dist/cli/commands/deploy/application.d.mts +1 -0
- package/dist/cli/commands/deploy/apply-phases.d.mts +1 -0
- package/dist/cli/commands/deploy/auth.d.mts +1 -0
- package/dist/cli/commands/deploy/deploy.d.mts +24 -0
- package/dist/cli/commands/deploy/executor.d.mts +1 -0
- package/dist/cli/commands/deploy/function-registry-types.d.mts +12 -0
- package/dist/cli/commands/deploy/function-registry.d.mts +2 -0
- package/dist/cli/commands/deploy/idp.d.mts +1 -0
- package/dist/cli/commands/deploy/resolver.d.mts +1 -0
- package/dist/cli/commands/deploy/secret-manager.d.mts +1 -0
- package/dist/cli/commands/deploy/staticwebsite.d.mts +1 -0
- package/dist/cli/commands/deploy/tailordb/index.d.mts +1 -0
- package/dist/cli/commands/deploy/types.d.mts +1 -0
- package/dist/cli/commands/deploy/workflow-execution-policy.d.mts +1 -0
- package/dist/cli/commands/deploy/workflow.d.mts +1 -0
- package/dist/cli/commands/executor/get.d.mts +29 -0
- package/dist/cli/commands/executor/jobs.d.mts +123 -0
- package/dist/cli/commands/executor/list.d.mts +19 -0
- package/dist/cli/commands/executor/transform.d.mts +41 -0
- package/dist/cli/commands/executor/trigger.d.mts +41 -0
- package/dist/cli/commands/executor/webhook.d.mts +22 -0
- package/dist/cli/commands/function/get.d.mts +18 -0
- package/dist/cli/commands/function/list.d.mts +22 -0
- package/dist/cli/commands/function/transform.d.mts +11 -0
- package/dist/cli/commands/generate/options.d.mts +7 -0
- package/dist/cli/commands/generate/seed/bundler.d.mts +26 -0
- package/dist/cli/commands/generate/service.d.mts +11 -0
- package/dist/cli/commands/machineuser/list.d.mts +27 -0
- package/dist/cli/commands/machineuser/token.d.mts +22 -0
- package/dist/cli/commands/oauth2client/get.d.mts +18 -0
- package/dist/cli/commands/oauth2client/list.d.mts +20 -0
- package/dist/cli/commands/oauth2client/transform.d.mts +20 -0
- package/dist/cli/commands/organization/folder/create.d.mts +18 -0
- package/dist/cli/commands/organization/folder/delete.d.mts +16 -0
- package/dist/cli/commands/organization/folder/get.d.mts +17 -0
- package/dist/cli/commands/organization/folder/list.d.mts +22 -0
- package/dist/cli/commands/organization/folder/update.d.mts +18 -0
- package/dist/cli/commands/organization/get.d.mts +16 -0
- package/dist/cli/commands/organization/list.d.mts +15 -0
- package/dist/cli/commands/organization/transform.d.mts +27 -0
- package/dist/cli/commands/organization/tree.d.mts +25 -0
- package/dist/cli/commands/organization/update.d.mts +17 -0
- package/dist/cli/commands/remove.d.mts +16 -0
- package/dist/cli/commands/show.d.mts +34 -0
- package/dist/cli/commands/tailordb/migrate/bundler.d.mts +28 -0
- package/dist/cli/commands/tailordb/migrate/config.d.mts +19 -0
- package/dist/cli/commands/tailordb/migrate/diff-calculator.d.mts +223 -0
- package/dist/cli/commands/tailordb/migrate/generate.d.mts +17 -0
- package/dist/cli/commands/tailordb/migrate/snapshot-types.d.mts +202 -0
- package/dist/cli/commands/tailordb/migrate/snapshot.d.mts +98 -0
- package/dist/cli/commands/tailordb/migrate/types.d.mts +7 -0
- package/dist/cli/commands/tailordb/truncate.d.mts +19 -0
- package/dist/cli/commands/workflow/executions.d.mts +75 -0
- package/dist/cli/commands/workflow/get.d.mts +29 -0
- package/dist/cli/commands/workflow/list.d.mts +19 -0
- package/dist/cli/commands/workflow/resume.d.mts +23 -0
- package/dist/cli/commands/workflow/start.d.mts +61 -0
- package/dist/cli/commands/workflow/status.d.mts +5 -0
- package/dist/cli/commands/workflow/transform.d.mts +33 -0
- package/dist/cli/commands/workflow/wait.d.mts +16 -0
- package/dist/cli/commands/workflow/waiter.d.mts +23 -0
- package/dist/cli/commands/workspace/app/health.d.mts +18 -0
- package/dist/cli/commands/workspace/app/list.d.mts +22 -0
- package/dist/cli/commands/workspace/app/transform.d.mts +18 -0
- package/dist/cli/commands/workspace/create.d.mts +25 -0
- package/dist/cli/commands/workspace/delete.d.mts +15 -0
- package/dist/cli/commands/workspace/get.d.mts +17 -0
- package/dist/cli/commands/workspace/list.d.mts +17 -0
- package/dist/cli/commands/workspace/restore.d.mts +15 -0
- package/dist/cli/commands/workspace/transform.d.mts +16 -0
- package/dist/cli/commands/workspace/user/invite.d.mts +22 -0
- package/dist/cli/commands/workspace/user/list.d.mts +22 -0
- package/dist/cli/commands/workspace/user/remove.d.mts +17 -0
- package/dist/cli/commands/workspace/user/transform.d.mts +8 -0
- package/dist/cli/commands/workspace/user/update.d.mts +22 -0
- package/dist/cli/erd-viewer-assets/app.js +279 -36
- package/dist/cli/erd-viewer-assets/index.html +4 -0
- package/dist/cli/erd-viewer-assets/styles.css +252 -5
- package/dist/cli/index.d.mts +18 -3
- package/dist/cli/index.mjs +2237 -520
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +81 -21107
- package/dist/cli/lib.mjs +7 -10
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/cli/query/index.d.mts +39 -0
- package/dist/cli/services/application.d.mts +1 -0
- package/dist/cli/services/auth/service.d.mts +1 -0
- package/dist/cli/services/executor/service.d.mts +1 -0
- package/dist/cli/services/http-adapter/bundler.d.mts +1 -0
- package/dist/cli/services/http-adapter/service.d.mts +1 -0
- package/dist/cli/services/resolver/service.d.mts +1 -0
- package/dist/cli/services/tailordb/service.d.mts +1 -0
- package/dist/cli/services/workflow/bundler.d.mts +1 -0
- package/dist/cli/services/workflow/service.d.mts +1 -0
- package/dist/cli/shared/args.d.mts +13 -0
- package/dist/cli/shared/client.d.mts +1273 -0
- package/dist/cli/shared/config-loader.d.mts +26 -0
- package/dist/cli/shared/context.d.mts +28 -0
- package/dist/cli/shared/script-executor.d.mts +75 -0
- package/dist/cli/shared/seed-chunker.d.mts +46 -0
- package/dist/cli/shared/trigger-context.d.mts +1 -0
- package/dist/cli/shared/type-generator.d.mts +20 -0
- package/dist/cli/ts-hook.d.mts +4 -0
- package/dist/cli/ts-hook.mjs +333 -0
- package/dist/completion/zsh-worker.zsh +1531 -1131
- package/dist/configure/config/index.d.mts +21 -0
- package/dist/configure/config/types.d.mts +105 -0
- package/dist/configure/index.d.mts +124 -9
- package/dist/configure/index.mjs +136 -23
- package/dist/configure/index.mjs.map +1 -1
- package/dist/configure/services/aigateway/index.d.mts +17 -0
- package/dist/configure/services/aigateway/types.d.mts +11 -0
- package/dist/configure/services/auth/index.d.mts +34 -0
- package/dist/configure/services/auth/types.d.mts +172 -0
- package/dist/configure/services/executor/executor.d.mts +81 -0
- package/dist/configure/services/executor/index.d.mts +8 -0
- package/dist/configure/services/executor/operation.d.mts +45 -0
- package/dist/configure/services/executor/trigger/event.d.mts +272 -0
- package/dist/configure/services/executor/trigger/index.d.mts +8 -0
- package/dist/configure/services/executor/trigger/schedule.d.mts +25 -0
- package/dist/configure/services/executor/trigger/webhook.d.mts +44 -0
- package/dist/configure/services/executor/types.d.mts +2 -0
- package/dist/configure/services/http-adapter/http-adapter.d.mts +125 -0
- package/dist/configure/services/http-adapter/index.d.mts +2 -0
- package/dist/configure/services/idp/index.d.mts +64 -0
- package/dist/configure/services/idp/permission.d.mts +80 -0
- package/dist/configure/services/idp/types.d.mts +20 -0
- package/dist/configure/services/index.d.mts +34 -0
- package/dist/configure/services/resolver/index.d.mts +5 -0
- package/dist/configure/services/resolver/resolver.d.mts +75 -0
- package/dist/configure/services/resolver/types.d.mts +6 -0
- package/dist/configure/services/secrets/index.d.mts +38 -0
- package/dist/configure/services/secrets/types.d.mts +11 -0
- package/dist/configure/services/staticwebsite/index.d.mts +19 -0
- package/dist/configure/services/staticwebsite/types.d.mts +11 -0
- package/dist/configure/services/tailordb/index.d.mts +4 -0
- package/dist/configure/services/tailordb/permission.d.mts +119 -0
- package/dist/configure/services/tailordb/schema.d.mts +456 -0
- package/dist/configure/services/tailordb/types.d.mts +149 -0
- package/dist/configure/services/workflow/execution-policy.d.mts +71 -0
- package/dist/configure/services/workflow/execution-policy.types.d.mts +104 -0
- package/dist/configure/services/workflow/index.d.mts +8 -0
- package/dist/configure/services/workflow/job.d.mts +84 -0
- package/dist/configure/services/workflow/types.d.mts +2 -0
- package/dist/configure/services/workflow/wait-point.d.mts +73 -0
- package/dist/configure/services/workflow/workflow.d.mts +54 -0
- package/dist/configure/types/aigateway-name.d.mts +12 -0
- package/dist/configure/types/connection-name.d.mts +12 -0
- package/dist/configure/types/field-runtime.d.mts +17 -0
- package/dist/configure/types/field.d.mts +9 -0
- package/dist/configure/types/field.types.d.mts +109 -0
- package/dist/configure/types/idp-name.d.mts +12 -0
- package/dist/configure/types/index.d.mts +4 -0
- package/dist/configure/types/machine-user.d.mts +2 -0
- package/dist/configure/types/type.d.mts +82 -0
- package/dist/{context-Bd266-ru.mjs → context-DYQVYWqZ.mjs} +4 -5
- package/dist/context-DYQVYWqZ.mjs.map +1 -0
- package/dist/{crashreport-DFq-vsU0.mjs → crashreport-Cg-pqRJV.mjs} +6 -6
- package/dist/{crashreport-DFq-vsU0.mjs.map → crashreport-Cg-pqRJV.mjs.map} +1 -1
- package/dist/{crashreport-BMWcxeSE.mjs → crashreport-D3RjuSYb.mjs} +1 -1
- package/dist/enum-constants-j9QBF0cB.mjs.map +1 -1
- package/dist/{errors-Dtf2WPaW.mjs → errors-118wUDRr.mjs} +2 -2
- package/dist/errors-118wUDRr.mjs.map +1 -0
- package/dist/field-runtime-CAnh_oow.mjs +183 -0
- package/dist/field-runtime-CAnh_oow.mjs.map +1 -0
- package/dist/{file-BbdFGdMV.mjs → file-BUcmVIH2.mjs} +12 -14
- package/dist/file-BUcmVIH2.mjs.map +1 -0
- package/dist/{file-utils-CYZnO1pX.mjs → file-utils-yEiIS4nJ.mjs} +2 -2
- package/dist/file-utils-yEiIS4nJ.mjs.map +1 -0
- package/dist/{globals-Cf0sxIt8.mjs → globals-BjhJJ2dN.mjs} +5 -47
- package/dist/globals-BjhJJ2dN.mjs.map +1 -0
- package/dist/iconv-QWaZh0TT.mjs +38 -0
- package/dist/iconv-QWaZh0TT.mjs.map +1 -0
- package/dist/{idp-BDbK5gjm.mjs → idp-RA_swu-h.mjs} +12 -5
- package/dist/idp-RA_swu-h.mjs.map +1 -0
- package/dist/{interceptor-D-q1rvRl.mjs → interceptor-e33JtsC-.mjs} +2 -2
- package/dist/interceptor-e33JtsC-.mjs.map +1 -0
- package/dist/kysely/index.d.mts +2 -3
- package/dist/{kysely-type-DR8uzZTA.mjs → kysely-type-D-zflMGf.mjs} +2 -2
- package/dist/{kysely-type-DR8uzZTA.mjs.map → kysely-type-D-zflMGf.mjs.map} +1 -1
- package/dist/{logger-CxF-Ex5d.mjs → logger-BEiZZ3qT.mjs} +3 -3
- package/dist/{logger-CxF-Ex5d.mjs.map → logger-BEiZZ3qT.mjs.map} +1 -1
- package/dist/parser/service/auth/index.d.mts +1 -0
- package/dist/parser/service/auth/schema.d.mts +1 -0
- package/dist/parser/service/http-adapter/index.d.mts +1 -0
- package/dist/parser/service/http-adapter/schema.d.mts +1 -0
- package/dist/parser/service/idp/types.d.mts +4 -0
- package/dist/parser/service/tailordb/types.d.mts +126 -0
- package/dist/platform-serialize-RoRtBS0v.mjs +46 -0
- package/dist/platform-serialize-RoRtBS0v.mjs.map +1 -0
- package/dist/plugin/builtin/enum-constants/index.d.mts +16 -1
- package/dist/plugin/builtin/file-utils/index.d.mts +16 -1
- package/dist/plugin/builtin/file-utils/index.mjs +1 -1
- package/dist/plugin/builtin/kysely-type/index.d.mts +16 -1
- package/dist/plugin/builtin/kysely-type/index.mjs +1 -1
- package/dist/plugin/builtin/seed/index.d.mts +45 -1
- package/dist/plugin/builtin/seed/index.mjs +1 -1
- package/dist/plugin/get-generated-type.d.mts +17 -0
- package/dist/plugin/index.d.mts +3 -118
- package/dist/plugin/index.mjs +1 -1
- package/dist/plugin/index.mjs.map +1 -1
- package/dist/plugin/manager.d.mts +1 -0
- package/dist/plugin/types.d.mts +243 -0
- package/dist/plugin/with-context.d.mts +102 -0
- package/dist/{runtime-CY4JvrDj.mjs → register-ts-hook-BM1caLT0.mjs} +4128 -2744
- package/dist/register-ts-hook-BM1caLT0.mjs.map +1 -0
- package/dist/{registry-DH4m7eYo.mjs → registry-BSbq6SPo.mjs} +4 -3
- package/dist/registry-BSbq6SPo.mjs.map +1 -0
- package/dist/{repl-editor-DmGr9zMw.mjs → repl-editor-BCozyiNq.mjs} +6 -5
- package/dist/{repl-editor-DmGr9zMw.mjs.map → repl-editor-BCozyiNq.mjs.map} +1 -1
- package/dist/resource_pb-BRv7AMXK.mjs +49 -0
- package/dist/resource_pb-BRv7AMXK.mjs.map +1 -0
- package/dist/runtime/aigateway.d.mts +26 -0
- package/dist/runtime/aigateway.mjs +3 -0
- package/dist/runtime/authconnection.d.mts +22 -2
- package/dist/runtime/authconnection.mjs +2 -2
- package/dist/runtime/context.d.mts +55 -2
- package/dist/runtime/context.mjs +2 -2
- package/dist/runtime/file.d.mts +170 -2
- package/dist/runtime/file.mjs +2 -2
- package/dist/runtime/globals.d.mts +31 -19
- package/dist/runtime/iconv.d.mts +73 -2
- package/dist/runtime/iconv.mjs +2 -2
- package/dist/runtime/idp.d.mts +129 -2
- package/dist/runtime/idp.mjs +2 -2
- package/dist/runtime/index.d.mts +47 -9
- package/dist/runtime/index.mjs +9 -8
- package/dist/runtime/secretmanager.d.mts +41 -2
- package/dist/runtime/secretmanager.mjs +2 -2
- package/dist/{types-BZ7QKVE8.d.mts → runtime/types.d.mts} +4 -5
- package/dist/runtime/workflow.d.mts +113 -2
- package/dist/runtime/workflow.mjs +2 -2
- package/dist/{schema-Dtw9Orye.mjs → schema-C4LYbXVG.mjs} +21 -186
- package/dist/schema-C4LYbXVG.mjs.map +1 -0
- package/dist/{secret-file-VSVGy1V0.mjs → secret-file-aoNXJmKa.mjs} +3 -3
- package/dist/secret-file-aoNXJmKa.mjs.map +1 -0
- package/dist/secretmanager-Bd45j7an.mjs +98 -0
- package/dist/secretmanager-Bd45j7an.mjs.map +1 -0
- package/dist/secretmanager-CYlpffsz.mjs +13 -0
- package/dist/secretmanager-CYlpffsz.mjs.map +1 -0
- package/dist/seed/index.d.mts +1 -2
- package/dist/{seed-izIEyP3z.mjs → seed-CRSQJI_z.mjs} +14 -3
- package/dist/seed-CRSQJI_z.mjs.map +1 -0
- package/dist/service-CkIwEctX.mjs +3 -0
- package/dist/{service-DU1mVzri2.mjs → service-DeZeYa06.mjs} +3 -3
- package/dist/service-DeZeYa06.mjs.map +1 -0
- package/dist/{service-DjyqbCaJ.mjs → service-ufH7sS8o.mjs} +396 -58
- package/dist/service-ufH7sS8o.mjs.map +1 -0
- package/dist/service_pb-B2FF59sP.mjs +3 -0
- package/dist/service_pb-B5w9rjPY.mjs +955 -0
- package/dist/service_pb-B5w9rjPY.mjs.map +1 -0
- package/dist/tailor-proto/src/tailor/v1/aigateway_pb.d.mts +204 -0
- package/dist/tailor-proto/src/tailor/v1/aigateway_resource_pb.d.mts +58 -0
- package/dist/tailor-proto/src/tailor/v1/application_pb.d.mts +316 -0
- package/dist/tailor-proto/src/tailor/v1/application_resource_pb.d.mts +161 -0
- package/dist/tailor-proto/src/tailor/v1/auth_pb.d.mts +2070 -0
- package/dist/tailor-proto/src/tailor/v1/auth_resource_pb.d.mts +861 -0
- package/dist/tailor-proto/src/tailor/v1/events_pb.d.mts +112 -0
- package/dist/tailor-proto/src/tailor/v1/events_resource_pb.d.mts +69 -0
- package/dist/tailor-proto/src/tailor/v1/executor_pb.d.mts +439 -0
- package/dist/tailor-proto/src/tailor/v1/executor_resource_pb.d.mts +564 -0
- package/dist/tailor-proto/src/tailor/v1/function_pb.d.mts +145 -0
- package/dist/tailor-proto/src/tailor/v1/function_registry_pb.d.mts +451 -0
- package/dist/tailor-proto/src/tailor/v1/function_resource_pb.d.mts +192 -0
- package/dist/tailor-proto/src/tailor/v1/http_adapter_resource_pb.d.mts +50 -0
- package/dist/tailor-proto/src/tailor/v1/idp_pb.d.mts +407 -0
- package/dist/tailor-proto/src/tailor/v1/idp_resource_pb.d.mts +430 -0
- package/dist/tailor-proto/src/tailor/v1/metadata_pb.d.mts +73 -0
- package/dist/tailor-proto/src/tailor/v1/metadata_resource_pb.d.mts +17 -0
- package/dist/tailor-proto/src/tailor/v1/meter_pb.d.mts +309 -0
- package/dist/tailor-proto/src/tailor/v1/pipeline_pb.d.mts +591 -0
- package/dist/tailor-proto/src/tailor/v1/pipeline_resource_pb.d.mts +330 -0
- package/dist/tailor-proto/src/tailor/v1/resource_pb.d.mts +113 -0
- package/dist/tailor-proto/src/tailor/v1/secret_manager_pb.d.mts +346 -0
- package/dist/tailor-proto/src/tailor/v1/secret_manager_resource_pb.d.mts +54 -0
- package/dist/tailor-proto/src/tailor/v1/service_pb.d.mts +3576 -0
- package/dist/tailor-proto/src/tailor/v1/stateflow_pb.d.mts +187 -0
- package/dist/tailor-proto/src/tailor/v1/stateflow_resource_pb.d.mts +29 -0
- package/dist/tailor-proto/src/tailor/v1/staticwebsite_pb.d.mts +429 -0
- package/dist/tailor-proto/src/tailor/v1/staticwebsite_resource_pb.d.mts +90 -0
- package/dist/tailor-proto/src/tailor/v1/tailordb_pb.d.mts +684 -0
- package/dist/tailor-proto/src/tailor/v1/tailordb_resource_pb.d.mts +797 -0
- package/dist/tailor-proto/src/tailor/v1/telemetryrouter_pb.d.mts +330 -0
- package/dist/tailor-proto/src/tailor/v1/telemetryrouter_resource_pb.d.mts +183 -0
- package/dist/tailor-proto/src/tailor/v1/workflow_pb.d.mts +862 -0
- package/dist/tailor-proto/src/tailor/v1/workflow_resource_pb.d.mts +310 -0
- package/dist/tailor-proto/src/tailor/v1/workspace_pb.d.mts +2015 -0
- package/dist/tailor-proto/src/tailor/v1/workspace_resource_pb.d.mts +483 -0
- package/dist/{telemetry-CdqJEzkj.mjs → telemetry-BRVdwh14.mjs} +3 -3
- package/dist/telemetry-BRVdwh14.mjs.map +1 -0
- package/dist/telemetry-CkbkeJxl.mjs +3 -0
- package/dist/types/aigateway.generated.d.mts +9 -0
- package/dist/types/app-config.generated.d.mts +4 -0
- package/dist/types/auth-connection.generated.d.mts +20 -0
- package/dist/types/auth.generated.d.mts +145 -0
- package/dist/types/executor.generated.d.mts +177 -0
- package/dist/types/helpers.d.mts +39 -0
- package/dist/types/http-adapter.generated.d.mts +17 -0
- package/dist/{workflow.generated-ClEjBYhm.d.mts → types/idp.generated.d.mts} +98 -185
- package/dist/types/resolver.generated.d.mts +39 -0
- package/dist/types/secrets.generated.d.mts +14 -0
- package/dist/types/staticwebsite.generated.d.mts +10 -0
- package/dist/{types-CdcQh4Z2.d.mts → types/tailordb.generated.d.mts} +2 -287
- package/dist/types/workflow.generated.d.mts +12 -0
- package/dist/types-C-lQ4se3.mjs +4 -0
- package/dist/types-CXF2OYdR.mjs +199 -0
- package/dist/types-CXF2OYdR.mjs.map +1 -0
- package/dist/utils/test/index.d.mts +5 -89
- package/dist/utils/test/index.mjs.map +1 -1
- package/dist/utils/test/mock.d.mts +87 -0
- package/dist/vitest/environment.d.mts +1 -2
- package/dist/vitest/environment.mjs +2 -2
- package/dist/vitest/environment.mjs.map +1 -1
- package/dist/vitest/index.d.mts +12 -428
- package/dist/vitest/index.mjs +740 -9
- package/dist/vitest/index.mjs.map +1 -1
- package/dist/vitest/mock-kysely.d.mts +62 -0
- package/dist/vitest/mock.d.mts +9 -0
- package/dist/vitest/mocks/aigateway.d.mts +30 -0
- package/dist/vitest/mocks/authconnection.d.mts +28 -0
- package/dist/vitest/mocks/file.d.mts +41 -0
- package/dist/vitest/mocks/iconv.d.mts +27 -0
- package/dist/vitest/mocks/idp.d.mts +44 -0
- package/dist/vitest/mocks/secretmanager.d.mts +33 -0
- package/dist/vitest/mocks/tailordb.d.mts +71 -0
- package/dist/vitest/mocks/workflow.d.mts +117 -0
- package/dist/vitest/setup.d.mts +1 -2
- package/dist/vitest/setup.mjs +2 -2
- package/dist/vitest/workflow-local.d.mts +40 -0
- package/dist/workflow-GNuSnsTx.mjs +22 -0
- package/dist/workflow-GNuSnsTx.mjs.map +1 -0
- package/docs/cli/application.md +98 -250
- package/docs/cli/auth.md +51 -295
- package/docs/cli/completion.md +1 -25
- package/docs/cli/crashreport.md +3 -61
- package/docs/cli/executor.md +23 -187
- package/docs/cli/function.md +14 -130
- package/docs/cli/organization.md +11 -221
- package/docs/cli/plugin.md +29 -0
- package/docs/cli/query.md +2 -22
- package/docs/cli/secret.md +71 -251
- package/docs/cli/setup.md +137 -41
- package/docs/cli/skills.md +50 -39
- package/docs/cli/staticwebsite.md +32 -180
- package/docs/cli/tailordb.md +97 -323
- package/docs/cli/upgrade.md +2 -22
- package/docs/cli/user.md +78 -247
- package/docs/cli/workflow.md +44 -203
- package/docs/cli/workspace.md +165 -538
- package/docs/cli-reference.md +167 -67
- package/docs/configuration.md +34 -4
- package/docs/github-actions.md +46 -19
- package/docs/migration/v2.md +397 -26
- package/docs/multi-environment.md +29 -7
- package/docs/plugin/custom.md +4 -4
- package/docs/plugin/index.md +8 -8
- package/docs/quickstart.md +8 -7
- package/docs/runtime.md +9 -3
- package/docs/services/aigateway.md +18 -2
- package/docs/services/auth.md +34 -42
- package/docs/services/http-adapter.md +16 -1
- package/docs/services/idp.md +55 -2
- package/docs/services/resolver.md +2 -2
- package/docs/services/secret.md +11 -11
- package/docs/services/staticwebsite.md +8 -2
- package/docs/services/tailordb-migration.md +25 -23
- package/docs/services/tailordb.md +55 -32
- package/docs/services/workflow.md +92 -14
- package/docs/testing.md +49 -3
- package/package.json +42 -31
- package/postinstall.mjs +4 -6
- package/dist/application-Dtqap5jM.mjs +0 -3
- package/dist/application-XuMWK4eq.mjs +0 -7257
- package/dist/application-XuMWK4eq.mjs.map +0 -1
- package/dist/authconnection-D2MhtTN5.mjs +0 -15
- package/dist/authconnection-D2MhtTN5.mjs.map +0 -1
- package/dist/authconnection-DvUQAjQS.d.mts +0 -39
- package/dist/context-Bd266-ru.mjs.map +0 -1
- package/dist/context-C2lEi9uw.d.mts +0 -47
- package/dist/errors-Dtf2WPaW.mjs.map +0 -1
- package/dist/field-DOsJCPFa.mjs +0 -22
- package/dist/field-DOsJCPFa.mjs.map +0 -1
- package/dist/file-BbdFGdMV.mjs.map +0 -1
- package/dist/file-Dq3NIt_F.d.mts +0 -211
- package/dist/file-utils-CYZnO1pX.mjs.map +0 -1
- package/dist/globals-Cf0sxIt8.mjs.map +0 -1
- package/dist/http-adapter.generated-DFsXDdm5.d.mts +0 -581
- package/dist/iconv-Co-TOPuH.d.mts +0 -122
- package/dist/iconv-D2vi8G36.mjs +0 -63
- package/dist/iconv-D2vi8G36.mjs.map +0 -1
- package/dist/idp-BDbK5gjm.mjs.map +0 -1
- package/dist/idp-DrhVrLmV.d.mts +0 -160
- package/dist/index-BI-_j9Z3.d.mts +0 -1013
- package/dist/index-C4JirJH8.d.mts +0 -18
- package/dist/index-CZfWhr0a.d.mts +0 -18
- package/dist/index-Cg8VKAdN.d.mts +0 -46
- package/dist/index-DYRjoLXD.d.mts +0 -47
- package/dist/index-lFpcjHPU.d.mts +0 -201
- package/dist/index-nW7hE6oE.d.mts +0 -18
- package/dist/interceptor-D-q1rvRl.mjs.map +0 -1
- package/dist/mock-FPxmnt-y.mjs +0 -759
- package/dist/mock-FPxmnt-y.mjs.map +0 -1
- package/dist/registry-DH4m7eYo.mjs.map +0 -1
- package/dist/rolldown-runtime-DXywRVcq.mjs +0 -20
- package/dist/runtime-CY4JvrDj.mjs.map +0 -1
- package/dist/schema-Dtw9Orye.mjs.map +0 -1
- package/dist/secret-file-VSVGy1V0.mjs.map +0 -1
- package/dist/secretmanager-B3n4KHfm.d.mts +0 -55
- package/dist/secretmanager-BVxw3ih_.mjs +0 -24
- package/dist/secretmanager-BVxw3ih_.mjs.map +0 -1
- package/dist/seed-izIEyP3z.mjs.map +0 -1
- package/dist/service-DCqIWibD.mjs +0 -3
- package/dist/service-DU1mVzri2.mjs.map +0 -1
- package/dist/service-DjyqbCaJ.mjs.map +0 -1
- package/dist/telemetry-CdqJEzkj.mjs.map +0 -1
- package/dist/telemetry-ClwW5ohF.mjs +0 -3
- package/dist/types-74etvaxy.mjs +0 -4
- package/dist/types-BDRml5C3.d.mts +0 -574
- package/dist/types-BQijbo4m.mjs +0 -371
- package/dist/types-BQijbo4m.mjs.map +0 -1
- package/dist/types-BX4q6Mo6.d.mts +0 -339
- package/dist/workflow-BOmaZwwG.mjs +0 -43
- package/dist/workflow-BOmaZwwG.mjs.map +0 -1
- package/dist/workflow-BVy4XWjS.d.mts +0 -101
package/docs/cli/upgrade.md
CHANGED
|
@@ -1,27 +1,13 @@
|
|
|
1
|
-
<!-- politty:command:upgrade:heading:start -->
|
|
2
|
-
|
|
3
1
|
## upgrade
|
|
4
2
|
|
|
5
|
-
<!-- politty:command:upgrade:heading:end -->
|
|
6
|
-
|
|
7
|
-
<!-- politty:command:upgrade:description:start -->
|
|
8
|
-
|
|
9
3
|
Run codemods to upgrade your project to a newer SDK version.
|
|
10
4
|
|
|
11
|
-
<!-- politty:command:upgrade:description:end -->
|
|
12
|
-
|
|
13
|
-
<!-- politty:command:upgrade:usage:start -->
|
|
14
|
-
|
|
15
5
|
**Usage**
|
|
16
6
|
|
|
17
7
|
```
|
|
18
|
-
tailor
|
|
8
|
+
tailor upgrade [options]
|
|
19
9
|
```
|
|
20
10
|
|
|
21
|
-
<!-- politty:command:upgrade:usage:end -->
|
|
22
|
-
|
|
23
|
-
<!-- politty:command:upgrade:options:start -->
|
|
24
|
-
|
|
25
11
|
**Options**
|
|
26
12
|
|
|
27
13
|
| Option | Alias | Description | Required | Default |
|
|
@@ -30,14 +16,8 @@ tailor-sdk upgrade [options]
|
|
|
30
16
|
| `--dry-run` | `-d` | Preview changes without modifying files | No | `false` |
|
|
31
17
|
| `--path <PATH>` | - | Project directory to upgrade | No | `"."` |
|
|
32
18
|
|
|
33
|
-
<!-- politty:command:upgrade:options:end -->
|
|
34
|
-
|
|
35
|
-
<!-- politty:command:upgrade:global-options-link:start -->
|
|
36
|
-
|
|
37
19
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
38
20
|
|
|
39
|
-
<!-- politty:command:upgrade:global-options-link:end -->
|
|
40
|
-
|
|
41
21
|
### How It Works
|
|
42
22
|
|
|
43
23
|
The `upgrade` command runs codemods that automatically transform your project code for breaking changes between SDK versions. The target version (`--to`) is auto-detected from the installed `@tailor-platform/sdk` in `node_modules`.
|
|
@@ -45,7 +25,7 @@ The `upgrade` command runs codemods that automatically transform your project co
|
|
|
45
25
|
**Typical workflow:**
|
|
46
26
|
|
|
47
27
|
1. Update your SDK packages to the new version (e.g., `pnpm update @tailor-platform/sdk`)
|
|
48
|
-
2. Run `tailor
|
|
28
|
+
2. Run `tailor upgrade --from <old-version>` to apply codemods
|
|
49
29
|
3. Review changes and commit
|
|
50
30
|
|
|
51
31
|
Use `--dry-run` to preview what changes will be made before applying them.
|
package/docs/cli/user.md
CHANGED
|
@@ -2,32 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
Commands for authentication and user management.
|
|
4
4
|
|
|
5
|
-
<!-- politty:command:login:heading:start -->
|
|
6
|
-
|
|
7
5
|
## login
|
|
8
6
|
|
|
9
|
-
<!-- politty:command:login:heading:end -->
|
|
10
|
-
|
|
11
|
-
<!-- politty:command:login:description:start -->
|
|
12
|
-
|
|
13
7
|
Login to Tailor Platform.
|
|
14
8
|
|
|
15
|
-
<!-- politty:command:login:description:end -->
|
|
16
|
-
|
|
17
|
-
<!-- politty:command:login:usage:start -->
|
|
18
|
-
|
|
19
9
|
**Usage**
|
|
20
10
|
|
|
21
11
|
```
|
|
22
|
-
tailor
|
|
12
|
+
tailor login [options]
|
|
23
13
|
```
|
|
24
14
|
|
|
25
|
-
<!-- politty:command:login:usage:end -->
|
|
26
|
-
|
|
27
|
-
<!-- politty:command:login:options:start -->
|
|
28
|
-
|
|
29
15
|
**Options**
|
|
30
16
|
|
|
17
|
+
| Option | Alias | Description | Required | Default | Env |
|
|
18
|
+
| --------------------- | ----- | ------------------------------------------------------------------- | -------- | ------- | ------------------------- |
|
|
19
|
+
| `--profile <PROFILE>` | `-p` | Workspace profile whose platform settings should be used for login. | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
20
|
+
|
|
31
21
|
> One of the following option groups is required:
|
|
32
22
|
|
|
33
23
|
**User Login:**
|
|
@@ -42,65 +32,73 @@ _no options_
|
|
|
42
32
|
| `--client-id <CLIENT_ID>` | - | Client ID | Yes | - | `TAILOR_PLATFORM_MACHINE_USER_CLIENT_ID` |
|
|
43
33
|
| `--client-secret <CLIENT_SECRET>` | - | Client secret | No | - | `TAILOR_PLATFORM_MACHINE_USER_CLIENT_SECRET` |
|
|
44
34
|
|
|
45
|
-
<!-- politty:command:login:options:end -->
|
|
46
|
-
|
|
47
|
-
<!-- politty:command:login:global-options-link:start -->
|
|
48
|
-
|
|
49
35
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
50
36
|
|
|
51
|
-
|
|
37
|
+
## logout
|
|
38
|
+
|
|
39
|
+
Logout from Tailor Platform.
|
|
52
40
|
|
|
53
|
-
|
|
41
|
+
**Usage**
|
|
54
42
|
|
|
55
|
-
|
|
43
|
+
```
|
|
44
|
+
tailor logout [options]
|
|
45
|
+
```
|
|
56
46
|
|
|
57
|
-
|
|
47
|
+
**Options**
|
|
58
48
|
|
|
59
|
-
|
|
49
|
+
| Option | Alias | Description | Required | Default | Env |
|
|
50
|
+
| --------------------- | ----- | -------------------------------------------------------------------- | -------- | ------- | ------------------------- |
|
|
51
|
+
| `--profile <PROFILE>` | `-p` | Workspace profile whose platform settings should be used for logout. | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
60
52
|
|
|
61
|
-
|
|
53
|
+
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
62
54
|
|
|
63
|
-
|
|
55
|
+
## auth
|
|
64
56
|
|
|
65
|
-
|
|
57
|
+
Authentication helpers for scripts and plugins.
|
|
66
58
|
|
|
67
59
|
**Usage**
|
|
68
60
|
|
|
69
61
|
```
|
|
70
|
-
tailor
|
|
62
|
+
tailor auth <command>
|
|
71
63
|
```
|
|
72
64
|
|
|
73
|
-
|
|
65
|
+
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
66
|
+
|
|
67
|
+
**Commands**
|
|
74
68
|
|
|
75
|
-
|
|
69
|
+
| Command | Description |
|
|
70
|
+
| --------------------------- | ------------------------------------------------------------------------------------- |
|
|
71
|
+
| [`auth token`](#auth-token) | Print a valid Tailor Platform access token to stdout, refreshing it first if expired. |
|
|
76
72
|
|
|
77
|
-
|
|
73
|
+
### auth token
|
|
78
74
|
|
|
79
|
-
|
|
75
|
+
Print a valid Tailor Platform access token to stdout, refreshing it first if expired.
|
|
80
76
|
|
|
81
|
-
|
|
77
|
+
**Usage**
|
|
82
78
|
|
|
83
|
-
|
|
79
|
+
```
|
|
80
|
+
tailor auth token [options]
|
|
81
|
+
```
|
|
84
82
|
|
|
85
|
-
|
|
83
|
+
**Options**
|
|
86
84
|
|
|
87
|
-
|
|
85
|
+
| Option | Alias | Description | Required | Default | Env |
|
|
86
|
+
| --------------------- | ----- | ----------------- | -------- | ------- | ------------------------- |
|
|
87
|
+
| `--profile <PROFILE>` | `-p` | Workspace profile | No | - | `TAILOR_PLATFORM_PROFILE` |
|
|
88
88
|
|
|
89
|
-
|
|
89
|
+
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
90
90
|
|
|
91
|
-
|
|
91
|
+
## user
|
|
92
92
|
|
|
93
|
-
|
|
93
|
+
Manage Tailor Platform users.
|
|
94
94
|
|
|
95
95
|
**Usage**
|
|
96
96
|
|
|
97
97
|
```
|
|
98
|
-
tailor
|
|
98
|
+
tailor user [command]
|
|
99
99
|
```
|
|
100
100
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
<!-- politty:command:user:subcommands:start -->
|
|
101
|
+
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
104
102
|
|
|
105
103
|
**Commands**
|
|
106
104
|
|
|
@@ -111,133 +109,41 @@ tailor-sdk user [command]
|
|
|
111
109
|
| [`user switch`](#user-switch) | Set current user. |
|
|
112
110
|
| [`user pat`](#user-pat) | Manage personal access tokens. |
|
|
113
111
|
|
|
114
|
-
<!-- politty:command:user:subcommands:end -->
|
|
115
|
-
|
|
116
|
-
<!-- politty:command:user:global-options-link:start -->
|
|
117
|
-
|
|
118
|
-
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
119
|
-
|
|
120
|
-
<!-- politty:command:user:global-options-link:end -->
|
|
121
|
-
<!-- politty:command:user current:heading:start -->
|
|
122
|
-
|
|
123
112
|
### user current
|
|
124
113
|
|
|
125
|
-
<!-- politty:command:user current:heading:end -->
|
|
126
|
-
|
|
127
|
-
<!-- politty:command:user current:description:start -->
|
|
128
|
-
|
|
129
114
|
Show current user.
|
|
130
115
|
|
|
131
|
-
<!-- politty:command:user current:description:end -->
|
|
132
|
-
|
|
133
|
-
<!-- politty:command:user current:usage:start -->
|
|
134
|
-
|
|
135
116
|
**Usage**
|
|
136
117
|
|
|
137
118
|
```
|
|
138
|
-
tailor
|
|
119
|
+
tailor user current
|
|
139
120
|
```
|
|
140
121
|
|
|
141
|
-
<!-- politty:command:user current:usage:end -->
|
|
142
|
-
|
|
143
|
-
<!-- politty:command:user current:global-options-link:start -->
|
|
144
|
-
|
|
145
122
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
146
123
|
|
|
147
|
-
<!-- politty:command:user current:global-options-link:end -->
|
|
148
|
-
<!-- politty:command:user list:heading:start -->
|
|
149
|
-
|
|
150
124
|
### user list
|
|
151
125
|
|
|
152
|
-
<!-- politty:command:user list:heading:end -->
|
|
153
|
-
|
|
154
|
-
<!-- politty:command:user list:description:start -->
|
|
155
|
-
|
|
156
126
|
List all users.
|
|
157
127
|
|
|
158
|
-
<!-- politty:command:user list:description:end -->
|
|
159
|
-
|
|
160
|
-
<!-- politty:command:user list:usage:start -->
|
|
161
|
-
|
|
162
128
|
**Usage**
|
|
163
129
|
|
|
164
130
|
```
|
|
165
|
-
tailor
|
|
131
|
+
tailor user list
|
|
166
132
|
```
|
|
167
133
|
|
|
168
|
-
<!-- politty:command:user list:usage:end -->
|
|
169
|
-
|
|
170
|
-
<!-- politty:command:user list:options:start -->
|
|
171
|
-
<!-- politty:command:user list:options:end -->
|
|
172
|
-
|
|
173
|
-
<!-- politty:command:user list:global-options-link:start -->
|
|
174
|
-
|
|
175
134
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
176
135
|
|
|
177
|
-
<!-- politty:command:user list:global-options-link:end -->
|
|
178
|
-
<!-- politty:command:user switch:heading:start -->
|
|
179
|
-
|
|
180
|
-
### user switch
|
|
181
|
-
|
|
182
|
-
<!-- politty:command:user switch:heading:end -->
|
|
183
|
-
|
|
184
|
-
<!-- politty:command:user switch:description:start -->
|
|
185
|
-
|
|
186
|
-
Set current user.
|
|
187
|
-
|
|
188
|
-
<!-- politty:command:user switch:description:end -->
|
|
189
|
-
|
|
190
|
-
<!-- politty:command:user switch:usage:start -->
|
|
191
|
-
|
|
192
|
-
**Usage**
|
|
193
|
-
|
|
194
|
-
```
|
|
195
|
-
tailor-sdk user switch <user>
|
|
196
|
-
```
|
|
197
|
-
|
|
198
|
-
<!-- politty:command:user switch:usage:end -->
|
|
199
|
-
|
|
200
|
-
<!-- politty:command:user switch:arguments:start -->
|
|
201
|
-
|
|
202
|
-
**Arguments**
|
|
203
|
-
|
|
204
|
-
| Argument | Description | Required |
|
|
205
|
-
| -------- | -------------------------------------------- | -------- |
|
|
206
|
-
| `user` | User email address or machine user client ID | Yes |
|
|
207
|
-
|
|
208
|
-
<!-- politty:command:user switch:arguments:end -->
|
|
209
|
-
|
|
210
|
-
<!-- politty:command:user switch:global-options-link:start -->
|
|
211
|
-
|
|
212
|
-
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
213
|
-
|
|
214
|
-
<!-- politty:command:user switch:global-options-link:end -->
|
|
215
|
-
<!-- politty:command:user pat:heading:start -->
|
|
216
|
-
|
|
217
136
|
### user pat
|
|
218
137
|
|
|
219
|
-
<!-- politty:command:user pat:heading:end -->
|
|
220
|
-
|
|
221
|
-
<!-- politty:command:user pat:description:start -->
|
|
222
|
-
|
|
223
138
|
Manage personal access tokens.
|
|
224
139
|
|
|
225
|
-
<!-- politty:command:user pat:description:end -->
|
|
226
|
-
|
|
227
|
-
<!-- politty:command:user pat:usage:start -->
|
|
228
|
-
|
|
229
140
|
**Usage**
|
|
230
141
|
|
|
231
142
|
```
|
|
232
|
-
tailor
|
|
143
|
+
tailor user pat [command]
|
|
233
144
|
```
|
|
234
145
|
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
<!-- politty:command:user pat:options:start -->
|
|
238
|
-
<!-- politty:command:user pat:options:end -->
|
|
239
|
-
|
|
240
|
-
<!-- politty:command:user pat:subcommands:start -->
|
|
146
|
+
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
241
147
|
|
|
242
148
|
**Commands**
|
|
243
149
|
|
|
@@ -248,183 +154,108 @@ tailor-sdk user pat [command]
|
|
|
248
154
|
| [`user pat delete`](#user-pat-delete) | Delete a personal access token. |
|
|
249
155
|
| [`user pat update`](#user-pat-update) | Update a personal access token (delete and recreate). |
|
|
250
156
|
|
|
251
|
-
<!-- politty:command:user pat:subcommands:end -->
|
|
252
|
-
|
|
253
|
-
<!-- politty:command:user pat:global-options-link:start -->
|
|
254
|
-
|
|
255
|
-
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
256
|
-
|
|
257
|
-
<!-- politty:command:user pat:global-options-link:end -->
|
|
258
|
-
<!-- politty:command:user pat list:heading:start -->
|
|
259
|
-
|
|
260
|
-
#### user pat list
|
|
261
|
-
|
|
262
|
-
<!-- politty:command:user pat list:heading:end -->
|
|
263
|
-
|
|
264
|
-
<!-- politty:command:user pat list:description:start -->
|
|
265
|
-
|
|
266
|
-
List all personal access tokens.
|
|
267
|
-
|
|
268
|
-
<!-- politty:command:user pat list:description:end -->
|
|
269
|
-
|
|
270
|
-
<!-- politty:command:user pat list:usage:start -->
|
|
271
|
-
|
|
272
|
-
**Usage**
|
|
273
|
-
|
|
274
|
-
```
|
|
275
|
-
tailor-sdk user pat list [options]
|
|
276
|
-
```
|
|
277
|
-
|
|
278
|
-
<!-- politty:command:user pat list:usage:end -->
|
|
279
|
-
|
|
280
|
-
<!-- politty:command:user pat list:options:start -->
|
|
281
|
-
|
|
282
|
-
**Options**
|
|
283
|
-
|
|
284
|
-
| Option | Alias | Description | Required | Default |
|
|
285
|
-
| ----------------- | ----- | -------------------------------------------------------- | -------- | -------- |
|
|
286
|
-
| `--order <ORDER>` | - | Sort order (asc or desc) | No | `"desc"` |
|
|
287
|
-
| `--limit <LIMIT>` | `-l` | Maximum number of items to return (0 or omit: unlimited) | No | - |
|
|
288
|
-
|
|
289
|
-
<!-- politty:command:user pat list:options:end -->
|
|
290
|
-
|
|
291
|
-
<!-- politty:command:user pat list:global-options-link:start -->
|
|
292
|
-
|
|
293
|
-
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
294
|
-
|
|
295
|
-
<!-- politty:command:user pat list:global-options-link:end -->
|
|
296
|
-
<!-- politty:command:user pat create:heading:start -->
|
|
297
|
-
|
|
298
157
|
#### user pat create
|
|
299
158
|
|
|
300
|
-
<!-- politty:command:user pat create:heading:end -->
|
|
301
|
-
|
|
302
|
-
<!-- politty:command:user pat create:description:start -->
|
|
303
|
-
|
|
304
159
|
Create a new personal access token.
|
|
305
160
|
|
|
306
|
-
<!-- politty:command:user pat create:description:end -->
|
|
307
|
-
|
|
308
|
-
<!-- politty:command:user pat create:usage:start -->
|
|
309
|
-
|
|
310
161
|
**Usage**
|
|
311
162
|
|
|
312
163
|
```
|
|
313
|
-
tailor
|
|
164
|
+
tailor user pat create [options] <name>
|
|
314
165
|
```
|
|
315
166
|
|
|
316
|
-
<!-- politty:command:user pat create:usage:end -->
|
|
317
|
-
|
|
318
|
-
<!-- politty:command:user pat create:arguments:start -->
|
|
319
|
-
|
|
320
167
|
**Arguments**
|
|
321
168
|
|
|
322
169
|
| Argument | Description | Required |
|
|
323
170
|
| -------- | ----------- | -------- |
|
|
324
171
|
| `name` | Token name | Yes |
|
|
325
172
|
|
|
326
|
-
<!-- politty:command:user pat create:arguments:end -->
|
|
327
|
-
|
|
328
|
-
<!-- politty:command:user pat create:options:start -->
|
|
329
|
-
|
|
330
173
|
**Options**
|
|
331
174
|
|
|
332
175
|
| Option | Alias | Description | Required | Default |
|
|
333
176
|
| --------- | ----- | ------------------------------------------- | -------- | ------- |
|
|
334
177
|
| `--write` | `-W` | Grant write permission (default: read-only) | No | `false` |
|
|
335
178
|
|
|
336
|
-
<!-- politty:command:user pat create:options:end -->
|
|
337
|
-
|
|
338
|
-
<!-- politty:command:user pat create:global-options-link:start -->
|
|
339
|
-
|
|
340
179
|
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
341
180
|
|
|
342
|
-
<!-- politty:command:user pat create:global-options-link:end -->
|
|
343
|
-
<!-- politty:command:user pat delete:heading:start -->
|
|
344
|
-
|
|
345
181
|
#### user pat delete
|
|
346
182
|
|
|
347
|
-
<!-- politty:command:user pat delete:heading:end -->
|
|
348
|
-
|
|
349
|
-
<!-- politty:command:user pat delete:description:start -->
|
|
350
|
-
|
|
351
183
|
Delete a personal access token.
|
|
352
184
|
|
|
353
|
-
<!-- politty:command:user pat delete:description:end -->
|
|
354
|
-
|
|
355
|
-
<!-- politty:command:user pat delete:usage:start -->
|
|
356
|
-
|
|
357
185
|
**Usage**
|
|
358
186
|
|
|
359
187
|
```
|
|
360
|
-
tailor
|
|
188
|
+
tailor user pat delete <name>
|
|
361
189
|
```
|
|
362
190
|
|
|
363
|
-
<!-- politty:command:user pat delete:usage:end -->
|
|
364
|
-
|
|
365
|
-
<!-- politty:command:user pat delete:arguments:start -->
|
|
366
|
-
|
|
367
191
|
**Arguments**
|
|
368
192
|
|
|
369
193
|
| Argument | Description | Required |
|
|
370
194
|
| -------- | ----------- | -------- |
|
|
371
195
|
| `name` | Token name | Yes |
|
|
372
196
|
|
|
373
|
-
|
|
197
|
+
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
374
198
|
|
|
375
|
-
|
|
199
|
+
#### user pat list
|
|
376
200
|
|
|
377
|
-
|
|
201
|
+
List all personal access tokens.
|
|
378
202
|
|
|
379
|
-
|
|
380
|
-
<!-- politty:command:user pat update:heading:start -->
|
|
203
|
+
**Usage**
|
|
381
204
|
|
|
382
|
-
|
|
205
|
+
```
|
|
206
|
+
tailor user pat list [options]
|
|
207
|
+
```
|
|
383
208
|
|
|
384
|
-
|
|
209
|
+
**Options**
|
|
385
210
|
|
|
386
|
-
|
|
211
|
+
| Option | Alias | Description | Required | Default |
|
|
212
|
+
| ----------------- | ----- | -------------------------------------------------------- | -------- | -------- |
|
|
213
|
+
| `--order <ORDER>` | - | Sort order (asc or desc) | No | `"desc"` |
|
|
214
|
+
| `--limit <LIMIT>` | `-l` | Maximum number of items to return (0 or omit: unlimited) | No | - |
|
|
387
215
|
|
|
388
|
-
|
|
216
|
+
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
389
217
|
|
|
390
|
-
|
|
218
|
+
#### user pat update
|
|
391
219
|
|
|
392
|
-
|
|
220
|
+
Update a personal access token (delete and recreate).
|
|
393
221
|
|
|
394
222
|
**Usage**
|
|
395
223
|
|
|
396
224
|
```
|
|
397
|
-
tailor
|
|
225
|
+
tailor user pat update [options] <name>
|
|
398
226
|
```
|
|
399
227
|
|
|
400
|
-
<!-- politty:command:user pat update:usage:end -->
|
|
401
|
-
|
|
402
|
-
<!-- politty:command:user pat update:arguments:start -->
|
|
403
|
-
|
|
404
228
|
**Arguments**
|
|
405
229
|
|
|
406
230
|
| Argument | Description | Required |
|
|
407
231
|
| -------- | ----------- | -------- |
|
|
408
232
|
| `name` | Token name | Yes |
|
|
409
233
|
|
|
410
|
-
<!-- politty:command:user pat update:arguments:end -->
|
|
411
|
-
|
|
412
|
-
<!-- politty:command:user pat update:options:start -->
|
|
413
|
-
|
|
414
234
|
**Options**
|
|
415
235
|
|
|
416
236
|
| Option | Alias | Description | Required | Default |
|
|
417
237
|
| --------- | ----- | ---------------------------------------------------------- | -------- | ------- |
|
|
418
238
|
| `--write` | `-W` | Grant write permission (if not specified, keeps read-only) | No | `false` |
|
|
419
239
|
|
|
420
|
-
|
|
240
|
+
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
421
241
|
|
|
422
|
-
|
|
242
|
+
### user switch
|
|
423
243
|
|
|
424
|
-
|
|
244
|
+
Set current user.
|
|
425
245
|
|
|
426
|
-
|
|
246
|
+
**Usage**
|
|
427
247
|
|
|
248
|
+
```
|
|
249
|
+
tailor user switch <user>
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
**Arguments**
|
|
253
|
+
|
|
254
|
+
| Argument | Description | Required |
|
|
255
|
+
| -------- | -------------------------------------------- | -------- |
|
|
256
|
+
| `user` | User email address or machine user client ID | Yes |
|
|
257
|
+
|
|
258
|
+
See [Global Options](../cli-reference.md#global-options) for options available to all commands.
|
|
428
259
|
When no subcommand is provided, defaults to `list`.
|
|
429
260
|
|
|
430
261
|
**Output (default):**
|