@tailor-platform/sdk 1.31.0 → 1.32.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 +12 -0
- package/dist/{application-CASjzt3W.mjs → application-B8vok3w2.mjs} +5 -8
- package/dist/{application-CASjzt3W.mjs.map → application-B8vok3w2.mjs.map} +1 -1
- package/dist/{application-B2-PymMz.mjs → application-DHifc-oA.mjs} +1 -1
- package/dist/cli/index.mjs +6 -9
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.mjs +2 -2
- package/dist/configure/index.d.mts +1 -1
- package/dist/{index-RXv15__b.d.mts → index-BAud4CE7.d.mts} +12 -12
- package/dist/{runtime-Ofe7nHEG.mjs → runtime-DbX_UxlC.mjs} +3 -3
- package/dist/{runtime-Ofe7nHEG.mjs.map → runtime-DbX_UxlC.mjs.map} +1 -1
- package/dist/utils/test/index.d.mts +7 -2
- package/dist/utils/test/index.mjs +15 -1
- package/dist/utils/test/index.mjs.map +1 -1
- package/docs/services/resolver.md +13 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @tailor-platform/sdk
|
|
2
2
|
|
|
3
|
+
## 1.32.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#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.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#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
|
|
12
|
+
|
|
13
|
+
- [#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
|
|
14
|
+
|
|
3
15
|
## 1.31.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -3789,13 +3789,10 @@ async function bundleSingleResolver(resolver, outputDir, tsconfig, triggerContex
|
|
|
3789
3789
|
});
|
|
3790
3790
|
|
|
3791
3791
|
if (result.issues) {
|
|
3792
|
-
|
|
3793
|
-
.
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
})
|
|
3797
|
-
.join('\\n');
|
|
3798
|
-
throw new Error(\`Failed to input validation:\\n\${errorMessages}\`);
|
|
3792
|
+
throw new TailorErrors(result.issues.map(issue => ({
|
|
3793
|
+
message: issue.message,
|
|
3794
|
+
path: issue.path ?? [],
|
|
3795
|
+
})));
|
|
3799
3796
|
}
|
|
3800
3797
|
}
|
|
3801
3798
|
|
|
@@ -4936,4 +4933,4 @@ async function loadApplication(params) {
|
|
|
4936
4933
|
|
|
4937
4934
|
//#endregion
|
|
4938
4935
|
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-
|
|
4936
|
+
//# sourceMappingURL=application-B8vok3w2.mjs.map
|