@relayfx/sdk 0.3.6 → 0.4.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 (96) hide show
  1. package/dist/ai.js +1 -1
  2. package/dist/http-server.js +1 -1
  3. package/dist/{index-mtvz1bjn.js → index-3w6txjtg.js} +63 -426
  4. package/dist/{index-2vsf6dks.js → index-cs3be24t.js} +1 -1
  5. package/dist/{index-e02krw55.js → index-p43mg4kt.js} +5882 -5127
  6. package/dist/{index-8fpd6kvj.js → index-x32kbvxv.js} +1004 -970
  7. package/dist/index.js +487 -22
  8. package/dist/migrations/20260719120000_rename_entity_to_resident/migration.sql +9 -0
  9. package/dist/migrations/mysql/0012_rename_entity_to_resident.sql +5 -0
  10. package/dist/migrations/pg/20260719120000_rename_entity_to_resident/migration.sql +9 -0
  11. package/dist/migrations/sqlite/0012_rename_entity_to_resident.sql +7 -0
  12. package/dist/mysql.js +18 -5
  13. package/dist/postgres.js +569 -550
  14. package/dist/sqlite.js +16 -5
  15. package/dist/types/relay/client-baton-agent.d.ts +30 -0
  16. package/dist/types/relay/client-child-runs.d.ts +35 -0
  17. package/dist/types/relay/client-error-mapping.d.ts +5 -0
  18. package/dist/types/relay/client-event-sequence.d.ts +3 -0
  19. package/dist/types/relay/client-execution-payloads.d.ts +12 -0
  20. package/dist/types/relay/client-public-agents.d.ts +15 -0
  21. package/dist/types/relay/client-public-child-runs.d.ts +9 -0
  22. package/dist/types/relay/client-public-envelope-ready.d.ts +6 -0
  23. package/dist/types/relay/client-public-executions.d.ts +247 -0
  24. package/dist/types/relay/client-public-messaging.d.ts +18 -0
  25. package/dist/types/relay/client-public-residents.d.ts +14 -0
  26. package/dist/types/relay/client-public-schedules.d.ts +6 -0
  27. package/dist/types/relay/client-public-tools.d.ts +12 -0
  28. package/dist/types/relay/client-public-workflows.d.ts +10 -0
  29. package/dist/types/relay/client-public.d.ts +133 -313
  30. package/dist/types/relay/client-runtime-wake.d.ts +10 -0
  31. package/dist/types/relay/client-tool-outcome.d.ts +16 -0
  32. package/dist/types/relay/client-view-mappers.d.ts +16 -0
  33. package/dist/types/relay/client-wait-signal.d.ts +5 -0
  34. package/dist/types/relay/client.d.ts +118 -1
  35. package/dist/types/relay/command.d.ts +6 -6
  36. package/dist/types/relay/http-server.d.ts +55 -37
  37. package/dist/types/relay/index.d.ts +3 -4
  38. package/dist/types/relay/internal-client.d.ts +5 -5
  39. package/dist/types/relay/mysql-migrations.d.ts +1 -1
  40. package/dist/types/relay/operation.d.ts +44 -41
  41. package/dist/types/relay/sqlite-migrations.d.ts +6 -1
  42. package/dist/types/runtime/address/address-resolution-service.d.ts +3 -0
  43. package/dist/types/runtime/agent/agent-loop-events.d.ts +24 -0
  44. package/dist/types/runtime/agent/relay-tool-executor.d.ts +2 -2
  45. package/dist/types/runtime/agent/sequence-allocator.d.ts +1 -0
  46. package/dist/types/runtime/execution/event-log-memory.d.ts +7 -0
  47. package/dist/types/runtime/execution/event-log-repository.d.ts +8 -0
  48. package/dist/types/runtime/execution/event-log-service.d.ts +3 -1
  49. package/dist/types/runtime/index.d.ts +2 -2
  50. package/dist/types/runtime/resident/resident-instance-service.d.ts +76 -0
  51. package/dist/types/runtime/resident/resident-registry-service.d.ts +35 -0
  52. package/dist/types/runtime/runner/runner-runtime-service.d.ts +14 -14
  53. package/dist/types/runtime/tool/tool-runtime-contract.d.ts +4 -1
  54. package/dist/types/runtime/workflow/execution-workflow-state.d.ts +43 -0
  55. package/dist/types/runtime/workflow/execution-workflow.d.ts +6 -0
  56. package/dist/types/schema/agent-schema.d.ts +24 -0
  57. package/dist/types/schema/execution-schema.d.ts +5 -2
  58. package/dist/types/schema/ids-schema.d.ts +6 -6
  59. package/dist/types/schema/index.d.ts +1 -1
  60. package/dist/types/schema/{entity-schema.d.ts → resident-schema.d.ts} +6 -6
  61. package/dist/types/store-sql/envelope/envelope-ready-records.d.ts +51 -0
  62. package/dist/types/store-sql/envelope/envelope-records.d.ts +43 -0
  63. package/dist/types/store-sql/envelope/envelope-repository.d.ts +1 -2
  64. package/dist/types/store-sql/envelope/wait-records.d.ts +64 -0
  65. package/dist/types/store-sql/execution/execution-event-repository-memory.d.ts +8 -0
  66. package/dist/types/store-sql/execution/execution-event-repository-sql.d.ts +13 -0
  67. package/dist/types/store-sql/execution/execution-event-repository.d.ts +13 -5
  68. package/dist/types/store-sql/index.d.ts +1 -1
  69. package/dist/types/store-sql/portable.d.ts +1 -1
  70. package/dist/types/store-sql/resident/resident-repository.d.ts +36 -0
  71. package/dist/types/store-sql/schema/address-book-schema.d.ts +131 -0
  72. package/dist/types/store-sql/schema/agent-schema.d.ts +954 -0
  73. package/dist/types/store-sql/schema/communication-schema.d.ts +743 -0
  74. package/dist/types/store-sql/schema/envelope-schema.d.ts +701 -0
  75. package/dist/types/store-sql/schema/execution-schema.d.ts +1119 -0
  76. package/dist/types/store-sql/schema/idempotency-schema.d.ts +161 -0
  77. package/dist/types/store-sql/schema/presence-schema.d.ts +116 -0
  78. package/dist/types/store-sql/schema/relay-schema.d.ts +13 -6684
  79. package/dist/types/store-sql/schema/resident-schema.d.ts +294 -0
  80. package/dist/types/store-sql/schema/schedule-schema.d.ts +282 -0
  81. package/dist/types/store-sql/schema/schema-columns.d.ts +1 -0
  82. package/dist/types/store-sql/schema/session-schema.d.ts +228 -0
  83. package/dist/types/store-sql/schema/tool-schema.d.ts +627 -0
  84. package/dist/types/store-sql/schema/workflow-schema.d.ts +996 -0
  85. package/dist/types/store-sql/schema/workspace-schema.d.ts +338 -0
  86. package/dist/types/store-sql/session/session-entry-records.d.ts +52 -0
  87. package/dist/types/store-sql/session/session-records.d.ts +51 -0
  88. package/dist/types/store-sql/session/session-repository.d.ts +2 -3
  89. package/dist/types/store-sql/tool/tool-attempt-records.d.ts +52 -0
  90. package/dist/types/store-sql/tool/tool-call-records.d.ts +121 -0
  91. package/dist/types/store-sql/tool/tool-call-repository.d.ts +1 -2
  92. package/dist/types/store-sql/tool/tool-work-operations.d.ts +11 -0
  93. package/package.json +3 -3
  94. package/dist/types/runtime/entity/entity-instance-service.d.ts +0 -76
  95. package/dist/types/runtime/entity/entity-registry-service.d.ts +0 -35
  96. package/dist/types/store-sql/entity/entity-repository.d.ts +0 -36
