@tailor-platform/sdk 2.32.0 → 2.34.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 (356) hide show
  1. package/CHANGELOG.md +102 -0
  2. package/dist/ai/index.d.mts +1 -3
  3. package/dist/application-CwpOIOTt.mjs +1 -0
  4. package/dist/application-Nce5z46R.mjs +207 -0
  5. package/dist/application-Nce5z46R.mjs.map +1 -0
  6. package/dist/cli/cache/bundle-cache.d.mts +1 -0
  7. package/dist/cli/commands/api/api-call.d.mts +1 -3
  8. package/dist/cli/commands/deploy/aigateway.d.mts +1 -0
  9. package/dist/cli/commands/deploy/app-id-lock.d.mts +1 -3
  10. package/dist/cli/commands/deploy/application.d.mts +1 -0
  11. package/dist/cli/commands/deploy/auth.d.mts +1 -0
  12. package/dist/cli/commands/deploy/config-id-injector.d.mts +1 -3
  13. package/dist/cli/commands/deploy/confirm.d.mts +1 -0
  14. package/dist/cli/commands/deploy/deploy.d.mts +4 -3
  15. package/dist/cli/commands/deploy/executor.d.mts +1 -0
  16. package/dist/cli/commands/deploy/function-registry-types.d.mts +1 -3
  17. package/dist/cli/commands/deploy/function-registry.d.mts +1 -0
  18. package/dist/cli/commands/deploy/idp.d.mts +1 -0
  19. package/dist/cli/commands/deploy/owned-resource.d.mts +3 -0
  20. package/dist/cli/commands/deploy/resolver.d.mts +1 -0
  21. package/dist/cli/commands/deploy/secret-manager.d.mts +1 -0
  22. package/dist/cli/commands/deploy/staticwebsite.d.mts +2 -0
  23. package/dist/cli/commands/deploy/tailordb/plan.d.mts +1 -0
  24. package/dist/cli/commands/deploy/workflow-execution-policy.d.mts +2 -1
  25. package/dist/cli/commands/deploy/workflow.d.mts +1 -0
  26. package/dist/cli/commands/executor/get.d.mts +0 -2
  27. package/dist/cli/commands/executor/jobs.d.mts +0 -2
  28. package/dist/cli/commands/executor/list.d.mts +1 -3
  29. package/dist/cli/commands/executor/transform.d.mts +1 -3
  30. package/dist/cli/commands/executor/trigger.d.mts +0 -2
  31. package/dist/cli/commands/executor/webhook.d.mts +1 -3
  32. package/dist/cli/commands/function/get.d.mts +0 -2
  33. package/dist/cli/commands/function/list.d.mts +0 -2
  34. package/dist/cli/commands/function/transform.d.mts +1 -3
  35. package/dist/cli/commands/generate/options.d.mts +1 -3
  36. package/dist/cli/commands/generate/seed/bundler.d.mts +1 -3
  37. package/dist/cli/commands/generate/service.d.mts +1 -3
  38. package/dist/cli/commands/machineuser/list.d.mts +1 -3
  39. package/dist/cli/commands/machineuser/token.d.mts +1 -3
  40. package/dist/cli/commands/oauth2client/get.d.mts +1 -3
  41. package/dist/cli/commands/oauth2client/list.d.mts +1 -3
  42. package/dist/cli/commands/oauth2client/transform.d.mts +1 -3
  43. package/dist/cli/commands/organization/folder/create.d.mts +0 -2
  44. package/dist/cli/commands/organization/folder/delete.d.mts +0 -2
  45. package/dist/cli/commands/organization/folder/get.d.mts +0 -2
  46. package/dist/cli/commands/organization/folder/list.d.mts +0 -2
  47. package/dist/cli/commands/organization/folder/update.d.mts +0 -2
  48. package/dist/cli/commands/organization/get.d.mts +0 -2
  49. package/dist/cli/commands/organization/list.d.mts +1 -3
  50. package/dist/cli/commands/organization/transform.d.mts +1 -3
  51. package/dist/cli/commands/organization/tree.d.mts +0 -2
  52. package/dist/cli/commands/organization/update.d.mts +0 -2
  53. package/dist/cli/commands/remove.d.mts +1 -3
  54. package/dist/cli/commands/show.d.mts +0 -2
  55. package/dist/cli/commands/staticwebsite/deploy.d.mts +1 -3
  56. package/dist/cli/commands/tailordb/migrate/bundler.d.mts +1 -3
  57. package/dist/cli/commands/tailordb/migrate/config.d.mts +1 -3
  58. package/dist/cli/commands/tailordb/migrate/diff-calculator.d.mts +0 -2
  59. package/dist/cli/commands/tailordb/migrate/generate.d.mts +1 -3
  60. package/dist/cli/commands/tailordb/migrate/rename-detection.d.mts +1 -3
  61. package/dist/cli/commands/tailordb/migrate/snapshot-comparison.d.mts +1 -3
  62. package/dist/cli/commands/tailordb/migrate/snapshot-files.d.mts +1 -3
  63. package/dist/cli/commands/tailordb/migrate/snapshot-local.d.mts +1 -3
  64. package/dist/cli/commands/tailordb/migrate/snapshot-migrations.d.mts +1 -3
  65. package/dist/cli/commands/tailordb/migrate/snapshot-types.d.mts +0 -2
  66. package/dist/cli/commands/tailordb/migrate/types.d.mts +1 -3
  67. package/dist/cli/commands/tailordb/truncate.d.mts +1 -3
  68. package/dist/cli/commands/workflow/executions.d.mts +0 -2
  69. package/dist/cli/commands/workflow/get.d.mts +0 -2
  70. package/dist/cli/commands/workflow/list.d.mts +1 -3
  71. package/dist/cli/commands/workflow/resume.d.mts +1 -3
  72. package/dist/cli/commands/workflow/start.d.mts +0 -2
  73. package/dist/cli/commands/workflow/status.d.mts +1 -3
  74. package/dist/cli/commands/workflow/transform.d.mts +1 -3
  75. package/dist/cli/commands/workflow/wait.d.mts +1 -3
  76. package/dist/cli/commands/workflow/waiter.d.mts +1 -3
  77. package/dist/cli/commands/workspace/app/health.d.mts +0 -2
  78. package/dist/cli/commands/workspace/app/list.d.mts +0 -2
  79. package/dist/cli/commands/workspace/app/transform.d.mts +1 -3
  80. package/dist/cli/commands/workspace/create.d.mts +0 -2
  81. package/dist/cli/commands/workspace/delete.d.mts +0 -2
  82. package/dist/cli/commands/workspace/expiry.d.mts +1 -3
  83. package/dist/cli/commands/workspace/get.d.mts +0 -2
  84. package/dist/cli/commands/workspace/list.d.mts +1 -3
  85. package/dist/cli/commands/workspace/restore.d.mts +0 -2
  86. package/dist/cli/commands/workspace/transform.d.mts +1 -3
  87. package/dist/cli/commands/workspace/user/invite.d.mts +0 -2
  88. package/dist/cli/commands/workspace/user/list.d.mts +0 -2
  89. package/dist/cli/commands/workspace/user/remove.d.mts +0 -2
  90. package/dist/cli/commands/workspace/user/transform.d.mts +1 -3
  91. package/dist/cli/commands/workspace/user/update.d.mts +0 -2
  92. package/dist/cli/lib.d.mts +1 -1
  93. package/dist/cli/lib.mjs +1 -1
  94. package/dist/cli/lib.mjs.map +1 -1
  95. package/dist/cli/main.d.mts +1 -3
  96. package/dist/cli/main.mjs +65 -50
  97. package/dist/cli/main.mjs.map +1 -1
  98. package/dist/cli/query/index.d.mts +0 -2
  99. package/dist/cli/services/application.d.mts +5 -4
  100. package/dist/cli/services/executor/service.d.mts +2 -2
  101. package/dist/cli/services/function-bundle.d.mts +7 -0
  102. package/dist/cli/services/http-adapter/bundler.d.mts +7 -1
  103. package/dist/cli/services/resolver/service.d.mts +2 -1
  104. package/dist/cli/services/workflow/bundler.d.mts +2 -3
  105. package/dist/cli/shared/args.d.mts +0 -2
  106. package/dist/cli/shared/beta.d.mts +1 -3
  107. package/dist/cli/shared/client.d.mts +56 -4
  108. package/dist/cli/shared/command.d.mts +2 -4
  109. package/dist/cli/shared/config-loader.d.mts +2 -4
  110. package/dist/cli/shared/config.d.mts +1 -3
  111. package/dist/cli/shared/context.d.mts +0 -2
  112. package/dist/cli/shared/error-diagnostics.d.mts +1 -3
  113. package/dist/cli/shared/error-json.d.mts +1 -3
  114. package/dist/cli/shared/function-execution.d.mts +1 -3
  115. package/dist/cli/shared/github-actions.d.mts +1 -3
  116. package/dist/cli/shared/logger.d.mts +7 -4
  117. package/dist/cli/shared/platform-bundle-plugin.d.mts +1 -0
  118. package/dist/cli/shared/prompt.d.mts +1 -3
  119. package/dist/cli/shared/readonly-guard.d.mts +0 -2
  120. package/dist/cli/shared/script-executor.d.mts +1 -3
  121. package/dist/cli/shared/seed-chunker.d.mts +1 -3
  122. package/dist/cli/shared/seed-context.d.mts +0 -2
  123. package/dist/cli/shared/sourcemap-sources.d.mts +1 -0
  124. package/dist/cli/shared/tailordb-namespaces.d.mts +1 -3
  125. package/dist/cli/shared/type-generator.d.mts +0 -2
  126. package/dist/cli/shared/workspace-name.d.mts +1 -3
  127. package/dist/cli/ts-hook.d.mts +0 -2
  128. package/dist/cli/ts-hook.mjs +0 -113
  129. package/dist/completion/zsh-worker.zsh +26 -6
  130. package/dist/configure/config/index.d.mts +2 -4
  131. package/dist/configure/config/types.d.mts +27 -4
  132. package/dist/configure/index.d.mts +7 -9
  133. package/dist/configure/index.mjs +1 -1
  134. package/dist/configure/services/aigateway/index.d.mts +0 -2
  135. package/dist/configure/services/aigateway/types.d.mts +0 -2
  136. package/dist/configure/services/auth/index.d.mts +0 -2
  137. package/dist/configure/services/auth/types.d.mts +0 -2
  138. package/dist/configure/services/executor/executor.d.mts +0 -2
  139. package/dist/configure/services/executor/operation.d.mts +0 -2
  140. package/dist/configure/services/executor/trigger/event.d.mts +0 -2
  141. package/dist/configure/services/executor/trigger/index.d.mts +0 -2
  142. package/dist/configure/services/executor/trigger/schedule.d.mts +0 -2
  143. package/dist/configure/services/executor/trigger/webhook.d.mts +1 -3
  144. package/dist/configure/services/http-adapter/http-adapter.d.mts +0 -2
  145. package/dist/configure/services/idp/index.d.mts +0 -2
  146. package/dist/configure/services/idp/permission.d.mts +0 -2
  147. package/dist/configure/services/idp/types.d.mts +0 -2
  148. package/dist/configure/services/index.d.mts +5 -5
  149. package/dist/configure/services/resolver/index.d.mts +1 -1
  150. package/dist/configure/services/resolver/permission.d.mts +0 -2
  151. package/dist/configure/services/resolver/resolver.d.mts +1 -3
  152. package/dist/configure/services/resolver/types.d.mts +1 -3
  153. package/dist/configure/services/secrets/index.d.mts +0 -2
  154. package/dist/configure/services/secrets/types.d.mts +0 -2
  155. package/dist/configure/services/staticwebsite/index.d.mts +6 -3
  156. package/dist/configure/services/staticwebsite/types.d.mts +0 -2
  157. package/dist/configure/services/tailordb/permission.d.mts +0 -2
  158. package/dist/configure/services/tailordb/schema.d.mts +0 -2
  159. package/dist/configure/services/tailordb/types.d.mts +0 -2
  160. package/dist/configure/services/workflow/execution-policy.d.mts +0 -2
  161. package/dist/configure/services/workflow/execution-policy.types.d.mts +0 -2
  162. package/dist/configure/services/workflow/job.d.mts +0 -2
  163. package/dist/configure/services/workflow/wait-point.d.mts +0 -2
  164. package/dist/configure/services/workflow/workflow.d.mts +0 -2
  165. package/dist/configure/types/aigateway-name.d.mts +1 -3
  166. package/dist/configure/types/auth-namespace-name.d.mts +1 -3
  167. package/dist/configure/types/connection-name.d.mts +1 -3
  168. package/dist/configure/types/field.d.mts +1 -3
  169. package/dist/configure/types/field.types.d.mts +0 -2
  170. package/dist/configure/types/idp-name.d.mts +1 -3
  171. package/dist/configure/types/permission-operand.types.d.mts +0 -2
  172. package/dist/configure/types/secret-vault-name.d.mts +1 -3
  173. package/dist/configure/types/type.d.mts +0 -2
  174. package/dist/{crashreport-BCIy33Cz.mjs → crashreport-DGU6lwiX.mjs} +2 -2
  175. package/dist/{crashreport-BCIy33Cz.mjs.map → crashreport-DGU6lwiX.mjs.map} +1 -1
  176. package/dist/crashreport-WsYAWARW.mjs +1 -0
  177. package/dist/{logger-RgtbhJ83.mjs → errors-BXmGBX-7.mjs} +6 -3
  178. package/dist/errors-BXmGBX-7.mjs.map +1 -0
  179. package/dist/field-parse-BQhUAbpM.mjs +2 -0
  180. package/dist/{field-parse-C41e3UAF.mjs.map → field-parse-BQhUAbpM.mjs.map} +1 -1
  181. package/dist/guards-CiFVxoXR.mjs +2 -0
  182. package/dist/guards-CiFVxoXR.mjs.map +1 -0
  183. package/dist/kysely/index.d.mts +0 -2
  184. package/dist/{kysely-type-CBwsdx16.mjs → kysely-type-DxyIWXc6.mjs} +3 -3
  185. package/dist/kysely-type-DxyIWXc6.mjs.map +1 -0
  186. package/dist/manager-B813m43t.mjs +2 -0
  187. package/dist/manager-B813m43t.mjs.map +1 -0
  188. package/dist/parser/service/idp/types.d.mts +1 -3
  189. package/dist/parser/service/tailordb/type-source.d.mts +1 -3
  190. package/dist/parser/service/tailordb/types.d.mts +0 -2
  191. package/dist/plugin/builtin/enum-constants/index.d.mts +0 -2
  192. package/dist/plugin/builtin/enum-constants/index.mjs +2 -2
  193. package/dist/plugin/builtin/enum-constants/index.mjs.map +1 -1
  194. package/dist/plugin/builtin/file-utils/index.d.mts +0 -2
  195. package/dist/plugin/builtin/kysely-type/index.d.mts +0 -2
  196. package/dist/plugin/builtin/kysely-type/index.mjs +1 -1
  197. package/dist/plugin/builtin/seed/index.d.mts +0 -2
  198. package/dist/plugin/builtin/seed/seed-type-processor.d.mts +1 -3
  199. package/dist/plugin/get-generated-table.d.mts +1 -3
  200. package/dist/plugin/index.mjs +1 -1
  201. package/dist/plugin/types.d.mts +3 -2
  202. package/dist/plugin/with-context.d.mts +1 -3
  203. package/dist/register-ts-hook-CtWJL3EO.mjs +1054 -0
  204. package/dist/register-ts-hook-CtWJL3EO.mjs.map +1 -0
  205. package/dist/repl-editor-DkrCZmmg.mjs +2 -0
  206. package/dist/repl-editor-DkrCZmmg.mjs.map +1 -0
  207. package/dist/runtime/aigateway.d.mts +1 -3
  208. package/dist/runtime/authconnection.d.mts +1 -3
  209. package/dist/runtime/context.d.mts +0 -2
  210. package/dist/runtime/date.d.mts +0 -2
  211. package/dist/runtime/field-parse.d.mts +0 -2
  212. package/dist/runtime/file.d.mts +0 -2
  213. package/dist/runtime/globals.d.mts +0 -2
  214. package/dist/runtime/iconv.d.mts +1 -3
  215. package/dist/runtime/idp.d.mts +1 -3
  216. package/dist/runtime/index.d.mts +1 -3
  217. package/dist/runtime/index.mjs +1 -1
  218. package/dist/runtime/logger.d.mts +1 -3
  219. package/dist/runtime/secretmanager.d.mts +1 -3
  220. package/dist/runtime/temporal.d.mts +0 -2
  221. package/dist/runtime/types.d.mts +0 -2
  222. package/dist/runtime/workflow.d.mts +0 -2
  223. package/dist/{schema-B6hJQWp6.mjs → schema-BU1aIQ63.mjs} +2 -2
  224. package/dist/{schema-B6hJQWp6.mjs.map → schema-BU1aIQ63.mjs.map} +1 -1
  225. package/dist/secret-file-BxZ-J_Nz.mjs +2 -0
  226. package/dist/secret-file-BxZ-J_Nz.mjs.map +1 -0
  227. package/dist/seed/idp-user-password.d.mts +0 -2
  228. package/dist/seed/index.d.mts +0 -2
  229. package/dist/service-CaGmqg0r.mjs +2 -0
  230. package/dist/{service-9rwi_I4d.mjs.map → service-CaGmqg0r.mjs.map} +1 -1
  231. package/dist/service-DEq_hdht.mjs +1 -0
  232. package/dist/{service-9SBPNpK8.mjs → service-eeXdVrDK.mjs} +4 -4
  233. package/dist/service-eeXdVrDK.mjs.map +1 -0
  234. package/dist/service_pb-6EkMfdOb.mjs +2 -0
  235. package/dist/service_pb-6EkMfdOb.mjs.map +1 -0
  236. package/dist/service_pb-CsJKokDl.mjs +1 -0
  237. package/dist/shared/src/color.d.mts +1 -3
  238. package/dist/tailor-proto/src/tailor/v1/aigateway_pb.d.mts +1 -3
  239. package/dist/tailor-proto/src/tailor/v1/aigateway_resource_pb.d.mts +1 -3
  240. package/dist/tailor-proto/src/tailor/v1/application_pb.d.mts +1 -3
  241. package/dist/tailor-proto/src/tailor/v1/application_resource_pb.d.mts +1 -3
  242. package/dist/tailor-proto/src/tailor/v1/auth_pb.d.mts +1 -3
  243. package/dist/tailor-proto/src/tailor/v1/auth_resource_pb.d.mts +1 -3
  244. package/dist/tailor-proto/src/tailor/v1/events_pb.d.mts +1 -3
  245. package/dist/tailor-proto/src/tailor/v1/events_resource_pb.d.mts +1 -3
  246. package/dist/tailor-proto/src/tailor/v1/executor_pb.d.mts +1 -3
  247. package/dist/tailor-proto/src/tailor/v1/executor_resource_pb.d.mts +1 -3
  248. package/dist/tailor-proto/src/tailor/v1/function_pb.d.mts +1 -3
  249. package/dist/tailor-proto/src/tailor/v1/function_registry_pb.d.mts +1 -3
  250. package/dist/tailor-proto/src/tailor/v1/function_resource_pb.d.mts +1 -3
  251. package/dist/tailor-proto/src/tailor/v1/http_adapter_resource_pb.d.mts +1 -3
  252. package/dist/tailor-proto/src/tailor/v1/idp_pb.d.mts +1 -3
  253. package/dist/tailor-proto/src/tailor/v1/idp_resource_pb.d.mts +1 -3
  254. package/dist/tailor-proto/src/tailor/v1/metadata_pb.d.mts +6 -5
  255. package/dist/tailor-proto/src/tailor/v1/metadata_resource_pb.d.mts +1 -3
  256. package/dist/tailor-proto/src/tailor/v1/meter_pb.d.mts +1 -3
  257. package/dist/tailor-proto/src/tailor/v1/pipeline_pb.d.mts +1 -3
  258. package/dist/tailor-proto/src/tailor/v1/pipeline_resource_pb.d.mts +1 -3
  259. package/dist/tailor-proto/src/tailor/v1/resource_pb.d.mts +1 -3
  260. package/dist/tailor-proto/src/tailor/v1/secret_manager_pb.d.mts +1 -3
  261. package/dist/tailor-proto/src/tailor/v1/secret_manager_resource_pb.d.mts +1 -3
  262. package/dist/tailor-proto/src/tailor/v1/security_pb.d.mts +211 -0
  263. package/dist/tailor-proto/src/tailor/v1/security_resource_pb.d.mts +299 -0
  264. package/dist/tailor-proto/src/tailor/v1/service_pb.d.mts +201 -11
  265. package/dist/tailor-proto/src/tailor/v1/stateflow_pb.d.mts +1 -3
  266. package/dist/tailor-proto/src/tailor/v1/stateflow_resource_pb.d.mts +1 -3
  267. package/dist/tailor-proto/src/tailor/v1/staticwebsite_pb.d.mts +201 -3
  268. package/dist/tailor-proto/src/tailor/v1/staticwebsite_resource_pb.d.mts +88 -3
  269. package/dist/tailor-proto/src/tailor/v1/tailordb_pb.d.mts +1 -3
  270. package/dist/tailor-proto/src/tailor/v1/tailordb_resource_pb.d.mts +1 -3
  271. package/dist/tailor-proto/src/tailor/v1/telemetryrouter_pb.d.mts +1 -3
  272. package/dist/tailor-proto/src/tailor/v1/telemetryrouter_resource_pb.d.mts +1 -3
  273. package/dist/tailor-proto/src/tailor/v1/workflow_pb.d.mts +1 -3
  274. package/dist/tailor-proto/src/tailor/v1/workflow_resource_pb.d.mts +1 -3
  275. package/dist/tailor-proto/src/tailor/v1/workspace_pb.d.mts +1 -3
  276. package/dist/tailor-proto/src/tailor/v1/workspace_resource_pb.d.mts +1 -3
  277. package/dist/types/aigateway.generated.d.mts +1 -3
  278. package/dist/types/app-config.generated.d.mts +1 -3
  279. package/dist/types/auth-connection.generated.d.mts +1 -3
  280. package/dist/types/auth.generated.d.mts +1 -3
  281. package/dist/types/executor.generated.d.mts +1 -3
  282. package/dist/types/field.generated.d.mts +1 -3
  283. package/dist/types/helpers.d.mts +1 -3
  284. package/dist/types/http-adapter.generated.d.mts +1 -3
  285. package/dist/types/idp.generated.d.mts +1 -3
  286. package/dist/types/resolver.generated.d.mts +1 -3
  287. package/dist/types/secrets.generated.d.mts +1 -3
  288. package/dist/types/staticwebsite.generated.d.mts +10 -4
  289. package/dist/types/tailordb.generated.d.mts +1 -3
  290. package/dist/types/workflow.generated.d.mts +1 -3
  291. package/dist/utils/test/index.d.mts +1 -3
  292. package/dist/utils/test/index.mjs +1 -1
  293. package/dist/vitest/date-representation.d.mts +1 -3
  294. package/dist/vitest/environment.d.mts +0 -2
  295. package/dist/vitest/index.d.mts +2 -4
  296. package/dist/vitest/index.mjs +1 -1
  297. package/dist/vitest/index.mjs.map +1 -1
  298. package/dist/vitest/migration-steps.d.mts +1 -3
  299. package/dist/vitest/mock-kysely.d.mts +0 -2
  300. package/dist/vitest/mocks/aigateway.d.mts +0 -2
  301. package/dist/vitest/mocks/authconnection.d.mts +0 -2
  302. package/dist/vitest/mocks/file.d.mts +0 -2
  303. package/dist/vitest/mocks/iconv.d.mts +0 -2
  304. package/dist/vitest/mocks/idp.d.mts +0 -2
  305. package/dist/vitest/mocks/logger.d.mts +0 -2
  306. package/dist/vitest/mocks/secretmanager.d.mts +0 -2
  307. package/dist/vitest/mocks/tailordb-pglite.d.mts +0 -2
  308. package/dist/vitest/mocks/tailordb.d.mts +0 -2
  309. package/dist/vitest/mocks/workflow.d.mts +0 -2
  310. package/dist/vitest/pglite-kysely.d.mts +19 -2
  311. package/dist/vitest/pglite-temporal.d.mts +1 -3
  312. package/dist/vitest/setup.d.mts +0 -2
  313. package/dist/vitest/workflow-local.d.mts +0 -2
  314. package/dist/{workspace_resource_pb-CaoM2npP.mjs → workspace_resource_pb-C4CkoYww.mjs} +2 -2
  315. package/dist/workspace_resource_pb-C4CkoYww.mjs.map +1 -0
  316. package/docs/cli/application.md +2 -1
  317. package/docs/cli/tailordb.md +1 -1
  318. package/docs/cli/user.md +5 -5
  319. package/docs/cli/workspace.md +1 -1
  320. package/docs/cli-reference.md +26 -25
  321. package/docs/configuration.md +13 -2
  322. package/docs/github-actions.md +33 -10
  323. package/docs/plugin/custom.md +34 -0
  324. package/docs/plugin/index.md +1 -0
  325. package/docs/services/secret.md +6 -0
  326. package/docs/services/staticwebsite.md +31 -1
  327. package/docs/services/tailordb/index.md +19 -0
  328. package/docs/services/tailordb/migration.md +35 -12
  329. package/docs/testing.md +2 -2
  330. package/package.json +16 -16
  331. package/dist/application-C2bPmmbh.mjs +0 -1
  332. package/dist/application-D0xNJbag.mjs +0 -199
  333. package/dist/application-D0xNJbag.mjs.map +0 -1
  334. package/dist/crashreport-IN6H7GX3.mjs +0 -1
  335. package/dist/errors-BOF68LJ5.mjs +0 -5
  336. package/dist/errors-BOF68LJ5.mjs.map +0 -1
  337. package/dist/field-parse-C41e3UAF.mjs +0 -2
  338. package/dist/guards-yDXyKC9F.mjs +0 -2
  339. package/dist/guards-yDXyKC9F.mjs.map +0 -1
  340. package/dist/kysely-type-CBwsdx16.mjs.map +0 -1
  341. package/dist/logger-RgtbhJ83.mjs.map +0 -1
  342. package/dist/manager-Bk-7vkwd.mjs +0 -2
  343. package/dist/manager-Bk-7vkwd.mjs.map +0 -1
  344. package/dist/register-ts-hook-_dHIREtU.mjs +0 -1050
  345. package/dist/register-ts-hook-_dHIREtU.mjs.map +0 -1
  346. package/dist/repl-editor-DGJBfIt1.mjs +0 -2
  347. package/dist/repl-editor-DGJBfIt1.mjs.map +0 -1
  348. package/dist/secret-file-C9wp_FCX.mjs +0 -2
  349. package/dist/secret-file-C9wp_FCX.mjs.map +0 -1
  350. package/dist/service-9SBPNpK8.mjs.map +0 -1
  351. package/dist/service-9rwi_I4d.mjs +0 -2
  352. package/dist/service-Ca1WwyIt.mjs +0 -1
  353. package/dist/service_pb-Bbu2QSIr.mjs +0 -2
  354. package/dist/service_pb-Bbu2QSIr.mjs.map +0 -1
  355. package/dist/service_pb-urxAIYHT.mjs +0 -1
  356. package/dist/workspace_resource_pb-CaoM2npP.mjs.map +0 -1
