@tailor-platform/sdk 1.44.2 → 1.45.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.
Files changed (73) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/{actor-DzCuoMlP.d.mts → actor-BmxQeMFP.d.mts} +2 -2
  3. package/dist/{application-7wtQzifE.mjs → application-B4zVVNRS.mjs} +28 -27
  4. package/dist/application-B4zVVNRS.mjs.map +1 -0
  5. package/dist/application-BIzicxMA.mjs +4 -0
  6. package/dist/cli/index.mjs +29 -29
  7. package/dist/cli/index.mjs.map +1 -1
  8. package/dist/cli/lib.d.mts +6 -6
  9. package/dist/cli/lib.mjs +8 -8
  10. package/dist/cli/lib.mjs.map +1 -1
  11. package/dist/{client-DcuQRqSd.mjs → client-BwXkoiMq.mjs} +3 -3
  12. package/dist/{client-DcuQRqSd.mjs.map → client-BwXkoiMq.mjs.map} +1 -1
  13. package/dist/{client-IsYnTV5A.mjs → client-DTaArWQr.mjs} +1 -1
  14. package/dist/configure/index.d.mts +5 -5
  15. package/dist/configure/index.mjs +16 -4
  16. package/dist/configure/index.mjs.map +1 -1
  17. package/dist/{crash-report-DQen2i_W.mjs → crash-report-BUHzuzDn.mjs} +1 -1
  18. package/dist/{crash-report-DVZsX1bs.mjs → crash-report-CtYCva4d.mjs} +3 -3
  19. package/dist/{crash-report-DVZsX1bs.mjs.map → crash-report-CtYCva4d.mjs.map} +1 -1
  20. package/dist/{errors-_M2TVoWh.mjs → errors-wNQxQQBH.mjs} +1 -1
  21. package/dist/{errors-_M2TVoWh.mjs.map → errors-wNQxQQBH.mjs.map} +1 -1
  22. package/dist/{file-utils-775qWKoo.mjs → file-utils-DjNi_3U_.mjs} +9 -9
  23. package/dist/file-utils-DjNi_3U_.mjs.map +1 -0
  24. package/dist/{index-DdsUV-aA.d.mts → index-B5_4Tzm2.d.mts} +2 -2
  25. package/dist/{index-BEEL1-6Z.d.mts → index-BBvPd9Uv.d.mts} +2 -2
  26. package/dist/{index-BOfTiouP.d.mts → index-DUKJPEwq.d.mts} +41 -8
  27. package/dist/{index-0Dk-fDWi.d.mts → index-DV-5OIEv.d.mts} +2 -2
  28. package/dist/{index-ZZYEd_0R.d.mts → index-Dxe6alSZ.d.mts} +2 -2
  29. package/dist/{interceptor-4UC-KTno.mjs → interceptor-CrcDfLPq.mjs} +1 -1
  30. package/dist/{interceptor-4UC-KTno.mjs.map → interceptor-CrcDfLPq.mjs.map} +1 -1
  31. package/dist/{kysely-type-BQsYEZoY.mjs → kysely-type-B8aRz_oC.mjs} +6 -6
  32. package/dist/kysely-type-B8aRz_oC.mjs.map +1 -0
  33. package/dist/multiline-e3IpANmS.mjs +39 -0
  34. package/dist/multiline-e3IpANmS.mjs.map +1 -0
  35. package/dist/{package-json-CRzw5eUf.mjs → package-json-6Px8bDpG.mjs} +1 -1
  36. package/dist/{package-json-CRzw5eUf.mjs.map → package-json-6Px8bDpG.mjs.map} +1 -1
  37. package/dist/package-json-7sRXVndJ.mjs +4 -0
  38. package/dist/plugin/builtin/enum-constants/index.d.mts +1 -1
  39. package/dist/plugin/builtin/file-utils/index.d.mts +1 -1
  40. package/dist/plugin/builtin/file-utils/index.mjs +1 -1
  41. package/dist/plugin/builtin/kysely-type/index.d.mts +1 -1
  42. package/dist/plugin/builtin/kysely-type/index.mjs +1 -1
  43. package/dist/plugin/builtin/seed/index.d.mts +1 -1
  44. package/dist/plugin/builtin/seed/index.mjs +1 -1
  45. package/dist/plugin/index.d.mts +2 -2
  46. package/dist/{repl-editor-DjycioU-.mjs → repl-editor-BlT2dFtm.mjs} +1 -1
  47. package/dist/{repl-editor-DjycioU-.mjs.map → repl-editor-BlT2dFtm.mjs.map} +1 -1
  48. package/dist/{runtime-CEj_sAfP.mjs → runtime-D5AJYWnF.mjs} +85 -39
  49. package/dist/runtime-D5AJYWnF.mjs.map +1 -0
  50. package/dist/{seed-BkVKgsxf.mjs → seed-DrKY5yIF.mjs} +15 -15
  51. package/dist/seed-DrKY5yIF.mjs.map +1 -0
  52. package/dist/{service-CCnx_IFw.mjs → service-CCgw66c6.mjs} +2 -2
  53. package/dist/{service-CCnx_IFw.mjs.map → service-CCgw66c6.mjs.map} +1 -1
  54. package/dist/{tailor-db-field-D_z185oq.d.mts → tailor-db-field-Hx9OqPWY.d.mts} +5 -2
  55. package/dist/telemetry-BvI1EgMG.mjs +4 -0
  56. package/dist/{telemetry-B6Le9XT-.mjs → telemetry-DXitz4RH.mjs} +2 -2
  57. package/dist/{telemetry-B6Le9XT-.mjs.map → telemetry-DXitz4RH.mjs.map} +1 -1
  58. package/dist/utils/test/index.d.mts +3 -3
  59. package/dist/{workflow.generated-B7Mupf5V.d.mts → workflow.generated-DFljpJh7.d.mts} +2 -2
  60. package/docs/cli/tailordb.md +35 -415
  61. package/docs/services/executor.md +15 -1
  62. package/docs/services/idp.md +2 -2
  63. package/docs/services/tailordb-migration.md +418 -0
  64. package/docs/services/tailordb.md +6 -0
  65. package/package.json +4 -5
  66. package/dist/application-7wtQzifE.mjs.map +0 -1
  67. package/dist/application-P55ZFKHG.mjs +0 -4
  68. package/dist/file-utils-775qWKoo.mjs.map +0 -1
  69. package/dist/kysely-type-BQsYEZoY.mjs.map +0 -1
  70. package/dist/package-json-DR_mqrCW.mjs +0 -4
  71. package/dist/runtime-CEj_sAfP.mjs.map +0 -1
  72. package/dist/seed-BkVKgsxf.mjs.map +0 -1
  73. package/dist/telemetry-C_WXxIo0.mjs +0 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # @tailor-platform/sdk
