@inkeep/agents-core 0.58.19 → 0.58.21
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.
- package/dist/auth/auth-schema.d.ts +85 -85
- package/dist/auth/auth-validation-schemas.d.ts +135 -135
- package/dist/auth/auth.d.ts +28 -28
- package/dist/auth/cookie-names.d.ts +7 -0
- package/dist/auth/cookie-names.js +13 -0
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/data-access/manage/skills.d.ts +1 -1
- package/dist/data-access/manage/tools.js +4 -2
- package/dist/data-access/manage/triggers.d.ts +2 -2
- package/dist/data-access/runtime/apiKeys.d.ts +4 -4
- package/dist/data-access/runtime/apps.d.ts +4 -4
- package/dist/data-access/runtime/cascade-delete.d.ts +4 -0
- package/dist/data-access/runtime/cascade-delete.js +27 -1
- package/dist/data-access/runtime/conversations.d.ts +7 -7
- package/dist/data-access/runtime/messages.d.ts +9 -9
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +15 -0
- package/dist/data-access/runtime/tasks.d.ts +2 -2
- package/dist/data-access/runtime/triggerInvocations.d.ts +5 -0
- package/dist/db/manage/manage-schema.d.ts +453 -453
- package/dist/db/runtime/runtime-schema.d.ts +440 -332
- package/dist/db/runtime/runtime-schema.js +4 -0
- package/dist/env.js +7 -0
- package/dist/index.d.ts +4 -1
- package/dist/index.js +4 -1
- package/dist/middleware/no-auth.d.ts +2 -2
- package/dist/utils/env-detection.d.ts +6 -0
- package/dist/utils/env-detection.js +13 -0
- package/dist/utils/index.d.ts +3 -1
- package/dist/utils/index.js +3 -1
- package/dist/utils/work-app-mcp.d.ts +8 -0
- package/dist/utils/work-app-mcp.js +18 -0
- package/dist/validation/dolt-schemas.d.ts +1 -1
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +1554 -3342
- package/dist/validation/schemas.js +7 -6
- package/drizzle/runtime/0023_bumpy_vampiro.sql +4 -0
- package/drizzle/runtime/meta/0023_snapshot.json +4264 -0
- package/drizzle/runtime/meta/_journal.json +7 -0
- package/package.json +9 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Part } from "../../types/a2a.js";
|
|
2
2
|
import { AppType, ConversationMetadata, MessageContent, MessageMetadata, TaskMetadataConfig } from "../../types/utility.js";
|
|
3
3
|
import { account, deviceCode, invitation, member, organization, session, ssoProvider, user, verification } from "../../auth/auth-schema.js";
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
4
|
+
import * as drizzle_orm111 from "drizzle-orm";
|
|
5
|
+
import * as drizzle_orm_pg_core1813 from "drizzle-orm/pg-core";
|
|
6
6
|
|
|
7
7
|
//#region src/db/runtime/runtime-schema.d.ts
|
|
8
8
|
declare namespace runtime_schema_d_exports {
|
|
@@ -15,11 +15,11 @@ declare namespace runtime_schema_d_exports {
|
|
|
15
15
|
*
|
|
16
16
|
* Named 'project_metadata' to avoid conflict with the manage-schema 'projects' table.
|
|
17
17
|
*/
|
|
18
|
-
declare const projectMetadata:
|
|
18
|
+
declare const projectMetadata: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
19
19
|
name: "project_metadata";
|
|
20
20
|
schema: undefined;
|
|
21
21
|
columns: {
|
|
22
|
-
id:
|
|
22
|
+
id: drizzle_orm_pg_core1813.PgColumn<{
|
|
23
23
|
name: "id";
|
|
24
24
|
tableName: "project_metadata";
|
|
25
25
|
dataType: "string";
|
|
@@ -38,7 +38,7 @@ declare const projectMetadata: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
38
38
|
}, {}, {
|
|
39
39
|
length: 256;
|
|
40
40
|
}>;
|
|
41
|
-
tenantId:
|
|
41
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
42
42
|
name: "tenant_id";
|
|
43
43
|
tableName: "project_metadata";
|
|
44
44
|
dataType: "string";
|
|
@@ -57,7 +57,7 @@ declare const projectMetadata: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
57
57
|
}, {}, {
|
|
58
58
|
length: 256;
|
|
59
59
|
}>;
|
|
60
|
-
createdAt:
|
|
60
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
61
61
|
name: "created_at";
|
|
62
62
|
tableName: "project_metadata";
|
|
63
63
|
dataType: "string";
|
|
@@ -74,7 +74,7 @@ declare const projectMetadata: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
74
74
|
identity: undefined;
|
|
75
75
|
generated: undefined;
|
|
76
76
|
}, {}, {}>;
|
|
77
|
-
createdBy:
|
|
77
|
+
createdBy: drizzle_orm_pg_core1813.PgColumn<{
|
|
78
78
|
name: "created_by";
|
|
79
79
|
tableName: "project_metadata";
|
|
80
80
|
dataType: "string";
|
|
@@ -93,7 +93,7 @@ declare const projectMetadata: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
93
93
|
}, {}, {
|
|
94
94
|
length: 256;
|
|
95
95
|
}>;
|
|
96
|
-
mainBranchName:
|
|
96
|
+
mainBranchName: drizzle_orm_pg_core1813.PgColumn<{
|
|
97
97
|
name: "main_branch_name";
|
|
98
98
|
tableName: "project_metadata";
|
|
99
99
|
dataType: "string";
|
|
@@ -115,11 +115,11 @@ declare const projectMetadata: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
115
115
|
};
|
|
116
116
|
dialect: "pg";
|
|
117
117
|
}>;
|
|
118
|
-
declare const conversations:
|
|
118
|
+
declare const conversations: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
119
119
|
name: "conversations";
|
|
120
120
|
schema: undefined;
|
|
121
121
|
columns: {
|
|
122
|
-
createdAt:
|
|
122
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
123
123
|
name: "created_at";
|
|
124
124
|
tableName: "conversations";
|
|
125
125
|
dataType: "string";
|
|
@@ -136,7 +136,7 @@ declare const conversations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
136
136
|
identity: undefined;
|
|
137
137
|
generated: undefined;
|
|
138
138
|
}, {}, {}>;
|
|
139
|
-
updatedAt:
|
|
139
|
+
updatedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
140
140
|
name: "updated_at";
|
|
141
141
|
tableName: "conversations";
|
|
142
142
|
dataType: "string";
|
|
@@ -153,7 +153,7 @@ declare const conversations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
153
153
|
identity: undefined;
|
|
154
154
|
generated: undefined;
|
|
155
155
|
}, {}, {}>;
|
|
156
|
-
userId:
|
|
156
|
+
userId: drizzle_orm_pg_core1813.PgColumn<{
|
|
157
157
|
name: "user_id";
|
|
158
158
|
tableName: "conversations";
|
|
159
159
|
dataType: "string";
|
|
@@ -172,7 +172,7 @@ declare const conversations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
172
172
|
}, {}, {
|
|
173
173
|
length: 256;
|
|
174
174
|
}>;
|
|
175
|
-
agentId:
|
|
175
|
+
agentId: drizzle_orm_pg_core1813.PgColumn<{
|
|
176
176
|
name: "agent_id";
|
|
177
177
|
tableName: "conversations";
|
|
178
178
|
dataType: "string";
|
|
@@ -191,7 +191,7 @@ declare const conversations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
191
191
|
}, {}, {
|
|
192
192
|
length: 256;
|
|
193
193
|
}>;
|
|
194
|
-
activeSubAgentId:
|
|
194
|
+
activeSubAgentId: drizzle_orm_pg_core1813.PgColumn<{
|
|
195
195
|
name: "active_sub_agent_id";
|
|
196
196
|
tableName: "conversations";
|
|
197
197
|
dataType: "string";
|
|
@@ -210,13 +210,13 @@ declare const conversations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
210
210
|
}, {}, {
|
|
211
211
|
length: 256;
|
|
212
212
|
}>;
|
|
213
|
-
ref:
|
|
213
|
+
ref: drizzle_orm_pg_core1813.PgColumn<{
|
|
214
214
|
name: "ref";
|
|
215
215
|
tableName: "conversations";
|
|
216
216
|
dataType: "json";
|
|
217
217
|
columnType: "PgJsonb";
|
|
218
218
|
data: {
|
|
219
|
-
type: "
|
|
219
|
+
type: "commit" | "tag" | "branch";
|
|
220
220
|
name: string;
|
|
221
221
|
hash: string;
|
|
222
222
|
};
|
|
@@ -232,12 +232,12 @@ declare const conversations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
232
232
|
generated: undefined;
|
|
233
233
|
}, {}, {
|
|
234
234
|
$type: {
|
|
235
|
-
type: "
|
|
235
|
+
type: "commit" | "tag" | "branch";
|
|
236
236
|
name: string;
|
|
237
237
|
hash: string;
|
|
238
238
|
};
|
|
239
239
|
}>;
|
|
240
|
-
title:
|
|
240
|
+
title: drizzle_orm_pg_core1813.PgColumn<{
|
|
241
241
|
name: "title";
|
|
242
242
|
tableName: "conversations";
|
|
243
243
|
dataType: "string";
|
|
@@ -254,7 +254,7 @@ declare const conversations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
254
254
|
identity: undefined;
|
|
255
255
|
generated: undefined;
|
|
256
256
|
}, {}, {}>;
|
|
257
|
-
lastContextResolution:
|
|
257
|
+
lastContextResolution: drizzle_orm_pg_core1813.PgColumn<{
|
|
258
258
|
name: "last_context_resolution";
|
|
259
259
|
tableName: "conversations";
|
|
260
260
|
dataType: "string";
|
|
@@ -271,7 +271,7 @@ declare const conversations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
271
271
|
identity: undefined;
|
|
272
272
|
generated: undefined;
|
|
273
273
|
}, {}, {}>;
|
|
274
|
-
metadata:
|
|
274
|
+
metadata: drizzle_orm_pg_core1813.PgColumn<{
|
|
275
275
|
name: "metadata";
|
|
276
276
|
tableName: "conversations";
|
|
277
277
|
dataType: "json";
|
|
@@ -290,7 +290,7 @@ declare const conversations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
290
290
|
}, {}, {
|
|
291
291
|
$type: ConversationMetadata;
|
|
292
292
|
}>;
|
|
293
|
-
projectId:
|
|
293
|
+
projectId: drizzle_orm_pg_core1813.PgColumn<{
|
|
294
294
|
name: "project_id";
|
|
295
295
|
tableName: "conversations";
|
|
296
296
|
dataType: "string";
|
|
@@ -309,7 +309,7 @@ declare const conversations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
309
309
|
}, {}, {
|
|
310
310
|
length: 256;
|
|
311
311
|
}>;
|
|
312
|
-
tenantId:
|
|
312
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
313
313
|
name: "tenant_id";
|
|
314
314
|
tableName: "conversations";
|
|
315
315
|
dataType: "string";
|
|
@@ -328,7 +328,7 @@ declare const conversations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
328
328
|
}, {}, {
|
|
329
329
|
length: 256;
|
|
330
330
|
}>;
|
|
331
|
-
id:
|
|
331
|
+
id: drizzle_orm_pg_core1813.PgColumn<{
|
|
332
332
|
name: "id";
|
|
333
333
|
tableName: "conversations";
|
|
334
334
|
dataType: "string";
|
|
@@ -350,11 +350,11 @@ declare const conversations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
350
350
|
};
|
|
351
351
|
dialect: "pg";
|
|
352
352
|
}>;
|
|
353
|
-
declare const tasks:
|
|
353
|
+
declare const tasks: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
354
354
|
name: "tasks";
|
|
355
355
|
schema: undefined;
|
|
356
356
|
columns: {
|
|
357
|
-
createdAt:
|
|
357
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
358
358
|
name: "created_at";
|
|
359
359
|
tableName: "tasks";
|
|
360
360
|
dataType: "string";
|
|
@@ -371,7 +371,7 @@ declare const tasks: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
371
371
|
identity: undefined;
|
|
372
372
|
generated: undefined;
|
|
373
373
|
}, {}, {}>;
|
|
374
|
-
updatedAt:
|
|
374
|
+
updatedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
375
375
|
name: "updated_at";
|
|
376
376
|
tableName: "tasks";
|
|
377
377
|
dataType: "string";
|
|
@@ -388,7 +388,7 @@ declare const tasks: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
388
388
|
identity: undefined;
|
|
389
389
|
generated: undefined;
|
|
390
390
|
}, {}, {}>;
|
|
391
|
-
contextId:
|
|
391
|
+
contextId: drizzle_orm_pg_core1813.PgColumn<{
|
|
392
392
|
name: "context_id";
|
|
393
393
|
tableName: "tasks";
|
|
394
394
|
dataType: "string";
|
|
@@ -407,13 +407,13 @@ declare const tasks: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
407
407
|
}, {}, {
|
|
408
408
|
length: 256;
|
|
409
409
|
}>;
|
|
410
|
-
ref:
|
|
410
|
+
ref: drizzle_orm_pg_core1813.PgColumn<{
|
|
411
411
|
name: "ref";
|
|
412
412
|
tableName: "tasks";
|
|
413
413
|
dataType: "json";
|
|
414
414
|
columnType: "PgJsonb";
|
|
415
415
|
data: {
|
|
416
|
-
type: "
|
|
416
|
+
type: "commit" | "tag" | "branch";
|
|
417
417
|
name: string;
|
|
418
418
|
hash: string;
|
|
419
419
|
};
|
|
@@ -429,12 +429,12 @@ declare const tasks: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
429
429
|
generated: undefined;
|
|
430
430
|
}, {}, {
|
|
431
431
|
$type: {
|
|
432
|
-
type: "
|
|
432
|
+
type: "commit" | "tag" | "branch";
|
|
433
433
|
name: string;
|
|
434
434
|
hash: string;
|
|
435
435
|
};
|
|
436
436
|
}>;
|
|
437
|
-
status:
|
|
437
|
+
status: drizzle_orm_pg_core1813.PgColumn<{
|
|
438
438
|
name: "status";
|
|
439
439
|
tableName: "tasks";
|
|
440
440
|
dataType: "string";
|
|
@@ -453,7 +453,7 @@ declare const tasks: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
453
453
|
}, {}, {
|
|
454
454
|
length: 256;
|
|
455
455
|
}>;
|
|
456
|
-
metadata:
|
|
456
|
+
metadata: drizzle_orm_pg_core1813.PgColumn<{
|
|
457
457
|
name: "metadata";
|
|
458
458
|
tableName: "tasks";
|
|
459
459
|
dataType: "json";
|
|
@@ -472,7 +472,7 @@ declare const tasks: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
472
472
|
}, {}, {
|
|
473
473
|
$type: TaskMetadataConfig;
|
|
474
474
|
}>;
|
|
475
|
-
subAgentId:
|
|
475
|
+
subAgentId: drizzle_orm_pg_core1813.PgColumn<{
|
|
476
476
|
name: "sub_agent_id";
|
|
477
477
|
tableName: "tasks";
|
|
478
478
|
dataType: "string";
|
|
@@ -491,7 +491,7 @@ declare const tasks: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
491
491
|
}, {}, {
|
|
492
492
|
length: 256;
|
|
493
493
|
}>;
|
|
494
|
-
agentId:
|
|
494
|
+
agentId: drizzle_orm_pg_core1813.PgColumn<{
|
|
495
495
|
name: "agent_id";
|
|
496
496
|
tableName: "tasks";
|
|
497
497
|
dataType: "string";
|
|
@@ -510,7 +510,7 @@ declare const tasks: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
510
510
|
}, {}, {
|
|
511
511
|
length: 256;
|
|
512
512
|
}>;
|
|
513
|
-
projectId:
|
|
513
|
+
projectId: drizzle_orm_pg_core1813.PgColumn<{
|
|
514
514
|
name: "project_id";
|
|
515
515
|
tableName: "tasks";
|
|
516
516
|
dataType: "string";
|
|
@@ -529,7 +529,7 @@ declare const tasks: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
529
529
|
}, {}, {
|
|
530
530
|
length: 256;
|
|
531
531
|
}>;
|
|
532
|
-
tenantId:
|
|
532
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
533
533
|
name: "tenant_id";
|
|
534
534
|
tableName: "tasks";
|
|
535
535
|
dataType: "string";
|
|
@@ -548,7 +548,7 @@ declare const tasks: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
548
548
|
}, {}, {
|
|
549
549
|
length: 256;
|
|
550
550
|
}>;
|
|
551
|
-
id:
|
|
551
|
+
id: drizzle_orm_pg_core1813.PgColumn<{
|
|
552
552
|
name: "id";
|
|
553
553
|
tableName: "tasks";
|
|
554
554
|
dataType: "string";
|
|
@@ -570,11 +570,11 @@ declare const tasks: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
570
570
|
};
|
|
571
571
|
dialect: "pg";
|
|
572
572
|
}>;
|
|
573
|
-
declare const apiKeys:
|
|
573
|
+
declare const apiKeys: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
574
574
|
name: "api_keys";
|
|
575
575
|
schema: undefined;
|
|
576
576
|
columns: {
|
|
577
|
-
createdAt:
|
|
577
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
578
578
|
name: "created_at";
|
|
579
579
|
tableName: "api_keys";
|
|
580
580
|
dataType: "string";
|
|
@@ -591,7 +591,7 @@ declare const apiKeys: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
591
591
|
identity: undefined;
|
|
592
592
|
generated: undefined;
|
|
593
593
|
}, {}, {}>;
|
|
594
|
-
updatedAt:
|
|
594
|
+
updatedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
595
595
|
name: "updated_at";
|
|
596
596
|
tableName: "api_keys";
|
|
597
597
|
dataType: "string";
|
|
@@ -608,7 +608,7 @@ declare const apiKeys: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
608
608
|
identity: undefined;
|
|
609
609
|
generated: undefined;
|
|
610
610
|
}, {}, {}>;
|
|
611
|
-
agentId:
|
|
611
|
+
agentId: drizzle_orm_pg_core1813.PgColumn<{
|
|
612
612
|
name: "agent_id";
|
|
613
613
|
tableName: "api_keys";
|
|
614
614
|
dataType: "string";
|
|
@@ -627,7 +627,7 @@ declare const apiKeys: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
627
627
|
}, {}, {
|
|
628
628
|
length: 256;
|
|
629
629
|
}>;
|
|
630
|
-
publicId:
|
|
630
|
+
publicId: drizzle_orm_pg_core1813.PgColumn<{
|
|
631
631
|
name: "public_id";
|
|
632
632
|
tableName: "api_keys";
|
|
633
633
|
dataType: "string";
|
|
@@ -646,7 +646,7 @@ declare const apiKeys: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
646
646
|
}, {}, {
|
|
647
647
|
length: 256;
|
|
648
648
|
}>;
|
|
649
|
-
keyHash:
|
|
649
|
+
keyHash: drizzle_orm_pg_core1813.PgColumn<{
|
|
650
650
|
name: "key_hash";
|
|
651
651
|
tableName: "api_keys";
|
|
652
652
|
dataType: "string";
|
|
@@ -665,7 +665,7 @@ declare const apiKeys: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
665
665
|
}, {}, {
|
|
666
666
|
length: 256;
|
|
667
667
|
}>;
|
|
668
|
-
keyPrefix:
|
|
668
|
+
keyPrefix: drizzle_orm_pg_core1813.PgColumn<{
|
|
669
669
|
name: "key_prefix";
|
|
670
670
|
tableName: "api_keys";
|
|
671
671
|
dataType: "string";
|
|
@@ -684,7 +684,7 @@ declare const apiKeys: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
684
684
|
}, {}, {
|
|
685
685
|
length: 256;
|
|
686
686
|
}>;
|
|
687
|
-
name:
|
|
687
|
+
name: drizzle_orm_pg_core1813.PgColumn<{
|
|
688
688
|
name: "name";
|
|
689
689
|
tableName: "api_keys";
|
|
690
690
|
dataType: "string";
|
|
@@ -703,7 +703,7 @@ declare const apiKeys: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
703
703
|
}, {}, {
|
|
704
704
|
length: 256;
|
|
705
705
|
}>;
|
|
706
|
-
lastUsedAt:
|
|
706
|
+
lastUsedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
707
707
|
name: "last_used_at";
|
|
708
708
|
tableName: "api_keys";
|
|
709
709
|
dataType: "string";
|
|
@@ -720,7 +720,7 @@ declare const apiKeys: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
720
720
|
identity: undefined;
|
|
721
721
|
generated: undefined;
|
|
722
722
|
}, {}, {}>;
|
|
723
|
-
expiresAt:
|
|
723
|
+
expiresAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
724
724
|
name: "expires_at";
|
|
725
725
|
tableName: "api_keys";
|
|
726
726
|
dataType: "string";
|
|
@@ -737,7 +737,7 @@ declare const apiKeys: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
737
737
|
identity: undefined;
|
|
738
738
|
generated: undefined;
|
|
739
739
|
}, {}, {}>;
|
|
740
|
-
projectId:
|
|
740
|
+
projectId: drizzle_orm_pg_core1813.PgColumn<{
|
|
741
741
|
name: "project_id";
|
|
742
742
|
tableName: "api_keys";
|
|
743
743
|
dataType: "string";
|
|
@@ -756,7 +756,7 @@ declare const apiKeys: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
756
756
|
}, {}, {
|
|
757
757
|
length: 256;
|
|
758
758
|
}>;
|
|
759
|
-
tenantId:
|
|
759
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
760
760
|
name: "tenant_id";
|
|
761
761
|
tableName: "api_keys";
|
|
762
762
|
dataType: "string";
|
|
@@ -775,7 +775,7 @@ declare const apiKeys: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
775
775
|
}, {}, {
|
|
776
776
|
length: 256;
|
|
777
777
|
}>;
|
|
778
|
-
id:
|
|
778
|
+
id: drizzle_orm_pg_core1813.PgColumn<{
|
|
779
779
|
name: "id";
|
|
780
780
|
tableName: "api_keys";
|
|
781
781
|
dataType: "string";
|
|
@@ -797,11 +797,11 @@ declare const apiKeys: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
797
797
|
};
|
|
798
798
|
dialect: "pg";
|
|
799
799
|
}>;
|
|
800
|
-
declare const apps:
|
|
800
|
+
declare const apps: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
801
801
|
name: "apps";
|
|
802
802
|
schema: undefined;
|
|
803
803
|
columns: {
|
|
804
|
-
createdAt:
|
|
804
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
805
805
|
name: "created_at";
|
|
806
806
|
tableName: "apps";
|
|
807
807
|
dataType: "string";
|
|
@@ -818,7 +818,7 @@ declare const apps: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
818
818
|
identity: undefined;
|
|
819
819
|
generated: undefined;
|
|
820
820
|
}, {}, {}>;
|
|
821
|
-
updatedAt:
|
|
821
|
+
updatedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
822
822
|
name: "updated_at";
|
|
823
823
|
tableName: "apps";
|
|
824
824
|
dataType: "string";
|
|
@@ -835,7 +835,7 @@ declare const apps: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
835
835
|
identity: undefined;
|
|
836
836
|
generated: undefined;
|
|
837
837
|
}, {}, {}>;
|
|
838
|
-
id:
|
|
838
|
+
id: drizzle_orm_pg_core1813.PgColumn<{
|
|
839
839
|
name: "id";
|
|
840
840
|
tableName: "apps";
|
|
841
841
|
dataType: "string";
|
|
@@ -854,7 +854,7 @@ declare const apps: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
854
854
|
}, {}, {
|
|
855
855
|
length: 256;
|
|
856
856
|
}>;
|
|
857
|
-
tenantId:
|
|
857
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
858
858
|
name: "tenant_id";
|
|
859
859
|
tableName: "apps";
|
|
860
860
|
dataType: "string";
|
|
@@ -873,7 +873,7 @@ declare const apps: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
873
873
|
}, {}, {
|
|
874
874
|
length: 256;
|
|
875
875
|
}>;
|
|
876
|
-
projectId:
|
|
876
|
+
projectId: drizzle_orm_pg_core1813.PgColumn<{
|
|
877
877
|
name: "project_id";
|
|
878
878
|
tableName: "apps";
|
|
879
879
|
dataType: "string";
|
|
@@ -892,7 +892,7 @@ declare const apps: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
892
892
|
}, {}, {
|
|
893
893
|
length: 256;
|
|
894
894
|
}>;
|
|
895
|
-
name:
|
|
895
|
+
name: drizzle_orm_pg_core1813.PgColumn<{
|
|
896
896
|
name: "name";
|
|
897
897
|
tableName: "apps";
|
|
898
898
|
dataType: "string";
|
|
@@ -911,7 +911,7 @@ declare const apps: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
911
911
|
}, {}, {
|
|
912
912
|
length: 256;
|
|
913
913
|
}>;
|
|
914
|
-
description:
|
|
914
|
+
description: drizzle_orm_pg_core1813.PgColumn<{
|
|
915
915
|
name: "description";
|
|
916
916
|
tableName: "apps";
|
|
917
917
|
dataType: "string";
|
|
@@ -928,7 +928,7 @@ declare const apps: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
928
928
|
identity: undefined;
|
|
929
929
|
generated: undefined;
|
|
930
930
|
}, {}, {}>;
|
|
931
|
-
type:
|
|
931
|
+
type: drizzle_orm_pg_core1813.PgColumn<{
|
|
932
932
|
name: "type";
|
|
933
933
|
tableName: "apps";
|
|
934
934
|
dataType: "string";
|
|
@@ -948,7 +948,7 @@ declare const apps: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
948
948
|
length: 64;
|
|
949
949
|
$type: AppType;
|
|
950
950
|
}>;
|
|
951
|
-
defaultProjectId:
|
|
951
|
+
defaultProjectId: drizzle_orm_pg_core1813.PgColumn<{
|
|
952
952
|
name: "default_project_id";
|
|
953
953
|
tableName: "apps";
|
|
954
954
|
dataType: "string";
|
|
@@ -967,7 +967,7 @@ declare const apps: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
967
967
|
}, {}, {
|
|
968
968
|
length: 256;
|
|
969
969
|
}>;
|
|
970
|
-
defaultAgentId:
|
|
970
|
+
defaultAgentId: drizzle_orm_pg_core1813.PgColumn<{
|
|
971
971
|
name: "default_agent_id";
|
|
972
972
|
tableName: "apps";
|
|
973
973
|
dataType: "string";
|
|
@@ -986,7 +986,7 @@ declare const apps: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
986
986
|
}, {}, {
|
|
987
987
|
length: 256;
|
|
988
988
|
}>;
|
|
989
|
-
enabled:
|
|
989
|
+
enabled: drizzle_orm_pg_core1813.PgColumn<{
|
|
990
990
|
name: "enabled";
|
|
991
991
|
tableName: "apps";
|
|
992
992
|
dataType: "boolean";
|
|
@@ -1003,7 +1003,7 @@ declare const apps: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
1003
1003
|
identity: undefined;
|
|
1004
1004
|
generated: undefined;
|
|
1005
1005
|
}, {}, {}>;
|
|
1006
|
-
config:
|
|
1006
|
+
config: drizzle_orm_pg_core1813.PgColumn<{
|
|
1007
1007
|
name: "config";
|
|
1008
1008
|
tableName: "apps";
|
|
1009
1009
|
dataType: "json";
|
|
@@ -1038,7 +1038,7 @@ declare const apps: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
1038
1038
|
api: Record<string, never>;
|
|
1039
1039
|
};
|
|
1040
1040
|
}>;
|
|
1041
|
-
lastUsedAt:
|
|
1041
|
+
lastUsedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
1042
1042
|
name: "last_used_at";
|
|
1043
1043
|
tableName: "apps";
|
|
1044
1044
|
dataType: "string";
|
|
@@ -1065,11 +1065,11 @@ declare const apps: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
1065
1065
|
* Application code must enforce referential integrity for triggerId.
|
|
1066
1066
|
* Can optionally link to conversations when the trigger creates one.
|
|
1067
1067
|
*/
|
|
1068
|
-
declare const triggerInvocations:
|
|
1068
|
+
declare const triggerInvocations: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
1069
1069
|
name: "trigger_invocations";
|
|
1070
1070
|
schema: undefined;
|
|
1071
1071
|
columns: {
|
|
1072
|
-
triggerId:
|
|
1072
|
+
triggerId: drizzle_orm_pg_core1813.PgColumn<{
|
|
1073
1073
|
name: "trigger_id";
|
|
1074
1074
|
tableName: "trigger_invocations";
|
|
1075
1075
|
dataType: "string";
|
|
@@ -1088,7 +1088,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
1088
1088
|
}, {}, {
|
|
1089
1089
|
length: 256;
|
|
1090
1090
|
}>;
|
|
1091
|
-
conversationId:
|
|
1091
|
+
conversationId: drizzle_orm_pg_core1813.PgColumn<{
|
|
1092
1092
|
name: "conversation_id";
|
|
1093
1093
|
tableName: "trigger_invocations";
|
|
1094
1094
|
dataType: "string";
|
|
@@ -1107,7 +1107,34 @@ declare const triggerInvocations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
1107
1107
|
}, {}, {
|
|
1108
1108
|
length: 256;
|
|
1109
1109
|
}>;
|
|
1110
|
-
|
|
1110
|
+
ref: drizzle_orm_pg_core1813.PgColumn<{
|
|
1111
|
+
name: "ref";
|
|
1112
|
+
tableName: "trigger_invocations";
|
|
1113
|
+
dataType: "json";
|
|
1114
|
+
columnType: "PgJsonb";
|
|
1115
|
+
data: {
|
|
1116
|
+
type: "commit" | "tag" | "branch";
|
|
1117
|
+
name: string;
|
|
1118
|
+
hash: string;
|
|
1119
|
+
};
|
|
1120
|
+
driverParam: unknown;
|
|
1121
|
+
notNull: false;
|
|
1122
|
+
hasDefault: false;
|
|
1123
|
+
isPrimaryKey: false;
|
|
1124
|
+
isAutoincrement: false;
|
|
1125
|
+
hasRuntimeDefault: false;
|
|
1126
|
+
enumValues: undefined;
|
|
1127
|
+
baseColumn: never;
|
|
1128
|
+
identity: undefined;
|
|
1129
|
+
generated: undefined;
|
|
1130
|
+
}, {}, {
|
|
1131
|
+
$type: {
|
|
1132
|
+
type: "commit" | "tag" | "branch";
|
|
1133
|
+
name: string;
|
|
1134
|
+
hash: string;
|
|
1135
|
+
};
|
|
1136
|
+
}>;
|
|
1137
|
+
status: drizzle_orm_pg_core1813.PgColumn<{
|
|
1111
1138
|
name: "status";
|
|
1112
1139
|
tableName: "trigger_invocations";
|
|
1113
1140
|
dataType: "string";
|
|
@@ -1126,7 +1153,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
1126
1153
|
}, {}, {
|
|
1127
1154
|
length: 20;
|
|
1128
1155
|
}>;
|
|
1129
|
-
requestPayload:
|
|
1156
|
+
requestPayload: drizzle_orm_pg_core1813.PgColumn<{
|
|
1130
1157
|
name: "request_payload";
|
|
1131
1158
|
tableName: "trigger_invocations";
|
|
1132
1159
|
dataType: "json";
|
|
@@ -1143,7 +1170,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
1143
1170
|
identity: undefined;
|
|
1144
1171
|
generated: undefined;
|
|
1145
1172
|
}, {}, {}>;
|
|
1146
|
-
transformedPayload:
|
|
1173
|
+
transformedPayload: drizzle_orm_pg_core1813.PgColumn<{
|
|
1147
1174
|
name: "transformed_payload";
|
|
1148
1175
|
tableName: "trigger_invocations";
|
|
1149
1176
|
dataType: "json";
|
|
@@ -1160,7 +1187,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
1160
1187
|
identity: undefined;
|
|
1161
1188
|
generated: undefined;
|
|
1162
1189
|
}, {}, {}>;
|
|
1163
|
-
errorMessage:
|
|
1190
|
+
errorMessage: drizzle_orm_pg_core1813.PgColumn<{
|
|
1164
1191
|
name: "error_message";
|
|
1165
1192
|
tableName: "trigger_invocations";
|
|
1166
1193
|
dataType: "string";
|
|
@@ -1177,7 +1204,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
1177
1204
|
identity: undefined;
|
|
1178
1205
|
generated: undefined;
|
|
1179
1206
|
}, {}, {}>;
|
|
1180
|
-
createdAt:
|
|
1207
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
1181
1208
|
name: "created_at";
|
|
1182
1209
|
tableName: "trigger_invocations";
|
|
1183
1210
|
dataType: "string";
|
|
@@ -1194,7 +1221,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
1194
1221
|
identity: undefined;
|
|
1195
1222
|
generated: undefined;
|
|
1196
1223
|
}, {}, {}>;
|
|
1197
|
-
agentId:
|
|
1224
|
+
agentId: drizzle_orm_pg_core1813.PgColumn<{
|
|
1198
1225
|
name: "agent_id";
|
|
1199
1226
|
tableName: "trigger_invocations";
|
|
1200
1227
|
dataType: "string";
|
|
@@ -1213,7 +1240,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
1213
1240
|
}, {}, {
|
|
1214
1241
|
length: 256;
|
|
1215
1242
|
}>;
|
|
1216
|
-
projectId:
|
|
1243
|
+
projectId: drizzle_orm_pg_core1813.PgColumn<{
|
|
1217
1244
|
name: "project_id";
|
|
1218
1245
|
tableName: "trigger_invocations";
|
|
1219
1246
|
dataType: "string";
|
|
@@ -1232,7 +1259,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
1232
1259
|
}, {}, {
|
|
1233
1260
|
length: 256;
|
|
1234
1261
|
}>;
|
|
1235
|
-
tenantId:
|
|
1262
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
1236
1263
|
name: "tenant_id";
|
|
1237
1264
|
tableName: "trigger_invocations";
|
|
1238
1265
|
dataType: "string";
|
|
@@ -1251,7 +1278,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
1251
1278
|
}, {}, {
|
|
1252
1279
|
length: 256;
|
|
1253
1280
|
}>;
|
|
1254
|
-
id:
|
|
1281
|
+
id: drizzle_orm_pg_core1813.PgColumn<{
|
|
1255
1282
|
name: "id";
|
|
1256
1283
|
tableName: "trigger_invocations";
|
|
1257
1284
|
dataType: "string";
|
|
@@ -1278,11 +1305,11 @@ declare const triggerInvocations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
1278
1305
|
* Enforces workspace -> tenant uniqueness and provides audit trail.
|
|
1279
1306
|
* Stores reference to Nango connection for token retrieval.
|
|
1280
1307
|
*/
|
|
1281
|
-
declare const workAppSlackWorkspaces:
|
|
1308
|
+
declare const workAppSlackWorkspaces: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
1282
1309
|
name: "work_app_slack_workspaces";
|
|
1283
1310
|
schema: undefined;
|
|
1284
1311
|
columns: {
|
|
1285
|
-
createdAt:
|
|
1312
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
1286
1313
|
name: "created_at";
|
|
1287
1314
|
tableName: "work_app_slack_workspaces";
|
|
1288
1315
|
dataType: "string";
|
|
@@ -1299,7 +1326,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1577.PgTableWithColumns
|
|
|
1299
1326
|
identity: undefined;
|
|
1300
1327
|
generated: undefined;
|
|
1301
1328
|
}, {}, {}>;
|
|
1302
|
-
updatedAt:
|
|
1329
|
+
updatedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
1303
1330
|
name: "updated_at";
|
|
1304
1331
|
tableName: "work_app_slack_workspaces";
|
|
1305
1332
|
dataType: "string";
|
|
@@ -1316,7 +1343,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1577.PgTableWithColumns
|
|
|
1316
1343
|
identity: undefined;
|
|
1317
1344
|
generated: undefined;
|
|
1318
1345
|
}, {}, {}>;
|
|
1319
|
-
id:
|
|
1346
|
+
id: drizzle_orm_pg_core1813.PgColumn<{
|
|
1320
1347
|
name: "id";
|
|
1321
1348
|
tableName: "work_app_slack_workspaces";
|
|
1322
1349
|
dataType: "string";
|
|
@@ -1335,7 +1362,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1577.PgTableWithColumns
|
|
|
1335
1362
|
}, {}, {
|
|
1336
1363
|
length: 256;
|
|
1337
1364
|
}>;
|
|
1338
|
-
tenantId:
|
|
1365
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
1339
1366
|
name: "tenant_id";
|
|
1340
1367
|
tableName: "work_app_slack_workspaces";
|
|
1341
1368
|
dataType: "string";
|
|
@@ -1354,7 +1381,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1577.PgTableWithColumns
|
|
|
1354
1381
|
}, {}, {
|
|
1355
1382
|
length: 256;
|
|
1356
1383
|
}>;
|
|
1357
|
-
slackTeamId:
|
|
1384
|
+
slackTeamId: drizzle_orm_pg_core1813.PgColumn<{
|
|
1358
1385
|
name: "slack_team_id";
|
|
1359
1386
|
tableName: "work_app_slack_workspaces";
|
|
1360
1387
|
dataType: "string";
|
|
@@ -1373,7 +1400,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1577.PgTableWithColumns
|
|
|
1373
1400
|
}, {}, {
|
|
1374
1401
|
length: 256;
|
|
1375
1402
|
}>;
|
|
1376
|
-
slackEnterpriseId:
|
|
1403
|
+
slackEnterpriseId: drizzle_orm_pg_core1813.PgColumn<{
|
|
1377
1404
|
name: "slack_enterprise_id";
|
|
1378
1405
|
tableName: "work_app_slack_workspaces";
|
|
1379
1406
|
dataType: "string";
|
|
@@ -1392,7 +1419,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1577.PgTableWithColumns
|
|
|
1392
1419
|
}, {}, {
|
|
1393
1420
|
length: 256;
|
|
1394
1421
|
}>;
|
|
1395
|
-
slackAppId:
|
|
1422
|
+
slackAppId: drizzle_orm_pg_core1813.PgColumn<{
|
|
1396
1423
|
name: "slack_app_id";
|
|
1397
1424
|
tableName: "work_app_slack_workspaces";
|
|
1398
1425
|
dataType: "string";
|
|
@@ -1411,7 +1438,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1577.PgTableWithColumns
|
|
|
1411
1438
|
}, {}, {
|
|
1412
1439
|
length: 256;
|
|
1413
1440
|
}>;
|
|
1414
|
-
slackTeamName:
|
|
1441
|
+
slackTeamName: drizzle_orm_pg_core1813.PgColumn<{
|
|
1415
1442
|
name: "slack_team_name";
|
|
1416
1443
|
tableName: "work_app_slack_workspaces";
|
|
1417
1444
|
dataType: "string";
|
|
@@ -1430,7 +1457,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1577.PgTableWithColumns
|
|
|
1430
1457
|
}, {}, {
|
|
1431
1458
|
length: 512;
|
|
1432
1459
|
}>;
|
|
1433
|
-
nangoProviderConfigKey:
|
|
1460
|
+
nangoProviderConfigKey: drizzle_orm_pg_core1813.PgColumn<{
|
|
1434
1461
|
name: "nango_provider_config_key";
|
|
1435
1462
|
tableName: "work_app_slack_workspaces";
|
|
1436
1463
|
dataType: "string";
|
|
@@ -1449,7 +1476,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1577.PgTableWithColumns
|
|
|
1449
1476
|
}, {}, {
|
|
1450
1477
|
length: 256;
|
|
1451
1478
|
}>;
|
|
1452
|
-
nangoConnectionId:
|
|
1479
|
+
nangoConnectionId: drizzle_orm_pg_core1813.PgColumn<{
|
|
1453
1480
|
name: "nango_connection_id";
|
|
1454
1481
|
tableName: "work_app_slack_workspaces";
|
|
1455
1482
|
dataType: "string";
|
|
@@ -1468,7 +1495,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1577.PgTableWithColumns
|
|
|
1468
1495
|
}, {}, {
|
|
1469
1496
|
length: 256;
|
|
1470
1497
|
}>;
|
|
1471
|
-
status:
|
|
1498
|
+
status: drizzle_orm_pg_core1813.PgColumn<{
|
|
1472
1499
|
name: "status";
|
|
1473
1500
|
tableName: "work_app_slack_workspaces";
|
|
1474
1501
|
dataType: "string";
|
|
@@ -1487,7 +1514,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1577.PgTableWithColumns
|
|
|
1487
1514
|
}, {}, {
|
|
1488
1515
|
length: 20;
|
|
1489
1516
|
}>;
|
|
1490
|
-
installedByUserId:
|
|
1517
|
+
installedByUserId: drizzle_orm_pg_core1813.PgColumn<{
|
|
1491
1518
|
name: "installed_by_user_id";
|
|
1492
1519
|
tableName: "work_app_slack_workspaces";
|
|
1493
1520
|
dataType: "string";
|
|
@@ -1504,7 +1531,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1577.PgTableWithColumns
|
|
|
1504
1531
|
identity: undefined;
|
|
1505
1532
|
generated: undefined;
|
|
1506
1533
|
}, {}, {}>;
|
|
1507
|
-
shouldAllowJoinFromWorkspace:
|
|
1534
|
+
shouldAllowJoinFromWorkspace: drizzle_orm_pg_core1813.PgColumn<{
|
|
1508
1535
|
name: "should_allow_join_from_workspace";
|
|
1509
1536
|
tableName: "work_app_slack_workspaces";
|
|
1510
1537
|
dataType: "boolean";
|
|
@@ -1521,7 +1548,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1577.PgTableWithColumns
|
|
|
1521
1548
|
identity: undefined;
|
|
1522
1549
|
generated: undefined;
|
|
1523
1550
|
}, {}, {}>;
|
|
1524
|
-
defaultAgentId:
|
|
1551
|
+
defaultAgentId: drizzle_orm_pg_core1813.PgColumn<{
|
|
1525
1552
|
name: "default_agent_id";
|
|
1526
1553
|
tableName: "work_app_slack_workspaces";
|
|
1527
1554
|
dataType: "string";
|
|
@@ -1540,7 +1567,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1577.PgTableWithColumns
|
|
|
1540
1567
|
}, {}, {
|
|
1541
1568
|
length: 256;
|
|
1542
1569
|
}>;
|
|
1543
|
-
defaultProjectId:
|
|
1570
|
+
defaultProjectId: drizzle_orm_pg_core1813.PgColumn<{
|
|
1544
1571
|
name: "default_project_id";
|
|
1545
1572
|
tableName: "work_app_slack_workspaces";
|
|
1546
1573
|
dataType: "string";
|
|
@@ -1559,7 +1586,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1577.PgTableWithColumns
|
|
|
1559
1586
|
}, {}, {
|
|
1560
1587
|
length: 256;
|
|
1561
1588
|
}>;
|
|
1562
|
-
defaultGrantAccessToMembers:
|
|
1589
|
+
defaultGrantAccessToMembers: drizzle_orm_pg_core1813.PgColumn<{
|
|
1563
1590
|
name: "default_grant_access_to_members";
|
|
1564
1591
|
tableName: "work_app_slack_workspaces";
|
|
1565
1592
|
dataType: "boolean";
|
|
@@ -1584,11 +1611,11 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core1577.PgTableWithColumns
|
|
|
1584
1611
|
* Enables Slack users to trigger agents after linking their accounts.
|
|
1585
1612
|
* Unique per tenant + clientId + slackTeamId + slackUserId.
|
|
1586
1613
|
*/
|
|
1587
|
-
declare const workAppSlackUserMappings:
|
|
1614
|
+
declare const workAppSlackUserMappings: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
1588
1615
|
name: "work_app_slack_user_mappings";
|
|
1589
1616
|
schema: undefined;
|
|
1590
1617
|
columns: {
|
|
1591
|
-
createdAt:
|
|
1618
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
1592
1619
|
name: "created_at";
|
|
1593
1620
|
tableName: "work_app_slack_user_mappings";
|
|
1594
1621
|
dataType: "string";
|
|
@@ -1605,7 +1632,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1577.PgTableWithColum
|
|
|
1605
1632
|
identity: undefined;
|
|
1606
1633
|
generated: undefined;
|
|
1607
1634
|
}, {}, {}>;
|
|
1608
|
-
updatedAt:
|
|
1635
|
+
updatedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
1609
1636
|
name: "updated_at";
|
|
1610
1637
|
tableName: "work_app_slack_user_mappings";
|
|
1611
1638
|
dataType: "string";
|
|
@@ -1622,7 +1649,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1577.PgTableWithColum
|
|
|
1622
1649
|
identity: undefined;
|
|
1623
1650
|
generated: undefined;
|
|
1624
1651
|
}, {}, {}>;
|
|
1625
|
-
id:
|
|
1652
|
+
id: drizzle_orm_pg_core1813.PgColumn<{
|
|
1626
1653
|
name: "id";
|
|
1627
1654
|
tableName: "work_app_slack_user_mappings";
|
|
1628
1655
|
dataType: "string";
|
|
@@ -1641,7 +1668,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1577.PgTableWithColum
|
|
|
1641
1668
|
}, {}, {
|
|
1642
1669
|
length: 256;
|
|
1643
1670
|
}>;
|
|
1644
|
-
tenantId:
|
|
1671
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
1645
1672
|
name: "tenant_id";
|
|
1646
1673
|
tableName: "work_app_slack_user_mappings";
|
|
1647
1674
|
dataType: "string";
|
|
@@ -1660,7 +1687,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1577.PgTableWithColum
|
|
|
1660
1687
|
}, {}, {
|
|
1661
1688
|
length: 256;
|
|
1662
1689
|
}>;
|
|
1663
|
-
clientId:
|
|
1690
|
+
clientId: drizzle_orm_pg_core1813.PgColumn<{
|
|
1664
1691
|
name: "client_id";
|
|
1665
1692
|
tableName: "work_app_slack_user_mappings";
|
|
1666
1693
|
dataType: "string";
|
|
@@ -1679,7 +1706,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1577.PgTableWithColum
|
|
|
1679
1706
|
}, {}, {
|
|
1680
1707
|
length: 256;
|
|
1681
1708
|
}>;
|
|
1682
|
-
slackUserId:
|
|
1709
|
+
slackUserId: drizzle_orm_pg_core1813.PgColumn<{
|
|
1683
1710
|
name: "slack_user_id";
|
|
1684
1711
|
tableName: "work_app_slack_user_mappings";
|
|
1685
1712
|
dataType: "string";
|
|
@@ -1698,7 +1725,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1577.PgTableWithColum
|
|
|
1698
1725
|
}, {}, {
|
|
1699
1726
|
length: 256;
|
|
1700
1727
|
}>;
|
|
1701
|
-
slackTeamId:
|
|
1728
|
+
slackTeamId: drizzle_orm_pg_core1813.PgColumn<{
|
|
1702
1729
|
name: "slack_team_id";
|
|
1703
1730
|
tableName: "work_app_slack_user_mappings";
|
|
1704
1731
|
dataType: "string";
|
|
@@ -1717,7 +1744,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1577.PgTableWithColum
|
|
|
1717
1744
|
}, {}, {
|
|
1718
1745
|
length: 256;
|
|
1719
1746
|
}>;
|
|
1720
|
-
slackEnterpriseId:
|
|
1747
|
+
slackEnterpriseId: drizzle_orm_pg_core1813.PgColumn<{
|
|
1721
1748
|
name: "slack_enterprise_id";
|
|
1722
1749
|
tableName: "work_app_slack_user_mappings";
|
|
1723
1750
|
dataType: "string";
|
|
@@ -1736,7 +1763,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1577.PgTableWithColum
|
|
|
1736
1763
|
}, {}, {
|
|
1737
1764
|
length: 256;
|
|
1738
1765
|
}>;
|
|
1739
|
-
inkeepUserId:
|
|
1766
|
+
inkeepUserId: drizzle_orm_pg_core1813.PgColumn<{
|
|
1740
1767
|
name: "inkeep_user_id";
|
|
1741
1768
|
tableName: "work_app_slack_user_mappings";
|
|
1742
1769
|
dataType: "string";
|
|
@@ -1753,7 +1780,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1577.PgTableWithColum
|
|
|
1753
1780
|
identity: undefined;
|
|
1754
1781
|
generated: undefined;
|
|
1755
1782
|
}, {}, {}>;
|
|
1756
|
-
slackUsername:
|
|
1783
|
+
slackUsername: drizzle_orm_pg_core1813.PgColumn<{
|
|
1757
1784
|
name: "slack_username";
|
|
1758
1785
|
tableName: "work_app_slack_user_mappings";
|
|
1759
1786
|
dataType: "string";
|
|
@@ -1772,7 +1799,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1577.PgTableWithColum
|
|
|
1772
1799
|
}, {}, {
|
|
1773
1800
|
length: 256;
|
|
1774
1801
|
}>;
|
|
1775
|
-
slackEmail:
|
|
1802
|
+
slackEmail: drizzle_orm_pg_core1813.PgColumn<{
|
|
1776
1803
|
name: "slack_email";
|
|
1777
1804
|
tableName: "work_app_slack_user_mappings";
|
|
1778
1805
|
dataType: "string";
|
|
@@ -1791,7 +1818,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1577.PgTableWithColum
|
|
|
1791
1818
|
}, {}, {
|
|
1792
1819
|
length: 256;
|
|
1793
1820
|
}>;
|
|
1794
|
-
linkedAt:
|
|
1821
|
+
linkedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
1795
1822
|
name: "linked_at";
|
|
1796
1823
|
tableName: "work_app_slack_user_mappings";
|
|
1797
1824
|
dataType: "string";
|
|
@@ -1808,7 +1835,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1577.PgTableWithColum
|
|
|
1808
1835
|
identity: undefined;
|
|
1809
1836
|
generated: undefined;
|
|
1810
1837
|
}, {}, {}>;
|
|
1811
|
-
lastUsedAt:
|
|
1838
|
+
lastUsedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
1812
1839
|
name: "last_used_at";
|
|
1813
1840
|
tableName: "work_app_slack_user_mappings";
|
|
1814
1841
|
dataType: "string";
|
|
@@ -1833,11 +1860,11 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core1577.PgTableWithColum
|
|
|
1833
1860
|
* Allows admins to set channel-specific agent defaults that override workspace defaults.
|
|
1834
1861
|
* Unique per tenant + slackTeamId + slackChannelId.
|
|
1835
1862
|
*/
|
|
1836
|
-
declare const workAppSlackChannelAgentConfigs:
|
|
1863
|
+
declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
1837
1864
|
name: "work_app_slack_channel_agent_configs";
|
|
1838
1865
|
schema: undefined;
|
|
1839
1866
|
columns: {
|
|
1840
|
-
createdAt:
|
|
1867
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
1841
1868
|
name: "created_at";
|
|
1842
1869
|
tableName: "work_app_slack_channel_agent_configs";
|
|
1843
1870
|
dataType: "string";
|
|
@@ -1854,7 +1881,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1577.PgTableWi
|
|
|
1854
1881
|
identity: undefined;
|
|
1855
1882
|
generated: undefined;
|
|
1856
1883
|
}, {}, {}>;
|
|
1857
|
-
updatedAt:
|
|
1884
|
+
updatedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
1858
1885
|
name: "updated_at";
|
|
1859
1886
|
tableName: "work_app_slack_channel_agent_configs";
|
|
1860
1887
|
dataType: "string";
|
|
@@ -1871,7 +1898,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1577.PgTableWi
|
|
|
1871
1898
|
identity: undefined;
|
|
1872
1899
|
generated: undefined;
|
|
1873
1900
|
}, {}, {}>;
|
|
1874
|
-
id:
|
|
1901
|
+
id: drizzle_orm_pg_core1813.PgColumn<{
|
|
1875
1902
|
name: "id";
|
|
1876
1903
|
tableName: "work_app_slack_channel_agent_configs";
|
|
1877
1904
|
dataType: "string";
|
|
@@ -1890,7 +1917,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1577.PgTableWi
|
|
|
1890
1917
|
}, {}, {
|
|
1891
1918
|
length: 256;
|
|
1892
1919
|
}>;
|
|
1893
|
-
tenantId:
|
|
1920
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
1894
1921
|
name: "tenant_id";
|
|
1895
1922
|
tableName: "work_app_slack_channel_agent_configs";
|
|
1896
1923
|
dataType: "string";
|
|
@@ -1909,7 +1936,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1577.PgTableWi
|
|
|
1909
1936
|
}, {}, {
|
|
1910
1937
|
length: 256;
|
|
1911
1938
|
}>;
|
|
1912
|
-
slackTeamId:
|
|
1939
|
+
slackTeamId: drizzle_orm_pg_core1813.PgColumn<{
|
|
1913
1940
|
name: "slack_team_id";
|
|
1914
1941
|
tableName: "work_app_slack_channel_agent_configs";
|
|
1915
1942
|
dataType: "string";
|
|
@@ -1928,7 +1955,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1577.PgTableWi
|
|
|
1928
1955
|
}, {}, {
|
|
1929
1956
|
length: 256;
|
|
1930
1957
|
}>;
|
|
1931
|
-
slackChannelId:
|
|
1958
|
+
slackChannelId: drizzle_orm_pg_core1813.PgColumn<{
|
|
1932
1959
|
name: "slack_channel_id";
|
|
1933
1960
|
tableName: "work_app_slack_channel_agent_configs";
|
|
1934
1961
|
dataType: "string";
|
|
@@ -1947,7 +1974,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1577.PgTableWi
|
|
|
1947
1974
|
}, {}, {
|
|
1948
1975
|
length: 256;
|
|
1949
1976
|
}>;
|
|
1950
|
-
slackChannelName:
|
|
1977
|
+
slackChannelName: drizzle_orm_pg_core1813.PgColumn<{
|
|
1951
1978
|
name: "slack_channel_name";
|
|
1952
1979
|
tableName: "work_app_slack_channel_agent_configs";
|
|
1953
1980
|
dataType: "string";
|
|
@@ -1966,7 +1993,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1577.PgTableWi
|
|
|
1966
1993
|
}, {}, {
|
|
1967
1994
|
length: 256;
|
|
1968
1995
|
}>;
|
|
1969
|
-
slackChannelType:
|
|
1996
|
+
slackChannelType: drizzle_orm_pg_core1813.PgColumn<{
|
|
1970
1997
|
name: "slack_channel_type";
|
|
1971
1998
|
tableName: "work_app_slack_channel_agent_configs";
|
|
1972
1999
|
dataType: "string";
|
|
@@ -1985,7 +2012,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1577.PgTableWi
|
|
|
1985
2012
|
}, {}, {
|
|
1986
2013
|
length: 50;
|
|
1987
2014
|
}>;
|
|
1988
|
-
projectId:
|
|
2015
|
+
projectId: drizzle_orm_pg_core1813.PgColumn<{
|
|
1989
2016
|
name: "project_id";
|
|
1990
2017
|
tableName: "work_app_slack_channel_agent_configs";
|
|
1991
2018
|
dataType: "string";
|
|
@@ -2004,7 +2031,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1577.PgTableWi
|
|
|
2004
2031
|
}, {}, {
|
|
2005
2032
|
length: 256;
|
|
2006
2033
|
}>;
|
|
2007
|
-
agentId:
|
|
2034
|
+
agentId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2008
2035
|
name: "agent_id";
|
|
2009
2036
|
tableName: "work_app_slack_channel_agent_configs";
|
|
2010
2037
|
dataType: "string";
|
|
@@ -2023,7 +2050,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1577.PgTableWi
|
|
|
2023
2050
|
}, {}, {
|
|
2024
2051
|
length: 256;
|
|
2025
2052
|
}>;
|
|
2026
|
-
configuredByUserId:
|
|
2053
|
+
configuredByUserId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2027
2054
|
name: "configured_by_user_id";
|
|
2028
2055
|
tableName: "work_app_slack_channel_agent_configs";
|
|
2029
2056
|
dataType: "string";
|
|
@@ -2040,7 +2067,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1577.PgTableWi
|
|
|
2040
2067
|
identity: undefined;
|
|
2041
2068
|
generated: undefined;
|
|
2042
2069
|
}, {}, {}>;
|
|
2043
|
-
enabled:
|
|
2070
|
+
enabled: drizzle_orm_pg_core1813.PgColumn<{
|
|
2044
2071
|
name: "enabled";
|
|
2045
2072
|
tableName: "work_app_slack_channel_agent_configs";
|
|
2046
2073
|
dataType: "boolean";
|
|
@@ -2057,7 +2084,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1577.PgTableWi
|
|
|
2057
2084
|
identity: undefined;
|
|
2058
2085
|
generated: undefined;
|
|
2059
2086
|
}, {}, {}>;
|
|
2060
|
-
grantAccessToMembers:
|
|
2087
|
+
grantAccessToMembers: drizzle_orm_pg_core1813.PgColumn<{
|
|
2061
2088
|
name: "grant_access_to_members";
|
|
2062
2089
|
tableName: "work_app_slack_channel_agent_configs";
|
|
2063
2090
|
dataType: "boolean";
|
|
@@ -2081,11 +2108,11 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1577.PgTableWi
|
|
|
2081
2108
|
* Scheduled trigger invocations - records each execution of a scheduled trigger.
|
|
2082
2109
|
* NOTE: No FK to scheduled_triggers table since it's in a different database (DoltGres).
|
|
2083
2110
|
*/
|
|
2084
|
-
declare const scheduledTriggerInvocations:
|
|
2111
|
+
declare const scheduledTriggerInvocations: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
2085
2112
|
name: "scheduled_trigger_invocations";
|
|
2086
2113
|
schema: undefined;
|
|
2087
2114
|
columns: {
|
|
2088
|
-
scheduledTriggerId:
|
|
2115
|
+
scheduledTriggerId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2089
2116
|
name: "scheduled_trigger_id";
|
|
2090
2117
|
tableName: "scheduled_trigger_invocations";
|
|
2091
2118
|
dataType: "string";
|
|
@@ -2104,7 +2131,34 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1577.PgTableWithCo
|
|
|
2104
2131
|
}, {}, {
|
|
2105
2132
|
length: 256;
|
|
2106
2133
|
}>;
|
|
2107
|
-
|
|
2134
|
+
ref: drizzle_orm_pg_core1813.PgColumn<{
|
|
2135
|
+
name: "ref";
|
|
2136
|
+
tableName: "scheduled_trigger_invocations";
|
|
2137
|
+
dataType: "json";
|
|
2138
|
+
columnType: "PgJsonb";
|
|
2139
|
+
data: {
|
|
2140
|
+
type: "commit" | "tag" | "branch";
|
|
2141
|
+
name: string;
|
|
2142
|
+
hash: string;
|
|
2143
|
+
};
|
|
2144
|
+
driverParam: unknown;
|
|
2145
|
+
notNull: false;
|
|
2146
|
+
hasDefault: false;
|
|
2147
|
+
isPrimaryKey: false;
|
|
2148
|
+
isAutoincrement: false;
|
|
2149
|
+
hasRuntimeDefault: false;
|
|
2150
|
+
enumValues: undefined;
|
|
2151
|
+
baseColumn: never;
|
|
2152
|
+
identity: undefined;
|
|
2153
|
+
generated: undefined;
|
|
2154
|
+
}, {}, {
|
|
2155
|
+
$type: {
|
|
2156
|
+
type: "commit" | "tag" | "branch";
|
|
2157
|
+
name: string;
|
|
2158
|
+
hash: string;
|
|
2159
|
+
};
|
|
2160
|
+
}>;
|
|
2161
|
+
status: drizzle_orm_pg_core1813.PgColumn<{
|
|
2108
2162
|
name: "status";
|
|
2109
2163
|
tableName: "scheduled_trigger_invocations";
|
|
2110
2164
|
dataType: "string";
|
|
@@ -2124,7 +2178,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1577.PgTableWithCo
|
|
|
2124
2178
|
length: 50;
|
|
2125
2179
|
$type: "pending" | "failed" | "running" | "completed" | "cancelled";
|
|
2126
2180
|
}>;
|
|
2127
|
-
scheduledFor:
|
|
2181
|
+
scheduledFor: drizzle_orm_pg_core1813.PgColumn<{
|
|
2128
2182
|
name: "scheduled_for";
|
|
2129
2183
|
tableName: "scheduled_trigger_invocations";
|
|
2130
2184
|
dataType: "string";
|
|
@@ -2141,7 +2195,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1577.PgTableWithCo
|
|
|
2141
2195
|
identity: undefined;
|
|
2142
2196
|
generated: undefined;
|
|
2143
2197
|
}, {}, {}>;
|
|
2144
|
-
startedAt:
|
|
2198
|
+
startedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
2145
2199
|
name: "started_at";
|
|
2146
2200
|
tableName: "scheduled_trigger_invocations";
|
|
2147
2201
|
dataType: "string";
|
|
@@ -2158,7 +2212,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1577.PgTableWithCo
|
|
|
2158
2212
|
identity: undefined;
|
|
2159
2213
|
generated: undefined;
|
|
2160
2214
|
}, {}, {}>;
|
|
2161
|
-
completedAt:
|
|
2215
|
+
completedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
2162
2216
|
name: "completed_at";
|
|
2163
2217
|
tableName: "scheduled_trigger_invocations";
|
|
2164
2218
|
dataType: "string";
|
|
@@ -2175,7 +2229,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1577.PgTableWithCo
|
|
|
2175
2229
|
identity: undefined;
|
|
2176
2230
|
generated: undefined;
|
|
2177
2231
|
}, {}, {}>;
|
|
2178
|
-
resolvedPayload:
|
|
2232
|
+
resolvedPayload: drizzle_orm_pg_core1813.PgColumn<{
|
|
2179
2233
|
name: "resolved_payload";
|
|
2180
2234
|
tableName: "scheduled_trigger_invocations";
|
|
2181
2235
|
dataType: "json";
|
|
@@ -2194,7 +2248,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1577.PgTableWithCo
|
|
|
2194
2248
|
}, {}, {
|
|
2195
2249
|
$type: Record<string, unknown> | null;
|
|
2196
2250
|
}>;
|
|
2197
|
-
conversationIds:
|
|
2251
|
+
conversationIds: drizzle_orm_pg_core1813.PgColumn<{
|
|
2198
2252
|
name: "conversation_ids";
|
|
2199
2253
|
tableName: "scheduled_trigger_invocations";
|
|
2200
2254
|
dataType: "json";
|
|
@@ -2213,7 +2267,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1577.PgTableWithCo
|
|
|
2213
2267
|
}, {}, {
|
|
2214
2268
|
$type: string[];
|
|
2215
2269
|
}>;
|
|
2216
|
-
attemptNumber:
|
|
2270
|
+
attemptNumber: drizzle_orm_pg_core1813.PgColumn<{
|
|
2217
2271
|
name: "attempt_number";
|
|
2218
2272
|
tableName: "scheduled_trigger_invocations";
|
|
2219
2273
|
dataType: "number";
|
|
@@ -2230,7 +2284,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1577.PgTableWithCo
|
|
|
2230
2284
|
identity: undefined;
|
|
2231
2285
|
generated: undefined;
|
|
2232
2286
|
}, {}, {}>;
|
|
2233
|
-
idempotencyKey:
|
|
2287
|
+
idempotencyKey: drizzle_orm_pg_core1813.PgColumn<{
|
|
2234
2288
|
name: "idempotency_key";
|
|
2235
2289
|
tableName: "scheduled_trigger_invocations";
|
|
2236
2290
|
dataType: "string";
|
|
@@ -2249,7 +2303,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1577.PgTableWithCo
|
|
|
2249
2303
|
}, {}, {
|
|
2250
2304
|
length: 256;
|
|
2251
2305
|
}>;
|
|
2252
|
-
createdAt:
|
|
2306
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
2253
2307
|
name: "created_at";
|
|
2254
2308
|
tableName: "scheduled_trigger_invocations";
|
|
2255
2309
|
dataType: "string";
|
|
@@ -2266,7 +2320,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1577.PgTableWithCo
|
|
|
2266
2320
|
identity: undefined;
|
|
2267
2321
|
generated: undefined;
|
|
2268
2322
|
}, {}, {}>;
|
|
2269
|
-
agentId:
|
|
2323
|
+
agentId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2270
2324
|
name: "agent_id";
|
|
2271
2325
|
tableName: "scheduled_trigger_invocations";
|
|
2272
2326
|
dataType: "string";
|
|
@@ -2285,7 +2339,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1577.PgTableWithCo
|
|
|
2285
2339
|
}, {}, {
|
|
2286
2340
|
length: 256;
|
|
2287
2341
|
}>;
|
|
2288
|
-
projectId:
|
|
2342
|
+
projectId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2289
2343
|
name: "project_id";
|
|
2290
2344
|
tableName: "scheduled_trigger_invocations";
|
|
2291
2345
|
dataType: "string";
|
|
@@ -2304,7 +2358,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1577.PgTableWithCo
|
|
|
2304
2358
|
}, {}, {
|
|
2305
2359
|
length: 256;
|
|
2306
2360
|
}>;
|
|
2307
|
-
tenantId:
|
|
2361
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2308
2362
|
name: "tenant_id";
|
|
2309
2363
|
tableName: "scheduled_trigger_invocations";
|
|
2310
2364
|
dataType: "string";
|
|
@@ -2323,7 +2377,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1577.PgTableWithCo
|
|
|
2323
2377
|
}, {}, {
|
|
2324
2378
|
length: 256;
|
|
2325
2379
|
}>;
|
|
2326
|
-
id:
|
|
2380
|
+
id: drizzle_orm_pg_core1813.PgColumn<{
|
|
2327
2381
|
name: "id";
|
|
2328
2382
|
tableName: "scheduled_trigger_invocations";
|
|
2329
2383
|
dataType: "string";
|
|
@@ -2345,11 +2399,11 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1577.PgTableWithCo
|
|
|
2345
2399
|
};
|
|
2346
2400
|
dialect: "pg";
|
|
2347
2401
|
}>;
|
|
2348
|
-
declare const messages:
|
|
2402
|
+
declare const messages: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
2349
2403
|
name: "messages";
|
|
2350
2404
|
schema: undefined;
|
|
2351
2405
|
columns: {
|
|
2352
|
-
createdAt:
|
|
2406
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
2353
2407
|
name: "created_at";
|
|
2354
2408
|
tableName: "messages";
|
|
2355
2409
|
dataType: "string";
|
|
@@ -2366,7 +2420,7 @@ declare const messages: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2366
2420
|
identity: undefined;
|
|
2367
2421
|
generated: undefined;
|
|
2368
2422
|
}, {}, {}>;
|
|
2369
|
-
updatedAt:
|
|
2423
|
+
updatedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
2370
2424
|
name: "updated_at";
|
|
2371
2425
|
tableName: "messages";
|
|
2372
2426
|
dataType: "string";
|
|
@@ -2383,7 +2437,7 @@ declare const messages: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2383
2437
|
identity: undefined;
|
|
2384
2438
|
generated: undefined;
|
|
2385
2439
|
}, {}, {}>;
|
|
2386
|
-
conversationId:
|
|
2440
|
+
conversationId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2387
2441
|
name: "conversation_id";
|
|
2388
2442
|
tableName: "messages";
|
|
2389
2443
|
dataType: "string";
|
|
@@ -2402,7 +2456,7 @@ declare const messages: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2402
2456
|
}, {}, {
|
|
2403
2457
|
length: 256;
|
|
2404
2458
|
}>;
|
|
2405
|
-
role:
|
|
2459
|
+
role: drizzle_orm_pg_core1813.PgColumn<{
|
|
2406
2460
|
name: "role";
|
|
2407
2461
|
tableName: "messages";
|
|
2408
2462
|
dataType: "string";
|
|
@@ -2421,7 +2475,7 @@ declare const messages: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2421
2475
|
}, {}, {
|
|
2422
2476
|
length: 256;
|
|
2423
2477
|
}>;
|
|
2424
|
-
fromSubAgentId:
|
|
2478
|
+
fromSubAgentId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2425
2479
|
name: "from_sub_agent_id";
|
|
2426
2480
|
tableName: "messages";
|
|
2427
2481
|
dataType: "string";
|
|
@@ -2440,7 +2494,7 @@ declare const messages: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2440
2494
|
}, {}, {
|
|
2441
2495
|
length: 256;
|
|
2442
2496
|
}>;
|
|
2443
|
-
toSubAgentId:
|
|
2497
|
+
toSubAgentId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2444
2498
|
name: "to_sub_agent_id";
|
|
2445
2499
|
tableName: "messages";
|
|
2446
2500
|
dataType: "string";
|
|
@@ -2459,7 +2513,7 @@ declare const messages: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2459
2513
|
}, {}, {
|
|
2460
2514
|
length: 256;
|
|
2461
2515
|
}>;
|
|
2462
|
-
fromExternalAgentId:
|
|
2516
|
+
fromExternalAgentId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2463
2517
|
name: "from_external_sub_agent_id";
|
|
2464
2518
|
tableName: "messages";
|
|
2465
2519
|
dataType: "string";
|
|
@@ -2478,7 +2532,7 @@ declare const messages: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2478
2532
|
}, {}, {
|
|
2479
2533
|
length: 256;
|
|
2480
2534
|
}>;
|
|
2481
|
-
toExternalAgentId:
|
|
2535
|
+
toExternalAgentId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2482
2536
|
name: "to_external_sub_agent_id";
|
|
2483
2537
|
tableName: "messages";
|
|
2484
2538
|
dataType: "string";
|
|
@@ -2497,7 +2551,7 @@ declare const messages: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2497
2551
|
}, {}, {
|
|
2498
2552
|
length: 256;
|
|
2499
2553
|
}>;
|
|
2500
|
-
fromTeamAgentId:
|
|
2554
|
+
fromTeamAgentId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2501
2555
|
name: "from_team_agent_id";
|
|
2502
2556
|
tableName: "messages";
|
|
2503
2557
|
dataType: "string";
|
|
@@ -2516,7 +2570,7 @@ declare const messages: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2516
2570
|
}, {}, {
|
|
2517
2571
|
length: 256;
|
|
2518
2572
|
}>;
|
|
2519
|
-
toTeamAgentId:
|
|
2573
|
+
toTeamAgentId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2520
2574
|
name: "to_team_agent_id";
|
|
2521
2575
|
tableName: "messages";
|
|
2522
2576
|
dataType: "string";
|
|
@@ -2535,7 +2589,7 @@ declare const messages: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2535
2589
|
}, {}, {
|
|
2536
2590
|
length: 256;
|
|
2537
2591
|
}>;
|
|
2538
|
-
content:
|
|
2592
|
+
content: drizzle_orm_pg_core1813.PgColumn<{
|
|
2539
2593
|
name: "content";
|
|
2540
2594
|
tableName: "messages";
|
|
2541
2595
|
dataType: "json";
|
|
@@ -2554,7 +2608,7 @@ declare const messages: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2554
2608
|
}, {}, {
|
|
2555
2609
|
$type: MessageContent;
|
|
2556
2610
|
}>;
|
|
2557
|
-
visibility:
|
|
2611
|
+
visibility: drizzle_orm_pg_core1813.PgColumn<{
|
|
2558
2612
|
name: "visibility";
|
|
2559
2613
|
tableName: "messages";
|
|
2560
2614
|
dataType: "string";
|
|
@@ -2573,7 +2627,7 @@ declare const messages: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2573
2627
|
}, {}, {
|
|
2574
2628
|
length: 256;
|
|
2575
2629
|
}>;
|
|
2576
|
-
messageType:
|
|
2630
|
+
messageType: drizzle_orm_pg_core1813.PgColumn<{
|
|
2577
2631
|
name: "message_type";
|
|
2578
2632
|
tableName: "messages";
|
|
2579
2633
|
dataType: "string";
|
|
@@ -2592,7 +2646,7 @@ declare const messages: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2592
2646
|
}, {}, {
|
|
2593
2647
|
length: 256;
|
|
2594
2648
|
}>;
|
|
2595
|
-
taskId:
|
|
2649
|
+
taskId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2596
2650
|
name: "task_id";
|
|
2597
2651
|
tableName: "messages";
|
|
2598
2652
|
dataType: "string";
|
|
@@ -2611,7 +2665,7 @@ declare const messages: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2611
2665
|
}, {}, {
|
|
2612
2666
|
length: 256;
|
|
2613
2667
|
}>;
|
|
2614
|
-
parentMessageId:
|
|
2668
|
+
parentMessageId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2615
2669
|
name: "parent_message_id";
|
|
2616
2670
|
tableName: "messages";
|
|
2617
2671
|
dataType: "string";
|
|
@@ -2630,7 +2684,7 @@ declare const messages: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2630
2684
|
}, {}, {
|
|
2631
2685
|
length: 256;
|
|
2632
2686
|
}>;
|
|
2633
|
-
a2aTaskId:
|
|
2687
|
+
a2aTaskId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2634
2688
|
name: "a2a_task_id";
|
|
2635
2689
|
tableName: "messages";
|
|
2636
2690
|
dataType: "string";
|
|
@@ -2649,7 +2703,7 @@ declare const messages: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2649
2703
|
}, {}, {
|
|
2650
2704
|
length: 256;
|
|
2651
2705
|
}>;
|
|
2652
|
-
a2aSessionId:
|
|
2706
|
+
a2aSessionId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2653
2707
|
name: "a2a_session_id";
|
|
2654
2708
|
tableName: "messages";
|
|
2655
2709
|
dataType: "string";
|
|
@@ -2668,7 +2722,7 @@ declare const messages: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2668
2722
|
}, {}, {
|
|
2669
2723
|
length: 256;
|
|
2670
2724
|
}>;
|
|
2671
|
-
metadata:
|
|
2725
|
+
metadata: drizzle_orm_pg_core1813.PgColumn<{
|
|
2672
2726
|
name: "metadata";
|
|
2673
2727
|
tableName: "messages";
|
|
2674
2728
|
dataType: "json";
|
|
@@ -2687,7 +2741,7 @@ declare const messages: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2687
2741
|
}, {}, {
|
|
2688
2742
|
$type: MessageMetadata;
|
|
2689
2743
|
}>;
|
|
2690
|
-
projectId:
|
|
2744
|
+
projectId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2691
2745
|
name: "project_id";
|
|
2692
2746
|
tableName: "messages";
|
|
2693
2747
|
dataType: "string";
|
|
@@ -2706,7 +2760,7 @@ declare const messages: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2706
2760
|
}, {}, {
|
|
2707
2761
|
length: 256;
|
|
2708
2762
|
}>;
|
|
2709
|
-
tenantId:
|
|
2763
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2710
2764
|
name: "tenant_id";
|
|
2711
2765
|
tableName: "messages";
|
|
2712
2766
|
dataType: "string";
|
|
@@ -2725,7 +2779,7 @@ declare const messages: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2725
2779
|
}, {}, {
|
|
2726
2780
|
length: 256;
|
|
2727
2781
|
}>;
|
|
2728
|
-
id:
|
|
2782
|
+
id: drizzle_orm_pg_core1813.PgColumn<{
|
|
2729
2783
|
name: "id";
|
|
2730
2784
|
tableName: "messages";
|
|
2731
2785
|
dataType: "string";
|
|
@@ -2747,11 +2801,11 @@ declare const messages: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2747
2801
|
};
|
|
2748
2802
|
dialect: "pg";
|
|
2749
2803
|
}>;
|
|
2750
|
-
declare const taskRelations:
|
|
2804
|
+
declare const taskRelations: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
2751
2805
|
name: "task_relations";
|
|
2752
2806
|
schema: undefined;
|
|
2753
2807
|
columns: {
|
|
2754
|
-
createdAt:
|
|
2808
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
2755
2809
|
name: "created_at";
|
|
2756
2810
|
tableName: "task_relations";
|
|
2757
2811
|
dataType: "string";
|
|
@@ -2768,7 +2822,7 @@ declare const taskRelations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2768
2822
|
identity: undefined;
|
|
2769
2823
|
generated: undefined;
|
|
2770
2824
|
}, {}, {}>;
|
|
2771
|
-
updatedAt:
|
|
2825
|
+
updatedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
2772
2826
|
name: "updated_at";
|
|
2773
2827
|
tableName: "task_relations";
|
|
2774
2828
|
dataType: "string";
|
|
@@ -2785,7 +2839,7 @@ declare const taskRelations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2785
2839
|
identity: undefined;
|
|
2786
2840
|
generated: undefined;
|
|
2787
2841
|
}, {}, {}>;
|
|
2788
|
-
parentTaskId:
|
|
2842
|
+
parentTaskId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2789
2843
|
name: "parent_task_id";
|
|
2790
2844
|
tableName: "task_relations";
|
|
2791
2845
|
dataType: "string";
|
|
@@ -2804,7 +2858,7 @@ declare const taskRelations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2804
2858
|
}, {}, {
|
|
2805
2859
|
length: 256;
|
|
2806
2860
|
}>;
|
|
2807
|
-
childTaskId:
|
|
2861
|
+
childTaskId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2808
2862
|
name: "child_task_id";
|
|
2809
2863
|
tableName: "task_relations";
|
|
2810
2864
|
dataType: "string";
|
|
@@ -2823,7 +2877,7 @@ declare const taskRelations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2823
2877
|
}, {}, {
|
|
2824
2878
|
length: 256;
|
|
2825
2879
|
}>;
|
|
2826
|
-
relationType:
|
|
2880
|
+
relationType: drizzle_orm_pg_core1813.PgColumn<{
|
|
2827
2881
|
name: "relation_type";
|
|
2828
2882
|
tableName: "task_relations";
|
|
2829
2883
|
dataType: "string";
|
|
@@ -2842,7 +2896,7 @@ declare const taskRelations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2842
2896
|
}, {}, {
|
|
2843
2897
|
length: 256;
|
|
2844
2898
|
}>;
|
|
2845
|
-
projectId:
|
|
2899
|
+
projectId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2846
2900
|
name: "project_id";
|
|
2847
2901
|
tableName: "task_relations";
|
|
2848
2902
|
dataType: "string";
|
|
@@ -2861,7 +2915,7 @@ declare const taskRelations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2861
2915
|
}, {}, {
|
|
2862
2916
|
length: 256;
|
|
2863
2917
|
}>;
|
|
2864
|
-
tenantId:
|
|
2918
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2865
2919
|
name: "tenant_id";
|
|
2866
2920
|
tableName: "task_relations";
|
|
2867
2921
|
dataType: "string";
|
|
@@ -2880,7 +2934,7 @@ declare const taskRelations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2880
2934
|
}, {}, {
|
|
2881
2935
|
length: 256;
|
|
2882
2936
|
}>;
|
|
2883
|
-
id:
|
|
2937
|
+
id: drizzle_orm_pg_core1813.PgColumn<{
|
|
2884
2938
|
name: "id";
|
|
2885
2939
|
tableName: "task_relations";
|
|
2886
2940
|
dataType: "string";
|
|
@@ -2902,11 +2956,11 @@ declare const taskRelations: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2902
2956
|
};
|
|
2903
2957
|
dialect: "pg";
|
|
2904
2958
|
}>;
|
|
2905
|
-
declare const ledgerArtifacts:
|
|
2959
|
+
declare const ledgerArtifacts: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
2906
2960
|
name: "ledger_artifacts";
|
|
2907
2961
|
schema: undefined;
|
|
2908
2962
|
columns: {
|
|
2909
|
-
createdAt:
|
|
2963
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
2910
2964
|
name: "created_at";
|
|
2911
2965
|
tableName: "ledger_artifacts";
|
|
2912
2966
|
dataType: "string";
|
|
@@ -2923,7 +2977,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2923
2977
|
identity: undefined;
|
|
2924
2978
|
generated: undefined;
|
|
2925
2979
|
}, {}, {}>;
|
|
2926
|
-
updatedAt:
|
|
2980
|
+
updatedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
2927
2981
|
name: "updated_at";
|
|
2928
2982
|
tableName: "ledger_artifacts";
|
|
2929
2983
|
dataType: "string";
|
|
@@ -2940,7 +2994,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2940
2994
|
identity: undefined;
|
|
2941
2995
|
generated: undefined;
|
|
2942
2996
|
}, {}, {}>;
|
|
2943
|
-
taskId:
|
|
2997
|
+
taskId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2944
2998
|
name: "task_id";
|
|
2945
2999
|
tableName: "ledger_artifacts";
|
|
2946
3000
|
dataType: "string";
|
|
@@ -2959,7 +3013,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2959
3013
|
}, {}, {
|
|
2960
3014
|
length: 256;
|
|
2961
3015
|
}>;
|
|
2962
|
-
toolCallId:
|
|
3016
|
+
toolCallId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2963
3017
|
name: "tool_call_id";
|
|
2964
3018
|
tableName: "ledger_artifacts";
|
|
2965
3019
|
dataType: "string";
|
|
@@ -2978,7 +3032,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2978
3032
|
}, {}, {
|
|
2979
3033
|
length: 256;
|
|
2980
3034
|
}>;
|
|
2981
|
-
contextId:
|
|
3035
|
+
contextId: drizzle_orm_pg_core1813.PgColumn<{
|
|
2982
3036
|
name: "context_id";
|
|
2983
3037
|
tableName: "ledger_artifacts";
|
|
2984
3038
|
dataType: "string";
|
|
@@ -2997,7 +3051,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
2997
3051
|
}, {}, {
|
|
2998
3052
|
length: 256;
|
|
2999
3053
|
}>;
|
|
3000
|
-
type:
|
|
3054
|
+
type: drizzle_orm_pg_core1813.PgColumn<{
|
|
3001
3055
|
name: "type";
|
|
3002
3056
|
tableName: "ledger_artifacts";
|
|
3003
3057
|
dataType: "string";
|
|
@@ -3016,7 +3070,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3016
3070
|
}, {}, {
|
|
3017
3071
|
length: 256;
|
|
3018
3072
|
}>;
|
|
3019
|
-
name:
|
|
3073
|
+
name: drizzle_orm_pg_core1813.PgColumn<{
|
|
3020
3074
|
name: "name";
|
|
3021
3075
|
tableName: "ledger_artifacts";
|
|
3022
3076
|
dataType: "string";
|
|
@@ -3035,7 +3089,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3035
3089
|
}, {}, {
|
|
3036
3090
|
length: 256;
|
|
3037
3091
|
}>;
|
|
3038
|
-
description:
|
|
3092
|
+
description: drizzle_orm_pg_core1813.PgColumn<{
|
|
3039
3093
|
name: "description";
|
|
3040
3094
|
tableName: "ledger_artifacts";
|
|
3041
3095
|
dataType: "string";
|
|
@@ -3052,7 +3106,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3052
3106
|
identity: undefined;
|
|
3053
3107
|
generated: undefined;
|
|
3054
3108
|
}, {}, {}>;
|
|
3055
|
-
parts:
|
|
3109
|
+
parts: drizzle_orm_pg_core1813.PgColumn<{
|
|
3056
3110
|
name: "parts";
|
|
3057
3111
|
tableName: "ledger_artifacts";
|
|
3058
3112
|
dataType: "json";
|
|
@@ -3071,7 +3125,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3071
3125
|
}, {}, {
|
|
3072
3126
|
$type: Part[] | null;
|
|
3073
3127
|
}>;
|
|
3074
|
-
metadata:
|
|
3128
|
+
metadata: drizzle_orm_pg_core1813.PgColumn<{
|
|
3075
3129
|
name: "metadata";
|
|
3076
3130
|
tableName: "ledger_artifacts";
|
|
3077
3131
|
dataType: "json";
|
|
@@ -3090,7 +3144,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3090
3144
|
}, {}, {
|
|
3091
3145
|
$type: Record<string, unknown> | null;
|
|
3092
3146
|
}>;
|
|
3093
|
-
summary:
|
|
3147
|
+
summary: drizzle_orm_pg_core1813.PgColumn<{
|
|
3094
3148
|
name: "summary";
|
|
3095
3149
|
tableName: "ledger_artifacts";
|
|
3096
3150
|
dataType: "string";
|
|
@@ -3107,7 +3161,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3107
3161
|
identity: undefined;
|
|
3108
3162
|
generated: undefined;
|
|
3109
3163
|
}, {}, {}>;
|
|
3110
|
-
mime:
|
|
3164
|
+
mime: drizzle_orm_pg_core1813.PgColumn<{
|
|
3111
3165
|
name: "mime";
|
|
3112
3166
|
tableName: "ledger_artifacts";
|
|
3113
3167
|
dataType: "json";
|
|
@@ -3126,7 +3180,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3126
3180
|
}, {}, {
|
|
3127
3181
|
$type: string[] | null;
|
|
3128
3182
|
}>;
|
|
3129
|
-
visibility:
|
|
3183
|
+
visibility: drizzle_orm_pg_core1813.PgColumn<{
|
|
3130
3184
|
name: "visibility";
|
|
3131
3185
|
tableName: "ledger_artifacts";
|
|
3132
3186
|
dataType: "string";
|
|
@@ -3145,7 +3199,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3145
3199
|
}, {}, {
|
|
3146
3200
|
length: 256;
|
|
3147
3201
|
}>;
|
|
3148
|
-
allowedAgents:
|
|
3202
|
+
allowedAgents: drizzle_orm_pg_core1813.PgColumn<{
|
|
3149
3203
|
name: "allowed_agents";
|
|
3150
3204
|
tableName: "ledger_artifacts";
|
|
3151
3205
|
dataType: "json";
|
|
@@ -3164,7 +3218,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3164
3218
|
}, {}, {
|
|
3165
3219
|
$type: string[] | null;
|
|
3166
3220
|
}>;
|
|
3167
|
-
derivedFrom:
|
|
3221
|
+
derivedFrom: drizzle_orm_pg_core1813.PgColumn<{
|
|
3168
3222
|
name: "derived_from";
|
|
3169
3223
|
tableName: "ledger_artifacts";
|
|
3170
3224
|
dataType: "string";
|
|
@@ -3183,7 +3237,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3183
3237
|
}, {}, {
|
|
3184
3238
|
length: 256;
|
|
3185
3239
|
}>;
|
|
3186
|
-
projectId:
|
|
3240
|
+
projectId: drizzle_orm_pg_core1813.PgColumn<{
|
|
3187
3241
|
name: "project_id";
|
|
3188
3242
|
tableName: "ledger_artifacts";
|
|
3189
3243
|
dataType: "string";
|
|
@@ -3202,7 +3256,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3202
3256
|
}, {}, {
|
|
3203
3257
|
length: 256;
|
|
3204
3258
|
}>;
|
|
3205
|
-
tenantId:
|
|
3259
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
3206
3260
|
name: "tenant_id";
|
|
3207
3261
|
tableName: "ledger_artifacts";
|
|
3208
3262
|
dataType: "string";
|
|
@@ -3221,7 +3275,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3221
3275
|
}, {}, {
|
|
3222
3276
|
length: 256;
|
|
3223
3277
|
}>;
|
|
3224
|
-
id:
|
|
3278
|
+
id: drizzle_orm_pg_core1813.PgColumn<{
|
|
3225
3279
|
name: "id";
|
|
3226
3280
|
tableName: "ledger_artifacts";
|
|
3227
3281
|
dataType: "string";
|
|
@@ -3243,11 +3297,11 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3243
3297
|
};
|
|
3244
3298
|
dialect: "pg";
|
|
3245
3299
|
}>;
|
|
3246
|
-
declare const contextCache:
|
|
3300
|
+
declare const contextCache: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
3247
3301
|
name: "context_cache";
|
|
3248
3302
|
schema: undefined;
|
|
3249
3303
|
columns: {
|
|
3250
|
-
createdAt:
|
|
3304
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
3251
3305
|
name: "created_at";
|
|
3252
3306
|
tableName: "context_cache";
|
|
3253
3307
|
dataType: "string";
|
|
@@ -3264,7 +3318,7 @@ declare const contextCache: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3264
3318
|
identity: undefined;
|
|
3265
3319
|
generated: undefined;
|
|
3266
3320
|
}, {}, {}>;
|
|
3267
|
-
updatedAt:
|
|
3321
|
+
updatedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
3268
3322
|
name: "updated_at";
|
|
3269
3323
|
tableName: "context_cache";
|
|
3270
3324
|
dataType: "string";
|
|
@@ -3281,7 +3335,7 @@ declare const contextCache: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3281
3335
|
identity: undefined;
|
|
3282
3336
|
generated: undefined;
|
|
3283
3337
|
}, {}, {}>;
|
|
3284
|
-
conversationId:
|
|
3338
|
+
conversationId: drizzle_orm_pg_core1813.PgColumn<{
|
|
3285
3339
|
name: "conversation_id";
|
|
3286
3340
|
tableName: "context_cache";
|
|
3287
3341
|
dataType: "string";
|
|
@@ -3300,7 +3354,7 @@ declare const contextCache: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3300
3354
|
}, {}, {
|
|
3301
3355
|
length: 256;
|
|
3302
3356
|
}>;
|
|
3303
|
-
contextConfigId:
|
|
3357
|
+
contextConfigId: drizzle_orm_pg_core1813.PgColumn<{
|
|
3304
3358
|
name: "context_config_id";
|
|
3305
3359
|
tableName: "context_cache";
|
|
3306
3360
|
dataType: "string";
|
|
@@ -3319,7 +3373,7 @@ declare const contextCache: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3319
3373
|
}, {}, {
|
|
3320
3374
|
length: 256;
|
|
3321
3375
|
}>;
|
|
3322
|
-
contextVariableKey:
|
|
3376
|
+
contextVariableKey: drizzle_orm_pg_core1813.PgColumn<{
|
|
3323
3377
|
name: "context_variable_key";
|
|
3324
3378
|
tableName: "context_cache";
|
|
3325
3379
|
dataType: "string";
|
|
@@ -3338,13 +3392,13 @@ declare const contextCache: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3338
3392
|
}, {}, {
|
|
3339
3393
|
length: 256;
|
|
3340
3394
|
}>;
|
|
3341
|
-
ref:
|
|
3395
|
+
ref: drizzle_orm_pg_core1813.PgColumn<{
|
|
3342
3396
|
name: "ref";
|
|
3343
3397
|
tableName: "context_cache";
|
|
3344
3398
|
dataType: "json";
|
|
3345
3399
|
columnType: "PgJsonb";
|
|
3346
3400
|
data: {
|
|
3347
|
-
type: "
|
|
3401
|
+
type: "commit" | "tag" | "branch";
|
|
3348
3402
|
name: string;
|
|
3349
3403
|
hash: string;
|
|
3350
3404
|
};
|
|
@@ -3360,12 +3414,12 @@ declare const contextCache: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3360
3414
|
generated: undefined;
|
|
3361
3415
|
}, {}, {
|
|
3362
3416
|
$type: {
|
|
3363
|
-
type: "
|
|
3417
|
+
type: "commit" | "tag" | "branch";
|
|
3364
3418
|
name: string;
|
|
3365
3419
|
hash: string;
|
|
3366
3420
|
};
|
|
3367
3421
|
}>;
|
|
3368
|
-
value:
|
|
3422
|
+
value: drizzle_orm_pg_core1813.PgColumn<{
|
|
3369
3423
|
name: "value";
|
|
3370
3424
|
tableName: "context_cache";
|
|
3371
3425
|
dataType: "json";
|
|
@@ -3384,7 +3438,7 @@ declare const contextCache: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3384
3438
|
}, {}, {
|
|
3385
3439
|
$type: unknown;
|
|
3386
3440
|
}>;
|
|
3387
|
-
requestHash:
|
|
3441
|
+
requestHash: drizzle_orm_pg_core1813.PgColumn<{
|
|
3388
3442
|
name: "request_hash";
|
|
3389
3443
|
tableName: "context_cache";
|
|
3390
3444
|
dataType: "string";
|
|
@@ -3403,7 +3457,7 @@ declare const contextCache: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3403
3457
|
}, {}, {
|
|
3404
3458
|
length: 256;
|
|
3405
3459
|
}>;
|
|
3406
|
-
fetchedAt:
|
|
3460
|
+
fetchedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
3407
3461
|
name: "fetched_at";
|
|
3408
3462
|
tableName: "context_cache";
|
|
3409
3463
|
dataType: "string";
|
|
@@ -3420,7 +3474,7 @@ declare const contextCache: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3420
3474
|
identity: undefined;
|
|
3421
3475
|
generated: undefined;
|
|
3422
3476
|
}, {}, {}>;
|
|
3423
|
-
fetchSource:
|
|
3477
|
+
fetchSource: drizzle_orm_pg_core1813.PgColumn<{
|
|
3424
3478
|
name: "fetch_source";
|
|
3425
3479
|
tableName: "context_cache";
|
|
3426
3480
|
dataType: "string";
|
|
@@ -3439,7 +3493,7 @@ declare const contextCache: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3439
3493
|
}, {}, {
|
|
3440
3494
|
length: 256;
|
|
3441
3495
|
}>;
|
|
3442
|
-
projectId:
|
|
3496
|
+
projectId: drizzle_orm_pg_core1813.PgColumn<{
|
|
3443
3497
|
name: "project_id";
|
|
3444
3498
|
tableName: "context_cache";
|
|
3445
3499
|
dataType: "string";
|
|
@@ -3458,7 +3512,7 @@ declare const contextCache: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3458
3512
|
}, {}, {
|
|
3459
3513
|
length: 256;
|
|
3460
3514
|
}>;
|
|
3461
|
-
tenantId:
|
|
3515
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
3462
3516
|
name: "tenant_id";
|
|
3463
3517
|
tableName: "context_cache";
|
|
3464
3518
|
dataType: "string";
|
|
@@ -3477,7 +3531,7 @@ declare const contextCache: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3477
3531
|
}, {}, {
|
|
3478
3532
|
length: 256;
|
|
3479
3533
|
}>;
|
|
3480
|
-
id:
|
|
3534
|
+
id: drizzle_orm_pg_core1813.PgColumn<{
|
|
3481
3535
|
name: "id";
|
|
3482
3536
|
tableName: "context_cache";
|
|
3483
3537
|
dataType: "string";
|
|
@@ -3512,11 +3566,11 @@ declare const contextCache: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3512
3566
|
* datasetRunConfigId (optional: if created from a config),
|
|
3513
3567
|
* evaluationJobConfigId (optional: links to evaluation job created for this run), and timestamps
|
|
3514
3568
|
*/
|
|
3515
|
-
declare const datasetRun:
|
|
3569
|
+
declare const datasetRun: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
3516
3570
|
name: "dataset_run";
|
|
3517
3571
|
schema: undefined;
|
|
3518
3572
|
columns: {
|
|
3519
|
-
createdAt:
|
|
3573
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
3520
3574
|
name: "created_at";
|
|
3521
3575
|
tableName: "dataset_run";
|
|
3522
3576
|
dataType: "string";
|
|
@@ -3533,7 +3587,7 @@ declare const datasetRun: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3533
3587
|
identity: undefined;
|
|
3534
3588
|
generated: undefined;
|
|
3535
3589
|
}, {}, {}>;
|
|
3536
|
-
updatedAt:
|
|
3590
|
+
updatedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
3537
3591
|
name: "updated_at";
|
|
3538
3592
|
tableName: "dataset_run";
|
|
3539
3593
|
dataType: "string";
|
|
@@ -3550,7 +3604,7 @@ declare const datasetRun: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3550
3604
|
identity: undefined;
|
|
3551
3605
|
generated: undefined;
|
|
3552
3606
|
}, {}, {}>;
|
|
3553
|
-
datasetId:
|
|
3607
|
+
datasetId: drizzle_orm_pg_core1813.PgColumn<{
|
|
3554
3608
|
name: "dataset_id";
|
|
3555
3609
|
tableName: "dataset_run";
|
|
3556
3610
|
dataType: "string";
|
|
@@ -3567,7 +3621,7 @@ declare const datasetRun: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3567
3621
|
identity: undefined;
|
|
3568
3622
|
generated: undefined;
|
|
3569
3623
|
}, {}, {}>;
|
|
3570
|
-
datasetRunConfigId:
|
|
3624
|
+
datasetRunConfigId: drizzle_orm_pg_core1813.PgColumn<{
|
|
3571
3625
|
name: "dataset_run_config_id";
|
|
3572
3626
|
tableName: "dataset_run";
|
|
3573
3627
|
dataType: "string";
|
|
@@ -3584,7 +3638,7 @@ declare const datasetRun: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3584
3638
|
identity: undefined;
|
|
3585
3639
|
generated: undefined;
|
|
3586
3640
|
}, {}, {}>;
|
|
3587
|
-
evaluationJobConfigId:
|
|
3641
|
+
evaluationJobConfigId: drizzle_orm_pg_core1813.PgColumn<{
|
|
3588
3642
|
name: "evaluation_job_config_id";
|
|
3589
3643
|
tableName: "dataset_run";
|
|
3590
3644
|
dataType: "string";
|
|
@@ -3601,7 +3655,34 @@ declare const datasetRun: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3601
3655
|
identity: undefined;
|
|
3602
3656
|
generated: undefined;
|
|
3603
3657
|
}, {}, {}>;
|
|
3604
|
-
|
|
3658
|
+
ref: drizzle_orm_pg_core1813.PgColumn<{
|
|
3659
|
+
name: "ref";
|
|
3660
|
+
tableName: "dataset_run";
|
|
3661
|
+
dataType: "json";
|
|
3662
|
+
columnType: "PgJsonb";
|
|
3663
|
+
data: {
|
|
3664
|
+
type: "commit" | "tag" | "branch";
|
|
3665
|
+
name: string;
|
|
3666
|
+
hash: string;
|
|
3667
|
+
};
|
|
3668
|
+
driverParam: unknown;
|
|
3669
|
+
notNull: false;
|
|
3670
|
+
hasDefault: false;
|
|
3671
|
+
isPrimaryKey: false;
|
|
3672
|
+
isAutoincrement: false;
|
|
3673
|
+
hasRuntimeDefault: false;
|
|
3674
|
+
enumValues: undefined;
|
|
3675
|
+
baseColumn: never;
|
|
3676
|
+
identity: undefined;
|
|
3677
|
+
generated: undefined;
|
|
3678
|
+
}, {}, {
|
|
3679
|
+
$type: {
|
|
3680
|
+
type: "commit" | "tag" | "branch";
|
|
3681
|
+
name: string;
|
|
3682
|
+
hash: string;
|
|
3683
|
+
};
|
|
3684
|
+
}>;
|
|
3685
|
+
projectId: drizzle_orm_pg_core1813.PgColumn<{
|
|
3605
3686
|
name: "project_id";
|
|
3606
3687
|
tableName: "dataset_run";
|
|
3607
3688
|
dataType: "string";
|
|
@@ -3620,7 +3701,7 @@ declare const datasetRun: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3620
3701
|
}, {}, {
|
|
3621
3702
|
length: 256;
|
|
3622
3703
|
}>;
|
|
3623
|
-
tenantId:
|
|
3704
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
3624
3705
|
name: "tenant_id";
|
|
3625
3706
|
tableName: "dataset_run";
|
|
3626
3707
|
dataType: "string";
|
|
@@ -3639,7 +3720,7 @@ declare const datasetRun: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3639
3720
|
}, {}, {
|
|
3640
3721
|
length: 256;
|
|
3641
3722
|
}>;
|
|
3642
|
-
id:
|
|
3723
|
+
id: drizzle_orm_pg_core1813.PgColumn<{
|
|
3643
3724
|
name: "id";
|
|
3644
3725
|
tableName: "dataset_run";
|
|
3645
3726
|
dataType: "string";
|
|
@@ -3672,11 +3753,11 @@ declare const datasetRun: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3672
3753
|
* unique constraint on (datasetRunId, conversationId) ensures one conversation per datasetRun,
|
|
3673
3754
|
* and timestamps
|
|
3674
3755
|
*/
|
|
3675
|
-
declare const datasetRunConversationRelations:
|
|
3756
|
+
declare const datasetRunConversationRelations: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
3676
3757
|
name: "dataset_run_conversation_relations";
|
|
3677
3758
|
schema: undefined;
|
|
3678
3759
|
columns: {
|
|
3679
|
-
createdAt:
|
|
3760
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
3680
3761
|
name: "created_at";
|
|
3681
3762
|
tableName: "dataset_run_conversation_relations";
|
|
3682
3763
|
dataType: "string";
|
|
@@ -3693,7 +3774,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1577.PgTableWi
|
|
|
3693
3774
|
identity: undefined;
|
|
3694
3775
|
generated: undefined;
|
|
3695
3776
|
}, {}, {}>;
|
|
3696
|
-
updatedAt:
|
|
3777
|
+
updatedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
3697
3778
|
name: "updated_at";
|
|
3698
3779
|
tableName: "dataset_run_conversation_relations";
|
|
3699
3780
|
dataType: "string";
|
|
@@ -3710,7 +3791,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1577.PgTableWi
|
|
|
3710
3791
|
identity: undefined;
|
|
3711
3792
|
generated: undefined;
|
|
3712
3793
|
}, {}, {}>;
|
|
3713
|
-
datasetRunId:
|
|
3794
|
+
datasetRunId: drizzle_orm_pg_core1813.PgColumn<{
|
|
3714
3795
|
name: "dataset_run_id";
|
|
3715
3796
|
tableName: "dataset_run_conversation_relations";
|
|
3716
3797
|
dataType: "string";
|
|
@@ -3727,7 +3808,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1577.PgTableWi
|
|
|
3727
3808
|
identity: undefined;
|
|
3728
3809
|
generated: undefined;
|
|
3729
3810
|
}, {}, {}>;
|
|
3730
|
-
conversationId:
|
|
3811
|
+
conversationId: drizzle_orm_pg_core1813.PgColumn<{
|
|
3731
3812
|
name: "conversation_id";
|
|
3732
3813
|
tableName: "dataset_run_conversation_relations";
|
|
3733
3814
|
dataType: "string";
|
|
@@ -3744,7 +3825,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1577.PgTableWi
|
|
|
3744
3825
|
identity: undefined;
|
|
3745
3826
|
generated: undefined;
|
|
3746
3827
|
}, {}, {}>;
|
|
3747
|
-
datasetItemId:
|
|
3828
|
+
datasetItemId: drizzle_orm_pg_core1813.PgColumn<{
|
|
3748
3829
|
name: "dataset_item_id";
|
|
3749
3830
|
tableName: "dataset_run_conversation_relations";
|
|
3750
3831
|
dataType: "string";
|
|
@@ -3761,7 +3842,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1577.PgTableWi
|
|
|
3761
3842
|
identity: undefined;
|
|
3762
3843
|
generated: undefined;
|
|
3763
3844
|
}, {}, {}>;
|
|
3764
|
-
projectId:
|
|
3845
|
+
projectId: drizzle_orm_pg_core1813.PgColumn<{
|
|
3765
3846
|
name: "project_id";
|
|
3766
3847
|
tableName: "dataset_run_conversation_relations";
|
|
3767
3848
|
dataType: "string";
|
|
@@ -3780,7 +3861,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1577.PgTableWi
|
|
|
3780
3861
|
}, {}, {
|
|
3781
3862
|
length: 256;
|
|
3782
3863
|
}>;
|
|
3783
|
-
tenantId:
|
|
3864
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
3784
3865
|
name: "tenant_id";
|
|
3785
3866
|
tableName: "dataset_run_conversation_relations";
|
|
3786
3867
|
dataType: "string";
|
|
@@ -3799,7 +3880,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1577.PgTableWi
|
|
|
3799
3880
|
}, {}, {
|
|
3800
3881
|
length: 256;
|
|
3801
3882
|
}>;
|
|
3802
|
-
id:
|
|
3883
|
+
id: drizzle_orm_pg_core1813.PgColumn<{
|
|
3803
3884
|
name: "id";
|
|
3804
3885
|
tableName: "dataset_run_conversation_relations";
|
|
3805
3886
|
dataType: "string";
|
|
@@ -3832,11 +3913,11 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1577.PgTableWi
|
|
|
3832
3913
|
* evaluationRunConfigId (optional: if created from a run config),
|
|
3833
3914
|
* and timestamps
|
|
3834
3915
|
*/
|
|
3835
|
-
declare const evaluationRun:
|
|
3916
|
+
declare const evaluationRun: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
3836
3917
|
name: "evaluation_run";
|
|
3837
3918
|
schema: undefined;
|
|
3838
3919
|
columns: {
|
|
3839
|
-
createdAt:
|
|
3920
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
3840
3921
|
name: "created_at";
|
|
3841
3922
|
tableName: "evaluation_run";
|
|
3842
3923
|
dataType: "string";
|
|
@@ -3853,7 +3934,7 @@ declare const evaluationRun: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3853
3934
|
identity: undefined;
|
|
3854
3935
|
generated: undefined;
|
|
3855
3936
|
}, {}, {}>;
|
|
3856
|
-
updatedAt:
|
|
3937
|
+
updatedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
3857
3938
|
name: "updated_at";
|
|
3858
3939
|
tableName: "evaluation_run";
|
|
3859
3940
|
dataType: "string";
|
|
@@ -3870,7 +3951,7 @@ declare const evaluationRun: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3870
3951
|
identity: undefined;
|
|
3871
3952
|
generated: undefined;
|
|
3872
3953
|
}, {}, {}>;
|
|
3873
|
-
evaluationJobConfigId:
|
|
3954
|
+
evaluationJobConfigId: drizzle_orm_pg_core1813.PgColumn<{
|
|
3874
3955
|
name: "evaluation_job_config_id";
|
|
3875
3956
|
tableName: "evaluation_run";
|
|
3876
3957
|
dataType: "string";
|
|
@@ -3887,7 +3968,7 @@ declare const evaluationRun: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3887
3968
|
identity: undefined;
|
|
3888
3969
|
generated: undefined;
|
|
3889
3970
|
}, {}, {}>;
|
|
3890
|
-
evaluationRunConfigId:
|
|
3971
|
+
evaluationRunConfigId: drizzle_orm_pg_core1813.PgColumn<{
|
|
3891
3972
|
name: "evaluation_run_config_id";
|
|
3892
3973
|
tableName: "evaluation_run";
|
|
3893
3974
|
dataType: "string";
|
|
@@ -3904,7 +3985,34 @@ declare const evaluationRun: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3904
3985
|
identity: undefined;
|
|
3905
3986
|
generated: undefined;
|
|
3906
3987
|
}, {}, {}>;
|
|
3907
|
-
|
|
3988
|
+
ref: drizzle_orm_pg_core1813.PgColumn<{
|
|
3989
|
+
name: "ref";
|
|
3990
|
+
tableName: "evaluation_run";
|
|
3991
|
+
dataType: "json";
|
|
3992
|
+
columnType: "PgJsonb";
|
|
3993
|
+
data: {
|
|
3994
|
+
type: "commit" | "tag" | "branch";
|
|
3995
|
+
name: string;
|
|
3996
|
+
hash: string;
|
|
3997
|
+
};
|
|
3998
|
+
driverParam: unknown;
|
|
3999
|
+
notNull: false;
|
|
4000
|
+
hasDefault: false;
|
|
4001
|
+
isPrimaryKey: false;
|
|
4002
|
+
isAutoincrement: false;
|
|
4003
|
+
hasRuntimeDefault: false;
|
|
4004
|
+
enumValues: undefined;
|
|
4005
|
+
baseColumn: never;
|
|
4006
|
+
identity: undefined;
|
|
4007
|
+
generated: undefined;
|
|
4008
|
+
}, {}, {
|
|
4009
|
+
$type: {
|
|
4010
|
+
type: "commit" | "tag" | "branch";
|
|
4011
|
+
name: string;
|
|
4012
|
+
hash: string;
|
|
4013
|
+
};
|
|
4014
|
+
}>;
|
|
4015
|
+
projectId: drizzle_orm_pg_core1813.PgColumn<{
|
|
3908
4016
|
name: "project_id";
|
|
3909
4017
|
tableName: "evaluation_run";
|
|
3910
4018
|
dataType: "string";
|
|
@@ -3923,7 +4031,7 @@ declare const evaluationRun: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3923
4031
|
}, {}, {
|
|
3924
4032
|
length: 256;
|
|
3925
4033
|
}>;
|
|
3926
|
-
tenantId:
|
|
4034
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
3927
4035
|
name: "tenant_id";
|
|
3928
4036
|
tableName: "evaluation_run";
|
|
3929
4037
|
dataType: "string";
|
|
@@ -3942,7 +4050,7 @@ declare const evaluationRun: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3942
4050
|
}, {}, {
|
|
3943
4051
|
length: 256;
|
|
3944
4052
|
}>;
|
|
3945
|
-
id:
|
|
4053
|
+
id: drizzle_orm_pg_core1813.PgColumn<{
|
|
3946
4054
|
name: "id";
|
|
3947
4055
|
tableName: "evaluation_run";
|
|
3948
4056
|
dataType: "string";
|
|
@@ -3973,11 +4081,11 @@ declare const evaluationRun: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3973
4081
|
* evaluationRunId (optional, links to evaluationRun),
|
|
3974
4082
|
* output (evaluation result as MessageContent), and timestamps
|
|
3975
4083
|
*/
|
|
3976
|
-
declare const evaluationResult:
|
|
4084
|
+
declare const evaluationResult: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
3977
4085
|
name: "evaluation_result";
|
|
3978
4086
|
schema: undefined;
|
|
3979
4087
|
columns: {
|
|
3980
|
-
createdAt:
|
|
4088
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
3981
4089
|
name: "created_at";
|
|
3982
4090
|
tableName: "evaluation_result";
|
|
3983
4091
|
dataType: "string";
|
|
@@ -3994,7 +4102,7 @@ declare const evaluationResult: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
3994
4102
|
identity: undefined;
|
|
3995
4103
|
generated: undefined;
|
|
3996
4104
|
}, {}, {}>;
|
|
3997
|
-
updatedAt:
|
|
4105
|
+
updatedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
3998
4106
|
name: "updated_at";
|
|
3999
4107
|
tableName: "evaluation_result";
|
|
4000
4108
|
dataType: "string";
|
|
@@ -4011,7 +4119,7 @@ declare const evaluationResult: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
4011
4119
|
identity: undefined;
|
|
4012
4120
|
generated: undefined;
|
|
4013
4121
|
}, {}, {}>;
|
|
4014
|
-
conversationId:
|
|
4122
|
+
conversationId: drizzle_orm_pg_core1813.PgColumn<{
|
|
4015
4123
|
name: "conversation_id";
|
|
4016
4124
|
tableName: "evaluation_result";
|
|
4017
4125
|
dataType: "string";
|
|
@@ -4028,7 +4136,7 @@ declare const evaluationResult: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
4028
4136
|
identity: undefined;
|
|
4029
4137
|
generated: undefined;
|
|
4030
4138
|
}, {}, {}>;
|
|
4031
|
-
evaluatorId:
|
|
4139
|
+
evaluatorId: drizzle_orm_pg_core1813.PgColumn<{
|
|
4032
4140
|
name: "evaluator_id";
|
|
4033
4141
|
tableName: "evaluation_result";
|
|
4034
4142
|
dataType: "string";
|
|
@@ -4045,7 +4153,7 @@ declare const evaluationResult: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
4045
4153
|
identity: undefined;
|
|
4046
4154
|
generated: undefined;
|
|
4047
4155
|
}, {}, {}>;
|
|
4048
|
-
evaluationRunId:
|
|
4156
|
+
evaluationRunId: drizzle_orm_pg_core1813.PgColumn<{
|
|
4049
4157
|
name: "evaluation_run_id";
|
|
4050
4158
|
tableName: "evaluation_result";
|
|
4051
4159
|
dataType: "string";
|
|
@@ -4062,7 +4170,7 @@ declare const evaluationResult: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
4062
4170
|
identity: undefined;
|
|
4063
4171
|
generated: undefined;
|
|
4064
4172
|
}, {}, {}>;
|
|
4065
|
-
output:
|
|
4173
|
+
output: drizzle_orm_pg_core1813.PgColumn<{
|
|
4066
4174
|
name: "output";
|
|
4067
4175
|
tableName: "evaluation_result";
|
|
4068
4176
|
dataType: "json";
|
|
@@ -4081,7 +4189,7 @@ declare const evaluationResult: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
4081
4189
|
}, {}, {
|
|
4082
4190
|
$type: MessageContent;
|
|
4083
4191
|
}>;
|
|
4084
|
-
projectId:
|
|
4192
|
+
projectId: drizzle_orm_pg_core1813.PgColumn<{
|
|
4085
4193
|
name: "project_id";
|
|
4086
4194
|
tableName: "evaluation_result";
|
|
4087
4195
|
dataType: "string";
|
|
@@ -4100,7 +4208,7 @@ declare const evaluationResult: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
4100
4208
|
}, {}, {
|
|
4101
4209
|
length: 256;
|
|
4102
4210
|
}>;
|
|
4103
|
-
tenantId:
|
|
4211
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
4104
4212
|
name: "tenant_id";
|
|
4105
4213
|
tableName: "evaluation_result";
|
|
4106
4214
|
dataType: "string";
|
|
@@ -4119,7 +4227,7 @@ declare const evaluationResult: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
4119
4227
|
}, {}, {
|
|
4120
4228
|
length: 256;
|
|
4121
4229
|
}>;
|
|
4122
|
-
id:
|
|
4230
|
+
id: drizzle_orm_pg_core1813.PgColumn<{
|
|
4123
4231
|
name: "id";
|
|
4124
4232
|
tableName: "evaluation_result";
|
|
4125
4233
|
dataType: "string";
|
|
@@ -4141,11 +4249,11 @@ declare const evaluationResult: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
4141
4249
|
};
|
|
4142
4250
|
dialect: "pg";
|
|
4143
4251
|
}>;
|
|
4144
|
-
declare const userProfile:
|
|
4252
|
+
declare const userProfile: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
4145
4253
|
name: "user_profile";
|
|
4146
4254
|
schema: undefined;
|
|
4147
4255
|
columns: {
|
|
4148
|
-
createdAt:
|
|
4256
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
4149
4257
|
name: "created_at";
|
|
4150
4258
|
tableName: "user_profile";
|
|
4151
4259
|
dataType: "string";
|
|
@@ -4162,7 +4270,7 @@ declare const userProfile: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
4162
4270
|
identity: undefined;
|
|
4163
4271
|
generated: undefined;
|
|
4164
4272
|
}, {}, {}>;
|
|
4165
|
-
updatedAt:
|
|
4273
|
+
updatedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
4166
4274
|
name: "updated_at";
|
|
4167
4275
|
tableName: "user_profile";
|
|
4168
4276
|
dataType: "string";
|
|
@@ -4179,7 +4287,7 @@ declare const userProfile: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
4179
4287
|
identity: undefined;
|
|
4180
4288
|
generated: undefined;
|
|
4181
4289
|
}, {}, {}>;
|
|
4182
|
-
id:
|
|
4290
|
+
id: drizzle_orm_pg_core1813.PgColumn<{
|
|
4183
4291
|
name: "id";
|
|
4184
4292
|
tableName: "user_profile";
|
|
4185
4293
|
dataType: "string";
|
|
@@ -4196,7 +4304,7 @@ declare const userProfile: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
4196
4304
|
identity: undefined;
|
|
4197
4305
|
generated: undefined;
|
|
4198
4306
|
}, {}, {}>;
|
|
4199
|
-
userId:
|
|
4307
|
+
userId: drizzle_orm_pg_core1813.PgColumn<{
|
|
4200
4308
|
name: "user_id";
|
|
4201
4309
|
tableName: "user_profile";
|
|
4202
4310
|
dataType: "string";
|
|
@@ -4213,7 +4321,7 @@ declare const userProfile: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
4213
4321
|
identity: undefined;
|
|
4214
4322
|
generated: undefined;
|
|
4215
4323
|
}, {}, {}>;
|
|
4216
|
-
timezone:
|
|
4324
|
+
timezone: drizzle_orm_pg_core1813.PgColumn<{
|
|
4217
4325
|
name: "timezone";
|
|
4218
4326
|
tableName: "user_profile";
|
|
4219
4327
|
dataType: "string";
|
|
@@ -4230,7 +4338,7 @@ declare const userProfile: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
4230
4338
|
identity: undefined;
|
|
4231
4339
|
generated: undefined;
|
|
4232
4340
|
}, {}, {}>;
|
|
4233
|
-
attributes:
|
|
4341
|
+
attributes: drizzle_orm_pg_core1813.PgColumn<{
|
|
4234
4342
|
name: "attributes";
|
|
4235
4343
|
tableName: "user_profile";
|
|
4236
4344
|
dataType: "json";
|
|
@@ -4252,41 +4360,41 @@ declare const userProfile: drizzle_orm_pg_core1577.PgTableWithColumns<{
|
|
|
4252
4360
|
};
|
|
4253
4361
|
dialect: "pg";
|
|
4254
4362
|
}>;
|
|
4255
|
-
declare const userProfileRelations:
|
|
4256
|
-
user:
|
|
4363
|
+
declare const userProfileRelations: drizzle_orm111.Relations<"user_profile", {
|
|
4364
|
+
user: drizzle_orm111.One<"user", true>;
|
|
4257
4365
|
}>;
|
|
4258
|
-
declare const conversationsRelations:
|
|
4259
|
-
messages:
|
|
4366
|
+
declare const conversationsRelations: drizzle_orm111.Relations<"conversations", {
|
|
4367
|
+
messages: drizzle_orm111.Many<"messages">;
|
|
4260
4368
|
}>;
|
|
4261
|
-
declare const messagesRelations:
|
|
4262
|
-
conversation:
|
|
4263
|
-
task:
|
|
4264
|
-
parentMessage:
|
|
4265
|
-
childMessages:
|
|
4369
|
+
declare const messagesRelations: drizzle_orm111.Relations<"messages", {
|
|
4370
|
+
conversation: drizzle_orm111.One<"conversations", true>;
|
|
4371
|
+
task: drizzle_orm111.One<"tasks", false>;
|
|
4372
|
+
parentMessage: drizzle_orm111.One<"messages", false>;
|
|
4373
|
+
childMessages: drizzle_orm111.Many<"messages">;
|
|
4266
4374
|
}>;
|
|
4267
|
-
declare const tasksRelations:
|
|
4268
|
-
messages:
|
|
4269
|
-
ledgerArtifacts:
|
|
4270
|
-
parentRelations:
|
|
4271
|
-
childRelations:
|
|
4375
|
+
declare const tasksRelations: drizzle_orm111.Relations<"tasks", {
|
|
4376
|
+
messages: drizzle_orm111.Many<"messages">;
|
|
4377
|
+
ledgerArtifacts: drizzle_orm111.Many<"ledger_artifacts">;
|
|
4378
|
+
parentRelations: drizzle_orm111.Many<"task_relations">;
|
|
4379
|
+
childRelations: drizzle_orm111.Many<"task_relations">;
|
|
4272
4380
|
}>;
|
|
4273
|
-
declare const taskRelationsRelations:
|
|
4274
|
-
parentTask:
|
|
4275
|
-
childTask:
|
|
4381
|
+
declare const taskRelationsRelations: drizzle_orm111.Relations<"task_relations", {
|
|
4382
|
+
parentTask: drizzle_orm111.One<"tasks", true>;
|
|
4383
|
+
childTask: drizzle_orm111.One<"tasks", true>;
|
|
4276
4384
|
}>;
|
|
4277
|
-
declare const ledgerArtifactsRelations:
|
|
4278
|
-
task:
|
|
4385
|
+
declare const ledgerArtifactsRelations: drizzle_orm111.Relations<"ledger_artifacts", {
|
|
4386
|
+
task: drizzle_orm111.One<"tasks", true>;
|
|
4279
4387
|
}>;
|
|
4280
4388
|
/**
|
|
4281
4389
|
* Tracks GitHub App installations linked to tenants.
|
|
4282
4390
|
* One tenant can have multiple installations (e.g., multiple orgs).
|
|
4283
4391
|
* The installation_id is the GitHub-assigned ID, unique across all GitHub.
|
|
4284
4392
|
*/
|
|
4285
|
-
declare const workAppGitHubInstallations:
|
|
4393
|
+
declare const workAppGitHubInstallations: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
4286
4394
|
name: "work_app_github_installations";
|
|
4287
4395
|
schema: undefined;
|
|
4288
4396
|
columns: {
|
|
4289
|
-
createdAt:
|
|
4397
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
4290
4398
|
name: "created_at";
|
|
4291
4399
|
tableName: "work_app_github_installations";
|
|
4292
4400
|
dataType: "string";
|
|
@@ -4303,7 +4411,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1577.PgTableWithCol
|
|
|
4303
4411
|
identity: undefined;
|
|
4304
4412
|
generated: undefined;
|
|
4305
4413
|
}, {}, {}>;
|
|
4306
|
-
updatedAt:
|
|
4414
|
+
updatedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
4307
4415
|
name: "updated_at";
|
|
4308
4416
|
tableName: "work_app_github_installations";
|
|
4309
4417
|
dataType: "string";
|
|
@@ -4320,7 +4428,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1577.PgTableWithCol
|
|
|
4320
4428
|
identity: undefined;
|
|
4321
4429
|
generated: undefined;
|
|
4322
4430
|
}, {}, {}>;
|
|
4323
|
-
installationId:
|
|
4431
|
+
installationId: drizzle_orm_pg_core1813.PgColumn<{
|
|
4324
4432
|
name: "installation_id";
|
|
4325
4433
|
tableName: "work_app_github_installations";
|
|
4326
4434
|
dataType: "string";
|
|
@@ -4337,7 +4445,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1577.PgTableWithCol
|
|
|
4337
4445
|
identity: undefined;
|
|
4338
4446
|
generated: undefined;
|
|
4339
4447
|
}, {}, {}>;
|
|
4340
|
-
accountLogin:
|
|
4448
|
+
accountLogin: drizzle_orm_pg_core1813.PgColumn<{
|
|
4341
4449
|
name: "account_login";
|
|
4342
4450
|
tableName: "work_app_github_installations";
|
|
4343
4451
|
dataType: "string";
|
|
@@ -4356,7 +4464,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1577.PgTableWithCol
|
|
|
4356
4464
|
}, {}, {
|
|
4357
4465
|
length: 256;
|
|
4358
4466
|
}>;
|
|
4359
|
-
accountId:
|
|
4467
|
+
accountId: drizzle_orm_pg_core1813.PgColumn<{
|
|
4360
4468
|
name: "account_id";
|
|
4361
4469
|
tableName: "work_app_github_installations";
|
|
4362
4470
|
dataType: "string";
|
|
@@ -4373,12 +4481,12 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1577.PgTableWithCol
|
|
|
4373
4481
|
identity: undefined;
|
|
4374
4482
|
generated: undefined;
|
|
4375
4483
|
}, {}, {}>;
|
|
4376
|
-
accountType:
|
|
4484
|
+
accountType: drizzle_orm_pg_core1813.PgColumn<{
|
|
4377
4485
|
name: "account_type";
|
|
4378
4486
|
tableName: "work_app_github_installations";
|
|
4379
4487
|
dataType: "string";
|
|
4380
4488
|
columnType: "PgVarchar";
|
|
4381
|
-
data: "
|
|
4489
|
+
data: "Organization" | "User";
|
|
4382
4490
|
driverParam: string;
|
|
4383
4491
|
notNull: true;
|
|
4384
4492
|
hasDefault: false;
|
|
@@ -4391,9 +4499,9 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1577.PgTableWithCol
|
|
|
4391
4499
|
generated: undefined;
|
|
4392
4500
|
}, {}, {
|
|
4393
4501
|
length: 20;
|
|
4394
|
-
$type: "
|
|
4502
|
+
$type: "Organization" | "User";
|
|
4395
4503
|
}>;
|
|
4396
|
-
status:
|
|
4504
|
+
status: drizzle_orm_pg_core1813.PgColumn<{
|
|
4397
4505
|
name: "status";
|
|
4398
4506
|
tableName: "work_app_github_installations";
|
|
4399
4507
|
dataType: "string";
|
|
@@ -4413,7 +4521,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1577.PgTableWithCol
|
|
|
4413
4521
|
length: 20;
|
|
4414
4522
|
$type: "pending" | "active" | "suspended" | "disconnected";
|
|
4415
4523
|
}>;
|
|
4416
|
-
tenantId:
|
|
4524
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
4417
4525
|
name: "tenant_id";
|
|
4418
4526
|
tableName: "work_app_github_installations";
|
|
4419
4527
|
dataType: "string";
|
|
@@ -4432,7 +4540,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1577.PgTableWithCol
|
|
|
4432
4540
|
}, {}, {
|
|
4433
4541
|
length: 256;
|
|
4434
4542
|
}>;
|
|
4435
|
-
id:
|
|
4543
|
+
id: drizzle_orm_pg_core1813.PgColumn<{
|
|
4436
4544
|
name: "id";
|
|
4437
4545
|
tableName: "work_app_github_installations";
|
|
4438
4546
|
dataType: "string";
|
|
@@ -4459,11 +4567,11 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1577.PgTableWithCol
|
|
|
4459
4567
|
* These are synced from GitHub when the app is installed or updated.
|
|
4460
4568
|
* The repository_id is the GitHub-assigned ID, unique across all GitHub.
|
|
4461
4569
|
*/
|
|
4462
|
-
declare const workAppGitHubRepositories:
|
|
4570
|
+
declare const workAppGitHubRepositories: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
4463
4571
|
name: "work_app_github_repositories";
|
|
4464
4572
|
schema: undefined;
|
|
4465
4573
|
columns: {
|
|
4466
|
-
createdAt:
|
|
4574
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
4467
4575
|
name: "created_at";
|
|
4468
4576
|
tableName: "work_app_github_repositories";
|
|
4469
4577
|
dataType: "string";
|
|
@@ -4480,7 +4588,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1577.PgTableWithColu
|
|
|
4480
4588
|
identity: undefined;
|
|
4481
4589
|
generated: undefined;
|
|
4482
4590
|
}, {}, {}>;
|
|
4483
|
-
updatedAt:
|
|
4591
|
+
updatedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
4484
4592
|
name: "updated_at";
|
|
4485
4593
|
tableName: "work_app_github_repositories";
|
|
4486
4594
|
dataType: "string";
|
|
@@ -4497,7 +4605,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1577.PgTableWithColu
|
|
|
4497
4605
|
identity: undefined;
|
|
4498
4606
|
generated: undefined;
|
|
4499
4607
|
}, {}, {}>;
|
|
4500
|
-
id:
|
|
4608
|
+
id: drizzle_orm_pg_core1813.PgColumn<{
|
|
4501
4609
|
name: "id";
|
|
4502
4610
|
tableName: "work_app_github_repositories";
|
|
4503
4611
|
dataType: "string";
|
|
@@ -4516,7 +4624,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1577.PgTableWithColu
|
|
|
4516
4624
|
}, {}, {
|
|
4517
4625
|
length: 256;
|
|
4518
4626
|
}>;
|
|
4519
|
-
installationDbId:
|
|
4627
|
+
installationDbId: drizzle_orm_pg_core1813.PgColumn<{
|
|
4520
4628
|
name: "installation_db_id";
|
|
4521
4629
|
tableName: "work_app_github_repositories";
|
|
4522
4630
|
dataType: "string";
|
|
@@ -4535,7 +4643,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1577.PgTableWithColu
|
|
|
4535
4643
|
}, {}, {
|
|
4536
4644
|
length: 256;
|
|
4537
4645
|
}>;
|
|
4538
|
-
repositoryId:
|
|
4646
|
+
repositoryId: drizzle_orm_pg_core1813.PgColumn<{
|
|
4539
4647
|
name: "repository_id";
|
|
4540
4648
|
tableName: "work_app_github_repositories";
|
|
4541
4649
|
dataType: "string";
|
|
@@ -4552,7 +4660,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1577.PgTableWithColu
|
|
|
4552
4660
|
identity: undefined;
|
|
4553
4661
|
generated: undefined;
|
|
4554
4662
|
}, {}, {}>;
|
|
4555
|
-
repositoryName:
|
|
4663
|
+
repositoryName: drizzle_orm_pg_core1813.PgColumn<{
|
|
4556
4664
|
name: "repository_name";
|
|
4557
4665
|
tableName: "work_app_github_repositories";
|
|
4558
4666
|
dataType: "string";
|
|
@@ -4571,7 +4679,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1577.PgTableWithColu
|
|
|
4571
4679
|
}, {}, {
|
|
4572
4680
|
length: 256;
|
|
4573
4681
|
}>;
|
|
4574
|
-
repositoryFullName:
|
|
4682
|
+
repositoryFullName: drizzle_orm_pg_core1813.PgColumn<{
|
|
4575
4683
|
name: "repository_full_name";
|
|
4576
4684
|
tableName: "work_app_github_repositories";
|
|
4577
4685
|
dataType: "string";
|
|
@@ -4590,7 +4698,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1577.PgTableWithColu
|
|
|
4590
4698
|
}, {}, {
|
|
4591
4699
|
length: 512;
|
|
4592
4700
|
}>;
|
|
4593
|
-
private:
|
|
4701
|
+
private: drizzle_orm_pg_core1813.PgColumn<{
|
|
4594
4702
|
name: "private";
|
|
4595
4703
|
tableName: "work_app_github_repositories";
|
|
4596
4704
|
dataType: "boolean";
|
|
@@ -4618,11 +4726,11 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1577.PgTableWithColu
|
|
|
4618
4726
|
* (cross-schema, no FK constraint for project). tenant_id is included because
|
|
4619
4727
|
* project IDs are only unique within a tenant.
|
|
4620
4728
|
*/
|
|
4621
|
-
declare const workAppGitHubProjectRepositoryAccess:
|
|
4729
|
+
declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
4622
4730
|
name: "work_app_github_project_repository_access";
|
|
4623
4731
|
schema: undefined;
|
|
4624
4732
|
columns: {
|
|
4625
|
-
createdAt:
|
|
4733
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
4626
4734
|
name: "created_at";
|
|
4627
4735
|
tableName: "work_app_github_project_repository_access";
|
|
4628
4736
|
dataType: "string";
|
|
@@ -4639,7 +4747,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1577.PgTa
|
|
|
4639
4747
|
identity: undefined;
|
|
4640
4748
|
generated: undefined;
|
|
4641
4749
|
}, {}, {}>;
|
|
4642
|
-
updatedAt:
|
|
4750
|
+
updatedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
4643
4751
|
name: "updated_at";
|
|
4644
4752
|
tableName: "work_app_github_project_repository_access";
|
|
4645
4753
|
dataType: "string";
|
|
@@ -4656,7 +4764,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1577.PgTa
|
|
|
4656
4764
|
identity: undefined;
|
|
4657
4765
|
generated: undefined;
|
|
4658
4766
|
}, {}, {}>;
|
|
4659
|
-
repositoryDbId:
|
|
4767
|
+
repositoryDbId: drizzle_orm_pg_core1813.PgColumn<{
|
|
4660
4768
|
name: "repository_db_id";
|
|
4661
4769
|
tableName: "work_app_github_project_repository_access";
|
|
4662
4770
|
dataType: "string";
|
|
@@ -4675,7 +4783,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1577.PgTa
|
|
|
4675
4783
|
}, {}, {
|
|
4676
4784
|
length: 256;
|
|
4677
4785
|
}>;
|
|
4678
|
-
projectId:
|
|
4786
|
+
projectId: drizzle_orm_pg_core1813.PgColumn<{
|
|
4679
4787
|
name: "project_id";
|
|
4680
4788
|
tableName: "work_app_github_project_repository_access";
|
|
4681
4789
|
dataType: "string";
|
|
@@ -4694,7 +4802,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1577.PgTa
|
|
|
4694
4802
|
}, {}, {
|
|
4695
4803
|
length: 256;
|
|
4696
4804
|
}>;
|
|
4697
|
-
tenantId:
|
|
4805
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
4698
4806
|
name: "tenant_id";
|
|
4699
4807
|
tableName: "work_app_github_project_repository_access";
|
|
4700
4808
|
dataType: "string";
|
|
@@ -4713,7 +4821,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1577.PgTa
|
|
|
4713
4821
|
}, {}, {
|
|
4714
4822
|
length: 256;
|
|
4715
4823
|
}>;
|
|
4716
|
-
id:
|
|
4824
|
+
id: drizzle_orm_pg_core1813.PgColumn<{
|
|
4717
4825
|
name: "id";
|
|
4718
4826
|
tableName: "work_app_github_project_repository_access";
|
|
4719
4827
|
dataType: "string";
|
|
@@ -4742,11 +4850,11 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1577.PgTa
|
|
|
4742
4850
|
* (cross-schema, no FK constraint). These are denormalized here so all GitHub access
|
|
4743
4851
|
* info can be queried from PostgreSQL alone.
|
|
4744
4852
|
*/
|
|
4745
|
-
declare const workAppGitHubMcpToolRepositoryAccess:
|
|
4853
|
+
declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
4746
4854
|
name: "work_app_github_mcp_tool_repository_access";
|
|
4747
4855
|
schema: undefined;
|
|
4748
4856
|
columns: {
|
|
4749
|
-
createdAt:
|
|
4857
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
4750
4858
|
name: "created_at";
|
|
4751
4859
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
4752
4860
|
dataType: "string";
|
|
@@ -4763,7 +4871,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1577.PgTa
|
|
|
4763
4871
|
identity: undefined;
|
|
4764
4872
|
generated: undefined;
|
|
4765
4873
|
}, {}, {}>;
|
|
4766
|
-
updatedAt:
|
|
4874
|
+
updatedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
4767
4875
|
name: "updated_at";
|
|
4768
4876
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
4769
4877
|
dataType: "string";
|
|
@@ -4780,7 +4888,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1577.PgTa
|
|
|
4780
4888
|
identity: undefined;
|
|
4781
4889
|
generated: undefined;
|
|
4782
4890
|
}, {}, {}>;
|
|
4783
|
-
toolId:
|
|
4891
|
+
toolId: drizzle_orm_pg_core1813.PgColumn<{
|
|
4784
4892
|
name: "tool_id";
|
|
4785
4893
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
4786
4894
|
dataType: "string";
|
|
@@ -4799,7 +4907,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1577.PgTa
|
|
|
4799
4907
|
}, {}, {
|
|
4800
4908
|
length: 256;
|
|
4801
4909
|
}>;
|
|
4802
|
-
repositoryDbId:
|
|
4910
|
+
repositoryDbId: drizzle_orm_pg_core1813.PgColumn<{
|
|
4803
4911
|
name: "repository_db_id";
|
|
4804
4912
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
4805
4913
|
dataType: "string";
|
|
@@ -4818,7 +4926,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1577.PgTa
|
|
|
4818
4926
|
}, {}, {
|
|
4819
4927
|
length: 256;
|
|
4820
4928
|
}>;
|
|
4821
|
-
projectId:
|
|
4929
|
+
projectId: drizzle_orm_pg_core1813.PgColumn<{
|
|
4822
4930
|
name: "project_id";
|
|
4823
4931
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
4824
4932
|
dataType: "string";
|
|
@@ -4837,7 +4945,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1577.PgTa
|
|
|
4837
4945
|
}, {}, {
|
|
4838
4946
|
length: 256;
|
|
4839
4947
|
}>;
|
|
4840
|
-
tenantId:
|
|
4948
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
4841
4949
|
name: "tenant_id";
|
|
4842
4950
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
4843
4951
|
dataType: "string";
|
|
@@ -4856,7 +4964,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1577.PgTa
|
|
|
4856
4964
|
}, {}, {
|
|
4857
4965
|
length: 256;
|
|
4858
4966
|
}>;
|
|
4859
|
-
id:
|
|
4967
|
+
id: drizzle_orm_pg_core1813.PgColumn<{
|
|
4860
4968
|
name: "id";
|
|
4861
4969
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
4862
4970
|
dataType: "string";
|
|
@@ -4884,11 +4992,11 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1577.PgTa
|
|
|
4884
4992
|
* - 'selected': Project only has access to repositories listed in work_app_github_project_repository_access
|
|
4885
4993
|
* If no row exists for a project, defaults to 'selected' (fail-safe: no access unless explicitly granted).
|
|
4886
4994
|
*/
|
|
4887
|
-
declare const workAppGitHubProjectAccessMode:
|
|
4995
|
+
declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
4888
4996
|
name: "work_app_github_project_access_mode";
|
|
4889
4997
|
schema: undefined;
|
|
4890
4998
|
columns: {
|
|
4891
|
-
createdAt:
|
|
4999
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
4892
5000
|
name: "created_at";
|
|
4893
5001
|
tableName: "work_app_github_project_access_mode";
|
|
4894
5002
|
dataType: "string";
|
|
@@ -4905,7 +5013,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1577.PgTableWit
|
|
|
4905
5013
|
identity: undefined;
|
|
4906
5014
|
generated: undefined;
|
|
4907
5015
|
}, {}, {}>;
|
|
4908
|
-
updatedAt:
|
|
5016
|
+
updatedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
4909
5017
|
name: "updated_at";
|
|
4910
5018
|
tableName: "work_app_github_project_access_mode";
|
|
4911
5019
|
dataType: "string";
|
|
@@ -4922,7 +5030,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1577.PgTableWit
|
|
|
4922
5030
|
identity: undefined;
|
|
4923
5031
|
generated: undefined;
|
|
4924
5032
|
}, {}, {}>;
|
|
4925
|
-
tenantId:
|
|
5033
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
4926
5034
|
name: "tenant_id";
|
|
4927
5035
|
tableName: "work_app_github_project_access_mode";
|
|
4928
5036
|
dataType: "string";
|
|
@@ -4941,7 +5049,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1577.PgTableWit
|
|
|
4941
5049
|
}, {}, {
|
|
4942
5050
|
length: 256;
|
|
4943
5051
|
}>;
|
|
4944
|
-
projectId:
|
|
5052
|
+
projectId: drizzle_orm_pg_core1813.PgColumn<{
|
|
4945
5053
|
name: "project_id";
|
|
4946
5054
|
tableName: "work_app_github_project_access_mode";
|
|
4947
5055
|
dataType: "string";
|
|
@@ -4960,7 +5068,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1577.PgTableWit
|
|
|
4960
5068
|
}, {}, {
|
|
4961
5069
|
length: 256;
|
|
4962
5070
|
}>;
|
|
4963
|
-
mode:
|
|
5071
|
+
mode: drizzle_orm_pg_core1813.PgColumn<{
|
|
4964
5072
|
name: "mode";
|
|
4965
5073
|
tableName: "work_app_github_project_access_mode";
|
|
4966
5074
|
dataType: "string";
|
|
@@ -4989,11 +5097,11 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1577.PgTableWit
|
|
|
4989
5097
|
* - 'selected': Tool only has access to repositories listed in work_app_github_mcp_tool_repository_access
|
|
4990
5098
|
* If no row exists for a tool, defaults to 'selected' (fail-safe: no access unless explicitly granted).
|
|
4991
5099
|
*/
|
|
4992
|
-
declare const workAppGitHubMcpToolAccessMode:
|
|
5100
|
+
declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
4993
5101
|
name: "work_app_github_mcp_tool_access_mode";
|
|
4994
5102
|
schema: undefined;
|
|
4995
5103
|
columns: {
|
|
4996
|
-
createdAt:
|
|
5104
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
4997
5105
|
name: "created_at";
|
|
4998
5106
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
4999
5107
|
dataType: "string";
|
|
@@ -5010,7 +5118,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1577.PgTableWit
|
|
|
5010
5118
|
identity: undefined;
|
|
5011
5119
|
generated: undefined;
|
|
5012
5120
|
}, {}, {}>;
|
|
5013
|
-
updatedAt:
|
|
5121
|
+
updatedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
5014
5122
|
name: "updated_at";
|
|
5015
5123
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
5016
5124
|
dataType: "string";
|
|
@@ -5027,7 +5135,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1577.PgTableWit
|
|
|
5027
5135
|
identity: undefined;
|
|
5028
5136
|
generated: undefined;
|
|
5029
5137
|
}, {}, {}>;
|
|
5030
|
-
toolId:
|
|
5138
|
+
toolId: drizzle_orm_pg_core1813.PgColumn<{
|
|
5031
5139
|
name: "tool_id";
|
|
5032
5140
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
5033
5141
|
dataType: "string";
|
|
@@ -5046,7 +5154,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1577.PgTableWit
|
|
|
5046
5154
|
}, {}, {
|
|
5047
5155
|
length: 256;
|
|
5048
5156
|
}>;
|
|
5049
|
-
tenantId:
|
|
5157
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
5050
5158
|
name: "tenant_id";
|
|
5051
5159
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
5052
5160
|
dataType: "string";
|
|
@@ -5065,7 +5173,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1577.PgTableWit
|
|
|
5065
5173
|
}, {}, {
|
|
5066
5174
|
length: 256;
|
|
5067
5175
|
}>;
|
|
5068
|
-
projectId:
|
|
5176
|
+
projectId: drizzle_orm_pg_core1813.PgColumn<{
|
|
5069
5177
|
name: "project_id";
|
|
5070
5178
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
5071
5179
|
dataType: "string";
|
|
@@ -5084,7 +5192,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1577.PgTableWit
|
|
|
5084
5192
|
}, {}, {
|
|
5085
5193
|
length: 256;
|
|
5086
5194
|
}>;
|
|
5087
|
-
mode:
|
|
5195
|
+
mode: drizzle_orm_pg_core1813.PgColumn<{
|
|
5088
5196
|
name: "mode";
|
|
5089
5197
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
5090
5198
|
dataType: "string";
|
|
@@ -5107,25 +5215,25 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1577.PgTableWit
|
|
|
5107
5215
|
};
|
|
5108
5216
|
dialect: "pg";
|
|
5109
5217
|
}>;
|
|
5110
|
-
declare const workAppGitHubInstallationsRelations:
|
|
5111
|
-
repositories:
|
|
5218
|
+
declare const workAppGitHubInstallationsRelations: drizzle_orm111.Relations<"work_app_github_installations", {
|
|
5219
|
+
repositories: drizzle_orm111.Many<"work_app_github_repositories">;
|
|
5112
5220
|
}>;
|
|
5113
|
-
declare const workAppGitHubRepositoriesRelations:
|
|
5114
|
-
installation:
|
|
5115
|
-
projectAccess:
|
|
5116
|
-
mcpToolAccess:
|
|
5221
|
+
declare const workAppGitHubRepositoriesRelations: drizzle_orm111.Relations<"work_app_github_repositories", {
|
|
5222
|
+
installation: drizzle_orm111.One<"work_app_github_installations", true>;
|
|
5223
|
+
projectAccess: drizzle_orm111.Many<"work_app_github_project_repository_access">;
|
|
5224
|
+
mcpToolAccess: drizzle_orm111.Many<"work_app_github_mcp_tool_repository_access">;
|
|
5117
5225
|
}>;
|
|
5118
|
-
declare const workAppGitHubProjectRepositoryAccessRelations:
|
|
5119
|
-
repository:
|
|
5226
|
+
declare const workAppGitHubProjectRepositoryAccessRelations: drizzle_orm111.Relations<"work_app_github_project_repository_access", {
|
|
5227
|
+
repository: drizzle_orm111.One<"work_app_github_repositories", true>;
|
|
5120
5228
|
}>;
|
|
5121
|
-
declare const workAppGitHubMcpToolRepositoryAccessRelations:
|
|
5122
|
-
repository:
|
|
5229
|
+
declare const workAppGitHubMcpToolRepositoryAccessRelations: drizzle_orm111.Relations<"work_app_github_mcp_tool_repository_access", {
|
|
5230
|
+
repository: drizzle_orm111.One<"work_app_github_repositories", true>;
|
|
5123
5231
|
}>;
|
|
5124
|
-
declare const workAppSlackMcpToolAccessConfig:
|
|
5232
|
+
declare const workAppSlackMcpToolAccessConfig: drizzle_orm_pg_core1813.PgTableWithColumns<{
|
|
5125
5233
|
name: "work_app_slack_mcp_tool_access_config";
|
|
5126
5234
|
schema: undefined;
|
|
5127
5235
|
columns: {
|
|
5128
|
-
createdAt:
|
|
5236
|
+
createdAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
5129
5237
|
name: "created_at";
|
|
5130
5238
|
tableName: "work_app_slack_mcp_tool_access_config";
|
|
5131
5239
|
dataType: "string";
|
|
@@ -5142,7 +5250,7 @@ declare const workAppSlackMcpToolAccessConfig: drizzle_orm_pg_core1577.PgTableWi
|
|
|
5142
5250
|
identity: undefined;
|
|
5143
5251
|
generated: undefined;
|
|
5144
5252
|
}, {}, {}>;
|
|
5145
|
-
updatedAt:
|
|
5253
|
+
updatedAt: drizzle_orm_pg_core1813.PgColumn<{
|
|
5146
5254
|
name: "updated_at";
|
|
5147
5255
|
tableName: "work_app_slack_mcp_tool_access_config";
|
|
5148
5256
|
dataType: "string";
|
|
@@ -5159,7 +5267,7 @@ declare const workAppSlackMcpToolAccessConfig: drizzle_orm_pg_core1577.PgTableWi
|
|
|
5159
5267
|
identity: undefined;
|
|
5160
5268
|
generated: undefined;
|
|
5161
5269
|
}, {}, {}>;
|
|
5162
|
-
toolId:
|
|
5270
|
+
toolId: drizzle_orm_pg_core1813.PgColumn<{
|
|
5163
5271
|
name: "tool_id";
|
|
5164
5272
|
tableName: "work_app_slack_mcp_tool_access_config";
|
|
5165
5273
|
dataType: "string";
|
|
@@ -5178,7 +5286,7 @@ declare const workAppSlackMcpToolAccessConfig: drizzle_orm_pg_core1577.PgTableWi
|
|
|
5178
5286
|
}, {}, {
|
|
5179
5287
|
length: 256;
|
|
5180
5288
|
}>;
|
|
5181
|
-
tenantId:
|
|
5289
|
+
tenantId: drizzle_orm_pg_core1813.PgColumn<{
|
|
5182
5290
|
name: "tenant_id";
|
|
5183
5291
|
tableName: "work_app_slack_mcp_tool_access_config";
|
|
5184
5292
|
dataType: "string";
|
|
@@ -5197,7 +5305,7 @@ declare const workAppSlackMcpToolAccessConfig: drizzle_orm_pg_core1577.PgTableWi
|
|
|
5197
5305
|
}, {}, {
|
|
5198
5306
|
length: 256;
|
|
5199
5307
|
}>;
|
|
5200
|
-
projectId:
|
|
5308
|
+
projectId: drizzle_orm_pg_core1813.PgColumn<{
|
|
5201
5309
|
name: "project_id";
|
|
5202
5310
|
tableName: "work_app_slack_mcp_tool_access_config";
|
|
5203
5311
|
dataType: "string";
|
|
@@ -5216,7 +5324,7 @@ declare const workAppSlackMcpToolAccessConfig: drizzle_orm_pg_core1577.PgTableWi
|
|
|
5216
5324
|
}, {}, {
|
|
5217
5325
|
length: 256;
|
|
5218
5326
|
}>;
|
|
5219
|
-
channelAccessMode:
|
|
5327
|
+
channelAccessMode: drizzle_orm_pg_core1813.PgColumn<{
|
|
5220
5328
|
name: "channel_access_mode";
|
|
5221
5329
|
tableName: "work_app_slack_mcp_tool_access_config";
|
|
5222
5330
|
dataType: "string";
|
|
@@ -5236,7 +5344,7 @@ declare const workAppSlackMcpToolAccessConfig: drizzle_orm_pg_core1577.PgTableWi
|
|
|
5236
5344
|
length: 20;
|
|
5237
5345
|
$type: "all" | "selected";
|
|
5238
5346
|
}>;
|
|
5239
|
-
dmEnabled:
|
|
5347
|
+
dmEnabled: drizzle_orm_pg_core1813.PgColumn<{
|
|
5240
5348
|
name: "dm_enabled";
|
|
5241
5349
|
tableName: "work_app_slack_mcp_tool_access_config";
|
|
5242
5350
|
dataType: "boolean";
|
|
@@ -5253,7 +5361,7 @@ declare const workAppSlackMcpToolAccessConfig: drizzle_orm_pg_core1577.PgTableWi
|
|
|
5253
5361
|
identity: undefined;
|
|
5254
5362
|
generated: undefined;
|
|
5255
5363
|
}, {}, {}>;
|
|
5256
|
-
channelIds:
|
|
5364
|
+
channelIds: drizzle_orm_pg_core1813.PgColumn<{
|
|
5257
5365
|
name: "channel_ids";
|
|
5258
5366
|
tableName: "work_app_slack_mcp_tool_access_config";
|
|
5259
5367
|
dataType: "json";
|