@tailor-platform/sdk 1.25.1 → 1.25.2
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 +30 -0
- package/dist/{application-iRp2OYMz.mjs → application-BGO3TtXi.mjs} +105 -63
- package/dist/application-BGO3TtXi.mjs.map +1 -0
- package/dist/application-C0lXqKBr.mjs +9 -0
- package/dist/{brand-BOaOlsiP.mjs → brand-GZnI4eYb.mjs} +1 -1
- package/dist/{brand-BOaOlsiP.mjs.map → brand-GZnI4eYb.mjs.map} +1 -1
- package/dist/chunk-Cz-A8uMR.mjs +3 -0
- package/dist/cli/index.d.mts +2 -3
- package/dist/cli/index.mjs +167 -211
- package/dist/cli/index.mjs.map +1 -1
- package/dist/cli/lib.d.mts +706 -1108
- package/dist/cli/lib.mjs +28 -16
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/cli/skills.mjs +2 -1
- package/dist/cli/skills.mjs.map +1 -1
- package/dist/configure/index.d.mts +5 -5
- package/dist/configure/index.mjs +4 -3
- package/dist/configure/index.mjs.map +1 -1
- package/dist/{enum-constants-BxdLbhsW.mjs → enum-constants-6uK0VI_s.mjs} +1 -1
- package/dist/{enum-constants-BxdLbhsW.mjs.map → enum-constants-6uK0VI_s.mjs.map} +1 -1
- package/dist/{env-jndw86T4.d.mts → env-uBeVwE9B.d.mts} +4 -7
- package/dist/{file-utils-C2r3AVbI.mjs → file-utils-2T9w20FP.mjs} +1 -1
- package/dist/{file-utils-C2r3AVbI.mjs.map → file-utils-2T9w20FP.mjs.map} +1 -1
- package/dist/{index-Do7zo7z-.d.mts → index-BD-K97-C.d.mts} +2 -2
- package/dist/{index-VZq4IAEK.d.mts → index-CT53egux.d.mts} +2 -2
- package/dist/{index-DZRZdh71.d.mts → index-D1J5SfyK.d.mts} +2 -2
- package/dist/{index-BuWllBxZ.d.mts → index-DuZRAsc3.d.mts} +14 -11
- package/dist/{index-DoxGF8-i.d.mts → index-cZilKprY.d.mts} +2 -2
- package/dist/{interceptor-DVy32eIG.mjs → interceptor-BPiIBTk_.mjs} +2 -1
- package/dist/{interceptor-DVy32eIG.mjs.map → interceptor-BPiIBTk_.mjs.map} +1 -1
- package/dist/{job-BQDunsd7.mjs → job-DdfW7vH3.mjs} +3 -3
- package/dist/{job-BQDunsd7.mjs.map → job-DdfW7vH3.mjs.map} +1 -1
- package/dist/kysely/index.d.mts +3 -4
- package/dist/kysely/index.mjs +1 -0
- package/dist/kysely/index.mjs.map +1 -1
- package/dist/{kysely-type-DzLBuVp6.mjs → kysely-type-cMNbsQ6k.mjs} +1 -1
- package/dist/{kysely-type-DzLBuVp6.mjs.map → kysely-type-cMNbsQ6k.mjs.map} +1 -1
- package/dist/package-json-Bj76LPsV.mjs +4 -0
- package/dist/{package-json-DnbGCOkg.mjs → package-json-CVUv8Y9T.mjs} +1 -1
- package/dist/{package-json-DnbGCOkg.mjs.map → package-json-CVUv8Y9T.mjs.map} +1 -1
- package/dist/plugin/builtin/enum-constants/index.d.mts +1 -2
- package/dist/plugin/builtin/enum-constants/index.mjs +2 -1
- package/dist/plugin/builtin/file-utils/index.d.mts +1 -2
- package/dist/plugin/builtin/file-utils/index.mjs +2 -1
- package/dist/plugin/builtin/kysely-type/index.d.mts +1 -2
- package/dist/plugin/builtin/kysely-type/index.mjs +2 -1
- package/dist/plugin/builtin/seed/index.d.mts +1 -2
- package/dist/plugin/builtin/seed/index.mjs +2 -1
- package/dist/plugin/index.d.mts +2 -3
- package/dist/plugin/index.mjs +5 -4
- package/dist/plugin/index.mjs.map +1 -1
- package/dist/{plugin-3sT6Tcq0.d.mts → plugin-zY5wvV82.d.mts} +117 -225
- package/dist/{query-D3UyoG68.mjs → query-CRSZGUmD.mjs} +445 -509
- package/dist/query-CRSZGUmD.mjs.map +1 -0
- package/dist/{schema-Fbfeq9gi.mjs → schema-BePzTFBV.mjs} +9 -9
- package/dist/schema-BePzTFBV.mjs.map +1 -0
- package/dist/seed/index.d.mts +1 -4
- package/dist/seed/index.mjs +1 -0
- package/dist/seed/index.mjs.map +1 -1
- package/dist/{seed-DkKAheSe.mjs → seed-CCVRLibh.mjs} +24 -10
- package/dist/seed-CCVRLibh.mjs.map +1 -0
- package/dist/{telemetry-d_lgTL33.mjs → telemetry-0w8OupuQ.mjs} +2 -2
- package/dist/{telemetry-d_lgTL33.mjs.map → telemetry-0w8OupuQ.mjs.map} +1 -1
- package/dist/telemetry-DDQZRqHK.mjs +4 -0
- package/dist/utils/test/index.d.mts +2 -3
- package/dist/utils/test/index.mjs +3 -2
- package/dist/utils/test/index.mjs.map +1 -1
- package/dist/{app-config-QzNOFnEy.d.mts → workflow.generated-v1LXRuB6.d.mts} +19 -22
- package/docs/cli/application.md +73 -33
- package/docs/cli/auth.md +56 -24
- package/docs/cli/completion.md +6 -0
- package/docs/cli/executor.md +73 -36
- package/docs/cli/function.md +30 -14
- package/docs/cli/secret.md +93 -41
- package/docs/cli/staticwebsite.md +38 -17
- package/docs/cli/tailordb.md +106 -48
- package/docs/cli/user.md +74 -10
- package/docs/cli/workflow.md +70 -39
- package/docs/cli/workspace.md +166 -60
- package/docs/cli-reference.md +22 -12
- package/docs/services/workflow.md +26 -0
- package/package.json +5 -5
- package/dist/application-B4ORumjE.mjs +0 -8
- package/dist/application-iRp2OYMz.mjs.map +0 -1
- package/dist/package-json-BKA36WTo.mjs +0 -3
- package/dist/query-D3UyoG68.mjs.map +0 -1
- package/dist/schema-Fbfeq9gi.mjs.map +0 -1
- package/dist/seed-DkKAheSe.mjs.map +0 -1
- package/dist/telemetry-J6dpByo2.mjs +0 -3
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "./chunk-Cz-A8uMR.mjs";
|
|
2
|
+
import "./brand-GZnI4eYb.mjs";
|
|
3
|
+
import { n as generatePluginFilesIfNeeded, r as loadApplication, t as defineApplication } from "./application-BGO3TtXi.mjs";
|
|
4
|
+
import "./package-json-CVUv8Y9T.mjs";
|
|
5
|
+
import "./seed-CCVRLibh.mjs";
|
|
6
|
+
import "./file-utils-2T9w20FP.mjs";
|
|
7
|
+
import "./kysely-type-cMNbsQ6k.mjs";
|
|
8
|
+
|
|
9
|
+
export { defineApplication };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brand-
|
|
1
|
+
{"version":3,"file":"brand-GZnI4eYb.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\nexport type SdkBrandKind = \"tailordb-type\" | \"resolver\" | \"executor\" | \"workflow\" | \"workflow-job\";\n\n/**\n * Adds a non-enumerable SDK brand symbol to the given object (in-place).\n * The brand stores the kind so service loaders can distinguish between\n * different SDK object types (e.g. a type loader skips executors).\n * @param value - The object to brand\n * @param kind - The kind of SDK object\n * @returns The same object with the brand applied\n */\nexport function brandValue<T extends object>(value: T, kind: SdkBrandKind): T {\n Object.defineProperty(value, SDK_BRAND, {\n value: kind,\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 * When kind is specified, only returns true if the brand matches that kind.\n * Accepts a single kind or an array of kinds for multi-kind matching.\n * @param value - The value to check\n * @param kind - Optional kind or kinds to match against\n * @returns True if the value has the SDK brand symbol (and matches kind if specified)\n */\nexport function isSdkBranded(\n value: unknown,\n kind?: SdkBrandKind | readonly SdkBrandKind[],\n): boolean {\n if (value === null || typeof value !== \"object\" || !(SDK_BRAND in value)) return false;\n const stored = (value as Record<symbol, unknown>)[SDK_BRAND];\n // No kind filter → any brand matches. Legacy `true` brand → matches any kind.\n return (\n kind === undefined ||\n stored === true ||\n (Array.isArray(kind) ? kind.includes(stored as SdkBrandKind) : stored === kind)\n );\n}\n"],"mappings":";AAEA,MAAa,YAA2B,OAAO,IAAI,sBAAsB;;;;;;;;;AAYzE,SAAgB,WAA6B,OAAU,MAAuB;AAC5E,QAAO,eAAe,OAAO,WAAW;EACtC,OAAO;EACP,YAAY;EACZ,cAAc;EACd,UAAU;EACX,CAAC;AACF,QAAO;;;;;;;;;;AAWT,SAAgB,aACd,OACA,MACS;AACT,KAAI,UAAU,QAAQ,OAAO,UAAU,YAAY,EAAE,aAAa,OAAQ,QAAO;CACjF,MAAM,SAAU,MAAkC;AAElD,QACE,SAAS,UACT,WAAW,SACV,MAAM,QAAQ,KAAK,GAAG,KAAK,SAAS,OAAuB,GAAG,WAAW"}
|
package/dist/cli/index.d.mts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import * as politty0 from "politty";
|
|
1
|
+
import * as politty from "politty";
|
|
3
2
|
|
|
4
3
|
//#region src/cli/index.d.ts
|
|
5
|
-
declare const mainCommand:
|
|
4
|
+
declare const mainCommand: politty.NonRunnableCommand<undefined, Record<string, never>>;
|
|
6
5
|
//#endregion
|
|
7
6
|
export { mainCommand };
|
|
8
7
|
//# sourceMappingURL=index.d.mts.map
|