@inkeep/agents-core 0.56.0 → 0.56.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth/auth-schema.d.ts +107 -107
- package/dist/auth/auth-validation-schemas.d.ts +135 -135
- package/dist/auth/auth.d.ts +9 -9
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/data-access/manage/agents.d.ts +21 -21
- package/dist/data-access/manage/artifactComponents.d.ts +10 -10
- package/dist/data-access/manage/contextConfigs.d.ts +12 -12
- package/dist/data-access/manage/dataComponents.d.ts +6 -6
- package/dist/data-access/manage/functionTools.d.ts +12 -12
- package/dist/data-access/manage/skills.d.ts +10 -10
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgents.d.ts +15 -15
- package/dist/data-access/manage/tools.d.ts +15 -15
- package/dist/data-access/manage/triggers.d.ts +2 -2
- package/dist/data-access/runtime/apiKeys.d.ts +12 -12
- package/dist/data-access/runtime/conversations.d.ts +20 -20
- package/dist/data-access/runtime/messages.d.ts +9 -9
- package/dist/data-access/runtime/tasks.d.ts +4 -4
- package/dist/db/manage/manage-schema.d.ts +453 -453
- package/dist/db/runtime/runtime-schema.d.ts +294 -294
- package/dist/utils/error.d.ts +51 -51
- package/dist/validation/schemas.d.ts +1532 -1532
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Part } from "../../types/a2a.js";
|
|
2
2
|
import { 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_core1907 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_core1907.PgTableWithColumns<{
|
|
19
19
|
name: "project_metadata";
|
|
20
20
|
schema: undefined;
|
|
21
21
|
columns: {
|
|
22
|
-
id:
|
|
22
|
+
id: drizzle_orm_pg_core1907.PgColumn<{
|
|
23
23
|
name: "id";
|
|
24
24
|
tableName: "project_metadata";
|
|
25
25
|
dataType: "string";
|
|
@@ -38,7 +38,7 @@ declare const projectMetadata: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
38
38
|
}, {}, {
|
|
39
39
|
length: 256;
|
|
40
40
|
}>;
|
|
41
|
-
tenantId:
|
|
41
|
+
tenantId: drizzle_orm_pg_core1907.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_core355.PgTableWithColumns<{
|
|
|
57
57
|
}, {}, {
|
|
58
58
|
length: 256;
|
|
59
59
|
}>;
|
|
60
|
-
createdAt:
|
|
60
|
+
createdAt: drizzle_orm_pg_core1907.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_core355.PgTableWithColumns<{
|
|
|
74
74
|
identity: undefined;
|
|
75
75
|
generated: undefined;
|
|
76
76
|
}, {}, {}>;
|
|
77
|
-
createdBy:
|
|
77
|
+
createdBy: drizzle_orm_pg_core1907.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_core355.PgTableWithColumns<{
|
|
|
93
93
|
}, {}, {
|
|
94
94
|
length: 256;
|
|
95
95
|
}>;
|
|
96
|
-
mainBranchName:
|
|
96
|
+
mainBranchName: drizzle_orm_pg_core1907.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_core355.PgTableWithColumns<{
|
|
|
115
115
|
};
|
|
116
116
|
dialect: "pg";
|
|
117
117
|
}>;
|
|
118
|
-
declare const conversations:
|
|
118
|
+
declare const conversations: drizzle_orm_pg_core1907.PgTableWithColumns<{
|
|
119
119
|
name: "conversations";
|
|
120
120
|
schema: undefined;
|
|
121
121
|
columns: {
|
|
122
|
-
createdAt:
|
|
122
|
+
createdAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
123
123
|
name: "created_at";
|
|
124
124
|
tableName: "conversations";
|
|
125
125
|
dataType: "string";
|
|
@@ -136,7 +136,7 @@ declare const conversations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
136
136
|
identity: undefined;
|
|
137
137
|
generated: undefined;
|
|
138
138
|
}, {}, {}>;
|
|
139
|
-
updatedAt:
|
|
139
|
+
updatedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
140
140
|
name: "updated_at";
|
|
141
141
|
tableName: "conversations";
|
|
142
142
|
dataType: "string";
|
|
@@ -153,7 +153,7 @@ declare const conversations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
153
153
|
identity: undefined;
|
|
154
154
|
generated: undefined;
|
|
155
155
|
}, {}, {}>;
|
|
156
|
-
userId:
|
|
156
|
+
userId: drizzle_orm_pg_core1907.PgColumn<{
|
|
157
157
|
name: "user_id";
|
|
158
158
|
tableName: "conversations";
|
|
159
159
|
dataType: "string";
|
|
@@ -172,7 +172,7 @@ declare const conversations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
172
172
|
}, {}, {
|
|
173
173
|
length: 256;
|
|
174
174
|
}>;
|
|
175
|
-
agentId:
|
|
175
|
+
agentId: drizzle_orm_pg_core1907.PgColumn<{
|
|
176
176
|
name: "agent_id";
|
|
177
177
|
tableName: "conversations";
|
|
178
178
|
dataType: "string";
|
|
@@ -191,7 +191,7 @@ declare const conversations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
191
191
|
}, {}, {
|
|
192
192
|
length: 256;
|
|
193
193
|
}>;
|
|
194
|
-
activeSubAgentId:
|
|
194
|
+
activeSubAgentId: drizzle_orm_pg_core1907.PgColumn<{
|
|
195
195
|
name: "active_sub_agent_id";
|
|
196
196
|
tableName: "conversations";
|
|
197
197
|
dataType: "string";
|
|
@@ -210,7 +210,7 @@ declare const conversations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
210
210
|
}, {}, {
|
|
211
211
|
length: 256;
|
|
212
212
|
}>;
|
|
213
|
-
ref:
|
|
213
|
+
ref: drizzle_orm_pg_core1907.PgColumn<{
|
|
214
214
|
name: "ref";
|
|
215
215
|
tableName: "conversations";
|
|
216
216
|
dataType: "json";
|
|
@@ -237,7 +237,7 @@ declare const conversations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
237
237
|
hash: string;
|
|
238
238
|
};
|
|
239
239
|
}>;
|
|
240
|
-
title:
|
|
240
|
+
title: drizzle_orm_pg_core1907.PgColumn<{
|
|
241
241
|
name: "title";
|
|
242
242
|
tableName: "conversations";
|
|
243
243
|
dataType: "string";
|
|
@@ -254,7 +254,7 @@ declare const conversations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
254
254
|
identity: undefined;
|
|
255
255
|
generated: undefined;
|
|
256
256
|
}, {}, {}>;
|
|
257
|
-
lastContextResolution:
|
|
257
|
+
lastContextResolution: drizzle_orm_pg_core1907.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_core355.PgTableWithColumns<{
|
|
|
271
271
|
identity: undefined;
|
|
272
272
|
generated: undefined;
|
|
273
273
|
}, {}, {}>;
|
|
274
|
-
metadata:
|
|
274
|
+
metadata: drizzle_orm_pg_core1907.PgColumn<{
|
|
275
275
|
name: "metadata";
|
|
276
276
|
tableName: "conversations";
|
|
277
277
|
dataType: "json";
|
|
@@ -290,7 +290,7 @@ declare const conversations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
290
290
|
}, {}, {
|
|
291
291
|
$type: ConversationMetadata;
|
|
292
292
|
}>;
|
|
293
|
-
projectId:
|
|
293
|
+
projectId: drizzle_orm_pg_core1907.PgColumn<{
|
|
294
294
|
name: "project_id";
|
|
295
295
|
tableName: "conversations";
|
|
296
296
|
dataType: "string";
|
|
@@ -309,7 +309,7 @@ declare const conversations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
309
309
|
}, {}, {
|
|
310
310
|
length: 256;
|
|
311
311
|
}>;
|
|
312
|
-
tenantId:
|
|
312
|
+
tenantId: drizzle_orm_pg_core1907.PgColumn<{
|
|
313
313
|
name: "tenant_id";
|
|
314
314
|
tableName: "conversations";
|
|
315
315
|
dataType: "string";
|
|
@@ -328,7 +328,7 @@ declare const conversations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
328
328
|
}, {}, {
|
|
329
329
|
length: 256;
|
|
330
330
|
}>;
|
|
331
|
-
id:
|
|
331
|
+
id: drizzle_orm_pg_core1907.PgColumn<{
|
|
332
332
|
name: "id";
|
|
333
333
|
tableName: "conversations";
|
|
334
334
|
dataType: "string";
|
|
@@ -350,11 +350,11 @@ declare const conversations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
350
350
|
};
|
|
351
351
|
dialect: "pg";
|
|
352
352
|
}>;
|
|
353
|
-
declare const tasks:
|
|
353
|
+
declare const tasks: drizzle_orm_pg_core1907.PgTableWithColumns<{
|
|
354
354
|
name: "tasks";
|
|
355
355
|
schema: undefined;
|
|
356
356
|
columns: {
|
|
357
|
-
createdAt:
|
|
357
|
+
createdAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
358
358
|
name: "created_at";
|
|
359
359
|
tableName: "tasks";
|
|
360
360
|
dataType: "string";
|
|
@@ -371,7 +371,7 @@ declare const tasks: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
371
371
|
identity: undefined;
|
|
372
372
|
generated: undefined;
|
|
373
373
|
}, {}, {}>;
|
|
374
|
-
updatedAt:
|
|
374
|
+
updatedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
375
375
|
name: "updated_at";
|
|
376
376
|
tableName: "tasks";
|
|
377
377
|
dataType: "string";
|
|
@@ -388,7 +388,7 @@ declare const tasks: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
388
388
|
identity: undefined;
|
|
389
389
|
generated: undefined;
|
|
390
390
|
}, {}, {}>;
|
|
391
|
-
contextId:
|
|
391
|
+
contextId: drizzle_orm_pg_core1907.PgColumn<{
|
|
392
392
|
name: "context_id";
|
|
393
393
|
tableName: "tasks";
|
|
394
394
|
dataType: "string";
|
|
@@ -407,7 +407,7 @@ declare const tasks: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
407
407
|
}, {}, {
|
|
408
408
|
length: 256;
|
|
409
409
|
}>;
|
|
410
|
-
ref:
|
|
410
|
+
ref: drizzle_orm_pg_core1907.PgColumn<{
|
|
411
411
|
name: "ref";
|
|
412
412
|
tableName: "tasks";
|
|
413
413
|
dataType: "json";
|
|
@@ -434,7 +434,7 @@ declare const tasks: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
434
434
|
hash: string;
|
|
435
435
|
};
|
|
436
436
|
}>;
|
|
437
|
-
status:
|
|
437
|
+
status: drizzle_orm_pg_core1907.PgColumn<{
|
|
438
438
|
name: "status";
|
|
439
439
|
tableName: "tasks";
|
|
440
440
|
dataType: "string";
|
|
@@ -453,7 +453,7 @@ declare const tasks: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
453
453
|
}, {}, {
|
|
454
454
|
length: 256;
|
|
455
455
|
}>;
|
|
456
|
-
metadata:
|
|
456
|
+
metadata: drizzle_orm_pg_core1907.PgColumn<{
|
|
457
457
|
name: "metadata";
|
|
458
458
|
tableName: "tasks";
|
|
459
459
|
dataType: "json";
|
|
@@ -472,7 +472,7 @@ declare const tasks: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
472
472
|
}, {}, {
|
|
473
473
|
$type: TaskMetadataConfig;
|
|
474
474
|
}>;
|
|
475
|
-
subAgentId:
|
|
475
|
+
subAgentId: drizzle_orm_pg_core1907.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_core355.PgTableWithColumns<{
|
|
|
491
491
|
}, {}, {
|
|
492
492
|
length: 256;
|
|
493
493
|
}>;
|
|
494
|
-
agentId:
|
|
494
|
+
agentId: drizzle_orm_pg_core1907.PgColumn<{
|
|
495
495
|
name: "agent_id";
|
|
496
496
|
tableName: "tasks";
|
|
497
497
|
dataType: "string";
|
|
@@ -510,7 +510,7 @@ declare const tasks: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
510
510
|
}, {}, {
|
|
511
511
|
length: 256;
|
|
512
512
|
}>;
|
|
513
|
-
projectId:
|
|
513
|
+
projectId: drizzle_orm_pg_core1907.PgColumn<{
|
|
514
514
|
name: "project_id";
|
|
515
515
|
tableName: "tasks";
|
|
516
516
|
dataType: "string";
|
|
@@ -529,7 +529,7 @@ declare const tasks: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
529
529
|
}, {}, {
|
|
530
530
|
length: 256;
|
|
531
531
|
}>;
|
|
532
|
-
tenantId:
|
|
532
|
+
tenantId: drizzle_orm_pg_core1907.PgColumn<{
|
|
533
533
|
name: "tenant_id";
|
|
534
534
|
tableName: "tasks";
|
|
535
535
|
dataType: "string";
|
|
@@ -548,7 +548,7 @@ declare const tasks: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
548
548
|
}, {}, {
|
|
549
549
|
length: 256;
|
|
550
550
|
}>;
|
|
551
|
-
id:
|
|
551
|
+
id: drizzle_orm_pg_core1907.PgColumn<{
|
|
552
552
|
name: "id";
|
|
553
553
|
tableName: "tasks";
|
|
554
554
|
dataType: "string";
|
|
@@ -570,11 +570,11 @@ declare const tasks: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
570
570
|
};
|
|
571
571
|
dialect: "pg";
|
|
572
572
|
}>;
|
|
573
|
-
declare const apiKeys:
|
|
573
|
+
declare const apiKeys: drizzle_orm_pg_core1907.PgTableWithColumns<{
|
|
574
574
|
name: "api_keys";
|
|
575
575
|
schema: undefined;
|
|
576
576
|
columns: {
|
|
577
|
-
createdAt:
|
|
577
|
+
createdAt: drizzle_orm_pg_core1907.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_core355.PgTableWithColumns<{
|
|
|
591
591
|
identity: undefined;
|
|
592
592
|
generated: undefined;
|
|
593
593
|
}, {}, {}>;
|
|
594
|
-
updatedAt:
|
|
594
|
+
updatedAt: drizzle_orm_pg_core1907.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_core355.PgTableWithColumns<{
|
|
|
608
608
|
identity: undefined;
|
|
609
609
|
generated: undefined;
|
|
610
610
|
}, {}, {}>;
|
|
611
|
-
agentId:
|
|
611
|
+
agentId: drizzle_orm_pg_core1907.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_core355.PgTableWithColumns<{
|
|
|
627
627
|
}, {}, {
|
|
628
628
|
length: 256;
|
|
629
629
|
}>;
|
|
630
|
-
publicId:
|
|
630
|
+
publicId: drizzle_orm_pg_core1907.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_core355.PgTableWithColumns<{
|
|
|
646
646
|
}, {}, {
|
|
647
647
|
length: 256;
|
|
648
648
|
}>;
|
|
649
|
-
keyHash:
|
|
649
|
+
keyHash: drizzle_orm_pg_core1907.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_core355.PgTableWithColumns<{
|
|
|
665
665
|
}, {}, {
|
|
666
666
|
length: 256;
|
|
667
667
|
}>;
|
|
668
|
-
keyPrefix:
|
|
668
|
+
keyPrefix: drizzle_orm_pg_core1907.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_core355.PgTableWithColumns<{
|
|
|
684
684
|
}, {}, {
|
|
685
685
|
length: 256;
|
|
686
686
|
}>;
|
|
687
|
-
name:
|
|
687
|
+
name: drizzle_orm_pg_core1907.PgColumn<{
|
|
688
688
|
name: "name";
|
|
689
689
|
tableName: "api_keys";
|
|
690
690
|
dataType: "string";
|
|
@@ -703,7 +703,7 @@ declare const apiKeys: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
703
703
|
}, {}, {
|
|
704
704
|
length: 256;
|
|
705
705
|
}>;
|
|
706
|
-
lastUsedAt:
|
|
706
|
+
lastUsedAt: drizzle_orm_pg_core1907.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_core355.PgTableWithColumns<{
|
|
|
720
720
|
identity: undefined;
|
|
721
721
|
generated: undefined;
|
|
722
722
|
}, {}, {}>;
|
|
723
|
-
expiresAt:
|
|
723
|
+
expiresAt: drizzle_orm_pg_core1907.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_core355.PgTableWithColumns<{
|
|
|
737
737
|
identity: undefined;
|
|
738
738
|
generated: undefined;
|
|
739
739
|
}, {}, {}>;
|
|
740
|
-
projectId:
|
|
740
|
+
projectId: drizzle_orm_pg_core1907.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_core355.PgTableWithColumns<{
|
|
|
756
756
|
}, {}, {
|
|
757
757
|
length: 256;
|
|
758
758
|
}>;
|
|
759
|
-
tenantId:
|
|
759
|
+
tenantId: drizzle_orm_pg_core1907.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_core355.PgTableWithColumns<{
|
|
|
775
775
|
}, {}, {
|
|
776
776
|
length: 256;
|
|
777
777
|
}>;
|
|
778
|
-
id:
|
|
778
|
+
id: drizzle_orm_pg_core1907.PgColumn<{
|
|
779
779
|
name: "id";
|
|
780
780
|
tableName: "api_keys";
|
|
781
781
|
dataType: "string";
|
|
@@ -804,11 +804,11 @@ declare const apiKeys: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
804
804
|
* Application code must enforce referential integrity for triggerId.
|
|
805
805
|
* Can optionally link to conversations when the trigger creates one.
|
|
806
806
|
*/
|
|
807
|
-
declare const triggerInvocations:
|
|
807
|
+
declare const triggerInvocations: drizzle_orm_pg_core1907.PgTableWithColumns<{
|
|
808
808
|
name: "trigger_invocations";
|
|
809
809
|
schema: undefined;
|
|
810
810
|
columns: {
|
|
811
|
-
triggerId:
|
|
811
|
+
triggerId: drizzle_orm_pg_core1907.PgColumn<{
|
|
812
812
|
name: "trigger_id";
|
|
813
813
|
tableName: "trigger_invocations";
|
|
814
814
|
dataType: "string";
|
|
@@ -827,7 +827,7 @@ declare const triggerInvocations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
827
827
|
}, {}, {
|
|
828
828
|
length: 256;
|
|
829
829
|
}>;
|
|
830
|
-
conversationId:
|
|
830
|
+
conversationId: drizzle_orm_pg_core1907.PgColumn<{
|
|
831
831
|
name: "conversation_id";
|
|
832
832
|
tableName: "trigger_invocations";
|
|
833
833
|
dataType: "string";
|
|
@@ -846,7 +846,7 @@ declare const triggerInvocations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
846
846
|
}, {}, {
|
|
847
847
|
length: 256;
|
|
848
848
|
}>;
|
|
849
|
-
status:
|
|
849
|
+
status: drizzle_orm_pg_core1907.PgColumn<{
|
|
850
850
|
name: "status";
|
|
851
851
|
tableName: "trigger_invocations";
|
|
852
852
|
dataType: "string";
|
|
@@ -865,7 +865,7 @@ declare const triggerInvocations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
865
865
|
}, {}, {
|
|
866
866
|
length: 20;
|
|
867
867
|
}>;
|
|
868
|
-
requestPayload:
|
|
868
|
+
requestPayload: drizzle_orm_pg_core1907.PgColumn<{
|
|
869
869
|
name: "request_payload";
|
|
870
870
|
tableName: "trigger_invocations";
|
|
871
871
|
dataType: "json";
|
|
@@ -882,7 +882,7 @@ declare const triggerInvocations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
882
882
|
identity: undefined;
|
|
883
883
|
generated: undefined;
|
|
884
884
|
}, {}, {}>;
|
|
885
|
-
transformedPayload:
|
|
885
|
+
transformedPayload: drizzle_orm_pg_core1907.PgColumn<{
|
|
886
886
|
name: "transformed_payload";
|
|
887
887
|
tableName: "trigger_invocations";
|
|
888
888
|
dataType: "json";
|
|
@@ -899,7 +899,7 @@ declare const triggerInvocations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
899
899
|
identity: undefined;
|
|
900
900
|
generated: undefined;
|
|
901
901
|
}, {}, {}>;
|
|
902
|
-
errorMessage:
|
|
902
|
+
errorMessage: drizzle_orm_pg_core1907.PgColumn<{
|
|
903
903
|
name: "error_message";
|
|
904
904
|
tableName: "trigger_invocations";
|
|
905
905
|
dataType: "string";
|
|
@@ -916,7 +916,7 @@ declare const triggerInvocations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
916
916
|
identity: undefined;
|
|
917
917
|
generated: undefined;
|
|
918
918
|
}, {}, {}>;
|
|
919
|
-
createdAt:
|
|
919
|
+
createdAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
920
920
|
name: "created_at";
|
|
921
921
|
tableName: "trigger_invocations";
|
|
922
922
|
dataType: "string";
|
|
@@ -933,7 +933,7 @@ declare const triggerInvocations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
933
933
|
identity: undefined;
|
|
934
934
|
generated: undefined;
|
|
935
935
|
}, {}, {}>;
|
|
936
|
-
agentId:
|
|
936
|
+
agentId: drizzle_orm_pg_core1907.PgColumn<{
|
|
937
937
|
name: "agent_id";
|
|
938
938
|
tableName: "trigger_invocations";
|
|
939
939
|
dataType: "string";
|
|
@@ -952,7 +952,7 @@ declare const triggerInvocations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
952
952
|
}, {}, {
|
|
953
953
|
length: 256;
|
|
954
954
|
}>;
|
|
955
|
-
projectId:
|
|
955
|
+
projectId: drizzle_orm_pg_core1907.PgColumn<{
|
|
956
956
|
name: "project_id";
|
|
957
957
|
tableName: "trigger_invocations";
|
|
958
958
|
dataType: "string";
|
|
@@ -971,7 +971,7 @@ declare const triggerInvocations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
971
971
|
}, {}, {
|
|
972
972
|
length: 256;
|
|
973
973
|
}>;
|
|
974
|
-
tenantId:
|
|
974
|
+
tenantId: drizzle_orm_pg_core1907.PgColumn<{
|
|
975
975
|
name: "tenant_id";
|
|
976
976
|
tableName: "trigger_invocations";
|
|
977
977
|
dataType: "string";
|
|
@@ -990,7 +990,7 @@ declare const triggerInvocations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
990
990
|
}, {}, {
|
|
991
991
|
length: 256;
|
|
992
992
|
}>;
|
|
993
|
-
id:
|
|
993
|
+
id: drizzle_orm_pg_core1907.PgColumn<{
|
|
994
994
|
name: "id";
|
|
995
995
|
tableName: "trigger_invocations";
|
|
996
996
|
dataType: "string";
|
|
@@ -1017,11 +1017,11 @@ declare const triggerInvocations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
1017
1017
|
* Enforces workspace -> tenant uniqueness and provides audit trail.
|
|
1018
1018
|
* Stores reference to Nango connection for token retrieval.
|
|
1019
1019
|
*/
|
|
1020
|
-
declare const workAppSlackWorkspaces:
|
|
1020
|
+
declare const workAppSlackWorkspaces: drizzle_orm_pg_core1907.PgTableWithColumns<{
|
|
1021
1021
|
name: "work_app_slack_workspaces";
|
|
1022
1022
|
schema: undefined;
|
|
1023
1023
|
columns: {
|
|
1024
|
-
createdAt:
|
|
1024
|
+
createdAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
1025
1025
|
name: "created_at";
|
|
1026
1026
|
tableName: "work_app_slack_workspaces";
|
|
1027
1027
|
dataType: "string";
|
|
@@ -1038,7 +1038,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core355.PgTableWithColumns<
|
|
|
1038
1038
|
identity: undefined;
|
|
1039
1039
|
generated: undefined;
|
|
1040
1040
|
}, {}, {}>;
|
|
1041
|
-
updatedAt:
|
|
1041
|
+
updatedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
1042
1042
|
name: "updated_at";
|
|
1043
1043
|
tableName: "work_app_slack_workspaces";
|
|
1044
1044
|
dataType: "string";
|
|
@@ -1055,7 +1055,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core355.PgTableWithColumns<
|
|
|
1055
1055
|
identity: undefined;
|
|
1056
1056
|
generated: undefined;
|
|
1057
1057
|
}, {}, {}>;
|
|
1058
|
-
id:
|
|
1058
|
+
id: drizzle_orm_pg_core1907.PgColumn<{
|
|
1059
1059
|
name: "id";
|
|
1060
1060
|
tableName: "work_app_slack_workspaces";
|
|
1061
1061
|
dataType: "string";
|
|
@@ -1074,7 +1074,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core355.PgTableWithColumns<
|
|
|
1074
1074
|
}, {}, {
|
|
1075
1075
|
length: 256;
|
|
1076
1076
|
}>;
|
|
1077
|
-
tenantId:
|
|
1077
|
+
tenantId: drizzle_orm_pg_core1907.PgColumn<{
|
|
1078
1078
|
name: "tenant_id";
|
|
1079
1079
|
tableName: "work_app_slack_workspaces";
|
|
1080
1080
|
dataType: "string";
|
|
@@ -1093,7 +1093,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core355.PgTableWithColumns<
|
|
|
1093
1093
|
}, {}, {
|
|
1094
1094
|
length: 256;
|
|
1095
1095
|
}>;
|
|
1096
|
-
slackTeamId:
|
|
1096
|
+
slackTeamId: drizzle_orm_pg_core1907.PgColumn<{
|
|
1097
1097
|
name: "slack_team_id";
|
|
1098
1098
|
tableName: "work_app_slack_workspaces";
|
|
1099
1099
|
dataType: "string";
|
|
@@ -1112,7 +1112,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core355.PgTableWithColumns<
|
|
|
1112
1112
|
}, {}, {
|
|
1113
1113
|
length: 256;
|
|
1114
1114
|
}>;
|
|
1115
|
-
slackEnterpriseId:
|
|
1115
|
+
slackEnterpriseId: drizzle_orm_pg_core1907.PgColumn<{
|
|
1116
1116
|
name: "slack_enterprise_id";
|
|
1117
1117
|
tableName: "work_app_slack_workspaces";
|
|
1118
1118
|
dataType: "string";
|
|
@@ -1131,7 +1131,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core355.PgTableWithColumns<
|
|
|
1131
1131
|
}, {}, {
|
|
1132
1132
|
length: 256;
|
|
1133
1133
|
}>;
|
|
1134
|
-
slackAppId:
|
|
1134
|
+
slackAppId: drizzle_orm_pg_core1907.PgColumn<{
|
|
1135
1135
|
name: "slack_app_id";
|
|
1136
1136
|
tableName: "work_app_slack_workspaces";
|
|
1137
1137
|
dataType: "string";
|
|
@@ -1150,7 +1150,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core355.PgTableWithColumns<
|
|
|
1150
1150
|
}, {}, {
|
|
1151
1151
|
length: 256;
|
|
1152
1152
|
}>;
|
|
1153
|
-
slackTeamName:
|
|
1153
|
+
slackTeamName: drizzle_orm_pg_core1907.PgColumn<{
|
|
1154
1154
|
name: "slack_team_name";
|
|
1155
1155
|
tableName: "work_app_slack_workspaces";
|
|
1156
1156
|
dataType: "string";
|
|
@@ -1169,7 +1169,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core355.PgTableWithColumns<
|
|
|
1169
1169
|
}, {}, {
|
|
1170
1170
|
length: 512;
|
|
1171
1171
|
}>;
|
|
1172
|
-
nangoProviderConfigKey:
|
|
1172
|
+
nangoProviderConfigKey: drizzle_orm_pg_core1907.PgColumn<{
|
|
1173
1173
|
name: "nango_provider_config_key";
|
|
1174
1174
|
tableName: "work_app_slack_workspaces";
|
|
1175
1175
|
dataType: "string";
|
|
@@ -1188,7 +1188,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core355.PgTableWithColumns<
|
|
|
1188
1188
|
}, {}, {
|
|
1189
1189
|
length: 256;
|
|
1190
1190
|
}>;
|
|
1191
|
-
nangoConnectionId:
|
|
1191
|
+
nangoConnectionId: drizzle_orm_pg_core1907.PgColumn<{
|
|
1192
1192
|
name: "nango_connection_id";
|
|
1193
1193
|
tableName: "work_app_slack_workspaces";
|
|
1194
1194
|
dataType: "string";
|
|
@@ -1207,7 +1207,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core355.PgTableWithColumns<
|
|
|
1207
1207
|
}, {}, {
|
|
1208
1208
|
length: 256;
|
|
1209
1209
|
}>;
|
|
1210
|
-
status:
|
|
1210
|
+
status: drizzle_orm_pg_core1907.PgColumn<{
|
|
1211
1211
|
name: "status";
|
|
1212
1212
|
tableName: "work_app_slack_workspaces";
|
|
1213
1213
|
dataType: "string";
|
|
@@ -1226,7 +1226,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core355.PgTableWithColumns<
|
|
|
1226
1226
|
}, {}, {
|
|
1227
1227
|
length: 20;
|
|
1228
1228
|
}>;
|
|
1229
|
-
installedByUserId:
|
|
1229
|
+
installedByUserId: drizzle_orm_pg_core1907.PgColumn<{
|
|
1230
1230
|
name: "installed_by_user_id";
|
|
1231
1231
|
tableName: "work_app_slack_workspaces";
|
|
1232
1232
|
dataType: "string";
|
|
@@ -1243,7 +1243,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core355.PgTableWithColumns<
|
|
|
1243
1243
|
identity: undefined;
|
|
1244
1244
|
generated: undefined;
|
|
1245
1245
|
}, {}, {}>;
|
|
1246
|
-
shouldAllowJoinFromWorkspace:
|
|
1246
|
+
shouldAllowJoinFromWorkspace: drizzle_orm_pg_core1907.PgColumn<{
|
|
1247
1247
|
name: "should_allow_join_from_workspace";
|
|
1248
1248
|
tableName: "work_app_slack_workspaces";
|
|
1249
1249
|
dataType: "boolean";
|
|
@@ -1260,7 +1260,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core355.PgTableWithColumns<
|
|
|
1260
1260
|
identity: undefined;
|
|
1261
1261
|
generated: undefined;
|
|
1262
1262
|
}, {}, {}>;
|
|
1263
|
-
defaultAgentId:
|
|
1263
|
+
defaultAgentId: drizzle_orm_pg_core1907.PgColumn<{
|
|
1264
1264
|
name: "default_agent_id";
|
|
1265
1265
|
tableName: "work_app_slack_workspaces";
|
|
1266
1266
|
dataType: "string";
|
|
@@ -1279,7 +1279,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core355.PgTableWithColumns<
|
|
|
1279
1279
|
}, {}, {
|
|
1280
1280
|
length: 256;
|
|
1281
1281
|
}>;
|
|
1282
|
-
defaultProjectId:
|
|
1282
|
+
defaultProjectId: drizzle_orm_pg_core1907.PgColumn<{
|
|
1283
1283
|
name: "default_project_id";
|
|
1284
1284
|
tableName: "work_app_slack_workspaces";
|
|
1285
1285
|
dataType: "string";
|
|
@@ -1298,7 +1298,7 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core355.PgTableWithColumns<
|
|
|
1298
1298
|
}, {}, {
|
|
1299
1299
|
length: 256;
|
|
1300
1300
|
}>;
|
|
1301
|
-
defaultGrantAccessToMembers:
|
|
1301
|
+
defaultGrantAccessToMembers: drizzle_orm_pg_core1907.PgColumn<{
|
|
1302
1302
|
name: "default_grant_access_to_members";
|
|
1303
1303
|
tableName: "work_app_slack_workspaces";
|
|
1304
1304
|
dataType: "boolean";
|
|
@@ -1323,11 +1323,11 @@ declare const workAppSlackWorkspaces: drizzle_orm_pg_core355.PgTableWithColumns<
|
|
|
1323
1323
|
* Enables Slack users to trigger agents after linking their accounts.
|
|
1324
1324
|
* Unique per tenant + clientId + slackTeamId + slackUserId.
|
|
1325
1325
|
*/
|
|
1326
|
-
declare const workAppSlackUserMappings:
|
|
1326
|
+
declare const workAppSlackUserMappings: drizzle_orm_pg_core1907.PgTableWithColumns<{
|
|
1327
1327
|
name: "work_app_slack_user_mappings";
|
|
1328
1328
|
schema: undefined;
|
|
1329
1329
|
columns: {
|
|
1330
|
-
createdAt:
|
|
1330
|
+
createdAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
1331
1331
|
name: "created_at";
|
|
1332
1332
|
tableName: "work_app_slack_user_mappings";
|
|
1333
1333
|
dataType: "string";
|
|
@@ -1344,7 +1344,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core355.PgTableWithColumn
|
|
|
1344
1344
|
identity: undefined;
|
|
1345
1345
|
generated: undefined;
|
|
1346
1346
|
}, {}, {}>;
|
|
1347
|
-
updatedAt:
|
|
1347
|
+
updatedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
1348
1348
|
name: "updated_at";
|
|
1349
1349
|
tableName: "work_app_slack_user_mappings";
|
|
1350
1350
|
dataType: "string";
|
|
@@ -1361,7 +1361,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core355.PgTableWithColumn
|
|
|
1361
1361
|
identity: undefined;
|
|
1362
1362
|
generated: undefined;
|
|
1363
1363
|
}, {}, {}>;
|
|
1364
|
-
id:
|
|
1364
|
+
id: drizzle_orm_pg_core1907.PgColumn<{
|
|
1365
1365
|
name: "id";
|
|
1366
1366
|
tableName: "work_app_slack_user_mappings";
|
|
1367
1367
|
dataType: "string";
|
|
@@ -1380,7 +1380,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core355.PgTableWithColumn
|
|
|
1380
1380
|
}, {}, {
|
|
1381
1381
|
length: 256;
|
|
1382
1382
|
}>;
|
|
1383
|
-
tenantId:
|
|
1383
|
+
tenantId: drizzle_orm_pg_core1907.PgColumn<{
|
|
1384
1384
|
name: "tenant_id";
|
|
1385
1385
|
tableName: "work_app_slack_user_mappings";
|
|
1386
1386
|
dataType: "string";
|
|
@@ -1399,7 +1399,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core355.PgTableWithColumn
|
|
|
1399
1399
|
}, {}, {
|
|
1400
1400
|
length: 256;
|
|
1401
1401
|
}>;
|
|
1402
|
-
clientId:
|
|
1402
|
+
clientId: drizzle_orm_pg_core1907.PgColumn<{
|
|
1403
1403
|
name: "client_id";
|
|
1404
1404
|
tableName: "work_app_slack_user_mappings";
|
|
1405
1405
|
dataType: "string";
|
|
@@ -1418,7 +1418,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core355.PgTableWithColumn
|
|
|
1418
1418
|
}, {}, {
|
|
1419
1419
|
length: 256;
|
|
1420
1420
|
}>;
|
|
1421
|
-
slackUserId:
|
|
1421
|
+
slackUserId: drizzle_orm_pg_core1907.PgColumn<{
|
|
1422
1422
|
name: "slack_user_id";
|
|
1423
1423
|
tableName: "work_app_slack_user_mappings";
|
|
1424
1424
|
dataType: "string";
|
|
@@ -1437,7 +1437,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core355.PgTableWithColumn
|
|
|
1437
1437
|
}, {}, {
|
|
1438
1438
|
length: 256;
|
|
1439
1439
|
}>;
|
|
1440
|
-
slackTeamId:
|
|
1440
|
+
slackTeamId: drizzle_orm_pg_core1907.PgColumn<{
|
|
1441
1441
|
name: "slack_team_id";
|
|
1442
1442
|
tableName: "work_app_slack_user_mappings";
|
|
1443
1443
|
dataType: "string";
|
|
@@ -1456,7 +1456,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core355.PgTableWithColumn
|
|
|
1456
1456
|
}, {}, {
|
|
1457
1457
|
length: 256;
|
|
1458
1458
|
}>;
|
|
1459
|
-
slackEnterpriseId:
|
|
1459
|
+
slackEnterpriseId: drizzle_orm_pg_core1907.PgColumn<{
|
|
1460
1460
|
name: "slack_enterprise_id";
|
|
1461
1461
|
tableName: "work_app_slack_user_mappings";
|
|
1462
1462
|
dataType: "string";
|
|
@@ -1475,7 +1475,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core355.PgTableWithColumn
|
|
|
1475
1475
|
}, {}, {
|
|
1476
1476
|
length: 256;
|
|
1477
1477
|
}>;
|
|
1478
|
-
inkeepUserId:
|
|
1478
|
+
inkeepUserId: drizzle_orm_pg_core1907.PgColumn<{
|
|
1479
1479
|
name: "inkeep_user_id";
|
|
1480
1480
|
tableName: "work_app_slack_user_mappings";
|
|
1481
1481
|
dataType: "string";
|
|
@@ -1492,7 +1492,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core355.PgTableWithColumn
|
|
|
1492
1492
|
identity: undefined;
|
|
1493
1493
|
generated: undefined;
|
|
1494
1494
|
}, {}, {}>;
|
|
1495
|
-
slackUsername:
|
|
1495
|
+
slackUsername: drizzle_orm_pg_core1907.PgColumn<{
|
|
1496
1496
|
name: "slack_username";
|
|
1497
1497
|
tableName: "work_app_slack_user_mappings";
|
|
1498
1498
|
dataType: "string";
|
|
@@ -1511,7 +1511,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core355.PgTableWithColumn
|
|
|
1511
1511
|
}, {}, {
|
|
1512
1512
|
length: 256;
|
|
1513
1513
|
}>;
|
|
1514
|
-
slackEmail:
|
|
1514
|
+
slackEmail: drizzle_orm_pg_core1907.PgColumn<{
|
|
1515
1515
|
name: "slack_email";
|
|
1516
1516
|
tableName: "work_app_slack_user_mappings";
|
|
1517
1517
|
dataType: "string";
|
|
@@ -1530,7 +1530,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core355.PgTableWithColumn
|
|
|
1530
1530
|
}, {}, {
|
|
1531
1531
|
length: 256;
|
|
1532
1532
|
}>;
|
|
1533
|
-
linkedAt:
|
|
1533
|
+
linkedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
1534
1534
|
name: "linked_at";
|
|
1535
1535
|
tableName: "work_app_slack_user_mappings";
|
|
1536
1536
|
dataType: "string";
|
|
@@ -1547,7 +1547,7 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core355.PgTableWithColumn
|
|
|
1547
1547
|
identity: undefined;
|
|
1548
1548
|
generated: undefined;
|
|
1549
1549
|
}, {}, {}>;
|
|
1550
|
-
lastUsedAt:
|
|
1550
|
+
lastUsedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
1551
1551
|
name: "last_used_at";
|
|
1552
1552
|
tableName: "work_app_slack_user_mappings";
|
|
1553
1553
|
dataType: "string";
|
|
@@ -1572,11 +1572,11 @@ declare const workAppSlackUserMappings: drizzle_orm_pg_core355.PgTableWithColumn
|
|
|
1572
1572
|
* Allows admins to set channel-specific agent defaults that override workspace defaults.
|
|
1573
1573
|
* Unique per tenant + slackTeamId + slackChannelId.
|
|
1574
1574
|
*/
|
|
1575
|
-
declare const workAppSlackChannelAgentConfigs:
|
|
1575
|
+
declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1907.PgTableWithColumns<{
|
|
1576
1576
|
name: "work_app_slack_channel_agent_configs";
|
|
1577
1577
|
schema: undefined;
|
|
1578
1578
|
columns: {
|
|
1579
|
-
createdAt:
|
|
1579
|
+
createdAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
1580
1580
|
name: "created_at";
|
|
1581
1581
|
tableName: "work_app_slack_channel_agent_configs";
|
|
1582
1582
|
dataType: "string";
|
|
@@ -1593,7 +1593,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core355.PgTableWit
|
|
|
1593
1593
|
identity: undefined;
|
|
1594
1594
|
generated: undefined;
|
|
1595
1595
|
}, {}, {}>;
|
|
1596
|
-
updatedAt:
|
|
1596
|
+
updatedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
1597
1597
|
name: "updated_at";
|
|
1598
1598
|
tableName: "work_app_slack_channel_agent_configs";
|
|
1599
1599
|
dataType: "string";
|
|
@@ -1610,7 +1610,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core355.PgTableWit
|
|
|
1610
1610
|
identity: undefined;
|
|
1611
1611
|
generated: undefined;
|
|
1612
1612
|
}, {}, {}>;
|
|
1613
|
-
id:
|
|
1613
|
+
id: drizzle_orm_pg_core1907.PgColumn<{
|
|
1614
1614
|
name: "id";
|
|
1615
1615
|
tableName: "work_app_slack_channel_agent_configs";
|
|
1616
1616
|
dataType: "string";
|
|
@@ -1629,7 +1629,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core355.PgTableWit
|
|
|
1629
1629
|
}, {}, {
|
|
1630
1630
|
length: 256;
|
|
1631
1631
|
}>;
|
|
1632
|
-
tenantId:
|
|
1632
|
+
tenantId: drizzle_orm_pg_core1907.PgColumn<{
|
|
1633
1633
|
name: "tenant_id";
|
|
1634
1634
|
tableName: "work_app_slack_channel_agent_configs";
|
|
1635
1635
|
dataType: "string";
|
|
@@ -1648,7 +1648,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core355.PgTableWit
|
|
|
1648
1648
|
}, {}, {
|
|
1649
1649
|
length: 256;
|
|
1650
1650
|
}>;
|
|
1651
|
-
slackTeamId:
|
|
1651
|
+
slackTeamId: drizzle_orm_pg_core1907.PgColumn<{
|
|
1652
1652
|
name: "slack_team_id";
|
|
1653
1653
|
tableName: "work_app_slack_channel_agent_configs";
|
|
1654
1654
|
dataType: "string";
|
|
@@ -1667,7 +1667,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core355.PgTableWit
|
|
|
1667
1667
|
}, {}, {
|
|
1668
1668
|
length: 256;
|
|
1669
1669
|
}>;
|
|
1670
|
-
slackChannelId:
|
|
1670
|
+
slackChannelId: drizzle_orm_pg_core1907.PgColumn<{
|
|
1671
1671
|
name: "slack_channel_id";
|
|
1672
1672
|
tableName: "work_app_slack_channel_agent_configs";
|
|
1673
1673
|
dataType: "string";
|
|
@@ -1686,7 +1686,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core355.PgTableWit
|
|
|
1686
1686
|
}, {}, {
|
|
1687
1687
|
length: 256;
|
|
1688
1688
|
}>;
|
|
1689
|
-
slackChannelName:
|
|
1689
|
+
slackChannelName: drizzle_orm_pg_core1907.PgColumn<{
|
|
1690
1690
|
name: "slack_channel_name";
|
|
1691
1691
|
tableName: "work_app_slack_channel_agent_configs";
|
|
1692
1692
|
dataType: "string";
|
|
@@ -1705,7 +1705,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core355.PgTableWit
|
|
|
1705
1705
|
}, {}, {
|
|
1706
1706
|
length: 256;
|
|
1707
1707
|
}>;
|
|
1708
|
-
slackChannelType:
|
|
1708
|
+
slackChannelType: drizzle_orm_pg_core1907.PgColumn<{
|
|
1709
1709
|
name: "slack_channel_type";
|
|
1710
1710
|
tableName: "work_app_slack_channel_agent_configs";
|
|
1711
1711
|
dataType: "string";
|
|
@@ -1724,7 +1724,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core355.PgTableWit
|
|
|
1724
1724
|
}, {}, {
|
|
1725
1725
|
length: 50;
|
|
1726
1726
|
}>;
|
|
1727
|
-
projectId:
|
|
1727
|
+
projectId: drizzle_orm_pg_core1907.PgColumn<{
|
|
1728
1728
|
name: "project_id";
|
|
1729
1729
|
tableName: "work_app_slack_channel_agent_configs";
|
|
1730
1730
|
dataType: "string";
|
|
@@ -1743,7 +1743,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core355.PgTableWit
|
|
|
1743
1743
|
}, {}, {
|
|
1744
1744
|
length: 256;
|
|
1745
1745
|
}>;
|
|
1746
|
-
agentId:
|
|
1746
|
+
agentId: drizzle_orm_pg_core1907.PgColumn<{
|
|
1747
1747
|
name: "agent_id";
|
|
1748
1748
|
tableName: "work_app_slack_channel_agent_configs";
|
|
1749
1749
|
dataType: "string";
|
|
@@ -1762,7 +1762,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core355.PgTableWit
|
|
|
1762
1762
|
}, {}, {
|
|
1763
1763
|
length: 256;
|
|
1764
1764
|
}>;
|
|
1765
|
-
configuredByUserId:
|
|
1765
|
+
configuredByUserId: drizzle_orm_pg_core1907.PgColumn<{
|
|
1766
1766
|
name: "configured_by_user_id";
|
|
1767
1767
|
tableName: "work_app_slack_channel_agent_configs";
|
|
1768
1768
|
dataType: "string";
|
|
@@ -1779,7 +1779,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core355.PgTableWit
|
|
|
1779
1779
|
identity: undefined;
|
|
1780
1780
|
generated: undefined;
|
|
1781
1781
|
}, {}, {}>;
|
|
1782
|
-
enabled:
|
|
1782
|
+
enabled: drizzle_orm_pg_core1907.PgColumn<{
|
|
1783
1783
|
name: "enabled";
|
|
1784
1784
|
tableName: "work_app_slack_channel_agent_configs";
|
|
1785
1785
|
dataType: "boolean";
|
|
@@ -1796,7 +1796,7 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core355.PgTableWit
|
|
|
1796
1796
|
identity: undefined;
|
|
1797
1797
|
generated: undefined;
|
|
1798
1798
|
}, {}, {}>;
|
|
1799
|
-
grantAccessToMembers:
|
|
1799
|
+
grantAccessToMembers: drizzle_orm_pg_core1907.PgColumn<{
|
|
1800
1800
|
name: "grant_access_to_members";
|
|
1801
1801
|
tableName: "work_app_slack_channel_agent_configs";
|
|
1802
1802
|
dataType: "boolean";
|
|
@@ -1820,11 +1820,11 @@ declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core355.PgTableWit
|
|
|
1820
1820
|
* Scheduled trigger invocations - records each execution of a scheduled trigger.
|
|
1821
1821
|
* NOTE: No FK to scheduled_triggers table since it's in a different database (DoltGres).
|
|
1822
1822
|
*/
|
|
1823
|
-
declare const scheduledTriggerInvocations:
|
|
1823
|
+
declare const scheduledTriggerInvocations: drizzle_orm_pg_core1907.PgTableWithColumns<{
|
|
1824
1824
|
name: "scheduled_trigger_invocations";
|
|
1825
1825
|
schema: undefined;
|
|
1826
1826
|
columns: {
|
|
1827
|
-
scheduledTriggerId:
|
|
1827
|
+
scheduledTriggerId: drizzle_orm_pg_core1907.PgColumn<{
|
|
1828
1828
|
name: "scheduled_trigger_id";
|
|
1829
1829
|
tableName: "scheduled_trigger_invocations";
|
|
1830
1830
|
dataType: "string";
|
|
@@ -1843,7 +1843,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core355.PgTableWithCol
|
|
|
1843
1843
|
}, {}, {
|
|
1844
1844
|
length: 256;
|
|
1845
1845
|
}>;
|
|
1846
|
-
status:
|
|
1846
|
+
status: drizzle_orm_pg_core1907.PgColumn<{
|
|
1847
1847
|
name: "status";
|
|
1848
1848
|
tableName: "scheduled_trigger_invocations";
|
|
1849
1849
|
dataType: "string";
|
|
@@ -1863,7 +1863,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core355.PgTableWithCol
|
|
|
1863
1863
|
length: 50;
|
|
1864
1864
|
$type: "pending" | "running" | "completed" | "failed" | "cancelled";
|
|
1865
1865
|
}>;
|
|
1866
|
-
scheduledFor:
|
|
1866
|
+
scheduledFor: drizzle_orm_pg_core1907.PgColumn<{
|
|
1867
1867
|
name: "scheduled_for";
|
|
1868
1868
|
tableName: "scheduled_trigger_invocations";
|
|
1869
1869
|
dataType: "string";
|
|
@@ -1880,7 +1880,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core355.PgTableWithCol
|
|
|
1880
1880
|
identity: undefined;
|
|
1881
1881
|
generated: undefined;
|
|
1882
1882
|
}, {}, {}>;
|
|
1883
|
-
startedAt:
|
|
1883
|
+
startedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
1884
1884
|
name: "started_at";
|
|
1885
1885
|
tableName: "scheduled_trigger_invocations";
|
|
1886
1886
|
dataType: "string";
|
|
@@ -1897,7 +1897,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core355.PgTableWithCol
|
|
|
1897
1897
|
identity: undefined;
|
|
1898
1898
|
generated: undefined;
|
|
1899
1899
|
}, {}, {}>;
|
|
1900
|
-
completedAt:
|
|
1900
|
+
completedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
1901
1901
|
name: "completed_at";
|
|
1902
1902
|
tableName: "scheduled_trigger_invocations";
|
|
1903
1903
|
dataType: "string";
|
|
@@ -1914,7 +1914,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core355.PgTableWithCol
|
|
|
1914
1914
|
identity: undefined;
|
|
1915
1915
|
generated: undefined;
|
|
1916
1916
|
}, {}, {}>;
|
|
1917
|
-
resolvedPayload:
|
|
1917
|
+
resolvedPayload: drizzle_orm_pg_core1907.PgColumn<{
|
|
1918
1918
|
name: "resolved_payload";
|
|
1919
1919
|
tableName: "scheduled_trigger_invocations";
|
|
1920
1920
|
dataType: "json";
|
|
@@ -1933,7 +1933,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core355.PgTableWithCol
|
|
|
1933
1933
|
}, {}, {
|
|
1934
1934
|
$type: Record<string, unknown> | null;
|
|
1935
1935
|
}>;
|
|
1936
|
-
conversationIds:
|
|
1936
|
+
conversationIds: drizzle_orm_pg_core1907.PgColumn<{
|
|
1937
1937
|
name: "conversation_ids";
|
|
1938
1938
|
tableName: "scheduled_trigger_invocations";
|
|
1939
1939
|
dataType: "json";
|
|
@@ -1952,7 +1952,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core355.PgTableWithCol
|
|
|
1952
1952
|
}, {}, {
|
|
1953
1953
|
$type: string[];
|
|
1954
1954
|
}>;
|
|
1955
|
-
attemptNumber:
|
|
1955
|
+
attemptNumber: drizzle_orm_pg_core1907.PgColumn<{
|
|
1956
1956
|
name: "attempt_number";
|
|
1957
1957
|
tableName: "scheduled_trigger_invocations";
|
|
1958
1958
|
dataType: "number";
|
|
@@ -1969,7 +1969,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core355.PgTableWithCol
|
|
|
1969
1969
|
identity: undefined;
|
|
1970
1970
|
generated: undefined;
|
|
1971
1971
|
}, {}, {}>;
|
|
1972
|
-
idempotencyKey:
|
|
1972
|
+
idempotencyKey: drizzle_orm_pg_core1907.PgColumn<{
|
|
1973
1973
|
name: "idempotency_key";
|
|
1974
1974
|
tableName: "scheduled_trigger_invocations";
|
|
1975
1975
|
dataType: "string";
|
|
@@ -1988,7 +1988,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core355.PgTableWithCol
|
|
|
1988
1988
|
}, {}, {
|
|
1989
1989
|
length: 256;
|
|
1990
1990
|
}>;
|
|
1991
|
-
createdAt:
|
|
1991
|
+
createdAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
1992
1992
|
name: "created_at";
|
|
1993
1993
|
tableName: "scheduled_trigger_invocations";
|
|
1994
1994
|
dataType: "string";
|
|
@@ -2005,7 +2005,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core355.PgTableWithCol
|
|
|
2005
2005
|
identity: undefined;
|
|
2006
2006
|
generated: undefined;
|
|
2007
2007
|
}, {}, {}>;
|
|
2008
|
-
agentId:
|
|
2008
|
+
agentId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2009
2009
|
name: "agent_id";
|
|
2010
2010
|
tableName: "scheduled_trigger_invocations";
|
|
2011
2011
|
dataType: "string";
|
|
@@ -2024,7 +2024,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core355.PgTableWithCol
|
|
|
2024
2024
|
}, {}, {
|
|
2025
2025
|
length: 256;
|
|
2026
2026
|
}>;
|
|
2027
|
-
projectId:
|
|
2027
|
+
projectId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2028
2028
|
name: "project_id";
|
|
2029
2029
|
tableName: "scheduled_trigger_invocations";
|
|
2030
2030
|
dataType: "string";
|
|
@@ -2043,7 +2043,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core355.PgTableWithCol
|
|
|
2043
2043
|
}, {}, {
|
|
2044
2044
|
length: 256;
|
|
2045
2045
|
}>;
|
|
2046
|
-
tenantId:
|
|
2046
|
+
tenantId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2047
2047
|
name: "tenant_id";
|
|
2048
2048
|
tableName: "scheduled_trigger_invocations";
|
|
2049
2049
|
dataType: "string";
|
|
@@ -2062,7 +2062,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core355.PgTableWithCol
|
|
|
2062
2062
|
}, {}, {
|
|
2063
2063
|
length: 256;
|
|
2064
2064
|
}>;
|
|
2065
|
-
id:
|
|
2065
|
+
id: drizzle_orm_pg_core1907.PgColumn<{
|
|
2066
2066
|
name: "id";
|
|
2067
2067
|
tableName: "scheduled_trigger_invocations";
|
|
2068
2068
|
dataType: "string";
|
|
@@ -2084,11 +2084,11 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core355.PgTableWithCol
|
|
|
2084
2084
|
};
|
|
2085
2085
|
dialect: "pg";
|
|
2086
2086
|
}>;
|
|
2087
|
-
declare const messages:
|
|
2087
|
+
declare const messages: drizzle_orm_pg_core1907.PgTableWithColumns<{
|
|
2088
2088
|
name: "messages";
|
|
2089
2089
|
schema: undefined;
|
|
2090
2090
|
columns: {
|
|
2091
|
-
createdAt:
|
|
2091
|
+
createdAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
2092
2092
|
name: "created_at";
|
|
2093
2093
|
tableName: "messages";
|
|
2094
2094
|
dataType: "string";
|
|
@@ -2105,7 +2105,7 @@ declare const messages: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2105
2105
|
identity: undefined;
|
|
2106
2106
|
generated: undefined;
|
|
2107
2107
|
}, {}, {}>;
|
|
2108
|
-
updatedAt:
|
|
2108
|
+
updatedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
2109
2109
|
name: "updated_at";
|
|
2110
2110
|
tableName: "messages";
|
|
2111
2111
|
dataType: "string";
|
|
@@ -2122,7 +2122,7 @@ declare const messages: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2122
2122
|
identity: undefined;
|
|
2123
2123
|
generated: undefined;
|
|
2124
2124
|
}, {}, {}>;
|
|
2125
|
-
conversationId:
|
|
2125
|
+
conversationId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2126
2126
|
name: "conversation_id";
|
|
2127
2127
|
tableName: "messages";
|
|
2128
2128
|
dataType: "string";
|
|
@@ -2141,7 +2141,7 @@ declare const messages: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2141
2141
|
}, {}, {
|
|
2142
2142
|
length: 256;
|
|
2143
2143
|
}>;
|
|
2144
|
-
role:
|
|
2144
|
+
role: drizzle_orm_pg_core1907.PgColumn<{
|
|
2145
2145
|
name: "role";
|
|
2146
2146
|
tableName: "messages";
|
|
2147
2147
|
dataType: "string";
|
|
@@ -2160,7 +2160,7 @@ declare const messages: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2160
2160
|
}, {}, {
|
|
2161
2161
|
length: 256;
|
|
2162
2162
|
}>;
|
|
2163
|
-
fromSubAgentId:
|
|
2163
|
+
fromSubAgentId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2164
2164
|
name: "from_sub_agent_id";
|
|
2165
2165
|
tableName: "messages";
|
|
2166
2166
|
dataType: "string";
|
|
@@ -2179,7 +2179,7 @@ declare const messages: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2179
2179
|
}, {}, {
|
|
2180
2180
|
length: 256;
|
|
2181
2181
|
}>;
|
|
2182
|
-
toSubAgentId:
|
|
2182
|
+
toSubAgentId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2183
2183
|
name: "to_sub_agent_id";
|
|
2184
2184
|
tableName: "messages";
|
|
2185
2185
|
dataType: "string";
|
|
@@ -2198,7 +2198,7 @@ declare const messages: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2198
2198
|
}, {}, {
|
|
2199
2199
|
length: 256;
|
|
2200
2200
|
}>;
|
|
2201
|
-
fromExternalAgentId:
|
|
2201
|
+
fromExternalAgentId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2202
2202
|
name: "from_external_sub_agent_id";
|
|
2203
2203
|
tableName: "messages";
|
|
2204
2204
|
dataType: "string";
|
|
@@ -2217,7 +2217,7 @@ declare const messages: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2217
2217
|
}, {}, {
|
|
2218
2218
|
length: 256;
|
|
2219
2219
|
}>;
|
|
2220
|
-
toExternalAgentId:
|
|
2220
|
+
toExternalAgentId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2221
2221
|
name: "to_external_sub_agent_id";
|
|
2222
2222
|
tableName: "messages";
|
|
2223
2223
|
dataType: "string";
|
|
@@ -2236,7 +2236,7 @@ declare const messages: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2236
2236
|
}, {}, {
|
|
2237
2237
|
length: 256;
|
|
2238
2238
|
}>;
|
|
2239
|
-
fromTeamAgentId:
|
|
2239
|
+
fromTeamAgentId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2240
2240
|
name: "from_team_agent_id";
|
|
2241
2241
|
tableName: "messages";
|
|
2242
2242
|
dataType: "string";
|
|
@@ -2255,7 +2255,7 @@ declare const messages: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2255
2255
|
}, {}, {
|
|
2256
2256
|
length: 256;
|
|
2257
2257
|
}>;
|
|
2258
|
-
toTeamAgentId:
|
|
2258
|
+
toTeamAgentId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2259
2259
|
name: "to_team_agent_id";
|
|
2260
2260
|
tableName: "messages";
|
|
2261
2261
|
dataType: "string";
|
|
@@ -2274,7 +2274,7 @@ declare const messages: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2274
2274
|
}, {}, {
|
|
2275
2275
|
length: 256;
|
|
2276
2276
|
}>;
|
|
2277
|
-
content:
|
|
2277
|
+
content: drizzle_orm_pg_core1907.PgColumn<{
|
|
2278
2278
|
name: "content";
|
|
2279
2279
|
tableName: "messages";
|
|
2280
2280
|
dataType: "json";
|
|
@@ -2293,7 +2293,7 @@ declare const messages: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2293
2293
|
}, {}, {
|
|
2294
2294
|
$type: MessageContent;
|
|
2295
2295
|
}>;
|
|
2296
|
-
visibility:
|
|
2296
|
+
visibility: drizzle_orm_pg_core1907.PgColumn<{
|
|
2297
2297
|
name: "visibility";
|
|
2298
2298
|
tableName: "messages";
|
|
2299
2299
|
dataType: "string";
|
|
@@ -2312,7 +2312,7 @@ declare const messages: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2312
2312
|
}, {}, {
|
|
2313
2313
|
length: 256;
|
|
2314
2314
|
}>;
|
|
2315
|
-
messageType:
|
|
2315
|
+
messageType: drizzle_orm_pg_core1907.PgColumn<{
|
|
2316
2316
|
name: "message_type";
|
|
2317
2317
|
tableName: "messages";
|
|
2318
2318
|
dataType: "string";
|
|
@@ -2331,7 +2331,7 @@ declare const messages: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2331
2331
|
}, {}, {
|
|
2332
2332
|
length: 256;
|
|
2333
2333
|
}>;
|
|
2334
|
-
taskId:
|
|
2334
|
+
taskId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2335
2335
|
name: "task_id";
|
|
2336
2336
|
tableName: "messages";
|
|
2337
2337
|
dataType: "string";
|
|
@@ -2350,7 +2350,7 @@ declare const messages: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2350
2350
|
}, {}, {
|
|
2351
2351
|
length: 256;
|
|
2352
2352
|
}>;
|
|
2353
|
-
parentMessageId:
|
|
2353
|
+
parentMessageId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2354
2354
|
name: "parent_message_id";
|
|
2355
2355
|
tableName: "messages";
|
|
2356
2356
|
dataType: "string";
|
|
@@ -2369,7 +2369,7 @@ declare const messages: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2369
2369
|
}, {}, {
|
|
2370
2370
|
length: 256;
|
|
2371
2371
|
}>;
|
|
2372
|
-
a2aTaskId:
|
|
2372
|
+
a2aTaskId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2373
2373
|
name: "a2a_task_id";
|
|
2374
2374
|
tableName: "messages";
|
|
2375
2375
|
dataType: "string";
|
|
@@ -2388,7 +2388,7 @@ declare const messages: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2388
2388
|
}, {}, {
|
|
2389
2389
|
length: 256;
|
|
2390
2390
|
}>;
|
|
2391
|
-
a2aSessionId:
|
|
2391
|
+
a2aSessionId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2392
2392
|
name: "a2a_session_id";
|
|
2393
2393
|
tableName: "messages";
|
|
2394
2394
|
dataType: "string";
|
|
@@ -2407,7 +2407,7 @@ declare const messages: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2407
2407
|
}, {}, {
|
|
2408
2408
|
length: 256;
|
|
2409
2409
|
}>;
|
|
2410
|
-
metadata:
|
|
2410
|
+
metadata: drizzle_orm_pg_core1907.PgColumn<{
|
|
2411
2411
|
name: "metadata";
|
|
2412
2412
|
tableName: "messages";
|
|
2413
2413
|
dataType: "json";
|
|
@@ -2426,7 +2426,7 @@ declare const messages: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2426
2426
|
}, {}, {
|
|
2427
2427
|
$type: MessageMetadata;
|
|
2428
2428
|
}>;
|
|
2429
|
-
projectId:
|
|
2429
|
+
projectId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2430
2430
|
name: "project_id";
|
|
2431
2431
|
tableName: "messages";
|
|
2432
2432
|
dataType: "string";
|
|
@@ -2445,7 +2445,7 @@ declare const messages: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2445
2445
|
}, {}, {
|
|
2446
2446
|
length: 256;
|
|
2447
2447
|
}>;
|
|
2448
|
-
tenantId:
|
|
2448
|
+
tenantId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2449
2449
|
name: "tenant_id";
|
|
2450
2450
|
tableName: "messages";
|
|
2451
2451
|
dataType: "string";
|
|
@@ -2464,7 +2464,7 @@ declare const messages: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2464
2464
|
}, {}, {
|
|
2465
2465
|
length: 256;
|
|
2466
2466
|
}>;
|
|
2467
|
-
id:
|
|
2467
|
+
id: drizzle_orm_pg_core1907.PgColumn<{
|
|
2468
2468
|
name: "id";
|
|
2469
2469
|
tableName: "messages";
|
|
2470
2470
|
dataType: "string";
|
|
@@ -2486,11 +2486,11 @@ declare const messages: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2486
2486
|
};
|
|
2487
2487
|
dialect: "pg";
|
|
2488
2488
|
}>;
|
|
2489
|
-
declare const taskRelations:
|
|
2489
|
+
declare const taskRelations: drizzle_orm_pg_core1907.PgTableWithColumns<{
|
|
2490
2490
|
name: "task_relations";
|
|
2491
2491
|
schema: undefined;
|
|
2492
2492
|
columns: {
|
|
2493
|
-
createdAt:
|
|
2493
|
+
createdAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
2494
2494
|
name: "created_at";
|
|
2495
2495
|
tableName: "task_relations";
|
|
2496
2496
|
dataType: "string";
|
|
@@ -2507,7 +2507,7 @@ declare const taskRelations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2507
2507
|
identity: undefined;
|
|
2508
2508
|
generated: undefined;
|
|
2509
2509
|
}, {}, {}>;
|
|
2510
|
-
updatedAt:
|
|
2510
|
+
updatedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
2511
2511
|
name: "updated_at";
|
|
2512
2512
|
tableName: "task_relations";
|
|
2513
2513
|
dataType: "string";
|
|
@@ -2524,7 +2524,7 @@ declare const taskRelations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2524
2524
|
identity: undefined;
|
|
2525
2525
|
generated: undefined;
|
|
2526
2526
|
}, {}, {}>;
|
|
2527
|
-
parentTaskId:
|
|
2527
|
+
parentTaskId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2528
2528
|
name: "parent_task_id";
|
|
2529
2529
|
tableName: "task_relations";
|
|
2530
2530
|
dataType: "string";
|
|
@@ -2543,7 +2543,7 @@ declare const taskRelations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2543
2543
|
}, {}, {
|
|
2544
2544
|
length: 256;
|
|
2545
2545
|
}>;
|
|
2546
|
-
childTaskId:
|
|
2546
|
+
childTaskId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2547
2547
|
name: "child_task_id";
|
|
2548
2548
|
tableName: "task_relations";
|
|
2549
2549
|
dataType: "string";
|
|
@@ -2562,7 +2562,7 @@ declare const taskRelations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2562
2562
|
}, {}, {
|
|
2563
2563
|
length: 256;
|
|
2564
2564
|
}>;
|
|
2565
|
-
relationType:
|
|
2565
|
+
relationType: drizzle_orm_pg_core1907.PgColumn<{
|
|
2566
2566
|
name: "relation_type";
|
|
2567
2567
|
tableName: "task_relations";
|
|
2568
2568
|
dataType: "string";
|
|
@@ -2581,7 +2581,7 @@ declare const taskRelations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2581
2581
|
}, {}, {
|
|
2582
2582
|
length: 256;
|
|
2583
2583
|
}>;
|
|
2584
|
-
projectId:
|
|
2584
|
+
projectId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2585
2585
|
name: "project_id";
|
|
2586
2586
|
tableName: "task_relations";
|
|
2587
2587
|
dataType: "string";
|
|
@@ -2600,7 +2600,7 @@ declare const taskRelations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2600
2600
|
}, {}, {
|
|
2601
2601
|
length: 256;
|
|
2602
2602
|
}>;
|
|
2603
|
-
tenantId:
|
|
2603
|
+
tenantId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2604
2604
|
name: "tenant_id";
|
|
2605
2605
|
tableName: "task_relations";
|
|
2606
2606
|
dataType: "string";
|
|
@@ -2619,7 +2619,7 @@ declare const taskRelations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2619
2619
|
}, {}, {
|
|
2620
2620
|
length: 256;
|
|
2621
2621
|
}>;
|
|
2622
|
-
id:
|
|
2622
|
+
id: drizzle_orm_pg_core1907.PgColumn<{
|
|
2623
2623
|
name: "id";
|
|
2624
2624
|
tableName: "task_relations";
|
|
2625
2625
|
dataType: "string";
|
|
@@ -2641,11 +2641,11 @@ declare const taskRelations: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2641
2641
|
};
|
|
2642
2642
|
dialect: "pg";
|
|
2643
2643
|
}>;
|
|
2644
|
-
declare const ledgerArtifacts:
|
|
2644
|
+
declare const ledgerArtifacts: drizzle_orm_pg_core1907.PgTableWithColumns<{
|
|
2645
2645
|
name: "ledger_artifacts";
|
|
2646
2646
|
schema: undefined;
|
|
2647
2647
|
columns: {
|
|
2648
|
-
createdAt:
|
|
2648
|
+
createdAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
2649
2649
|
name: "created_at";
|
|
2650
2650
|
tableName: "ledger_artifacts";
|
|
2651
2651
|
dataType: "string";
|
|
@@ -2662,7 +2662,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2662
2662
|
identity: undefined;
|
|
2663
2663
|
generated: undefined;
|
|
2664
2664
|
}, {}, {}>;
|
|
2665
|
-
updatedAt:
|
|
2665
|
+
updatedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
2666
2666
|
name: "updated_at";
|
|
2667
2667
|
tableName: "ledger_artifacts";
|
|
2668
2668
|
dataType: "string";
|
|
@@ -2679,7 +2679,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2679
2679
|
identity: undefined;
|
|
2680
2680
|
generated: undefined;
|
|
2681
2681
|
}, {}, {}>;
|
|
2682
|
-
taskId:
|
|
2682
|
+
taskId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2683
2683
|
name: "task_id";
|
|
2684
2684
|
tableName: "ledger_artifacts";
|
|
2685
2685
|
dataType: "string";
|
|
@@ -2698,7 +2698,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2698
2698
|
}, {}, {
|
|
2699
2699
|
length: 256;
|
|
2700
2700
|
}>;
|
|
2701
|
-
toolCallId:
|
|
2701
|
+
toolCallId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2702
2702
|
name: "tool_call_id";
|
|
2703
2703
|
tableName: "ledger_artifacts";
|
|
2704
2704
|
dataType: "string";
|
|
@@ -2717,7 +2717,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2717
2717
|
}, {}, {
|
|
2718
2718
|
length: 256;
|
|
2719
2719
|
}>;
|
|
2720
|
-
contextId:
|
|
2720
|
+
contextId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2721
2721
|
name: "context_id";
|
|
2722
2722
|
tableName: "ledger_artifacts";
|
|
2723
2723
|
dataType: "string";
|
|
@@ -2736,7 +2736,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2736
2736
|
}, {}, {
|
|
2737
2737
|
length: 256;
|
|
2738
2738
|
}>;
|
|
2739
|
-
type:
|
|
2739
|
+
type: drizzle_orm_pg_core1907.PgColumn<{
|
|
2740
2740
|
name: "type";
|
|
2741
2741
|
tableName: "ledger_artifacts";
|
|
2742
2742
|
dataType: "string";
|
|
@@ -2755,7 +2755,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2755
2755
|
}, {}, {
|
|
2756
2756
|
length: 256;
|
|
2757
2757
|
}>;
|
|
2758
|
-
name:
|
|
2758
|
+
name: drizzle_orm_pg_core1907.PgColumn<{
|
|
2759
2759
|
name: "name";
|
|
2760
2760
|
tableName: "ledger_artifacts";
|
|
2761
2761
|
dataType: "string";
|
|
@@ -2774,7 +2774,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2774
2774
|
}, {}, {
|
|
2775
2775
|
length: 256;
|
|
2776
2776
|
}>;
|
|
2777
|
-
description:
|
|
2777
|
+
description: drizzle_orm_pg_core1907.PgColumn<{
|
|
2778
2778
|
name: "description";
|
|
2779
2779
|
tableName: "ledger_artifacts";
|
|
2780
2780
|
dataType: "string";
|
|
@@ -2791,7 +2791,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2791
2791
|
identity: undefined;
|
|
2792
2792
|
generated: undefined;
|
|
2793
2793
|
}, {}, {}>;
|
|
2794
|
-
parts:
|
|
2794
|
+
parts: drizzle_orm_pg_core1907.PgColumn<{
|
|
2795
2795
|
name: "parts";
|
|
2796
2796
|
tableName: "ledger_artifacts";
|
|
2797
2797
|
dataType: "json";
|
|
@@ -2810,7 +2810,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2810
2810
|
}, {}, {
|
|
2811
2811
|
$type: Part[] | null;
|
|
2812
2812
|
}>;
|
|
2813
|
-
metadata:
|
|
2813
|
+
metadata: drizzle_orm_pg_core1907.PgColumn<{
|
|
2814
2814
|
name: "metadata";
|
|
2815
2815
|
tableName: "ledger_artifacts";
|
|
2816
2816
|
dataType: "json";
|
|
@@ -2829,7 +2829,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2829
2829
|
}, {}, {
|
|
2830
2830
|
$type: Record<string, unknown> | null;
|
|
2831
2831
|
}>;
|
|
2832
|
-
summary:
|
|
2832
|
+
summary: drizzle_orm_pg_core1907.PgColumn<{
|
|
2833
2833
|
name: "summary";
|
|
2834
2834
|
tableName: "ledger_artifacts";
|
|
2835
2835
|
dataType: "string";
|
|
@@ -2846,7 +2846,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2846
2846
|
identity: undefined;
|
|
2847
2847
|
generated: undefined;
|
|
2848
2848
|
}, {}, {}>;
|
|
2849
|
-
mime:
|
|
2849
|
+
mime: drizzle_orm_pg_core1907.PgColumn<{
|
|
2850
2850
|
name: "mime";
|
|
2851
2851
|
tableName: "ledger_artifacts";
|
|
2852
2852
|
dataType: "json";
|
|
@@ -2865,7 +2865,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2865
2865
|
}, {}, {
|
|
2866
2866
|
$type: string[] | null;
|
|
2867
2867
|
}>;
|
|
2868
|
-
visibility:
|
|
2868
|
+
visibility: drizzle_orm_pg_core1907.PgColumn<{
|
|
2869
2869
|
name: "visibility";
|
|
2870
2870
|
tableName: "ledger_artifacts";
|
|
2871
2871
|
dataType: "string";
|
|
@@ -2884,7 +2884,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2884
2884
|
}, {}, {
|
|
2885
2885
|
length: 256;
|
|
2886
2886
|
}>;
|
|
2887
|
-
allowedAgents:
|
|
2887
|
+
allowedAgents: drizzle_orm_pg_core1907.PgColumn<{
|
|
2888
2888
|
name: "allowed_agents";
|
|
2889
2889
|
tableName: "ledger_artifacts";
|
|
2890
2890
|
dataType: "json";
|
|
@@ -2903,7 +2903,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2903
2903
|
}, {}, {
|
|
2904
2904
|
$type: string[] | null;
|
|
2905
2905
|
}>;
|
|
2906
|
-
derivedFrom:
|
|
2906
|
+
derivedFrom: drizzle_orm_pg_core1907.PgColumn<{
|
|
2907
2907
|
name: "derived_from";
|
|
2908
2908
|
tableName: "ledger_artifacts";
|
|
2909
2909
|
dataType: "string";
|
|
@@ -2922,7 +2922,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2922
2922
|
}, {}, {
|
|
2923
2923
|
length: 256;
|
|
2924
2924
|
}>;
|
|
2925
|
-
projectId:
|
|
2925
|
+
projectId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2926
2926
|
name: "project_id";
|
|
2927
2927
|
tableName: "ledger_artifacts";
|
|
2928
2928
|
dataType: "string";
|
|
@@ -2941,7 +2941,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2941
2941
|
}, {}, {
|
|
2942
2942
|
length: 256;
|
|
2943
2943
|
}>;
|
|
2944
|
-
tenantId:
|
|
2944
|
+
tenantId: drizzle_orm_pg_core1907.PgColumn<{
|
|
2945
2945
|
name: "tenant_id";
|
|
2946
2946
|
tableName: "ledger_artifacts";
|
|
2947
2947
|
dataType: "string";
|
|
@@ -2960,7 +2960,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2960
2960
|
}, {}, {
|
|
2961
2961
|
length: 256;
|
|
2962
2962
|
}>;
|
|
2963
|
-
id:
|
|
2963
|
+
id: drizzle_orm_pg_core1907.PgColumn<{
|
|
2964
2964
|
name: "id";
|
|
2965
2965
|
tableName: "ledger_artifacts";
|
|
2966
2966
|
dataType: "string";
|
|
@@ -2982,11 +2982,11 @@ declare const ledgerArtifacts: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
2982
2982
|
};
|
|
2983
2983
|
dialect: "pg";
|
|
2984
2984
|
}>;
|
|
2985
|
-
declare const contextCache:
|
|
2985
|
+
declare const contextCache: drizzle_orm_pg_core1907.PgTableWithColumns<{
|
|
2986
2986
|
name: "context_cache";
|
|
2987
2987
|
schema: undefined;
|
|
2988
2988
|
columns: {
|
|
2989
|
-
createdAt:
|
|
2989
|
+
createdAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
2990
2990
|
name: "created_at";
|
|
2991
2991
|
tableName: "context_cache";
|
|
2992
2992
|
dataType: "string";
|
|
@@ -3003,7 +3003,7 @@ declare const contextCache: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3003
3003
|
identity: undefined;
|
|
3004
3004
|
generated: undefined;
|
|
3005
3005
|
}, {}, {}>;
|
|
3006
|
-
updatedAt:
|
|
3006
|
+
updatedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
3007
3007
|
name: "updated_at";
|
|
3008
3008
|
tableName: "context_cache";
|
|
3009
3009
|
dataType: "string";
|
|
@@ -3020,7 +3020,7 @@ declare const contextCache: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3020
3020
|
identity: undefined;
|
|
3021
3021
|
generated: undefined;
|
|
3022
3022
|
}, {}, {}>;
|
|
3023
|
-
conversationId:
|
|
3023
|
+
conversationId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3024
3024
|
name: "conversation_id";
|
|
3025
3025
|
tableName: "context_cache";
|
|
3026
3026
|
dataType: "string";
|
|
@@ -3039,7 +3039,7 @@ declare const contextCache: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3039
3039
|
}, {}, {
|
|
3040
3040
|
length: 256;
|
|
3041
3041
|
}>;
|
|
3042
|
-
contextConfigId:
|
|
3042
|
+
contextConfigId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3043
3043
|
name: "context_config_id";
|
|
3044
3044
|
tableName: "context_cache";
|
|
3045
3045
|
dataType: "string";
|
|
@@ -3058,7 +3058,7 @@ declare const contextCache: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3058
3058
|
}, {}, {
|
|
3059
3059
|
length: 256;
|
|
3060
3060
|
}>;
|
|
3061
|
-
contextVariableKey:
|
|
3061
|
+
contextVariableKey: drizzle_orm_pg_core1907.PgColumn<{
|
|
3062
3062
|
name: "context_variable_key";
|
|
3063
3063
|
tableName: "context_cache";
|
|
3064
3064
|
dataType: "string";
|
|
@@ -3077,7 +3077,7 @@ declare const contextCache: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3077
3077
|
}, {}, {
|
|
3078
3078
|
length: 256;
|
|
3079
3079
|
}>;
|
|
3080
|
-
ref:
|
|
3080
|
+
ref: drizzle_orm_pg_core1907.PgColumn<{
|
|
3081
3081
|
name: "ref";
|
|
3082
3082
|
tableName: "context_cache";
|
|
3083
3083
|
dataType: "json";
|
|
@@ -3104,7 +3104,7 @@ declare const contextCache: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3104
3104
|
hash: string;
|
|
3105
3105
|
};
|
|
3106
3106
|
}>;
|
|
3107
|
-
value:
|
|
3107
|
+
value: drizzle_orm_pg_core1907.PgColumn<{
|
|
3108
3108
|
name: "value";
|
|
3109
3109
|
tableName: "context_cache";
|
|
3110
3110
|
dataType: "json";
|
|
@@ -3123,7 +3123,7 @@ declare const contextCache: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3123
3123
|
}, {}, {
|
|
3124
3124
|
$type: unknown;
|
|
3125
3125
|
}>;
|
|
3126
|
-
requestHash:
|
|
3126
|
+
requestHash: drizzle_orm_pg_core1907.PgColumn<{
|
|
3127
3127
|
name: "request_hash";
|
|
3128
3128
|
tableName: "context_cache";
|
|
3129
3129
|
dataType: "string";
|
|
@@ -3142,7 +3142,7 @@ declare const contextCache: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3142
3142
|
}, {}, {
|
|
3143
3143
|
length: 256;
|
|
3144
3144
|
}>;
|
|
3145
|
-
fetchedAt:
|
|
3145
|
+
fetchedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
3146
3146
|
name: "fetched_at";
|
|
3147
3147
|
tableName: "context_cache";
|
|
3148
3148
|
dataType: "string";
|
|
@@ -3159,7 +3159,7 @@ declare const contextCache: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3159
3159
|
identity: undefined;
|
|
3160
3160
|
generated: undefined;
|
|
3161
3161
|
}, {}, {}>;
|
|
3162
|
-
fetchSource:
|
|
3162
|
+
fetchSource: drizzle_orm_pg_core1907.PgColumn<{
|
|
3163
3163
|
name: "fetch_source";
|
|
3164
3164
|
tableName: "context_cache";
|
|
3165
3165
|
dataType: "string";
|
|
@@ -3178,7 +3178,7 @@ declare const contextCache: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3178
3178
|
}, {}, {
|
|
3179
3179
|
length: 256;
|
|
3180
3180
|
}>;
|
|
3181
|
-
projectId:
|
|
3181
|
+
projectId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3182
3182
|
name: "project_id";
|
|
3183
3183
|
tableName: "context_cache";
|
|
3184
3184
|
dataType: "string";
|
|
@@ -3197,7 +3197,7 @@ declare const contextCache: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3197
3197
|
}, {}, {
|
|
3198
3198
|
length: 256;
|
|
3199
3199
|
}>;
|
|
3200
|
-
tenantId:
|
|
3200
|
+
tenantId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3201
3201
|
name: "tenant_id";
|
|
3202
3202
|
tableName: "context_cache";
|
|
3203
3203
|
dataType: "string";
|
|
@@ -3216,7 +3216,7 @@ declare const contextCache: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3216
3216
|
}, {}, {
|
|
3217
3217
|
length: 256;
|
|
3218
3218
|
}>;
|
|
3219
|
-
id:
|
|
3219
|
+
id: drizzle_orm_pg_core1907.PgColumn<{
|
|
3220
3220
|
name: "id";
|
|
3221
3221
|
tableName: "context_cache";
|
|
3222
3222
|
dataType: "string";
|
|
@@ -3251,11 +3251,11 @@ declare const contextCache: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3251
3251
|
* datasetRunConfigId (optional: if created from a config),
|
|
3252
3252
|
* evaluationJobConfigId (optional: links to evaluation job created for this run), and timestamps
|
|
3253
3253
|
*/
|
|
3254
|
-
declare const datasetRun:
|
|
3254
|
+
declare const datasetRun: drizzle_orm_pg_core1907.PgTableWithColumns<{
|
|
3255
3255
|
name: "dataset_run";
|
|
3256
3256
|
schema: undefined;
|
|
3257
3257
|
columns: {
|
|
3258
|
-
createdAt:
|
|
3258
|
+
createdAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
3259
3259
|
name: "created_at";
|
|
3260
3260
|
tableName: "dataset_run";
|
|
3261
3261
|
dataType: "string";
|
|
@@ -3272,7 +3272,7 @@ declare const datasetRun: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3272
3272
|
identity: undefined;
|
|
3273
3273
|
generated: undefined;
|
|
3274
3274
|
}, {}, {}>;
|
|
3275
|
-
updatedAt:
|
|
3275
|
+
updatedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
3276
3276
|
name: "updated_at";
|
|
3277
3277
|
tableName: "dataset_run";
|
|
3278
3278
|
dataType: "string";
|
|
@@ -3289,7 +3289,7 @@ declare const datasetRun: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3289
3289
|
identity: undefined;
|
|
3290
3290
|
generated: undefined;
|
|
3291
3291
|
}, {}, {}>;
|
|
3292
|
-
datasetId:
|
|
3292
|
+
datasetId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3293
3293
|
name: "dataset_id";
|
|
3294
3294
|
tableName: "dataset_run";
|
|
3295
3295
|
dataType: "string";
|
|
@@ -3306,7 +3306,7 @@ declare const datasetRun: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3306
3306
|
identity: undefined;
|
|
3307
3307
|
generated: undefined;
|
|
3308
3308
|
}, {}, {}>;
|
|
3309
|
-
datasetRunConfigId:
|
|
3309
|
+
datasetRunConfigId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3310
3310
|
name: "dataset_run_config_id";
|
|
3311
3311
|
tableName: "dataset_run";
|
|
3312
3312
|
dataType: "string";
|
|
@@ -3323,7 +3323,7 @@ declare const datasetRun: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3323
3323
|
identity: undefined;
|
|
3324
3324
|
generated: undefined;
|
|
3325
3325
|
}, {}, {}>;
|
|
3326
|
-
evaluationJobConfigId:
|
|
3326
|
+
evaluationJobConfigId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3327
3327
|
name: "evaluation_job_config_id";
|
|
3328
3328
|
tableName: "dataset_run";
|
|
3329
3329
|
dataType: "string";
|
|
@@ -3340,7 +3340,7 @@ declare const datasetRun: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3340
3340
|
identity: undefined;
|
|
3341
3341
|
generated: undefined;
|
|
3342
3342
|
}, {}, {}>;
|
|
3343
|
-
projectId:
|
|
3343
|
+
projectId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3344
3344
|
name: "project_id";
|
|
3345
3345
|
tableName: "dataset_run";
|
|
3346
3346
|
dataType: "string";
|
|
@@ -3359,7 +3359,7 @@ declare const datasetRun: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3359
3359
|
}, {}, {
|
|
3360
3360
|
length: 256;
|
|
3361
3361
|
}>;
|
|
3362
|
-
tenantId:
|
|
3362
|
+
tenantId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3363
3363
|
name: "tenant_id";
|
|
3364
3364
|
tableName: "dataset_run";
|
|
3365
3365
|
dataType: "string";
|
|
@@ -3378,7 +3378,7 @@ declare const datasetRun: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3378
3378
|
}, {}, {
|
|
3379
3379
|
length: 256;
|
|
3380
3380
|
}>;
|
|
3381
|
-
id:
|
|
3381
|
+
id: drizzle_orm_pg_core1907.PgColumn<{
|
|
3382
3382
|
name: "id";
|
|
3383
3383
|
tableName: "dataset_run";
|
|
3384
3384
|
dataType: "string";
|
|
@@ -3411,11 +3411,11 @@ declare const datasetRun: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3411
3411
|
* unique constraint on (datasetRunId, conversationId) ensures one conversation per datasetRun,
|
|
3412
3412
|
* and timestamps
|
|
3413
3413
|
*/
|
|
3414
|
-
declare const datasetRunConversationRelations:
|
|
3414
|
+
declare const datasetRunConversationRelations: drizzle_orm_pg_core1907.PgTableWithColumns<{
|
|
3415
3415
|
name: "dataset_run_conversation_relations";
|
|
3416
3416
|
schema: undefined;
|
|
3417
3417
|
columns: {
|
|
3418
|
-
createdAt:
|
|
3418
|
+
createdAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
3419
3419
|
name: "created_at";
|
|
3420
3420
|
tableName: "dataset_run_conversation_relations";
|
|
3421
3421
|
dataType: "string";
|
|
@@ -3432,7 +3432,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core355.PgTableWit
|
|
|
3432
3432
|
identity: undefined;
|
|
3433
3433
|
generated: undefined;
|
|
3434
3434
|
}, {}, {}>;
|
|
3435
|
-
updatedAt:
|
|
3435
|
+
updatedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
3436
3436
|
name: "updated_at";
|
|
3437
3437
|
tableName: "dataset_run_conversation_relations";
|
|
3438
3438
|
dataType: "string";
|
|
@@ -3449,7 +3449,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core355.PgTableWit
|
|
|
3449
3449
|
identity: undefined;
|
|
3450
3450
|
generated: undefined;
|
|
3451
3451
|
}, {}, {}>;
|
|
3452
|
-
datasetRunId:
|
|
3452
|
+
datasetRunId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3453
3453
|
name: "dataset_run_id";
|
|
3454
3454
|
tableName: "dataset_run_conversation_relations";
|
|
3455
3455
|
dataType: "string";
|
|
@@ -3466,7 +3466,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core355.PgTableWit
|
|
|
3466
3466
|
identity: undefined;
|
|
3467
3467
|
generated: undefined;
|
|
3468
3468
|
}, {}, {}>;
|
|
3469
|
-
conversationId:
|
|
3469
|
+
conversationId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3470
3470
|
name: "conversation_id";
|
|
3471
3471
|
tableName: "dataset_run_conversation_relations";
|
|
3472
3472
|
dataType: "string";
|
|
@@ -3483,7 +3483,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core355.PgTableWit
|
|
|
3483
3483
|
identity: undefined;
|
|
3484
3484
|
generated: undefined;
|
|
3485
3485
|
}, {}, {}>;
|
|
3486
|
-
datasetItemId:
|
|
3486
|
+
datasetItemId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3487
3487
|
name: "dataset_item_id";
|
|
3488
3488
|
tableName: "dataset_run_conversation_relations";
|
|
3489
3489
|
dataType: "string";
|
|
@@ -3500,7 +3500,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core355.PgTableWit
|
|
|
3500
3500
|
identity: undefined;
|
|
3501
3501
|
generated: undefined;
|
|
3502
3502
|
}, {}, {}>;
|
|
3503
|
-
projectId:
|
|
3503
|
+
projectId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3504
3504
|
name: "project_id";
|
|
3505
3505
|
tableName: "dataset_run_conversation_relations";
|
|
3506
3506
|
dataType: "string";
|
|
@@ -3519,7 +3519,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core355.PgTableWit
|
|
|
3519
3519
|
}, {}, {
|
|
3520
3520
|
length: 256;
|
|
3521
3521
|
}>;
|
|
3522
|
-
tenantId:
|
|
3522
|
+
tenantId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3523
3523
|
name: "tenant_id";
|
|
3524
3524
|
tableName: "dataset_run_conversation_relations";
|
|
3525
3525
|
dataType: "string";
|
|
@@ -3538,7 +3538,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core355.PgTableWit
|
|
|
3538
3538
|
}, {}, {
|
|
3539
3539
|
length: 256;
|
|
3540
3540
|
}>;
|
|
3541
|
-
id:
|
|
3541
|
+
id: drizzle_orm_pg_core1907.PgColumn<{
|
|
3542
3542
|
name: "id";
|
|
3543
3543
|
tableName: "dataset_run_conversation_relations";
|
|
3544
3544
|
dataType: "string";
|
|
@@ -3571,11 +3571,11 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core355.PgTableWit
|
|
|
3571
3571
|
* evaluationRunConfigId (optional: if created from a run config),
|
|
3572
3572
|
* and timestamps
|
|
3573
3573
|
*/
|
|
3574
|
-
declare const evaluationRun:
|
|
3574
|
+
declare const evaluationRun: drizzle_orm_pg_core1907.PgTableWithColumns<{
|
|
3575
3575
|
name: "evaluation_run";
|
|
3576
3576
|
schema: undefined;
|
|
3577
3577
|
columns: {
|
|
3578
|
-
createdAt:
|
|
3578
|
+
createdAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
3579
3579
|
name: "created_at";
|
|
3580
3580
|
tableName: "evaluation_run";
|
|
3581
3581
|
dataType: "string";
|
|
@@ -3592,7 +3592,7 @@ declare const evaluationRun: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3592
3592
|
identity: undefined;
|
|
3593
3593
|
generated: undefined;
|
|
3594
3594
|
}, {}, {}>;
|
|
3595
|
-
updatedAt:
|
|
3595
|
+
updatedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
3596
3596
|
name: "updated_at";
|
|
3597
3597
|
tableName: "evaluation_run";
|
|
3598
3598
|
dataType: "string";
|
|
@@ -3609,7 +3609,7 @@ declare const evaluationRun: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3609
3609
|
identity: undefined;
|
|
3610
3610
|
generated: undefined;
|
|
3611
3611
|
}, {}, {}>;
|
|
3612
|
-
evaluationJobConfigId:
|
|
3612
|
+
evaluationJobConfigId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3613
3613
|
name: "evaluation_job_config_id";
|
|
3614
3614
|
tableName: "evaluation_run";
|
|
3615
3615
|
dataType: "string";
|
|
@@ -3626,7 +3626,7 @@ declare const evaluationRun: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3626
3626
|
identity: undefined;
|
|
3627
3627
|
generated: undefined;
|
|
3628
3628
|
}, {}, {}>;
|
|
3629
|
-
evaluationRunConfigId:
|
|
3629
|
+
evaluationRunConfigId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3630
3630
|
name: "evaluation_run_config_id";
|
|
3631
3631
|
tableName: "evaluation_run";
|
|
3632
3632
|
dataType: "string";
|
|
@@ -3643,7 +3643,7 @@ declare const evaluationRun: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3643
3643
|
identity: undefined;
|
|
3644
3644
|
generated: undefined;
|
|
3645
3645
|
}, {}, {}>;
|
|
3646
|
-
projectId:
|
|
3646
|
+
projectId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3647
3647
|
name: "project_id";
|
|
3648
3648
|
tableName: "evaluation_run";
|
|
3649
3649
|
dataType: "string";
|
|
@@ -3662,7 +3662,7 @@ declare const evaluationRun: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3662
3662
|
}, {}, {
|
|
3663
3663
|
length: 256;
|
|
3664
3664
|
}>;
|
|
3665
|
-
tenantId:
|
|
3665
|
+
tenantId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3666
3666
|
name: "tenant_id";
|
|
3667
3667
|
tableName: "evaluation_run";
|
|
3668
3668
|
dataType: "string";
|
|
@@ -3681,7 +3681,7 @@ declare const evaluationRun: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3681
3681
|
}, {}, {
|
|
3682
3682
|
length: 256;
|
|
3683
3683
|
}>;
|
|
3684
|
-
id:
|
|
3684
|
+
id: drizzle_orm_pg_core1907.PgColumn<{
|
|
3685
3685
|
name: "id";
|
|
3686
3686
|
tableName: "evaluation_run";
|
|
3687
3687
|
dataType: "string";
|
|
@@ -3712,11 +3712,11 @@ declare const evaluationRun: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3712
3712
|
* evaluationRunId (optional, links to evaluationRun),
|
|
3713
3713
|
* output (evaluation result as MessageContent), and timestamps
|
|
3714
3714
|
*/
|
|
3715
|
-
declare const evaluationResult:
|
|
3715
|
+
declare const evaluationResult: drizzle_orm_pg_core1907.PgTableWithColumns<{
|
|
3716
3716
|
name: "evaluation_result";
|
|
3717
3717
|
schema: undefined;
|
|
3718
3718
|
columns: {
|
|
3719
|
-
createdAt:
|
|
3719
|
+
createdAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
3720
3720
|
name: "created_at";
|
|
3721
3721
|
tableName: "evaluation_result";
|
|
3722
3722
|
dataType: "string";
|
|
@@ -3733,7 +3733,7 @@ declare const evaluationResult: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3733
3733
|
identity: undefined;
|
|
3734
3734
|
generated: undefined;
|
|
3735
3735
|
}, {}, {}>;
|
|
3736
|
-
updatedAt:
|
|
3736
|
+
updatedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
3737
3737
|
name: "updated_at";
|
|
3738
3738
|
tableName: "evaluation_result";
|
|
3739
3739
|
dataType: "string";
|
|
@@ -3750,7 +3750,7 @@ declare const evaluationResult: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3750
3750
|
identity: undefined;
|
|
3751
3751
|
generated: undefined;
|
|
3752
3752
|
}, {}, {}>;
|
|
3753
|
-
conversationId:
|
|
3753
|
+
conversationId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3754
3754
|
name: "conversation_id";
|
|
3755
3755
|
tableName: "evaluation_result";
|
|
3756
3756
|
dataType: "string";
|
|
@@ -3767,7 +3767,7 @@ declare const evaluationResult: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3767
3767
|
identity: undefined;
|
|
3768
3768
|
generated: undefined;
|
|
3769
3769
|
}, {}, {}>;
|
|
3770
|
-
evaluatorId:
|
|
3770
|
+
evaluatorId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3771
3771
|
name: "evaluator_id";
|
|
3772
3772
|
tableName: "evaluation_result";
|
|
3773
3773
|
dataType: "string";
|
|
@@ -3784,7 +3784,7 @@ declare const evaluationResult: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3784
3784
|
identity: undefined;
|
|
3785
3785
|
generated: undefined;
|
|
3786
3786
|
}, {}, {}>;
|
|
3787
|
-
evaluationRunId:
|
|
3787
|
+
evaluationRunId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3788
3788
|
name: "evaluation_run_id";
|
|
3789
3789
|
tableName: "evaluation_result";
|
|
3790
3790
|
dataType: "string";
|
|
@@ -3801,7 +3801,7 @@ declare const evaluationResult: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3801
3801
|
identity: undefined;
|
|
3802
3802
|
generated: undefined;
|
|
3803
3803
|
}, {}, {}>;
|
|
3804
|
-
output:
|
|
3804
|
+
output: drizzle_orm_pg_core1907.PgColumn<{
|
|
3805
3805
|
name: "output";
|
|
3806
3806
|
tableName: "evaluation_result";
|
|
3807
3807
|
dataType: "json";
|
|
@@ -3820,7 +3820,7 @@ declare const evaluationResult: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3820
3820
|
}, {}, {
|
|
3821
3821
|
$type: MessageContent;
|
|
3822
3822
|
}>;
|
|
3823
|
-
projectId:
|
|
3823
|
+
projectId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3824
3824
|
name: "project_id";
|
|
3825
3825
|
tableName: "evaluation_result";
|
|
3826
3826
|
dataType: "string";
|
|
@@ -3839,7 +3839,7 @@ declare const evaluationResult: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3839
3839
|
}, {}, {
|
|
3840
3840
|
length: 256;
|
|
3841
3841
|
}>;
|
|
3842
|
-
tenantId:
|
|
3842
|
+
tenantId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3843
3843
|
name: "tenant_id";
|
|
3844
3844
|
tableName: "evaluation_result";
|
|
3845
3845
|
dataType: "string";
|
|
@@ -3858,7 +3858,7 @@ declare const evaluationResult: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3858
3858
|
}, {}, {
|
|
3859
3859
|
length: 256;
|
|
3860
3860
|
}>;
|
|
3861
|
-
id:
|
|
3861
|
+
id: drizzle_orm_pg_core1907.PgColumn<{
|
|
3862
3862
|
name: "id";
|
|
3863
3863
|
tableName: "evaluation_result";
|
|
3864
3864
|
dataType: "string";
|
|
@@ -3880,38 +3880,38 @@ declare const evaluationResult: drizzle_orm_pg_core355.PgTableWithColumns<{
|
|
|
3880
3880
|
};
|
|
3881
3881
|
dialect: "pg";
|
|
3882
3882
|
}>;
|
|
3883
|
-
declare const conversationsRelations:
|
|
3884
|
-
messages:
|
|
3883
|
+
declare const conversationsRelations: drizzle_orm111.Relations<"conversations", {
|
|
3884
|
+
messages: drizzle_orm111.Many<"messages">;
|
|
3885
3885
|
}>;
|
|
3886
|
-
declare const messagesRelations:
|
|
3887
|
-
conversation:
|
|
3888
|
-
task:
|
|
3889
|
-
parentMessage:
|
|
3890
|
-
childMessages:
|
|
3886
|
+
declare const messagesRelations: drizzle_orm111.Relations<"messages", {
|
|
3887
|
+
conversation: drizzle_orm111.One<"conversations", true>;
|
|
3888
|
+
task: drizzle_orm111.One<"tasks", false>;
|
|
3889
|
+
parentMessage: drizzle_orm111.One<"messages", false>;
|
|
3890
|
+
childMessages: drizzle_orm111.Many<"messages">;
|
|
3891
3891
|
}>;
|
|
3892
|
-
declare const tasksRelations:
|
|
3893
|
-
messages:
|
|
3894
|
-
ledgerArtifacts:
|
|
3895
|
-
parentRelations:
|
|
3896
|
-
childRelations:
|
|
3892
|
+
declare const tasksRelations: drizzle_orm111.Relations<"tasks", {
|
|
3893
|
+
messages: drizzle_orm111.Many<"messages">;
|
|
3894
|
+
ledgerArtifacts: drizzle_orm111.Many<"ledger_artifacts">;
|
|
3895
|
+
parentRelations: drizzle_orm111.Many<"task_relations">;
|
|
3896
|
+
childRelations: drizzle_orm111.Many<"task_relations">;
|
|
3897
3897
|
}>;
|
|
3898
|
-
declare const taskRelationsRelations:
|
|
3899
|
-
parentTask:
|
|
3900
|
-
childTask:
|
|
3898
|
+
declare const taskRelationsRelations: drizzle_orm111.Relations<"task_relations", {
|
|
3899
|
+
parentTask: drizzle_orm111.One<"tasks", true>;
|
|
3900
|
+
childTask: drizzle_orm111.One<"tasks", true>;
|
|
3901
3901
|
}>;
|
|
3902
|
-
declare const ledgerArtifactsRelations:
|
|
3903
|
-
task:
|
|
3902
|
+
declare const ledgerArtifactsRelations: drizzle_orm111.Relations<"ledger_artifacts", {
|
|
3903
|
+
task: drizzle_orm111.One<"tasks", true>;
|
|
3904
3904
|
}>;
|
|
3905
3905
|
/**
|
|
3906
3906
|
* Tracks GitHub App installations linked to tenants.
|
|
3907
3907
|
* One tenant can have multiple installations (e.g., multiple orgs).
|
|
3908
3908
|
* The installation_id is the GitHub-assigned ID, unique across all GitHub.
|
|
3909
3909
|
*/
|
|
3910
|
-
declare const workAppGitHubInstallations:
|
|
3910
|
+
declare const workAppGitHubInstallations: drizzle_orm_pg_core1907.PgTableWithColumns<{
|
|
3911
3911
|
name: "work_app_github_installations";
|
|
3912
3912
|
schema: undefined;
|
|
3913
3913
|
columns: {
|
|
3914
|
-
createdAt:
|
|
3914
|
+
createdAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
3915
3915
|
name: "created_at";
|
|
3916
3916
|
tableName: "work_app_github_installations";
|
|
3917
3917
|
dataType: "string";
|
|
@@ -3928,7 +3928,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core355.PgTableWithColu
|
|
|
3928
3928
|
identity: undefined;
|
|
3929
3929
|
generated: undefined;
|
|
3930
3930
|
}, {}, {}>;
|
|
3931
|
-
updatedAt:
|
|
3931
|
+
updatedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
3932
3932
|
name: "updated_at";
|
|
3933
3933
|
tableName: "work_app_github_installations";
|
|
3934
3934
|
dataType: "string";
|
|
@@ -3945,7 +3945,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core355.PgTableWithColu
|
|
|
3945
3945
|
identity: undefined;
|
|
3946
3946
|
generated: undefined;
|
|
3947
3947
|
}, {}, {}>;
|
|
3948
|
-
installationId:
|
|
3948
|
+
installationId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3949
3949
|
name: "installation_id";
|
|
3950
3950
|
tableName: "work_app_github_installations";
|
|
3951
3951
|
dataType: "string";
|
|
@@ -3962,7 +3962,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core355.PgTableWithColu
|
|
|
3962
3962
|
identity: undefined;
|
|
3963
3963
|
generated: undefined;
|
|
3964
3964
|
}, {}, {}>;
|
|
3965
|
-
accountLogin:
|
|
3965
|
+
accountLogin: drizzle_orm_pg_core1907.PgColumn<{
|
|
3966
3966
|
name: "account_login";
|
|
3967
3967
|
tableName: "work_app_github_installations";
|
|
3968
3968
|
dataType: "string";
|
|
@@ -3981,7 +3981,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core355.PgTableWithColu
|
|
|
3981
3981
|
}, {}, {
|
|
3982
3982
|
length: 256;
|
|
3983
3983
|
}>;
|
|
3984
|
-
accountId:
|
|
3984
|
+
accountId: drizzle_orm_pg_core1907.PgColumn<{
|
|
3985
3985
|
name: "account_id";
|
|
3986
3986
|
tableName: "work_app_github_installations";
|
|
3987
3987
|
dataType: "string";
|
|
@@ -3998,12 +3998,12 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core355.PgTableWithColu
|
|
|
3998
3998
|
identity: undefined;
|
|
3999
3999
|
generated: undefined;
|
|
4000
4000
|
}, {}, {}>;
|
|
4001
|
-
accountType:
|
|
4001
|
+
accountType: drizzle_orm_pg_core1907.PgColumn<{
|
|
4002
4002
|
name: "account_type";
|
|
4003
4003
|
tableName: "work_app_github_installations";
|
|
4004
4004
|
dataType: "string";
|
|
4005
4005
|
columnType: "PgVarchar";
|
|
4006
|
-
data: "
|
|
4006
|
+
data: "User" | "Organization";
|
|
4007
4007
|
driverParam: string;
|
|
4008
4008
|
notNull: true;
|
|
4009
4009
|
hasDefault: false;
|
|
@@ -4016,9 +4016,9 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core355.PgTableWithColu
|
|
|
4016
4016
|
generated: undefined;
|
|
4017
4017
|
}, {}, {
|
|
4018
4018
|
length: 20;
|
|
4019
|
-
$type: "
|
|
4019
|
+
$type: "User" | "Organization";
|
|
4020
4020
|
}>;
|
|
4021
|
-
status:
|
|
4021
|
+
status: drizzle_orm_pg_core1907.PgColumn<{
|
|
4022
4022
|
name: "status";
|
|
4023
4023
|
tableName: "work_app_github_installations";
|
|
4024
4024
|
dataType: "string";
|
|
@@ -4038,7 +4038,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core355.PgTableWithColu
|
|
|
4038
4038
|
length: 20;
|
|
4039
4039
|
$type: "pending" | "active" | "suspended" | "disconnected";
|
|
4040
4040
|
}>;
|
|
4041
|
-
tenantId:
|
|
4041
|
+
tenantId: drizzle_orm_pg_core1907.PgColumn<{
|
|
4042
4042
|
name: "tenant_id";
|
|
4043
4043
|
tableName: "work_app_github_installations";
|
|
4044
4044
|
dataType: "string";
|
|
@@ -4057,7 +4057,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core355.PgTableWithColu
|
|
|
4057
4057
|
}, {}, {
|
|
4058
4058
|
length: 256;
|
|
4059
4059
|
}>;
|
|
4060
|
-
id:
|
|
4060
|
+
id: drizzle_orm_pg_core1907.PgColumn<{
|
|
4061
4061
|
name: "id";
|
|
4062
4062
|
tableName: "work_app_github_installations";
|
|
4063
4063
|
dataType: "string";
|
|
@@ -4084,11 +4084,11 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core355.PgTableWithColu
|
|
|
4084
4084
|
* These are synced from GitHub when the app is installed or updated.
|
|
4085
4085
|
* The repository_id is the GitHub-assigned ID, unique across all GitHub.
|
|
4086
4086
|
*/
|
|
4087
|
-
declare const workAppGitHubRepositories:
|
|
4087
|
+
declare const workAppGitHubRepositories: drizzle_orm_pg_core1907.PgTableWithColumns<{
|
|
4088
4088
|
name: "work_app_github_repositories";
|
|
4089
4089
|
schema: undefined;
|
|
4090
4090
|
columns: {
|
|
4091
|
-
createdAt:
|
|
4091
|
+
createdAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
4092
4092
|
name: "created_at";
|
|
4093
4093
|
tableName: "work_app_github_repositories";
|
|
4094
4094
|
dataType: "string";
|
|
@@ -4105,7 +4105,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core355.PgTableWithColum
|
|
|
4105
4105
|
identity: undefined;
|
|
4106
4106
|
generated: undefined;
|
|
4107
4107
|
}, {}, {}>;
|
|
4108
|
-
updatedAt:
|
|
4108
|
+
updatedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
4109
4109
|
name: "updated_at";
|
|
4110
4110
|
tableName: "work_app_github_repositories";
|
|
4111
4111
|
dataType: "string";
|
|
@@ -4122,7 +4122,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core355.PgTableWithColum
|
|
|
4122
4122
|
identity: undefined;
|
|
4123
4123
|
generated: undefined;
|
|
4124
4124
|
}, {}, {}>;
|
|
4125
|
-
id:
|
|
4125
|
+
id: drizzle_orm_pg_core1907.PgColumn<{
|
|
4126
4126
|
name: "id";
|
|
4127
4127
|
tableName: "work_app_github_repositories";
|
|
4128
4128
|
dataType: "string";
|
|
@@ -4141,7 +4141,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core355.PgTableWithColum
|
|
|
4141
4141
|
}, {}, {
|
|
4142
4142
|
length: 256;
|
|
4143
4143
|
}>;
|
|
4144
|
-
installationDbId:
|
|
4144
|
+
installationDbId: drizzle_orm_pg_core1907.PgColumn<{
|
|
4145
4145
|
name: "installation_db_id";
|
|
4146
4146
|
tableName: "work_app_github_repositories";
|
|
4147
4147
|
dataType: "string";
|
|
@@ -4160,7 +4160,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core355.PgTableWithColum
|
|
|
4160
4160
|
}, {}, {
|
|
4161
4161
|
length: 256;
|
|
4162
4162
|
}>;
|
|
4163
|
-
repositoryId:
|
|
4163
|
+
repositoryId: drizzle_orm_pg_core1907.PgColumn<{
|
|
4164
4164
|
name: "repository_id";
|
|
4165
4165
|
tableName: "work_app_github_repositories";
|
|
4166
4166
|
dataType: "string";
|
|
@@ -4177,7 +4177,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core355.PgTableWithColum
|
|
|
4177
4177
|
identity: undefined;
|
|
4178
4178
|
generated: undefined;
|
|
4179
4179
|
}, {}, {}>;
|
|
4180
|
-
repositoryName:
|
|
4180
|
+
repositoryName: drizzle_orm_pg_core1907.PgColumn<{
|
|
4181
4181
|
name: "repository_name";
|
|
4182
4182
|
tableName: "work_app_github_repositories";
|
|
4183
4183
|
dataType: "string";
|
|
@@ -4196,7 +4196,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core355.PgTableWithColum
|
|
|
4196
4196
|
}, {}, {
|
|
4197
4197
|
length: 256;
|
|
4198
4198
|
}>;
|
|
4199
|
-
repositoryFullName:
|
|
4199
|
+
repositoryFullName: drizzle_orm_pg_core1907.PgColumn<{
|
|
4200
4200
|
name: "repository_full_name";
|
|
4201
4201
|
tableName: "work_app_github_repositories";
|
|
4202
4202
|
dataType: "string";
|
|
@@ -4215,7 +4215,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core355.PgTableWithColum
|
|
|
4215
4215
|
}, {}, {
|
|
4216
4216
|
length: 512;
|
|
4217
4217
|
}>;
|
|
4218
|
-
private:
|
|
4218
|
+
private: drizzle_orm_pg_core1907.PgColumn<{
|
|
4219
4219
|
name: "private";
|
|
4220
4220
|
tableName: "work_app_github_repositories";
|
|
4221
4221
|
dataType: "boolean";
|
|
@@ -4243,11 +4243,11 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core355.PgTableWithColum
|
|
|
4243
4243
|
* (cross-schema, no FK constraint for project). tenant_id is included because
|
|
4244
4244
|
* project IDs are only unique within a tenant.
|
|
4245
4245
|
*/
|
|
4246
|
-
declare const workAppGitHubProjectRepositoryAccess:
|
|
4246
|
+
declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1907.PgTableWithColumns<{
|
|
4247
4247
|
name: "work_app_github_project_repository_access";
|
|
4248
4248
|
schema: undefined;
|
|
4249
4249
|
columns: {
|
|
4250
|
-
createdAt:
|
|
4250
|
+
createdAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
4251
4251
|
name: "created_at";
|
|
4252
4252
|
tableName: "work_app_github_project_repository_access";
|
|
4253
4253
|
dataType: "string";
|
|
@@ -4264,7 +4264,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core355.PgTab
|
|
|
4264
4264
|
identity: undefined;
|
|
4265
4265
|
generated: undefined;
|
|
4266
4266
|
}, {}, {}>;
|
|
4267
|
-
updatedAt:
|
|
4267
|
+
updatedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
4268
4268
|
name: "updated_at";
|
|
4269
4269
|
tableName: "work_app_github_project_repository_access";
|
|
4270
4270
|
dataType: "string";
|
|
@@ -4281,7 +4281,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core355.PgTab
|
|
|
4281
4281
|
identity: undefined;
|
|
4282
4282
|
generated: undefined;
|
|
4283
4283
|
}, {}, {}>;
|
|
4284
|
-
repositoryDbId:
|
|
4284
|
+
repositoryDbId: drizzle_orm_pg_core1907.PgColumn<{
|
|
4285
4285
|
name: "repository_db_id";
|
|
4286
4286
|
tableName: "work_app_github_project_repository_access";
|
|
4287
4287
|
dataType: "string";
|
|
@@ -4300,7 +4300,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core355.PgTab
|
|
|
4300
4300
|
}, {}, {
|
|
4301
4301
|
length: 256;
|
|
4302
4302
|
}>;
|
|
4303
|
-
projectId:
|
|
4303
|
+
projectId: drizzle_orm_pg_core1907.PgColumn<{
|
|
4304
4304
|
name: "project_id";
|
|
4305
4305
|
tableName: "work_app_github_project_repository_access";
|
|
4306
4306
|
dataType: "string";
|
|
@@ -4319,7 +4319,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core355.PgTab
|
|
|
4319
4319
|
}, {}, {
|
|
4320
4320
|
length: 256;
|
|
4321
4321
|
}>;
|
|
4322
|
-
tenantId:
|
|
4322
|
+
tenantId: drizzle_orm_pg_core1907.PgColumn<{
|
|
4323
4323
|
name: "tenant_id";
|
|
4324
4324
|
tableName: "work_app_github_project_repository_access";
|
|
4325
4325
|
dataType: "string";
|
|
@@ -4338,7 +4338,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core355.PgTab
|
|
|
4338
4338
|
}, {}, {
|
|
4339
4339
|
length: 256;
|
|
4340
4340
|
}>;
|
|
4341
|
-
id:
|
|
4341
|
+
id: drizzle_orm_pg_core1907.PgColumn<{
|
|
4342
4342
|
name: "id";
|
|
4343
4343
|
tableName: "work_app_github_project_repository_access";
|
|
4344
4344
|
dataType: "string";
|
|
@@ -4367,11 +4367,11 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core355.PgTab
|
|
|
4367
4367
|
* (cross-schema, no FK constraint). These are denormalized here so all GitHub access
|
|
4368
4368
|
* info can be queried from PostgreSQL alone.
|
|
4369
4369
|
*/
|
|
4370
|
-
declare const workAppGitHubMcpToolRepositoryAccess:
|
|
4370
|
+
declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1907.PgTableWithColumns<{
|
|
4371
4371
|
name: "work_app_github_mcp_tool_repository_access";
|
|
4372
4372
|
schema: undefined;
|
|
4373
4373
|
columns: {
|
|
4374
|
-
createdAt:
|
|
4374
|
+
createdAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
4375
4375
|
name: "created_at";
|
|
4376
4376
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
4377
4377
|
dataType: "string";
|
|
@@ -4388,7 +4388,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core355.PgTab
|
|
|
4388
4388
|
identity: undefined;
|
|
4389
4389
|
generated: undefined;
|
|
4390
4390
|
}, {}, {}>;
|
|
4391
|
-
updatedAt:
|
|
4391
|
+
updatedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
4392
4392
|
name: "updated_at";
|
|
4393
4393
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
4394
4394
|
dataType: "string";
|
|
@@ -4405,7 +4405,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core355.PgTab
|
|
|
4405
4405
|
identity: undefined;
|
|
4406
4406
|
generated: undefined;
|
|
4407
4407
|
}, {}, {}>;
|
|
4408
|
-
toolId:
|
|
4408
|
+
toolId: drizzle_orm_pg_core1907.PgColumn<{
|
|
4409
4409
|
name: "tool_id";
|
|
4410
4410
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
4411
4411
|
dataType: "string";
|
|
@@ -4424,7 +4424,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core355.PgTab
|
|
|
4424
4424
|
}, {}, {
|
|
4425
4425
|
length: 256;
|
|
4426
4426
|
}>;
|
|
4427
|
-
repositoryDbId:
|
|
4427
|
+
repositoryDbId: drizzle_orm_pg_core1907.PgColumn<{
|
|
4428
4428
|
name: "repository_db_id";
|
|
4429
4429
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
4430
4430
|
dataType: "string";
|
|
@@ -4443,7 +4443,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core355.PgTab
|
|
|
4443
4443
|
}, {}, {
|
|
4444
4444
|
length: 256;
|
|
4445
4445
|
}>;
|
|
4446
|
-
projectId:
|
|
4446
|
+
projectId: drizzle_orm_pg_core1907.PgColumn<{
|
|
4447
4447
|
name: "project_id";
|
|
4448
4448
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
4449
4449
|
dataType: "string";
|
|
@@ -4462,7 +4462,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core355.PgTab
|
|
|
4462
4462
|
}, {}, {
|
|
4463
4463
|
length: 256;
|
|
4464
4464
|
}>;
|
|
4465
|
-
tenantId:
|
|
4465
|
+
tenantId: drizzle_orm_pg_core1907.PgColumn<{
|
|
4466
4466
|
name: "tenant_id";
|
|
4467
4467
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
4468
4468
|
dataType: "string";
|
|
@@ -4481,7 +4481,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core355.PgTab
|
|
|
4481
4481
|
}, {}, {
|
|
4482
4482
|
length: 256;
|
|
4483
4483
|
}>;
|
|
4484
|
-
id:
|
|
4484
|
+
id: drizzle_orm_pg_core1907.PgColumn<{
|
|
4485
4485
|
name: "id";
|
|
4486
4486
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
4487
4487
|
dataType: "string";
|
|
@@ -4509,11 +4509,11 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core355.PgTab
|
|
|
4509
4509
|
* - 'selected': Project only has access to repositories listed in work_app_github_project_repository_access
|
|
4510
4510
|
* If no row exists for a project, defaults to 'selected' (fail-safe: no access unless explicitly granted).
|
|
4511
4511
|
*/
|
|
4512
|
-
declare const workAppGitHubProjectAccessMode:
|
|
4512
|
+
declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1907.PgTableWithColumns<{
|
|
4513
4513
|
name: "work_app_github_project_access_mode";
|
|
4514
4514
|
schema: undefined;
|
|
4515
4515
|
columns: {
|
|
4516
|
-
createdAt:
|
|
4516
|
+
createdAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
4517
4517
|
name: "created_at";
|
|
4518
4518
|
tableName: "work_app_github_project_access_mode";
|
|
4519
4519
|
dataType: "string";
|
|
@@ -4530,7 +4530,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core355.PgTableWith
|
|
|
4530
4530
|
identity: undefined;
|
|
4531
4531
|
generated: undefined;
|
|
4532
4532
|
}, {}, {}>;
|
|
4533
|
-
updatedAt:
|
|
4533
|
+
updatedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
4534
4534
|
name: "updated_at";
|
|
4535
4535
|
tableName: "work_app_github_project_access_mode";
|
|
4536
4536
|
dataType: "string";
|
|
@@ -4547,7 +4547,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core355.PgTableWith
|
|
|
4547
4547
|
identity: undefined;
|
|
4548
4548
|
generated: undefined;
|
|
4549
4549
|
}, {}, {}>;
|
|
4550
|
-
tenantId:
|
|
4550
|
+
tenantId: drizzle_orm_pg_core1907.PgColumn<{
|
|
4551
4551
|
name: "tenant_id";
|
|
4552
4552
|
tableName: "work_app_github_project_access_mode";
|
|
4553
4553
|
dataType: "string";
|
|
@@ -4566,7 +4566,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core355.PgTableWith
|
|
|
4566
4566
|
}, {}, {
|
|
4567
4567
|
length: 256;
|
|
4568
4568
|
}>;
|
|
4569
|
-
projectId:
|
|
4569
|
+
projectId: drizzle_orm_pg_core1907.PgColumn<{
|
|
4570
4570
|
name: "project_id";
|
|
4571
4571
|
tableName: "work_app_github_project_access_mode";
|
|
4572
4572
|
dataType: "string";
|
|
@@ -4585,7 +4585,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core355.PgTableWith
|
|
|
4585
4585
|
}, {}, {
|
|
4586
4586
|
length: 256;
|
|
4587
4587
|
}>;
|
|
4588
|
-
mode:
|
|
4588
|
+
mode: drizzle_orm_pg_core1907.PgColumn<{
|
|
4589
4589
|
name: "mode";
|
|
4590
4590
|
tableName: "work_app_github_project_access_mode";
|
|
4591
4591
|
dataType: "string";
|
|
@@ -4614,11 +4614,11 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core355.PgTableWith
|
|
|
4614
4614
|
* - 'selected': Tool only has access to repositories listed in work_app_github_mcp_tool_repository_access
|
|
4615
4615
|
* If no row exists for a tool, defaults to 'selected' (fail-safe: no access unless explicitly granted).
|
|
4616
4616
|
*/
|
|
4617
|
-
declare const workAppGitHubMcpToolAccessMode:
|
|
4617
|
+
declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1907.PgTableWithColumns<{
|
|
4618
4618
|
name: "work_app_github_mcp_tool_access_mode";
|
|
4619
4619
|
schema: undefined;
|
|
4620
4620
|
columns: {
|
|
4621
|
-
createdAt:
|
|
4621
|
+
createdAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
4622
4622
|
name: "created_at";
|
|
4623
4623
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
4624
4624
|
dataType: "string";
|
|
@@ -4635,7 +4635,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core355.PgTableWith
|
|
|
4635
4635
|
identity: undefined;
|
|
4636
4636
|
generated: undefined;
|
|
4637
4637
|
}, {}, {}>;
|
|
4638
|
-
updatedAt:
|
|
4638
|
+
updatedAt: drizzle_orm_pg_core1907.PgColumn<{
|
|
4639
4639
|
name: "updated_at";
|
|
4640
4640
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
4641
4641
|
dataType: "string";
|
|
@@ -4652,7 +4652,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core355.PgTableWith
|
|
|
4652
4652
|
identity: undefined;
|
|
4653
4653
|
generated: undefined;
|
|
4654
4654
|
}, {}, {}>;
|
|
4655
|
-
toolId:
|
|
4655
|
+
toolId: drizzle_orm_pg_core1907.PgColumn<{
|
|
4656
4656
|
name: "tool_id";
|
|
4657
4657
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
4658
4658
|
dataType: "string";
|
|
@@ -4671,7 +4671,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core355.PgTableWith
|
|
|
4671
4671
|
}, {}, {
|
|
4672
4672
|
length: 256;
|
|
4673
4673
|
}>;
|
|
4674
|
-
tenantId:
|
|
4674
|
+
tenantId: drizzle_orm_pg_core1907.PgColumn<{
|
|
4675
4675
|
name: "tenant_id";
|
|
4676
4676
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
4677
4677
|
dataType: "string";
|
|
@@ -4690,7 +4690,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core355.PgTableWith
|
|
|
4690
4690
|
}, {}, {
|
|
4691
4691
|
length: 256;
|
|
4692
4692
|
}>;
|
|
4693
|
-
projectId:
|
|
4693
|
+
projectId: drizzle_orm_pg_core1907.PgColumn<{
|
|
4694
4694
|
name: "project_id";
|
|
4695
4695
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
4696
4696
|
dataType: "string";
|
|
@@ -4709,7 +4709,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core355.PgTableWith
|
|
|
4709
4709
|
}, {}, {
|
|
4710
4710
|
length: 256;
|
|
4711
4711
|
}>;
|
|
4712
|
-
mode:
|
|
4712
|
+
mode: drizzle_orm_pg_core1907.PgColumn<{
|
|
4713
4713
|
name: "mode";
|
|
4714
4714
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
4715
4715
|
dataType: "string";
|
|
@@ -4732,19 +4732,19 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core355.PgTableWith
|
|
|
4732
4732
|
};
|
|
4733
4733
|
dialect: "pg";
|
|
4734
4734
|
}>;
|
|
4735
|
-
declare const workAppGitHubInstallationsRelations:
|
|
4736
|
-
repositories:
|
|
4735
|
+
declare const workAppGitHubInstallationsRelations: drizzle_orm111.Relations<"work_app_github_installations", {
|
|
4736
|
+
repositories: drizzle_orm111.Many<"work_app_github_repositories">;
|
|
4737
4737
|
}>;
|
|
4738
|
-
declare const workAppGitHubRepositoriesRelations:
|
|
4739
|
-
installation:
|
|
4740
|
-
projectAccess:
|
|
4741
|
-
mcpToolAccess:
|
|
4738
|
+
declare const workAppGitHubRepositoriesRelations: drizzle_orm111.Relations<"work_app_github_repositories", {
|
|
4739
|
+
installation: drizzle_orm111.One<"work_app_github_installations", true>;
|
|
4740
|
+
projectAccess: drizzle_orm111.Many<"work_app_github_project_repository_access">;
|
|
4741
|
+
mcpToolAccess: drizzle_orm111.Many<"work_app_github_mcp_tool_repository_access">;
|
|
4742
4742
|
}>;
|
|
4743
|
-
declare const workAppGitHubProjectRepositoryAccessRelations:
|
|
4744
|
-
repository:
|
|
4743
|
+
declare const workAppGitHubProjectRepositoryAccessRelations: drizzle_orm111.Relations<"work_app_github_project_repository_access", {
|
|
4744
|
+
repository: drizzle_orm111.One<"work_app_github_repositories", true>;
|
|
4745
4745
|
}>;
|
|
4746
|
-
declare const workAppGitHubMcpToolRepositoryAccessRelations:
|
|
4747
|
-
repository:
|
|
4746
|
+
declare const workAppGitHubMcpToolRepositoryAccessRelations: drizzle_orm111.Relations<"work_app_github_mcp_tool_repository_access", {
|
|
4747
|
+
repository: drizzle_orm111.One<"work_app_github_repositories", true>;
|
|
4748
4748
|
}>;
|
|
4749
4749
|
//#endregion
|
|
4750
4750
|
export { account, apiKeys, contextCache, conversations, conversationsRelations, datasetRun, datasetRunConversationRelations, deviceCode, evaluationResult, evaluationRun, invitation, ledgerArtifacts, ledgerArtifactsRelations, member, messages, messagesRelations, organization, projectMetadata, runtime_schema_d_exports, scheduledTriggerInvocations, session, ssoProvider, taskRelations, taskRelationsRelations, tasks, tasksRelations, triggerInvocations, user, verification, workAppGitHubInstallations, workAppGitHubInstallationsRelations, workAppGitHubMcpToolAccessMode, workAppGitHubMcpToolRepositoryAccess, workAppGitHubMcpToolRepositoryAccessRelations, workAppGitHubProjectAccessMode, workAppGitHubProjectRepositoryAccess, workAppGitHubProjectRepositoryAccessRelations, workAppGitHubRepositories, workAppGitHubRepositoriesRelations, workAppSlackChannelAgentConfigs, workAppSlackUserMappings, workAppSlackWorkspaces };
|