@tailor-platform/sdk 1.34.0 → 1.35.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.
Files changed (32) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{application-CluuzA0-.mjs → application-BnJRroGX.mjs} +2 -2
  3. package/dist/{application-CluuzA0-.mjs.map → application-BnJRroGX.mjs.map} +1 -1
  4. package/dist/application-mGasp_EX.mjs +4 -0
  5. package/dist/cli/index.mjs +2 -2
  6. package/dist/cli/lib.d.mts +6 -6
  7. package/dist/cli/lib.mjs +3 -3
  8. package/dist/configure/index.d.mts +4 -3
  9. package/dist/env-MSlwZt8l.d.mts +30 -0
  10. package/dist/{index-DTJkkO-t.d.mts → index-B1Fgxi8D.d.mts} +2 -2
  11. package/dist/{index-niQ9Qblw.d.mts → index-BBlE_vQF.d.mts} +2 -2
  12. package/dist/{index-D4pBPp65.d.mts → index-BG7YCyXF.d.mts} +2 -2
  13. package/dist/{index-qVqjEYnr.d.mts → index-D-tMAFVp.d.mts} +2 -2
  14. package/dist/{index--9iVDOXn.d.mts → index-wCoQup4y.d.mts} +4 -3
  15. package/dist/kysely/index.d.mts +2 -1
  16. package/dist/kysely/index.mjs.map +1 -1
  17. package/dist/{kysely-type-BwMqaL3z.mjs → kysely-type-DtnNdHn3.mjs} +5 -2
  18. package/dist/kysely-type-DtnNdHn3.mjs.map +1 -0
  19. package/dist/plugin/builtin/enum-constants/index.d.mts +1 -1
  20. package/dist/plugin/builtin/file-utils/index.d.mts +1 -1
  21. package/dist/plugin/builtin/kysely-type/index.d.mts +1 -1
  22. package/dist/plugin/builtin/kysely-type/index.mjs +1 -1
  23. package/dist/plugin/builtin/seed/index.d.mts +1 -1
  24. package/dist/plugin/index.d.mts +2 -1
  25. package/dist/{plugin-D8hKE6rZ.d.mts → plugin-CZaJ3_QR.d.mts} +2 -27
  26. package/dist/{runtime-8G74KN_M.mjs → runtime-D4O-RfcH.mjs} +3 -3
  27. package/dist/{runtime-8G74KN_M.mjs.map → runtime-D4O-RfcH.mjs.map} +1 -1
  28. package/dist/utils/test/index.d.mts +2 -2
  29. package/dist/{workflow.generated-DMt8PNVd.d.mts → workflow.generated-IZ3kLjC_.d.mts} +2 -2
  30. package/package.json +1 -1
  31. package/dist/application-CLKuNo-l.mjs +0 -4
  32. package/dist/kysely-type-BwMqaL3z.mjs.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @tailor-platform/sdk
2
2
 
3
+ ## 1.35.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#912](https://github.com/tailor-platform/sdk/pull/912) [`dbc22b9`](https://github.com/tailor-platform/sdk/commit/dbc22b9ab6c79c5f4342af5ad69224c3fab61922) Thanks [@toiroakr](https://github.com/toiroakr)! - Add `ArrayColumnType<T>` for correct Kysely type resolution in ColumnType arrays
8
+
9
+ Kysely's `Insertable`/`Selectable` only resolves `ColumnType` at the top-level table property, so `ColumnType[]` (e.g. `Timestamp[]`, `ObjectColumnType<{...}>[]`) was not resolved correctly. `ArrayColumnType<T>` wraps the array inside the `ColumnType` so that insert/select/update types are properly resolved for array fields containing `Timestamp` or `ObjectColumnType`.
10
+
3
11
  ## 1.34.0
4
12
 
5
13
  ### Minor Changes
@@ -6,7 +6,7 @@ import { t as readPackageJson } from "./package-json-CfUqjJaQ.mjs";
6
6
  import { n as seedPlugin, r as isPluginGeneratedType, t as SeedGeneratorID } from "./seed-BZIFDG27.mjs";
7
7
  import { n as enumConstantsPlugin, t as EnumConstantsGeneratorID } from "./enum-constants-DI85-fPE.mjs";
8
8
  import { n as fileUtilsPlugin, t as FileUtilsGeneratorID } from "./file-utils-C4rXlOVt.mjs";
9
- import { n as kyselyTypePlugin, t as KyselyGeneratorID } from "./kysely-type-BwMqaL3z.mjs";
9
+ import { n as kyselyTypePlugin, t as KyselyGeneratorID } from "./kysely-type-DtnNdHn3.mjs";
10
10
  import { createRequire } from "node:module";
11
11
  import { z } from "zod";
12
12
  import * as fs$1 from "node:fs";
@@ -4965,4 +4965,4 @@ async function loadApplication(params) {
4965
4965
 
4966
4966
  //#endregion
4967
4967
  export { resolveTokens as C, readPlatformConfig as S, writePlatformConfig as T, hashFile as _, loadConfig as a, loadAccessToken as b, createExecutorService as c, TailorDBTypeSchema as d, stringifyFunction as f, getDistDir as g, createBundleCache as h, resolveInlineSourcemap as i, ExecutorSchema as l, loadFilesWithIgnores as m, generatePluginFilesIfNeeded as n, WorkflowJobSchema as o, tailorUserMap as p, loadApplication as r, ResolverSchema as s, defineApplication as t, OAuth2ClientSchema as u, deleteUserTokens as v, saveUserTokens as w, loadWorkspaceId as x, fetchLatestToken as y };
4968
- //# sourceMappingURL=application-CluuzA0-.mjs.map
4968
+ //# sourceMappingURL=application-BnJRroGX.mjs.map