@@ -1,13 +1,12 @@
1
+ import { AIGatewayConfig } from "../services/aigateway/types.mjs";
1
2
  import { TailorDBServiceInput } from "../services/tailordb/types.mjs";
2
3
  import { AuthConfig } from "../services/auth/types.mjs";
3
- import { AIGatewayConfig } from "../services/aigateway/types.mjs";
4
4
  import { IdPConfig } from "../services/idp/types.mjs";
5
5
  import { ResolverPermission } from "../services/resolver/permission.mjs";
6
6
  import { SecretsConfig } from "../services/secrets/types.mjs";
7
7
  import { StaticWebsiteConfig } from "../services/staticwebsite/types.mjs";
8
8
  import { ExecutionPolicyInstance } from "../services/workflow/execution-policy.types.mjs";
9
9
  import { LogLevelEnum } from "../../types/app-config.generated.mjs";
10
- //#region src/configure/config/types.d.ts
11
10
  export type LogLevel = LogLevelEnum;
12
11
  export type LogLevelInput = LogLevel | (string & {});
13
12
  /**
@@ -55,6 +54,16 @@ export interface TreeshakeOptions {
55
54
  */
56
55
  propertyReadSideEffects?: boolean;
57
56
  }
57
+ /**
58
+ * Which of your own source files embed their text in the inline sourcemap. Both fields
59
+ * are globs relative to the directory containing the config file, without a leading `./`.
60
+ */
61
+ export interface InlineSourcemapProjectSources {
62
+ /** Only files matching one of these keep their text. All files when omitted. */
63
+ include?: string[];
64
+ /** Files matching one of these lose their text, even when `include` matches them. */
65
+ exclude?: string[];
66
+ }
58
67
  /** Options for how `defineConfig()` bundles functions. */
