@tailor-platform/sdk 2.14.0 → 2.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/{application-CiN_er9X.mjs → application-BAqZFMWP.mjs} +9 -9
  3. package/dist/application-BAqZFMWP.mjs.map +1 -0
  4. package/dist/application-BKlOiD1x.mjs +1 -0
  5. package/dist/cli/commands/api/api-call.d.mts +4 -5
  6. package/dist/cli/commands/deploy/config-id-injector.d.mts +3 -4
  7. package/dist/cli/commands/deploy/deploy.d.mts +3 -4
  8. package/dist/cli/commands/deploy/function-registry-types.d.mts +2 -3
  9. package/dist/cli/commands/executor/get.d.mts +3 -4
  10. package/dist/cli/commands/executor/jobs.d.mts +10 -11
  11. package/dist/cli/commands/executor/list.d.mts +3 -4
  12. package/dist/cli/commands/executor/transform.d.mts +6 -7
  13. package/dist/cli/commands/executor/trigger.d.mts +4 -5
  14. package/dist/cli/commands/executor/webhook.d.mts +4 -5
  15. package/dist/cli/commands/function/get.d.mts +3 -4
  16. package/dist/cli/commands/function/list.d.mts +3 -4
  17. package/dist/cli/commands/function/transform.d.mts +2 -3
  18. package/dist/cli/commands/generate/options.d.mts +2 -3
  19. package/dist/cli/commands/generate/seed/bundler.d.mts +3 -4
  20. package/dist/cli/commands/generate/service.d.mts +2 -3
  21. package/dist/cli/commands/machineuser/list.d.mts +4 -5
  22. package/dist/cli/commands/machineuser/token.d.mts +4 -5
  23. package/dist/cli/commands/oauth2client/get.d.mts +3 -4
  24. package/dist/cli/commands/oauth2client/list.d.mts +3 -4
  25. package/dist/cli/commands/oauth2client/transform.d.mts +3 -4
  26. package/dist/cli/commands/organization/folder/create.d.mts +3 -4
  27. package/dist/cli/commands/organization/folder/delete.d.mts +3 -4
  28. package/dist/cli/commands/organization/folder/get.d.mts +3 -4
  29. package/dist/cli/commands/organization/folder/list.d.mts +3 -4
  30. package/dist/cli/commands/organization/folder/update.d.mts +3 -4
  31. package/dist/cli/commands/organization/get.d.mts +3 -4
  32. package/dist/cli/commands/organization/list.d.mts +3 -4
  33. package/dist/cli/commands/organization/transform.d.mts +5 -6
  34. package/dist/cli/commands/organization/tree.d.mts +3 -4
  35. package/dist/cli/commands/organization/update.d.mts +3 -4
  36. package/dist/cli/commands/remove.d.mts +3 -4
  37. package/dist/cli/commands/show.d.mts +6 -7
  38. package/dist/cli/commands/staticwebsite/deploy.d.mts +3 -4
  39. package/dist/cli/commands/tailordb/migrate/bundler.d.mts +3 -4
  40. package/dist/cli/commands/tailordb/migrate/config.d.mts +3 -4
  41. package/dist/cli/commands/tailordb/migrate/diff-calculator.d.mts +34 -35
  42. package/dist/cli/commands/tailordb/migrate/generate.d.mts +3 -4
  43. package/dist/cli/commands/tailordb/migrate/rename-detection.d.mts +3 -4
  44. package/dist/cli/commands/tailordb/migrate/snapshot-comparison.d.mts +4 -5
  45. package/dist/cli/commands/tailordb/migrate/snapshot-files.d.mts +13 -14
  46. package/dist/cli/commands/tailordb/migrate/snapshot-local.d.mts +2 -3
  47. package/dist/cli/commands/tailordb/migrate/snapshot-migrations.d.mts +2 -3
  48. package/dist/cli/commands/tailordb/migrate/snapshot-types.d.mts +21 -22
  49. package/dist/cli/commands/tailordb/migrate/types.d.mts +2 -3
  50. package/dist/cli/commands/tailordb/truncate.d.mts +3 -4
  51. package/dist/cli/commands/workflow/executions.d.mts +8 -9
  52. package/dist/cli/commands/workflow/get.d.mts +3 -4
  53. package/dist/cli/commands/workflow/list.d.mts +3 -4
  54. package/dist/cli/commands/workflow/resume.d.mts +4 -5
  55. package/dist/cli/commands/workflow/start.d.mts +5 -6
  56. package/dist/cli/commands/workflow/status.d.mts +3 -4
  57. package/dist/cli/commands/workflow/transform.d.mts +5 -6
  58. package/dist/cli/commands/workflow/wait.d.mts +3 -4
  59. package/dist/cli/commands/workflow/waiter.d.mts +3 -4
  60. package/dist/cli/commands/workspace/app/health.d.mts +3 -4
  61. package/dist/cli/commands/workspace/app/list.d.mts +3 -4
  62. package/dist/cli/commands/workspace/app/transform.d.mts +3 -4
  63. package/dist/cli/commands/workspace/create.d.mts +3 -4
  64. package/dist/cli/commands/workspace/delete.d.mts +3 -4
  65. package/dist/cli/commands/workspace/get.d.mts +3 -4
  66. package/dist/cli/commands/workspace/list.d.mts +3 -4
  67. package/dist/cli/commands/workspace/restore.d.mts +3 -4
  68. package/dist/cli/commands/workspace/transform.d.mts +3 -4
  69. package/dist/cli/commands/workspace/user/invite.d.mts +3 -4
  70. package/dist/cli/commands/workspace/user/list.d.mts +3 -4
  71. package/dist/cli/commands/workspace/user/remove.d.mts +3 -4
  72. package/dist/cli/commands/workspace/user/transform.d.mts +2 -3
  73. package/dist/cli/commands/workspace/user/update.d.mts +3 -4
  74. package/dist/cli/lib.mjs +1 -1
  75. package/dist/cli/main.d.mts +2 -3
  76. package/dist/cli/main.mjs +18 -18
  77. package/dist/cli/main.mjs.map +1 -1
  78. package/dist/cli/query/index.d.mts +2 -3
  79. package/dist/cli/shared/args.d.mts +11 -12
  80. package/dist/cli/shared/beta.d.mts +2 -3
  81. package/dist/cli/shared/client.d.mts +4 -5
  82. package/dist/cli/shared/command.d.mts +2 -3
  83. package/dist/cli/shared/config-loader.d.mts +5 -6
  84. package/dist/cli/shared/config.d.mts +2 -3
  85. package/dist/cli/shared/context.d.mts +3 -4
  86. package/dist/cli/shared/error-json.d.mts +4 -5
  87. package/dist/cli/shared/logger.d.mts +7 -8
  88. package/dist/cli/shared/prompt.d.mts +7 -8
  89. package/dist/cli/shared/readonly-guard.d.mts +2 -3
  90. package/dist/cli/shared/script-executor.d.mts +7 -8
  91. package/dist/cli/shared/seed-chunker.d.mts +5 -6
  92. package/dist/cli/shared/seed-context.d.mts +5 -5
  93. package/dist/cli/shared/tailordb-namespaces.d.mts +5 -6
  94. package/dist/cli/shared/type-generator.d.mts +2 -3
  95. package/dist/cli/shared/workspace-name.d.mts +2 -3
  96. package/dist/completion/zsh-worker.zsh +1 -1
  97. package/dist/configure/config/index.d.mts +3 -4
  98. package/dist/configure/config/types.d.mts +14 -15
  99. package/dist/configure/index.d.mts +6 -6
  100. package/dist/configure/services/aigateway/index.d.mts +2 -2
  101. package/dist/configure/services/aigateway/types.d.mts +4 -5
  102. package/dist/configure/services/auth/index.d.mts +3 -3
  103. package/dist/configure/services/auth/types.d.mts +24 -25
  104. package/dist/configure/services/executor/executor.d.mts +3 -4
  105. package/dist/configure/services/executor/operation.d.mts +6 -7
  106. package/dist/configure/services/executor/trigger/event.d.mts +56 -57
  107. package/dist/configure/services/executor/trigger/index.d.mts +2 -2
  108. package/dist/configure/services/executor/trigger/schedule.d.mts +4 -5
  109. package/dist/configure/services/executor/trigger/webhook.d.mts +8 -9
  110. package/dist/configure/services/http-adapter/http-adapter.d.mts +12 -13
  111. package/dist/configure/services/idp/index.d.mts +2 -2
  112. package/dist/configure/services/idp/permission.d.mts +4 -5
  113. package/dist/configure/services/idp/types.d.mts +5 -6
  114. package/dist/configure/services/resolver/permission.d.mts +4 -5
  115. package/dist/configure/services/resolver/resolver.d.mts +3 -4
  116. package/dist/configure/services/resolver/types.d.mts +2 -3
  117. package/dist/configure/services/secrets/index.d.mts +3 -3
  118. package/dist/configure/services/secrets/types.d.mts +3 -4
  119. package/dist/configure/services/staticwebsite/index.d.mts +2 -2
  120. package/dist/configure/services/staticwebsite/types.d.mts +3 -4
  121. package/dist/configure/services/tailordb/permission.d.mts +6 -7
  122. package/dist/configure/services/tailordb/schema.d.mts +7 -8
  123. package/dist/configure/services/tailordb/types.d.mts +25 -26
  124. package/dist/configure/services/workflow/execution-policy.d.mts +3 -3
  125. package/dist/configure/services/workflow/execution-policy.types.d.mts +8 -9
  126. package/dist/configure/services/workflow/job.d.mts +4 -5
  127. package/dist/configure/services/workflow/wait-point.d.mts +5 -6
  128. package/dist/configure/services/workflow/workflow.d.mts +4 -4
  129. package/dist/configure/types/aigateway-name.d.mts +3 -4
  130. package/dist/configure/types/auth-namespace-name.d.mts +3 -4
  131. package/dist/configure/types/connection-name.d.mts +3 -4
  132. package/dist/configure/types/field.d.mts +3 -4
  133. package/dist/configure/types/field.types.d.mts +13 -14
  134. package/dist/configure/types/idp-name.d.mts +3 -4
  135. package/dist/configure/types/permission-operand.types.d.mts +7 -8
  136. package/dist/configure/types/type.d.mts +3 -4
  137. package/dist/kysely/index.d.mts +18 -18
  138. package/dist/parser/service/idp/types.d.mts +2 -3
  139. package/dist/parser/service/tailordb/type-source.d.mts +2 -3
  140. package/dist/parser/service/tailordb/types.d.mts +13 -14
  141. package/dist/plugin/builtin/enum-constants/index.d.mts +3 -4
  142. package/dist/plugin/builtin/file-utils/index.d.mts +3 -4
  143. package/dist/plugin/builtin/kysely-type/index.d.mts +4 -5
  144. package/dist/plugin/builtin/seed/index.d.mts +4 -5
  145. package/dist/plugin/builtin/seed/seed-type-processor.d.mts +2 -3
  146. package/dist/plugin/get-generated-table.d.mts +2 -3
  147. package/dist/plugin/index.mjs +1 -1
  148. package/dist/plugin/index.mjs.map +1 -1
  149. package/dist/plugin/types.d.mts +29 -29
  150. package/dist/plugin/with-context.d.mts +9 -10
  151. package/dist/{register-ts-hook-DS1zYiCV.mjs → register-ts-hook-Cphn4r8s.mjs} +44 -44
  152. package/dist/register-ts-hook-Cphn4r8s.mjs.map +1 -0
  153. package/dist/runtime/aigateway.d.mts +4 -5
  154. package/dist/runtime/authconnection.d.mts +3 -4
  155. package/dist/runtime/context.d.mts +6 -7
  156. package/dist/runtime/date.d.mts +2 -3
  157. package/dist/runtime/field-parse.d.mts +2 -3
  158. package/dist/runtime/file.d.mts +14 -15
  159. package/dist/runtime/globals.d.mts +2 -1
  160. package/dist/runtime/iconv.d.mts +5 -6
  161. package/dist/runtime/idp.d.mts +14 -15
  162. package/dist/runtime/index.d.mts +7 -7
  163. package/dist/runtime/logger.d.mts +10 -11
  164. package/dist/runtime/secretmanager.d.mts +3 -4
  165. package/dist/runtime/types.d.mts +7 -8
  166. package/dist/runtime/workflow.d.mts +7 -8
  167. package/dist/seed/index.d.mts +3 -3
  168. package/dist/{service_pb-CxHztLk1.mjs → service_pb-BdzjiHfC.mjs} +2 -2
  169. package/dist/{service_pb-CxHztLk1.mjs.map → service_pb-BdzjiHfC.mjs.map} +1 -1
  170. package/dist/service_pb-p68oLtp9.mjs +1 -0
  171. package/dist/shared/src/color.d.mts +2 -3
  172. package/dist/tailor-proto/src/tailor/v1/aigateway_pb.d.mts +21 -22
  173. package/dist/tailor-proto/src/tailor/v1/aigateway_resource_pb.d.mts +2 -3
  174. package/dist/tailor-proto/src/tailor/v1/application_pb.d.mts +35 -36
  175. package/dist/tailor-proto/src/tailor/v1/application_resource_pb.d.mts +6 -7
  176. package/dist/tailor-proto/src/tailor/v1/auth_pb.d.mts +229 -230
  177. package/dist/tailor-proto/src/tailor/v1/auth_resource_pb.d.mts +40 -41
  178. package/dist/tailor-proto/src/tailor/v1/events_pb.d.mts +9 -10
  179. package/dist/tailor-proto/src/tailor/v1/events_resource_pb.d.mts +3 -4
  180. package/dist/tailor-proto/src/tailor/v1/executor_pb.d.mts +45 -46
  181. package/dist/tailor-proto/src/tailor/v1/executor_resource_pb.d.mts +24 -25
  182. package/dist/tailor-proto/src/tailor/v1/function_pb.d.mts +17 -18
  183. package/dist/tailor-proto/src/tailor/v1/function_registry_pb.d.mts +29 -30
  184. package/dist/tailor-proto/src/tailor/v1/function_resource_pb.d.mts +8 -9
  185. package/dist/tailor-proto/src/tailor/v1/http_adapter_resource_pb.d.mts +2 -3
  186. package/dist/tailor-proto/src/tailor/v1/idp_pb.d.mts +37 -38
  187. package/dist/tailor-proto/src/tailor/v1/idp_resource_pb.d.mts +18 -15
  188. package/dist/tailor-proto/src/tailor/v1/metadata_pb.d.mts +19 -20
  189. package/dist/tailor-proto/src/tailor/v1/metadata_resource_pb.d.mts +2 -3
  190. package/dist/tailor-proto/src/tailor/v1/meter_pb.d.mts +25 -26
  191. package/dist/tailor-proto/src/tailor/v1/pipeline_pb.d.mts +59 -60
  192. package/dist/tailor-proto/src/tailor/v1/pipeline_resource_pb.d.mts +10 -11
  193. package/dist/tailor-proto/src/tailor/v1/resource_pb.d.mts +7 -8
  194. package/dist/tailor-proto/src/tailor/v1/secret_manager_pb.d.mts +37 -38
  195. package/dist/tailor-proto/src/tailor/v1/secret_manager_resource_pb.d.mts +4 -5
  196. package/dist/tailor-proto/src/tailor/v1/service_pb.d.mts +6 -7
  197. package/dist/tailor-proto/src/tailor/v1/stateflow_pb.d.mts +21 -22
  198. package/dist/tailor-proto/src/tailor/v1/stateflow_resource_pb.d.mts +3 -4
  199. package/dist/tailor-proto/src/tailor/v1/staticwebsite_pb.d.mts +50 -51
  200. package/dist/tailor-proto/src/tailor/v1/staticwebsite_resource_pb.d.mts +4 -5
  201. package/dist/tailor-proto/src/tailor/v1/tailordb_pb.d.mts +74 -75
  202. package/dist/tailor-proto/src/tailor/v1/tailordb_resource_pb.d.mts +35 -36
  203. package/dist/tailor-proto/src/tailor/v1/telemetryrouter_pb.d.mts +41 -42
  204. package/dist/tailor-proto/src/tailor/v1/telemetryrouter_resource_pb.d.mts +11 -12
  205. package/dist/tailor-proto/src/tailor/v1/workflow_pb.d.mts +97 -98
  206. package/dist/tailor-proto/src/tailor/v1/workflow_resource_pb.d.mts +11 -12
  207. package/dist/tailor-proto/src/tailor/v1/workspace_pb.d.mts +209 -210
  208. package/dist/tailor-proto/src/tailor/v1/workspace_resource_pb.d.mts +24 -25
  209. package/dist/types/aigateway.generated.d.mts +3 -4
  210. package/dist/types/app-config.generated.d.mts +2 -3
  211. package/dist/types/auth-connection.generated.d.mts +3 -4
  212. package/dist/types/auth.generated.d.mts +15 -16
  213. package/dist/types/executor.generated.d.mts +26 -27
  214. package/dist/types/helpers.d.mts +15 -13
  215. package/dist/types/http-adapter.generated.d.mts +2 -3
  216. package/dist/types/idp.generated.d.mts +7 -8
  217. package/dist/types/resolver.generated.d.mts +4 -5
  218. package/dist/types/secrets.generated.d.mts +3 -4
  219. package/dist/types/staticwebsite.generated.d.mts +3 -4
  220. package/dist/types/tailordb.generated.d.mts +7 -8
  221. package/dist/types/workflow.generated.d.mts +3 -4
  222. package/dist/utils/test/index.d.mts +3 -4
  223. package/dist/vitest/index.d.mts +2 -2
  224. package/dist/vitest/mock-kysely.d.mts +4 -5
  225. package/dist/vitest/mocks/aigateway.d.mts +3 -4
  226. package/dist/vitest/mocks/authconnection.d.mts +3 -4
  227. package/dist/vitest/mocks/file.d.mts +3 -4
  228. package/dist/vitest/mocks/iconv.d.mts +3 -4
  229. package/dist/vitest/mocks/idp.d.mts +3 -4
  230. package/dist/vitest/mocks/logger.d.mts +3 -4
  231. package/dist/vitest/mocks/secretmanager.d.mts +3 -4
  232. package/dist/vitest/mocks/tailordb-pglite.d.mts +4 -5
  233. package/dist/vitest/mocks/tailordb.d.mts +6 -7
  234. package/dist/vitest/mocks/workflow.d.mts +2 -3
  235. package/dist/vitest/pglite-kysely.d.mts +5 -6
  236. package/dist/vitest/setup.d.mts +6 -7
  237. package/dist/vitest/workflow-local.d.mts +5 -6
  238. package/dist/{workspace_resource_pb-u9bj6p3i.mjs → workspace_resource_pb-C4EY-Gns.mjs} +2 -2
  239. package/dist/{workspace_resource_pb-u9bj6p3i.mjs.map → workspace_resource_pb-C4EY-Gns.mjs.map} +1 -1
  240. package/docs/services/idp.md +6 -3
  241. package/package.json +12 -12
  242. package/dist/application-CiN_er9X.mjs.map +0 -1
  243. package/dist/application-_8rjQRx8.mjs +0 -1
  244. package/dist/register-ts-hook-DS1zYiCV.mjs.map +0 -1
  245. package/dist/service_pb-CFVlGYdr.mjs +0 -1
