@tailor-platform/sdk 2.0.0-next.1 → 2.0.0-next.11

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 (478) hide show
  1. package/CHANGELOG.md +1056 -24
  2. package/README.md +9 -9
  3. package/agent-skills/{tailor-sdk → tailor}/SKILL.md +3 -1
  4. package/dist/aigateway-DR4Kwuik.mjs +9 -0
  5. package/dist/aigateway-DR4Kwuik.mjs.map +1 -0
  6. package/dist/{application-DqS1yBg3.mjs → application-CM6hKnSK.mjs} +2155 -2008
  7. package/dist/application-CM6hKnSK.mjs.map +1 -0
  8. package/dist/application-CXNaUNhv.mjs +3 -0
  9. package/dist/authconnection-CZvi9ANm.mjs +9 -0
  10. package/dist/authconnection-CZvi9ANm.mjs.map +1 -0
  11. package/dist/brand-Eo4pLXPJ.mjs.map +1 -1
  12. package/dist/cli/cache/bundle-cache.d.mts +2 -0
  13. package/dist/cli/cache/store.d.mts +1 -0
  14. package/dist/cli/cache/types.d.mts +1 -0
  15. package/dist/cli/commands/api/api-call.d.mts +19 -0
  16. package/dist/cli/commands/api/index.d.mts +4 -0
  17. package/dist/cli/commands/deploy/aigateway.d.mts +5 -0
  18. package/dist/cli/commands/deploy/application.d.mts +7 -0
  19. package/dist/cli/commands/deploy/apply-phases.d.mts +14 -0
  20. package/dist/cli/commands/deploy/auth.d.mts +5 -0
  21. package/dist/cli/commands/deploy/deploy.d.mts +35 -0
  22. package/dist/cli/commands/deploy/executor.d.mts +7 -0
  23. package/dist/cli/commands/deploy/function-registry-types.d.mts +12 -0
  24. package/dist/cli/commands/deploy/function-registry.d.mts +6 -0
  25. package/dist/cli/commands/deploy/idp.d.mts +5 -0
  26. package/dist/cli/commands/deploy/label.d.mts +2 -0
  27. package/dist/cli/commands/deploy/resolver.d.mts +5 -0
  28. package/dist/cli/commands/deploy/secret-manager.d.mts +5 -0
  29. package/dist/cli/commands/deploy/staticwebsite.d.mts +5 -0
  30. package/dist/cli/commands/deploy/tailordb/index.d.mts +10 -0
  31. package/dist/cli/commands/deploy/types.d.mts +4 -0
  32. package/dist/cli/commands/deploy/workflow-execution-policy.d.mts +2 -0
  33. package/dist/cli/commands/deploy/workflow.d.mts +4 -0
  34. package/dist/cli/commands/executor/get.d.mts +19 -0
  35. package/dist/cli/commands/executor/jobs.d.mts +85 -0
  36. package/dist/cli/commands/executor/list.d.mts +18 -0
  37. package/dist/cli/commands/executor/transform.d.mts +42 -0
  38. package/dist/cli/commands/executor/trigger.d.mts +30 -0
  39. package/dist/cli/commands/executor/webhook.d.mts +21 -0
  40. package/dist/cli/commands/function/get.d.mts +17 -0
  41. package/dist/cli/commands/function/list.d.mts +21 -0
  42. package/dist/cli/commands/function/transform.d.mts +12 -0
  43. package/dist/cli/commands/generate/options.d.mts +6 -0
  44. package/dist/cli/commands/generate/seed/bundler.d.mts +27 -0
  45. package/dist/cli/commands/generate/service.d.mts +15 -0
  46. package/dist/cli/commands/machineuser/list.d.mts +26 -0
  47. package/dist/cli/commands/machineuser/token.d.mts +21 -0
  48. package/dist/cli/commands/oauth2client/get.d.mts +17 -0
  49. package/dist/cli/commands/oauth2client/list.d.mts +19 -0
  50. package/dist/cli/commands/oauth2client/transform.d.mts +21 -0
  51. package/dist/cli/commands/organization/folder/create.d.mts +17 -0
  52. package/dist/cli/commands/organization/folder/delete.d.mts +15 -0
  53. package/dist/cli/commands/organization/folder/get.d.mts +16 -0
  54. package/dist/cli/commands/organization/folder/list.d.mts +21 -0
  55. package/dist/cli/commands/organization/folder/update.d.mts +17 -0
  56. package/dist/cli/commands/organization/get.d.mts +15 -0
  57. package/dist/cli/commands/organization/list.d.mts +14 -0
  58. package/dist/cli/commands/organization/transform.d.mts +29 -0
  59. package/dist/cli/commands/organization/tree.d.mts +24 -0
  60. package/dist/cli/commands/organization/update.d.mts +16 -0
  61. package/dist/cli/commands/remove.d.mts +15 -0
  62. package/dist/cli/commands/show.d.mts +39 -0
  63. package/dist/cli/commands/staticwebsite/deploy.d.mts +19 -0
  64. package/dist/cli/commands/tailordb/migrate/bundler.d.mts +29 -0
  65. package/dist/cli/commands/tailordb/migrate/config.d.mts +18 -0
  66. package/dist/cli/commands/tailordb/migrate/diff-calculator.d.mts +246 -0
  67. package/dist/cli/commands/tailordb/migrate/generate.d.mts +16 -0
  68. package/dist/cli/commands/tailordb/migrate/schema-checks.d.mts +5 -0
  69. package/dist/cli/commands/tailordb/migrate/snapshot-types.d.mts +208 -0
  70. package/dist/cli/commands/tailordb/migrate/snapshot.d.mts +98 -0
  71. package/dist/cli/commands/tailordb/migrate/types.d.mts +7 -0
  72. package/dist/cli/commands/tailordb/truncate.d.mts +18 -0
  73. package/dist/cli/commands/workflow/executions.d.mts +62 -0
  74. package/dist/cli/commands/workflow/get.d.mts +21 -0
  75. package/dist/cli/commands/workflow/list.d.mts +18 -0
  76. package/dist/cli/commands/workflow/resume.d.mts +22 -0
  77. package/dist/cli/commands/workflow/start.d.mts +48 -0
  78. package/dist/cli/commands/workflow/status.d.mts +6 -0
  79. package/dist/cli/commands/workflow/transform.d.mts +34 -0
  80. package/dist/cli/commands/workflow/wait.d.mts +15 -0
  81. package/dist/cli/commands/workflow/waiter.d.mts +23 -0
  82. package/dist/cli/commands/workspace/app/health.d.mts +17 -0
  83. package/dist/cli/commands/workspace/app/list.d.mts +21 -0
  84. package/dist/cli/commands/workspace/app/transform.d.mts +20 -0
  85. package/dist/cli/commands/workspace/create.d.mts +27 -0
  86. package/dist/cli/commands/workspace/delete.d.mts +14 -0
  87. package/dist/cli/commands/workspace/get.d.mts +16 -0
  88. package/dist/cli/commands/workspace/list.d.mts +17 -0
  89. package/dist/cli/commands/workspace/restore.d.mts +14 -0
  90. package/dist/cli/commands/workspace/transform.d.mts +20 -0
  91. package/dist/cli/commands/workspace/user/invite.d.mts +21 -0
  92. package/dist/cli/commands/workspace/user/list.d.mts +21 -0
  93. package/dist/cli/commands/workspace/user/remove.d.mts +16 -0
  94. package/dist/cli/commands/workspace/user/transform.d.mts +9 -0
  95. package/dist/cli/commands/workspace/user/update.d.mts +21 -0
  96. package/dist/cli/index.mjs +12 -5481
  97. package/dist/cli/lib.d.mts +86 -21048
  98. package/dist/cli/lib.mjs +245 -46
  99. package/dist/cli/lib.mjs.map +1 -1
  100. package/dist/cli/main.d.mts +23 -0
  101. package/dist/cli/main.mjs +6777 -0
  102. package/dist/cli/main.mjs.map +1 -0
  103. package/dist/cli/query/index.d.mts +38 -0
  104. package/dist/cli/services/application.d.mts +12 -0
  105. package/dist/cli/services/auth/service.d.mts +3 -0
  106. package/dist/cli/services/executor/service.d.mts +1 -0
  107. package/dist/cli/services/http-adapter/bundler.d.mts +4 -0
  108. package/dist/cli/services/http-adapter/service.d.mts +2 -0
  109. package/dist/cli/services/resolver/service.d.mts +1 -0
  110. package/dist/cli/services/tailordb/service.d.mts +3 -0
  111. package/dist/cli/services/workflow/bundler.d.mts +3 -0
  112. package/dist/cli/services/workflow/service.d.mts +1 -0
  113. package/dist/cli/shared/args.d.mts +13 -0
  114. package/dist/cli/shared/client.d.mts +1298 -0
  115. package/dist/cli/shared/config-loader.d.mts +32 -0
  116. package/dist/cli/shared/context.d.mts +29 -0
  117. package/dist/cli/shared/error-json.d.mts +23 -0
  118. package/dist/cli/shared/readonly-guard.d.mts +25 -0
  119. package/dist/cli/shared/script-executor.d.mts +77 -0
  120. package/dist/cli/shared/seed-chunker.d.mts +45 -0
  121. package/dist/cli/shared/seed-context.d.mts +49 -0
  122. package/dist/cli/shared/tailordb-namespaces.d.mts +40 -0
  123. package/dist/cli/shared/tsconfig-paths-plugin.d.mts +2 -0
  124. package/dist/cli/shared/type-generator.d.mts +20 -0
  125. package/dist/cli/shared/workspace-name.d.mts +1 -0
  126. package/dist/cli/ts-hook.d.mts +4 -0
  127. package/dist/cli/ts-hook.mjs +333 -0
  128. package/dist/completion/zsh-worker.zsh +1471 -1217
  129. package/dist/configure/config/index.d.mts +20 -0
  130. package/dist/configure/config/types.d.mts +134 -0
  131. package/dist/configure/index.d.mts +135 -8
  132. package/dist/configure/index.mjs +558 -36
  133. package/dist/configure/index.mjs.map +1 -1
  134. package/dist/configure/services/aigateway/index.d.mts +16 -0
  135. package/dist/configure/services/aigateway/types.d.mts +10 -0
  136. package/dist/configure/services/auth/index.d.mts +33 -0
  137. package/dist/configure/services/auth/types.d.mts +168 -0
  138. package/dist/configure/services/executor/executor.d.mts +70 -0
  139. package/dist/configure/services/executor/index.d.mts +9 -0
  140. package/dist/configure/services/executor/operation.d.mts +50 -0
  141. package/dist/configure/services/executor/trigger/event.d.mts +514 -0
  142. package/dist/configure/services/executor/trigger/index.d.mts +7 -0
  143. package/dist/configure/services/executor/trigger/schedule.d.mts +24 -0
  144. package/dist/configure/services/executor/trigger/webhook.d.mts +43 -0
  145. package/dist/configure/services/executor/types.d.mts +2 -0
  146. package/dist/configure/services/http-adapter/http-adapter.d.mts +124 -0
  147. package/dist/configure/services/http-adapter/index.d.mts +2 -0
  148. package/dist/configure/services/idp/index.d.mts +60 -0
  149. package/dist/configure/services/idp/permission.d.mts +64 -0
  150. package/dist/configure/services/idp/types.d.mts +23 -0
  151. package/dist/configure/services/index.d.mts +40 -0
  152. package/dist/configure/services/resolver/index.d.mts +6 -0
  153. package/dist/configure/services/resolver/permission.d.mts +64 -0
  154. package/dist/configure/services/resolver/resolver.d.mts +88 -0
  155. package/dist/configure/services/resolver/types.d.mts +5 -0
  156. package/dist/configure/services/secrets/index.d.mts +37 -0
  157. package/dist/configure/services/secrets/types.d.mts +10 -0
  158. package/dist/configure/services/staticwebsite/index.d.mts +18 -0
  159. package/dist/configure/services/staticwebsite/types.d.mts +10 -0
  160. package/dist/configure/services/tailordb/index.d.mts +3 -0
  161. package/dist/configure/services/tailordb/permission.d.mts +103 -0
  162. package/dist/configure/services/tailordb/schema.d.mts +486 -0
  163. package/dist/configure/services/tailordb/types.d.mts +198 -0
  164. package/dist/configure/services/workflow/execution-policy.d.mts +70 -0
  165. package/dist/configure/services/workflow/execution-policy.types.d.mts +103 -0
  166. package/dist/configure/services/workflow/index.d.mts +9 -0
  167. package/dist/configure/services/workflow/job.d.mts +92 -0
  168. package/dist/configure/services/workflow/types.d.mts +2 -0
  169. package/dist/configure/services/workflow/wait-point.d.mts +72 -0
  170. package/dist/configure/services/workflow/workflow.d.mts +66 -0
  171. package/dist/configure/types/aigateway-name.d.mts +12 -0
  172. package/dist/configure/types/connection-name.d.mts +12 -0
  173. package/dist/configure/types/field.d.mts +8 -0
  174. package/dist/configure/types/field.types.d.mts +70 -0
  175. package/dist/configure/types/idp-name.d.mts +12 -0
  176. package/dist/configure/types/index.d.mts +5 -0
  177. package/dist/configure/types/machine-user.d.mts +2 -0
  178. package/dist/configure/types/permission-operand.types.d.mts +20 -0
  179. package/dist/configure/types/type.d.mts +73 -0
  180. package/dist/{context-Bd266-ru.mjs → context-DYQVYWqZ.mjs} +4 -5
  181. package/dist/context-DYQVYWqZ.mjs.map +1 -0
  182. package/dist/{crashreport-BsjAkFWw.mjs → crashreport-B5LqCTfF.mjs} +10 -11
  183. package/dist/{crashreport-BsjAkFWw.mjs.map → crashreport-B5LqCTfF.mjs.map} +1 -1
  184. package/dist/{crashreport-pr6Rhvza.mjs → crashreport-eI7ty7ok.mjs} +1 -1
  185. package/dist/{errors-Dtf2WPaW.mjs → errors-D7583Zz7.mjs} +18 -2
  186. package/dist/errors-D7583Zz7.mjs.map +1 -0
  187. package/dist/{file-_oUZo76X.mjs → file-BUcmVIH2.mjs} +12 -22
  188. package/dist/file-BUcmVIH2.mjs.map +1 -0
  189. package/dist/{globals-Crz8o65k.mjs → globals-TfAVItuK.mjs} +32 -55
  190. package/dist/globals-TfAVItuK.mjs.map +1 -0
  191. package/dist/iconv-QWaZh0TT.mjs +38 -0
  192. package/dist/iconv-QWaZh0TT.mjs.map +1 -0
  193. package/dist/{idp-BDbK5gjm.mjs → idp-RA_swu-h.mjs} +12 -5
  194. package/dist/idp-RA_swu-h.mjs.map +1 -0
  195. package/dist/{interceptor-D-q1rvRl.mjs → interceptor-e33JtsC-.mjs} +2 -2
  196. package/dist/interceptor-e33JtsC-.mjs.map +1 -0
  197. package/dist/kysely/index.d.mts +5 -7
  198. package/dist/logger-BtX0suGY.mjs +48 -0
  199. package/dist/logger-BtX0suGY.mjs.map +1 -0
  200. package/dist/logger-CXQq9YIp.mjs +317 -0
  201. package/dist/logger-CXQq9YIp.mjs.map +1 -0
  202. package/dist/node-builtins-CmaL2Cbq.mjs +36 -0
  203. package/dist/node-builtins-CmaL2Cbq.mjs.map +1 -0
  204. package/dist/parser/service/auth/index.d.mts +1 -0
  205. package/dist/parser/service/auth/schema.d.mts +3 -0
  206. package/dist/parser/service/http-adapter/index.d.mts +1 -0
  207. package/dist/parser/service/http-adapter/schema.d.mts +1 -0
  208. package/dist/parser/service/idp/types.d.mts +5 -0
  209. package/dist/parser/service/tailordb/type-source.d.mts +10 -0
  210. package/dist/parser/service/tailordb/types.d.mts +131 -0
  211. package/dist/platform-serialize-RoRtBS0v.mjs +46 -0
  212. package/dist/platform-serialize-RoRtBS0v.mjs.map +1 -0
  213. package/dist/plugin/builtin/enum-constants/index.d.mts +15 -1
  214. package/dist/plugin/builtin/enum-constants/index.mjs +115 -2
  215. package/dist/plugin/builtin/enum-constants/index.mjs.map +1 -0
  216. package/dist/plugin/builtin/file-utils/index.d.mts +15 -1
  217. package/dist/plugin/builtin/file-utils/index.mjs +149 -2
  218. package/dist/plugin/builtin/file-utils/index.mjs.map +1 -0
  219. package/dist/plugin/builtin/kysely-type/index.d.mts +15 -1
  220. package/dist/plugin/builtin/kysely-type/index.mjs +274 -2
  221. package/dist/plugin/builtin/kysely-type/index.mjs.map +1 -0
  222. package/dist/plugin/builtin/seed/index.d.mts +46 -2
  223. package/dist/plugin/builtin/seed/index.mjs +1 -1
  224. package/dist/plugin/builtin/seed/seed-type-processor.d.mts +21 -0
  225. package/dist/plugin/builtin/seed/types.d.mts +2 -0
  226. package/dist/plugin/get-generated-type.d.mts +16 -0
  227. package/dist/plugin/index.d.mts +3 -117
  228. package/dist/plugin/index.mjs +1 -1
  229. package/dist/plugin/index.mjs.map +1 -1
  230. package/dist/plugin/manager.d.mts +2 -0
  231. package/dist/plugin/types.d.mts +242 -0
  232. package/dist/plugin/with-context.d.mts +101 -0
  233. package/dist/{runtime-n9NCkjee.mjs → register-ts-hook-LYV7zH-e.mjs} +9652 -4479
  234. package/dist/register-ts-hook-LYV7zH-e.mjs.map +1 -0
  235. package/dist/{registry-DdsYlL_P.mjs → registry-BIGVUrMB.mjs} +12 -9
  236. package/dist/registry-BIGVUrMB.mjs.map +1 -0
  237. package/dist/{repl-editor-DmGr9zMw.mjs → repl-editor-BCozyiNq.mjs} +6 -5
  238. package/dist/{repl-editor-DmGr9zMw.mjs.map → repl-editor-BCozyiNq.mjs.map} +1 -1
  239. package/dist/runtime/aigateway.d.mts +25 -0
  240. package/dist/runtime/aigateway.mjs +3 -0
  241. package/dist/runtime/authconnection.d.mts +21 -2
  242. package/dist/runtime/authconnection.mjs +2 -2
  243. package/dist/runtime/context.d.mts +54 -2
  244. package/dist/runtime/context.mjs +2 -2
  245. package/dist/runtime/field-parse.d.mts +10 -0
  246. package/dist/runtime/file.d.mts +170 -2
  247. package/dist/runtime/file.mjs +2 -2
  248. package/dist/runtime/globals.d.mts +38 -20
  249. package/dist/runtime/iconv.d.mts +73 -2
  250. package/dist/runtime/iconv.mjs +2 -2
  251. package/dist/runtime/idp.d.mts +129 -2
  252. package/dist/runtime/idp.mjs +2 -2
  253. package/dist/runtime/index.d.mts +48 -9
  254. package/dist/runtime/index.mjs +10 -8
  255. package/dist/runtime/logger.d.mts +98 -0
  256. package/dist/runtime/logger.mjs +3 -0
  257. package/dist/runtime/secretmanager.d.mts +41 -2
  258. package/dist/runtime/secretmanager.mjs +2 -2
  259. package/dist/runtime/types.d.mts +25 -0
  260. package/dist/runtime/workflow.d.mts +106 -2
  261. package/dist/runtime/workflow.mjs +2 -2
  262. package/dist/{schema-BhkpP5Hw.mjs → schema--xYWRGfe.mjs} +288 -229
  263. package/dist/schema--xYWRGfe.mjs.map +1 -0
  264. package/dist/{secret-file-DBqZhjFQ.mjs → secret-file-C3J4Gy8r.mjs} +2 -2
  265. package/dist/{secret-file-DBqZhjFQ.mjs.map → secret-file-C3J4Gy8r.mjs.map} +1 -1
  266. package/dist/secretmanager-CYlpffsz.mjs +13 -0
  267. package/dist/secretmanager-CYlpffsz.mjs.map +1 -0
  268. package/dist/secretmanager-IY4UvinW.mjs +131 -0
  269. package/dist/secretmanager-IY4UvinW.mjs.map +1 -0
  270. package/dist/seed/index.d.mts +4 -4
  271. package/dist/seed-B-yckgQY.mjs +483 -0
  272. package/dist/seed-B-yckgQY.mjs.map +1 -0
  273. package/dist/{service-DU1mVzri.mjs → service-B5WynBHQ.mjs} +3 -3
  274. package/dist/{service-DU1mVzri.mjs.map → service-B5WynBHQ.mjs.map} +1 -1
  275. package/dist/service-M7OYziQP.mjs +3 -0
  276. package/dist/service-k1xy_A5G.mjs +864 -0
  277. package/dist/service-k1xy_A5G.mjs.map +1 -0
  278. package/dist/service_pb-D5--My_M.mjs +167 -0
  279. package/dist/service_pb-D5--My_M.mjs.map +1 -0
  280. package/dist/service_pb-i8CmnQP4.mjs +3 -0
  281. package/dist/tailor-proto/src/tailor/v1/aigateway_pb.d.mts +203 -0
  282. package/dist/tailor-proto/src/tailor/v1/aigateway_resource_pb.d.mts +57 -0
  283. package/dist/tailor-proto/src/tailor/v1/application_pb.d.mts +420 -0
  284. package/dist/tailor-proto/src/tailor/v1/application_resource_pb.d.mts +160 -0
  285. package/dist/tailor-proto/src/tailor/v1/auth_pb.d.mts +2069 -0
  286. package/dist/tailor-proto/src/tailor/v1/auth_resource_pb.d.mts +865 -0
  287. package/dist/tailor-proto/src/tailor/v1/events_pb.d.mts +111 -0
  288. package/dist/tailor-proto/src/tailor/v1/events_resource_pb.d.mts +68 -0
  289. package/dist/tailor-proto/src/tailor/v1/executor_pb.d.mts +438 -0
  290. package/dist/tailor-proto/src/tailor/v1/executor_resource_pb.d.mts +586 -0
  291. package/dist/tailor-proto/src/tailor/v1/function_pb.d.mts +192 -0
  292. package/dist/tailor-proto/src/tailor/v1/function_registry_pb.d.mts +450 -0
  293. package/dist/tailor-proto/src/tailor/v1/function_resource_pb.d.mts +191 -0
  294. package/dist/tailor-proto/src/tailor/v1/http_adapter_resource_pb.d.mts +49 -0
  295. package/dist/tailor-proto/src/tailor/v1/idp_pb.d.mts +406 -0
  296. package/dist/tailor-proto/src/tailor/v1/idp_resource_pb.d.mts +429 -0
  297. package/dist/tailor-proto/src/tailor/v1/metadata_pb.d.mts +72 -0
  298. package/dist/tailor-proto/src/tailor/v1/metadata_resource_pb.d.mts +16 -0
  299. package/dist/tailor-proto/src/tailor/v1/meter_pb.d.mts +308 -0
  300. package/dist/tailor-proto/src/tailor/v1/pipeline_pb.d.mts +590 -0
  301. package/dist/tailor-proto/src/tailor/v1/pipeline_resource_pb.d.mts +329 -0
  302. package/dist/tailor-proto/src/tailor/v1/resource_pb.d.mts +112 -0
  303. package/dist/tailor-proto/src/tailor/v1/secret_manager_pb.d.mts +345 -0
  304. package/dist/tailor-proto/src/tailor/v1/secret_manager_resource_pb.d.mts +53 -0
  305. package/dist/tailor-proto/src/tailor/v1/service_pb.d.mts +3658 -0
  306. package/dist/tailor-proto/src/tailor/v1/stateflow_pb.d.mts +186 -0
  307. package/dist/tailor-proto/src/tailor/v1/stateflow_resource_pb.d.mts +28 -0
  308. package/dist/tailor-proto/src/tailor/v1/staticwebsite_pb.d.mts +428 -0
  309. package/dist/tailor-proto/src/tailor/v1/staticwebsite_resource_pb.d.mts +89 -0
  310. package/dist/tailor-proto/src/tailor/v1/tailordb_pb.d.mts +683 -0
  311. package/dist/tailor-proto/src/tailor/v1/tailordb_resource_pb.d.mts +796 -0
  312. package/dist/tailor-proto/src/tailor/v1/telemetryrouter_pb.d.mts +329 -0
  313. package/dist/tailor-proto/src/tailor/v1/telemetryrouter_resource_pb.d.mts +207 -0
  314. package/dist/tailor-proto/src/tailor/v1/workflow_pb.d.mts +961 -0
  315. package/dist/tailor-proto/src/tailor/v1/workflow_resource_pb.d.mts +330 -0
  316. package/dist/tailor-proto/src/tailor/v1/workspace_pb.d.mts +2014 -0
  317. package/dist/tailor-proto/src/tailor/v1/workspace_resource_pb.d.mts +482 -0
  318. package/dist/{telemetry-CdqJEzkj.mjs → telemetry-BRVdwh14.mjs} +3 -3
  319. package/dist/telemetry-BRVdwh14.mjs.map +1 -0
  320. package/dist/telemetry-CkbkeJxl.mjs +3 -0
  321. package/dist/test-env-key-D7UkZp99.mjs +75 -0
  322. package/dist/test-env-key-D7UkZp99.mjs.map +1 -0
  323. package/dist/types/aigateway.generated.d.mts +12 -0
  324. package/dist/types/app-config.generated.d.mts +4 -0
  325. package/dist/types/auth-connection.generated.d.mts +33 -0
  326. package/dist/types/auth.generated.d.mts +188 -0
  327. package/dist/types/executor.generated.d.mts +229 -0
  328. package/dist/types/helpers.d.mts +40 -0
  329. package/dist/types/http-adapter.generated.d.mts +28 -0
  330. package/dist/types/idp.generated.d.mts +626 -0
  331. package/dist/types/resolver.generated.d.mts +82 -0
  332. package/dist/types/secrets.generated.d.mts +14 -0
  333. package/dist/types/staticwebsite.generated.d.mts +14 -0
  334. package/dist/types/tailordb.generated.d.mts +468 -0
  335. package/dist/types/workflow.generated.d.mts +17 -0
  336. package/dist/user-agent-Bgsszb5I.mjs +28 -0
  337. package/dist/user-agent-Bgsszb5I.mjs.map +1 -0
  338. package/dist/utils/test/index.d.mts +5 -100
  339. package/dist/utils/test/index.mjs +38 -189
  340. package/dist/utils/test/index.mjs.map +1 -1
  341. package/dist/vitest/environment.d.mts +1 -2
  342. package/dist/vitest/environment.mjs +2 -2
  343. package/dist/vitest/environment.mjs.map +1 -1
  344. package/dist/vitest/index.d.mts +17 -431
  345. package/dist/vitest/index.mjs +1234 -67
  346. package/dist/vitest/index.mjs.map +1 -1
  347. package/dist/vitest/mock-kysely.d.mts +61 -0
  348. package/dist/vitest/mock.d.mts +10 -0
  349. package/dist/vitest/mocks/aigateway.d.mts +40 -0
  350. package/dist/vitest/mocks/authconnection.d.mts +38 -0
  351. package/dist/vitest/mocks/file.d.mts +58 -0
  352. package/dist/vitest/mocks/iconv.d.mts +51 -0
  353. package/dist/vitest/mocks/idp.d.mts +60 -0
  354. package/dist/vitest/mocks/logger.d.mts +45 -0
  355. package/dist/vitest/mocks/secretmanager.d.mts +44 -0
  356. package/dist/vitest/mocks/tailordb.d.mts +115 -0
  357. package/dist/vitest/mocks/workflow.d.mts +148 -0
  358. package/dist/vitest/setup.d.mts +1 -2
  359. package/dist/vitest/setup.mjs +2 -2
  360. package/dist/vitest/workflow-local.d.mts +41 -0
  361. package/dist/workflow-Bamae_Yc.mjs +34 -0
  362. package/dist/workflow-Bamae_Yc.mjs.map +1 -0
  363. package/dist/{client-z_oHGVNy.mjs → workspace_resource_pb-DXnO2AT-.mjs} +57 -621
  364. package/dist/workspace_resource_pb-DXnO2AT-.mjs.map +1 -0
  365. package/docs/cli/application.md +150 -250
  366. package/docs/cli/auth.md +51 -295
  367. package/docs/cli/completion.md +1 -25
  368. package/docs/cli/crashreport.md +3 -61
  369. package/docs/cli/executor.md +72 -183
  370. package/docs/cli/function.md +16 -132
  371. package/docs/cli/organization.md +11 -221
  372. package/docs/cli/plugin.md +29 -0
  373. package/docs/cli/query.md +2 -22
  374. package/docs/cli/secret.md +71 -251
  375. package/docs/cli/setup.md +138 -40
  376. package/docs/cli/skills.md +50 -39
  377. package/docs/cli/staticwebsite.md +32 -180
  378. package/docs/cli/tailordb.md +89 -413
  379. package/docs/cli/upgrade.md +2 -22
  380. package/docs/cli/user.md +78 -247
  381. package/docs/cli/workflow.md +150 -172
  382. package/docs/cli/workspace.md +167 -538
  383. package/docs/cli-reference.md +214 -96
  384. package/docs/configuration.md +90 -6
  385. package/docs/github-actions.md +72 -24
  386. package/docs/migration/v2.md +1613 -0
  387. package/docs/multi-environment.md +29 -7
  388. package/docs/plugin/custom.md +4 -4
  389. package/docs/plugin/index.md +8 -8
  390. package/docs/quickstart.md +8 -7
  391. package/docs/runtime.md +18 -9
  392. package/docs/services/aigateway.md +20 -2
  393. package/docs/services/auth.md +51 -59
  394. package/docs/services/executor.md +91 -6
  395. package/docs/services/http-adapter.md +16 -1
  396. package/docs/services/idp.md +62 -7
  397. package/docs/services/resolver.md +67 -11
  398. package/docs/services/secret.md +11 -11
  399. package/docs/services/staticwebsite.md +8 -2
  400. package/docs/services/tailordb-migration.md +55 -29
  401. package/docs/services/tailordb.md +205 -102
  402. package/docs/services/workflow.md +163 -55
  403. package/docs/testing.md +244 -143
  404. package/package.json +61 -46
  405. package/postinstall.mjs +4 -6
  406. package/dist/application-DB2r36Et.mjs +0 -3
  407. package/dist/application-DqS1yBg3.mjs.map +0 -1
  408. package/dist/authconnection-D2MhtTN5.mjs +0 -15
  409. package/dist/authconnection-D2MhtTN5.mjs.map +0 -1
  410. package/dist/authconnection-DvUQAjQS.d.mts +0 -39
  411. package/dist/cli/erd-viewer-assets/app.js +0 -1181
  412. package/dist/cli/erd-viewer-assets/index.html +0 -73
  413. package/dist/cli/erd-viewer-assets/serve.json +0 -13
  414. package/dist/cli/erd-viewer-assets/styles.css +0 -789
  415. package/dist/cli/index.d.mts +0 -5
  416. package/dist/cli/index.mjs.map +0 -1
  417. package/dist/client-Dbohmtkv.mjs +0 -3
  418. package/dist/client-z_oHGVNy.mjs.map +0 -1
  419. package/dist/context-Bd266-ru.mjs.map +0 -1
  420. package/dist/context-BuuIb8CC.d.mts +0 -68
  421. package/dist/enum-constants-j9QBF0cB.mjs +0 -116
  422. package/dist/enum-constants-j9QBF0cB.mjs.map +0 -1
  423. package/dist/errors-Dtf2WPaW.mjs.map +0 -1
  424. package/dist/field-DOsJCPFa.mjs +0 -22
  425. package/dist/field-DOsJCPFa.mjs.map +0 -1
  426. package/dist/file-BB8Vs9O_.d.mts +0 -250
  427. package/dist/file-_oUZo76X.mjs.map +0 -1
  428. package/dist/file-utils-DcyIPFQh.mjs +0 -150
  429. package/dist/file-utils-DcyIPFQh.mjs.map +0 -1
  430. package/dist/globals-Crz8o65k.mjs.map +0 -1
  431. package/dist/http-adapter.generated-WgMnb7Sb.d.mts +0 -580
  432. package/dist/iconv-Co-TOPuH.d.mts +0 -122
  433. package/dist/iconv-D2vi8G36.mjs +0 -63
  434. package/dist/iconv-D2vi8G36.mjs.map +0 -1
  435. package/dist/idp-BDbK5gjm.mjs.map +0 -1
  436. package/dist/idp-DrhVrLmV.d.mts +0 -160
  437. package/dist/index-5vPyRu1y.d.mts +0 -18
  438. package/dist/index-B7AKc18V.d.mts +0 -47
  439. package/dist/index-BlpzXncY.d.mts +0 -1016
  440. package/dist/index-CK7u9isy.d.mts +0 -46
  441. package/dist/index-CNYe5lnW.d.mts +0 -18
  442. package/dist/index-DjUdWlzf.d.mts +0 -18
  443. package/dist/index-ZePLwxw7.d.mts +0 -208
  444. package/dist/interceptor-D-q1rvRl.mjs.map +0 -1
  445. package/dist/job-fuc3j1Ma.mjs +0 -53
  446. package/dist/job-fuc3j1Ma.mjs.map +0 -1
  447. package/dist/kysely-type-DR8uzZTA.mjs +0 -274
  448. package/dist/kysely-type-DR8uzZTA.mjs.map +0 -1
  449. package/dist/logger-CxF-Ex5d.mjs +0 -220
  450. package/dist/logger-CxF-Ex5d.mjs.map +0 -1
  451. package/dist/mock-BjFj5o1I.mjs +0 -804
  452. package/dist/mock-BjFj5o1I.mjs.map +0 -1
  453. package/dist/registry-DdsYlL_P.mjs.map +0 -1
  454. package/dist/rolldown-runtime-DXywRVcq.mjs +0 -20
  455. package/dist/runtime-n9NCkjee.mjs.map +0 -1
  456. package/dist/schema-BhkpP5Hw.mjs.map +0 -1
  457. package/dist/secretmanager-B3n4KHfm.d.mts +0 -55
  458. package/dist/secretmanager-BVxw3ih_.mjs +0 -24
  459. package/dist/secretmanager-BVxw3ih_.mjs.map +0 -1
  460. package/dist/seed-jf3008-h.mjs +0 -1160
  461. package/dist/seed-jf3008-h.mjs.map +0 -1
  462. package/dist/service-CCL8ruDf.mjs +0 -459
  463. package/dist/service-CCL8ruDf.mjs.map +0 -1
  464. package/dist/service-D6yonf2I.mjs +0 -3
  465. package/dist/telemetry-CdqJEzkj.mjs.map +0 -1
  466. package/dist/telemetry-ClwW5ohF.mjs +0 -3
  467. package/dist/test-env-key-D9kM6ETE.mjs +0 -49
  468. package/dist/test-env-key-D9kM6ETE.mjs.map +0 -1
  469. package/dist/types-B2RpYyA_.mjs +0 -371
  470. package/dist/types-B2RpYyA_.mjs.map +0 -1
  471. package/dist/types-ClhIrW_C.mjs +0 -4
  472. package/dist/types-DCUhgpyI.d.mts +0 -784
  473. package/dist/types-DhO_VEZd.d.mts +0 -574
  474. package/dist/types-DwDgacni.d.mts +0 -338
  475. package/dist/workflow-BbKvGLQg.d.mts +0 -96
  476. package/dist/workflow-DgemCAz3.mjs +0 -38
  477. package/dist/workflow-DgemCAz3.mjs.map +0 -1
  478. package/dist/workflow.generated-DtQwEo-x.d.mts +0 -671
