@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.
@@ -1,6 +1,6 @@
1
1
  /// <reference types="@tailor-platform/function-types" />
2
- import { U as TailorDBType, rt as TailorField } from "../../plugin-D84blivd.mjs";
3
- import { n as output, ot as WORKFLOW_TEST_ENV_KEY } from "../../index-Cs3fwmLu.mjs";
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 { Rt as BuiltinIdP, S as TailorDBServiceInput, T as AuthConfig } from "./plugin-D84blivd.mjs";
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-BRdcCWfC.d.mts.map
414
+ //# sourceMappingURL=workflow.generated-BxbnuzAE.d.mts.map
@@ -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` |
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tailor-platform/sdk",
3
- "version": "1.38.0",
3
+ "version": "1.39.0",
4
4
  "description": "Tailor Platform SDK - The SDK to work with Tailor Platform",
5
5
  "license": "MIT",
6
6
  "repository": {