@@ -33,6 +33,5 @@ type QueryDispatchResult = SQLQueryDispatchResult | GQLQueryDispatchResult;
33
33
  * @param options - Query command options
34
34
  * @returns Dispatch result
35
35
  */
36
- declare function query(options: QueryOptions): Promise<QueryDispatchResult>;
37
- //#endregion
38
- export { query };
36
+ export declare function query(options: QueryOptions): Promise<QueryDispatchResult>;
37
+ //#endregion
@@ -4,11 +4,11 @@ import { z } from "zod";
4
4
  /**
5
5
  * Schema for sort order (`asc` or `desc`).
6
6
  */
7
- declare const orderArg: z.ZodEnum<{
7
+ export declare const orderArg: z.ZodEnum<{
8
8
  asc: "asc";
9
9
  desc: "desc";
10
10
  }>;
11
- type Order = z.infer<typeof orderArg>;
11
+ export type Order = z.infer<typeof orderArg>;
12
12
  type EnvFileArg = string | string[] | undefined;
13
13
  /**
14
14
  * Load env files from parsed arguments.
@@ -20,7 +20,7 @@ type EnvFileArg = string | string[] | undefined;
20
20
  * @param envFiles - Required env file path(s) that must exist
21
21
  * @param envFilesIfExists - Optional env file path(s) that are loaded if they exist
22
22
  */
23
- declare function loadEnvFiles(envFiles: EnvFileArg, envFilesIfExists: EnvFileArg): void;
23
+ export declare function loadEnvFiles(envFiles: EnvFileArg, envFilesIfExists: EnvFileArg): void;
24
24
  interface CommonArgsOptions {
25
25
  /** Extra short alias for `--verbose` (e.g. `"v"`), for plugins that need one */
26
26
  verboseAlias?: string;
@@ -36,7 +36,7 @@ interface CommonArgsOptions {
36
36
  * @param options - Per-plugin adjustments to the shared arguments
37
37
  * @returns Argument shape suitable for spreading into a command schema
38
38
  */
39
- declare function createCommonArgs(options?: CommonArgsOptions): {
39
+ export declare function createCommonArgs(options?: CommonArgsOptions): {
40
40
  "env-file": z.ZodOptional<z.ZodString>;
41
41
  "env-file-if-exists": z.ZodOptional<z.ZodString>;
42
42
  verbose: z.ZodDefault<z.ZodBoolean>;
@@ -45,7 +45,7 @@ declare function createCommonArgs(options?: CommonArgsOptions): {
45
45
  /**
46
46
  * Common arguments for all CLI commands
47
47
  */
48
- declare const commonArgs: {
48
+ export declare const commonArgs: {
49
49
  "env-file": z.ZodOptional<z.ZodString>;
50
50
  "env-file-if-exists": z.ZodOptional<z.ZodString>;
51
51
  verbose: z.ZodDefault<z.ZodBoolean>;
@@ -54,20 +54,20 @@ declare const commonArgs: {
54
54
  /**
55
55
  * Arguments for commands that require workspace context
56
56
  */
57
- declare const workspaceArgs: {
57
+ export declare const workspaceArgs: {
58
58
  "workspace-id": z.ZodOptional<z.ZodString>;
59
59
  profile: z.ZodOptional<z.ZodString>;
60
60
  };
61
61
  /**
62
62
  * Shared config arg for commands that accept a config file path
63
63
  */
64
- declare const configArg: {
64
+ export declare const configArg: {
65
65
  config: z.ZodDefault<z.ZodString>;
66
66
  };
67
67
  /**
68
68
  * Arguments for commands that interact with deployed resources (includes config)
69
69
  */
70
- declare const deploymentArgs: {
70
+ export declare const deploymentArgs: {
71
71
  config: z.ZodDefault<z.ZodString>;
72
72
  "workspace-id": z.ZodOptional<z.ZodString>;
73
73
  profile: z.ZodOptional<z.ZodString>;
@@ -75,9 +75,8 @@ declare const deploymentArgs: {
75
75
  /**
76
76
  * Arguments for commands that require confirmation
77
77
  */
78
- declare const confirmationArgs: {
78
+ export declare const confirmationArgs: {
79
79
  yes: z.ZodDefault<z.ZodBoolean>;
80
80
  };
81
- type CommonArgsType = z.infer<z.ZodObject<typeof commonArgs>>;
82
- //#endregion
83
- export { CommonArgsType, Order, commonArgs, configArg, confirmationArgs, createCommonArgs, deploymentArgs, loadEnvFiles, orderArg, workspaceArgs };
81
+ export type CommonArgsType = z.infer<z.ZodObject<typeof commonArgs>>;
82
+ //#endregion
@@ -3,6 +3,5 @@
3
3
  * Warn that a feature is in beta.
4
4
  * @param {string} featureName - Name of the beta feature (e.g., "tailordb migration")
5
5
  */
6
- declare function logBetaWarning(featureName: string): void;
7
- //#endregion
8
- export { logBetaWarning };
6
+ export declare function logBetaWarning(featureName: string): void;
7
+ //#endregion
@@ -20,19 +20,19 @@ import { OperatorService, PingRequestSchema, PingResponseSchema } from "../../ta
20
20
  import "@badgateway/oauth2-client";
21
21
  import { Client } from "@connectrpc/connect";
22
22
  //#region src/cli/shared/client.d.ts
23
- type PlatformClientConfig = {
23
+ export type PlatformClientConfig = {
24
24
  platformUrl?: string;
25
25
  oauth2ClientId?: string;
26
26
  consoleUrl?: string;
27
27
  };
28
- type OperatorClient = Client<typeof OperatorService>;
28
+ export type OperatorClient = Client<typeof OperatorService>;
29
29
  /**
30
30
  * Initialize an Operator client with the given access token.
31
31
  * @param accessToken - Access token for authentication
32
32
  * @param config - Optional platform connection settings
33
33
  * @returns Configured Operator client
34
34
  */
35
- declare function initOperatorClient(accessToken: string, config?: PlatformClientConfig): Promise<Client<import("@bufbuild/protobuf/codegenv2").GenService<{
35
+ export declare function initOperatorClient(accessToken: string, config?: PlatformClientConfig): Promise<Client<import("@bufbuild/protobuf/codegenv2").GenService<{
36
36
  ping: {
37
37
  methodKind: "unary";
38
38
  input: typeof PingRequestSchema;
@@ -1304,5 +1304,4 @@ declare function initOperatorClient(accessToken: string, config?: PlatformClient
1304
1304
  output: typeof DeleteResourceAttributesConfigResponseSchema;
1305
1305
  };
1306
1306
  }>>>;
1307
- //#endregion
1308
- export { OperatorClient, PlatformClientConfig, initOperatorClient };
1307
+ //#endregion
@@ -6,6 +6,5 @@ import { createDefineCommand } from "politty";
6
6
  * Use this for leaf commands with `run` to get type-safe access to global args.
7
7
  * Parent commands with only `subCommands` can use `defineCommand` from politty directly.
8
8
  */
9
- declare const defineAppCommand: ReturnType<typeof createDefineCommand<CommonArgsType>>;
10
- //#endregion
11
- export { defineAppCommand };
9
+ export declare const defineAppCommand: ReturnType<typeof createDefineCommand<CommonArgsType>>;
10
+ //#endregion
@@ -7,14 +7,14 @@ import { AppConfig, EnvValue } from "../../configure/config/types.mjs";
7
7
  * is unwrapped during loading, so nothing downstream can deploy a wrapper
8
8
  * object or the reason string alongside the value.
9
9
  */
10
- type ResolvedEnvAppConfig = Omit<AppConfig, "env"> & {
10
+ export type ResolvedEnvAppConfig = Omit<AppConfig, "env"> & {
11
11
  env?: Record<string, EnvValue>;
12
12
  };
13
13
  /** Loaded configuration with resolved path. */
14
- type LoadedConfig = ResolvedEnvAppConfig & {
14
+ export type LoadedConfig = ResolvedEnvAppConfig & {
15
15
  path: string;
16
16
  };
17
- interface LoadConfigOptions {
17
+ export interface LoadConfigOptions {
18
18
  /** Import cache-busting value for callers that reload the config module after a rebuild. */
19
19
  importNonce?: string;
20
20
  }
@@ -24,9 +24,8 @@ interface LoadConfigOptions {
24
24
  * @param options - Optional module import behavior.
25
25
  * @returns Loaded config, plugins, and config path
26
26
  */
27
- declare function loadConfig(configPath?: string, options?: LoadConfigOptions): Promise<{
27
+ export declare function loadConfig(configPath?: string, options?: LoadConfigOptions): Promise<{
28
28
  config: LoadedConfig;
29
29
  plugins: Plugin[];
30
30
  }>;
31
- //#endregion
32
- export { LoadConfigOptions, LoadedConfig, ResolvedEnvAppConfig, loadConfig };
31
+ //#endregion
@@ -8,6 +8,5 @@ import { LoadedConfig } from "./config-loader.mjs";
8
8
  * @param config - Loaded application configuration.
9
9
  * @returns Owned namespace names in insertion order.
10
10
  */
11
- declare function extractOwnedNamespaces(config: LoadedConfig): string[];
12
- //#endregion
13
- export { extractOwnedNamespaces };
11
+ export declare function extractOwnedNamespaces(config: LoadedConfig): string[];
12
+ //#endregion
@@ -16,7 +16,7 @@ type LoadAccessTokenOptions = {
16
16
  * @param opts - Workspace and profile options
17
17
  * @returns Resolved workspace ID
18
18
  */
19
- declare function loadWorkspaceId(opts?: LoadWorkspaceIdOptions): Promise<string>;
19
+ export declare function loadWorkspaceId(opts?: LoadWorkspaceIdOptions): Promise<string>;
20
20
  /**
21
21
  * Load access token from environment variables, command options, or platform config.
22
22
  * In CLI context, profile env fallback is also handled by politty's arg env option.
@@ -24,6 +24,5 @@ declare function loadWorkspaceId(opts?: LoadWorkspaceIdOptions): Promise<string>
24
24
  * @param opts - Profile options
25
25
  * @returns Resolved access token
26
26
  */
27
- declare function loadAccessToken(opts?: LoadAccessTokenOptions): Promise<string>;
28
- //#endregion
29
- export { loadAccessToken, loadWorkspaceId };
27
+ export declare function loadAccessToken(opts?: LoadAccessTokenOptions): Promise<string>;
28
+ //#endregion
@@ -1,5 +1,5 @@
1
1
  //#region src/cli/shared/error-json.d.ts
2
- interface ErrorToJsonOptions {
2
+ export interface ErrorToJsonOptions {
3
3
  /** Include the original stack trace in the error envelope. */
4
4
  includeStack?: boolean;
5
5
  }
@@ -9,7 +9,7 @@ interface ErrorToJsonOptions {
9
9
  * @param options - JSON serialization options
10
10
  * @returns JSON-compatible error envelope
11
11
  */
12
- declare function errorToJson(error: unknown, options?: ErrorToJsonOptions): {
12
+ export declare function errorToJson(error: unknown, options?: ErrorToJsonOptions): {
13
13
  error: Readonly<Record<string, unknown>>;
14
14
  };
15
15
  /**
@@ -18,6 +18,5 @@ declare function errorToJson(error: unknown, options?: ErrorToJsonOptions): {
18
18
  * @param options - JSON serialization options
19
19
  * @returns Serialized JSON error envelope
20
20
  */
21
- declare function serializeError(error: unknown, options?: ErrorToJsonOptions): string;
22
- //#endregion
23
- export { ErrorToJsonOptions, errorToJson, serializeError };
21
+ export declare function serializeError(error: unknown, options?: ErrorToJsonOptions): string;
22
+ //#endregion
@@ -3,7 +3,7 @@ import { StyleFn } from "../../shared/src/color.mjs";
3
3
  /**
4
4
  * Semantic style functions for inline text styling
5
5
  */
6
- declare const styles: {
6
+ export declare const styles: {
7
7
  success: StyleFn;
8
8
  error: StyleFn;
9
9
  warning: StyleFn;
@@ -27,16 +27,16 @@ declare const styles: {
27
27
  /**
28
28
  * Log output modes
29
29
  */
30
- type LogMode = "default" | "stream" | "plain";
31
- interface LogOptions {
30
+ export type LogMode = "default" | "stream" | "plain";
31
+ export interface LogOptions {
32
32
  /** Output mode (default: "default") */
33
33
  mode?: LogMode;
34
34
  /** Number of spaces to indent the entire line (default: 0) */
35
35
  indent?: number;
36
36
  }
37
37
  /** Field transformer function. null excludes the field from table output. */
38
- type FieldTransformer = ((value: unknown, item: object) => string) | null;
39
- interface OutOptions {
38
+ export type FieldTransformer = ((value: unknown, item: object) => string) | null;
39
+ export interface OutOptions {
40
40
  /** Table display field transform/exclude settings. Only applied in table mode (not JSON). */
41
41
  display?: Record<string, FieldTransformer>;
42
42
  /** Show null values in table output (default: false) */
@@ -48,7 +48,7 @@ interface OutOptions {
48
48
  * `--verbose` feed the `jsonMode` / `verbose` state, which CLI plugins share
49
49
  * with the SDK code paths they call.
50
50
  */
51
- declare const logger: {
51
+ export declare const logger: {
52
52
  jsonMode: boolean;
53
53
  verbose: boolean;
54
54
  info(message: string, opts?: LogOptions): void;
@@ -60,5 +60,4 @@ declare const logger: {
60
60
  debug(message: string): void;
61
61
  out(data: string | object | object[], options?: OutOptions): void;
62
62
  };
63
- //#endregion
64
- export { FieldTransformer, LogMode, LogOptions, OutOptions, logger, styles };
63
+ //#endregion
@@ -1,24 +1,24 @@
1
1
  //#region src/cli/shared/prompt.d.ts
2
2
  /** Options accepted by {@link prompt.confirm}. */
3
- interface ConfirmConfig {
3
+ export interface ConfirmConfig {
4
4
  message: string;
5
5
  default?: boolean;
6
6
  }
7
7
  /** Options accepted by {@link prompt.text}. */
8
- interface TextConfig {
8
+ export interface TextConfig {
9
9
  message: string;
10
10
  default?: string;
11
11
  required?: boolean;
12
12
  validate?: (value: string) => boolean | string | Promise<boolean | string>;
13
13
  }
14
14
  /** Options accepted by {@link prompt.password}. */
15
- interface PasswordConfig {
15
+ export interface PasswordConfig {
16
16
  message: string;
17
17
  mask?: boolean | string;
18
18
  validate?: (value: string) => boolean | string | Promise<boolean | string>;
19
19
  }
20
20
  /** A selectable entry of {@link SelectConfig.choices}. */
21
- interface SelectChoice<Value> {
21
+ export interface SelectChoice<Value> {
22
22
  value: Value;
23
23
  name?: string;
24
24
  description?: string;
@@ -26,7 +26,7 @@ interface SelectChoice<Value> {
26
26
  disabled?: boolean | string;
27
27
  }
28
28
  /** Options accepted by {@link prompt.select}. */
29
- interface SelectConfig<Value> {
29
+ export interface SelectConfig<Value> {
30
30
  message: string;
31
31
  choices: readonly SelectChoice<Value>[];
32
32
  default?: NoInfer<Value>;
@@ -43,11 +43,10 @@ interface SelectConfig<Value> {
43
43
  * named portably from the published declarations (TS2883). They cover the
44
44
  * options this CLI uses — widen them here when a call site needs more.
45
45
  */
46
- declare const prompt: {
46
+ export declare const prompt: {
47
47
  confirm: (config: ConfirmConfig) => Promise<boolean>;
48
48
  text: (config: TextConfig) => Promise<string>;
49
49
  password: (config: PasswordConfig) => Promise<string>;
50
50
  select: <const Value>(config: SelectConfig<Value>) => Promise<Value>;
51
51
  };
52
- //#endregion
53
- export { ConfirmConfig, PasswordConfig, SelectChoice, SelectConfig, TextConfig, prompt };
52
+ //#endregion
@@ -20,6 +20,5 @@ interface AssertWritableOptions {
20
20
  * @param opts - Options
21
21
  * @param opts.profile - Optional explicit profile name from command args
22
22
  */
23
- declare function assertWritable(opts?: AssertWritableOptions): Promise<void>;
24
- //#endregion
25
- export { assertWritable };
23
+ export declare function assertWritable(opts?: AssertWritableOptions): Promise<void>;
24
+ //#endregion
@@ -5,11 +5,11 @@ import { MessageInitShape } from "@bufbuild/protobuf";
5
5
  import { Jsonifiable } from "type-fest";
6
6
  //#region src/cli/shared/script-executor.d.ts
7
7
  /** Authentication context for script execution, provided as a plain object. */
8
- type ScriptInvoker = MessageInitShape<typeof AuthInvokerSchema>;
8
+ export type ScriptInvoker = MessageInitShape<typeof AuthInvokerSchema>;
9
9
  /**
10
10
  * Options for script execution
11
11
  */
12
- interface ScriptExecutionOptions<T extends Jsonifiable = Jsonifiable> {
12
+ export interface ScriptExecutionOptions<T extends Jsonifiable = Jsonifiable> {
13
13
  /** Operator client instance */
14
14
  client: OperatorClient;
15
15
  /** Workspace ID */
@@ -28,7 +28,7 @@ interface ScriptExecutionOptions<T extends Jsonifiable = Jsonifiable> {
28
28
  /**
29
29
  * Result of script execution
30
30
  */
31
- interface ScriptExecutionResult {
31
+ export interface ScriptExecutionResult {
32
32
  /** Whether the script executed successfully */
33
33
  success: boolean;
34
34
  /** Logs output from the script execution */
@@ -41,7 +41,7 @@ interface ScriptExecutionResult {
41
41
  /**
42
42
  * Result from waiting for execution completion
43
43
  */
44
- interface ExecutionWaitResult {
44
+ export interface ExecutionWaitResult {
45
45
  /** Execution status */
46
46
  status: FunctionExecution_Status;
47
47
  /** Logs output from the execution */
@@ -61,7 +61,7 @@ interface ExecutionWaitResult {
61
61
  * @returns {Promise<ExecutionWaitResult>} Execution result
62
62
  * @throws {Error} If execution is not found
63
63
  */
64
- declare function waitForExecution(client: OperatorClient, workspaceId: string, executionId: string, pollInterval?: number): Promise<ExecutionWaitResult>;
64
+ export declare function waitForExecution(client: OperatorClient, workspaceId: string, executionId: string, pollInterval?: number): Promise<ExecutionWaitResult>;
65
65
  /**
66
66
  * Execute a script and wait for completion
67
67
  *
@@ -72,6 +72,5 @@ declare function waitForExecution(client: OperatorClient, workspaceId: string, e
72
72
  * @param {ScriptExecutionOptions} options - Execution options
73
73
  * @returns {Promise<ScriptExecutionResult>} Execution result
74
74
  */
75
- declare function executeScript<T extends Jsonifiable = Jsonifiable>(options: ScriptExecutionOptions<T>): Promise<ScriptExecutionResult>;
76
- //#endregion
77
- export { ExecutionWaitResult, ScriptExecutionOptions, ScriptExecutionResult, ScriptInvoker, executeScript, waitForExecution };
75
+ export declare function executeScript<T extends Jsonifiable = Jsonifiable>(options: ScriptExecutionOptions<T>): Promise<ScriptExecutionResult>;
76
+ //#endregion
@@ -3,11 +3,11 @@ import { JsonObject } from "type-fest";
3
3
  /**
4
4
  * Seed data keyed by table name, with an array of records per table.
5
5
  */
6
- type SeedData = Record<string, JsonObject[]>;
6
+ export type SeedData = Record<string, JsonObject[]>;
7
7
  /**
8
8
  * A single chunk of seed data with metadata for ordered execution.
9
9
  */
10
- type SeedChunk = {
10
+ export type SeedChunk = {
11
11
  data: SeedData;
12
12
  order: string[];
13
13
  index: number;
@@ -16,7 +16,7 @@ type SeedChunk = {
16
16
  /**
17
17
  * Options for chunking seed data.
18
18
  */
19
- type ChunkSeedDataOptions = {
19
+ export type ChunkSeedDataOptions = {
20
20
  /** Seed data keyed by type name */
21
21
  data: SeedData;
22
22
  /** Ordered list of type names (dependency order) */
@@ -40,6 +40,5 @@ type ChunkSeedDataOptions = {
40
40
  * @param options - Chunking options
41
41
  * @returns Array of seed chunks
42
42
  */
43
- declare function chunkSeedData(options: ChunkSeedDataOptions): SeedChunk[];
44
- //#endregion
45
- export { ChunkSeedDataOptions, SeedChunk, SeedData, chunkSeedData };
43
+ export declare function chunkSeedData(options: ChunkSeedDataOptions): SeedChunk[];
44
+ //#endregion
@@ -5,7 +5,7 @@ import { SeedNamespaceConfig } from "../../plugin/builtin/seed/seed-type-process
5
5
  * IdP `_User` seeding context, present when the config uses the built-in IdP
6
6
  * with a user profile type.
7
7
  */
8
- interface SeedIdpUserContext {
8
+ export interface SeedIdpUserContext {
9
9
  /** IdP namespace the `_User` records belong to. */
10
10
  idpNamespace: string;
11
11
  /** Server-side script that creates `_User` records from seed rows. */
@@ -19,7 +19,7 @@ interface SeedIdpUserContext {
19
19
  * Everything a seed run needs from the local config: the seed data location,
20
20
  * per-namespace seeding order, and IdP user context.
21
21
  */
22
- interface SeedContext {
22
+ export interface SeedContext {
23
23
  /** The loaded Tailor config. */
24
24
  config: LoadedConfig;
25
25
  /** Absolute path to the seedPlugin output directory. */
@@ -34,7 +34,7 @@ interface SeedContext {
34
34
  /**
35
35
  * Options for {@link loadSeedContext}.
36
36
  */
37
- interface LoadSeedContextOptions {
37
+ export interface LoadSeedContextOptions {
38
38
  /** Path to tailor.config.ts. Defaults to searching from the current directory. */
39
39
  configPath?: string;
40
40
  }
@@ -46,6 +46,6 @@ interface LoadSeedContextOptions {
46
46
  * @param options - Seed context loading options.
47
47
  * @returns The seed context computed from the local config.
48
48
  */
49
- declare function loadSeedContext(options?: LoadSeedContextOptions): Promise<SeedContext>;
49
+ export declare function loadSeedContext(options?: LoadSeedContextOptions): Promise<SeedContext>;
50
50
  //#endregion
51
- export { LoadSeedContextOptions, SeedContext, SeedIdpUserContext, type SeedNamespaceConfig, loadSeedContext };
51
+ export type { SeedNamespaceConfig };
@@ -7,11 +7,11 @@ import "../services/application.mjs";
7
7
  * names, or a selector deriving them from the loaded config and its plugins.
8
8
  * Returning `undefined` (or omitting the option) loads all owned namespaces.
9
9
  */
10
- type TailorDBNamespaceSelector = string[] | ((config: LoadedConfig, plugins: Plugin[]) => string[] | undefined);
10
+ export type TailorDBNamespaceSelector = string[] | ((config: LoadedConfig, plugins: Plugin[]) => string[] | undefined);
11
11
  /**
12
12
  * Options for {@link loadTailorDBNamespaces}.
13
13
  */
14
- interface LoadTailorDBNamespacesOptions {
14
+ export interface LoadTailorDBNamespacesOptions {
15
15
  /** Path to tailor.config.ts. Defaults to searching from the current directory. */
16
16
  configPath?: string;
17
17
  /** Namespaces to load. Omit to load all owned namespaces. */
@@ -20,7 +20,7 @@ interface LoadTailorDBNamespacesOptions {
20
20
  /**
21
21
  * Result of {@link loadTailorDBNamespaces}.
22
22
  */
23
- interface LoadedTailorDBNamespaces {
23
+ export interface LoadedTailorDBNamespaces {
24
24
  /** The loaded Tailor config. */
25
25
  config: LoadedConfig;
26
26
  /** Plugins collected from the config module's plugin-array exports (typically `definePlugins()`). */
@@ -35,6 +35,5 @@ interface LoadedTailorDBNamespaces {
35
35
  * @param options - Namespace loading options.
36
36
  * @returns The loaded config and TailorDB namespace data.
37
37
  */
38
- declare function loadTailorDBNamespaces(options?: LoadTailorDBNamespacesOptions): Promise<LoadedTailorDBNamespaces>;
39
- //#endregion
40
- export { LoadTailorDBNamespacesOptions, LoadedTailorDBNamespaces, TailorDBNamespaceSelector, loadTailorDBNamespaces };
38
+ export declare function loadTailorDBNamespaces(options?: LoadTailorDBNamespacesOptions): Promise<LoadedTailorDBNamespaces>;
39
+ //#endregion
@@ -15,6 +15,5 @@ interface GenerateUserTypesOptions {
15
15
  * @param options - Generation options
16
16
  * @returns Promise that resolves when types are generated
17
17
  */
18
- declare function generateUserTypes(options: GenerateUserTypesOptions): Promise<void>;
19
- //#endregion
20
- export { generateUserTypes };
18
+ export declare function generateUserTypes(options: GenerateUserTypesOptions): Promise<void>;
19
+ //#endregion
@@ -5,6 +5,5 @@ import { z } from "zod";
5
5
  * lowercase alphanumeric or hyphen characters, not starting or ending with a
6
6
  * hyphen.
7
7
  */
8
- declare const workspaceNameSchema: z.ZodString;
9
- //#endregion
10
- export { workspaceNameSchema };
8
+ export declare const workspaceNameSchema: z.ZodString;
9
+ //#endregion
@@ -1,5 +1,5 @@
1
1
  # politty-completion-version: 1
2
- # politty-bin-sig: 1788827458
2
+ # politty-bin-sig: 1788846647
3
3
  # politty-bin-path: /home/runner/work/sdk/sdk/node_modules/.bin/tailor
4
4
  # program: tailor
5
5
  # shell: zsh
@@ -8,7 +8,7 @@ import { AppConfig } from "./types.mjs";
8
8
  * @param config - Application configuration
9
9
  * @returns The same configuration object
10
10
  */
11
- declare function defineConfig<const Config extends AppConfig & Record<Exclude<keyof Config, keyof AppConfig>, never>>(config: Config): Config;
11
+ export declare function defineConfig<const Config extends AppConfig & Record<Exclude<keyof Config, keyof AppConfig>, never>>(config: Config): Config;
12
12
  /**
13
13
  * Define plugins to be used with the Tailor SDK.
14
14
  * Plugins can generate additional tables, resolvers, and executors
@@ -16,6 +16,5 @@ declare function defineConfig<const Config extends AppConfig & Record<Exclude<ke
16
16
  * @param configs - Plugin configurations
17
17
  * @returns Plugin configurations as given
18
18
  */
19
- declare function definePlugins(...configs: Plugin<any, any>[]): Plugin<any, any, Record<string, TailorAnyDBField>>[];
20
- //#endregion
21
- export { defineConfig, definePlugins };
19
+ export declare function definePlugins(...configs: Plugin<any, any>[]): Plugin<any, any, Record<string, TailorAnyDBField>>[];
20
+ //#endregion
@@ -8,10 +8,10 @@ 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
10
  //#region src/configure/config/types.d.ts
11
- type LogLevel = LogLevelEnum;
12
- type LogLevelInput = LogLevel | (string & {});
11
+ export type LogLevel = LogLevelEnum;
12
+ export type LogLevelInput = LogLevel | (string & {});
13
13
  /** Value an `env` entry resolves to at runtime. */
14
- type EnvValue = string | number | boolean;
14
+ export type EnvValue = string | number | boolean;
15
15
  /**
16
16
  * An `env` value that credential detection flags, allowed through together with
17
17
  * the reason it is safe to deploy as plaintext.
@@ -25,19 +25,19 @@ type AllowedSecretEnvValue = {
25
25
  allowSecretReason: string;
26
26
  };
27
27
  /** An entry of `defineConfig({ env })`. */
28
- type EnvEntry = EnvValue | AllowedSecretEnvValue;
28
+ export type EnvEntry = EnvValue | AllowedSecretEnvValue;
29
29
  /** `files`/`ignores` patterns are resolved relative to this config's own directory, not the invocation directory. */
30
- type ExecutorServiceConfig = {
30
+ export type ExecutorServiceConfig = {
31
31
  files: string[];
32
32
  ignores?: string[];
33
33
  };
34
- type ExecutorServiceInput = ExecutorServiceConfig;
34
+ export type ExecutorServiceInput = ExecutorServiceConfig;
35
35
  /** `files`/`ignores` patterns are resolved relative to this config's own directory, not the invocation directory. */
36
- type HttpAdapterServiceInput = {
36
+ export type HttpAdapterServiceInput = {
37
37
  files: string[];
38
38
  ignores?: string[];
39
39
  };
40
- type ResolverServiceConfig = {
40
+ export type ResolverServiceConfig = {
41
41
  /** `files`/`ignores` patterns are resolved relative to this config's own directory, not the invocation directory. */
42
42
  files: string[];
43
43
  ignores?: string[];
@@ -52,13 +52,13 @@ type ResolverServiceConfig = {
52
52
  */
53
53
  defaultPermission?: ResolverPermission;
54
54
  };
55
- type ResolverExternalConfig = {
55
+ export type ResolverExternalConfig = {
56
56
  external: true;
57
57
  };
58
- type ResolverServiceInput = {
58
+ export type ResolverServiceInput = {
59
59
  [namespace: string]: ResolverServiceConfig | ResolverExternalConfig;
60
60
  };
61
- type WorkflowServiceConfig = {
61
+ export type WorkflowServiceConfig = {
62
62
  /** Resolved relative to this config's own directory, not the invocation directory. */
63
63
  files: string[];
64
64
  job_files?: string[];
@@ -67,7 +67,7 @@ type WorkflowServiceConfig = {
67
67
  /** Workspace-level execution policies for workflow job functions. */
68
68
  executionPolicies?: Record<string, ExecutionPolicyInstance>;
69
69
  };
70
- type WorkflowServiceInput = WorkflowServiceConfig;
70
+ export type WorkflowServiceInput = WorkflowServiceConfig;
71
71
  /**
72
72
  * Application configuration for `defineConfig()`.
73
73
  *
@@ -80,7 +80,7 @@ type WorkflowServiceInput = WorkflowServiceConfig;
80
80
  * - `aiGateways`: Array of AI Gateway configs, e.g. `[gateway]`
81
81
  * - `db`, `resolver`, `executor`, `workflow`, `httpAdapter`: Service configs with file globs (resolved relative to this config file's own directory, not the invocation directory)
82
82
  */
83
- interface AppConfig<Auth extends AuthConfig = AuthConfig, Idp extends IdPConfig[] = IdPConfig[], StaticWebsites extends StaticWebsiteConfig[] = StaticWebsiteConfig[], AIGateways extends AIGatewayConfig[] = AIGatewayConfig[], Env extends Record<string, EnvEntry> = Record<string, EnvEntry>> {
83
+ export interface AppConfig<Auth extends AuthConfig = AuthConfig, Idp extends IdPConfig[] = IdPConfig[], StaticWebsites extends StaticWebsiteConfig[] = StaticWebsiteConfig[], AIGateways extends AIGatewayConfig[] = AIGatewayConfig[], Env extends Record<string, EnvEntry> = Record<string, EnvEntry>> {
84
84
  /** Application name (required). */
85
85
  name: string;
86
86
  /**
@@ -141,5 +141,4 @@ interface AppConfig<Auth extends AuthConfig = AuthConfig, Idp extends IdPConfig[
141
141
  */
142
142
  logLevel?: LogLevelInput;
143
143
  }
144
- //#endregion
145
- export { AppConfig, EnvEntry, EnvValue, ExecutorServiceConfig, ExecutorServiceInput, HttpAdapterServiceInput, LogLevel, LogLevelInput, ResolverExternalConfig, ResolverServiceConfig, ResolverServiceInput, WorkflowServiceConfig, WorkflowServiceInput };
144
+ //#endregion