@@ -1,46 +0,0 @@
1
- import { t as TailorAuthconnectionAPI } from "./authconnection-DvUQAjQS.mjs";
2
- import { r as TailorContextAPI } from "./context-BuuIb8CC.mjs";
3
- import { f as TailorDBFileAPI } from "./file-BB8Vs9O_.mjs";
4
- import { i as TailorIconvAPI } from "./iconv-Co-TOPuH.mjs";
5
- import { l as TailorIdpAPI } from "./idp-DrhVrLmV.mjs";
6
- import { t as TailorSecretmanagerAPI } from "./secretmanager-B3n4KHfm.mjs";
7
- import { n as TailorWorkflowAPI } from "./workflow-BbKvGLQg.mjs";
8
-
9
- //#region src/runtime/index.d.ts
10
- /** SQL command type recorded on a {@link TailordbQueryResult}. */
11
- type TailordbCommandType = "INSERT" | "DELETE" | "UPDATE" | "SELECT" | "MOVE" | "FETCH" | "COPY" | "CREATE";
12
- /** Result of a single `queryObject` call against the TailorDB driver. */
13
- interface TailordbQueryResult<T> {
14
- rows: T[];
15
- command: TailordbCommandType;
16
- rowCount: number;
17
- }
18
- /** Instance methods exposed by `tailordb.Client`. */
19
- interface TailordbClientInstance {
20
- connect(): Promise<void>;
21
- end(): Promise<void>;
22
- queryObject<O>(sql: string, args?: readonly unknown[]): Promise<TailordbQueryResult<O>>;
23
- }
24
- /** Constructor shape for `tailordb.Client`. */
25
- interface TailordbClientConstructor {
26
- new (config: {
27
- namespace: string;
28
- }): TailordbClientInstance;
29
- }
30
- /** Top-level `tailor` runtime object. */
31
- interface TailorRuntime {
32
- secretmanager: TailorSecretmanagerAPI;
33
- authconnection: TailorAuthconnectionAPI;
34
- iconv: TailorIconvAPI;
35
- idp: TailorIdpAPI;
36
- workflow: TailorWorkflowAPI;
37
- context: TailorContextAPI;
38
- }
39
- /** Top-level `tailordb` runtime object. */
40
- interface TailordbRuntime {
41
- Client: TailordbClientConstructor;
42
- file: TailorDBFileAPI;
43
- }
44
- //#endregion
45
- export { TailordbQueryResult as a, TailordbCommandType as i, TailordbClientConstructor as n, TailordbRuntime as o, TailordbClientInstance as r, TailorRuntime as t };
46
- //# sourceMappingURL=index-CK7u9isy.d.mts.map
@@ -1,18 +0,0 @@
1
- import { i as Plugin } from "./types-DhO_VEZd.mjs";
2
-
3
- //#region src/plugin/builtin/file-utils/index.d.ts
4
- /** Unique identifier for the file utilities generator plugin. */
5
- declare const FileUtilsGeneratorID = "@tailor-platform/file-utils";
6
- type FileUtilsPluginOptions = {
7
- distPath: string;
8
- };
9
- /**
10
- * Plugin that generates TypeWithFiles interface from TailorDB type definitions.
11
- * @param options - Plugin options
12
- * @param options.distPath - Output file path for generated file utilities
13
- * @returns Plugin instance with onTailorDBReady hook
14
- */
15
- declare function fileUtilsPlugin(options: FileUtilsPluginOptions): Plugin<unknown, FileUtilsPluginOptions>;
16
- //#endregion
17
- export { fileUtilsPlugin as n, FileUtilsGeneratorID as t };
18
- //# sourceMappingURL=index-CNYe5lnW.d.mts.map
@@ -1,18 +0,0 @@
1
- import { i as Plugin } from "./types-DhO_VEZd.mjs";
2
-
3
- //#region src/plugin/builtin/enum-constants/index.d.ts
4
- /** Unique identifier for the enum constants generator plugin. */
5
- declare const EnumConstantsGeneratorID = "@tailor-platform/enum-constants";
6
- type EnumConstantsPluginOptions = {
7
- distPath: string;
8
- };
9
- /**
10
- * Plugin that generates enum constants from TailorDB type definitions.
11
- * @param options - Plugin options
12
- * @param options.distPath - Output file path for generated constants
13
- * @returns Plugin instance with onTailorDBReady hook
14
- */
15
- declare function enumConstantsPlugin(options: EnumConstantsPluginOptions): Plugin<unknown, EnumConstantsPluginOptions>;
16
- //#endregion
17
- export { enumConstantsPlugin as n, EnumConstantsGeneratorID as t };
18
- //# sourceMappingURL=index-DjUdWlzf.d.mts.map
@@ -1,208 +0,0 @@
1
- import { H as TailorInvoker, M as JsonCompatible, V as TailorEnv } from "./types-DCUhgpyI.mjs";
2
- import { f as MachineUserName } from "./types-DwDgacni.mjs";
3
- import { n as RetryPolicy, t as ConcurrencyPolicy } from "./workflow.generated-DtQwEo-x.mjs";
4
-
5
- //#region src/configure/services/workflow/test-env-key.d.ts
6
- /**
7
- * Env-var fallback read by `runWorkflowLocally()` when `mockWorkflow().setEnv()` is unset.
8
- * @deprecated Use `mockWorkflow().setEnv()` from `@tailor-platform/sdk/vitest`.
9
- * @internal
10
- */
11
- declare const WORKFLOW_TEST_ENV_KEY = "TAILOR_TEST_WORKFLOW_ENV";
12
- //#endregion
13
- //#region src/configure/services/workflow/job.d.ts
14
- /**
15
- * Context object passed as the second argument to workflow job body functions.
16
- */
17
- type WorkflowJobContext = {
18
- env: TailorEnv;
19
- invoker?: TailorInvoker;
20
- };
21
- /**
22
- * The body function type for a workflow job.
23
- * Resolves to the callable signature when `I` / `O` are JsonValue-compatible,
24
- * or to a template-literal error string that surfaces at the `body:` property.
25
- */
26
- type JobBody<I, O> = [null] extends [I] ? "ERROR: Input cannot be null at the top level" : [I] extends [undefined] ? [O] extends [JsonCompatible<O> | undefined | void] ? (input: I, context: WorkflowJobContext) => O | Promise<O> : "ERROR: Output must be JsonValue-compatible (plain objects/arrays; no class instances or functions)" : [undefined] extends [I] ? "ERROR: Input cannot include undefined at the top level" : [I] extends [JsonCompatible<I>] ? [O] extends [JsonCompatible<O> | undefined | void] ? (input: I, context: WorkflowJobContext) => O | Promise<O> : "ERROR: Output must be JsonValue-compatible (plain objects/arrays; no class instances or functions)" : "ERROR: Input must be JsonValue-compatible (plain objects/arrays; no class instances or functions)";
27
- /**
28
- * WorkflowJob represents a job that can be triggered in a workflow.
29
- *
30
- * Type constraints:
31
- * - Input: Must be JsonValue-compatible (plain objects/arrays; no class instances or functions) or undefined.
32
- * - Output: Must be JsonValue-compatible (plain objects/arrays; no class instances or functions), undefined, or void.
33
- * - Trigger returns `Awaited<Output>` as-is (no Promise or Jsonify transformation).
34
- */
35
- interface WorkflowJob<Name extends string = string, Input = undefined, Output = undefined> {
36
- name: Name;
37
- /**
38
- * Trigger this job with the given input and return the job's output value.
39
- * @example
40
- * body: async (input) => {
41
- * const a = jobA.trigger({ id: input.id });
42
- * const b = jobB.trigger({ id: input.id });
43
- * return { a, b };
44
- * }
45
- */
46
- trigger: [Input] extends [undefined] ? () => Awaited<Output> : (input: Input) => Awaited<Output>;
47
- body: (input: Input, context: WorkflowJobContext) => Output | Promise<Output>;
48
- }
49
- interface CreateWorkflowJobConfig<Name extends string, I, O> {
50
- readonly name: Name;
51
- readonly body: JobBody<I, O>;
52
- }
53
- /**
54
- * Create a workflow job definition.
55
- *
56
- * All jobs must be named exports from the workflow file.
57
- * Job names must be unique across the entire project.
58
- *
59
- * Input and output must be JsonValue-compatible (primitives, plain objects, arrays).
60
- * Functions and objects with a `toJSON` method are rejected at the type level;
61
- * class instances exposing methods are rejected via the property walk.
62
- * @param config - Job configuration with name and body function.
63
- * @param config.name - Unique job name across the project.
64
- * @param config.body - Function that processes the job input.
65
- * @returns A WorkflowJob that can be triggered from other jobs.
66
- * @example
67
- * // Simple job with async body:
68
- * export const fetchData = createWorkflowJob({
69
- * name: "fetch-data",
70
- * body: async (input: { id: string }) => {
71
- * const db = getDB("tailordb");
72
- * return await db.selectFrom("Table").selectAll().where("id", "=", input.id).executeTakeFirst();
73
- * },
74
- * });
75
- * @example
76
- * // Orchestrator job that fans out to other jobs.
77
- * export const orchestrate = createWorkflowJob({
78
- * name: "orchestrate",
79
- * body: (input: { orderId: string }) => {
80
- * const inventory = checkInventory.trigger({ orderId: input.orderId });
81
- * const payment = processPayment.trigger({ orderId: input.orderId });
82
- * return { inventory, payment };
83
- * },
84
- * });
85
- */
86
- declare function createWorkflowJob<const Name extends string, I = undefined, O = undefined>(config: CreateWorkflowJobConfig<Name, I, O>): WorkflowJob<Name, I, Awaited<O>>;
87
- //#endregion
88
- //#region src/configure/services/workflow/workflow.d.ts
89
- interface WorkflowConfig<Job extends WorkflowJob<any, any, any> = WorkflowJob<any, any, any>> {
90
- name: string;
91
- mainJob: Job;
92
- retryPolicy?: RetryPolicy;
93
- concurrencyPolicy?: ConcurrencyPolicy;
94
- }
95
- interface Workflow<Job extends WorkflowJob<any, any, any> = WorkflowJob<any, any, any>> {
96
- name: string;
97
- mainJob: Job;
98
- retryPolicy?: RetryPolicy;
99
- concurrencyPolicy?: ConcurrencyPolicy;
100
- trigger: (args: Parameters<Job["trigger"]>[0], options?: {
101
- authInvoker: MachineUserName;
102
- }) => Promise<string>;
103
- }
104
- interface WorkflowDefinition<Job extends WorkflowJob<any, any, any>> {
105
- name: string;
106
- mainJob: Job;
107
- retryPolicy?: RetryPolicy;
108
- concurrencyPolicy?: ConcurrencyPolicy;
109
- }
110
- /**
111
- * Create a workflow definition that can be triggered via the Tailor SDK.
112
- * In production, bundler transforms .trigger() calls to tailor.workflow.triggerWorkflow().
113
- *
114
- * The workflow MUST be the default export of the file.
115
- * All jobs referenced by the workflow MUST be named exports.
116
- * @template Job
117
- * @param config - Workflow configuration
118
- * @returns Defined workflow
119
- * @example
120
- * export const fetchData = createWorkflowJob({ name: "fetch-data", body: async (input: { id: string }) => ({ id: input.id }) });
121
- * export const processData = createWorkflowJob({
122
- * name: "process-data",
123
- * body: (input: { id: string }) => {
124
- * const data = fetchData.trigger({ id: input.id });
125
- * return { data };
126
- * },
127
- * });
128
- *
129
- * // Workflow must be default export; mainJob is the entry point
130
- * export default createWorkflow({
131
- * name: "data-processing",
132
- * mainJob: processData,
133
- * });
134
- */
135
- declare function createWorkflow<Job extends WorkflowJob<any, any, any>>(config: WorkflowDefinition<Job>): Workflow<Job>;
136
- //#endregion
137
- //#region src/configure/services/workflow/wait-point.d.ts
138
- /**
139
- * A single wait point instance with typed `.wait()` and `.resolve()` methods.
140
- *
141
- * - `.wait(payload?)` suspends execution until resolved. Returns the result from `.resolve()`.
142
- * - `.resolve(executionId, callback)` resumes a suspended execution.
143
- *
144
- * Both `Payload` and `Result` must be JsonValue-compatible (primitives, plain objects, arrays).
145
- * Functions and objects with a `toJSON` method are rejected at the type level.
146
- */
147
- interface WaitPointInstance<Payload = undefined, Result = undefined> {
148
- wait: [Payload] extends [undefined] ? () => Promise<Result> : (payload: Payload) => Promise<Result>;
149
- resolve: (executionId: string, callback: (payload: [Payload] extends [undefined] ? undefined : Payload) => Result | Promise<Result>) => Promise<void>;
150
- }
151
- /**
152
- * The type produced by `define<Payload, Result>()` / `defineWaitPoint<Payload, Result>(key)`.
153
- * Resolves to `WaitPointInstance<Payload, Result>` when both types are JsonValue-compatible,
154
- * or to a template-literal error string that surfaces at the call site.
155
- */
156
- type WaitPointDef<Payload, Result> = [null] extends [Payload] ? "ERROR: Payload cannot be null at the top level" : [undefined] extends [Result] ? "ERROR: Result cannot be (or include) undefined (resolve callback must return a value)" : [Payload] extends [undefined] ? [Result] extends [JsonCompatible<Result>] ? WaitPointInstance<Payload, Result> : "ERROR: Result must be JsonValue-compatible (plain objects/arrays; no class instances or functions)" : [undefined] extends [Payload] ? "ERROR: Payload cannot include undefined at the top level" : [Payload] extends [JsonCompatible<Payload>] ? [Result] extends [JsonCompatible<Result>] ? WaitPointInstance<Payload, Result> : "ERROR: Result must be JsonValue-compatible (plain objects/arrays; no class instances or functions)" : "ERROR: Payload must be JsonValue-compatible (plain objects/arrays; no class instances or functions)";
157
- /**
158
- * The `define` function passed to the `defineWaitPoints` builder callback.
159
- * Returns an actual WaitPointInstance (not a phantom marker) so that the
160
- * builder's return type can flow through as-is, preserving JSDoc comments
161
- * on each property for IDE autocompletion.
162
- *
163
- * JSON validation is encoded in the return type rather than in type-parameter
164
- * constraints, because tsgo rejects self-referential constraints like
165
- * `Payload extends JsonCompatible<Payload>` as circular.
166
- */
167
- type DefineFn = <Payload = undefined, Result = undefined>() => WaitPointDef<Payload, Result>;
168
- /**
169
- * Define a single typed wait point with an explicit key.
170
- *
171
- * `Payload` and `Result` must be JsonValue-compatible.
172
- * Functions and objects with a `toJSON` method are rejected at the type level;
173
- * class instances exposing methods are rejected via the property walk.
174
- * @param key - The wait point key used to match wait and resolve calls
175
- * @returns A WaitPointInstance with typed `.wait()` and `.resolve()` methods
176
- * @example
177
- * export const approval = defineWaitPoint<{ message: string }, { approved: boolean }>("approval");
178
- *
179
- * await approval.wait({ message: "Please approve" });
180
- */
181
- declare function defineWaitPoint<Payload = undefined, Result = undefined>(key: string): WaitPointDef<Payload, Result>;
182
- /**
183
- * Define a group of typed wait points for human-in-the-loop workflows.
184
- * Property names become the wait point keys.
185
- *
186
- * The return type is the same as the builder's return type, so JSDoc on each
187
- * property is preserved and visible in IDE autocompletion.
188
- *
189
- * `Payload` and `Result` must be JsonValue-compatible.
190
- * Functions and objects with a `toJSON` method are rejected at the type level;
191
- * class instances exposing methods are rejected via the property walk.
192
- * @param builder - Callback that receives a `define` factory and returns an object of wait points
193
- * @returns The same object returned by the builder (with correct keys set on each instance)
194
- * @example
195
- * export const waitPoints = defineWaitPoints(define => ({
196
- * // Preceding JSDoc on this property is shown in IDE autocompletion
197
- * approval: define<{ message: string }, { approved: boolean }>(),
198
- * }));
199
- *
200
- * // IDE shows the JSDoc when typing `waitPoints.`
201
- * await waitPoints.approval.wait({ message: "Please approve" });
202
- *
203
- * // For 2-level access, use destructured export with JSDoc attached to the export itself.
204
- */
205
- declare function defineWaitPoints<T extends Record<string, WaitPointInstance<any, any>>>(builder: (define: DefineFn) => T): T;
206
- //#endregion
207
- export { WorkflowConfig as a, WorkflowJobContext as c, Workflow as i, createWorkflowJob as l, defineWaitPoint as n, createWorkflow as o, defineWaitPoints as r, WorkflowJob as s, WaitPointInstance as t, WORKFLOW_TEST_ENV_KEY as u };
208
- //# sourceMappingURL=index-ZePLwxw7.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"interceptor-D-q1rvRl.mjs","names":[],"sources":["../src/cli/telemetry/interceptor.ts"],"sourcesContent":["import { trace, SpanStatusCode } from \"@opentelemetry/api\";\nimport type { Interceptor } from \"@connectrpc/connect\";\n\n/**\n * Create a Connect-RPC interceptor that records OTLP spans for each RPC call.\n * When no TracerProvider is registered, the OTel API automatically provides\n * noop spans with zero overhead.\n * @returns Tracing interceptor\n */\nexport function createTracingInterceptor(): Interceptor {\n return (next) => async (req) => {\n const tracer = trace.getTracer(\"tailor-sdk\");\n\n return tracer.startActiveSpan(`rpc.${req.method.name}`, async (span) => {\n span.setAttribute(\"rpc.method\", req.method.name);\n span.setAttribute(\"rpc.service\", \"OperatorService\");\n span.setAttribute(\"rpc.system\", \"connect-rpc\");\n\n try {\n const response = await next(req);\n span.setStatus({ code: SpanStatusCode.OK });\n return response;\n } catch (error) {\n span.setStatus({ code: SpanStatusCode.ERROR });\n if (error instanceof Error) {\n span.recordException(error);\n }\n throw error;\n } finally {\n span.end();\n }\n });\n };\n}\n"],"mappings":";;;;;;;;;AASA,SAAgB,2BAAwC;CACtD,QAAQ,SAAS,OAAO,QAAQ;EAG9B,OAFe,MAAM,UAAU,YAEnB,CAAC,CAAC,gBAAgB,OAAO,IAAI,OAAO,QAAQ,OAAO,SAAS;GACtE,KAAK,aAAa,cAAc,IAAI,OAAO,IAAI;GAC/C,KAAK,aAAa,eAAe,iBAAiB;GAClD,KAAK,aAAa,cAAc,aAAa;GAE7C,IAAI;IACF,MAAM,WAAW,MAAM,KAAK,GAAG;IAC/B,KAAK,UAAU,EAAE,MAAM,eAAe,GAAG,CAAC;IAC1C,OAAO;GACT,SAAS,OAAO;IACd,KAAK,UAAU,EAAE,MAAM,eAAe,MAAM,CAAC;IAC7C,IAAI,iBAAiB,OACnB,KAAK,gBAAgB,KAAK;IAE5B,MAAM;GACR,UAAU;IACR,KAAK,IAAI;GACX;EACF,CAAC;CACH;AACF"}
@@ -1,53 +0,0 @@
1
- import { t as brandValue } from "./brand-Eo4pLXPJ.mjs";
2
- import { a as registerJob, n as dispatchTriggerJob } from "./registry-DdsYlL_P.mjs";
3
-
4
- //#region src/configure/services/workflow/job.ts
5
- /**
6
- * Create a workflow job definition.
7
- *
8
- * All jobs must be named exports from the workflow file.
9
- * Job names must be unique across the entire project.
10
- *
11
- * Input and output must be JsonValue-compatible (primitives, plain objects, arrays).
12
- * Functions and objects with a `toJSON` method are rejected at the type level;
13
- * class instances exposing methods are rejected via the property walk.
14
- * @param config - Job configuration with name and body function.
15
- * @param config.name - Unique job name across the project.
16
- * @param config.body - Function that processes the job input.
17
- * @returns A WorkflowJob that can be triggered from other jobs.
18
- * @example
19
- * // Simple job with async body:
20
- * export const fetchData = createWorkflowJob({
21
- * name: "fetch-data",
22
- * body: async (input: { id: string }) => {
23
- * const db = getDB("tailordb");
24
- * return await db.selectFrom("Table").selectAll().where("id", "=", input.id).executeTakeFirst();
25
- * },
26
- * });
27
- * @example
28
- * // Orchestrator job that fans out to other jobs.
29
- * export const orchestrate = createWorkflowJob({
30
- * name: "orchestrate",
31
- * body: (input: { orderId: string }) => {
32
- * const inventory = checkInventory.trigger({ orderId: input.orderId });
33
- * const payment = processPayment.trigger({ orderId: input.orderId });
34
- * return { inventory, payment };
35
- * },
36
- * });
37
- */
38
- function createWorkflowJob(config) {
39
- const body = config.body;
40
- if (!process.env.TAILOR_PLATFORM_BUNDLE) registerJob(config.name, body);
41
- const trigger = process.env.TAILOR_PLATFORM_BUNDLE ? () => {
42
- throw new Error("This workflow job's .trigger() is rewritten at build time and is unavailable in the bundle");
43
- } : (args) => dispatchTriggerJob(config.name, args);
44
- return brandValue({
45
- name: config.name,
46
- trigger,
47
- body
48
- }, "workflow-job");
49
- }
50
-
51
- //#endregion
52
- export { createWorkflowJob as t };
53
- //# sourceMappingURL=job-fuc3j1Ma.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"job-fuc3j1Ma.mjs","names":[],"sources":["../src/configure/services/workflow/job.ts"],"sourcesContent":["import { brandValue } from \"@/utils/brand\";\nimport { dispatchTriggerJob, registerJob, type RegisteredJobBody } from \"./registry\";\nimport type { TailorEnv, TailorInvoker } from \"@/runtime/types\";\nimport type { JsonCompatible } from \"@/types/helpers\";\n\n/**\n * Context object passed as the second argument to workflow job body functions.\n */\nexport type WorkflowJobContext = {\n env: TailorEnv;\n invoker?: TailorInvoker;\n};\n\n/**\n * The body function type for a workflow job.\n * Resolves to the callable signature when `I` / `O` are JsonValue-compatible,\n * or to a template-literal error string that surfaces at the `body:` property.\n */\ntype JobBody<I, O> = [null] extends [I]\n ? \"ERROR: Input cannot be null at the top level\"\n : [I] extends [undefined]\n ? [O] extends [JsonCompatible<O> | undefined | void]\n ? (input: I, context: WorkflowJobContext) => O | Promise<O>\n : \"ERROR: Output must be JsonValue-compatible (plain objects/arrays; no class instances or functions)\"\n : [undefined] extends [I]\n ? \"ERROR: Input cannot include undefined at the top level\"\n : [I] extends [JsonCompatible<I>]\n ? [O] extends [JsonCompatible<O> | undefined | void]\n ? (input: I, context: WorkflowJobContext) => O | Promise<O>\n : \"ERROR: Output must be JsonValue-compatible (plain objects/arrays; no class instances or functions)\"\n : \"ERROR: Input must be JsonValue-compatible (plain objects/arrays; no class instances or functions)\";\n\n/**\n * WorkflowJob represents a job that can be triggered in a workflow.\n *\n * Type constraints:\n * - Input: Must be JsonValue-compatible (plain objects/arrays; no class instances or functions) or undefined.\n * - Output: Must be JsonValue-compatible (plain objects/arrays; no class instances or functions), undefined, or void.\n * - Trigger returns `Awaited<Output>` as-is (no Promise or Jsonify transformation).\n */\nexport interface WorkflowJob<Name extends string = string, Input = undefined, Output = undefined> {\n name: Name;\n /**\n * Trigger this job with the given input and return the job's output value.\n * @example\n * body: async (input) => {\n * const a = jobA.trigger({ id: input.id });\n * const b = jobB.trigger({ id: input.id });\n * return { a, b };\n * }\n */\n trigger: [Input] extends [undefined] ? () => Awaited<Output> : (input: Input) => Awaited<Output>;\n body: (input: Input, context: WorkflowJobContext) => Output | Promise<Output>;\n}\n\nexport { WORKFLOW_TEST_ENV_KEY } from \"./test-env-key\";\n\ninterface CreateWorkflowJobConfig<Name extends string, I, O> {\n readonly name: Name;\n readonly body: JobBody<I, O>;\n}\n\n/**\n * Create a workflow job definition.\n *\n * All jobs must be named exports from the workflow file.\n * Job names must be unique across the entire project.\n *\n * Input and output must be JsonValue-compatible (primitives, plain objects, arrays).\n * Functions and objects with a `toJSON` method are rejected at the type level;\n * class instances exposing methods are rejected via the property walk.\n * @param config - Job configuration with name and body function.\n * @param config.name - Unique job name across the project.\n * @param config.body - Function that processes the job input.\n * @returns A WorkflowJob that can be triggered from other jobs.\n * @example\n * // Simple job with async body:\n * export const fetchData = createWorkflowJob({\n * name: \"fetch-data\",\n * body: async (input: { id: string }) => {\n * const db = getDB(\"tailordb\");\n * return await db.selectFrom(\"Table\").selectAll().where(\"id\", \"=\", input.id).executeTakeFirst();\n * },\n * });\n * @example\n * // Orchestrator job that fans out to other jobs.\n * export const orchestrate = createWorkflowJob({\n * name: \"orchestrate\",\n * body: (input: { orderId: string }) => {\n * const inventory = checkInventory.trigger({ orderId: input.orderId });\n * const payment = processPayment.trigger({ orderId: input.orderId });\n * return { inventory, payment };\n * },\n * });\n */\nexport function createWorkflowJob<const Name extends string, I = undefined, O = undefined>(\n config: CreateWorkflowJobConfig<Name, I, O>,\n): WorkflowJob<Name, I, Awaited<O>> {\n const body = config.body as (input: I, context: WorkflowJobContext) => O | Promise<O>;\n\n // Test-only local runner registry; the platform bundle sets the flag so it is DCE'd.\n if (!process.env.TAILOR_PLATFORM_BUNDLE) {\n registerJob(config.name, body as RegisteredJobBody);\n }\n\n const trigger = process.env.TAILOR_PLATFORM_BUNDLE\n ? () => {\n throw new Error(\n \"This workflow job's .trigger() is rewritten at build time and is unavailable in the bundle\",\n );\n }\n : (args?: unknown) => dispatchTriggerJob(config.name, args) as Awaited<O>;\n\n return brandValue(\n { name: config.name, trigger, body } as WorkflowJob<Name, I, Awaited<O>>,\n \"workflow-job\",\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+FA,SAAgB,kBACd,QACkC;CAClC,MAAM,OAAO,OAAO;CAGpB,IAAI,CAAC,QAAQ,IAAI,wBACf,YAAY,OAAO,MAAM,IAAyB;CAGpD,MAAM,UAAU,QAAQ,IAAI,+BAClB;EACJ,MAAM,IAAI,MACR,4FACF;CACF,KACC,SAAmB,mBAAmB,OAAO,MAAM,IAAI;CAE5D,OAAO,WACL;EAAE,MAAM,OAAO;EAAM;EAAS;CAAK,GACnC,cACF;AACF"}
@@ -1,274 +0,0 @@
1
- import { t as multiline } from "./multiline-sfHpTZZK.mjs";
2
-
3
- //#region src/plugin/builtin/kysely-type/type-processor.ts
4
- /**
5
- * Get the enum type definition.
6
- * @param fieldConfig - The field configuration
7
- * @returns The enum type as a string union
8
- */
9
- function getEnumType(fieldConfig) {
10
- const allowedValues = fieldConfig.allowedValues;
11
- if (allowedValues && Array.isArray(allowedValues)) return allowedValues.map((v) => {
12
- return `"${typeof v === "string" ? v : v.value}"`;
13
- }).join(" | ");
14
- return "string";
15
- }
16
- /**
17
- * Get the nested object type definition.
18
- * @param fieldConfig - The field configuration
19
- * @returns The nested type with used utility types
20
- */
21
- function getNestedType(fieldConfig) {
22
- const fields = fieldConfig.fields;
23
- if (!fields || typeof fields !== "object") return {
24
- type: "string",
25
- usedUtilityTypes: {
26
- Timestamp: false,
27
- Serial: false
28
- }
29
- };
30
- const fieldResults = Object.entries(fields).map(([fieldName, config]) => {
31
- const result = generateFieldType(config);
32
- return {
33
- fieldType: `${fieldName}${config.required !== true ? "?" : ""}: ${result.type}`,
34
- usedUtilityTypes: result.usedUtilityTypes
35
- };
36
- });
37
- const aggregatedUtilityTypes = fieldResults.reduce((acc, result) => ({
38
- Timestamp: acc.Timestamp || result.usedUtilityTypes.Timestamp,
39
- Serial: acc.Serial || result.usedUtilityTypes.Serial
40
- }), {
41
- Timestamp: false,
42
- Serial: false
43
- });
44
- const fieldTypes = fieldResults.map((r) => r.fieldType);
45
- const obj = `{\n ${fieldTypes.join(";\n ")}${fieldTypes.length > 0 ? ";" : ""}\n}`;
46
- const hasOptionalFields = Object.values(fields).some((config) => config.required !== true);
47
- if (aggregatedUtilityTypes.Timestamp || hasOptionalFields) return {
48
- type: `ObjectColumnType<${obj}>`,
49
- usedUtilityTypes: aggregatedUtilityTypes
50
- };
51
- return {
52
- type: obj,
53
- usedUtilityTypes: aggregatedUtilityTypes
54
- };
55
- }
56
- /**
57
- * Get the base Kysely type for a field (without array/null modifiers).
58
- * @param fieldConfig - The field configuration
59
- * @returns The base type with used utility types
60
- */
61
- function getBaseType(fieldConfig) {
62
- const fieldType = fieldConfig.type;
63
- const usedUtilityTypes = {
64
- Timestamp: false,
65
- Serial: false
66
- };
67
- let type;
68
- switch (fieldType) {
69
- case "uuid":
70
- case "string":
71
- case "decimal":
72
- type = "string";
73
- break;
74
- case "integer":
75
- case "float":
76
- type = "number";
77
- break;
78
- case "date":
79
- case "datetime":
80
- usedUtilityTypes.Timestamp = true;
81
- type = "Timestamp";
82
- break;
83
- case "bool":
84
- case "boolean":
85
- type = "boolean";
86
- break;
87
- case "enum":
88
- type = getEnumType(fieldConfig);
89
- break;
90
- case "nested": return getNestedType(fieldConfig);
91
- default:
92
- type = "string";
93
- break;
94
- }
95
- return {
96
- type,
97
- usedUtilityTypes
98
- };
99
- }
100
- /**
101
- * Generate the complete field type including array and null modifiers.
102
- * @param fieldConfig - The field configuration
103
- * @returns The complete field type with used utility types
104
- */
105
- function generateFieldType(fieldConfig) {
106
- const baseTypeResult = getBaseType(fieldConfig);
107
- const usedUtilityTypes = { ...baseTypeResult.usedUtilityTypes };
108
- const isArray = fieldConfig.array === true;
109
- const isNullable = fieldConfig.required !== true;
110
- const isColumnTypeBase = new Set(["Timestamp"]).has(baseTypeResult.type);
111
- let finalType = baseTypeResult.type;
112
- if (isArray) if (isColumnTypeBase || finalType.startsWith("ObjectColumnType<")) finalType = `ArrayColumnType<${baseTypeResult.type}>`;
113
- else finalType = fieldConfig.type === "enum" ? `(${baseTypeResult.type})[]` : `${baseTypeResult.type}[]`;
114
- if (isNullable) finalType = `${finalType} | null`;
115
- if (fieldConfig.serial) {
116
- usedUtilityTypes.Serial = true;
117
- finalType = `Serial<${finalType}>`;
118
- }
119
- if (fieldConfig.hooks?.create) finalType = `Generated<${finalType}>`;
120
- return {
121
- type: finalType,
122
- usedUtilityTypes
123
- };
124
- }
125
- /**
126
- * Generate the table interface.
127
- * @param type - The parsed TailorDB type
128
- * @returns The type definition and used utility types
129
- */
130
- function generateTableInterface(type) {
131
- const fieldResults = Object.entries(type.fields).filter(([fieldName]) => fieldName !== "id").map(([fieldName, parsedField]) => ({
132
- fieldName,
133
- ...generateFieldType(parsedField.config)
134
- }));
135
- const fields = ["id: Generated<string>;", ...fieldResults.map((result) => `${result.fieldName}: ${result.type};`)];
136
- const aggregatedUtilityTypes = fieldResults.reduce((acc, result) => ({
137
- Timestamp: acc.Timestamp || result.usedUtilityTypes.Timestamp,
138
- Serial: acc.Serial || result.usedUtilityTypes.Serial
139
- }), {
140
- Timestamp: false,
141
- Serial: false
142
- });
143
- return {
144
- typeDef: multiline`
145
- ${type.name}: {
146
- ${fields.join("\n")}
147
- }
148
- `,
149
- usedUtilityTypes: aggregatedUtilityTypes
150
- };
151
- }
152
- /**
153
- * Convert a TailorDBType into KyselyTypeMetadata.
154
- * @param type - Parsed TailorDB type
155
- * @returns Generated Kysely type metadata
156
- */
157
- async function processKyselyType(type) {
158
- const result = generateTableInterface(type);
159
- return {
160
- name: type.name,
161
- typeDef: result.typeDef,
162
- usedUtilityTypes: result.usedUtilityTypes
163
- };
164
- }
165
- /**
166
- * Generate unified types file from multiple namespaces.
167
- * @param namespaceData - Namespace metadata
168
- * @returns Generated types file contents
169
- */
170
- function generateUnifiedKyselyTypes(namespaceData) {
171
- if (namespaceData.length === 0) return "";
172
- const globalUsedUtilityTypes = namespaceData.reduce((acc, ns) => ({
173
- Timestamp: acc.Timestamp || ns.usedUtilityTypes.Timestamp,
174
- Serial: acc.Serial || ns.usedUtilityTypes.Serial
175
- }), {
176
- Timestamp: false,
177
- Serial: false
178
- });
179
- const utilityTypeImports = ["type Generated"];
180
- if (globalUsedUtilityTypes.Timestamp) utilityTypeImports.push("type Timestamp");
181
- if (namespaceData.some((ns) => ns.types.some((t) => t.typeDef.includes("ObjectColumnType<")))) utilityTypeImports.push("type ObjectColumnType");
182
- if (namespaceData.some((ns) => ns.types.some((t) => t.typeDef.includes("ArrayColumnType<")))) utilityTypeImports.push("type ArrayColumnType");
183
- if (globalUsedUtilityTypes.Serial) utilityTypeImports.push("type Serial");
184
- return [
185
- multiline`
186
- import {
187
- createGetDB,
188
- ${utilityTypeImports.join(",\n")},
189
- type NamespaceDB,
190
- type NamespaceInsertable,
191
- type NamespaceSelectable,
192
- type NamespaceTable,
193
- type NamespaceTableName,
194
- type NamespaceTransaction,
195
- type NamespaceUpdateable,
196
- } from "@tailor-platform/sdk/kysely";
197
- `,
198
- `export interface Namespace {\n${namespaceData.map(({ namespace, types }) => {
199
- return ` "${namespace}": {\n${types.map((type) => {
200
- return type.typeDef.split("\n").map((line) => line.trim() ? ` ${line}` : "").join("\n");
201
- }).join("\n\n")}\n }`;
202
- }).join(",\n")}\n}`,
203
- multiline`
204
- export const getDB = createGetDB<Namespace>();
205
-
206
- export type DB<N extends keyof Namespace = keyof Namespace> = NamespaceDB<Namespace, N>;
207
- `,
208
- multiline`
209
- export type Transaction<K extends keyof Namespace | DB = keyof Namespace> =
210
- NamespaceTransaction<Namespace, K>;
211
-
212
- type TableName = NamespaceTableName<Namespace>;
213
- export type Table<T extends TableName> = NamespaceTable<Namespace, T>;
214
-
215
- export type Insertable<T extends TableName> = NamespaceInsertable<Namespace, T>;
216
- export type Selectable<T extends TableName> = NamespaceSelectable<Namespace, T>;
217
- export type Updateable<T extends TableName> = NamespaceUpdateable<Namespace, T>;
218
- `
219
- ].join("\n\n") + "\n";
220
- }
221
-
222
- //#endregion
223
- //#region src/plugin/builtin/kysely-type/index.ts
224
- /** Unique identifier for the Kysely type generator plugin. */
225
- const KyselyGeneratorID = "@tailor-platform/kysely-type";
226
- /**
227
- * Plugin that generates Kysely type definitions for TailorDB types.
228
- * @param options - Plugin options
229
- * @param options.distPath - Output file path for generated types
230
- * @returns Plugin instance with onTailorDBReady hook
231
- */
232
- function kyselyTypePlugin(options) {
233
- return {
234
- id: KyselyGeneratorID,
235
- description: "Generates Kysely type definitions for TailorDB types",
236
- pluginConfig: options,
237
- async onTailorDBReady(ctx) {
238
- const allNamespaceData = [];
239
- for (const ns of ctx.tailordb) {
240
- const typeMetadataList = [];
241
- for (const type of Object.values(ns.types)) {
242
- const metadata = await processKyselyType(type);
243
- typeMetadataList.push(metadata);
244
- }
245
- if (typeMetadataList.length === 0) continue;
246
- const usedUtilityTypes = typeMetadataList.reduce((acc, type) => ({
247
- Timestamp: acc.Timestamp || type.usedUtilityTypes.Timestamp,
248
- Serial: acc.Serial || type.usedUtilityTypes.Serial
249
- }), {
250
- Timestamp: false,
251
- Serial: false
252
- });
253
- allNamespaceData.push({
254
- namespace: ns.namespace,
255
- types: typeMetadataList,
256
- usedUtilityTypes
257
- });
258
- }
259
- const files = [];
260
- if (allNamespaceData.length > 0) {
261
- const content = generateUnifiedKyselyTypes(allNamespaceData);
262
- files.push({
263
- path: ctx.pluginConfig.distPath,
264
- content
265
- });
266
- }
267
- return { files };
268
- }
269
- };
270
- }
271
-
272
- //#endregion
273
- export { kyselyTypePlugin as n, KyselyGeneratorID as t };
274
- //# sourceMappingURL=kysely-type-DR8uzZTA.mjs.map