@tailor-platform/sdk 1.24.0 → 1.25.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 +28 -0
- package/dist/{app-config-BNKHurwr.d.mts → app-config-QzNOFnEy.d.mts} +26 -3
- package/dist/application-B4ORumjE.mjs +8 -0
- package/dist/{application-DThE2HW7.mjs → application-iRp2OYMz.mjs} +36 -15
- package/dist/application-iRp2OYMz.mjs.map +1 -0
- package/dist/brand-BOaOlsiP.mjs +36 -0
- package/dist/brand-BOaOlsiP.mjs.map +1 -0
- package/dist/cli/index.mjs +9 -9
- package/dist/cli/lib.d.mts +6 -7
- package/dist/cli/lib.mjs +10 -10
- package/dist/configure/index.d.mts +5 -5
- package/dist/configure/index.mjs +33 -7
- package/dist/configure/index.mjs.map +1 -1
- package/dist/{enum-constants-B5Nl-yzx.mjs → enum-constants-BxdLbhsW.mjs} +1 -1
- package/dist/{enum-constants-B5Nl-yzx.mjs.map → enum-constants-BxdLbhsW.mjs.map} +1 -1
- package/dist/{env-CHwmMyfF.d.mts → env-jndw86T4.d.mts} +2 -2
- package/dist/{file-utils-sEOwAdJ4.mjs → file-utils-C2r3AVbI.mjs} +1 -1
- package/dist/{file-utils-sEOwAdJ4.mjs.map → file-utils-C2r3AVbI.mjs.map} +1 -1
- package/dist/{index-Df0aH5zp.d.mts → index-BuWllBxZ.d.mts} +4 -4
- package/dist/{index-DhtKJmgi.d.mts → index-DZRZdh71.d.mts} +2 -2
- package/dist/{index-zZUL7_2B.d.mts → index-Do7zo7z-.d.mts} +2 -2
- package/dist/{index-BrIZ1rm2.d.mts → index-DoxGF8-i.d.mts} +2 -2
- package/dist/{index-DkRJwNw2.d.mts → index-VZq4IAEK.d.mts} +2 -2
- package/dist/{interceptor-B-0OmiDZ.mjs → interceptor-DVy32eIG.mjs} +1 -1
- package/dist/{interceptor-B-0OmiDZ.mjs.map → interceptor-DVy32eIG.mjs.map} +1 -1
- package/dist/{job-CnqcfVTI.mjs → job-BQDunsd7.mjs} +3 -3
- package/dist/{job-CnqcfVTI.mjs.map → job-BQDunsd7.mjs.map} +1 -1
- package/dist/{kysely-type-CSlcwNFH.mjs → kysely-type-DzLBuVp6.mjs} +1 -1
- package/dist/{kysely-type-CSlcwNFH.mjs.map → kysely-type-DzLBuVp6.mjs.map} +1 -1
- package/dist/package-json-BKA36WTo.mjs +3 -0
- package/dist/{package-json-4G3gLWMd.mjs → package-json-DnbGCOkg.mjs} +1 -1
- package/dist/{package-json-4G3gLWMd.mjs.map → package-json-DnbGCOkg.mjs.map} +1 -1
- package/dist/plugin/builtin/enum-constants/index.d.mts +2 -2
- package/dist/plugin/builtin/enum-constants/index.mjs +1 -1
- package/dist/plugin/builtin/file-utils/index.d.mts +2 -2
- package/dist/plugin/builtin/file-utils/index.mjs +1 -1
- package/dist/plugin/builtin/kysely-type/index.d.mts +2 -2
- package/dist/plugin/builtin/kysely-type/index.mjs +1 -1
- package/dist/plugin/builtin/seed/index.d.mts +2 -2
- package/dist/plugin/builtin/seed/index.mjs +1 -1
- package/dist/plugin/index.d.mts +2 -2
- package/dist/{plugin-CE-BZZgX.d.mts → plugin-3sT6Tcq0.d.mts} +1 -1
- package/dist/{query-CV5n7DRd.mjs → query-D3UyoG68.mjs} +286 -16
- package/dist/query-D3UyoG68.mjs.map +1 -0
- package/dist/{schema-0ByCZ2Ym.mjs → schema-Fbfeq9gi.mjs} +3 -3
- package/dist/{schema-0ByCZ2Ym.mjs.map → schema-Fbfeq9gi.mjs.map} +1 -1
- package/dist/seed/index.d.mts +29 -0
- package/dist/seed/index.mjs +89 -0
- package/dist/seed/index.mjs.map +1 -0
- package/dist/{seed-Cl5QXYsL.mjs → seed-DkKAheSe.mjs} +64 -7
- package/dist/seed-DkKAheSe.mjs.map +1 -0
- package/dist/telemetry-J6dpByo2.mjs +3 -0
- package/dist/{telemetry-BPviAbME.mjs → telemetry-d_lgTL33.mjs} +2 -2
- package/dist/{telemetry-BPviAbME.mjs.map → telemetry-d_lgTL33.mjs.map} +1 -1
- package/dist/utils/test/index.d.mts +3 -3
- package/dist/utils/test/index.mjs +2 -2
- package/package.json +7 -2
- package/dist/application-DThE2HW7.mjs.map +0 -1
- package/dist/application-P1by1htu.mjs +0 -8
- package/dist/brand-64NrPh_e.mjs +0 -28
- package/dist/brand-64NrPh_e.mjs.map +0 -1
- package/dist/package-json-BqvUKPBM.mjs +0 -3
- package/dist/query-CV5n7DRd.mjs.map +0 -1
- package/dist/seed-Cl5QXYsL.mjs.map +0 -1
- package/dist/telemetry-Dq5FZUH0.mjs +0 -3
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import "./brand-64NrPh_e.mjs";
|
|
2
|
-
import { n as generatePluginFilesIfNeeded, r as loadApplication, t as defineApplication } from "./application-DThE2HW7.mjs";
|
|
3
|
-
import "./package-json-4G3gLWMd.mjs";
|
|
4
|
-
import "./seed-Cl5QXYsL.mjs";
|
|
5
|
-
import "./file-utils-sEOwAdJ4.mjs";
|
|
6
|
-
import "./kysely-type-CSlcwNFH.mjs";
|
|
7
|
-
|
|
8
|
-
export { defineApplication };
|
package/dist/brand-64NrPh_e.mjs
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
//#region src/utils/brand.ts
|
|
2
|
-
const SDK_BRAND = Symbol.for("tailor-platform/sdk");
|
|
3
|
-
/**
|
|
4
|
-
* Adds a non-enumerable SDK brand symbol to the given object (in-place).
|
|
5
|
-
* @param value - The object to brand
|
|
6
|
-
* @returns The same object with the brand applied
|
|
7
|
-
*/
|
|
8
|
-
function brandValue(value) {
|
|
9
|
-
Object.defineProperty(value, SDK_BRAND, {
|
|
10
|
-
value: true,
|
|
11
|
-
enumerable: false,
|
|
12
|
-
configurable: false,
|
|
13
|
-
writable: false
|
|
14
|
-
});
|
|
15
|
-
return value;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Checks whether the given value has been branded by the SDK.
|
|
19
|
-
* @param value - The value to check
|
|
20
|
-
* @returns True if the value has the SDK brand symbol
|
|
21
|
-
*/
|
|
22
|
-
function isSdkBranded(value) {
|
|
23
|
-
return value !== null && typeof value === "object" && SDK_BRAND in value;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
//#endregion
|
|
27
|
-
export { isSdkBranded as n, brandValue as t };
|
|
28
|
-
//# sourceMappingURL=brand-64NrPh_e.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"brand-64NrPh_e.mjs","names":[],"sources":["../src/utils/brand.ts"],"sourcesContent":["// Symbol.for ensures the same symbol is returned across different ESM module instances,\n// avoiding identity mismatches when multiple copies of the SDK are loaded.\nexport const SDK_BRAND: unique symbol = Symbol.for(\"tailor-platform/sdk\");\n\n/**\n * Adds a non-enumerable SDK brand symbol to the given object (in-place).\n * @param value - The object to brand\n * @returns The same object with the brand applied\n */\nexport function brandValue<T extends object>(value: T): T {\n Object.defineProperty(value, SDK_BRAND, {\n value: true,\n enumerable: false,\n configurable: false,\n writable: false,\n });\n return value;\n}\n\n/**\n * Checks whether the given value has been branded by the SDK.\n * @param value - The value to check\n * @returns True if the value has the SDK brand symbol\n */\nexport function isSdkBranded(value: unknown): boolean {\n return value !== null && typeof value === \"object\" && SDK_BRAND in value;\n}\n"],"mappings":";AAEA,MAAa,YAA2B,OAAO,IAAI,sBAAsB;;;;;;AAOzE,SAAgB,WAA6B,OAAa;AACxD,QAAO,eAAe,OAAO,WAAW;EACtC,OAAO;EACP,YAAY;EACZ,cAAc;EACd,UAAU;EACX,CAAC;AACF,QAAO;;;;;;;AAQT,SAAgB,aAAa,OAAyB;AACpD,QAAO,UAAU,QAAQ,OAAO,UAAU,YAAY,aAAa"}
|