59
68
  export interface BuildOptions {
60
69
  /**
@@ -67,13 +76,28 @@ export interface BuildOptions {
67
76
  * the inline sourcemap. By default only your own source text is embedded, which
68
77
  * makes bundled functions much smaller. Set `true` to embed all installed packages,
69
78
  * or list package names (such as `["kysely", "@scope/lib"]`) to embed only those.
70
- * A listed package's own dependencies are not embedded unless they are listed too. Error positions still resolve to the
79
+ * A listed package's own dependencies are not embedded unless they are listed too.
80
+ * Files under `node_modules` that belong to no package, such as `node_modules/.prisma`,
81
+ * are embedded only with `true`. Error positions still resolve to the
71
82
  * original files and lines; `tailor function run` shows a code snippet for a frame
72
83
  * inside an installed package only when that package's file exists locally.
73
84
  * Only applies when `inlineSourcemap` is enabled.
74
85
  * @default false
75
86
  */
76
87
  inlineSourcemapDependencySources?: boolean | string[];
88
+ /**
89
+ * Choose which of your own source files embed their text in the inline sourcemap.
90
+ * `include` and `exclude` are globs relative to the directory containing the config
91
+ * file, without a leading `./` (such as `["src/**"]` or `["src/generated/**"]`). Only
92
+ * files matching `include` (all files when omitted) and not matching `exclude` keep
93
+ * their text. `**` does not match a dot-directory such as `src/.cache`. Files under
94
+ * `node_modules` are controlled by `inlineSourcemapDependencySources` instead.
95
+ * Error positions still resolve to the original files and lines; `tailor function
96
+ * run` shows no code snippet for a frame in a file whose text is left out.
97
+ * Only applies when `inlineSourcemap` is enabled.
98
+ * @example inlineSourcemapProjectSources: { exclude: ["src/generated/**"] }
99
+ */
100
+ inlineSourcemapProjectSources?: InlineSourcemapProjectSources;
77
101
  /**
78
102
  * Controls which `console.*` and `logger.*` (from `@tailor-platform/sdk/runtime`)
79
103
  * calls remain in bundled functions. `logger.setAttributes` has no severity and
@@ -287,5 +311,4 @@ export interface AppConfig<Auth extends AuthConfig = AuthConfig, Idp extends IdP
287
311
  */
288
312
  maintenanceMode?: false | "migration" | "deploy";
289
313
  }
290
- //#endregion
291
314
  export {};
@@ -1,3 +1,5 @@
1
+ import { AuthNamespaceName, AuthNamespaceNameRegistry } from "./types/auth-namespace-name.mjs";
2
+ import { AIGatewayConfig } from "./services/aigateway/types.mjs";
1
3
  import { DeepWritable, NullableToOptional, output as output$1 } from "../types/helpers.mjs";
2
4
  import { DateFieldOptions, DateFieldValue, DateRepresentationRegistry, DateTimeFieldOptions, DateTimeFieldValue, FieldMetadata, FieldOptions, FieldOutput, TailorFieldType, TimeFieldOptions, TimeFieldValue } from "./types/field.types.mjs";
3
5
  import { AttributeList, Attributes, Env, TailorPrincipal } from "../runtime/types.mjs";
@@ -5,13 +7,6 @@ import { IsAutoFilledDBField, IsReadOnlyDBField, PluginAttachment } from "./serv
5
7
  import { AuthConnectionConfig, AuthConnectionOAuth2Config } from "../types/auth-connection.generated.mjs";
6
8
  import { BuiltinIdP, IDToken, IdProvider, OAuth2ClientInput, OIDC, SAML, SCIMAttribute, SCIMAttributeMapping, SCIMAuthorization, SCIMConfig, SCIMResource, TenantProvider } from "../types/auth.generated.mjs";
7
9
  import { AuthConfig, AuthConnectionTokenResult, AuthExternalConfig, AuthOwnConfig, AuthServiceInput, BeforeLoginClaims, BeforeLoginHookArgs, DefinedAuth, FederatedIdentity, FederatedIdentityClaims, FederatedIdentityProvider, MachineUserName, MachineUserNameRegistry, OAuth2ClientGrantType, SCIMAttributeType, UserAttributeKey, UserAttributeListKey, UserAttributes, UsernameFieldKey, ValueOperand } from "./services/auth/types.mjs";
8
- import { AllowedValues, AllowedValuesOutput } from "./types/field.mjs";
9
- import { Resolver } from "../types/resolver.generated.mjs";
10
- import { DeployedApplication, DeployedContext, DeployedHookResult, DeployedOAuth2Client, DeployedStaticWebsite, ExecutorReadyContext, GeneratorResult, NamespacePluginOutput, Plugin, PluginConfigs, PluginExecOptions, PluginExecResult, PluginExecutorContext, PluginExecutorContextBase, PluginFieldExtensions, PluginGeneratedExecutor, PluginGeneratedExecutorWithFile, PluginGeneratedResolver, PluginGeneratedTable, PluginLogger, PluginNamespaceProcessContext, PluginOutput, PluginOutputValue, PluginTableProcessContext, PublishStaticWebsiteResult, PublishableStaticWebsite, ResolverNamespaceData, ResolverReadyContext, TablePluginOutput, TailorDBNamespaceData, TailorDBReadyContext, TailorDBTableForPlugin } from "../plugin/types.mjs";
11
- import { PermissionCondition, TailorTypeGqlPermission, TailorTypePermission, unsafeAllowAllGqlPermission, unsafeAllowAllTypePermission } from "./services/tailordb/permission.mjs";
12
- import { TailorAnyDBField, TailorAnyDBType, TailorDBField, TailorDBInstance, TailorDBType, db } from "./services/tailordb/schema.mjs";
13
- import { AuthNamespaceName, AuthNamespaceNameRegistry } from "./types/auth-namespace-name.mjs";
14
- import { AIGatewayConfig } from "./services/aigateway/types.mjs";
15
10
  import { IdPPermission, IdPPermissionCondition, unsafeAllowAllIdPPermission } from "./services/idp/permission.mjs";
16
11
  import { IdPEmailConfig, IdPGqlOperations, IdPGqlOperationsInput } from "../types/idp.generated.mjs";
17
12
  import { IdPConfig, IdPExternalConfig } from "./services/idp/types.mjs";
@@ -20,6 +15,11 @@ import { SecretsConfig } from "./services/secrets/types.mjs";
20
15
  import { StaticWebsiteConfig } from "./services/staticwebsite/types.mjs";
21
16
  import { ExecutionPolicyConcurrency, ExecutionPolicyDefInput, ExecutionPolicyExactInstance, ExecutionPolicyGroupOptions, ExecutionPolicyInstance, ExecutionPolicyWildcardInstance, ResolvedExecutionPolicyInstance } from "./services/workflow/execution-policy.types.mjs";
22
17
  import { ExecutorServiceConfig, ExecutorServiceInput, ResolverExternalConfig, ResolverServiceConfig, ResolverServiceInput, WorkflowServiceConfig, WorkflowServiceInput } from "./config/types.mjs";
18
+ import { AllowedValues, AllowedValuesOutput } from "./types/field.mjs";
19
+ import { Resolver } from "../types/resolver.generated.mjs";
20
+ import { DeployedApplication, DeployedContext, DeployedHookResult, DeployedOAuth2Client, DeployedStaticWebsite, ExecutorReadyContext, GeneratorResult, NamespacePluginOutput, Plugin, PluginConfigs, PluginExecOptions, PluginExecResult, PluginExecutorContext, PluginExecutorContextBase, PluginFieldExtensions, PluginGeneratedExecutor, PluginGeneratedExecutorWithFile, PluginGeneratedResolver, PluginGeneratedTable, PluginLogger, PluginNamespaceProcessContext, PluginOutput, PluginOutputValue, PluginTableProcessContext, PublishStaticWebsiteResult, PublishableStaticWebsite, ResolverNamespaceData, ResolverReadyContext, TablePluginOutput, TailorDBNamespaceData, TailorDBReadyContext, TailorDBTableForPlugin } from "../plugin/types.mjs";
21
+ import { PermissionCondition, TailorTypeGqlPermission, TailorTypePermission, unsafeAllowAllGqlPermission, unsafeAllowAllTypePermission } from "./services/tailordb/permission.mjs";
22
+ import { TailorAnyDBField, TailorAnyDBType, TailorDBField, TailorDBInstance, TailorDBType, db } from "./services/tailordb/schema.mjs";
23
23
  import { ConcurrencyPolicy, RetryPolicy } from "../types/workflow.generated.mjs";
24
24
  import "./types/machine-user.mjs";
25
25
  import { TailorAnyField, TailorField } from "./types/type.mjs";
@@ -48,7 +48,6 @@ import { defineSecretManager } from "./services/secrets/index.mjs";
48
48
  import { HttpAdapter, HttpAdapterGraphQLQuery, HttpAdapterGraphQLRequest, HttpAdapterGraphQLResponse, HttpAdapterInput, HttpAdapterInputFn, HttpAdapterOutputFn, HttpAdapterRequest, HttpAdapterResponse, HttpAdapterTypedDocumentNode, createHttpAdapter } from "./services/http-adapter/http-adapter.mjs";
49
49
  import "./services/index.mjs";
50
50
  import { defineConfig, definePlugins } from "./config/index.mjs";
51
- //#region src/configure/index.d.ts
52
51
  type TailorOutput<T> = output$1<T>;
53
52
  export type infer<T> = TailorOutput<T>;
54
53
  export type output<T> = TailorOutput<T>;
@@ -169,5 +168,4 @@ export declare namespace t {
169
168
  type output<T> = TailorOutput<T>;
170
169
  type infer<T> = TailorOutput<T>;
171
170
  }
