@tailor-platform/sdk 1.38.0 → 1.39.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/CHANGELOG.md +10 -0
- package/dist/cli/index.mjs +1 -1
- package/dist/cli/lib.d.mts +6 -6
- package/dist/cli/lib.mjs +1 -1
- package/dist/configure/index.d.mts +4 -3
- package/dist/env-CgI46oPS.d.mts +30 -0
- package/dist/{index-Cs3fwmLu.d.mts → index-31hm0Fq7.d.mts} +16 -4
- package/dist/{index-CIIXsk3E.d.mts → index-B2tsEXdh.d.mts} +2 -2
- package/dist/{index-D_W9-Lvk.d.mts → index-DbzopC7M.d.mts} +2 -2
- package/dist/{index-CHo73Aat.d.mts → index-DeBFa7oc.d.mts} +2 -2
- package/dist/{index-Cln_TTZn.d.mts → index-y5790SX_.d.mts} +2 -2
- package/dist/plugin/builtin/enum-constants/index.d.mts +1 -1
- package/dist/plugin/builtin/file-utils/index.d.mts +1 -1
- package/dist/plugin/builtin/kysely-type/index.d.mts +1 -1
- package/dist/plugin/builtin/seed/index.d.mts +1 -1
- package/dist/plugin/index.d.mts +2 -1
- package/dist/{plugin-D84blivd.d.mts → plugin-_K3ZfP8B.d.mts} +2 -38
- package/dist/{runtime-ChpwtPut.mjs → runtime-DtSOnOHh.mjs} +7 -1
- package/dist/runtime-DtSOnOHh.mjs.map +1 -0
- package/dist/utils/test/index.d.mts +2 -2
- package/dist/{workflow.generated-BRdcCWfC.d.mts → workflow.generated-BxbnuzAE.d.mts} +2 -2
- package/docs/cli-reference.md +1 -0
- package/docs/generator/index.md +10 -0
- package/package.json +1 -1
- package/dist/runtime-ChpwtPut.mjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="@tailor-platform/function-types" />
|
|
2
|
-
import { U as TailorDBType, rt as TailorField } from "../../plugin-
|
|
3
|
-
import { n as output, ot as WORKFLOW_TEST_ENV_KEY } from "../../index-
|
|
2
|
+
import { U as TailorDBType, rt as TailorField } from "../../plugin-_K3ZfP8B.mjs";
|
|
3
|
+
import { n as output, ot as WORKFLOW_TEST_ENV_KEY } from "../../index-31hm0Fq7.mjs";
|
|
4
4
|
import { StandardSchemaV1 } from "@standard-schema/spec";
|
|
5
5
|
|
|
6
6
|
//#region src/utils/test/mock.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="@tailor-platform/function-types" />
|
|
2
|
-
import {
|
|
2
|
+
import { Pt as BuiltinIdP, S as TailorDBServiceInput, T as AuthConfig } from "./plugin-_K3ZfP8B.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/types/idp.generated.d.ts
|
|
5
5
|
/**
|
|
@@ -411,4 +411,4 @@ type RetryPolicy = {
|
|
|
411
411
|
};
|
|
412
412
|
//#endregion
|
|
413
413
|
export { IdpDefinitionBrand as _, ResolverExternalConfig as a, IdPGqlOperationsInput as b, WorkflowServiceConfig as c, defineStaticWebSite as d, SecretsConfig as f, IdPUserField as g, IdPExternalConfig as h, ExecutorServiceInput as i, WorkflowServiceInput as l, IdPConfig as m, AppConfig as n, ResolverServiceConfig as o, defineSecretManager as p, ExecutorServiceConfig as r, ResolverServiceInput as s, RetryPolicy as t, StaticWebsiteConfig as u, IdPEmailConfig as v, IdPInput as x, IdPGqlOperations as y };
|
|
414
|
-
//# sourceMappingURL=workflow.generated-
|
|
414
|
+
//# sourceMappingURL=workflow.generated-BxbnuzAE.d.mts.map
|
package/docs/cli-reference.md
CHANGED
|
@@ -62,6 +62,7 @@ You can use environment variables to configure workspace and authentication:
|
|
|
62
62
|
| `TAILOR_TOKEN` | **Deprecated.** Use `TAILOR_PLATFORM_TOKEN` instead |
|
|
63
63
|
| `TAILOR_PLATFORM_PROFILE` | Workspace profile name |
|
|
64
64
|
| `TAILOR_PLATFORM_SDK_CONFIG_PATH` | Path to SDK config file |
|
|
65
|
+
| `TAILOR_PLATFORM_SDK_DTS_PATH` | Output path for generated `tailor.d.ts` type definition file |
|
|
65
66
|
| `TAILOR_PLATFORM_MACHINE_USER_CLIENT_ID` | Client ID for `login --machine-user` |
|
|
66
67
|
| `TAILOR_PLATFORM_MACHINE_USER_CLIENT_SECRET` | Client secret for `login --machine-user` |
|
|
67
68
|
| `TAILOR_PLATFORM_MACHINE_USER_NAME` | Default machine user name for `query`, `workflow start`, `function test-run` |
|
package/docs/generator/index.md
CHANGED
|
@@ -50,6 +50,16 @@ tailor-sdk generate --watch
|
|
|
50
50
|
|
|
51
51
|
Watches for file changes and regenerates automatically.
|
|
52
52
|
|
|
53
|
+
## Environment Variables
|
|
54
|
+
|
|
55
|
+
### `TAILOR_PLATFORM_SDK_DTS_PATH`
|
|
56
|
+
|
|
57
|
+
Customize the output path of the generated `tailor.d.ts` type definition file. By default, `tailor.d.ts` is written next to `tailor.config.ts`.
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
TAILOR_PLATFORM_SDK_DTS_PATH=src/types/tailor.d.ts tailor-sdk generate
|
|
61
|
+
```
|
|
62
|
+
|
|
53
63
|
## Generator Types
|
|
54
64
|
|
|
55
65
|
- [Builtin Generators](./builtin.md) - Ready-to-use generators included with the SDK
|