@tailor-platform/sdk 1.31.0 → 1.32.1
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 +36 -0
- package/dist/application-Cwt_ifTT.mjs +12 -0
- package/dist/{application-CASjzt3W.mjs → application-p2GujXmg.mjs} +14 -16
- package/dist/{application-CASjzt3W.mjs.map → application-p2GujXmg.mjs.map} +1 -1
- package/dist/{brand-GZnI4eYb.mjs → brand-0SscafcY.mjs} +2 -1
- package/dist/{brand-GZnI4eYb.mjs.map → brand-0SscafcY.mjs.map} +1 -1
- package/dist/{chunk-DEt8GZDa.mjs → chunk-COzJYswC.mjs} +1 -0
- package/dist/cli/index.d.mts +1 -0
- package/dist/cli/index.mjs +31 -33
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +7 -6
- package/dist/cli/lib.mjs +14 -13
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/cli/skills.d.mts +1 -0
- package/dist/cli/skills.mjs +2 -1
- package/dist/cli/skills.mjs.map +1 -1
- package/dist/{client-DfdgRZlQ.mjs → client-D5P1myz0.mjs} +6 -5
- package/dist/{client-DfdgRZlQ.mjs.map → client-D5P1myz0.mjs.map} +1 -1
- package/dist/{client-B0wrLUVK.mjs → client-gpRgZl1b.mjs} +5 -4
- package/dist/configure/index.d.mts +5 -4
- package/dist/configure/index.mjs +5 -4
- package/dist/configure/index.mjs.map +1 -1
- package/dist/crash-report-Cm9vFmTN.mjs +7 -0
- package/dist/{crash-report-wNxS0IUJ.mjs → crash-report-DnwITWeV.mjs} +5 -4
- package/dist/{crash-report-wNxS0IUJ.mjs.map → crash-report-DnwITWeV.mjs.map} +1 -1
- package/dist/{enum-constants-D1nfn0qD.mjs → enum-constants-CkKARYb7.mjs} +2 -1
- package/dist/{enum-constants-D1nfn0qD.mjs.map → enum-constants-CkKARYb7.mjs.map} +1 -1
- package/dist/{env-BgdHfWDn.d.mts → env-BZLTIlIo.d.mts} +3 -2
- package/dist/{file-utils-Bctuzn3x.mjs → file-utils-D2TxR_kj.mjs} +2 -1
- package/dist/{file-utils-Bctuzn3x.mjs.map → file-utils-D2TxR_kj.mjs.map} +1 -1
- package/dist/{index-D4Y81vh1.d.mts → index-BQKAzTPA.d.mts} +3 -2
- package/dist/{index-RXv15__b.d.mts → index-BYk_9R3S.d.mts} +5 -4
- package/dist/{index-CxgBnxKM.d.mts → index-CgMytw2A.d.mts} +3 -2
- package/dist/{index-CdDzh-T2.d.mts → index-CoReoodF.d.mts} +3 -2
- package/dist/{index-FZMBoUWm.d.mts → index-vVGamLOw.d.mts} +3 -2
- package/dist/{interceptor-DgQNmwWJ.mjs → interceptor-1LL1gBsF.mjs} +3 -2
- package/dist/{interceptor-DgQNmwWJ.mjs.map → interceptor-1LL1gBsF.mjs.map} +1 -1
- package/dist/{job-DdfW7vH3.mjs → job-CPKYCk_e.mjs} +3 -2
- package/dist/{job-DdfW7vH3.mjs.map → job-CPKYCk_e.mjs.map} +1 -1
- package/dist/kysely/index.d.mts +1 -0
- package/dist/kysely/index.mjs +2 -1
- package/dist/kysely/index.mjs.map +1 -1
- package/dist/{kysely-type-B_IecdK9.mjs → kysely-type-BK0b4Rqt.mjs} +2 -1
- package/dist/{kysely-type-B_IecdK9.mjs.map → kysely-type-BK0b4Rqt.mjs.map} +1 -1
- package/dist/{logger-CqezTedh.mjs → logger-qz-Y4sBV.mjs} +2 -1
- package/dist/{logger-CqezTedh.mjs.map → logger-qz-Y4sBV.mjs.map} +1 -1
- package/dist/package-json-88x7bPKC.mjs +5 -0
- package/dist/{package-json-D3x2nBPB.mjs → package-json-VqyFvGiP.mjs} +2 -1
- package/dist/{package-json-D3x2nBPB.mjs.map → package-json-VqyFvGiP.mjs.map} +1 -1
- package/dist/plugin/builtin/enum-constants/index.d.mts +2 -1
- package/dist/plugin/builtin/enum-constants/index.mjs +3 -2
- package/dist/plugin/builtin/file-utils/index.d.mts +2 -1
- package/dist/plugin/builtin/file-utils/index.mjs +3 -2
- package/dist/plugin/builtin/kysely-type/index.d.mts +2 -1
- package/dist/plugin/builtin/kysely-type/index.mjs +3 -2
- package/dist/plugin/builtin/seed/index.d.mts +2 -1
- package/dist/plugin/builtin/seed/index.mjs +3 -2
- package/dist/plugin/index.d.mts +3 -2
- package/dist/plugin/index.mjs +2 -1
- package/dist/plugin/index.mjs.map +1 -1
- package/dist/{plugin-DyVYXZWz.d.mts → plugin-IIDZW9GG.d.mts} +2 -1
- package/dist/{runtime-Ofe7nHEG.mjs → runtime-7DOyTTxR.mjs} +23 -23
- package/dist/runtime-7DOyTTxR.mjs.map +1 -0
- package/dist/{schema-CNWt2FKQ.mjs → schema-BITbkmq3.mjs} +3 -2
- package/dist/{schema-CNWt2FKQ.mjs.map → schema-BITbkmq3.mjs.map} +1 -1
- package/dist/seed/index.d.mts +1 -0
- package/dist/seed/index.mjs +2 -1
- package/dist/seed/index.mjs.map +1 -1
- package/dist/{seed-CWkIDWMb.mjs → seed-BXrSEJbv.mjs} +2 -1
- package/dist/{seed-CWkIDWMb.mjs.map → seed-BXrSEJbv.mjs.map} +1 -1
- package/dist/{telemetry-BSUlYTs-.mjs → telemetry-B4sp-dD2.mjs} +3 -2
- package/dist/{telemetry-BSUlYTs-.mjs.map → telemetry-B4sp-dD2.mjs.map} +1 -1
- package/dist/telemetry-DXIGGa6A.mjs +5 -0
- package/dist/utils/test/index.d.mts +9 -3
- package/dist/utils/test/index.mjs +19 -4
- package/dist/utils/test/index.mjs.map +1 -1
- package/dist/{workflow.generated-DMQ-cjyT.d.mts → workflow.generated-C2A5Ye0m.d.mts} +3 -2
- package/docs/generator/builtin.md +0 -8
- package/docs/services/resolver.md +13 -0
- package/package.json +12 -11
- package/dist/application-B2-PymMz.mjs +0 -11
- package/dist/crash-report-BMEhRxeg.mjs +0 -6
- package/dist/package-json-DiZWrkIA.mjs +0 -4
- package/dist/runtime-Ofe7nHEG.mjs.map +0 -1
- package/dist/telemetry-BtN2l0f1.mjs +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
# @tailor-platform/sdk
|
|
2
2
|
|
|
3
|
+
## 1.32.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#826](https://github.com/tailor-platform/sdk/pull/826) [`72c2842`](https://github.com/tailor-platform/sdk/commit/72c2842046b2841571e095e10187339fdf66acd5) Thanks [@toiroakr](https://github.com/toiroakr)! - Bundle `@tailor-platform/function-types` as a dependency of `@tailor-platform/sdk`. Users no longer need to install `@tailor-platform/function-types` separately or add it to their `tsconfig.json` types array. The ambient types are automatically available when importing from `@tailor-platform/sdk`.
|
|
8
|
+
|
|
9
|
+
- [#824](https://github.com/tailor-platform/sdk/pull/824) [`f4794c4`](https://github.com/tailor-platform/sdk/commit/f4794c4fed2cf1bec9e472d1ff29ca7748b78881) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency type-fest to v5.5.0
|
|
10
|
+
|
|
11
|
+
- [#825](https://github.com/tailor-platform/sdk/pull/825) [`9e0dc71`](https://github.com/tailor-platform/sdk/commit/9e0dc71bf094ea123f6484a31fb7929579896294) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update oxlint monorepo
|
|
12
|
+
|
|
13
|
+
- [#827](https://github.com/tailor-platform/sdk/pull/827) [`b13e31c`](https://github.com/tailor-platform/sdk/commit/b13e31c981fe368d1bec664c320a02c20e4eb083) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update actions/create-github-app-token action to v3
|
|
14
|
+
|
|
15
|
+
- [#829](https://github.com/tailor-platform/sdk/pull/829) [`e0f68c0`](https://github.com/tailor-platform/sdk/commit/e0f68c054b248086060dd2e22ef8e6af10ef5e95) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update dorny/paths-filter action to v4
|
|
16
|
+
|
|
17
|
+
- [#830](https://github.com/tailor-platform/sdk/pull/830) [`cb0c357`](https://github.com/tailor-platform/sdk/commit/cb0c357432bd121c7bb9ebbfc8f711a18b6a4f25) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update eslint monorepo to v10 (major)
|
|
18
|
+
|
|
19
|
+
- [#831](https://github.com/tailor-platform/sdk/pull/831) [`a567c70`](https://github.com/tailor-platform/sdk/commit/a567c70dc22661536e3a2314c6839899cb72a391) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update anthropics/claude-code-action action to v1.0.79
|
|
20
|
+
|
|
21
|
+
- [#836](https://github.com/tailor-platform/sdk/pull/836) [`77cdf5e`](https://github.com/tailor-platform/sdk/commit/77cdf5ed8de3cef96df7587c689c83a6b627381e) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update github artifact actions (major)
|
|
22
|
+
|
|
23
|
+
- [#837](https://github.com/tailor-platform/sdk/pull/837) [`47b3e56`](https://github.com/tailor-platform/sdk/commit/47b3e56300c6df2c1eccbaafa4e320f13d176194) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update pnpm/action-setup action to v5
|
|
24
|
+
|
|
25
|
+
- [#841](https://github.com/tailor-platform/sdk/pull/841) [`c8a9ed6`](https://github.com/tailor-platform/sdk/commit/c8a9ed67bd102caacf155b8a107e468d007c81ab) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency std-env to v4
|
|
26
|
+
|
|
27
|
+
## 1.32.0
|
|
28
|
+
|
|
29
|
+
### Minor Changes
|
|
30
|
+
|
|
31
|
+
- [#805](https://github.com/tailor-platform/sdk/pull/805) [`d283a78`](https://github.com/tailor-platform/sdk/commit/d283a7802e2a0aaa6fc31c4ac2c7c3d4dc9654e6) Thanks [@toiroakr](https://github.com/toiroakr)! - Use TailorErrors for resolver input validation errors instead of generic Error, enabling the PF runtime to expand validation issues into individual GraphQL errors with field-level paths.
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- [#813](https://github.com/tailor-platform/sdk/pull/813) [`34b525f`](https://github.com/tailor-platform/sdk/commit/34b525f69b1929394a2b246e4252308710032ee7) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency @inquirer/core to v11.1.7
|
|
36
|
+
|
|
37
|
+
- [#828](https://github.com/tailor-platform/sdk/pull/828) [`d42bd97`](https://github.com/tailor-platform/sdk/commit/d42bd979085c800e3a46d73e76cc7c7e8251ecbb) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update dependency knip to v6
|
|
38
|
+
|
|
3
39
|
## 1.31.0
|
|
4
40
|
|
|
5
41
|
### Minor Changes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
import "./chunk-COzJYswC.mjs";
|
|
3
|
+
import "./brand-0SscafcY.mjs";
|
|
4
|
+
import "./logger-qz-Y4sBV.mjs";
|
|
5
|
+
import "./client-D5P1myz0.mjs";
|
|
6
|
+
import "./package-json-VqyFvGiP.mjs";
|
|
7
|
+
import { n as generatePluginFilesIfNeeded, r as loadApplication, t as defineApplication } from "./application-p2GujXmg.mjs";
|
|
8
|
+
import "./seed-BXrSEJbv.mjs";
|
|
9
|
+
import "./file-utils-D2TxR_kj.mjs";
|
|
10
|
+
import "./kysely-type-BK0b4Rqt.mjs";
|
|
11
|
+
|
|
12
|
+
export { defineApplication };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
import { n as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { n as
|
|
7
|
-
import { n as
|
|
8
|
-
import { n as
|
|
1
|
+
|
|
2
|
+
import { n as isSdkBranded } from "./brand-0SscafcY.mjs";
|
|
3
|
+
import { n as logger, r as styles } from "./logger-qz-Y4sBV.mjs";
|
|
4
|
+
import { l as initOAuth2Client } from "./client-D5P1myz0.mjs";
|
|
5
|
+
import { t as readPackageJson } from "./package-json-VqyFvGiP.mjs";
|
|
6
|
+
import { n as seedPlugin, r as isPluginGeneratedType, t as SeedGeneratorID } from "./seed-BXrSEJbv.mjs";
|
|
7
|
+
import { n as enumConstantsPlugin, t as EnumConstantsGeneratorID } from "./enum-constants-CkKARYb7.mjs";
|
|
8
|
+
import { n as fileUtilsPlugin, t as FileUtilsGeneratorID } from "./file-utils-D2TxR_kj.mjs";
|
|
9
|
+
import { n as kyselyTypePlugin, t as KyselyGeneratorID } from "./kysely-type-BK0b4Rqt.mjs";
|
|
9
10
|
import { createRequire } from "node:module";
|
|
10
11
|
import { z } from "zod";
|
|
11
12
|
import * as fs$1 from "node:fs";
|
|
@@ -3789,13 +3790,10 @@ async function bundleSingleResolver(resolver, outputDir, tsconfig, triggerContex
|
|
|
3789
3790
|
});
|
|
3790
3791
|
|
|
3791
3792
|
if (result.issues) {
|
|
3792
|
-
|
|
3793
|
-
.
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
})
|
|
3797
|
-
.join('\\n');
|
|
3798
|
-
throw new Error(\`Failed to input validation:\\n\${errorMessages}\`);
|
|
3793
|
+
throw new TailorErrors(result.issues.map(issue => ({
|
|
3794
|
+
message: issue.message,
|
|
3795
|
+
path: issue.path ?? [],
|
|
3796
|
+
})));
|
|
3799
3797
|
}
|
|
3800
3798
|
}
|
|
3801
3799
|
|
|
@@ -4936,4 +4934,4 @@ async function loadApplication(params) {
|
|
|
4936
4934
|
|
|
4937
4935
|
//#endregion
|
|
4938
4936
|
export { resolveTokens as C, readPlatformConfig as S, writePlatformConfig as T, hashFile as _, loadConfig as a, loadAccessToken as b, ExecutorSchema as c, TailorDBTypeSchema as d, stringifyFunction as f, getDistDir as g, createBundleCache as h, resolveInlineSourcemap as i, OAuth2ClientSchema as l, loadFilesWithIgnores as m, generatePluginFilesIfNeeded as n, WorkflowJobSchema as o, tailorUserMap as p, loadApplication as r, createExecutorService as s, defineApplication as t, ResolverSchema as u, deleteUserTokens as v, saveUserTokens as w, loadWorkspaceId as x, fetchLatestToken as y };
|
|
4939
|
-
//# sourceMappingURL=application-
|
|
4937
|
+
//# sourceMappingURL=application-p2GujXmg.mjs.map
|