172
- //#endregion
173
171
  export { type AIGatewayConfig, type AIGatewayName, type AIGatewayNameRegistry, type AttributeList, type Attributes, AuthAccessTokenArgs, AuthAccessTokenIssuedArgs, AuthAccessTokenRefreshedArgs, AuthAccessTokenRevokedArgs, AuthAccessTokenTrigger, type AuthConfig, type AuthConnectionConfig, type AuthConnectionOAuth2Config, type AuthConnectionTokenResult, type AuthExternalConfig, type AuthNamespaceName, type AuthNamespaceNameRegistry, type AuthOwnConfig, type AuthServiceInput, type BeforeLoginClaims, type BeforeLoginHookArgs, type BuiltinIdP, type ConcurrencyPolicy, type ConnectionName, type ConnectionNameRegistry, type DateRepresentationRegistry, type DefinedAuth, type DeployedApplication, type DeployedContext, type DeployedHookResult, type DeployedOAuth2Client, type DeployedStaticWebsite, type Env, type ExecutionPolicyConcurrency, type ExecutionPolicyDefInput, type ExecutionPolicyExactInstance, type ExecutionPolicyGroupOptions, type ExecutionPolicyInstance, type ExecutionPolicyWildcardInstance, type ExecutorReadyContext, type ExecutorServiceConfig, type ExecutorServiceInput, type FederatedIdentity, type FederatedIdentityClaims, type FederatedIdentityProvider, FunctionOperation, type GeneratorResult, GqlOperation, HttpAdapter, HttpAdapterGraphQLQuery, HttpAdapterGraphQLRequest, HttpAdapterGraphQLResponse, HttpAdapterInput, HttpAdapterInputFn, HttpAdapterOutputFn, HttpAdapterRequest, HttpAdapterResponse, HttpAdapterTypedDocumentNode, type IDToken, type IdPConfig, type IdPEmailConfig, type IdPExternalConfig, type IdPGqlOperations, type IdPGqlOperationsInput as IdPGqlOperationsConfig, type IdPPermission, type IdPPermissionCondition, type IdProvider as IdProviderConfig, type IdpName, type IdpNameRegistry, IdpUserArgs, IdpUserCreatedArgs, IdpUserDeletedArgs, IdpUserTrigger, IdpUserUpdatedArgs, IncomingWebhookArgs, IncomingWebhookRequest, IncomingWebhookResponse, IncomingWebhookResponseConfig, IncomingWebhookTrigger, IncomingWebhookTriggerOptions, type IsAutoFilledDBField, type IsReadOnlyDBField, type MachineUserName, type MachineUserNameRegistry, type NamespacePluginOutput, type OAuth2ClientInput as OAuth2Client, type OAuth2ClientGrantType, type OIDC, Operation, ParameterizedWaitPointInstance, type PermissionCondition, type Plugin, type PluginAttachment, type PluginConfigs, type PluginExecOptions, type PluginExecResult, type PluginExecutorContext, type PluginExecutorContextBase, type PluginFieldExtensions, type PluginGeneratedExecutor, type PluginGeneratedExecutorWithFile, type PluginGeneratedResolver, type PluginGeneratedTable, type PluginLogger, type PluginNamespaceProcessContext, type PluginOutput, type PluginOutputValue, type PluginTableProcessContext, type PublishStaticWebsiteResult, type PublishableStaticWebsite, type QueryType, RecordCreatedArgs, RecordDeletedArgs, RecordUpdatedArgs, type ResolvedExecutionPolicyInstance, type Resolver, ResolverExecutedArgs, ResolverExecutedTrigger, type ResolverExternalConfig, type ResolverNamespaceData, type ResolverPermission, type ResolverPermissionCondition, type ResolverPermissionPolicy, type ResolverReadyContext, type ResolverServiceConfig, type ResolverServiceInput, type RetryPolicy, type SAML, type SCIMAttribute, type SCIMAttributeMapping, type SCIMAttributeType, type SCIMAuthorization, type SCIMConfig, type SCIMResource, ScheduleArgs, ScheduleTrigger, type SecretNameFor, type SecretVaultName, type SecretVaultNameRegistry, type SecretsConfig, type StaticWebsiteConfig, type TablePluginOutput, type TailorAnyDBField, type TailorAnyDBType, type TailorDBField, type TailorDBInstance, type TailorDBNamespaceData, type TailorDBReadyContext, type TailorDBTableForPlugin, TailorDBTrigger, type TailorDBType, type TailorField, type TailorPrincipal, type TailorTypeGqlPermission, type TailorTypePermission, type TenantProvider as TenantProviderConfig, Trigger, type UserAttributeKey, type UserAttributeListKey, type UserAttributes, type UsernameFieldKey, type ValueOperand, WaitPointInstance, WebhookOperation, Workflow, WorkflowConfig, WorkflowExecutionArgs, WorkflowExecutionCompletedArgs, WorkflowExecutionResumedArgs, WorkflowExecutionRetriedArgs, WorkflowExecutionStartedArgs, WorkflowExecutionTrigger, WorkflowExecutionWaitResolvedArgs, WorkflowExecutionWaitStartedArgs, WorkflowJob, WorkflowJobContext, WorkflowJobExecutionArgs, WorkflowJobExecutionCompletedArgs, WorkflowJobExecutionStartedArgs, WorkflowJobExecutionTrigger, WorkflowJobExecutionWaitResolvedArgs, WorkflowJobExecutionWaitStartedArgs, WorkflowOperation, type WorkflowServiceConfig, type WorkflowServiceInput, authAccessTokenIssuedTrigger, authAccessTokenRefreshedTrigger, authAccessTokenRevokedTrigger, authAccessTokenTrigger, createExecutor, createHttpAdapter, createResolver, createWaitPoint, createWaitPoints, createWorkflow, createWorkflowJob, db, defineAIGateway, defineAuth, defineConfig, defineIdp, definePlugins, defineSecretManager, defineStaticWebSite, defineWorkflowExecutionPolicies, defineWorkflowExecutionPolicy, idpUserCreatedTrigger, idpUserDeletedTrigger, idpUserTrigger, idpUserUpdatedTrigger, incomingWebhookTrigger, recordCreatedTrigger, recordDeletedTrigger, recordTrigger, recordUpdatedTrigger, resolverExecutedTrigger, scheduleTrigger, unsafeAllowAllGqlPermission, unsafeAllowAllIdPPermission, unsafeAllowAllTypePermission, workflowExecutionCompletedTrigger, workflowExecutionResumedTrigger, workflowExecutionRetriedTrigger, workflowExecutionStartedTrigger, workflowExecutionTrigger, workflowExecutionWaitResolvedTrigger, workflowExecutionWaitStartedTrigger, workflowJobExecutionCompletedTrigger, workflowJobExecutionStartedTrigger, workflowJobExecutionTrigger, workflowJobExecutionWaitResolvedTrigger, workflowJobExecutionWaitStartedTrigger };
@@ -1,4 +1,4 @@
1
- import{i as e}from"../field-parse-C41e3UAF.mjs";import{n as t,t as n}from"../schema-B6hJQWp6.mjs";import{t as r}from"../brand-C8nMKhJC.mjs";import{a as i,n as a,r as o}from"../registry-BijIDRVA.mjs";import{l as s,n as c,r as l,t as u}from"../wait-point-invoker-eiP-IIux.mjs";import{a as d,i as f,o as p,r as m}from"../wait-point-registry-B-ESkTZX.mjs";function createTailorField(n,r,i,a,o){let s=o?{...o,...o.allowedValues&&{allowedValues:o.allowedValues.map(e=>({...e}))},...o.validate&&{validate:o.validate.map(e=>Array.isArray(e)?[...e]:e)}}:{required:!0};o||(r&&(r.optional===!0&&(s.required=!1),r.array===!0&&(s.array=!0)),a&&(s.allowedValues=t(a)));function parseInternal$1(t){return e({...t,field:c})}function cloneWith(e){let t=c.clone();return Object.assign(t._metadata,e),t}let c={type:n,fields:i??{},_defined:void 0,_output:void 0,_metadata:s,get metadata(){return{...this._metadata}},description(e){return cloneWith({description:e})},typeName(e){return cloneWith({typeName:e})},validate(...e){return cloneWith({validate:e})},parse(e){return parseInternal$1({value:e.value,data:e.data,invoker:e.invoker,pathArray:[]})},clone(){let e=i;if(i){let t={};for(let[e,n]of Object.entries(i))t[e]=n.clone();e=t}return createTailorField(n,r,e,a,this._metadata)}};return c}function uuid(e){return createTailorField(`uuid`,e)}function string(e){return createTailorField(`string`,e)}function bool(e){return createTailorField(`boolean`,e)}function int(e){return createTailorField(`integer`,e)}function float(e){return createTailorField(`float`,e)}function decimal(e){return createTailorField(`decimal`,e)}function date(...e){let[t]=e,n=createTailorField(`date`,t);return n._metadata.as=t?.as??`default`,n}function datetime(...e){let[t]=e,n=createTailorField(`datetime`,t);return n._metadata.as=t?.as??`default`,n}function time(...e){let[t]=e,n=createTailorField(`time`,t);return n._metadata.as=t?.as??`default`,n}function _enum(e,t){return createTailorField(`enum`,t,void 0,e)}function object(e,t){return createTailorField(`nested`,t,e)}const h={uuid,string,bool,int,float,decimal,date,datetime,time,enum:_enum,object};/* @__NO_SIDE_EFFECTS__ */
1
+ import{i as e}from"../field-parse-BQhUAbpM.mjs";import{n as t,t as n}from"../schema-BU1aIQ63.mjs";import{t as r}from"../brand-C8nMKhJC.mjs";import{a as i,n as a,r as o}from"../registry-BijIDRVA.mjs";import{l as s,n as c,r as l,t as u}from"../wait-point-invoker-eiP-IIux.mjs";import{a as d,i as f,o as p,r as m}from"../wait-point-registry-B-ESkTZX.mjs";function createTailorField(n,r,i,a,o){let s=o?{...o,...o.allowedValues&&{allowedValues:o.allowedValues.map(e=>({...e}))},...o.validate&&{validate:o.validate.map(e=>Array.isArray(e)?[...e]:e)}}:{required:!0};o||(r&&(r.optional===!0&&(s.required=!1),r.array===!0&&(s.array=!0)),a&&(s.allowedValues=t(a)));function parseInternal$1(t){return e({...t,field:c})}function cloneWith(e){let t=c.clone();return Object.assign(t._metadata,e),t}let c={type:n,fields:i??{},_defined:void 0,_output:void 0,_metadata:s,get metadata(){return{...this._metadata}},description(e){return cloneWith({description:e})},typeName(e){return cloneWith({typeName:e})},validate(...e){return cloneWith({validate:e})},parse(e){return parseInternal$1({value:e.value,data:e.data,invoker:e.invoker,pathArray:[]})},clone(){let e=i;if(i){let t={};for(let[e,n]of Object.entries(i))t[e]=n.clone();e=t}return createTailorField(n,r,e,a,this._metadata)}};return c}function uuid(e){return createTailorField(`uuid`,e)}function string(e){return createTailorField(`string`,e)}function bool(e){return createTailorField(`boolean`,e)}function int(e){return createTailorField(`integer`,e)}function float(e){return createTailorField(`float`,e)}function decimal(e){return createTailorField(`decimal`,e)}function date(...e){let[t]=e,n=createTailorField(`date`,t);return n._metadata.as=t?.as??`default`,n}function datetime(...e){let[t]=e,n=createTailorField(`datetime`,t);return n._metadata.as=t?.as??`default`,n}function time(...e){let[t]=e,n=createTailorField(`time`,t);return n._metadata.as=t?.as??`default`,n}function _enum(e,t){return createTailorField(`enum`,t,void 0,e)}function object(e,t){return createTailorField(`nested`,t,e)}const h={uuid,string,bool,int,float,decimal,date,datetime,time,enum:_enum,object};/* @__NO_SIDE_EFFECTS__ */
2
2
  function defineAuth(e,t){return{...t,name:e}}const g={create:[{conditions:[],permit:!0}],read:[{conditions:[],permit:!0}],update:[{conditions:[],permit:!0}],delete:[{conditions:[],permit:!0}]},_=[{conditions:[],actions:`all`,permit:!0}];/* @__NO_SIDE_EFFECTS__ */
3
3
  function createResolver(e){let t=(e=>typeof e==`object`&&!!e&&`type`in e&&typeof e.type==`string`)(e.output)?e.output:h.object(e.output);return r({...e,output:t},`resolver`)}/* @__NO_SIDE_EFFECTS__ */