@@ -0,0 +1,996 @@
1
+ export declare const relayWorkflowDefinitionRevisions: import("drizzle-orm/pg-core").PgTableWithColumns<{
2
+ name: "relay_workflow_definition_revisions";
3
+ schema: undefined;
4
+ columns: {
5
+ tenantId: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_definition_revisions", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, string & import("effect/Brand").Brand<"Relay.TenantId">>>>, {
6
+ name: string;
7
+ tableName: "relay_workflow_definition_revisions";
8
+ dataType: "string";
9
+ data: string & import("effect/Brand").Brand<"Relay.TenantId">;
10
+ driverParam: string;
11
+ notNull: true;
12
+ hasDefault: true;
13
+ isPrimaryKey: false;
14
+ isAutoincrement: false;
15
+ hasRuntimeDefault: false;
16
+ enumValues: undefined;
17
+ identity: undefined;
18
+ generated: undefined;
19
+ }>;
20
+ workflowDefinitionId: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_definition_revisions", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, string & import("effect/Brand").Brand<"Relay.WorkflowDefinitionId">>>, {
21
+ name: string;
22
+ tableName: "relay_workflow_definition_revisions";
23
+ dataType: "string";
24
+ data: string & import("effect/Brand").Brand<"Relay.WorkflowDefinitionId">;
25
+ driverParam: string;
26
+ notNull: true;
27
+ hasDefault: false;
28
+ isPrimaryKey: false;
29
+ isAutoincrement: false;
30
+ hasRuntimeDefault: false;
31
+ enumValues: undefined;
32
+ identity: undefined;
33
+ generated: undefined;
34
+ }>;
35
+ revision: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_definition_revisions", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgIntegerBuilder, number>>, {
36
+ name: string;
37
+ tableName: "relay_workflow_definition_revisions";
38
+ dataType: "number int32";
39
+ data: number;
40
+ driverParam: string | number;
41
+ notNull: true;
42
+ hasDefault: false;
43
+ isPrimaryKey: false;
44
+ isAutoincrement: false;
45
+ hasRuntimeDefault: false;
46
+ enumValues: undefined;
47
+ identity: undefined;
48
+ generated: undefined;
49
+ }>;
50
+ digest: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_definition_revisions", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, string>>, {
51
+ name: string;
52
+ tableName: "relay_workflow_definition_revisions";
53
+ dataType: "string";
54
+ data: string;
55
+ driverParam: string;
56
+ notNull: true;
57
+ hasDefault: false;
58
+ isPrimaryKey: false;
59
+ isAutoincrement: false;
60
+ hasRuntimeDefault: false;
61
+ enumValues: undefined;
62
+ identity: undefined;
63
+ generated: undefined;
64
+ }>;
65
+ definitionJson: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_definition_revisions", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgJsonbBuilder, {
66
+ readonly version: 1;
67
+ readonly name: string;
68
+ readonly entry_operation_id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
69
+ readonly operations: readonly (import("effect/Schema").Struct.ReadonlySide<{
70
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
71
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
72
+ };
73
+ readonly kind: import("effect/Schema").Literal<"sequence">;
74
+ readonly operations: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
75
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
76
+ }>;
77
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
78
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
79
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
80
+ };
81
+ readonly kind: import("effect/Schema").Literal<"approval">;
82
+ readonly prompt: import("effect/Schema").String;
83
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
84
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
85
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
86
+ };
87
+ readonly kind: import("effect/Schema").Literal<"timer">;
88
+ readonly duration_ms: import("effect/Schema").Int;
89
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
90
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
91
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
92
+ };
93
+ readonly kind: import("effect/Schema").Literal<"branch">;
94
+ readonly condition: import("effect/Schema").String;
95
+ readonly when_true: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
96
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
97
+ };
98
+ readonly when_false: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
99
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
100
+ };
101
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
102
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
103
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
104
+ };
105
+ readonly kind: import("effect/Schema").Literal<"parallel">;
106
+ readonly operations: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
107
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
108
+ }>;
109
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
110
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
111
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
112
+ };
113
+ readonly kind: import("effect/Schema").Literal<"join">;
114
+ readonly operations: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
115
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
116
+ }>;
117
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
118
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
119
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
120
+ };
121
+ readonly kind: import("effect/Schema").Literal<"retry">;
122
+ readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
123
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
124
+ };
125
+ readonly max_attempts: import("effect/Schema").Int;
126
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
127
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
128
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
129
+ };
130
+ readonly kind: import("effect/Schema").Literal<"budget">;
131
+ readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
132
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
133
+ };
134
+ readonly limit: import("effect/Schema").Int;
135
+ readonly unit: import("effect/Schema").Literals<readonly ["tokens", "milliseconds", "operations"]>;
136
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
137
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
138
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
139
+ };
140
+ readonly kind: import("effect/Schema").Literal<"compensation">;
141
+ readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
142
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
143
+ };
144
+ readonly compensate_with: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
145
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
146
+ };
147
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
148
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
149
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
150
+ };
151
+ readonly kind: import("effect/Schema").Literal<"structured-completion">;
152
+ readonly schema_ref: import("effect/Schema").String;
153
+ readonly value_from: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
154
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
155
+ };
156
+ }, "Type"> | {
157
+ readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
158
+ readonly kind: "child";
159
+ readonly workflow_id: string & import("effect/Brand").Brand<"Relay.WorkflowDefinitionId">;
160
+ readonly input?: import("effect/Schema").Json;
161
+ } | {
162
+ readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
163
+ readonly kind: "tool";
164
+ readonly tool_name: string;
165
+ readonly input?: import("effect/Schema").Json;
166
+ } | {
167
+ readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
168
+ readonly kind: "cancellation";
169
+ readonly operation: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
170
+ readonly on_cancel?: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
171
+ })[];
172
+ readonly metadata?: {
173
+ readonly [x: string]: import("effect/Schema").Json;
174
+ };
175
+ } | {
176
+ readonly version: 2;
177
+ readonly name: string;
178
+ readonly entry_operation_id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
179
+ readonly operations: readonly (import("effect/Schema").Struct.ReadonlySide<{
180
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
181
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
182
+ };
183
+ readonly kind: import("effect/Schema").Literal<"sequence">;
184
+ readonly operations: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
185
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
186
+ }>;
187
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
188
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
189
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
190
+ };
191
+ readonly kind: import("effect/Schema").Literal<"approval">;
192
+ readonly prompt: import("effect/Schema").String;
193
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
194
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
195
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
196
+ };
197
+ readonly kind: import("effect/Schema").Literal<"timer">;
198
+ readonly duration_ms: import("effect/Schema").Int;
199
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
200
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
201
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
202
+ };
203
+ readonly kind: import("effect/Schema").Literal<"branch">;
204
+ readonly condition: import("effect/Schema").String;
205
+ readonly when_true: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
206
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
207
+ };
208
+ readonly when_false: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
209
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
210
+ };
211
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
212
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
213
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
214
+ };
215
+ readonly kind: import("effect/Schema").Literal<"parallel">;
216
+ readonly fan_out_key: import("effect/Schema").String;
217
+ readonly operations: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
218
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
219
+ }>;
220
+ readonly max_concurrency: import("effect/Schema").Int;
221
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
222
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
223
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
224
+ };
225
+ readonly kind: import("effect/Schema").Literal<"join">;
226
+ readonly parallel_operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
227
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
228
+ };
229
+ readonly members: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
230
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
231
+ }>;
232
+ readonly policy: import("effect/Schema").Union<readonly [import("effect/Schema").TaggedStruct<"all", {}>, import("effect/Schema").TaggedStruct<"first-success", {}>, import("effect/Schema").TaggedStruct<"quorum", {
233
+ readonly count: import("effect/Schema").Int;
234
+ }>, import("effect/Schema").TaggedStruct<"best-effort", {}>]>;
235
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
236
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
237
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
238
+ };
239
+ readonly kind: import("effect/Schema").Literal<"retry">;
240
+ readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
241
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
242
+ };
243
+ readonly max_attempts: import("effect/Schema").Int;
244
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
245
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
246
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
247
+ };
248
+ readonly kind: import("effect/Schema").Literal<"budget">;
249
+ readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
250
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
251
+ };
252
+ readonly limit: import("effect/Schema").Int;
253
+ readonly unit: import("effect/Schema").Literals<readonly ["tokens", "milliseconds", "operations"]>;
254
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
255
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
256
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
257
+ };
258
+ readonly kind: import("effect/Schema").Literal<"compensation">;
259
+ readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
260
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
261
+ };
262
+ readonly compensate_with: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
263
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
264
+ };
265
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
266
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
267
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
268
+ };
269
+ readonly kind: import("effect/Schema").Literal<"structured-completion">;
270
+ readonly schema_ref: import("effect/Schema").String;
271
+ readonly value_from: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
272
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
273
+ };
274
+ }, "Type"> | {
275
+ readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
276
+ readonly kind: "child";
277
+ readonly address_id: string & import("effect/Brand").Brand<"Relay.AddressId">;
278
+ readonly preset_name?: string;
279
+ readonly input?: import("effect/Schema").Json;
280
+ } | {
281
+ readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
282
+ readonly kind: "tool";
283
+ readonly tool_name: string;
284
+ readonly input?: import("effect/Schema").Json;
285
+ } | {
286
+ readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
287
+ readonly kind: "cancellation";
288
+ readonly operation: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
289
+ readonly on_cancel?: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
290
+ })[];
291
+ readonly metadata?: {
292
+ readonly [x: string]: import("effect/Schema").Json;
293
+ };
294
+ }>>, {
295
+ name: string;
296
+ tableName: "relay_workflow_definition_revisions";
297
+ dataType: "object json";
298
+ data: {
299
+ readonly version: 1;
300
+ readonly name: string;
301
+ readonly entry_operation_id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
302
+ readonly operations: readonly (import("effect/Schema").Struct.ReadonlySide<{
303
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
304
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
305
+ };
306
+ readonly kind: import("effect/Schema").Literal<"sequence">;
307
+ readonly operations: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
308
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
309
+ }>;
310
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
311
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
312
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
313
+ };
314
+ readonly kind: import("effect/Schema").Literal<"approval">;
315
+ readonly prompt: import("effect/Schema").String;
316
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
317
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
318
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
319
+ };
320
+ readonly kind: import("effect/Schema").Literal<"timer">;
321
+ readonly duration_ms: import("effect/Schema").Int;
322
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
323
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
324
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
325
+ };
326
+ readonly kind: import("effect/Schema").Literal<"branch">;
327
+ readonly condition: import("effect/Schema").String;
328
+ readonly when_true: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
329
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
330
+ };
331
+ readonly when_false: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
332
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
333
+ };
334
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
335
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
336
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
337
+ };
338
+ readonly kind: import("effect/Schema").Literal<"parallel">;
339
+ readonly operations: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
340
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
341
+ }>;
342
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
343
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
344
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
345
+ };
346
+ readonly kind: import("effect/Schema").Literal<"join">;
347
+ readonly operations: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
348
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
349
+ }>;
350
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
351
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
352
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
353
+ };
354
+ readonly kind: import("effect/Schema").Literal<"retry">;
355
+ readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
356
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
357
+ };
358
+ readonly max_attempts: import("effect/Schema").Int;
359
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
360
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
361
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
362
+ };
363
+ readonly kind: import("effect/Schema").Literal<"budget">;
364
+ readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
365
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
366
+ };
367
+ readonly limit: import("effect/Schema").Int;
368
+ readonly unit: import("effect/Schema").Literals<readonly ["tokens", "milliseconds", "operations"]>;
369
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
370
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
371
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
372
+ };
373
+ readonly kind: import("effect/Schema").Literal<"compensation">;
374
+ readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
375
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
376
+ };
377
+ readonly compensate_with: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
378
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
379
+ };
380
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
381
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
382
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
383
+ };
384
+ readonly kind: import("effect/Schema").Literal<"structured-completion">;
385
+ readonly schema_ref: import("effect/Schema").String;
386
+ readonly value_from: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
387
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
388
+ };
389
+ }, "Type"> | {
390
+ readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
391
+ readonly kind: "child";
392
+ readonly workflow_id: string & import("effect/Brand").Brand<"Relay.WorkflowDefinitionId">;
393
+ readonly input?: import("effect/Schema").Json;
394
+ } | {
395
+ readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
396
+ readonly kind: "tool";
397
+ readonly tool_name: string;
398
+ readonly input?: import("effect/Schema").Json;
399
+ } | {
400
+ readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
401
+ readonly kind: "cancellation";
402
+ readonly operation: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
403
+ readonly on_cancel?: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
404
+ })[];
405
+ readonly metadata?: {
406
+ readonly [x: string]: import("effect/Schema").Json;
407
+ };
408
+ } | {
409
+ readonly version: 2;
410
+ readonly name: string;
411
+ readonly entry_operation_id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
412
+ readonly operations: readonly (import("effect/Schema").Struct.ReadonlySide<{
413
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
414
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
415
+ };
416
+ readonly kind: import("effect/Schema").Literal<"sequence">;
417
+ readonly operations: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
418
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
419
+ }>;
420
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
421
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
422
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
423
+ };
424
+ readonly kind: import("effect/Schema").Literal<"approval">;
425
+ readonly prompt: import("effect/Schema").String;
426
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
427
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
428
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
429
+ };
430
+ readonly kind: import("effect/Schema").Literal<"timer">;
431
+ readonly duration_ms: import("effect/Schema").Int;
432
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
433
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
434
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
435
+ };
436
+ readonly kind: import("effect/Schema").Literal<"branch">;
437
+ readonly condition: import("effect/Schema").String;
438
+ readonly when_true: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
439
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
440
+ };
441
+ readonly when_false: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
442
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
443
+ };
444
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
445
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
446
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
447
+ };
448
+ readonly kind: import("effect/Schema").Literal<"parallel">;
449
+ readonly fan_out_key: import("effect/Schema").String;
450
+ readonly operations: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
451
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
452
+ }>;
453
+ readonly max_concurrency: import("effect/Schema").Int;
454
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
455
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
456
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
457
+ };
458
+ readonly kind: import("effect/Schema").Literal<"join">;
459
+ readonly parallel_operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
460
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
461
+ };
462
+ readonly members: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
463
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
464
+ }>;
465
+ readonly policy: import("effect/Schema").Union<readonly [import("effect/Schema").TaggedStruct<"all", {}>, import("effect/Schema").TaggedStruct<"first-success", {}>, import("effect/Schema").TaggedStruct<"quorum", {
466
+ readonly count: import("effect/Schema").Int;
467
+ }>, import("effect/Schema").TaggedStruct<"best-effort", {}>]>;
468
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
469
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
470
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
471
+ };
472
+ readonly kind: import("effect/Schema").Literal<"retry">;
473
+ readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
474
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
475
+ };
476
+ readonly max_attempts: import("effect/Schema").Int;
477
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
478
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
479
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
480
+ };
481
+ readonly kind: import("effect/Schema").Literal<"budget">;
482
+ readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
483
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
484
+ };
485
+ readonly limit: import("effect/Schema").Int;
486
+ readonly unit: import("effect/Schema").Literals<readonly ["tokens", "milliseconds", "operations"]>;
487
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
488
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
489
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
490
+ };
491
+ readonly kind: import("effect/Schema").Literal<"compensation">;
492
+ readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
493
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
494
+ };
495
+ readonly compensate_with: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
496
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
497
+ };
498
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
499
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
500
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
501
+ };
502
+ readonly kind: import("effect/Schema").Literal<"structured-completion">;
503
+ readonly schema_ref: import("effect/Schema").String;
504
+ readonly value_from: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
505
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
506
+ };
507
+ }, "Type"> | {
508
+ readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
509
+ readonly kind: "child";
510
+ readonly address_id: string & import("effect/Brand").Brand<"Relay.AddressId">;
511
+ readonly preset_name?: string;
512
+ readonly input?: import("effect/Schema").Json;
513
+ } | {
514
+ readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
515
+ readonly kind: "tool";
516
+ readonly tool_name: string;
517
+ readonly input?: import("effect/Schema").Json;
518
+ } | {
519
+ readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
520
+ readonly kind: "cancellation";
521
+ readonly operation: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
522
+ readonly on_cancel?: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
523
+ })[];
524
+ readonly metadata?: {
525
+ readonly [x: string]: import("effect/Schema").Json;
526
+ };
527
+ };
528
+ driverParam: unknown;
529
+ notNull: true;
530
+ hasDefault: false;
531
+ isPrimaryKey: false;
532
+ isAutoincrement: false;
533
+ hasRuntimeDefault: false;
534
+ enumValues: undefined;
535
+ identity: undefined;
536
+ generated: undefined;
537
+ }>;
538
+ createdAt: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_definition_revisions", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTimestampBuilder>>, {
539
+ name: string;
540
+ tableName: "relay_workflow_definition_revisions";
541
+ dataType: "object date";
542
+ data: Date;
543
+ driverParam: string;
544
+ notNull: true;
545
+ hasDefault: true;
546
+ isPrimaryKey: false;
547
+ isAutoincrement: false;
548
+ hasRuntimeDefault: false;
549
+ enumValues: undefined;
550
+ identity: undefined;
551
+ generated: undefined;
552
+ }>;
553
+ };
554
+ dialect: 'pg';
555
+ }>;
556
+ export declare const relayWorkflowRuns: import("drizzle-orm/pg-core").PgTableWithColumns<{
557
+ name: "relay_workflow_runs";
558
+ schema: undefined;
559
+ columns: {
560
+ tenantId: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_runs", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, string & import("effect/Brand").Brand<"Relay.TenantId">>>>, {
561
+ name: string;
562
+ tableName: "relay_workflow_runs";
563
+ dataType: "string";
564
+ data: string & import("effect/Brand").Brand<"Relay.TenantId">;
565
+ driverParam: string;
566
+ notNull: true;
567
+ hasDefault: true;
568
+ isPrimaryKey: false;
569
+ isAutoincrement: false;
570
+ hasRuntimeDefault: false;
571
+ enumValues: undefined;
572
+ identity: undefined;
573
+ generated: undefined;
574
+ }>;
575
+ executionId: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_runs", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, string & import("effect/Brand").Brand<"Relay.ExecutionId">>>, {
576
+ name: string;
577
+ tableName: "relay_workflow_runs";
578
+ dataType: "string";
579
+ data: string & import("effect/Brand").Brand<"Relay.ExecutionId">;
580
+ driverParam: string;
581
+ notNull: true;
582
+ hasDefault: false;
583
+ isPrimaryKey: false;
584
+ isAutoincrement: false;
585
+ hasRuntimeDefault: false;
586
+ enumValues: undefined;
587
+ identity: undefined;
588
+ generated: undefined;
589
+ }>;
590
+ workflowDefinitionId: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_runs", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, string & import("effect/Brand").Brand<"Relay.WorkflowDefinitionId">>>, {
591
+ name: string;
592
+ tableName: "relay_workflow_runs";
593
+ dataType: "string";
594
+ data: string & import("effect/Brand").Brand<"Relay.WorkflowDefinitionId">;
595
+ driverParam: string;
596
+ notNull: true;
597
+ hasDefault: false;
598
+ isPrimaryKey: false;
599
+ isAutoincrement: false;
600
+ hasRuntimeDefault: false;
601
+ enumValues: undefined;
602
+ identity: undefined;
603
+ generated: undefined;
604
+ }>;
605
+ workflowDefinitionRevision: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_runs", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgIntegerBuilder, number>>, {
606
+ name: string;
607
+ tableName: "relay_workflow_runs";
608
+ dataType: "number int32";
609
+ data: number;
610
+ driverParam: string | number;
611
+ notNull: true;
612
+ hasDefault: false;
613
+ isPrimaryKey: false;
614
+ isAutoincrement: false;
615
+ hasRuntimeDefault: false;
616
+ enumValues: undefined;
617
+ identity: undefined;
618
+ generated: undefined;
619
+ }>;
620
+ workflowDefinitionDigest: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_runs", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, string>>, {
621
+ name: string;
622
+ tableName: "relay_workflow_runs";
623
+ dataType: "string";
624
+ data: string;
625
+ driverParam: string;
626
+ notNull: true;
627
+ hasDefault: false;
628
+ isPrimaryKey: false;
629
+ isAutoincrement: false;
630
+ hasRuntimeDefault: false;
631
+ enumValues: undefined;
632
+ identity: undefined;
633
+ generated: undefined;
634
+ }>;
635
+ status: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_runs", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, "cancelled" | "completed" | "failed" | "running">>, {
636
+ name: string;
637
+ tableName: "relay_workflow_runs";
638
+ dataType: "string";
639
+ data: "cancelled" | "completed" | "failed" | "running";
640
+ driverParam: string;
641
+ notNull: true;
642
+ hasDefault: false;
643
+ isPrimaryKey: false;
644
+ isAutoincrement: false;
645
+ hasRuntimeDefault: false;
646
+ enumValues: undefined;
647
+ identity: undefined;
648
+ generated: undefined;
649
+ }>;
650
+ createdAt: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_runs", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTimestampBuilder>>, {
651
+ name: string;
652
+ tableName: "relay_workflow_runs";
653
+ dataType: "object date";
654
+ data: Date;
655
+ driverParam: string;
656
+ notNull: true;
657
+ hasDefault: true;
658
+ isPrimaryKey: false;
659
+ isAutoincrement: false;
660
+ hasRuntimeDefault: false;
661
+ enumValues: undefined;
662
+ identity: undefined;
663
+ generated: undefined;
664
+ }>;
665
+ updatedAt: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_runs", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTimestampBuilder>>, {
666
+ name: string;
667
+ tableName: "relay_workflow_runs";
668
+ dataType: "object date";
669
+ data: Date;
670
+ driverParam: string;
671
+ notNull: true;
672
+ hasDefault: true;
673
+ isPrimaryKey: false;
674
+ isAutoincrement: false;
675
+ hasRuntimeDefault: false;
676
+ enumValues: undefined;
677
+ identity: undefined;
678
+ generated: undefined;
679
+ }>;
680
+ };
681
+ dialect: 'pg';
682
+ }>;
683
+ export declare const relayWorkflowOperationStates: import("drizzle-orm/pg-core").PgTableWithColumns<{
684
+ name: "relay_workflow_operation_states";
685
+ schema: undefined;
686
+ columns: {
687
+ tenantId: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_operation_states", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, string & import("effect/Brand").Brand<"Relay.TenantId">>>>, {
688
+ name: string;
689
+ tableName: "relay_workflow_operation_states";
690
+ dataType: "string";
691
+ data: string & import("effect/Brand").Brand<"Relay.TenantId">;
692
+ driverParam: string;
693
+ notNull: true;
694
+ hasDefault: true;
695
+ isPrimaryKey: false;
696
+ isAutoincrement: false;
697
+ hasRuntimeDefault: false;
698
+ enumValues: undefined;
699
+ identity: undefined;
700
+ generated: undefined;
701
+ }>;
702
+ executionId: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_operation_states", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, string & import("effect/Brand").Brand<"Relay.ExecutionId">>>, {
703
+ name: string;
704
+ tableName: "relay_workflow_operation_states";
705
+ dataType: "string";
706
+ data: string & import("effect/Brand").Brand<"Relay.ExecutionId">;
707
+ driverParam: string;
708
+ notNull: true;
709
+ hasDefault: false;
710
+ isPrimaryKey: false;
711
+ isAutoincrement: false;
712
+ hasRuntimeDefault: false;
713
+ enumValues: undefined;
714
+ identity: undefined;
715
+ generated: undefined;
716
+ }>;
717
+ operationId: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_operation_states", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">>>, {
718
+ name: string;
719
+ tableName: "relay_workflow_operation_states";
720
+ dataType: "string";
721
+ data: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
722
+ driverParam: string;
723
+ notNull: true;
724
+ hasDefault: false;
725
+ isPrimaryKey: false;
726
+ isAutoincrement: false;
727
+ hasRuntimeDefault: false;
728
+ enumValues: undefined;
729
+ identity: undefined;
730
+ generated: undefined;
731
+ }>;
732
+ status: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_operation_states", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
733
+ name: string;
734
+ tableName: "relay_workflow_operation_states";
735
+ dataType: "string";
736
+ data: string;
737
+ driverParam: string;
738
+ notNull: true;
739
+ hasDefault: false;
740
+ isPrimaryKey: false;
741
+ isAutoincrement: false;
742
+ hasRuntimeDefault: false;
743
+ enumValues: undefined;
744
+ identity: undefined;
745
+ generated: undefined;
746
+ }>;
747
+ fanOutId: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_operation_states", import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, {
748
+ name: string;
749
+ tableName: "relay_workflow_operation_states";
750
+ dataType: "string";
751
+ data: string;
752
+ driverParam: string;
753
+ notNull: false;
754
+ hasDefault: false;
755
+ isPrimaryKey: false;
756
+ isAutoincrement: false;
757
+ hasRuntimeDefault: false;
758
+ enumValues: undefined;
759
+ identity: undefined;
760
+ generated: undefined;
761
+ }>;
762
+ decision: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_operation_states", import("drizzle-orm/pg-core").PgBooleanBuilder, {
763
+ name: string;
764
+ tableName: "relay_workflow_operation_states";
765
+ dataType: "boolean";
766
+ data: boolean;
767
+ driverParam: boolean;
768
+ notNull: false;
769
+ hasDefault: false;
770
+ isPrimaryKey: false;
771
+ isAutoincrement: false;
772
+ hasRuntimeDefault: false;
773
+ enumValues: undefined;
774
+ identity: undefined;
775
+ generated: undefined;
776
+ }>;
777
+ outputJson: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_operation_states", import("drizzle-orm/pg-core").PgJsonbBuilder, {
778
+ name: string;
779
+ tableName: "relay_workflow_operation_states";
780
+ dataType: "object json";
781
+ data: unknown;
782
+ driverParam: unknown;
783
+ notNull: false;
784
+ hasDefault: false;
785
+ isPrimaryKey: false;
786
+ isAutoincrement: false;
787
+ hasRuntimeDefault: false;
788
+ enumValues: undefined;
789
+ identity: undefined;
790
+ generated: undefined;
791
+ }>;
792
+ attempt: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_operation_states", import("drizzle-orm/pg-core").PgIntegerBuilder, {
793
+ name: string;
794
+ tableName: "relay_workflow_operation_states";
795
+ dataType: "number int32";
796
+ data: number;
797
+ driverParam: string | number;
798
+ notNull: false;
799
+ hasDefault: false;
800
+ isPrimaryKey: false;
801
+ isAutoincrement: false;
802
+ hasRuntimeDefault: false;
803
+ enumValues: undefined;
804
+ identity: undefined;
805
+ generated: undefined;
806
+ }>;
807
+ backoffUntil: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_operation_states", import("drizzle-orm/pg-core").PgTimestampBuilder, {
808
+ name: string;
809
+ tableName: "relay_workflow_operation_states";
810
+ dataType: "object date";
811
+ data: Date;
812
+ driverParam: string;
813
+ notNull: false;
814
+ hasDefault: false;
815
+ isPrimaryKey: false;
816
+ isAutoincrement: false;
817
+ hasRuntimeDefault: false;
818
+ enumValues: undefined;
819
+ identity: undefined;
820
+ generated: undefined;
821
+ }>;
822
+ compensationOperationId: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_operation_states", import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, {
823
+ name: string;
824
+ tableName: "relay_workflow_operation_states";
825
+ dataType: "string";
826
+ data: string;
827
+ driverParam: string;
828
+ notNull: false;
829
+ hasDefault: false;
830
+ isPrimaryKey: false;
831
+ isAutoincrement: false;
832
+ hasRuntimeDefault: false;
833
+ enumValues: undefined;
834
+ identity: undefined;
835
+ generated: undefined;
836
+ }>;
837
+ startedAt: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_operation_states", import("drizzle-orm/pg-core").PgTimestampBuilder, {
838
+ name: string;
839
+ tableName: "relay_workflow_operation_states";
840
+ dataType: "object date";
841
+ data: Date;
842
+ driverParam: string;
843
+ notNull: false;
844
+ hasDefault: false;
845
+ isPrimaryKey: false;
846
+ isAutoincrement: false;
847
+ hasRuntimeDefault: false;
848
+ enumValues: undefined;
849
+ identity: undefined;
850
+ generated: undefined;
851
+ }>;
852
+ completedAt: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_operation_states", import("drizzle-orm/pg-core").PgTimestampBuilder, {
853
+ name: string;
854
+ tableName: "relay_workflow_operation_states";
855
+ dataType: "object date";
856
+ data: Date;
857
+ driverParam: string;
858
+ notNull: false;
859
+ hasDefault: false;
860
+ isPrimaryKey: false;
861
+ isAutoincrement: false;
862
+ hasRuntimeDefault: false;
863
+ enumValues: undefined;
864
+ identity: undefined;
865
+ generated: undefined;
866
+ }>;
867
+ updatedAt: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_operation_states", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTimestampBuilder>, {
868
+ name: string;
869
+ tableName: "relay_workflow_operation_states";
870
+ dataType: "object date";
871
+ data: Date;
872
+ driverParam: string;
873
+ notNull: true;
874
+ hasDefault: false;
875
+ isPrimaryKey: false;
876
+ isAutoincrement: false;
877
+ hasRuntimeDefault: false;
878
+ enumValues: undefined;
879
+ identity: undefined;
880
+ generated: undefined;
881
+ }>;
882
+ };
883
+ dialect: 'pg';
884
+ }>;
885
+ export declare const relayWorkflowLifecycleEvents: import("drizzle-orm/pg-core").PgTableWithColumns<{
886
+ name: "relay_workflow_lifecycle_events";
887
+ schema: undefined;
888
+ columns: {
889
+ tenantId: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_lifecycle_events", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, string & import("effect/Brand").Brand<"Relay.TenantId">>>>, {
890
+ name: string;
891
+ tableName: "relay_workflow_lifecycle_events";
892
+ dataType: "string";
893
+ data: string & import("effect/Brand").Brand<"Relay.TenantId">;
894
+ driverParam: string;
895
+ notNull: true;
896
+ hasDefault: true;
897
+ isPrimaryKey: false;
898
+ isAutoincrement: false;
899
+ hasRuntimeDefault: false;
900
+ enumValues: undefined;
901
+ identity: undefined;
902
+ generated: undefined;
903
+ }>;
904
+ executionId: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_lifecycle_events", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, string & import("effect/Brand").Brand<"Relay.ExecutionId">>>, {
905
+ name: string;
906
+ tableName: "relay_workflow_lifecycle_events";
907
+ dataType: "string";
908
+ data: string & import("effect/Brand").Brand<"Relay.ExecutionId">;
909
+ driverParam: string;
910
+ notNull: true;
911
+ hasDefault: false;
912
+ isPrimaryKey: false;
913
+ isAutoincrement: false;
914
+ hasRuntimeDefault: false;
915
+ enumValues: undefined;
916
+ identity: undefined;
917
+ generated: undefined;
918
+ }>;
919
+ sequence: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_lifecycle_events", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgIntegerBuilder>, {
920
+ name: string;
921
+ tableName: "relay_workflow_lifecycle_events";
922
+ dataType: "number int32";
923
+ data: number;
924
+ driverParam: string | number;
925
+ notNull: true;
926
+ hasDefault: false;
927
+ isPrimaryKey: false;
928
+ isAutoincrement: false;
929
+ hasRuntimeDefault: false;
930
+ enumValues: undefined;
931
+ identity: undefined;
932
+ generated: undefined;
933
+ }>;
934
+ eventType: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_lifecycle_events", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>>, {
935
+ name: string;
936
+ tableName: "relay_workflow_lifecycle_events";
937
+ dataType: "string";
938
+ data: string;
939
+ driverParam: string;
940
+ notNull: true;
941
+ hasDefault: false;
942
+ isPrimaryKey: false;
943
+ isAutoincrement: false;
944
+ hasRuntimeDefault: false;
945
+ enumValues: undefined;
946
+ identity: undefined;
947
+ generated: undefined;
948
+ }>;
949
+ operationId: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_lifecycle_events", import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, {
950
+ name: string;
951
+ tableName: "relay_workflow_lifecycle_events";
952
+ dataType: "string";
953
+ data: string;
954
+ driverParam: string;
955
+ notNull: false;
956
+ hasDefault: false;
957
+ isPrimaryKey: false;
958
+ isAutoincrement: false;
959
+ hasRuntimeDefault: false;
960
+ enumValues: undefined;
961
+ identity: undefined;
962
+ generated: undefined;
963
+ }>;
964
+ dataJson: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_lifecycle_events", import("drizzle-orm/pg-core").PgJsonbBuilder, {
965
+ name: string;
966
+ tableName: "relay_workflow_lifecycle_events";
967
+ dataType: "object json";
968
+ data: unknown;
969
+ driverParam: unknown;
970
+ notNull: false;
971
+ hasDefault: false;
972
+ isPrimaryKey: false;
973
+ isAutoincrement: false;
974
+ hasRuntimeDefault: false;
975
+ enumValues: undefined;
976
+ identity: undefined;
977
+ generated: undefined;
978
+ }>;
979
+ createdAt: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_lifecycle_events", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").PgTimestampBuilder>, {
980
+ name: string;
981
+ tableName: "relay_workflow_lifecycle_events";
982
+ dataType: "object date";
983
+ data: Date;
984
+ driverParam: string;
985
+ notNull: true;
986
+ hasDefault: false;
987
+ isPrimaryKey: false;
988
+ isAutoincrement: false;
989
+ hasRuntimeDefault: false;
990
+ enumValues: undefined;
991
+ identity: undefined;
992
+ generated: undefined;
993
+ }>;
994
+ };
995
+ dialect: 'pg';
996
+ }>;