@tailor-platform/sdk 1.14.2 → 1.15.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 +31 -0
- package/dist/{application-DhwHYQ3H.mjs → application-B0TR65qY.mjs} +5 -2
- package/dist/{application-DhwHYQ3H.mjs.map → application-B0TR65qY.mjs.map} +1 -1
- package/dist/application-BmaRd-Tl.mjs +4 -0
- package/dist/cli/index.mjs +3 -3
- package/dist/cli/lib.d.mts +53 -6
- package/dist/cli/lib.mjs +2 -2
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/configure/index.d.mts +4 -4
- package/dist/configure/index.mjs +0 -7
- package/dist/configure/index.mjs.map +1 -1
- package/dist/{index-q3n7wQOs.d.mts → index-Bs9AsQb2.d.mts} +27 -11
- package/dist/{index-YzESrtj0.d.mts → index-DomkP6gz.d.mts} +2 -2
- package/dist/plugin/index.d.mts +1 -1
- package/dist/plugin/index.mjs.map +1 -1
- package/dist/{types-DbvONSS-.d.mts → types-Db1oxr0U.d.mts} +26 -67
- package/dist/{update-Dm8ERWHJ.mjs → update-CnSKzwg6.mjs} +354 -361
- package/dist/update-CnSKzwg6.mjs.map +1 -0
- package/dist/utils/test/index.d.mts +3 -3
- package/docs/plugin/custom.md +62 -45
- package/package.json +1 -1
- package/dist/application-BznueWxG.mjs +0 -4
- package/dist/update-Dm8ERWHJ.mjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @tailor-platform/sdk
|
|
2
2
|
|
|
3
|
+
## 1.15.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#608](https://github.com/tailor-platform/sdk/pull/608) [`17fbd24`](https://github.com/tailor-platform/sdk/commit/17fbd243bd2925d3c4b6fe0d61f0a3ab24c3bece) Thanks [@k1LoW](https://github.com/k1LoW)! - Add validation to require allowedEmailDomains when allowGoogleOauth is enabled
|
|
8
|
+
|
|
9
|
+
## 1.15.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#605](https://github.com/tailor-platform/sdk/pull/605) [`634699c`](https://github.com/tailor-platform/sdk/commit/634699c0519157a18b992df4e98718940fc6d013) Thanks [@toiroakr](https://github.com/toiroakr)! - Add TypeConfig/PluginConfig type parameters to Plugin interface and remove TailorField schema requirements
|
|
14
|
+
|
|
15
|
+
- Add `Plugin<TypeConfig, PluginConfig>` type parameters for type-safe arbitrary config
|
|
16
|
+
- Remove `configSchema`, `pluginConfigSchema`, and `configTypeTemplate` properties from Plugin interface
|
|
17
|
+
- Merge `PluginWithConfig`/`PluginNamespaceOnly` into a single `Plugin` interface
|
|
18
|
+
- Wire TypeConfig/PluginConfig through `processType`/`processNamespace` contexts
|
|
19
|
+
- Remove TailorField-based runtime validation from plugin config processing
|
|
20
|
+
- Introduce `TypePluginOutput` for processType (extends `PluginOutput` with `extends` field)
|
|
21
|
+
- Make `PluginOutput` the base type without `extends` (used by processNamespace)
|
|
22
|
+
- Use `TailorAnyDBField` for `PluginExtends.fields` type
|
|
23
|
+
|
|
24
|
+
- [#595](https://github.com/tailor-platform/sdk/pull/595) [`4e6e3e6`](https://github.com/tailor-platform/sdk/commit/4e6e3e62e3071060373571e7d9765938c37a9013) Thanks [@toiroakr](https://github.com/toiroakr)! - Use Function Registry service for script storage instead of embedding bundled scripts directly in pipeline/executor/workflow requests. Scripts are now registered in the Function Registry during apply, and services reference them by name via operationSourceRef/scriptRef fields.
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- [#599](https://github.com/tailor-platform/sdk/pull/599) [`e73e8fe`](https://github.com/tailor-platform/sdk/commit/e73e8fef5daf056a00a3bb402d0c8ab0a58f96ee) Thanks [@dqn](https://github.com/dqn)! - Add typed programmatic CLI APIs for workflow and executor operations while preserving legacy option shapes for backward compatibility.
|
|
29
|
+
|
|
30
|
+
- [#601](https://github.com/tailor-platform/sdk/pull/601) [`151102b`](https://github.com/tailor-platform/sdk/commit/151102bedca42457f02f6e503025908a40d5d1a4) Thanks [@riku99](https://github.com/riku99)! - Fixes an issue where nested field hooks/validate were dropped when generating TailorDB proto manifests
|
|
31
|
+
|
|
32
|
+
- [#606](https://github.com/tailor-platform/sdk/pull/606) [`4761d2b`](https://github.com/tailor-platform/sdk/commit/4761d2bab2d8d8fa7c5ce249db28e0a8f28dfc5a) Thanks [@toiroakr](https://github.com/toiroakr)! - Add lefthook post-commit hook to verify commit signatures and update CLAUDE.md with signing rules
|
|
33
|
+
|
|
3
34
|
## 1.14.2
|
|
4
35
|
|
|
5
36
|
### Patch Changes
|
|
@@ -98382,6 +98382,9 @@ const IdPUserAuthPolicySchema = z.object({
|
|
|
98382
98382
|
}).refine((data$1) => data$1.allowGoogleOauth === void 0 || data$1.allowGoogleOauth === false || !data$1.useNonEmailIdentifier, {
|
|
98383
98383
|
message: "allowGoogleOauth cannot be set when useNonEmailIdentifier is true",
|
|
98384
98384
|
path: ["allowGoogleOauth"]
|
|
98385
|
+
}).refine((data$1) => !data$1.allowGoogleOauth || data$1.allowedEmailDomains && data$1.allowedEmailDomains.length > 0, {
|
|
98386
|
+
message: "allowGoogleOauth requires allowedEmailDomains to be set",
|
|
98387
|
+
path: ["allowGoogleOauth"]
|
|
98385
98388
|
});
|
|
98386
98389
|
const IdPSchema = z.object({
|
|
98387
98390
|
name: z.string(),
|
|
@@ -98575,5 +98578,5 @@ function defineApplication(params) {
|
|
|
98575
98578
|
}
|
|
98576
98579
|
|
|
98577
98580
|
//#endregion
|
|
98578
|
-
export { ExecutorSchema as a,
|
|
98579
|
-
//# sourceMappingURL=application-
|
|
98581
|
+
export { ExecutorSchema as a, functionSchema as c, loadFilesWithIgnores as d, logger as f, createExecutorService as i, stringifyFunction as l, symbols as m, WorkflowJobSchema as n, OAuth2ClientSchema as o, styles as p, WorkflowSchema as r, ResolverSchema as s, defineApplication as t, tailorUserMap as u };
|
|
98582
|
+
//# sourceMappingURL=application-B0TR65qY.mjs.map
|