4
4
  function createExecutor(e){return r(e,`executor`)}const v={created:`tailordb.type_record.created`,updated:`tailordb.type_record.updated`,deleted:`tailordb.type_record.deleted`};function recordCreatedTrigger(e){let{type:t,condition:n}=e;return{kind:`tailordb`,events:[`tailordb.type_record.created`],tableName:t.name,condition:n,__args:{}}}function recordUpdatedTrigger(e){let{type:t,condition:n}=e;return{kind:`tailordb`,events:[`tailordb.type_record.updated`],tableName:t.name,condition:n,__args:{}}}function recordDeletedTrigger(e){let{type:t,condition:n}=e;return{kind:`tailordb`,events:[`tailordb.type_record.deleted`],tableName:t.name,condition:n,__args:{}}}function recordTrigger(e){let{type:t,events:n,condition:r}=e;return{kind:`tailordb`,events:n.map(e=>v[e]),tableName:t.name,condition:r,__args:{}}}function resolverExecutedTrigger(e){let{resolver:t,condition:n}=e;return{kind:`resolverExecuted`,resolverName:t.name,condition:n,__args:{}}}const y={created:`idp.user.created`,updated:`idp.user.updated`,deleted:`idp.user.deleted`};function idpUserCreatedTrigger(e){return{kind:`idpUser`,events:[`idp.user.created`],...e?.idp==null?{}:{idp:e.idp},__args:{}}}function idpUserUpdatedTrigger(e){return{kind:`idpUser`,events:[`idp.user.updated`],...e?.idp==null?{}:{idp:e.idp},__args:{}}}function idpUserDeletedTrigger(e){return{kind:`idpUser`,events:[`idp.user.deleted`],...e?.idp==null?{}:{idp:e.idp},__args:{}}}function idpUserTrigger(e){let{events:t,idp:n}=e;return{kind:`idpUser`,events:t.map(e=>y[e]),...n==null?{}:{idp:n},__args:{}}}const b={issued:`auth.access_token.issued`,refreshed:`auth.access_token.refreshed`,revoked:`auth.access_token.revoked`};function authAccessTokenIssuedTrigger(){return{kind:`authAccessToken`,events:[`auth.access_token.issued`],__args:{}}}function authAccessTokenRefreshedTrigger(){return{kind:`authAccessToken`,events:[`auth.access_token.refreshed`],__args:{}}}function authAccessTokenRevokedTrigger(){return{kind:`authAccessToken`,events:[`auth.access_token.revoked`],__args:{}}}function authAccessTokenTrigger(e){let{events:t}=e;return{kind:`authAccessToken`,events:t.map(e=>b[e]),__args:{}}}const x={started:`workflow.workflow_execution.started`,completed:`workflow.workflow_execution.completed`,retried:`workflow.workflow_execution.retried`,resumed:`workflow.workflow_execution.resumed`,wait_started:`workflow.workflow_execution.wait_started`,wait_resolved:`workflow.workflow_execution.wait_resolved`};function workflowExecutionTriggerConfig(e,t){return{kind:`workflowExecution`,events:e,workflowName:t.workflow.name,condition:t.condition,__args:{}}}function workflowExecutionStartedTrigger(e){return workflowExecutionTriggerConfig([`workflow.workflow_execution.started`],e)}function workflowExecutionCompletedTrigger(e){return workflowExecutionTriggerConfig([`workflow.workflow_execution.completed`],e)}function workflowExecutionRetriedTrigger(e){return workflowExecutionTriggerConfig([`workflow.workflow_execution.retried`],e)}function workflowExecutionResumedTrigger(e){return workflowExecutionTriggerConfig([`workflow.workflow_execution.resumed`],e)}function workflowExecutionWaitStartedTrigger(e){return workflowExecutionTriggerConfig([`workflow.workflow_execution.wait_started`],e)}function workflowExecutionWaitResolvedTrigger(e){return workflowExecutionTriggerConfig([`workflow.workflow_execution.wait_resolved`],e)}function workflowExecutionTrigger(e){let{events:t,workflow:n,condition:r}=e;return workflowExecutionTriggerConfig(t.map(e=>x[e]),{workflow:n,condition:r})}const S={started:`workflow.workflow_execution.job_execution.started`,completed:`workflow.workflow_execution.job_execution.completed`,wait_started:`workflow.workflow_execution.job_execution.wait_started`,wait_resolved:`workflow.workflow_execution.job_execution.wait_resolved`};function workflowJobExecutionTriggerConfig(e,t){return{kind:`workflowJobExecution`,events:e,workflowName:t.workflow.name,condition:t.condition,__args:{}}}function workflowJobExecutionStartedTrigger(e){return workflowJobExecutionTriggerConfig([`workflow.workflow_execution.job_execution.started`],e)}function workflowJobExecutionCompletedTrigger(e){return workflowJobExecutionTriggerConfig([`workflow.workflow_execution.job_execution.completed`],e)}function workflowJobExecutionWaitStartedTrigger(e){return workflowJobExecutionTriggerConfig([`workflow.workflow_execution.job_execution.wait_started`],e)}function workflowJobExecutionWaitResolvedTrigger(e){return workflowJobExecutionTriggerConfig([`workflow.workflow_execution.job_execution.wait_resolved`],e)}function workflowJobExecutionTrigger(e){let{events:t,workflow:n,condition:r}=e;return workflowJobExecutionTriggerConfig(t.map(e=>S[e]),{workflow:n,condition:r})}function scheduleTrigger(e){let{cron:t,timezone:n}=e;return{kind:`schedule`,cron:t,timezone:n,__args:{}}}function incomingWebhookTrigger(e){let t=typeof e?.response==`function`?{body:e.response}:e?.response;return{kind:`incomingWebhook`,...t?{response:t}:{},__args:{}}}const C=/^[a-z0-9][a-z0-9_:.-]{0,62}[a-z0-9]$/;function createExecutionPolicyInstance(e,t,n,i,a,o,s){let c=i===`prefix`,l={name:e,key:t,matchType:i,...n&&{concurrencyPolicy:n},...c&&{keyFor:e=>{let t=`${l.key}${a}${e}`;if(!C.test(t))throw Error(`Invalid execution policy key "${t}" built by keyFor("${e}"): must match [a-z0-9_:.-] (2-64 chars; must start and end with [a-z0-9]).`);return t}}};return{instance:r(l,`execution-policy`),setName:o?e=>{l.name=e}:void 0,setKey:s?e=>{l.key=e}:void 0}}/* @__NO_SIDE_EFFECTS__ */
@@ -1,5 +1,4 @@
1
1
  import { AIGatewayConfig, AIGatewayDefinitionBrand, AIGatewayServiceInput } from "./types.mjs";
2
- //#region src/configure/services/aigateway/index.d.ts
3
2
  /**
4
3
  * Define an AI Gateway configuration for the Tailor SDK.
5
4
  * @param name - AI Gateway name
@@ -11,5 +10,4 @@ export declare function defineAIGateway(name: string, config: Omit<AIGatewayServ
11
10
  readonly cors?: string[] | undefined;
12
11
  readonly authNamespace?: import("@tailor-platform/sdk").AuthNamespaceName;
13
12
  } & AIGatewayDefinitionBrand;
14
- //#endregion
15
13
  export type { AIGatewayConfig };
@@ -1,6 +1,5 @@
1
1
  import { AuthNamespaceName } from "../../types/auth-namespace-name.mjs";
2
2
  import { AIGatewayInput } from "../../../types/aigateway.generated.mjs";
3
- //#region src/configure/services/aigateway/types.d.ts
4
3
  declare const aiGatewayDefinitionBrand: unique symbol;
5
4
  export type AIGatewayDefinitionBrand = {
6
5
  readonly [aiGatewayDefinitionBrand]: true;
@@ -11,5 +10,4 @@ export type AIGatewayServiceInput = Omit<AIGatewayInput, "authNamespace"> & {
11
10
  };
12
11
  /** Type accepted by `AppConfig.aiGateways`. Only values returned by `defineAIGateway()` satisfy this. */
13
12
  export type AIGatewayConfig = AIGatewayInput & AIGatewayDefinitionBrand;
14
- //#endregion
15
13
  export {};
@@ -3,7 +3,6 @@ import { AuthConnectionConfig, AuthConnectionOAuth2Config } from "../../../types
3
3
  import { BuiltinIdP, IDToken, IdProvider, OAuth2ClientInput, OIDC, SAML, SCIMAttribute, SCIMAttributeMapping, SCIMAuthorization, SCIMConfig, SCIMResource, TenantProvider } from "../../../types/auth.generated.mjs";
4
4
  import { AuthConfig, AuthConnectionTokenResult, AuthExternalConfig, AuthOwnConfig, AuthServiceInput, BeforeLoginClaims, BeforeLoginHookArgs, DefinedAuth, FederatedIdentity, FederatedIdentityClaims, FederatedIdentityProvider, OAuth2ClientGrantType, SCIMAttributeType, UserAttributeKey, UserAttributeListKey, UserAttributes, UsernameFieldKey, ValueOperand } from "./types.mjs";
5
5
  import { TailorDBInstance } from "../tailordb/schema.mjs";
6
- //#region src/configure/services/auth/index.d.ts
7
6
  type MachineUserAttributeFields = Record<string, TailorField<DefinedFieldMetadata, unknown, FieldMetadata, TailorFieldType>>;
8
7
  type PlaceholderUser = TailorDBInstance<Record<string, never>, Record<string, never>>;
9
8
  type PlaceholderAttributes = UserAttributes<PlaceholderUser>;
@@ -29,5 +28,4 @@ type MachineUserOnlyAuthInput<MachineUserNames extends string, MachineUserAttrib
29
28
  */
30
29
  export declare function defineAuth<const Name extends string, const User extends TailorDBInstance, const Attributes extends UserAttributes<User>, const AttributeList extends UserAttributeListKey<User>[], const MachineUserNames extends string, const ConnectionNames extends string = string>(name: Name, config: UserProfileAuthInput<User, Attributes, AttributeList, MachineUserNames, ConnectionNames>): DefinedAuth<Name, UserProfileAuthInput<User, Attributes, AttributeList, MachineUserNames, ConnectionNames>>;
31
30
  export declare function defineAuth<const Name extends string, const MachineUserAttributes extends MachineUserAttributeFields, const MachineUserNames extends string, const ConnectionNames extends string = string>(name: Name, config: MachineUserOnlyAuthInput<MachineUserNames, MachineUserAttributes, ConnectionNames>): DefinedAuth<Name, MachineUserOnlyAuthInput<MachineUserNames, MachineUserAttributes, ConnectionNames>>;
32
- //#endregion
33
31
  export type { AuthConfig, AuthConnectionConfig, AuthConnectionOAuth2Config, AuthConnectionTokenResult, AuthExternalConfig, AuthOwnConfig, AuthServiceInput, BeforeLoginClaims, BeforeLoginHookArgs, BuiltinIdP, DefinedAuth, FederatedIdentity, FederatedIdentityClaims, FederatedIdentityProvider, IDToken, IdProvider as IdProviderConfig, OAuth2ClientInput as OAuth2Client, OAuth2ClientGrantType, OIDC, SAML, SCIMAttribute, SCIMAttributeMapping, SCIMAttributeType, SCIMAuthorization, SCIMConfig, SCIMResource, TenantProvider as TenantProviderConfig, UserAttributeKey, UserAttributeListKey, UserAttributes, UsernameFieldKey, ValueOperand };
@@ -5,7 +5,6 @@ import { TailorDBInstance } from "../tailordb/types.mjs";
5
5
  import { AuthConnectionConfig } from "../../../types/auth-connection.generated.mjs";
6
6
  import { IdProvider, OAuth2Client, OAuth2ClientInput, SCIMAttribute, SCIMConfig, TenantProvider } from "../../../types/auth.generated.mjs";
7
7
  import { IsAny, JsonObject, JsonValue } from "type-fest";
8
- //#region src/configure/services/auth/types.d.ts
9
8
  export type OAuth2ClientGrantType = OAuth2Client["grantTypes"][number];
10
9
  export type SCIMAttributeType = SCIMAttribute["type"];
11
10
  export interface MachineUserNameRegistry {}