2
2
 
3
+ ## 1.45.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1110](https://github.com/tailor-platform/sdk/pull/1110) [`ba93ca3`](https://github.com/tailor-platform/sdk/commit/ba93ca3543c2927857dc79616ec680ed2b008ad1) Thanks [@toiroakr](https://github.com/toiroakr)! - Drop the `multiline-ts` dependency in favour of an in-tree implementation. The upstream package ships a `preinstall: npx only-allow pnpm` hook that, when a fresh copy is resolved (e.g. `npx create-tailor-sdk@latest`), causes npm's exec lock to time out with `ECOMPROMISED`. Replacing the dependency removes that failure path. Also drops `multiline-ts` from the `pnpm-workspace.yaml` `allowBuilds` list emitted by `create-tailor-sdk`.
8
+
9
+ - [#1109](https://github.com/tailor-platform/sdk/pull/1109) [`9965ba5`](https://github.com/tailor-platform/sdk/commit/9965ba5f3aefee43119d979fb827fef0160d618a) Thanks [@toiroakr](https://github.com/toiroakr)! - Fix workflow job bundling to also transform `workflow.trigger()` and `job.trigger()` calls in `.mts`, `.cts`, `.mjs`, and `.cjs` files. Previously the rolldown transform plugin only matched `.ts` and `.js`, so trigger calls in non-default extensions were silently left as raw method calls and failed at runtime. The default-import resolver also strips trailing extensions so `import wf from "./simple.mjs"` resolves to the same workflow as `import wf from "./simple"`.
10
+
11
+ ## 1.45.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#1080](https://github.com/tailor-platform/sdk/pull/1080) [`52823be`](https://github.com/tailor-platform/sdk/commit/52823be3ab8ac4efd3b9621db60d3a6fb9033d12) Thanks [@toiroakr](https://github.com/toiroakr)! - Add an `idp` option to IdP user triggers (`idpUserCreatedTrigger`, `idpUserUpdatedTrigger`, `idpUserDeletedTrigger`, `idpUserTrigger`) so executors can subscribe to a specific IdP namespace. Previously, projects with multiple IdPs failed `apply` because the SDK could not decide which IdP an executor targeted; specify `idp: "my-idp"` to disambiguate, or omit it when the project defines a single IdP. The auto-configuration of `publishUserEvents` now applies only to IdPs that are actually targeted, and `publishUserEvents: false` on a targeted IdP is rejected with a clear error instead of a warning. The new `IdpName` type is narrowed to defined IdP names via the generated `tailor.d.ts` for compile-time validation.
16
+
17
+ ### Patch Changes
18
+
19
+ - [#1094](https://github.com/tailor-platform/sdk/pull/1094) [`a872d26`](https://github.com/tailor-platform/sdk/commit/a872d26feb81266b27d0415d36b412f12e81fb42) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency ora to v9.4.0
20
+
21
+ - [#1092](https://github.com/tailor-platform/sdk/pull/1092) [`0687372`](https://github.com/tailor-platform/sdk/commit/0687372075bb8694505b2f0d0199e732606fd758) Thanks [@toiroakr](https://github.com/toiroakr)! - Restructure TailorDB migration documentation. The migration concepts, configuration, supported schema changes, automatic execution flow, and troubleshooting have moved from the CLI reference (`docs/cli/tailordb.md`) into a dedicated guide (`docs/services/tailordb-migration.md`). The CLI reference now keeps only the command tables and links to the guide. The guide also adds previously missing operational guidance: exact `migration set` semantics (label-only, not a DB rollback), team workflow and CI/CD coordination, failure recovery, machine user permissions, multi-namespace ordering, performance for large tables, local testing, rollback strategy, observability, and a beta notice. Minor wording corrections for the pre-migration phase and foreign key change classification.
22
+
3
23
  ## 1.44.2
4
24
 
5
25
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  /// <reference types="@tailor-platform/function-types" />
2
- import { Bt as InferredAttributeMap, zt as InferredAttributeList } from "./tailor-db-field-D_z185oq.mjs";
2
+ import { Bt as InferredAttributeMap, zt as InferredAttributeList } from "./tailor-db-field-Hx9OqPWY.mjs";
3
3
 
4
4
  //#region src/types/env.d.ts
5
5
  interface Env {}
@@ -27,4 +27,4 @@ type TailorActor = {
27
27
  };
28
28
  //#endregion
29
29
  export { Env as n, TailorEnv as r, TailorActor as t };
30
- //# sourceMappingURL=actor-DzCuoMlP.d.mts.map
30
+ //# sourceMappingURL=actor-BmxQeMFP.d.mts.map
@@ -1,12 +1,13 @@
1
1
 
2
- import { u as initOAuth2Client } from "./client-DcuQRqSd.mjs";
2
+ import { u as initOAuth2Client } from "./client-BwXkoiMq.mjs";
3
3
  import { n as isSdkBranded } from "./brand-Ll48SMXe.mjs";
4
4
  import { a as parseBoolean, n as logger, r as styles } from "./logger-DTNAMYGy.mjs";
5
5
  import { n as enumConstantsPlugin, t as EnumConstantsGeneratorID } from "./enum-constants-C3KSpsYj.mjs";
6
- import { n as fileUtilsPlugin, t as FileUtilsGeneratorID } from "./file-utils-775qWKoo.mjs";
7
- import { n as kyselyTypePlugin, t as KyselyGeneratorID } from "./kysely-type-BQsYEZoY.mjs";
8
- import { n as seedPlugin, r as isPluginGeneratedType, t as SeedGeneratorID } from "./seed-BkVKgsxf.mjs";
9
- import { t as readPackageJson } from "./package-json-CRzw5eUf.mjs";
6
+ import { t as multiline } from "./multiline-e3IpANmS.mjs";
7
+ import { n as fileUtilsPlugin, t as FileUtilsGeneratorID } from "./file-utils-DjNi_3U_.mjs";
8
+ import { n as kyselyTypePlugin, t as KyselyGeneratorID } from "./kysely-type-B8aRz_oC.mjs";
9
+ import { n as seedPlugin, r as isPluginGeneratedType, t as SeedGeneratorID } from "./seed-DrKY5yIF.mjs";
10
+ import { t as readPackageJson } from "./package-json-6Px8bDpG.mjs";
10
11
  import { createRequire } from "node:module";
11
12
  import { z } from "zod";
12
13
  import * as fs$1 from "node:fs";
@@ -14,7 +15,6 @@ import { mkdirSync, readFileSync, rmSync, writeFileSync } from "node:fs";
14
15
  import * as path from "pathe";
15
16
  import { join, resolve } from "pathe";
16
17
  import { pathToFileURL } from "node:url";
17
- import ml from "multiline-ts";
18
18
  import * as os from "node:os";
19
19
  import { parseTOML, parseYAML, stringifyYAML } from "confbox";
20
20
  import { findUpSync } from "find-up-simple";
@@ -252,7 +252,7 @@ async function readPlatformConfig() {
252
252
  if (typeof version === "number" && version > LATEST_CONFIG_VERSION) {
253
253
  const minSdk = "min_sdk_version" in rawConfig ? String(rawConfig.min_sdk_version) : void 0;
254
254
  const updateHint = minSdk ? `Please update your SDK to >= ${minSdk}: pnpm update @tailor-platform/sdk` : "Please update your SDK: pnpm update @tailor-platform/sdk";
255
- throw new Error(ml`
255
+ throw new Error(multiline`
256
256
  Config file uses version ${String(version)}, but this SDK only supports up to version ${String(LATEST_CONFIG_VERSION)}.
257
257
  ${updateHint}
258
258
  `);
@@ -260,7 +260,7 @@ async function readPlatformConfig() {
260
260
  const v2Result = pfConfigSchemaV2.safeParse(rawConfig);
261
261
  if (v2Result.success) {
262
262
  if (v2Result.data.latest_min_sdk_version) {
263
- if (lt((await readPackageJson()).version ?? "0.0.0", v2Result.data.latest_min_sdk_version)) logger.warn(ml`
263
+ if (lt((await readPackageJson()).version ?? "0.0.0", v2Result.data.latest_min_sdk_version)) logger.warn(multiline`
264
264
  A newer config version (${String(v2Result.data.latest_version)}) is available.
265
265
  Please update your SDK to >= ${v2Result.data.latest_min_sdk_version}: pnpm update @tailor-platform/sdk
266
266
  `);
@@ -269,7 +269,7 @@ async function readPlatformConfig() {
269
269
  }
270
270
  const v1Result = pfConfigSchemaV1.safeParse(rawConfig);
271
271
  if (v1Result.success) return migrateV1ToV2(v1Result.data);
272
- throw new Error(ml`
272
+ throw new Error(multiline`
273
273
  Failed to parse config file at ${configPath}.
274
274
  The file may be corrupted or created by an incompatible SDK version.
275
275
  `);
@@ -366,7 +366,7 @@ async function loadWorkspaceId(opts) {
366
366
  if (!wsId) throw new Error(`Profile "${profile}" not found`);
367
367
  return validateUUID(wsId, `profile "${profile}"`);
368
368
  }
369
- throw new Error(ml`
369
+ throw new Error(multiline`
370
370
  Workspace ID not found.
371
371
  Please specify workspace ID via --workspace-id option or TAILOR_PLATFORM_WORKSPACE_ID environment variable.
372
372
  `);
@@ -393,7 +393,7 @@ async function loadAccessToken(opts) {
393
393
  user = u;
394
394
  } else {
395
395
  const u = pfConfig.current_user;
396
- if (!u) throw new Error(ml`
396
+ if (!u) throw new Error(multiline`
397
397
  Tailor Platform token not found.
398
398
  Please specify token via TAILOR_PLATFORM_TOKEN environment variable or login using 'tailor-sdk login' command.
399
399
  `);
@@ -410,7 +410,7 @@ async function loadAccessToken(opts) {
410
410
  async function resolveTokens(userEntry, user) {
411
411
  if (userEntry.storage === "keyring") {
412
412
  const tokens = await loadKeyringTokens(user);
413
- if (!tokens) throw new Error(ml`
413
+ if (!tokens) throw new Error(multiline`
414
414
  Credentials not found in OS keyring for "${user}".
415
415
  Please run 'tailor-sdk login' and try again.
416
416
  `);
@@ -460,13 +460,13 @@ async function deleteUserTokens(config, user) {
460
460
  */
461
461
  async function fetchLatestToken(config, user) {
462
462
  const userEntry = config.users[user];
463
- if (!userEntry) throw new Error(ml`
463
+ if (!userEntry) throw new Error(multiline`
464
464
  User "${user}" not found.
465
465
  Please verify your user name and login using 'tailor-sdk login' command.
466
466
  `);
467
467
  const tokens = await resolveTokens(userEntry, user);
468
468
  if (new Date(userEntry.token_expires_at) > /* @__PURE__ */ new Date()) return tokens.accessToken;
469
- if (!tokens.refreshToken) throw new Error(ml`
469
+ if (!tokens.refreshToken) throw new Error(multiline`
470
470
  Token expired.
471
471
  Please run 'tailor-sdk login' and try again.
472
472
  `);
@@ -479,7 +479,7 @@ async function fetchLatestToken(config, user) {
479
479
  expiresAt: Date.parse(userEntry.token_expires_at)
480
480
  });
481
481
  } catch {
482
- throw new Error(ml`
482
+ throw new Error(multiline`
483
483
  Failed to refresh token. Your session may have expired.
484
484
  Please run 'tailor-sdk login' and try again.
485
485
  `);
@@ -859,7 +859,7 @@ function generateExecutorFileContentNew(info, executor, outputDir, typeGeneratio
859
859
  const imports = [];
860
860
  for (const [, importInfo] of typeImports) imports.push(`import { ${importInfo.variableName} } from "${importInfo.importPath}";`);
861
861
  const contextCode = generateContextCode(context, typeImports);
862
- return ml`
862
+ return multiline`
863
863
  /**
864
864
  * Auto-generated executor by plugin: ${info.pluginId}
865
865
  * DO NOT EDIT - This file is generated by @tailor-platform/sdk
@@ -945,7 +945,7 @@ function generateExecutorFileContentLegacy(executor) {
945
945
  const operationCode = generateOperationCode(executor.operation);
946
946
  const injectDeclarations = generateInjectDeclarations(executor.operation.kind === "function" ? executor.operation.inject : void 0);
947
947
  const descriptionLine = executor.description ? `\n description: ${JSON.stringify(executor.description)},` : "";
948
- return ml`
948
+ return multiline`
949
949
  /**
950
950
  * Auto-generated executor by plugin
951
951
  * DO NOT EDIT - This file is generated by @tailor-platform/sdk
@@ -1180,7 +1180,7 @@ function generateTypeFileContent(info) {
1180
1180
  const { type, pluginId, sourceTypeName, kind } = info;
1181
1181
  const variableName = toCamelCase(type.name);
1182
1182
  const fieldsCode = generateFieldsCode(type);
1183
- return ml`
1183
+ return multiline`
1184
1184
  /**
1185
1185
  * Auto-generated type by plugin: ${pluginId}
1186
1186
  * Source type: ${sourceTypeName}
@@ -1987,7 +1987,7 @@ function transformFunctionTriggers(source, workflowNameMap, jobNameMap, workflow
1987
1987
  const currentDir = currentFilePath.replace(/[/\\][^/\\]+$/, "");
1988
1988
  for (const [localName, importSource] of defaultImports) {
1989
1989
  if (!importSource.startsWith(".")) continue;
1990
- const resolvedPath = resolvePath(currentDir, importSource);
1990
+ const resolvedPath = resolvePath(currentDir, importSource).replace(/\.(ts|mts|cts|js|mjs|cjs)$/, "");
1991
1991
  const workflowName = workflowFileMap.get(resolvedPath);
1992
1992
  if (workflowName) {
1993
1993
  localWorkflowNameMap.set(localName, workflowName);
@@ -2125,7 +2125,7 @@ function createTriggerTransformPlugin(triggerContext) {
2125
2125
  return {
2126
2126
  name: "trigger-transform",
2127
2127
  transform: {
2128
- filter: { id: { include: [/\.ts$/, /\.js$/] } },
2128
+ filter: { id: { include: [/\.(ts|mts|cts|js|mjs|cjs)$/] } },
2129
2129
  handler(code, id) {
2130
2130
  if (!code.includes(".trigger(")) return null;
2131
2131
  return { code: transformFunctionTriggers(code, triggerContext.workflowNameMap, triggerContext.jobNameMap, triggerContext.workflowFileMap, id, triggerContext.authNamespace) };
@@ -2173,7 +2173,7 @@ async function bundleAuthHooks(options) {
2173
2173
  }),
2174
2174
  async build(cachePlugins) {
2175
2175
  const entryPath = path.join(outputDir, `${functionName}.entry.js`);
2176
- const entryContent = ml`
2176
+ const entryContent = multiline`
2177
2177
  import _config from "${absoluteConfigPath}";
2178
2178
  const __auth_hook_function = _config.${handlerAccessPath};
2179
2179
  export { __auth_hook_function as main };
@@ -3837,7 +3837,8 @@ const IdpUserTriggerSchema = z.object({
3837
3837
  "idp.user.created",
3838
3838
  "idp.user.updated",
3839
3839
  "idp.user.deleted"
3840
- ])).min(1).transform((arr) => [...new Set(arr)]).describe("IdP user event types to trigger on")
3840
+ ])).min(1).transform((arr) => [...new Set(arr)]).describe("IdP user event types to trigger on"),
3841
+ idp: z.string().optional().describe("IdP namespace name to subscribe to. If omitted, the project's only IdP is used; throws when multiple IdPs exist.")
3841
3842
  });
3842
3843
  const AuthAccessTokenTriggerSchema = z.object({
3843
3844
  kind: z.literal("authAccessToken").describe("Auth access token event trigger"),
@@ -3988,7 +3989,7 @@ async function bundleSingleExecutor(executor, outputDir, tsconfig, triggerContex
3988
3989
  contextHash,
3989
3990
  async build(cachePlugins) {
3990
3991
  const entryPath = path.join(outputDir, `${executor.name}.entry.js`);
3991
- const entryContent = ml`
3992
+ const entryContent = multiline`
3992
3993
  import _internalExecutor from "${path.resolve(executor.sourceFile)}";
3993
3994
 
3994
3995
  const __executor_function = async (args) => {
@@ -4185,7 +4186,7 @@ async function bundleSingleResolver(resolver, outputDir, tsconfig, triggerContex
4185
4186
  contextHash,
4186
4187
  async build(cachePlugins) {
4187
4188
  const entryPath = path.join(outputDir, `${resolver.name}.entry.js`);
4188
- const entryContent = ml`
4189
+ const entryContent = multiline`
4189
4190
  import _internalResolver from "${path.resolve(resolver.sourceFile)}";
4190
4191
  import { t } from "@tailor-platform/sdk";
4191
4192
 
@@ -4588,7 +4589,7 @@ async function bundleSingleJob(job, allJobs, outputDir, tsconfig, env, triggerCo
4588
4589
  async build(cachePlugins) {
4589
4590
  const entryPath = path.join(outputDir, `${job.name}.entry.js`);
4590
4591
  const absoluteSourcePath = path.resolve(job.sourceFile);
4591
- const entryContent = ml`
4592
+ const entryContent = multiline`
4592
4593
  import { ${job.exportName} } from "${absoluteSourcePath}";
4593
4594
 
4594
4595
  export async function main(input) {
@@ -4605,7 +4606,7 @@ async function bundleSingleJob(job, allJobs, outputDir, tsconfig, env, triggerCo
4605
4606
  const plugins = [{
4606
4607
  name: "workflow-transform",
4607
4608
  transform: {
4608
- filter: { id: { include: [/\.ts$/, /\.js$/] } },
4609
+ filter: { id: { include: [/\.(ts|mts|cts|js|mjs|cjs)$/] } },
4609
4610
  handler(code, id) {
4610
4611
  if (!code.includes("createWorkflowJob") && !code.includes("createWorkflow") && !code.includes(".trigger(")) return null;
4611
4612
  let transformed = code;
@@ -5317,4 +5318,4 @@ async function loadApplication(params) {
5317
5318
 
5318
5319
  //#endregion
5319
5320
  export { loadWorkspaceId as C, writePlatformConfig as D, saveUserTokens as E, loadAccessToken as S, resolveTokens as T, getDistDir as _, WorkflowJobSchema as a, deleteUserTokens as b, ExecutorSchema as c, buildResolverOperationHookExpr as d, OAuth2ClientSchema as f, createBundleCache as g, loadFilesWithIgnores as h, resolveInlineSourcemap as i, INVOKER_EXPR as l, stringifyFunction as m, generatePluginFilesIfNeeded as n, ResolverSchema as o, TailorDBTypeSchema as p, loadApplication as r, createExecutorService as s, defineApplication as t, buildExecutorArgsExpr as u, hashFile as v, readPlatformConfig as w, fetchLatestToken as x, loadConfig as y };
5320
- //# sourceMappingURL=application-7wtQzifE.mjs.map
5321
+ //# sourceMappingURL=application-B4zVVNRS.mjs.map