@@ -169,5 +168,4 @@ export type AuthExternalConfig = {
169
168
  type AuthServiceInputLoose = AuthServiceInput<any, any, any, string, any>;
170
169
  export type AuthOwnConfig = DefinedAuth<string, AuthServiceInputLoose>;
171
170
  export type AuthConfig = AuthOwnConfig | AuthExternalConfig;
172
- //#endregion
173
171
  export {};
@@ -2,7 +2,6 @@ import { ExecutorInput } from "../../../types/executor.generated.mjs";
2
2
  import { Workflow } from "../workflow/workflow.mjs";
3
3
  import { Operation, WorkflowOperation } from "./operation.mjs";
4
4
  import { Trigger } from "./trigger/index.mjs";
5
- //#region src/configure/services/executor/executor.d.ts
6
5
  type TriggerArgs<T extends Trigger<unknown>> = T extends {
7
6
  __args: infer Args;
8
7
  } ? Args : never;
@@ -66,5 +65,4 @@ export declare function createExecutor<Args, O extends Operation<Args> | {
66
65
  kind: "workflow";
67
66
  workflow: Workflow;
68
67
  }>(config: Executor<Trigger<Args>, O>): Executor<Trigger<Args>, O>;
69
- //#endregion
70
68
  export {};
@@ -4,7 +4,6 @@ import { FunctionOperation as FunctionOperation$1, GqlOperation as GqlOperation$
4
4
  import "../../types/machine-user.mjs";
5
5
  import { Workflow } from "../workflow/workflow.mjs";
6
6
  import { Client } from "@urql/core";
7
- //#region src/configure/services/executor/operation.d.ts
8
7
  /** Function-based executor operation. The body receives the trigger args and the `invoker`. */
9
8
  export type FunctionOperation<Args> = Omit<FunctionOperation$1, "body" | "invoker"> & {
10
9
  body: (args: Args & {
@@ -46,5 +45,4 @@ export type WorkflowOperation<Args, W extends Workflow = Workflow> = Omit<Workfl
46
45
  invoker?: MachineUserName;
47
46
  } & WorkflowArgsProperty<Args, W>;
48
47
  export type Operation<Args> = FunctionOperation<Args> | GqlOperation<Args> | WebhookOperation<Args> | WorkflowOperation<Args>;
49
- //#endregion
50
48
  export {};
@@ -5,7 +5,6 @@ import { TailorDBType } from "../../tailordb/schema.mjs";
5
5
  import { IdpName } from "../../../types/idp-name.mjs";
6
6
  import { ResolverConfig } from "../../resolver/resolver.mjs";
7
7
  import { Workflow } from "../../workflow/workflow.mjs";
8
- //#region src/configure/services/executor/trigger/event.d.ts
9
8
  interface EventArgs {
10
9
  workspaceId: string;
11
10
  appNamespace: string;
@@ -513,5 +512,4 @@ type WorkflowJobExecutionTriggerOptions<K extends WorkflowJobExecutionEventKind[
513
512
  * @returns Workflow job execution trigger
514
513
  */
515
514
  export declare function workflowJobExecutionTrigger<const K extends [WorkflowJobExecutionEventKind, ...WorkflowJobExecutionEventKind[]]>(options: WorkflowJobExecutionTriggerOptions<K>): WorkflowJobExecutionTrigger<WorkflowJobExecutionMultiArgs<K>>;
516
- //#endregion
517
515
  export {};
@@ -1,7 +1,5 @@
1
1
  import { AuthAccessTokenArgs, AuthAccessTokenIssuedArgs, AuthAccessTokenRefreshedArgs, AuthAccessTokenRevokedArgs, AuthAccessTokenTrigger, IdpUserArgs, IdpUserCreatedArgs, IdpUserDeletedArgs, IdpUserTrigger, IdpUserUpdatedArgs, RecordCreatedArgs, RecordDeletedArgs, RecordUpdatedArgs, ResolverExecutedArgs, ResolverExecutedTrigger, TailorDBTrigger, WorkflowExecutionArgs, WorkflowExecutionCompletedArgs, WorkflowExecutionResumedArgs, WorkflowExecutionRetriedArgs, WorkflowExecutionStartedArgs, WorkflowExecutionTrigger, WorkflowExecutionWaitResolvedArgs, WorkflowExecutionWaitStartedArgs, WorkflowJobExecutionArgs, WorkflowJobExecutionCompletedArgs, WorkflowJobExecutionStartedArgs, WorkflowJobExecutionTrigger, WorkflowJobExecutionWaitResolvedArgs, WorkflowJobExecutionWaitStartedArgs, authAccessTokenIssuedTrigger, authAccessTokenRefreshedTrigger, authAccessTokenRevokedTrigger, authAccessTokenTrigger, idpUserCreatedTrigger, idpUserDeletedTrigger, idpUserTrigger, idpUserUpdatedTrigger, recordCreatedTrigger, recordDeletedTrigger, recordTrigger, recordUpdatedTrigger, resolverExecutedTrigger, workflowExecutionCompletedTrigger, workflowExecutionResumedTrigger, workflowExecutionRetriedTrigger, workflowExecutionStartedTrigger, workflowExecutionTrigger, workflowExecutionWaitResolvedTrigger, workflowExecutionWaitStartedTrigger, workflowJobExecutionCompletedTrigger, workflowJobExecutionStartedTrigger, workflowJobExecutionTrigger, workflowJobExecutionWaitResolvedTrigger, workflowJobExecutionWaitStartedTrigger } from "./event.mjs";
2
2
  import { ScheduleArgs, ScheduleTrigger, scheduleTrigger } from "./schedule.mjs";
3
3
  import { IncomingWebhookArgs, IncomingWebhookRequest, IncomingWebhookResponse, IncomingWebhookResponseConfig, IncomingWebhookTrigger, IncomingWebhookTriggerOptions, incomingWebhookTrigger } from "./webhook.mjs";
4
- //#region src/configure/services/executor/trigger/index.d.ts
5
4
  export type Trigger<Args> = TailorDBTrigger<Args> | ResolverExecutedTrigger<Args> | ScheduleTrigger<Args> | IncomingWebhookTrigger<Args> | IdpUserTrigger<Args> | AuthAccessTokenTrigger<Args> | WorkflowExecutionTrigger<Args> | WorkflowJobExecutionTrigger<Args>;
6
- //#endregion
7
5
  export { AuthAccessTokenArgs, AuthAccessTokenIssuedArgs, AuthAccessTokenRefreshedArgs, AuthAccessTokenRevokedArgs, AuthAccessTokenTrigger, IdpUserArgs, IdpUserCreatedArgs, IdpUserDeletedArgs, IdpUserTrigger, IdpUserUpdatedArgs, IncomingWebhookArgs, IncomingWebhookRequest, IncomingWebhookResponse, IncomingWebhookResponseConfig, IncomingWebhookTrigger, IncomingWebhookTriggerOptions, RecordCreatedArgs, RecordDeletedArgs, RecordUpdatedArgs, ResolverExecutedArgs, ResolverExecutedTrigger, ScheduleArgs, ScheduleTrigger, TailorDBTrigger, WorkflowExecutionArgs, WorkflowExecutionCompletedArgs, WorkflowExecutionResumedArgs, WorkflowExecutionRetriedArgs, WorkflowExecutionStartedArgs, WorkflowExecutionTrigger, WorkflowExecutionWaitResolvedArgs, WorkflowExecutionWaitStartedArgs, WorkflowJobExecutionArgs, WorkflowJobExecutionCompletedArgs, WorkflowJobExecutionStartedArgs, WorkflowJobExecutionTrigger, WorkflowJobExecutionWaitResolvedArgs, WorkflowJobExecutionWaitStartedArgs, authAccessTokenIssuedTrigger, authAccessTokenRefreshedTrigger, authAccessTokenRevokedTrigger, authAccessTokenTrigger, idpUserCreatedTrigger, idpUserDeletedTrigger, idpUserTrigger, idpUserUpdatedTrigger, incomingWebhookTrigger, recordCreatedTrigger, recordDeletedTrigger, recordTrigger, recordUpdatedTrigger, resolverExecutedTrigger, scheduleTrigger, workflowExecutionCompletedTrigger, workflowExecutionResumedTrigger, workflowExecutionRetriedTrigger, workflowExecutionStartedTrigger, workflowExecutionTrigger, workflowExecutionWaitResolvedTrigger, workflowExecutionWaitStartedTrigger, workflowJobExecutionCompletedTrigger, workflowJobExecutionStartedTrigger, workflowJobExecutionTrigger, workflowJobExecutionWaitResolvedTrigger, workflowJobExecutionWaitStartedTrigger };
@@ -1,7 +1,6 @@
1
1
  import { TailorEnv } from "../../../../runtime/types.mjs";
2
2
  import { ScheduleTriggerInput } from "../../../../types/executor.generated.mjs";
3
3
  import { StandardCRON } from "ts-cron-validator";
4
- //#region src/configure/services/executor/trigger/schedule.d.ts
5
4
  type Timezone = "UTC" | "Pacific/Midway" | "Pacific/Niue" | "Pacific/Pago_Pago" | "America/Adak" | "Pacific/Honolulu" | "Pacific/Rarotonga" | "Pacific/Tahiti" | "Pacific/Marquesas" | "America/Anchorage" | "America/Juneau" | "America/Metlakatla" | "America/Nome" | "America/Sitka" | "America/Yakutat" | "Pacific/Gambier" | "America/Los_Angeles" | "America/Tijuana" | "America/Vancouver" | "Pacific/Pitcairn" | "America/Boise" | "America/Cambridge_Bay" | "America/Chihuahua" | "America/Creston" | "America/Dawson" | "America/Dawson_Creek" | "America/Denver" | "America/Edmonton" | "America/Fort_Nelson" | "America/Hermosillo" | "America/Inuvik" | "America/Mazatlan" | "America/Ojinaga" | "America/Phoenix" | "America/Whitehorse" | "America/Yellowknife" | "America/Bahia_Banderas" | "America/Belize" | "America/Chicago" | "America/Costa_Rica" | "America/El_Salvador" | "America/Guatemala" | "America/Indiana/Knox" | "America/Indiana/Tell_City" | "America/Managua" | "America/Matamoros" | "America/Menominee" | "America/Merida" | "America/Mexico_City" | "America/Monterrey" | "America/North_Dakota/Beulah" | "America/North_Dakota/Center" | "America/North_Dakota/New_Salem" | "America/Rainy_River" | "America/Rankin_Inlet" | "America/Regina" | "America/Resolute" | "America/Swift_Current" | "America/Tegucigalpa" | "America/Winnipeg" | "Pacific/Easter" | "Pacific/Galapagos" | "America/Atikokan" | "America/Bogota" | "America/Cancun" | "America/Cayman" | "America/Detroit" | "America/Eirunepe" | "America/Grand_Turk" | "America/Guayaquil" | "America/Havana" | "America/Indiana/Indianapolis" | "America/Indiana/Marengo" | "America/Indiana/Petersburg" | "America/Indiana/Vevay" | "America/Indiana/Vincennes" | "America/Indiana/Winamac" | "America/Iqaluit" | "America/Jamaica" | "America/Kentucky/Louisville" | "America/Kentucky/Monticello" | "America/Lima" | "America/Nassau" | "America/New_York" | "America/Nipigon" | "America/Panama" | "America/Pangnirtung" | "America/Port-au-Prince" | "America/Rio_Branco" | "America/Thunder_Bay" | "America/Toronto" | "America/Anguilla" | "America/Antigua" | "America/Aruba" | "America/Asuncion" | "America/Barbados" | "America/Blanc-Sablon" | "America/Boa_Vista" | "America/Campo_Grande" | "America/Caracas" | "America/Cuiaba" | "America/Curacao" | "America/Dominica" | "America/Glace_Bay" | "America/Goose_Bay" | "America/Grenada" | "America/Guadeloupe" | "America/Guyana" | "America/Halifax" | "America/Kralendijk" | "America/La_Paz" | "America/Lower_Princes" | "America/Manaus" | "America/Marigot" | "America/Martinique" | "America/Moncton" | "America/Montserrat" | "America/Porto_Velho" | "America/Port_of_Spain" | "America/Puerto_Rico" | "America/Santiago" | "America/Santo_Domingo" | "America/St_Barthelemy" | "America/St_Kitts" | "America/St_Lucia" | "America/St_Thomas" | "America/St_Vincent" | "America/Thule" | "America/Tortola" | "Atlantic/Bermuda" | "America/St_Johns" | "America/Araguaina" | "America/Argentina/Buenos_Aires" | "America/Argentina/Catamarca" | "America/Argentina/Cordoba" | "America/Argentina/Jujuy" | "America/Argentina/La_Rioja" | "America/Argentina/Mendoza" | "America/Argentina/Rio_Gallegos" | "America/Argentina/Salta" | "America/Argentina/San_Juan" | "America/Argentina/San_Luis" | "America/Argentina/Tucuman" | "America/Argentina/Ushuaia" | "America/Bahia" | "America/Belem" | "America/Cayenne" | "America/Fortaleza" | "America/Godthab" | "America/Maceio" | "America/Miquelon" | "America/Montevideo" | "America/Paramaribo" | "America/Punta_Arenas" | "America/Recife" | "America/Santarem" | "America/Sao_Paulo" | "Antarctica/Palmer" | "Antarctica/Rothera" | "Atlantic/Stanley" | "America/Noronha" | "Atlantic/South_Georgia" | "America/Scoresbysund" | "Atlantic/Azores" | "Atlantic/Cape_Verde" | "Africa/Abidjan" | "Africa/Accra" | "Africa/Bamako" | "Africa/Banjul" | "Africa/Bissau" | "Africa/Casablanca" | "Africa/Conakry" | "Africa/Dakar" | "Africa/El_Aaiun" | "Africa/Freetown" | "Africa/Lome" | "Africa/Monrovia" | "Africa/Nouakchott" | "Africa/Ouagadougou" | "Africa/Sao_Tome" | "America/Danmarkshavn" | "Antarctica/Troll" | "Atlantic/Canary" | "Atlantic/Faroe" | "Atlantic/Madeira" | "Atlantic/Reykjavik" | "Atlantic/St_Helena" | "Europe/Dublin" | "Europe/Guernsey" | "Europe/Isle_of_Man" | "Europe/Jersey" | "Europe/Lisbon" | "Europe/London" | "Africa/Algiers" | "Africa/Bangui" | "Africa/Brazzaville" | "Africa/Ceuta" | "Africa/Douala" | "Africa/Kinshasa" | "Africa/Lagos" | "Africa/Libreville" | "Africa/Luanda" | "Africa/Malabo" | "Africa/Ndjamena" | "Africa/Niamey" | "Africa/Porto-Novo" | "Africa/Tunis" | "Africa/Windhoek" | "Arctic/Longyearbyen" | "Europe/Amsterdam" | "Europe/Andorra" | "Europe/Belgrade" | "Europe/Berlin" | "Europe/Bratislava" | "Europe/Brussels" | "Europe/Budapest" | "Europe/Copenhagen" | "Europe/Gibraltar" | "Europe/Ljubljana" | "Europe/Luxembourg" | "Europe/Madrid" | "Europe/Malta" | "Europe/Monaco" | "Europe/Oslo" | "Europe/Paris" | "Europe/Podgorica" | "Europe/Prague" | "Europe/Rome" | "Europe/San_Marino" | "Europe/Sarajevo" | "Europe/Skopje" | "Europe/Stockholm" | "Europe/Tirane" | "Europe/Vaduz" | "Europe/Vatican" | "Europe/Vienna" | "Europe/Warsaw" | "Europe/Zagreb" | "Europe/Zurich" | "Africa/Blantyre" | "Africa/Bujumbura" | "Africa/Cairo" | "Africa/Gaborone" | "Africa/Harare" | "Africa/Johannesburg" | "Africa/Juba" | "Africa/Khartoum" | "Africa/Kigali" | "Africa/Lubumbashi" | "Africa/Lusaka" | "Africa/Maputo" | "Africa/Maseru" | "Africa/Mbabane" | "Africa/Tripoli" | "Asia/Amman" | "Asia/Beirut" | "Asia/Damascus" | "Asia/Famagusta" | "Asia/Gaza" | "Asia/Hebron" | "Asia/Jerusalem" | "Asia/Nicosia" | "Europe/Athens" | "Europe/Bucharest" | "Europe/Chisinau" | "Europe/Helsinki" | "Europe/Kaliningrad" | "Europe/Kyiv" | "Europe/Mariehamn" | "Europe/Riga" | "Europe/Sofia" | "Europe/Tallinn" | "Europe/Uzhgorod" | "Europe/Vilnius" | "Europe/Zaporizhzhia" | "Africa/Addis_Ababa" | "Africa/Asmara" | "Africa/Dar_es_Salaam" | "Africa/Djibouti" | "Africa/Kampala" | "Africa/Mogadishu" | "Africa/Nairobi" | "Antarctica/Syowa" | "Asia/Aden" | "Asia/Baghdad" | "Asia/Bahrain" | "Asia/Kuwait" | "Asia/Qatar" | "Asia/Riyadh" | "Europe/Istanbul" | "Europe/Kirov" | "Europe/Minsk" | "Europe/Moscow" | "Europe/Simferopol" | "Europe/Volgograd" | "Indian/Antananarivo" | "Indian/Comoro" | "Indian/Mayotte" | "Asia/Tehran" | "Asia/Baku" | "Asia/Dubai" | "Asia/Muscat" | "Asia/Tbilisi" | "Asia/Yerevan" | "Europe/Astrakhan" | "Europe/Samara" | "Europe/Saratov" | "Europe/Ulyanovsk" | "Indian/Mahe" | "Indian/Mauritius" | "Indian/Reunion" | "Asia/Kabul" | "Antarctica/Mawson" | "Asia/Aqtau" | "Asia/Aqtobe" | "Asia/Ashgabat" | "Asia/Atyrau" | "Asia/Dushanbe" | "Asia/Karachi" | "Asia/Oral" | "Asia/Qyzylorda" | "Asia/Samarkand" | "Asia/Tashkent" | "Asia/Yekaterinburg" | "Indian/Kerguelen" | "Indian/Maldives" | "Asia/Colombo" | "Asia/Kolkata" | "Asia/Kathmandu" | "Antarctica/Vostok" | "Asia/Almaty" | "Asia/Bishkek" | "Asia/Dhaka" | "Asia/Omsk" | "Asia/Qostanay" | "Asia/Thimphu" | "Asia/Urumqi" | "Indian/Chagos" | "Asia/Yangon" | "Indian/Cocos" | "Antarctica/Davis" | "Asia/Bangkok" | "Asia/Barnaul" | "Asia/Hovd" | "Asia/Ho_Chi_Minh" | "Asia/Jakarta" | "Asia/Krasnoyarsk" | "Asia/Novokuznetsk" | "Asia/Novosibirsk" | "Asia/Phnom_Penh" | "Asia/Pontianak" | "Asia/Tomsk" | "Asia/Vientiane" | "Indian/Christmas" | "Asia/Brunei" | "Asia/Choibalsan" | "Asia/Hong_Kong" | "Asia/Irkutsk" | "Asia/Kuala_Lumpur" | "Asia/Kuching" | "Asia/Macau" | "Asia/Makassar" | "Asia/Manila" | "Asia/Shanghai" | "Asia/Singapore" | "Asia/Taipei" | "Asia/Ulaanbaatar" | "Australia/Perth" | "Australia/Eucla" | "Asia/Chita" | "Asia/Dili" | "Asia/Jayapura" | "Asia/Khandyga" | "Asia/Pyongyang" | "Asia/Seoul" | "Asia/Tokyo" | "Asia/Yakutsk" | "Pacific/Palau" | "Australia/Adelaide" | "Australia/Broken_Hill" | "Australia/Darwin" | "Antarctica/DumontDUrville" | "Antarctica/Macquarie" | "Asia/Ust-Nera" | "Asia/Vladivostok" | "Australia/Brisbane" | "Australia/Currie" | "Australia/Hobart" | "Australia/Lindeman" | "Australia/Melbourne" | "Australia/Sydney" | "Pacific/Chuuk" | "Pacific/Guam" | "Pacific/Port_Moresby" | "Pacific/Saipan" | "Australia/Lord_Howe" | "Antarctica/Casey" | "Asia/Magadan" | "Asia/Sakhalin" | "Asia/Srednekolymsk" | "Pacific/Bougainville" | "Pacific/Efate" | "Pacific/Guadalcanal" | "Pacific/Kosrae" | "Pacific/Norfolk" | "Pacific/Noumea" | "Pacific/Pohnpei" | "Antarctica/McMurdo" | "Asia/Anadyr" | "Asia/Kamchatka" | "Pacific/Auckland" | "Pacific/Fiji" | "Pacific/Funafuti" | "Pacific/Kwajalein" | "Pacific/Majuro" | "Pacific/Nauru" | "Pacific/Tarawa" | "Pacific/Wake" | "Pacific/Wallis" | "Pacific/Chatham" | "Pacific/Apia" | "Pacific/Enderbury" | "Pacific/Fakaofo" | "Pacific/Tongatapu" | "Pacific/Kiritimati";
6
5
  export type ScheduleTrigger<Args> = ScheduleTriggerInput & {
7
6
  __args: Args;
@@ -20,5 +19,4 @@ interface ScheduleTriggerOptions<T extends string> {
20
19
  * @returns Schedule trigger
21
20
  */
22
21
  export declare function scheduleTrigger<T extends string>(options: ScheduleTriggerOptions<T>): ScheduleTrigger<ScheduleArgs>;
23
- //#endregion
24
22
  export {};
@@ -1,7 +1,6 @@
1
1
  import { JsonValue } from "../../../../types/helpers.mjs";
2
2
  import { TailorEnv } from "../../../../runtime/types.mjs";
3
3
  import { IncomingWebhookTrigger as IncomingWebhookTrigger$1 } from "../../../../types/executor.generated.mjs";
4
- //#region src/configure/services/executor/trigger/webhook.d.ts
5
4
  export interface IncomingWebhookArgs<T extends IncomingWebhookRequest> {
6
5
  body: T["body"];
7
6
  headers: T["headers"];
@@ -38,5 +37,4 @@ export type IncomingWebhookTrigger<Args> = IncomingWebhookTrigger$1 & {
38
37
  * @param options - Optional trigger options including response configuration
39
38
  * @returns Incoming webhook trigger
40
39
  */
41
- export declare function incomingWebhookTrigger<T extends IncomingWebhookRequest>(options?: IncomingWebhookTriggerOptions<IncomingWebhookArgs<T>>): IncomingWebhookTrigger<IncomingWebhookArgs<T>>;
42
- //#endregion
40
+ export declare function incomingWebhookTrigger<T extends IncomingWebhookRequest>(options?: IncomingWebhookTriggerOptions<IncomingWebhookArgs<T>>): IncomingWebhookTrigger<IncomingWebhookArgs<T>>;
@@ -1,6 +1,5 @@
1
1
  import { HttpAdapterConfigInput } from "../../../types/http-adapter.generated.mjs";
2
2
  import { DocumentNode } from "graphql";
3
- //#region src/configure/services/http-adapter/http-adapter.d.ts
4
3
  /**
5
4
  * Lowercase HTTP method keys accepted in `input`, derived from the config
6
5
  * schema via the generated type so they cannot drift.
@@ -120,5 +119,4 @@ export type HttpAdapter<Input extends HttpAdapterInput = HttpAdapterInput> = Omi
120
119
  * });
121
120
  */
122
121
  export declare function createHttpAdapter<const Input extends HttpAdapterInput>(config: HttpAdapter<Input>): HttpAdapter<Input>;
123
- //#endregion
124
122
  export {};
@@ -1,7 +1,6 @@
1
1
  import { IdPPermission, IdPPermissionCondition, unsafeAllowAllIdPPermission } from "./permission.mjs";
2
2
  import { IdPEmailConfig, IdPGqlOperations, IdPGqlOperationsInput, IdPInput } from "../../../types/idp.generated.mjs";
3
3
  import { IdPConfig, IdPExternalConfig, IdpDefinitionBrand } from "./types.mjs";
4
- //#region src/configure/services/idp/index.d.ts
5
4
  /**
6
5
  * Define an IdP service configuration for the Tailor SDK.
7
6
  * @template TClients
@@ -56,5 +55,4 @@ export declare function defineIdp<const TClients extends string[]>(name: string,
56
55
  readonly clients: TClients;
57
56
  readonly permission?: IdPPermission;
58
57
  } & IdpDefinitionBrand;
59
- //#endregion
60
58
  export { type IdPConfig, type IdPEmailConfig, type IdPExternalConfig, type IdPGqlOperations, type IdPGqlOperationsInput as IdPGqlOperationsConfig, type IdPPermission, type IdPPermissionCondition, unsafeAllowAllIdPPermission };
@@ -1,7 +1,6 @@
1
1
  import { InferredAttributes } from "../../../runtime/types.mjs";
2
2
  import { UserBooleanArrayOperand, UserBooleanOperand, UserStringArrayOperand, UserStringOperand } from "../../types/permission-operand.types.mjs";
3
3
  import { IdPUserField } from "../../../parser/service/idp/types.mjs";
4
- //#region src/configure/services/idp/permission.d.ts
5
4
  type EqualityOperator = "=" | "!=";
6
5
  type ContainsOperator = "in" | "not in";
7
6
  type IdPUserOperand<Update extends boolean = false> = Update extends true ? {
@@ -60,5 +59,4 @@ export type IdPPermission<User extends object = InferredAttributes> = {
60
59
  * authorization checks.
61
60
  */
62
61
  export declare const unsafeAllowAllIdPPermission: IdPPermission;
63
- //#endregion
64
62
  export {};
@@ -1,7 +1,6 @@
1
1
  import { BuiltinIdP } from "../../../types/auth.generated.mjs";
2
2
  import { IdPPermission } from "./permission.mjs";
3
3
  import { IdPInput } from "../../../types/idp.generated.mjs";
4
- //#region src/configure/services/idp/types.d.ts
5
4
  declare const idpDefinitionBrand: unique symbol;
6
5
  export type IdpDefinitionBrand = {
7
6
  readonly [idpDefinitionBrand]: true;
@@ -19,5 +18,4 @@ type IdPOwnConfigInput = Omit<IdPInput, "permission"> & {
19
18
  };
20
19
  export type IdPOwnConfig = Omit<DefinedIdp<string, IdPOwnConfigInput, string>, "provider">;
21
20
  export type IdPConfig = IdPOwnConfig | IdPExternalConfig;
22
- //#endregion
23
21
  export {};
@@ -1,12 +1,8 @@
1
+ import { AIGatewayConfig } from "./aigateway/types.mjs";
1
2
  import { IsAutoFilledDBField, IsReadOnlyDBField } from "./tailordb/types.mjs";
2
3
  import { AuthConnectionConfig, AuthConnectionOAuth2Config } from "../../types/auth-connection.generated.mjs";
3
4
  import { BuiltinIdP, IDToken, IdProvider, OAuth2ClientInput, OIDC, SAML, SCIMAttribute, SCIMAttributeMapping, SCIMAuthorization, SCIMConfig, SCIMResource, TenantProvider } from "../../types/auth.generated.mjs";
4
5
  import { AuthConfig, AuthConnectionTokenResult, AuthExternalConfig, AuthOwnConfig, AuthServiceInput, BeforeLoginClaims, BeforeLoginHookArgs, DefinedAuth, FederatedIdentity, FederatedIdentityClaims, FederatedIdentityProvider, OAuth2ClientGrantType, SCIMAttributeType, UserAttributeKey, UserAttributeListKey, UserAttributes, UsernameFieldKey, ValueOperand } from "./auth/types.mjs";
5
- import { Resolver } from "../../types/resolver.generated.mjs";
6
- import { PermissionCondition, TailorTypeGqlPermission, TailorTypePermission, unsafeAllowAllGqlPermission, unsafeAllowAllTypePermission } from "./tailordb/permission.mjs";
7
- import { TailorAnyDBField, TailorAnyDBType, TailorDBField, TailorDBInstance, TailorDBType, db } from "./tailordb/schema.mjs";
8
- import "./tailordb/index.mjs";
9
- import { AIGatewayConfig } from "./aigateway/types.mjs";
10
6
  import { IdPPermission, IdPPermissionCondition, unsafeAllowAllIdPPermission } from "./idp/permission.mjs";
11
7
  import { IdPEmailConfig, IdPGqlOperations, IdPGqlOperationsInput } from "../../types/idp.generated.mjs";
12
8
  import { IdPConfig, IdPExternalConfig } from "./idp/types.mjs";
@@ -15,6 +11,10 @@ import { SecretsConfig } from "./secrets/types.mjs";
15
11
  import { StaticWebsiteConfig } from "./staticwebsite/types.mjs";
16
12
  import { ExecutionPolicyConcurrency, ExecutionPolicyDefInput, ExecutionPolicyExactInstance, ExecutionPolicyGroupOptions, ExecutionPolicyInstance, ExecutionPolicyWildcardInstance, ResolvedExecutionPolicyInstance } from "./workflow/execution-policy.types.mjs";
17
13
  import { ExecutorServiceConfig, ExecutorServiceInput, ResolverExternalConfig, ResolverServiceConfig, ResolverServiceInput, WorkflowServiceConfig, WorkflowServiceInput } from "../config/types.mjs";
14
+ import { Resolver } from "../../types/resolver.generated.mjs";
15
+ import { PermissionCondition, TailorTypeGqlPermission, TailorTypePermission, unsafeAllowAllGqlPermission, unsafeAllowAllTypePermission } from "./tailordb/permission.mjs";
16
+ import { TailorAnyDBField, TailorAnyDBType, TailorDBField, TailorDBInstance, TailorDBType, db } from "./tailordb/schema.mjs";
17
+ import "./tailordb/index.mjs";
18
18
  import { ConcurrencyPolicy, RetryPolicy } from "../../types/workflow.generated.mjs";
19
19
  import { defineAuth } from "./auth/index.mjs";
20
20
  import { createResolver } from "./resolver/resolver.mjs";
@@ -1,6 +1,6 @@
1
- import { Resolver } from "../../../types/resolver.generated.mjs";
2
1
  import { ResolverPermission, ResolverPermissionCondition, ResolverPermissionPolicy } from "./permission.mjs";
3
2
  import { ResolverExternalConfig, ResolverServiceConfig, ResolverServiceInput } from "../../config/types.mjs";
3
+ import { Resolver } from "../../../types/resolver.generated.mjs";
4
4
  import { createResolver } from "./resolver.mjs";
5
5
  import { QueryType } from "./types.mjs";
6
6
  export { type QueryType, type Resolver, type ResolverExternalConfig, type ResolverPermission, type ResolverPermissionCondition, type ResolverPermissionPolicy, type ResolverServiceConfig, type ResolverServiceInput, createResolver };
@@ -1,6 +1,5 @@
1
1
  import { InferredAttributes } from "../../../runtime/types.mjs";
2
2
  import { UserBooleanOperand, UserStringOperand } from "../../types/permission-operand.types.mjs";
3
- //#region src/configure/services/resolver/permission.d.ts
4
3
  type EqualityOperator = "=" | "!=";
5
4
  type StringEqualityCondition<User extends object> = readonly [UserStringOperand<User>, EqualityOperator, string] | readonly [string, EqualityOperator, UserStringOperand<User>];
6
5
  type BooleanEqualityCondition<User extends object> = readonly [UserBooleanOperand<User>, EqualityOperator, boolean] | readonly [boolean, EqualityOperator, UserBooleanOperand<User>];
@@ -60,5 +59,4 @@ export type ResolverPermissionPolicy<User extends object = InferredAttributes> =
60
59
  * const permission: ResolverPermission = "allowAnonymous";
61
60
  */
62
61
  export type ResolverPermission<User extends object = InferredAttributes> = readonly ResolverPermissionPolicy<User>[] | "allowAnonymous";
63
- //#endregion
64
62
  export {};
@@ -1,11 +1,10 @@
1
1
  import { InferFieldsOutput, output } from "../../../types/helpers.mjs";
2
2
  import { TailorEnv, TailorPrincipal } from "../../../runtime/types.mjs";
3
3
  import { MachineUserName } from "../auth/types.mjs";
4
- import { ResolverInput } from "../../../types/resolver.generated.mjs";
5
4
  import { ResolverPermission } from "./permission.mjs";
5
+ import { ResolverInput } from "../../../types/resolver.generated.mjs";
6
6
  import "../../types/machine-user.mjs";
7
7
  import { TailorAnyField, TailorField } from "../../types/type.mjs";
8
- //#region src/configure/services/resolver/resolver.d.ts
9
8
  type Context<Input extends Record<string, TailorAnyField> | undefined> = {
10
9
  input: Input extends Record<string, TailorAnyField> ? InferFieldsOutput<Input> : never;
11
10
  caller: TailorPrincipal | null;
@@ -84,5 +83,4 @@ export declare function createResolver<Input extends Record<string, TailorAnyFie
84
83
  permission?: ResolverPermission;
85
84
  }>): ResolverReturn<Input, Output>;
86
85
  export type ResolverConfig = ReturnType<typeof createResolver<any, any>>;
87
- //#endregion
88
86
  export {};
@@ -1,4 +1,2 @@
1
1
  import { Resolver } from "../../../types/resolver.generated.mjs";
2
- //#region src/configure/services/resolver/types.d.ts
3
- export type QueryType = Resolver["operation"];
4
- //#endregion
2
+ export type QueryType = Resolver["operation"];
@@ -1,5 +1,4 @@
1
1
  import { SecretsConfig, SecretsDefinitionBrand } from "./types.mjs";
2
- //#region src/configure/services/secrets/index.d.ts
3
2
  type SecretsVaultInput = Record<string, string>;
4
3
  type SecretsVaultInputNullish = Record<string, string | undefined | null>;
5
4
  type SecretsInput = Record<string, SecretsVaultInput>;
@@ -47,5 +46,4 @@ export declare function defineSecretManager<const T extends SecretsInput>(config
47
46
  export declare function defineSecretManager<const T extends SecretsInputNullish>(config: T, options: {
48
47
  ignoreNullishValues: true;
49
48
  }): DefinedSecrets<T>;
50
- //#endregion
51
49
  export type { SecretsConfig };
@@ -1,10 +1,8 @@
1
1
  import { SecretsInput } from "../../../types/secrets.generated.mjs";
2
- //#region src/configure/services/secrets/types.d.ts
3
2
  declare const secretsDefinitionBrand: unique symbol;
4
3
  export type SecretsDefinitionBrand = {
5
4
  readonly [secretsDefinitionBrand]: true;
6
5
  };
7
6
  /** Type accepted by `AppConfig.secrets`. Only values returned by `defineSecretManager()` satisfy this. */
8
7
  export type SecretsConfig = SecretsInput & SecretsDefinitionBrand;
9
- //#endregion
10
8
  export {};
@@ -1,6 +1,5 @@
1
1
  import { StaticWebsiteInput } from "../../../types/staticwebsite.generated.mjs";
2
2
  import { StaticWebsiteConfig, StaticWebsiteDefinitionBrand } from "./types.mjs";
3
- //#region src/configure/services/staticwebsite/index.d.ts
4
3
  /**
5
4
  * Define a static website configuration for the Tailor SDK.
6
5
  * @param name - Static website name
@@ -12,7 +11,11 @@ export declare function defineStaticWebSite(name: string, config: Omit<StaticWeb
12
11
  readonly url: `${string}:url`;
13
12
  readonly description?: string | undefined;
14
13
  readonly allowedIpAddresses?: string[] | undefined;
15
- readonly customDomains?: string[] | undefined;
14
+ readonly customDomains?: (string | {
15
+ domain: string;
16
+ transferTo: {
17
+ workspaceId: string;
18
+ };
19
+ })[] | undefined;
16
20
  } & StaticWebsiteDefinitionBrand;
17
- //#endregion
18
21
  export type { StaticWebsiteConfig };
@@ -1,10 +1,8 @@
1
1
  import { StaticWebsiteInput } from "../../../types/staticwebsite.generated.mjs";
2
- //#region src/configure/services/staticwebsite/types.d.ts
3
2
  declare const staticWebsiteDefinitionBrand: unique symbol;
4
3
  export type StaticWebsiteDefinitionBrand = {
5
4
  readonly [staticWebsiteDefinitionBrand]: true;
6
5
  };
7
6
  /** Type accepted by `AppConfig.staticWebsites`. Only values returned by `defineStaticWebSite()` satisfy this. */
8
7
  export type StaticWebsiteConfig = StaticWebsiteInput & StaticWebsiteDefinitionBrand;
9
- //#endregion
10
8
  export {};
@@ -1,6 +1,5 @@
1
1
  import { InferredAttributes } from "../../../runtime/types.mjs";
2
2
  import { UserBooleanArrayOperand, UserBooleanOperand, UserStringArrayOperand, UserStringOperand } from "../../types/permission-operand.types.mjs";
3
- //#region src/configure/services/tailordb/permission.d.ts
4
3
  /**
5
4
  * Record-level permission configuration for a TailorDB table.
6
5
  * Defines create, read, update, and delete permissions.
@@ -99,5 +98,4 @@ export declare const unsafeAllowAllTypePermission: TailorTypePermission;
99
98
  * authorization checks.
100
99
  */
101
100
  export declare const unsafeAllowAllGqlPermission: TailorTypeGqlPermission;
102
- //#endregion
103
101
  export {};
@@ -7,7 +7,6 @@ import { FieldParseArgs } from "../../../runtime/field-parse.mjs";
7
7
  import { PluginConfigs, PluginFieldExtensions } from "../../../plugin/types.mjs";
8
8
  import { TailorTypeGqlPermission, TailorTypePermission } from "./permission.mjs";
9
9
  import { StandardSchemaV1 } from "@standard-schema/spec";
10
- //#region src/configure/services/tailordb/schema.d.ts
11
10
  type AnyBuilderMethod = any;
12
11
  export type TailorAnyDBField = Omit<TailorDBField$1<AnyBuilderMethod, AnyBuilderMethod>, "fields"> & {
13
12
  readonly fields: Record<string, AnyBuilderMethod>;
@@ -506,5 +505,4 @@ export declare const db: {
506
505
  };
507
506
  };
508
507
  };
509
- //#endregion
510
508
  export {};
@@ -2,7 +2,6 @@ import { DeepReadonly, InferFieldsOutput, Prettify, output } from "../../../type
2
2
  import { DefinedFieldMetadata, FieldMetadata, TailorField, TailorFieldType } from "../../types/field.types.mjs";
3
3
  import { InferredAttributes, TailorPrincipal } from "../../../runtime/types.mjs";
4
4
  import { DBFieldMetadata as DBFieldMetadata$1, GqlOperationsInput, RawPermissions, TailorDBServiceConfigInput } from "../../../types/tailordb.generated.mjs";
5
- //#region src/configure/services/tailordb/types.d.ts
6
5
  export type SerialConfig<T extends "string" | "integer" = "string" | "integer"> = Prettify<{
7
6
  start: number;
8
7
  maxValue?: number;
@@ -233,5 +232,4 @@ type TailorDBExternalConfig = {
233
232
  export type TailorDBServiceInput = {
234
233
  [namespace: string]: TailorDBServiceConfigInput | TailorDBExternalConfig;
235
234
  };
236
- //#endregion
237
235
  export {};
@@ -1,5 +1,4 @@
1
1
  import { ExecutionPolicyConcurrency, ExecutionPolicyDefInput, ExecutionPolicyExactInstance, ExecutionPolicyGroupOptions, ExecutionPolicyInstance, ExecutionPolicyWildcardInstance, ResolvedExecutionPolicyInstance } from "./execution-policy.types.mjs";
2
- //#region src/configure/services/workflow/execution-policy.d.ts
3
2
  type ResolveKey<Def, Fallback extends string> = Def extends {
4
3
  key: infer K extends string;
5
4
  } ? K : Fallback;
@@ -66,5 +65,4 @@ export declare function defineWorkflowExecutionPolicy<const N extends string, co
66
65
  * });
67
66
  */
68
67
  export declare function defineWorkflowExecutionPolicies<T extends Record<string, ExecutionPolicyInstance>>(builder: (define: <const D extends ExecutionPolicyDefInput | undefined = undefined>(def?: D) => ResolvedExecutionPolicyInstance<ResolveKey<D, string>, ResolveMatchType<D>>) => T, options?: ExecutionPolicyGroupOptions): T;
69
- //#endregion
70
68
  export type { ExecutionPolicyConcurrency, ExecutionPolicyDefInput, ExecutionPolicyExactInstance, ExecutionPolicyGroupOptions, ExecutionPolicyInstance, ExecutionPolicyWildcardInstance, ResolvedExecutionPolicyInstance };
@@ -1,5 +1,4 @@
1
1
  import { ExecutionPolicyKey } from "../../../runtime/workflow.mjs";
2
- //#region src/configure/services/workflow/execution-policy.types.d.ts
3
2
  /**
4
3
  * Optional per-key concurrency cap applied to job function dispatches that
5
4
  * resolve to a policy's `executionPolicyKey`.
@@ -99,5 +98,4 @@ export interface ExecutionPolicyGroupOptions {
99
98
  */
100
99
  separator?: string;
101
100
  }
102
- //#endregion
103
101
  export {};