@inkeep/agents-core 0.0.0-dev-20260211235751 → 0.0.0-dev-20260212003026
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.d.ts +1 -1
- package/dist/client-exports.d.ts +2 -2
- package/dist/client-exports.js +2 -2
- package/dist/data-access/index.d.ts +1 -2
- package/dist/data-access/index.js +1 -2
- package/dist/data-access/runtime/conversations.d.ts +7 -7
- package/dist/data-access/runtime/tasks.d.ts +2 -2
- package/dist/db/manage/manage-schema.d.ts +378 -378
- package/dist/db/runtime/runtime-schema.d.ts +240 -974
- package/dist/db/runtime/runtime-schema.js +2 -77
- package/dist/index.d.ts +3 -7
- package/dist/index.js +3 -7
- package/dist/utils/index.d.ts +1 -4
- package/dist/utils/index.js +1 -4
- package/dist/utils/trigger-auth.d.ts +1 -1
- package/dist/validation/dolt-schemas.d.ts +1 -1
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js +2 -2
- package/dist/validation/schemas.d.ts +47 -1557
- package/dist/validation/schemas.js +2 -26
- package/drizzle/runtime/meta/_journal.json +0 -7
- package/package.json +1 -1
- package/dist/data-access/runtime/workAppSlack.d.ts +0 -55
- package/dist/data-access/runtime/workAppSlack.js +0 -146
- package/dist/utils/slack-link-token.d.ts +0 -57
- package/dist/utils/slack-link-token.js +0 -112
- package/dist/utils/slack-user-token.d.ts +0 -65
- package/dist/utils/slack-user-token.js +0 -129
- package/dist/utils/sse-parser.d.ts +0 -35
- package/dist/utils/sse-parser.js +0 -71
- package/drizzle/runtime/0012_add-slack-work-app-tables.sql +0 -114
- package/drizzle/runtime/meta/0012_snapshot.json +0 -3600
|
@@ -1,12 +1,12 @@
|
|
|
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_orm95 from "drizzle-orm";
|
|
5
|
+
import * as drizzle_orm_pg_core1674 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 {
|
|
9
|
-
export { account, apiKeys, contextCache, conversations, conversationsRelations, datasetRun, datasetRunConversationRelations, deviceCode, evaluationResult, evaluationRun, invitation, ledgerArtifacts, ledgerArtifactsRelations, member, messages, messagesRelations, organization, projectMetadata, session, ssoProvider, taskRelations, taskRelationsRelations, tasks, tasksRelations, triggerInvocations, user, verification, workAppGitHubInstallations, workAppGitHubInstallationsRelations, workAppGitHubMcpToolAccessMode, workAppGitHubMcpToolRepositoryAccess, workAppGitHubMcpToolRepositoryAccessRelations, workAppGitHubProjectAccessMode, workAppGitHubProjectRepositoryAccess, workAppGitHubProjectRepositoryAccessRelations, workAppGitHubRepositories, workAppGitHubRepositoriesRelations
|
|
9
|
+
export { account, apiKeys, contextCache, conversations, conversationsRelations, datasetRun, datasetRunConversationRelations, deviceCode, evaluationResult, evaluationRun, invitation, ledgerArtifacts, ledgerArtifactsRelations, member, messages, messagesRelations, organization, projectMetadata, session, ssoProvider, taskRelations, taskRelationsRelations, tasks, tasksRelations, triggerInvocations, user, verification, workAppGitHubInstallations, workAppGitHubInstallationsRelations, workAppGitHubMcpToolAccessMode, workAppGitHubMcpToolRepositoryAccess, workAppGitHubMcpToolRepositoryAccessRelations, workAppGitHubProjectAccessMode, workAppGitHubProjectRepositoryAccess, workAppGitHubProjectRepositoryAccessRelations, workAppGitHubRepositories, workAppGitHubRepositoriesRelations };
|
|
10
10
|
}
|
|
11
11
|
/**
|
|
12
12
|
* Runtime projects table - source of truth for which projects exist in a tenant.
|
|
@@ -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_core1674.PgTableWithColumns<{
|
|
19
19
|
name: "project_metadata";
|
|
20
20
|
schema: undefined;
|
|
21
21
|
columns: {
|
|
22
|
-
id:
|
|
22
|
+
id: drizzle_orm_pg_core1674.PgColumn<{
|
|
23
23
|
name: "id";
|
|
24
24
|
tableName: "project_metadata";
|
|
25
25
|
dataType: "string";
|
|
@@ -38,7 +38,7 @@ declare const projectMetadata: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
38
38
|
}, {}, {
|
|
39
39
|
length: 256;
|
|
40
40
|
}>;
|
|
41
|
-
tenantId:
|
|
41
|
+
tenantId: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
57
57
|
}, {}, {
|
|
58
58
|
length: 256;
|
|
59
59
|
}>;
|
|
60
|
-
createdAt:
|
|
60
|
+
createdAt: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
74
74
|
identity: undefined;
|
|
75
75
|
generated: undefined;
|
|
76
76
|
}, {}, {}>;
|
|
77
|
-
createdBy:
|
|
77
|
+
createdBy: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
93
93
|
}, {}, {
|
|
94
94
|
length: 256;
|
|
95
95
|
}>;
|
|
96
|
-
mainBranchName:
|
|
96
|
+
mainBranchName: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
115
115
|
};
|
|
116
116
|
dialect: "pg";
|
|
117
117
|
}>;
|
|
118
|
-
declare const conversations:
|
|
118
|
+
declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
119
119
|
name: "conversations";
|
|
120
120
|
schema: undefined;
|
|
121
121
|
columns: {
|
|
122
|
-
createdAt:
|
|
122
|
+
createdAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
123
123
|
name: "created_at";
|
|
124
124
|
tableName: "conversations";
|
|
125
125
|
dataType: "string";
|
|
@@ -136,7 +136,7 @@ declare const conversations: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
136
136
|
identity: undefined;
|
|
137
137
|
generated: undefined;
|
|
138
138
|
}, {}, {}>;
|
|
139
|
-
updatedAt:
|
|
139
|
+
updatedAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
140
140
|
name: "updated_at";
|
|
141
141
|
tableName: "conversations";
|
|
142
142
|
dataType: "string";
|
|
@@ -153,7 +153,7 @@ declare const conversations: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
153
153
|
identity: undefined;
|
|
154
154
|
generated: undefined;
|
|
155
155
|
}, {}, {}>;
|
|
156
|
-
userId:
|
|
156
|
+
userId: drizzle_orm_pg_core1674.PgColumn<{
|
|
157
157
|
name: "user_id";
|
|
158
158
|
tableName: "conversations";
|
|
159
159
|
dataType: "string";
|
|
@@ -172,7 +172,7 @@ declare const conversations: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
172
172
|
}, {}, {
|
|
173
173
|
length: 256;
|
|
174
174
|
}>;
|
|
175
|
-
agentId:
|
|
175
|
+
agentId: drizzle_orm_pg_core1674.PgColumn<{
|
|
176
176
|
name: "agent_id";
|
|
177
177
|
tableName: "conversations";
|
|
178
178
|
dataType: "string";
|
|
@@ -191,7 +191,7 @@ declare const conversations: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
191
191
|
}, {}, {
|
|
192
192
|
length: 256;
|
|
193
193
|
}>;
|
|
194
|
-
activeSubAgentId:
|
|
194
|
+
activeSubAgentId: drizzle_orm_pg_core1674.PgColumn<{
|
|
195
195
|
name: "active_sub_agent_id";
|
|
196
196
|
tableName: "conversations";
|
|
197
197
|
dataType: "string";
|
|
@@ -210,13 +210,13 @@ declare const conversations: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
210
210
|
}, {}, {
|
|
211
211
|
length: 256;
|
|
212
212
|
}>;
|
|
213
|
-
ref:
|
|
213
|
+
ref: drizzle_orm_pg_core1674.PgColumn<{
|
|
214
214
|
name: "ref";
|
|
215
215
|
tableName: "conversations";
|
|
216
216
|
dataType: "json";
|
|
217
217
|
columnType: "PgJsonb";
|
|
218
218
|
data: {
|
|
219
|
-
type: "
|
|
219
|
+
type: "commit" | "tag" | "branch";
|
|
220
220
|
name: string;
|
|
221
221
|
hash: string;
|
|
222
222
|
};
|
|
@@ -232,12 +232,12 @@ declare const conversations: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
232
232
|
generated: undefined;
|
|
233
233
|
}, {}, {
|
|
234
234
|
$type: {
|
|
235
|
-
type: "
|
|
235
|
+
type: "commit" | "tag" | "branch";
|
|
236
236
|
name: string;
|
|
237
237
|
hash: string;
|
|
238
238
|
};
|
|
239
239
|
}>;
|
|
240
|
-
title:
|
|
240
|
+
title: drizzle_orm_pg_core1674.PgColumn<{
|
|
241
241
|
name: "title";
|
|
242
242
|
tableName: "conversations";
|
|
243
243
|
dataType: "string";
|
|
@@ -254,7 +254,7 @@ declare const conversations: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
254
254
|
identity: undefined;
|
|
255
255
|
generated: undefined;
|
|
256
256
|
}, {}, {}>;
|
|
257
|
-
lastContextResolution:
|
|
257
|
+
lastContextResolution: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
271
271
|
identity: undefined;
|
|
272
272
|
generated: undefined;
|
|
273
273
|
}, {}, {}>;
|
|
274
|
-
metadata:
|
|
274
|
+
metadata: drizzle_orm_pg_core1674.PgColumn<{
|
|
275
275
|
name: "metadata";
|
|
276
276
|
tableName: "conversations";
|
|
277
277
|
dataType: "json";
|
|
@@ -290,7 +290,7 @@ declare const conversations: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
290
290
|
}, {}, {
|
|
291
291
|
$type: ConversationMetadata;
|
|
292
292
|
}>;
|
|
293
|
-
projectId:
|
|
293
|
+
projectId: drizzle_orm_pg_core1674.PgColumn<{
|
|
294
294
|
name: "project_id";
|
|
295
295
|
tableName: "conversations";
|
|
296
296
|
dataType: "string";
|
|
@@ -309,7 +309,7 @@ declare const conversations: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
309
309
|
}, {}, {
|
|
310
310
|
length: 256;
|
|
311
311
|
}>;
|
|
312
|
-
tenantId:
|
|
312
|
+
tenantId: drizzle_orm_pg_core1674.PgColumn<{
|
|
313
313
|
name: "tenant_id";
|
|
314
314
|
tableName: "conversations";
|
|
315
315
|
dataType: "string";
|
|
@@ -328,7 +328,7 @@ declare const conversations: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
328
328
|
}, {}, {
|
|
329
329
|
length: 256;
|
|
330
330
|
}>;
|
|
331
|
-
id:
|
|
331
|
+
id: drizzle_orm_pg_core1674.PgColumn<{
|
|
332
332
|
name: "id";
|
|
333
333
|
tableName: "conversations";
|
|
334
334
|
dataType: "string";
|
|
@@ -350,11 +350,11 @@ declare const conversations: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
350
350
|
};
|
|
351
351
|
dialect: "pg";
|
|
352
352
|
}>;
|
|
353
|
-
declare const tasks:
|
|
353
|
+
declare const tasks: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
354
354
|
name: "tasks";
|
|
355
355
|
schema: undefined;
|
|
356
356
|
columns: {
|
|
357
|
-
createdAt:
|
|
357
|
+
createdAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
358
358
|
name: "created_at";
|
|
359
359
|
tableName: "tasks";
|
|
360
360
|
dataType: "string";
|
|
@@ -371,7 +371,7 @@ declare const tasks: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
371
371
|
identity: undefined;
|
|
372
372
|
generated: undefined;
|
|
373
373
|
}, {}, {}>;
|
|
374
|
-
updatedAt:
|
|
374
|
+
updatedAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
375
375
|
name: "updated_at";
|
|
376
376
|
tableName: "tasks";
|
|
377
377
|
dataType: "string";
|
|
@@ -388,7 +388,7 @@ declare const tasks: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
388
388
|
identity: undefined;
|
|
389
389
|
generated: undefined;
|
|
390
390
|
}, {}, {}>;
|
|
391
|
-
contextId:
|
|
391
|
+
contextId: drizzle_orm_pg_core1674.PgColumn<{
|
|
392
392
|
name: "context_id";
|
|
393
393
|
tableName: "tasks";
|
|
394
394
|
dataType: "string";
|
|
@@ -407,13 +407,13 @@ declare const tasks: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
407
407
|
}, {}, {
|
|
408
408
|
length: 256;
|
|
409
409
|
}>;
|
|
410
|
-
ref:
|
|
410
|
+
ref: drizzle_orm_pg_core1674.PgColumn<{
|
|
411
411
|
name: "ref";
|
|
412
412
|
tableName: "tasks";
|
|
413
413
|
dataType: "json";
|
|
414
414
|
columnType: "PgJsonb";
|
|
415
415
|
data: {
|
|
416
|
-
type: "
|
|
416
|
+
type: "commit" | "tag" | "branch";
|
|
417
417
|
name: string;
|
|
418
418
|
hash: string;
|
|
419
419
|
};
|
|
@@ -429,12 +429,12 @@ declare const tasks: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
429
429
|
generated: undefined;
|
|
430
430
|
}, {}, {
|
|
431
431
|
$type: {
|
|
432
|
-
type: "
|
|
432
|
+
type: "commit" | "tag" | "branch";
|
|
433
433
|
name: string;
|
|
434
434
|
hash: string;
|
|
435
435
|
};
|
|
436
436
|
}>;
|
|
437
|
-
status:
|
|
437
|
+
status: drizzle_orm_pg_core1674.PgColumn<{
|
|
438
438
|
name: "status";
|
|
439
439
|
tableName: "tasks";
|
|
440
440
|
dataType: "string";
|
|
@@ -453,7 +453,7 @@ declare const tasks: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
453
453
|
}, {}, {
|
|
454
454
|
length: 256;
|
|
455
455
|
}>;
|
|
456
|
-
metadata:
|
|
456
|
+
metadata: drizzle_orm_pg_core1674.PgColumn<{
|
|
457
457
|
name: "metadata";
|
|
458
458
|
tableName: "tasks";
|
|
459
459
|
dataType: "json";
|
|
@@ -472,7 +472,7 @@ declare const tasks: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
472
472
|
}, {}, {
|
|
473
473
|
$type: TaskMetadataConfig;
|
|
474
474
|
}>;
|
|
475
|
-
subAgentId:
|
|
475
|
+
subAgentId: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
491
491
|
}, {}, {
|
|
492
492
|
length: 256;
|
|
493
493
|
}>;
|
|
494
|
-
agentId:
|
|
494
|
+
agentId: drizzle_orm_pg_core1674.PgColumn<{
|
|
495
495
|
name: "agent_id";
|
|
496
496
|
tableName: "tasks";
|
|
497
497
|
dataType: "string";
|
|
@@ -510,7 +510,7 @@ declare const tasks: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
510
510
|
}, {}, {
|
|
511
511
|
length: 256;
|
|
512
512
|
}>;
|
|
513
|
-
projectId:
|
|
513
|
+
projectId: drizzle_orm_pg_core1674.PgColumn<{
|
|
514
514
|
name: "project_id";
|
|
515
515
|
tableName: "tasks";
|
|
516
516
|
dataType: "string";
|
|
@@ -529,7 +529,7 @@ declare const tasks: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
529
529
|
}, {}, {
|
|
530
530
|
length: 256;
|
|
531
531
|
}>;
|
|
532
|
-
tenantId:
|
|
532
|
+
tenantId: drizzle_orm_pg_core1674.PgColumn<{
|
|
533
533
|
name: "tenant_id";
|
|
534
534
|
tableName: "tasks";
|
|
535
535
|
dataType: "string";
|
|
@@ -548,7 +548,7 @@ declare const tasks: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
548
548
|
}, {}, {
|
|
549
549
|
length: 256;
|
|
550
550
|
}>;
|
|
551
|
-
id:
|
|
551
|
+
id: drizzle_orm_pg_core1674.PgColumn<{
|
|
552
552
|
name: "id";
|
|
553
553
|
tableName: "tasks";
|
|
554
554
|
dataType: "string";
|
|
@@ -570,11 +570,11 @@ declare const tasks: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
570
570
|
};
|
|
571
571
|
dialect: "pg";
|
|
572
572
|
}>;
|
|
573
|
-
declare const apiKeys:
|
|
573
|
+
declare const apiKeys: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
574
574
|
name: "api_keys";
|
|
575
575
|
schema: undefined;
|
|
576
576
|
columns: {
|
|
577
|
-
createdAt:
|
|
577
|
+
createdAt: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
591
591
|
identity: undefined;
|
|
592
592
|
generated: undefined;
|
|
593
593
|
}, {}, {}>;
|
|
594
|
-
updatedAt:
|
|
594
|
+
updatedAt: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
608
608
|
identity: undefined;
|
|
609
609
|
generated: undefined;
|
|
610
610
|
}, {}, {}>;
|
|
611
|
-
agentId:
|
|
611
|
+
agentId: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
627
627
|
}, {}, {
|
|
628
628
|
length: 256;
|
|
629
629
|
}>;
|
|
630
|
-
publicId:
|
|
630
|
+
publicId: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
646
646
|
}, {}, {
|
|
647
647
|
length: 256;
|
|
648
648
|
}>;
|
|
649
|
-
keyHash:
|
|
649
|
+
keyHash: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
665
665
|
}, {}, {
|
|
666
666
|
length: 256;
|
|
667
667
|
}>;
|
|
668
|
-
keyPrefix:
|
|
668
|
+
keyPrefix: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
684
684
|
}, {}, {
|
|
685
685
|
length: 256;
|
|
686
686
|
}>;
|
|
687
|
-
name:
|
|
687
|
+
name: drizzle_orm_pg_core1674.PgColumn<{
|
|
688
688
|
name: "name";
|
|
689
689
|
tableName: "api_keys";
|
|
690
690
|
dataType: "string";
|
|
@@ -703,7 +703,7 @@ declare const apiKeys: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
703
703
|
}, {}, {
|
|
704
704
|
length: 256;
|
|
705
705
|
}>;
|
|
706
|
-
lastUsedAt:
|
|
706
|
+
lastUsedAt: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
720
720
|
identity: undefined;
|
|
721
721
|
generated: undefined;
|
|
722
722
|
}, {}, {}>;
|
|
723
|
-
expiresAt:
|
|
723
|
+
expiresAt: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
737
737
|
identity: undefined;
|
|
738
738
|
generated: undefined;
|
|
739
739
|
}, {}, {}>;
|
|
740
|
-
projectId:
|
|
740
|
+
projectId: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
756
756
|
}, {}, {
|
|
757
757
|
length: 256;
|
|
758
758
|
}>;
|
|
759
|
-
tenantId:
|
|
759
|
+
tenantId: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
775
775
|
}, {}, {
|
|
776
776
|
length: 256;
|
|
777
777
|
}>;
|
|
778
|
-
id:
|
|
778
|
+
id: drizzle_orm_pg_core1674.PgColumn<{
|
|
779
779
|
name: "id";
|
|
780
780
|
tableName: "api_keys";
|
|
781
781
|
dataType: "string";
|
|
@@ -804,11 +804,11 @@ declare const apiKeys: drizzle_orm_pg_core1449.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_core1674.PgTableWithColumns<{
|
|
808
808
|
name: "trigger_invocations";
|
|
809
809
|
schema: undefined;
|
|
810
810
|
columns: {
|
|
811
|
-
triggerId:
|
|
811
|
+
triggerId: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
827
827
|
}, {}, {
|
|
828
828
|
length: 256;
|
|
829
829
|
}>;
|
|
830
|
-
conversationId:
|
|
830
|
+
conversationId: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
846
846
|
}, {}, {
|
|
847
847
|
length: 256;
|
|
848
848
|
}>;
|
|
849
|
-
status:
|
|
849
|
+
status: drizzle_orm_pg_core1674.PgColumn<{
|
|
850
850
|
name: "status";
|
|
851
851
|
tableName: "trigger_invocations";
|
|
852
852
|
dataType: "string";
|
|
@@ -865,7 +865,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
865
865
|
}, {}, {
|
|
866
866
|
length: 20;
|
|
867
867
|
}>;
|
|
868
|
-
requestPayload:
|
|
868
|
+
requestPayload: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
882
882
|
identity: undefined;
|
|
883
883
|
generated: undefined;
|
|
884
884
|
}, {}, {}>;
|
|
885
|
-
transformedPayload:
|
|
885
|
+
transformedPayload: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
899
899
|
identity: undefined;
|
|
900
900
|
generated: undefined;
|
|
901
901
|
}, {}, {}>;
|
|
902
|
-
errorMessage:
|
|
902
|
+
errorMessage: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
916
916
|
identity: undefined;
|
|
917
917
|
generated: undefined;
|
|
918
918
|
}, {}, {}>;
|
|
919
|
-
createdAt:
|
|
919
|
+
createdAt: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
933
933
|
identity: undefined;
|
|
934
934
|
generated: undefined;
|
|
935
935
|
}, {}, {}>;
|
|
936
|
-
agentId:
|
|
936
|
+
agentId: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
952
952
|
}, {}, {
|
|
953
953
|
length: 256;
|
|
954
954
|
}>;
|
|
955
|
-
projectId:
|
|
955
|
+
projectId: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
971
971
|
}, {}, {
|
|
972
972
|
length: 256;
|
|
973
973
|
}>;
|
|
974
|
-
tenantId:
|
|
974
|
+
tenantId: drizzle_orm_pg_core1674.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_core1449.PgTableWithColumns<{
|
|
|
990
990
|
}, {}, {
|
|
991
991
|
length: 256;
|
|
992
992
|
}>;
|
|
993
|
-
id:
|
|
993
|
+
id: drizzle_orm_pg_core1674.PgColumn<{
|
|
994
994
|
name: "id";
|
|
995
995
|
tableName: "trigger_invocations";
|
|
996
996
|
dataType: "string";
|
|
@@ -1012,745 +1012,11 @@ declare const triggerInvocations: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
1012
1012
|
};
|
|
1013
1013
|
dialect: "pg";
|
|
1014
1014
|
}>;
|
|
1015
|
-
|
|
1016
|
-
* Slack workspace installations - records each Slack workspace installation.
|
|
1017
|
-
* Enforces workspace -> tenant uniqueness and provides audit trail.
|
|
1018
|
-
* Stores reference to Nango connection for token retrieval.
|
|
1019
|
-
*/
|
|
1020
|
-
declare const workAppSlackWorkspaces: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
1021
|
-
name: "work_app_slack_workspaces";
|
|
1022
|
-
schema: undefined;
|
|
1023
|
-
columns: {
|
|
1024
|
-
createdAt: drizzle_orm_pg_core1449.PgColumn<{
|
|
1025
|
-
name: "created_at";
|
|
1026
|
-
tableName: "work_app_slack_workspaces";
|
|
1027
|
-
dataType: "string";
|
|
1028
|
-
columnType: "PgTimestampString";
|
|
1029
|
-
data: string;
|
|
1030
|
-
driverParam: string;
|
|
1031
|
-
notNull: true;
|
|
1032
|
-
hasDefault: true;
|
|
1033
|
-
isPrimaryKey: false;
|
|
1034
|
-
isAutoincrement: false;
|
|
1035
|
-
hasRuntimeDefault: false;
|
|
1036
|
-
enumValues: undefined;
|
|
1037
|
-
baseColumn: never;
|
|
1038
|
-
identity: undefined;
|
|
1039
|
-
generated: undefined;
|
|
1040
|
-
}, {}, {}>;
|
|
1041
|
-
updatedAt: drizzle_orm_pg_core1449.PgColumn<{
|
|
1042
|
-
name: "updated_at";
|
|
1043
|
-
tableName: "work_app_slack_workspaces";
|
|
1044
|
-
dataType: "string";
|
|
1045
|
-
columnType: "PgTimestampString";
|
|
1046
|
-
data: string;
|
|
1047
|
-
driverParam: string;
|
|
1048
|
-
notNull: true;
|
|
1049
|
-
hasDefault: true;
|
|
1050
|
-
isPrimaryKey: false;
|
|
1051
|
-
isAutoincrement: false;
|
|
1052
|
-
hasRuntimeDefault: false;
|
|
1053
|
-
enumValues: undefined;
|
|
1054
|
-
baseColumn: never;
|
|
1055
|
-
identity: undefined;
|
|
1056
|
-
generated: undefined;
|
|
1057
|
-
}, {}, {}>;
|
|
1058
|
-
id: drizzle_orm_pg_core1449.PgColumn<{
|
|
1059
|
-
name: "id";
|
|
1060
|
-
tableName: "work_app_slack_workspaces";
|
|
1061
|
-
dataType: "string";
|
|
1062
|
-
columnType: "PgVarchar";
|
|
1063
|
-
data: string;
|
|
1064
|
-
driverParam: string;
|
|
1065
|
-
notNull: true;
|
|
1066
|
-
hasDefault: false;
|
|
1067
|
-
isPrimaryKey: true;
|
|
1068
|
-
isAutoincrement: false;
|
|
1069
|
-
hasRuntimeDefault: false;
|
|
1070
|
-
enumValues: [string, ...string[]];
|
|
1071
|
-
baseColumn: never;
|
|
1072
|
-
identity: undefined;
|
|
1073
|
-
generated: undefined;
|
|
1074
|
-
}, {}, {
|
|
1075
|
-
length: 256;
|
|
1076
|
-
}>;
|
|
1077
|
-
tenantId: drizzle_orm_pg_core1449.PgColumn<{
|
|
1078
|
-
name: "tenant_id";
|
|
1079
|
-
tableName: "work_app_slack_workspaces";
|
|
1080
|
-
dataType: "string";
|
|
1081
|
-
columnType: "PgVarchar";
|
|
1082
|
-
data: string;
|
|
1083
|
-
driverParam: string;
|
|
1084
|
-
notNull: true;
|
|
1085
|
-
hasDefault: false;
|
|
1086
|
-
isPrimaryKey: false;
|
|
1087
|
-
isAutoincrement: false;
|
|
1088
|
-
hasRuntimeDefault: false;
|
|
1089
|
-
enumValues: [string, ...string[]];
|
|
1090
|
-
baseColumn: never;
|
|
1091
|
-
identity: undefined;
|
|
1092
|
-
generated: undefined;
|
|
1093
|
-
}, {}, {
|
|
1094
|
-
length: 256;
|
|
1095
|
-
}>;
|
|
1096
|
-
slackTeamId: drizzle_orm_pg_core1449.PgColumn<{
|
|
1097
|
-
name: "slack_team_id";
|
|
1098
|
-
tableName: "work_app_slack_workspaces";
|
|
1099
|
-
dataType: "string";
|
|
1100
|
-
columnType: "PgVarchar";
|
|
1101
|
-
data: string;
|
|
1102
|
-
driverParam: string;
|
|
1103
|
-
notNull: true;
|
|
1104
|
-
hasDefault: false;
|
|
1105
|
-
isPrimaryKey: false;
|
|
1106
|
-
isAutoincrement: false;
|
|
1107
|
-
hasRuntimeDefault: false;
|
|
1108
|
-
enumValues: [string, ...string[]];
|
|
1109
|
-
baseColumn: never;
|
|
1110
|
-
identity: undefined;
|
|
1111
|
-
generated: undefined;
|
|
1112
|
-
}, {}, {
|
|
1113
|
-
length: 256;
|
|
1114
|
-
}>;
|
|
1115
|
-
slackEnterpriseId: drizzle_orm_pg_core1449.PgColumn<{
|
|
1116
|
-
name: "slack_enterprise_id";
|
|
1117
|
-
tableName: "work_app_slack_workspaces";
|
|
1118
|
-
dataType: "string";
|
|
1119
|
-
columnType: "PgVarchar";
|
|
1120
|
-
data: string;
|
|
1121
|
-
driverParam: string;
|
|
1122
|
-
notNull: false;
|
|
1123
|
-
hasDefault: false;
|
|
1124
|
-
isPrimaryKey: false;
|
|
1125
|
-
isAutoincrement: false;
|
|
1126
|
-
hasRuntimeDefault: false;
|
|
1127
|
-
enumValues: [string, ...string[]];
|
|
1128
|
-
baseColumn: never;
|
|
1129
|
-
identity: undefined;
|
|
1130
|
-
generated: undefined;
|
|
1131
|
-
}, {}, {
|
|
1132
|
-
length: 256;
|
|
1133
|
-
}>;
|
|
1134
|
-
slackAppId: drizzle_orm_pg_core1449.PgColumn<{
|
|
1135
|
-
name: "slack_app_id";
|
|
1136
|
-
tableName: "work_app_slack_workspaces";
|
|
1137
|
-
dataType: "string";
|
|
1138
|
-
columnType: "PgVarchar";
|
|
1139
|
-
data: string;
|
|
1140
|
-
driverParam: string;
|
|
1141
|
-
notNull: false;
|
|
1142
|
-
hasDefault: false;
|
|
1143
|
-
isPrimaryKey: false;
|
|
1144
|
-
isAutoincrement: false;
|
|
1145
|
-
hasRuntimeDefault: false;
|
|
1146
|
-
enumValues: [string, ...string[]];
|
|
1147
|
-
baseColumn: never;
|
|
1148
|
-
identity: undefined;
|
|
1149
|
-
generated: undefined;
|
|
1150
|
-
}, {}, {
|
|
1151
|
-
length: 256;
|
|
1152
|
-
}>;
|
|
1153
|
-
slackTeamName: drizzle_orm_pg_core1449.PgColumn<{
|
|
1154
|
-
name: "slack_team_name";
|
|
1155
|
-
tableName: "work_app_slack_workspaces";
|
|
1156
|
-
dataType: "string";
|
|
1157
|
-
columnType: "PgVarchar";
|
|
1158
|
-
data: string;
|
|
1159
|
-
driverParam: string;
|
|
1160
|
-
notNull: false;
|
|
1161
|
-
hasDefault: false;
|
|
1162
|
-
isPrimaryKey: false;
|
|
1163
|
-
isAutoincrement: false;
|
|
1164
|
-
hasRuntimeDefault: false;
|
|
1165
|
-
enumValues: [string, ...string[]];
|
|
1166
|
-
baseColumn: never;
|
|
1167
|
-
identity: undefined;
|
|
1168
|
-
generated: undefined;
|
|
1169
|
-
}, {}, {
|
|
1170
|
-
length: 512;
|
|
1171
|
-
}>;
|
|
1172
|
-
nangoProviderConfigKey: drizzle_orm_pg_core1449.PgColumn<{
|
|
1173
|
-
name: "nango_provider_config_key";
|
|
1174
|
-
tableName: "work_app_slack_workspaces";
|
|
1175
|
-
dataType: "string";
|
|
1176
|
-
columnType: "PgVarchar";
|
|
1177
|
-
data: string;
|
|
1178
|
-
driverParam: string;
|
|
1179
|
-
notNull: true;
|
|
1180
|
-
hasDefault: true;
|
|
1181
|
-
isPrimaryKey: false;
|
|
1182
|
-
isAutoincrement: false;
|
|
1183
|
-
hasRuntimeDefault: false;
|
|
1184
|
-
enumValues: [string, ...string[]];
|
|
1185
|
-
baseColumn: never;
|
|
1186
|
-
identity: undefined;
|
|
1187
|
-
generated: undefined;
|
|
1188
|
-
}, {}, {
|
|
1189
|
-
length: 256;
|
|
1190
|
-
}>;
|
|
1191
|
-
nangoConnectionId: drizzle_orm_pg_core1449.PgColumn<{
|
|
1192
|
-
name: "nango_connection_id";
|
|
1193
|
-
tableName: "work_app_slack_workspaces";
|
|
1194
|
-
dataType: "string";
|
|
1195
|
-
columnType: "PgVarchar";
|
|
1196
|
-
data: string;
|
|
1197
|
-
driverParam: string;
|
|
1198
|
-
notNull: true;
|
|
1199
|
-
hasDefault: false;
|
|
1200
|
-
isPrimaryKey: false;
|
|
1201
|
-
isAutoincrement: false;
|
|
1202
|
-
hasRuntimeDefault: false;
|
|
1203
|
-
enumValues: [string, ...string[]];
|
|
1204
|
-
baseColumn: never;
|
|
1205
|
-
identity: undefined;
|
|
1206
|
-
generated: undefined;
|
|
1207
|
-
}, {}, {
|
|
1208
|
-
length: 256;
|
|
1209
|
-
}>;
|
|
1210
|
-
status: drizzle_orm_pg_core1449.PgColumn<{
|
|
1211
|
-
name: "status";
|
|
1212
|
-
tableName: "work_app_slack_workspaces";
|
|
1213
|
-
dataType: "string";
|
|
1214
|
-
columnType: "PgVarchar";
|
|
1215
|
-
data: string;
|
|
1216
|
-
driverParam: string;
|
|
1217
|
-
notNull: true;
|
|
1218
|
-
hasDefault: true;
|
|
1219
|
-
isPrimaryKey: false;
|
|
1220
|
-
isAutoincrement: false;
|
|
1221
|
-
hasRuntimeDefault: false;
|
|
1222
|
-
enumValues: [string, ...string[]];
|
|
1223
|
-
baseColumn: never;
|
|
1224
|
-
identity: undefined;
|
|
1225
|
-
generated: undefined;
|
|
1226
|
-
}, {}, {
|
|
1227
|
-
length: 20;
|
|
1228
|
-
}>;
|
|
1229
|
-
installedByUserId: drizzle_orm_pg_core1449.PgColumn<{
|
|
1230
|
-
name: "installed_by_user_id";
|
|
1231
|
-
tableName: "work_app_slack_workspaces";
|
|
1232
|
-
dataType: "string";
|
|
1233
|
-
columnType: "PgText";
|
|
1234
|
-
data: string;
|
|
1235
|
-
driverParam: string;
|
|
1236
|
-
notNull: false;
|
|
1237
|
-
hasDefault: false;
|
|
1238
|
-
isPrimaryKey: false;
|
|
1239
|
-
isAutoincrement: false;
|
|
1240
|
-
hasRuntimeDefault: false;
|
|
1241
|
-
enumValues: [string, ...string[]];
|
|
1242
|
-
baseColumn: never;
|
|
1243
|
-
identity: undefined;
|
|
1244
|
-
generated: undefined;
|
|
1245
|
-
}, {}, {}>;
|
|
1246
|
-
};
|
|
1247
|
-
dialect: "pg";
|
|
1248
|
-
}>;
|
|
1249
|
-
/**
|
|
1250
|
-
* Slack user mappings - maps Slack users to Inkeep users.
|
|
1251
|
-
* Enables Slack users to trigger agents after linking their accounts.
|
|
1252
|
-
* Unique per tenant + clientId + slackTeamId + slackUserId.
|
|
1253
|
-
*/
|
|
1254
|
-
declare const workAppSlackUserMappings: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
1255
|
-
name: "work_app_slack_user_mappings";
|
|
1256
|
-
schema: undefined;
|
|
1257
|
-
columns: {
|
|
1258
|
-
createdAt: drizzle_orm_pg_core1449.PgColumn<{
|
|
1259
|
-
name: "created_at";
|
|
1260
|
-
tableName: "work_app_slack_user_mappings";
|
|
1261
|
-
dataType: "string";
|
|
1262
|
-
columnType: "PgTimestampString";
|
|
1263
|
-
data: string;
|
|
1264
|
-
driverParam: string;
|
|
1265
|
-
notNull: true;
|
|
1266
|
-
hasDefault: true;
|
|
1267
|
-
isPrimaryKey: false;
|
|
1268
|
-
isAutoincrement: false;
|
|
1269
|
-
hasRuntimeDefault: false;
|
|
1270
|
-
enumValues: undefined;
|
|
1271
|
-
baseColumn: never;
|
|
1272
|
-
identity: undefined;
|
|
1273
|
-
generated: undefined;
|
|
1274
|
-
}, {}, {}>;
|
|
1275
|
-
updatedAt: drizzle_orm_pg_core1449.PgColumn<{
|
|
1276
|
-
name: "updated_at";
|
|
1277
|
-
tableName: "work_app_slack_user_mappings";
|
|
1278
|
-
dataType: "string";
|
|
1279
|
-
columnType: "PgTimestampString";
|
|
1280
|
-
data: string;
|
|
1281
|
-
driverParam: string;
|
|
1282
|
-
notNull: true;
|
|
1283
|
-
hasDefault: true;
|
|
1284
|
-
isPrimaryKey: false;
|
|
1285
|
-
isAutoincrement: false;
|
|
1286
|
-
hasRuntimeDefault: false;
|
|
1287
|
-
enumValues: undefined;
|
|
1288
|
-
baseColumn: never;
|
|
1289
|
-
identity: undefined;
|
|
1290
|
-
generated: undefined;
|
|
1291
|
-
}, {}, {}>;
|
|
1292
|
-
id: drizzle_orm_pg_core1449.PgColumn<{
|
|
1293
|
-
name: "id";
|
|
1294
|
-
tableName: "work_app_slack_user_mappings";
|
|
1295
|
-
dataType: "string";
|
|
1296
|
-
columnType: "PgVarchar";
|
|
1297
|
-
data: string;
|
|
1298
|
-
driverParam: string;
|
|
1299
|
-
notNull: true;
|
|
1300
|
-
hasDefault: false;
|
|
1301
|
-
isPrimaryKey: true;
|
|
1302
|
-
isAutoincrement: false;
|
|
1303
|
-
hasRuntimeDefault: false;
|
|
1304
|
-
enumValues: [string, ...string[]];
|
|
1305
|
-
baseColumn: never;
|
|
1306
|
-
identity: undefined;
|
|
1307
|
-
generated: undefined;
|
|
1308
|
-
}, {}, {
|
|
1309
|
-
length: 256;
|
|
1310
|
-
}>;
|
|
1311
|
-
tenantId: drizzle_orm_pg_core1449.PgColumn<{
|
|
1312
|
-
name: "tenant_id";
|
|
1313
|
-
tableName: "work_app_slack_user_mappings";
|
|
1314
|
-
dataType: "string";
|
|
1315
|
-
columnType: "PgVarchar";
|
|
1316
|
-
data: string;
|
|
1317
|
-
driverParam: string;
|
|
1318
|
-
notNull: true;
|
|
1319
|
-
hasDefault: false;
|
|
1320
|
-
isPrimaryKey: false;
|
|
1321
|
-
isAutoincrement: false;
|
|
1322
|
-
hasRuntimeDefault: false;
|
|
1323
|
-
enumValues: [string, ...string[]];
|
|
1324
|
-
baseColumn: never;
|
|
1325
|
-
identity: undefined;
|
|
1326
|
-
generated: undefined;
|
|
1327
|
-
}, {}, {
|
|
1328
|
-
length: 256;
|
|
1329
|
-
}>;
|
|
1330
|
-
clientId: drizzle_orm_pg_core1449.PgColumn<{
|
|
1331
|
-
name: "client_id";
|
|
1332
|
-
tableName: "work_app_slack_user_mappings";
|
|
1333
|
-
dataType: "string";
|
|
1334
|
-
columnType: "PgVarchar";
|
|
1335
|
-
data: string;
|
|
1336
|
-
driverParam: string;
|
|
1337
|
-
notNull: true;
|
|
1338
|
-
hasDefault: true;
|
|
1339
|
-
isPrimaryKey: false;
|
|
1340
|
-
isAutoincrement: false;
|
|
1341
|
-
hasRuntimeDefault: false;
|
|
1342
|
-
enumValues: [string, ...string[]];
|
|
1343
|
-
baseColumn: never;
|
|
1344
|
-
identity: undefined;
|
|
1345
|
-
generated: undefined;
|
|
1346
|
-
}, {}, {
|
|
1347
|
-
length: 256;
|
|
1348
|
-
}>;
|
|
1349
|
-
slackUserId: drizzle_orm_pg_core1449.PgColumn<{
|
|
1350
|
-
name: "slack_user_id";
|
|
1351
|
-
tableName: "work_app_slack_user_mappings";
|
|
1352
|
-
dataType: "string";
|
|
1353
|
-
columnType: "PgVarchar";
|
|
1354
|
-
data: string;
|
|
1355
|
-
driverParam: string;
|
|
1356
|
-
notNull: true;
|
|
1357
|
-
hasDefault: false;
|
|
1358
|
-
isPrimaryKey: false;
|
|
1359
|
-
isAutoincrement: false;
|
|
1360
|
-
hasRuntimeDefault: false;
|
|
1361
|
-
enumValues: [string, ...string[]];
|
|
1362
|
-
baseColumn: never;
|
|
1363
|
-
identity: undefined;
|
|
1364
|
-
generated: undefined;
|
|
1365
|
-
}, {}, {
|
|
1366
|
-
length: 256;
|
|
1367
|
-
}>;
|
|
1368
|
-
slackTeamId: drizzle_orm_pg_core1449.PgColumn<{
|
|
1369
|
-
name: "slack_team_id";
|
|
1370
|
-
tableName: "work_app_slack_user_mappings";
|
|
1371
|
-
dataType: "string";
|
|
1372
|
-
columnType: "PgVarchar";
|
|
1373
|
-
data: string;
|
|
1374
|
-
driverParam: string;
|
|
1375
|
-
notNull: true;
|
|
1376
|
-
hasDefault: false;
|
|
1377
|
-
isPrimaryKey: false;
|
|
1378
|
-
isAutoincrement: false;
|
|
1379
|
-
hasRuntimeDefault: false;
|
|
1380
|
-
enumValues: [string, ...string[]];
|
|
1381
|
-
baseColumn: never;
|
|
1382
|
-
identity: undefined;
|
|
1383
|
-
generated: undefined;
|
|
1384
|
-
}, {}, {
|
|
1385
|
-
length: 256;
|
|
1386
|
-
}>;
|
|
1387
|
-
slackEnterpriseId: drizzle_orm_pg_core1449.PgColumn<{
|
|
1388
|
-
name: "slack_enterprise_id";
|
|
1389
|
-
tableName: "work_app_slack_user_mappings";
|
|
1390
|
-
dataType: "string";
|
|
1391
|
-
columnType: "PgVarchar";
|
|
1392
|
-
data: string;
|
|
1393
|
-
driverParam: string;
|
|
1394
|
-
notNull: false;
|
|
1395
|
-
hasDefault: false;
|
|
1396
|
-
isPrimaryKey: false;
|
|
1397
|
-
isAutoincrement: false;
|
|
1398
|
-
hasRuntimeDefault: false;
|
|
1399
|
-
enumValues: [string, ...string[]];
|
|
1400
|
-
baseColumn: never;
|
|
1401
|
-
identity: undefined;
|
|
1402
|
-
generated: undefined;
|
|
1403
|
-
}, {}, {
|
|
1404
|
-
length: 256;
|
|
1405
|
-
}>;
|
|
1406
|
-
inkeepUserId: drizzle_orm_pg_core1449.PgColumn<{
|
|
1407
|
-
name: "inkeep_user_id";
|
|
1408
|
-
tableName: "work_app_slack_user_mappings";
|
|
1409
|
-
dataType: "string";
|
|
1410
|
-
columnType: "PgText";
|
|
1411
|
-
data: string;
|
|
1412
|
-
driverParam: string;
|
|
1413
|
-
notNull: true;
|
|
1414
|
-
hasDefault: false;
|
|
1415
|
-
isPrimaryKey: false;
|
|
1416
|
-
isAutoincrement: false;
|
|
1417
|
-
hasRuntimeDefault: false;
|
|
1418
|
-
enumValues: [string, ...string[]];
|
|
1419
|
-
baseColumn: never;
|
|
1420
|
-
identity: undefined;
|
|
1421
|
-
generated: undefined;
|
|
1422
|
-
}, {}, {}>;
|
|
1423
|
-
slackUsername: drizzle_orm_pg_core1449.PgColumn<{
|
|
1424
|
-
name: "slack_username";
|
|
1425
|
-
tableName: "work_app_slack_user_mappings";
|
|
1426
|
-
dataType: "string";
|
|
1427
|
-
columnType: "PgVarchar";
|
|
1428
|
-
data: string;
|
|
1429
|
-
driverParam: string;
|
|
1430
|
-
notNull: false;
|
|
1431
|
-
hasDefault: false;
|
|
1432
|
-
isPrimaryKey: false;
|
|
1433
|
-
isAutoincrement: false;
|
|
1434
|
-
hasRuntimeDefault: false;
|
|
1435
|
-
enumValues: [string, ...string[]];
|
|
1436
|
-
baseColumn: never;
|
|
1437
|
-
identity: undefined;
|
|
1438
|
-
generated: undefined;
|
|
1439
|
-
}, {}, {
|
|
1440
|
-
length: 256;
|
|
1441
|
-
}>;
|
|
1442
|
-
slackEmail: drizzle_orm_pg_core1449.PgColumn<{
|
|
1443
|
-
name: "slack_email";
|
|
1444
|
-
tableName: "work_app_slack_user_mappings";
|
|
1445
|
-
dataType: "string";
|
|
1446
|
-
columnType: "PgVarchar";
|
|
1447
|
-
data: string;
|
|
1448
|
-
driverParam: string;
|
|
1449
|
-
notNull: false;
|
|
1450
|
-
hasDefault: false;
|
|
1451
|
-
isPrimaryKey: false;
|
|
1452
|
-
isAutoincrement: false;
|
|
1453
|
-
hasRuntimeDefault: false;
|
|
1454
|
-
enumValues: [string, ...string[]];
|
|
1455
|
-
baseColumn: never;
|
|
1456
|
-
identity: undefined;
|
|
1457
|
-
generated: undefined;
|
|
1458
|
-
}, {}, {
|
|
1459
|
-
length: 256;
|
|
1460
|
-
}>;
|
|
1461
|
-
linkedAt: drizzle_orm_pg_core1449.PgColumn<{
|
|
1462
|
-
name: "linked_at";
|
|
1463
|
-
tableName: "work_app_slack_user_mappings";
|
|
1464
|
-
dataType: "string";
|
|
1465
|
-
columnType: "PgTimestampString";
|
|
1466
|
-
data: string;
|
|
1467
|
-
driverParam: string;
|
|
1468
|
-
notNull: true;
|
|
1469
|
-
hasDefault: true;
|
|
1470
|
-
isPrimaryKey: false;
|
|
1471
|
-
isAutoincrement: false;
|
|
1472
|
-
hasRuntimeDefault: false;
|
|
1473
|
-
enumValues: undefined;
|
|
1474
|
-
baseColumn: never;
|
|
1475
|
-
identity: undefined;
|
|
1476
|
-
generated: undefined;
|
|
1477
|
-
}, {}, {}>;
|
|
1478
|
-
lastUsedAt: drizzle_orm_pg_core1449.PgColumn<{
|
|
1479
|
-
name: "last_used_at";
|
|
1480
|
-
tableName: "work_app_slack_user_mappings";
|
|
1481
|
-
dataType: "string";
|
|
1482
|
-
columnType: "PgTimestampString";
|
|
1483
|
-
data: string;
|
|
1484
|
-
driverParam: string;
|
|
1485
|
-
notNull: false;
|
|
1486
|
-
hasDefault: false;
|
|
1487
|
-
isPrimaryKey: false;
|
|
1488
|
-
isAutoincrement: false;
|
|
1489
|
-
hasRuntimeDefault: false;
|
|
1490
|
-
enumValues: undefined;
|
|
1491
|
-
baseColumn: never;
|
|
1492
|
-
identity: undefined;
|
|
1493
|
-
generated: undefined;
|
|
1494
|
-
}, {}, {}>;
|
|
1495
|
-
};
|
|
1496
|
-
dialect: "pg";
|
|
1497
|
-
}>;
|
|
1498
|
-
/**
|
|
1499
|
-
* Slack channel agent configurations - maps Slack channels to default agents.
|
|
1500
|
-
* Allows admins to set channel-specific agent defaults that override workspace defaults.
|
|
1501
|
-
* Unique per tenant + slackTeamId + slackChannelId.
|
|
1502
|
-
*/
|
|
1503
|
-
declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
1504
|
-
name: "work_app_slack_channel_agent_configs";
|
|
1505
|
-
schema: undefined;
|
|
1506
|
-
columns: {
|
|
1507
|
-
createdAt: drizzle_orm_pg_core1449.PgColumn<{
|
|
1508
|
-
name: "created_at";
|
|
1509
|
-
tableName: "work_app_slack_channel_agent_configs";
|
|
1510
|
-
dataType: "string";
|
|
1511
|
-
columnType: "PgTimestampString";
|
|
1512
|
-
data: string;
|
|
1513
|
-
driverParam: string;
|
|
1514
|
-
notNull: true;
|
|
1515
|
-
hasDefault: true;
|
|
1516
|
-
isPrimaryKey: false;
|
|
1517
|
-
isAutoincrement: false;
|
|
1518
|
-
hasRuntimeDefault: false;
|
|
1519
|
-
enumValues: undefined;
|
|
1520
|
-
baseColumn: never;
|
|
1521
|
-
identity: undefined;
|
|
1522
|
-
generated: undefined;
|
|
1523
|
-
}, {}, {}>;
|
|
1524
|
-
updatedAt: drizzle_orm_pg_core1449.PgColumn<{
|
|
1525
|
-
name: "updated_at";
|
|
1526
|
-
tableName: "work_app_slack_channel_agent_configs";
|
|
1527
|
-
dataType: "string";
|
|
1528
|
-
columnType: "PgTimestampString";
|
|
1529
|
-
data: string;
|
|
1530
|
-
driverParam: string;
|
|
1531
|
-
notNull: true;
|
|
1532
|
-
hasDefault: true;
|
|
1533
|
-
isPrimaryKey: false;
|
|
1534
|
-
isAutoincrement: false;
|
|
1535
|
-
hasRuntimeDefault: false;
|
|
1536
|
-
enumValues: undefined;
|
|
1537
|
-
baseColumn: never;
|
|
1538
|
-
identity: undefined;
|
|
1539
|
-
generated: undefined;
|
|
1540
|
-
}, {}, {}>;
|
|
1541
|
-
id: drizzle_orm_pg_core1449.PgColumn<{
|
|
1542
|
-
name: "id";
|
|
1543
|
-
tableName: "work_app_slack_channel_agent_configs";
|
|
1544
|
-
dataType: "string";
|
|
1545
|
-
columnType: "PgVarchar";
|
|
1546
|
-
data: string;
|
|
1547
|
-
driverParam: string;
|
|
1548
|
-
notNull: true;
|
|
1549
|
-
hasDefault: false;
|
|
1550
|
-
isPrimaryKey: true;
|
|
1551
|
-
isAutoincrement: false;
|
|
1552
|
-
hasRuntimeDefault: false;
|
|
1553
|
-
enumValues: [string, ...string[]];
|
|
1554
|
-
baseColumn: never;
|
|
1555
|
-
identity: undefined;
|
|
1556
|
-
generated: undefined;
|
|
1557
|
-
}, {}, {
|
|
1558
|
-
length: 256;
|
|
1559
|
-
}>;
|
|
1560
|
-
tenantId: drizzle_orm_pg_core1449.PgColumn<{
|
|
1561
|
-
name: "tenant_id";
|
|
1562
|
-
tableName: "work_app_slack_channel_agent_configs";
|
|
1563
|
-
dataType: "string";
|
|
1564
|
-
columnType: "PgVarchar";
|
|
1565
|
-
data: string;
|
|
1566
|
-
driverParam: string;
|
|
1567
|
-
notNull: true;
|
|
1568
|
-
hasDefault: false;
|
|
1569
|
-
isPrimaryKey: false;
|
|
1570
|
-
isAutoincrement: false;
|
|
1571
|
-
hasRuntimeDefault: false;
|
|
1572
|
-
enumValues: [string, ...string[]];
|
|
1573
|
-
baseColumn: never;
|
|
1574
|
-
identity: undefined;
|
|
1575
|
-
generated: undefined;
|
|
1576
|
-
}, {}, {
|
|
1577
|
-
length: 256;
|
|
1578
|
-
}>;
|
|
1579
|
-
slackTeamId: drizzle_orm_pg_core1449.PgColumn<{
|
|
1580
|
-
name: "slack_team_id";
|
|
1581
|
-
tableName: "work_app_slack_channel_agent_configs";
|
|
1582
|
-
dataType: "string";
|
|
1583
|
-
columnType: "PgVarchar";
|
|
1584
|
-
data: string;
|
|
1585
|
-
driverParam: string;
|
|
1586
|
-
notNull: true;
|
|
1587
|
-
hasDefault: false;
|
|
1588
|
-
isPrimaryKey: false;
|
|
1589
|
-
isAutoincrement: false;
|
|
1590
|
-
hasRuntimeDefault: false;
|
|
1591
|
-
enumValues: [string, ...string[]];
|
|
1592
|
-
baseColumn: never;
|
|
1593
|
-
identity: undefined;
|
|
1594
|
-
generated: undefined;
|
|
1595
|
-
}, {}, {
|
|
1596
|
-
length: 256;
|
|
1597
|
-
}>;
|
|
1598
|
-
slackChannelId: drizzle_orm_pg_core1449.PgColumn<{
|
|
1599
|
-
name: "slack_channel_id";
|
|
1600
|
-
tableName: "work_app_slack_channel_agent_configs";
|
|
1601
|
-
dataType: "string";
|
|
1602
|
-
columnType: "PgVarchar";
|
|
1603
|
-
data: string;
|
|
1604
|
-
driverParam: string;
|
|
1605
|
-
notNull: true;
|
|
1606
|
-
hasDefault: false;
|
|
1607
|
-
isPrimaryKey: false;
|
|
1608
|
-
isAutoincrement: false;
|
|
1609
|
-
hasRuntimeDefault: false;
|
|
1610
|
-
enumValues: [string, ...string[]];
|
|
1611
|
-
baseColumn: never;
|
|
1612
|
-
identity: undefined;
|
|
1613
|
-
generated: undefined;
|
|
1614
|
-
}, {}, {
|
|
1615
|
-
length: 256;
|
|
1616
|
-
}>;
|
|
1617
|
-
slackChannelName: drizzle_orm_pg_core1449.PgColumn<{
|
|
1618
|
-
name: "slack_channel_name";
|
|
1619
|
-
tableName: "work_app_slack_channel_agent_configs";
|
|
1620
|
-
dataType: "string";
|
|
1621
|
-
columnType: "PgVarchar";
|
|
1622
|
-
data: string;
|
|
1623
|
-
driverParam: string;
|
|
1624
|
-
notNull: false;
|
|
1625
|
-
hasDefault: false;
|
|
1626
|
-
isPrimaryKey: false;
|
|
1627
|
-
isAutoincrement: false;
|
|
1628
|
-
hasRuntimeDefault: false;
|
|
1629
|
-
enumValues: [string, ...string[]];
|
|
1630
|
-
baseColumn: never;
|
|
1631
|
-
identity: undefined;
|
|
1632
|
-
generated: undefined;
|
|
1633
|
-
}, {}, {
|
|
1634
|
-
length: 256;
|
|
1635
|
-
}>;
|
|
1636
|
-
slackChannelType: drizzle_orm_pg_core1449.PgColumn<{
|
|
1637
|
-
name: "slack_channel_type";
|
|
1638
|
-
tableName: "work_app_slack_channel_agent_configs";
|
|
1639
|
-
dataType: "string";
|
|
1640
|
-
columnType: "PgVarchar";
|
|
1641
|
-
data: string;
|
|
1642
|
-
driverParam: string;
|
|
1643
|
-
notNull: false;
|
|
1644
|
-
hasDefault: false;
|
|
1645
|
-
isPrimaryKey: false;
|
|
1646
|
-
isAutoincrement: false;
|
|
1647
|
-
hasRuntimeDefault: false;
|
|
1648
|
-
enumValues: [string, ...string[]];
|
|
1649
|
-
baseColumn: never;
|
|
1650
|
-
identity: undefined;
|
|
1651
|
-
generated: undefined;
|
|
1652
|
-
}, {}, {
|
|
1653
|
-
length: 50;
|
|
1654
|
-
}>;
|
|
1655
|
-
projectId: drizzle_orm_pg_core1449.PgColumn<{
|
|
1656
|
-
name: "project_id";
|
|
1657
|
-
tableName: "work_app_slack_channel_agent_configs";
|
|
1658
|
-
dataType: "string";
|
|
1659
|
-
columnType: "PgVarchar";
|
|
1660
|
-
data: string;
|
|
1661
|
-
driverParam: string;
|
|
1662
|
-
notNull: true;
|
|
1663
|
-
hasDefault: false;
|
|
1664
|
-
isPrimaryKey: false;
|
|
1665
|
-
isAutoincrement: false;
|
|
1666
|
-
hasRuntimeDefault: false;
|
|
1667
|
-
enumValues: [string, ...string[]];
|
|
1668
|
-
baseColumn: never;
|
|
1669
|
-
identity: undefined;
|
|
1670
|
-
generated: undefined;
|
|
1671
|
-
}, {}, {
|
|
1672
|
-
length: 256;
|
|
1673
|
-
}>;
|
|
1674
|
-
agentId: drizzle_orm_pg_core1449.PgColumn<{
|
|
1675
|
-
name: "agent_id";
|
|
1676
|
-
tableName: "work_app_slack_channel_agent_configs";
|
|
1677
|
-
dataType: "string";
|
|
1678
|
-
columnType: "PgVarchar";
|
|
1679
|
-
data: string;
|
|
1680
|
-
driverParam: string;
|
|
1681
|
-
notNull: true;
|
|
1682
|
-
hasDefault: false;
|
|
1683
|
-
isPrimaryKey: false;
|
|
1684
|
-
isAutoincrement: false;
|
|
1685
|
-
hasRuntimeDefault: false;
|
|
1686
|
-
enumValues: [string, ...string[]];
|
|
1687
|
-
baseColumn: never;
|
|
1688
|
-
identity: undefined;
|
|
1689
|
-
generated: undefined;
|
|
1690
|
-
}, {}, {
|
|
1691
|
-
length: 256;
|
|
1692
|
-
}>;
|
|
1693
|
-
agentName: drizzle_orm_pg_core1449.PgColumn<{
|
|
1694
|
-
name: "agent_name";
|
|
1695
|
-
tableName: "work_app_slack_channel_agent_configs";
|
|
1696
|
-
dataType: "string";
|
|
1697
|
-
columnType: "PgVarchar";
|
|
1698
|
-
data: string;
|
|
1699
|
-
driverParam: string;
|
|
1700
|
-
notNull: false;
|
|
1701
|
-
hasDefault: false;
|
|
1702
|
-
isPrimaryKey: false;
|
|
1703
|
-
isAutoincrement: false;
|
|
1704
|
-
hasRuntimeDefault: false;
|
|
1705
|
-
enumValues: [string, ...string[]];
|
|
1706
|
-
baseColumn: never;
|
|
1707
|
-
identity: undefined;
|
|
1708
|
-
generated: undefined;
|
|
1709
|
-
}, {}, {
|
|
1710
|
-
length: 256;
|
|
1711
|
-
}>;
|
|
1712
|
-
configuredByUserId: drizzle_orm_pg_core1449.PgColumn<{
|
|
1713
|
-
name: "configured_by_user_id";
|
|
1714
|
-
tableName: "work_app_slack_channel_agent_configs";
|
|
1715
|
-
dataType: "string";
|
|
1716
|
-
columnType: "PgText";
|
|
1717
|
-
data: string;
|
|
1718
|
-
driverParam: string;
|
|
1719
|
-
notNull: false;
|
|
1720
|
-
hasDefault: false;
|
|
1721
|
-
isPrimaryKey: false;
|
|
1722
|
-
isAutoincrement: false;
|
|
1723
|
-
hasRuntimeDefault: false;
|
|
1724
|
-
enumValues: [string, ...string[]];
|
|
1725
|
-
baseColumn: never;
|
|
1726
|
-
identity: undefined;
|
|
1727
|
-
generated: undefined;
|
|
1728
|
-
}, {}, {}>;
|
|
1729
|
-
enabled: drizzle_orm_pg_core1449.PgColumn<{
|
|
1730
|
-
name: "enabled";
|
|
1731
|
-
tableName: "work_app_slack_channel_agent_configs";
|
|
1732
|
-
dataType: "boolean";
|
|
1733
|
-
columnType: "PgBoolean";
|
|
1734
|
-
data: boolean;
|
|
1735
|
-
driverParam: boolean;
|
|
1736
|
-
notNull: true;
|
|
1737
|
-
hasDefault: true;
|
|
1738
|
-
isPrimaryKey: false;
|
|
1739
|
-
isAutoincrement: false;
|
|
1740
|
-
hasRuntimeDefault: false;
|
|
1741
|
-
enumValues: undefined;
|
|
1742
|
-
baseColumn: never;
|
|
1743
|
-
identity: undefined;
|
|
1744
|
-
generated: undefined;
|
|
1745
|
-
}, {}, {}>;
|
|
1746
|
-
};
|
|
1747
|
-
dialect: "pg";
|
|
1748
|
-
}>;
|
|
1749
|
-
declare const messages: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
1015
|
+
declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
1750
1016
|
name: "messages";
|
|
1751
1017
|
schema: undefined;
|
|
1752
1018
|
columns: {
|
|
1753
|
-
createdAt:
|
|
1019
|
+
createdAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
1754
1020
|
name: "created_at";
|
|
1755
1021
|
tableName: "messages";
|
|
1756
1022
|
dataType: "string";
|
|
@@ -1767,7 +1033,7 @@ declare const messages: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
1767
1033
|
identity: undefined;
|
|
1768
1034
|
generated: undefined;
|
|
1769
1035
|
}, {}, {}>;
|
|
1770
|
-
updatedAt:
|
|
1036
|
+
updatedAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
1771
1037
|
name: "updated_at";
|
|
1772
1038
|
tableName: "messages";
|
|
1773
1039
|
dataType: "string";
|
|
@@ -1784,7 +1050,7 @@ declare const messages: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
1784
1050
|
identity: undefined;
|
|
1785
1051
|
generated: undefined;
|
|
1786
1052
|
}, {}, {}>;
|
|
1787
|
-
conversationId:
|
|
1053
|
+
conversationId: drizzle_orm_pg_core1674.PgColumn<{
|
|
1788
1054
|
name: "conversation_id";
|
|
1789
1055
|
tableName: "messages";
|
|
1790
1056
|
dataType: "string";
|
|
@@ -1803,7 +1069,7 @@ declare const messages: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
1803
1069
|
}, {}, {
|
|
1804
1070
|
length: 256;
|
|
1805
1071
|
}>;
|
|
1806
|
-
role:
|
|
1072
|
+
role: drizzle_orm_pg_core1674.PgColumn<{
|
|
1807
1073
|
name: "role";
|
|
1808
1074
|
tableName: "messages";
|
|
1809
1075
|
dataType: "string";
|
|
@@ -1822,7 +1088,7 @@ declare const messages: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
1822
1088
|
}, {}, {
|
|
1823
1089
|
length: 256;
|
|
1824
1090
|
}>;
|
|
1825
|
-
fromSubAgentId:
|
|
1091
|
+
fromSubAgentId: drizzle_orm_pg_core1674.PgColumn<{
|
|
1826
1092
|
name: "from_sub_agent_id";
|
|
1827
1093
|
tableName: "messages";
|
|
1828
1094
|
dataType: "string";
|
|
@@ -1841,7 +1107,7 @@ declare const messages: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
1841
1107
|
}, {}, {
|
|
1842
1108
|
length: 256;
|
|
1843
1109
|
}>;
|
|
1844
|
-
toSubAgentId:
|
|
1110
|
+
toSubAgentId: drizzle_orm_pg_core1674.PgColumn<{
|
|
1845
1111
|
name: "to_sub_agent_id";
|
|
1846
1112
|
tableName: "messages";
|
|
1847
1113
|
dataType: "string";
|
|
@@ -1860,7 +1126,7 @@ declare const messages: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
1860
1126
|
}, {}, {
|
|
1861
1127
|
length: 256;
|
|
1862
1128
|
}>;
|
|
1863
|
-
fromExternalAgentId:
|
|
1129
|
+
fromExternalAgentId: drizzle_orm_pg_core1674.PgColumn<{
|
|
1864
1130
|
name: "from_external_sub_agent_id";
|
|
1865
1131
|
tableName: "messages";
|
|
1866
1132
|
dataType: "string";
|
|
@@ -1879,7 +1145,7 @@ declare const messages: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
1879
1145
|
}, {}, {
|
|
1880
1146
|
length: 256;
|
|
1881
1147
|
}>;
|
|
1882
|
-
toExternalAgentId:
|
|
1148
|
+
toExternalAgentId: drizzle_orm_pg_core1674.PgColumn<{
|
|
1883
1149
|
name: "to_external_sub_agent_id";
|
|
1884
1150
|
tableName: "messages";
|
|
1885
1151
|
dataType: "string";
|
|
@@ -1898,7 +1164,7 @@ declare const messages: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
1898
1164
|
}, {}, {
|
|
1899
1165
|
length: 256;
|
|
1900
1166
|
}>;
|
|
1901
|
-
fromTeamAgentId:
|
|
1167
|
+
fromTeamAgentId: drizzle_orm_pg_core1674.PgColumn<{
|
|
1902
1168
|
name: "from_team_agent_id";
|
|
1903
1169
|
tableName: "messages";
|
|
1904
1170
|
dataType: "string";
|
|
@@ -1917,7 +1183,7 @@ declare const messages: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
1917
1183
|
}, {}, {
|
|
1918
1184
|
length: 256;
|
|
1919
1185
|
}>;
|
|
1920
|
-
toTeamAgentId:
|
|
1186
|
+
toTeamAgentId: drizzle_orm_pg_core1674.PgColumn<{
|
|
1921
1187
|
name: "to_team_agent_id";
|
|
1922
1188
|
tableName: "messages";
|
|
1923
1189
|
dataType: "string";
|
|
@@ -1936,7 +1202,7 @@ declare const messages: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
1936
1202
|
}, {}, {
|
|
1937
1203
|
length: 256;
|
|
1938
1204
|
}>;
|
|
1939
|
-
content:
|
|
1205
|
+
content: drizzle_orm_pg_core1674.PgColumn<{
|
|
1940
1206
|
name: "content";
|
|
1941
1207
|
tableName: "messages";
|
|
1942
1208
|
dataType: "json";
|
|
@@ -1955,7 +1221,7 @@ declare const messages: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
1955
1221
|
}, {}, {
|
|
1956
1222
|
$type: MessageContent;
|
|
1957
1223
|
}>;
|
|
1958
|
-
visibility:
|
|
1224
|
+
visibility: drizzle_orm_pg_core1674.PgColumn<{
|
|
1959
1225
|
name: "visibility";
|
|
1960
1226
|
tableName: "messages";
|
|
1961
1227
|
dataType: "string";
|
|
@@ -1974,7 +1240,7 @@ declare const messages: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
1974
1240
|
}, {}, {
|
|
1975
1241
|
length: 256;
|
|
1976
1242
|
}>;
|
|
1977
|
-
messageType:
|
|
1243
|
+
messageType: drizzle_orm_pg_core1674.PgColumn<{
|
|
1978
1244
|
name: "message_type";
|
|
1979
1245
|
tableName: "messages";
|
|
1980
1246
|
dataType: "string";
|
|
@@ -1993,7 +1259,7 @@ declare const messages: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
1993
1259
|
}, {}, {
|
|
1994
1260
|
length: 256;
|
|
1995
1261
|
}>;
|
|
1996
|
-
taskId:
|
|
1262
|
+
taskId: drizzle_orm_pg_core1674.PgColumn<{
|
|
1997
1263
|
name: "task_id";
|
|
1998
1264
|
tableName: "messages";
|
|
1999
1265
|
dataType: "string";
|
|
@@ -2012,7 +1278,7 @@ declare const messages: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2012
1278
|
}, {}, {
|
|
2013
1279
|
length: 256;
|
|
2014
1280
|
}>;
|
|
2015
|
-
parentMessageId:
|
|
1281
|
+
parentMessageId: drizzle_orm_pg_core1674.PgColumn<{
|
|
2016
1282
|
name: "parent_message_id";
|
|
2017
1283
|
tableName: "messages";
|
|
2018
1284
|
dataType: "string";
|
|
@@ -2031,7 +1297,7 @@ declare const messages: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2031
1297
|
}, {}, {
|
|
2032
1298
|
length: 256;
|
|
2033
1299
|
}>;
|
|
2034
|
-
a2aTaskId:
|
|
1300
|
+
a2aTaskId: drizzle_orm_pg_core1674.PgColumn<{
|
|
2035
1301
|
name: "a2a_task_id";
|
|
2036
1302
|
tableName: "messages";
|
|
2037
1303
|
dataType: "string";
|
|
@@ -2050,7 +1316,7 @@ declare const messages: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2050
1316
|
}, {}, {
|
|
2051
1317
|
length: 256;
|
|
2052
1318
|
}>;
|
|
2053
|
-
a2aSessionId:
|
|
1319
|
+
a2aSessionId: drizzle_orm_pg_core1674.PgColumn<{
|
|
2054
1320
|
name: "a2a_session_id";
|
|
2055
1321
|
tableName: "messages";
|
|
2056
1322
|
dataType: "string";
|
|
@@ -2069,7 +1335,7 @@ declare const messages: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2069
1335
|
}, {}, {
|
|
2070
1336
|
length: 256;
|
|
2071
1337
|
}>;
|
|
2072
|
-
metadata:
|
|
1338
|
+
metadata: drizzle_orm_pg_core1674.PgColumn<{
|
|
2073
1339
|
name: "metadata";
|
|
2074
1340
|
tableName: "messages";
|
|
2075
1341
|
dataType: "json";
|
|
@@ -2088,7 +1354,7 @@ declare const messages: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2088
1354
|
}, {}, {
|
|
2089
1355
|
$type: MessageMetadata;
|
|
2090
1356
|
}>;
|
|
2091
|
-
projectId:
|
|
1357
|
+
projectId: drizzle_orm_pg_core1674.PgColumn<{
|
|
2092
1358
|
name: "project_id";
|
|
2093
1359
|
tableName: "messages";
|
|
2094
1360
|
dataType: "string";
|
|
@@ -2107,7 +1373,7 @@ declare const messages: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2107
1373
|
}, {}, {
|
|
2108
1374
|
length: 256;
|
|
2109
1375
|
}>;
|
|
2110
|
-
tenantId:
|
|
1376
|
+
tenantId: drizzle_orm_pg_core1674.PgColumn<{
|
|
2111
1377
|
name: "tenant_id";
|
|
2112
1378
|
tableName: "messages";
|
|
2113
1379
|
dataType: "string";
|
|
@@ -2126,7 +1392,7 @@ declare const messages: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2126
1392
|
}, {}, {
|
|
2127
1393
|
length: 256;
|
|
2128
1394
|
}>;
|
|
2129
|
-
id:
|
|
1395
|
+
id: drizzle_orm_pg_core1674.PgColumn<{
|
|
2130
1396
|
name: "id";
|
|
2131
1397
|
tableName: "messages";
|
|
2132
1398
|
dataType: "string";
|
|
@@ -2148,11 +1414,11 @@ declare const messages: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2148
1414
|
};
|
|
2149
1415
|
dialect: "pg";
|
|
2150
1416
|
}>;
|
|
2151
|
-
declare const taskRelations:
|
|
1417
|
+
declare const taskRelations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
2152
1418
|
name: "task_relations";
|
|
2153
1419
|
schema: undefined;
|
|
2154
1420
|
columns: {
|
|
2155
|
-
createdAt:
|
|
1421
|
+
createdAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
2156
1422
|
name: "created_at";
|
|
2157
1423
|
tableName: "task_relations";
|
|
2158
1424
|
dataType: "string";
|
|
@@ -2169,7 +1435,7 @@ declare const taskRelations: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2169
1435
|
identity: undefined;
|
|
2170
1436
|
generated: undefined;
|
|
2171
1437
|
}, {}, {}>;
|
|
2172
|
-
updatedAt:
|
|
1438
|
+
updatedAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
2173
1439
|
name: "updated_at";
|
|
2174
1440
|
tableName: "task_relations";
|
|
2175
1441
|
dataType: "string";
|
|
@@ -2186,7 +1452,7 @@ declare const taskRelations: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2186
1452
|
identity: undefined;
|
|
2187
1453
|
generated: undefined;
|
|
2188
1454
|
}, {}, {}>;
|
|
2189
|
-
parentTaskId:
|
|
1455
|
+
parentTaskId: drizzle_orm_pg_core1674.PgColumn<{
|
|
2190
1456
|
name: "parent_task_id";
|
|
2191
1457
|
tableName: "task_relations";
|
|
2192
1458
|
dataType: "string";
|
|
@@ -2205,7 +1471,7 @@ declare const taskRelations: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2205
1471
|
}, {}, {
|
|
2206
1472
|
length: 256;
|
|
2207
1473
|
}>;
|
|
2208
|
-
childTaskId:
|
|
1474
|
+
childTaskId: drizzle_orm_pg_core1674.PgColumn<{
|
|
2209
1475
|
name: "child_task_id";
|
|
2210
1476
|
tableName: "task_relations";
|
|
2211
1477
|
dataType: "string";
|
|
@@ -2224,7 +1490,7 @@ declare const taskRelations: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2224
1490
|
}, {}, {
|
|
2225
1491
|
length: 256;
|
|
2226
1492
|
}>;
|
|
2227
|
-
relationType:
|
|
1493
|
+
relationType: drizzle_orm_pg_core1674.PgColumn<{
|
|
2228
1494
|
name: "relation_type";
|
|
2229
1495
|
tableName: "task_relations";
|
|
2230
1496
|
dataType: "string";
|
|
@@ -2243,7 +1509,7 @@ declare const taskRelations: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2243
1509
|
}, {}, {
|
|
2244
1510
|
length: 256;
|
|
2245
1511
|
}>;
|
|
2246
|
-
projectId:
|
|
1512
|
+
projectId: drizzle_orm_pg_core1674.PgColumn<{
|
|
2247
1513
|
name: "project_id";
|
|
2248
1514
|
tableName: "task_relations";
|
|
2249
1515
|
dataType: "string";
|
|
@@ -2262,7 +1528,7 @@ declare const taskRelations: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2262
1528
|
}, {}, {
|
|
2263
1529
|
length: 256;
|
|
2264
1530
|
}>;
|
|
2265
|
-
tenantId:
|
|
1531
|
+
tenantId: drizzle_orm_pg_core1674.PgColumn<{
|
|
2266
1532
|
name: "tenant_id";
|
|
2267
1533
|
tableName: "task_relations";
|
|
2268
1534
|
dataType: "string";
|
|
@@ -2281,7 +1547,7 @@ declare const taskRelations: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2281
1547
|
}, {}, {
|
|
2282
1548
|
length: 256;
|
|
2283
1549
|
}>;
|
|
2284
|
-
id:
|
|
1550
|
+
id: drizzle_orm_pg_core1674.PgColumn<{
|
|
2285
1551
|
name: "id";
|
|
2286
1552
|
tableName: "task_relations";
|
|
2287
1553
|
dataType: "string";
|
|
@@ -2303,11 +1569,11 @@ declare const taskRelations: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2303
1569
|
};
|
|
2304
1570
|
dialect: "pg";
|
|
2305
1571
|
}>;
|
|
2306
|
-
declare const ledgerArtifacts:
|
|
1572
|
+
declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
2307
1573
|
name: "ledger_artifacts";
|
|
2308
1574
|
schema: undefined;
|
|
2309
1575
|
columns: {
|
|
2310
|
-
createdAt:
|
|
1576
|
+
createdAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
2311
1577
|
name: "created_at";
|
|
2312
1578
|
tableName: "ledger_artifacts";
|
|
2313
1579
|
dataType: "string";
|
|
@@ -2324,7 +1590,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2324
1590
|
identity: undefined;
|
|
2325
1591
|
generated: undefined;
|
|
2326
1592
|
}, {}, {}>;
|
|
2327
|
-
updatedAt:
|
|
1593
|
+
updatedAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
2328
1594
|
name: "updated_at";
|
|
2329
1595
|
tableName: "ledger_artifacts";
|
|
2330
1596
|
dataType: "string";
|
|
@@ -2341,7 +1607,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2341
1607
|
identity: undefined;
|
|
2342
1608
|
generated: undefined;
|
|
2343
1609
|
}, {}, {}>;
|
|
2344
|
-
taskId:
|
|
1610
|
+
taskId: drizzle_orm_pg_core1674.PgColumn<{
|
|
2345
1611
|
name: "task_id";
|
|
2346
1612
|
tableName: "ledger_artifacts";
|
|
2347
1613
|
dataType: "string";
|
|
@@ -2360,7 +1626,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2360
1626
|
}, {}, {
|
|
2361
1627
|
length: 256;
|
|
2362
1628
|
}>;
|
|
2363
|
-
toolCallId:
|
|
1629
|
+
toolCallId: drizzle_orm_pg_core1674.PgColumn<{
|
|
2364
1630
|
name: "tool_call_id";
|
|
2365
1631
|
tableName: "ledger_artifacts";
|
|
2366
1632
|
dataType: "string";
|
|
@@ -2379,7 +1645,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2379
1645
|
}, {}, {
|
|
2380
1646
|
length: 256;
|
|
2381
1647
|
}>;
|
|
2382
|
-
contextId:
|
|
1648
|
+
contextId: drizzle_orm_pg_core1674.PgColumn<{
|
|
2383
1649
|
name: "context_id";
|
|
2384
1650
|
tableName: "ledger_artifacts";
|
|
2385
1651
|
dataType: "string";
|
|
@@ -2398,7 +1664,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2398
1664
|
}, {}, {
|
|
2399
1665
|
length: 256;
|
|
2400
1666
|
}>;
|
|
2401
|
-
type:
|
|
1667
|
+
type: drizzle_orm_pg_core1674.PgColumn<{
|
|
2402
1668
|
name: "type";
|
|
2403
1669
|
tableName: "ledger_artifacts";
|
|
2404
1670
|
dataType: "string";
|
|
@@ -2417,7 +1683,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2417
1683
|
}, {}, {
|
|
2418
1684
|
length: 256;
|
|
2419
1685
|
}>;
|
|
2420
|
-
name:
|
|
1686
|
+
name: drizzle_orm_pg_core1674.PgColumn<{
|
|
2421
1687
|
name: "name";
|
|
2422
1688
|
tableName: "ledger_artifacts";
|
|
2423
1689
|
dataType: "string";
|
|
@@ -2436,7 +1702,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2436
1702
|
}, {}, {
|
|
2437
1703
|
length: 256;
|
|
2438
1704
|
}>;
|
|
2439
|
-
description:
|
|
1705
|
+
description: drizzle_orm_pg_core1674.PgColumn<{
|
|
2440
1706
|
name: "description";
|
|
2441
1707
|
tableName: "ledger_artifacts";
|
|
2442
1708
|
dataType: "string";
|
|
@@ -2453,7 +1719,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2453
1719
|
identity: undefined;
|
|
2454
1720
|
generated: undefined;
|
|
2455
1721
|
}, {}, {}>;
|
|
2456
|
-
parts:
|
|
1722
|
+
parts: drizzle_orm_pg_core1674.PgColumn<{
|
|
2457
1723
|
name: "parts";
|
|
2458
1724
|
tableName: "ledger_artifacts";
|
|
2459
1725
|
dataType: "json";
|
|
@@ -2472,7 +1738,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2472
1738
|
}, {}, {
|
|
2473
1739
|
$type: Part[] | null;
|
|
2474
1740
|
}>;
|
|
2475
|
-
metadata:
|
|
1741
|
+
metadata: drizzle_orm_pg_core1674.PgColumn<{
|
|
2476
1742
|
name: "metadata";
|
|
2477
1743
|
tableName: "ledger_artifacts";
|
|
2478
1744
|
dataType: "json";
|
|
@@ -2491,7 +1757,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2491
1757
|
}, {}, {
|
|
2492
1758
|
$type: Record<string, unknown> | null;
|
|
2493
1759
|
}>;
|
|
2494
|
-
summary:
|
|
1760
|
+
summary: drizzle_orm_pg_core1674.PgColumn<{
|
|
2495
1761
|
name: "summary";
|
|
2496
1762
|
tableName: "ledger_artifacts";
|
|
2497
1763
|
dataType: "string";
|
|
@@ -2508,7 +1774,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2508
1774
|
identity: undefined;
|
|
2509
1775
|
generated: undefined;
|
|
2510
1776
|
}, {}, {}>;
|
|
2511
|
-
mime:
|
|
1777
|
+
mime: drizzle_orm_pg_core1674.PgColumn<{
|
|
2512
1778
|
name: "mime";
|
|
2513
1779
|
tableName: "ledger_artifacts";
|
|
2514
1780
|
dataType: "json";
|
|
@@ -2527,7 +1793,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2527
1793
|
}, {}, {
|
|
2528
1794
|
$type: string[] | null;
|
|
2529
1795
|
}>;
|
|
2530
|
-
visibility:
|
|
1796
|
+
visibility: drizzle_orm_pg_core1674.PgColumn<{
|
|
2531
1797
|
name: "visibility";
|
|
2532
1798
|
tableName: "ledger_artifacts";
|
|
2533
1799
|
dataType: "string";
|
|
@@ -2546,7 +1812,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2546
1812
|
}, {}, {
|
|
2547
1813
|
length: 256;
|
|
2548
1814
|
}>;
|
|
2549
|
-
allowedAgents:
|
|
1815
|
+
allowedAgents: drizzle_orm_pg_core1674.PgColumn<{
|
|
2550
1816
|
name: "allowed_agents";
|
|
2551
1817
|
tableName: "ledger_artifacts";
|
|
2552
1818
|
dataType: "json";
|
|
@@ -2565,7 +1831,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2565
1831
|
}, {}, {
|
|
2566
1832
|
$type: string[] | null;
|
|
2567
1833
|
}>;
|
|
2568
|
-
derivedFrom:
|
|
1834
|
+
derivedFrom: drizzle_orm_pg_core1674.PgColumn<{
|
|
2569
1835
|
name: "derived_from";
|
|
2570
1836
|
tableName: "ledger_artifacts";
|
|
2571
1837
|
dataType: "string";
|
|
@@ -2584,7 +1850,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2584
1850
|
}, {}, {
|
|
2585
1851
|
length: 256;
|
|
2586
1852
|
}>;
|
|
2587
|
-
projectId:
|
|
1853
|
+
projectId: drizzle_orm_pg_core1674.PgColumn<{
|
|
2588
1854
|
name: "project_id";
|
|
2589
1855
|
tableName: "ledger_artifacts";
|
|
2590
1856
|
dataType: "string";
|
|
@@ -2603,7 +1869,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2603
1869
|
}, {}, {
|
|
2604
1870
|
length: 256;
|
|
2605
1871
|
}>;
|
|
2606
|
-
tenantId:
|
|
1872
|
+
tenantId: drizzle_orm_pg_core1674.PgColumn<{
|
|
2607
1873
|
name: "tenant_id";
|
|
2608
1874
|
tableName: "ledger_artifacts";
|
|
2609
1875
|
dataType: "string";
|
|
@@ -2622,7 +1888,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2622
1888
|
}, {}, {
|
|
2623
1889
|
length: 256;
|
|
2624
1890
|
}>;
|
|
2625
|
-
id:
|
|
1891
|
+
id: drizzle_orm_pg_core1674.PgColumn<{
|
|
2626
1892
|
name: "id";
|
|
2627
1893
|
tableName: "ledger_artifacts";
|
|
2628
1894
|
dataType: "string";
|
|
@@ -2644,11 +1910,11 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2644
1910
|
};
|
|
2645
1911
|
dialect: "pg";
|
|
2646
1912
|
}>;
|
|
2647
|
-
declare const contextCache:
|
|
1913
|
+
declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
2648
1914
|
name: "context_cache";
|
|
2649
1915
|
schema: undefined;
|
|
2650
1916
|
columns: {
|
|
2651
|
-
createdAt:
|
|
1917
|
+
createdAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
2652
1918
|
name: "created_at";
|
|
2653
1919
|
tableName: "context_cache";
|
|
2654
1920
|
dataType: "string";
|
|
@@ -2665,7 +1931,7 @@ declare const contextCache: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2665
1931
|
identity: undefined;
|
|
2666
1932
|
generated: undefined;
|
|
2667
1933
|
}, {}, {}>;
|
|
2668
|
-
updatedAt:
|
|
1934
|
+
updatedAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
2669
1935
|
name: "updated_at";
|
|
2670
1936
|
tableName: "context_cache";
|
|
2671
1937
|
dataType: "string";
|
|
@@ -2682,7 +1948,7 @@ declare const contextCache: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2682
1948
|
identity: undefined;
|
|
2683
1949
|
generated: undefined;
|
|
2684
1950
|
}, {}, {}>;
|
|
2685
|
-
conversationId:
|
|
1951
|
+
conversationId: drizzle_orm_pg_core1674.PgColumn<{
|
|
2686
1952
|
name: "conversation_id";
|
|
2687
1953
|
tableName: "context_cache";
|
|
2688
1954
|
dataType: "string";
|
|
@@ -2701,7 +1967,7 @@ declare const contextCache: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2701
1967
|
}, {}, {
|
|
2702
1968
|
length: 256;
|
|
2703
1969
|
}>;
|
|
2704
|
-
contextConfigId:
|
|
1970
|
+
contextConfigId: drizzle_orm_pg_core1674.PgColumn<{
|
|
2705
1971
|
name: "context_config_id";
|
|
2706
1972
|
tableName: "context_cache";
|
|
2707
1973
|
dataType: "string";
|
|
@@ -2720,7 +1986,7 @@ declare const contextCache: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2720
1986
|
}, {}, {
|
|
2721
1987
|
length: 256;
|
|
2722
1988
|
}>;
|
|
2723
|
-
contextVariableKey:
|
|
1989
|
+
contextVariableKey: drizzle_orm_pg_core1674.PgColumn<{
|
|
2724
1990
|
name: "context_variable_key";
|
|
2725
1991
|
tableName: "context_cache";
|
|
2726
1992
|
dataType: "string";
|
|
@@ -2739,13 +2005,13 @@ declare const contextCache: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2739
2005
|
}, {}, {
|
|
2740
2006
|
length: 256;
|
|
2741
2007
|
}>;
|
|
2742
|
-
ref:
|
|
2008
|
+
ref: drizzle_orm_pg_core1674.PgColumn<{
|
|
2743
2009
|
name: "ref";
|
|
2744
2010
|
tableName: "context_cache";
|
|
2745
2011
|
dataType: "json";
|
|
2746
2012
|
columnType: "PgJsonb";
|
|
2747
2013
|
data: {
|
|
2748
|
-
type: "
|
|
2014
|
+
type: "commit" | "tag" | "branch";
|
|
2749
2015
|
name: string;
|
|
2750
2016
|
hash: string;
|
|
2751
2017
|
};
|
|
@@ -2761,12 +2027,12 @@ declare const contextCache: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2761
2027
|
generated: undefined;
|
|
2762
2028
|
}, {}, {
|
|
2763
2029
|
$type: {
|
|
2764
|
-
type: "
|
|
2030
|
+
type: "commit" | "tag" | "branch";
|
|
2765
2031
|
name: string;
|
|
2766
2032
|
hash: string;
|
|
2767
2033
|
};
|
|
2768
2034
|
}>;
|
|
2769
|
-
value:
|
|
2035
|
+
value: drizzle_orm_pg_core1674.PgColumn<{
|
|
2770
2036
|
name: "value";
|
|
2771
2037
|
tableName: "context_cache";
|
|
2772
2038
|
dataType: "json";
|
|
@@ -2785,7 +2051,7 @@ declare const contextCache: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2785
2051
|
}, {}, {
|
|
2786
2052
|
$type: unknown;
|
|
2787
2053
|
}>;
|
|
2788
|
-
requestHash:
|
|
2054
|
+
requestHash: drizzle_orm_pg_core1674.PgColumn<{
|
|
2789
2055
|
name: "request_hash";
|
|
2790
2056
|
tableName: "context_cache";
|
|
2791
2057
|
dataType: "string";
|
|
@@ -2804,7 +2070,7 @@ declare const contextCache: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2804
2070
|
}, {}, {
|
|
2805
2071
|
length: 256;
|
|
2806
2072
|
}>;
|
|
2807
|
-
fetchedAt:
|
|
2073
|
+
fetchedAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
2808
2074
|
name: "fetched_at";
|
|
2809
2075
|
tableName: "context_cache";
|
|
2810
2076
|
dataType: "string";
|
|
@@ -2821,7 +2087,7 @@ declare const contextCache: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2821
2087
|
identity: undefined;
|
|
2822
2088
|
generated: undefined;
|
|
2823
2089
|
}, {}, {}>;
|
|
2824
|
-
fetchSource:
|
|
2090
|
+
fetchSource: drizzle_orm_pg_core1674.PgColumn<{
|
|
2825
2091
|
name: "fetch_source";
|
|
2826
2092
|
tableName: "context_cache";
|
|
2827
2093
|
dataType: "string";
|
|
@@ -2840,7 +2106,7 @@ declare const contextCache: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2840
2106
|
}, {}, {
|
|
2841
2107
|
length: 256;
|
|
2842
2108
|
}>;
|
|
2843
|
-
projectId:
|
|
2109
|
+
projectId: drizzle_orm_pg_core1674.PgColumn<{
|
|
2844
2110
|
name: "project_id";
|
|
2845
2111
|
tableName: "context_cache";
|
|
2846
2112
|
dataType: "string";
|
|
@@ -2859,7 +2125,7 @@ declare const contextCache: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2859
2125
|
}, {}, {
|
|
2860
2126
|
length: 256;
|
|
2861
2127
|
}>;
|
|
2862
|
-
tenantId:
|
|
2128
|
+
tenantId: drizzle_orm_pg_core1674.PgColumn<{
|
|
2863
2129
|
name: "tenant_id";
|
|
2864
2130
|
tableName: "context_cache";
|
|
2865
2131
|
dataType: "string";
|
|
@@ -2878,7 +2144,7 @@ declare const contextCache: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2878
2144
|
}, {}, {
|
|
2879
2145
|
length: 256;
|
|
2880
2146
|
}>;
|
|
2881
|
-
id:
|
|
2147
|
+
id: drizzle_orm_pg_core1674.PgColumn<{
|
|
2882
2148
|
name: "id";
|
|
2883
2149
|
tableName: "context_cache";
|
|
2884
2150
|
dataType: "string";
|
|
@@ -2913,11 +2179,11 @@ declare const contextCache: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2913
2179
|
* datasetRunConfigId (optional: if created from a config),
|
|
2914
2180
|
* evaluationJobConfigId (optional: links to evaluation job created for this run), and timestamps
|
|
2915
2181
|
*/
|
|
2916
|
-
declare const datasetRun:
|
|
2182
|
+
declare const datasetRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
2917
2183
|
name: "dataset_run";
|
|
2918
2184
|
schema: undefined;
|
|
2919
2185
|
columns: {
|
|
2920
|
-
createdAt:
|
|
2186
|
+
createdAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
2921
2187
|
name: "created_at";
|
|
2922
2188
|
tableName: "dataset_run";
|
|
2923
2189
|
dataType: "string";
|
|
@@ -2934,7 +2200,7 @@ declare const datasetRun: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2934
2200
|
identity: undefined;
|
|
2935
2201
|
generated: undefined;
|
|
2936
2202
|
}, {}, {}>;
|
|
2937
|
-
updatedAt:
|
|
2203
|
+
updatedAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
2938
2204
|
name: "updated_at";
|
|
2939
2205
|
tableName: "dataset_run";
|
|
2940
2206
|
dataType: "string";
|
|
@@ -2951,7 +2217,7 @@ declare const datasetRun: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2951
2217
|
identity: undefined;
|
|
2952
2218
|
generated: undefined;
|
|
2953
2219
|
}, {}, {}>;
|
|
2954
|
-
datasetId:
|
|
2220
|
+
datasetId: drizzle_orm_pg_core1674.PgColumn<{
|
|
2955
2221
|
name: "dataset_id";
|
|
2956
2222
|
tableName: "dataset_run";
|
|
2957
2223
|
dataType: "string";
|
|
@@ -2968,7 +2234,7 @@ declare const datasetRun: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2968
2234
|
identity: undefined;
|
|
2969
2235
|
generated: undefined;
|
|
2970
2236
|
}, {}, {}>;
|
|
2971
|
-
datasetRunConfigId:
|
|
2237
|
+
datasetRunConfigId: drizzle_orm_pg_core1674.PgColumn<{
|
|
2972
2238
|
name: "dataset_run_config_id";
|
|
2973
2239
|
tableName: "dataset_run";
|
|
2974
2240
|
dataType: "string";
|
|
@@ -2985,7 +2251,7 @@ declare const datasetRun: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
2985
2251
|
identity: undefined;
|
|
2986
2252
|
generated: undefined;
|
|
2987
2253
|
}, {}, {}>;
|
|
2988
|
-
evaluationJobConfigId:
|
|
2254
|
+
evaluationJobConfigId: drizzle_orm_pg_core1674.PgColumn<{
|
|
2989
2255
|
name: "evaluation_job_config_id";
|
|
2990
2256
|
tableName: "dataset_run";
|
|
2991
2257
|
dataType: "string";
|
|
@@ -3002,7 +2268,7 @@ declare const datasetRun: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
3002
2268
|
identity: undefined;
|
|
3003
2269
|
generated: undefined;
|
|
3004
2270
|
}, {}, {}>;
|
|
3005
|
-
projectId:
|
|
2271
|
+
projectId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3006
2272
|
name: "project_id";
|
|
3007
2273
|
tableName: "dataset_run";
|
|
3008
2274
|
dataType: "string";
|
|
@@ -3021,7 +2287,7 @@ declare const datasetRun: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
3021
2287
|
}, {}, {
|
|
3022
2288
|
length: 256;
|
|
3023
2289
|
}>;
|
|
3024
|
-
tenantId:
|
|
2290
|
+
tenantId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3025
2291
|
name: "tenant_id";
|
|
3026
2292
|
tableName: "dataset_run";
|
|
3027
2293
|
dataType: "string";
|
|
@@ -3040,7 +2306,7 @@ declare const datasetRun: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
3040
2306
|
}, {}, {
|
|
3041
2307
|
length: 256;
|
|
3042
2308
|
}>;
|
|
3043
|
-
id:
|
|
2309
|
+
id: drizzle_orm_pg_core1674.PgColumn<{
|
|
3044
2310
|
name: "id";
|
|
3045
2311
|
tableName: "dataset_run";
|
|
3046
2312
|
dataType: "string";
|
|
@@ -3073,11 +2339,11 @@ declare const datasetRun: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
3073
2339
|
* unique constraint on (datasetRunId, conversationId) ensures one conversation per datasetRun,
|
|
3074
2340
|
* and timestamps
|
|
3075
2341
|
*/
|
|
3076
|
-
declare const datasetRunConversationRelations:
|
|
2342
|
+
declare const datasetRunConversationRelations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
3077
2343
|
name: "dataset_run_conversation_relations";
|
|
3078
2344
|
schema: undefined;
|
|
3079
2345
|
columns: {
|
|
3080
|
-
createdAt:
|
|
2346
|
+
createdAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
3081
2347
|
name: "created_at";
|
|
3082
2348
|
tableName: "dataset_run_conversation_relations";
|
|
3083
2349
|
dataType: "string";
|
|
@@ -3094,7 +2360,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1449.PgTableWi
|
|
|
3094
2360
|
identity: undefined;
|
|
3095
2361
|
generated: undefined;
|
|
3096
2362
|
}, {}, {}>;
|
|
3097
|
-
updatedAt:
|
|
2363
|
+
updatedAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
3098
2364
|
name: "updated_at";
|
|
3099
2365
|
tableName: "dataset_run_conversation_relations";
|
|
3100
2366
|
dataType: "string";
|
|
@@ -3111,7 +2377,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1449.PgTableWi
|
|
|
3111
2377
|
identity: undefined;
|
|
3112
2378
|
generated: undefined;
|
|
3113
2379
|
}, {}, {}>;
|
|
3114
|
-
datasetRunId:
|
|
2380
|
+
datasetRunId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3115
2381
|
name: "dataset_run_id";
|
|
3116
2382
|
tableName: "dataset_run_conversation_relations";
|
|
3117
2383
|
dataType: "string";
|
|
@@ -3128,7 +2394,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1449.PgTableWi
|
|
|
3128
2394
|
identity: undefined;
|
|
3129
2395
|
generated: undefined;
|
|
3130
2396
|
}, {}, {}>;
|
|
3131
|
-
conversationId:
|
|
2397
|
+
conversationId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3132
2398
|
name: "conversation_id";
|
|
3133
2399
|
tableName: "dataset_run_conversation_relations";
|
|
3134
2400
|
dataType: "string";
|
|
@@ -3145,7 +2411,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1449.PgTableWi
|
|
|
3145
2411
|
identity: undefined;
|
|
3146
2412
|
generated: undefined;
|
|
3147
2413
|
}, {}, {}>;
|
|
3148
|
-
datasetItemId:
|
|
2414
|
+
datasetItemId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3149
2415
|
name: "dataset_item_id";
|
|
3150
2416
|
tableName: "dataset_run_conversation_relations";
|
|
3151
2417
|
dataType: "string";
|
|
@@ -3162,7 +2428,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1449.PgTableWi
|
|
|
3162
2428
|
identity: undefined;
|
|
3163
2429
|
generated: undefined;
|
|
3164
2430
|
}, {}, {}>;
|
|
3165
|
-
projectId:
|
|
2431
|
+
projectId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3166
2432
|
name: "project_id";
|
|
3167
2433
|
tableName: "dataset_run_conversation_relations";
|
|
3168
2434
|
dataType: "string";
|
|
@@ -3181,7 +2447,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1449.PgTableWi
|
|
|
3181
2447
|
}, {}, {
|
|
3182
2448
|
length: 256;
|
|
3183
2449
|
}>;
|
|
3184
|
-
tenantId:
|
|
2450
|
+
tenantId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3185
2451
|
name: "tenant_id";
|
|
3186
2452
|
tableName: "dataset_run_conversation_relations";
|
|
3187
2453
|
dataType: "string";
|
|
@@ -3200,7 +2466,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1449.PgTableWi
|
|
|
3200
2466
|
}, {}, {
|
|
3201
2467
|
length: 256;
|
|
3202
2468
|
}>;
|
|
3203
|
-
id:
|
|
2469
|
+
id: drizzle_orm_pg_core1674.PgColumn<{
|
|
3204
2470
|
name: "id";
|
|
3205
2471
|
tableName: "dataset_run_conversation_relations";
|
|
3206
2472
|
dataType: "string";
|
|
@@ -3233,11 +2499,11 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1449.PgTableWi
|
|
|
3233
2499
|
* evaluationRunConfigId (optional: if created from a run config),
|
|
3234
2500
|
* and timestamps
|
|
3235
2501
|
*/
|
|
3236
|
-
declare const evaluationRun:
|
|
2502
|
+
declare const evaluationRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
3237
2503
|
name: "evaluation_run";
|
|
3238
2504
|
schema: undefined;
|
|
3239
2505
|
columns: {
|
|
3240
|
-
createdAt:
|
|
2506
|
+
createdAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
3241
2507
|
name: "created_at";
|
|
3242
2508
|
tableName: "evaluation_run";
|
|
3243
2509
|
dataType: "string";
|
|
@@ -3254,7 +2520,7 @@ declare const evaluationRun: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
3254
2520
|
identity: undefined;
|
|
3255
2521
|
generated: undefined;
|
|
3256
2522
|
}, {}, {}>;
|
|
3257
|
-
updatedAt:
|
|
2523
|
+
updatedAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
3258
2524
|
name: "updated_at";
|
|
3259
2525
|
tableName: "evaluation_run";
|
|
3260
2526
|
dataType: "string";
|
|
@@ -3271,7 +2537,7 @@ declare const evaluationRun: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
3271
2537
|
identity: undefined;
|
|
3272
2538
|
generated: undefined;
|
|
3273
2539
|
}, {}, {}>;
|
|
3274
|
-
evaluationJobConfigId:
|
|
2540
|
+
evaluationJobConfigId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3275
2541
|
name: "evaluation_job_config_id";
|
|
3276
2542
|
tableName: "evaluation_run";
|
|
3277
2543
|
dataType: "string";
|
|
@@ -3288,7 +2554,7 @@ declare const evaluationRun: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
3288
2554
|
identity: undefined;
|
|
3289
2555
|
generated: undefined;
|
|
3290
2556
|
}, {}, {}>;
|
|
3291
|
-
evaluationRunConfigId:
|
|
2557
|
+
evaluationRunConfigId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3292
2558
|
name: "evaluation_run_config_id";
|
|
3293
2559
|
tableName: "evaluation_run";
|
|
3294
2560
|
dataType: "string";
|
|
@@ -3305,7 +2571,7 @@ declare const evaluationRun: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
3305
2571
|
identity: undefined;
|
|
3306
2572
|
generated: undefined;
|
|
3307
2573
|
}, {}, {}>;
|
|
3308
|
-
projectId:
|
|
2574
|
+
projectId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3309
2575
|
name: "project_id";
|
|
3310
2576
|
tableName: "evaluation_run";
|
|
3311
2577
|
dataType: "string";
|
|
@@ -3324,7 +2590,7 @@ declare const evaluationRun: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
3324
2590
|
}, {}, {
|
|
3325
2591
|
length: 256;
|
|
3326
2592
|
}>;
|
|
3327
|
-
tenantId:
|
|
2593
|
+
tenantId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3328
2594
|
name: "tenant_id";
|
|
3329
2595
|
tableName: "evaluation_run";
|
|
3330
2596
|
dataType: "string";
|
|
@@ -3343,7 +2609,7 @@ declare const evaluationRun: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
3343
2609
|
}, {}, {
|
|
3344
2610
|
length: 256;
|
|
3345
2611
|
}>;
|
|
3346
|
-
id:
|
|
2612
|
+
id: drizzle_orm_pg_core1674.PgColumn<{
|
|
3347
2613
|
name: "id";
|
|
3348
2614
|
tableName: "evaluation_run";
|
|
3349
2615
|
dataType: "string";
|
|
@@ -3374,11 +2640,11 @@ declare const evaluationRun: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
3374
2640
|
* evaluationRunId (optional, links to evaluationRun),
|
|
3375
2641
|
* output (evaluation result as MessageContent), and timestamps
|
|
3376
2642
|
*/
|
|
3377
|
-
declare const evaluationResult:
|
|
2643
|
+
declare const evaluationResult: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
3378
2644
|
name: "evaluation_result";
|
|
3379
2645
|
schema: undefined;
|
|
3380
2646
|
columns: {
|
|
3381
|
-
createdAt:
|
|
2647
|
+
createdAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
3382
2648
|
name: "created_at";
|
|
3383
2649
|
tableName: "evaluation_result";
|
|
3384
2650
|
dataType: "string";
|
|
@@ -3395,7 +2661,7 @@ declare const evaluationResult: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
3395
2661
|
identity: undefined;
|
|
3396
2662
|
generated: undefined;
|
|
3397
2663
|
}, {}, {}>;
|
|
3398
|
-
updatedAt:
|
|
2664
|
+
updatedAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
3399
2665
|
name: "updated_at";
|
|
3400
2666
|
tableName: "evaluation_result";
|
|
3401
2667
|
dataType: "string";
|
|
@@ -3412,7 +2678,7 @@ declare const evaluationResult: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
3412
2678
|
identity: undefined;
|
|
3413
2679
|
generated: undefined;
|
|
3414
2680
|
}, {}, {}>;
|
|
3415
|
-
conversationId:
|
|
2681
|
+
conversationId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3416
2682
|
name: "conversation_id";
|
|
3417
2683
|
tableName: "evaluation_result";
|
|
3418
2684
|
dataType: "string";
|
|
@@ -3429,7 +2695,7 @@ declare const evaluationResult: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
3429
2695
|
identity: undefined;
|
|
3430
2696
|
generated: undefined;
|
|
3431
2697
|
}, {}, {}>;
|
|
3432
|
-
evaluatorId:
|
|
2698
|
+
evaluatorId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3433
2699
|
name: "evaluator_id";
|
|
3434
2700
|
tableName: "evaluation_result";
|
|
3435
2701
|
dataType: "string";
|
|
@@ -3446,7 +2712,7 @@ declare const evaluationResult: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
3446
2712
|
identity: undefined;
|
|
3447
2713
|
generated: undefined;
|
|
3448
2714
|
}, {}, {}>;
|
|
3449
|
-
evaluationRunId:
|
|
2715
|
+
evaluationRunId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3450
2716
|
name: "evaluation_run_id";
|
|
3451
2717
|
tableName: "evaluation_result";
|
|
3452
2718
|
dataType: "string";
|
|
@@ -3463,7 +2729,7 @@ declare const evaluationResult: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
3463
2729
|
identity: undefined;
|
|
3464
2730
|
generated: undefined;
|
|
3465
2731
|
}, {}, {}>;
|
|
3466
|
-
output:
|
|
2732
|
+
output: drizzle_orm_pg_core1674.PgColumn<{
|
|
3467
2733
|
name: "output";
|
|
3468
2734
|
tableName: "evaluation_result";
|
|
3469
2735
|
dataType: "json";
|
|
@@ -3482,7 +2748,7 @@ declare const evaluationResult: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
3482
2748
|
}, {}, {
|
|
3483
2749
|
$type: MessageContent;
|
|
3484
2750
|
}>;
|
|
3485
|
-
projectId:
|
|
2751
|
+
projectId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3486
2752
|
name: "project_id";
|
|
3487
2753
|
tableName: "evaluation_result";
|
|
3488
2754
|
dataType: "string";
|
|
@@ -3501,7 +2767,7 @@ declare const evaluationResult: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
3501
2767
|
}, {}, {
|
|
3502
2768
|
length: 256;
|
|
3503
2769
|
}>;
|
|
3504
|
-
tenantId:
|
|
2770
|
+
tenantId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3505
2771
|
name: "tenant_id";
|
|
3506
2772
|
tableName: "evaluation_result";
|
|
3507
2773
|
dataType: "string";
|
|
@@ -3520,7 +2786,7 @@ declare const evaluationResult: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
3520
2786
|
}, {}, {
|
|
3521
2787
|
length: 256;
|
|
3522
2788
|
}>;
|
|
3523
|
-
id:
|
|
2789
|
+
id: drizzle_orm_pg_core1674.PgColumn<{
|
|
3524
2790
|
name: "id";
|
|
3525
2791
|
tableName: "evaluation_result";
|
|
3526
2792
|
dataType: "string";
|
|
@@ -3542,38 +2808,38 @@ declare const evaluationResult: drizzle_orm_pg_core1449.PgTableWithColumns<{
|
|
|
3542
2808
|
};
|
|
3543
2809
|
dialect: "pg";
|
|
3544
2810
|
}>;
|
|
3545
|
-
declare const conversationsRelations:
|
|
3546
|
-
messages:
|
|
2811
|
+
declare const conversationsRelations: drizzle_orm95.Relations<"conversations", {
|
|
2812
|
+
messages: drizzle_orm95.Many<"messages">;
|
|
3547
2813
|
}>;
|
|
3548
|
-
declare const messagesRelations:
|
|
3549
|
-
conversation:
|
|
3550
|
-
task:
|
|
3551
|
-
parentMessage:
|
|
3552
|
-
childMessages:
|
|
2814
|
+
declare const messagesRelations: drizzle_orm95.Relations<"messages", {
|
|
2815
|
+
conversation: drizzle_orm95.One<"conversations", true>;
|
|
2816
|
+
task: drizzle_orm95.One<"tasks", false>;
|
|
2817
|
+
parentMessage: drizzle_orm95.One<"messages", false>;
|
|
2818
|
+
childMessages: drizzle_orm95.Many<"messages">;
|
|
3553
2819
|
}>;
|
|
3554
|
-
declare const tasksRelations:
|
|
3555
|
-
messages:
|
|
3556
|
-
ledgerArtifacts:
|
|
3557
|
-
parentRelations:
|
|
3558
|
-
childRelations:
|
|
2820
|
+
declare const tasksRelations: drizzle_orm95.Relations<"tasks", {
|
|
2821
|
+
messages: drizzle_orm95.Many<"messages">;
|
|
2822
|
+
ledgerArtifacts: drizzle_orm95.Many<"ledger_artifacts">;
|
|
2823
|
+
parentRelations: drizzle_orm95.Many<"task_relations">;
|
|
2824
|
+
childRelations: drizzle_orm95.Many<"task_relations">;
|
|
3559
2825
|
}>;
|
|
3560
|
-
declare const taskRelationsRelations:
|
|
3561
|
-
parentTask:
|
|
3562
|
-
childTask:
|
|
2826
|
+
declare const taskRelationsRelations: drizzle_orm95.Relations<"task_relations", {
|
|
2827
|
+
parentTask: drizzle_orm95.One<"tasks", true>;
|
|
2828
|
+
childTask: drizzle_orm95.One<"tasks", true>;
|
|
3563
2829
|
}>;
|
|
3564
|
-
declare const ledgerArtifactsRelations:
|
|
3565
|
-
task:
|
|
2830
|
+
declare const ledgerArtifactsRelations: drizzle_orm95.Relations<"ledger_artifacts", {
|
|
2831
|
+
task: drizzle_orm95.One<"tasks", true>;
|
|
3566
2832
|
}>;
|
|
3567
2833
|
/**
|
|
3568
2834
|
* Tracks GitHub App installations linked to tenants.
|
|
3569
2835
|
* One tenant can have multiple installations (e.g., multiple orgs).
|
|
3570
2836
|
* The installation_id is the GitHub-assigned ID, unique across all GitHub.
|
|
3571
2837
|
*/
|
|
3572
|
-
declare const workAppGitHubInstallations:
|
|
2838
|
+
declare const workAppGitHubInstallations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
3573
2839
|
name: "work_app_github_installations";
|
|
3574
2840
|
schema: undefined;
|
|
3575
2841
|
columns: {
|
|
3576
|
-
createdAt:
|
|
2842
|
+
createdAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
3577
2843
|
name: "created_at";
|
|
3578
2844
|
tableName: "work_app_github_installations";
|
|
3579
2845
|
dataType: "string";
|
|
@@ -3590,7 +2856,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1449.PgTableWithCol
|
|
|
3590
2856
|
identity: undefined;
|
|
3591
2857
|
generated: undefined;
|
|
3592
2858
|
}, {}, {}>;
|
|
3593
|
-
updatedAt:
|
|
2859
|
+
updatedAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
3594
2860
|
name: "updated_at";
|
|
3595
2861
|
tableName: "work_app_github_installations";
|
|
3596
2862
|
dataType: "string";
|
|
@@ -3607,7 +2873,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1449.PgTableWithCol
|
|
|
3607
2873
|
identity: undefined;
|
|
3608
2874
|
generated: undefined;
|
|
3609
2875
|
}, {}, {}>;
|
|
3610
|
-
installationId:
|
|
2876
|
+
installationId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3611
2877
|
name: "installation_id";
|
|
3612
2878
|
tableName: "work_app_github_installations";
|
|
3613
2879
|
dataType: "string";
|
|
@@ -3624,7 +2890,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1449.PgTableWithCol
|
|
|
3624
2890
|
identity: undefined;
|
|
3625
2891
|
generated: undefined;
|
|
3626
2892
|
}, {}, {}>;
|
|
3627
|
-
accountLogin:
|
|
2893
|
+
accountLogin: drizzle_orm_pg_core1674.PgColumn<{
|
|
3628
2894
|
name: "account_login";
|
|
3629
2895
|
tableName: "work_app_github_installations";
|
|
3630
2896
|
dataType: "string";
|
|
@@ -3643,7 +2909,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1449.PgTableWithCol
|
|
|
3643
2909
|
}, {}, {
|
|
3644
2910
|
length: 256;
|
|
3645
2911
|
}>;
|
|
3646
|
-
accountId:
|
|
2912
|
+
accountId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3647
2913
|
name: "account_id";
|
|
3648
2914
|
tableName: "work_app_github_installations";
|
|
3649
2915
|
dataType: "string";
|
|
@@ -3660,7 +2926,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1449.PgTableWithCol
|
|
|
3660
2926
|
identity: undefined;
|
|
3661
2927
|
generated: undefined;
|
|
3662
2928
|
}, {}, {}>;
|
|
3663
|
-
accountType:
|
|
2929
|
+
accountType: drizzle_orm_pg_core1674.PgColumn<{
|
|
3664
2930
|
name: "account_type";
|
|
3665
2931
|
tableName: "work_app_github_installations";
|
|
3666
2932
|
dataType: "string";
|
|
@@ -3680,7 +2946,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1449.PgTableWithCol
|
|
|
3680
2946
|
length: 20;
|
|
3681
2947
|
$type: "User" | "Organization";
|
|
3682
2948
|
}>;
|
|
3683
|
-
status:
|
|
2949
|
+
status: drizzle_orm_pg_core1674.PgColumn<{
|
|
3684
2950
|
name: "status";
|
|
3685
2951
|
tableName: "work_app_github_installations";
|
|
3686
2952
|
dataType: "string";
|
|
@@ -3700,7 +2966,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1449.PgTableWithCol
|
|
|
3700
2966
|
length: 20;
|
|
3701
2967
|
$type: "pending" | "active" | "suspended" | "disconnected";
|
|
3702
2968
|
}>;
|
|
3703
|
-
tenantId:
|
|
2969
|
+
tenantId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3704
2970
|
name: "tenant_id";
|
|
3705
2971
|
tableName: "work_app_github_installations";
|
|
3706
2972
|
dataType: "string";
|
|
@@ -3719,7 +2985,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1449.PgTableWithCol
|
|
|
3719
2985
|
}, {}, {
|
|
3720
2986
|
length: 256;
|
|
3721
2987
|
}>;
|
|
3722
|
-
id:
|
|
2988
|
+
id: drizzle_orm_pg_core1674.PgColumn<{
|
|
3723
2989
|
name: "id";
|
|
3724
2990
|
tableName: "work_app_github_installations";
|
|
3725
2991
|
dataType: "string";
|
|
@@ -3746,11 +3012,11 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1449.PgTableWithCol
|
|
|
3746
3012
|
* These are synced from GitHub when the app is installed or updated.
|
|
3747
3013
|
* The repository_id is the GitHub-assigned ID, unique across all GitHub.
|
|
3748
3014
|
*/
|
|
3749
|
-
declare const workAppGitHubRepositories:
|
|
3015
|
+
declare const workAppGitHubRepositories: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
3750
3016
|
name: "work_app_github_repositories";
|
|
3751
3017
|
schema: undefined;
|
|
3752
3018
|
columns: {
|
|
3753
|
-
createdAt:
|
|
3019
|
+
createdAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
3754
3020
|
name: "created_at";
|
|
3755
3021
|
tableName: "work_app_github_repositories";
|
|
3756
3022
|
dataType: "string";
|
|
@@ -3767,7 +3033,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1449.PgTableWithColu
|
|
|
3767
3033
|
identity: undefined;
|
|
3768
3034
|
generated: undefined;
|
|
3769
3035
|
}, {}, {}>;
|
|
3770
|
-
updatedAt:
|
|
3036
|
+
updatedAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
3771
3037
|
name: "updated_at";
|
|
3772
3038
|
tableName: "work_app_github_repositories";
|
|
3773
3039
|
dataType: "string";
|
|
@@ -3784,7 +3050,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1449.PgTableWithColu
|
|
|
3784
3050
|
identity: undefined;
|
|
3785
3051
|
generated: undefined;
|
|
3786
3052
|
}, {}, {}>;
|
|
3787
|
-
id:
|
|
3053
|
+
id: drizzle_orm_pg_core1674.PgColumn<{
|
|
3788
3054
|
name: "id";
|
|
3789
3055
|
tableName: "work_app_github_repositories";
|
|
3790
3056
|
dataType: "string";
|
|
@@ -3803,7 +3069,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1449.PgTableWithColu
|
|
|
3803
3069
|
}, {}, {
|
|
3804
3070
|
length: 256;
|
|
3805
3071
|
}>;
|
|
3806
|
-
installationDbId:
|
|
3072
|
+
installationDbId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3807
3073
|
name: "installation_db_id";
|
|
3808
3074
|
tableName: "work_app_github_repositories";
|
|
3809
3075
|
dataType: "string";
|
|
@@ -3822,7 +3088,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1449.PgTableWithColu
|
|
|
3822
3088
|
}, {}, {
|
|
3823
3089
|
length: 256;
|
|
3824
3090
|
}>;
|
|
3825
|
-
repositoryId:
|
|
3091
|
+
repositoryId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3826
3092
|
name: "repository_id";
|
|
3827
3093
|
tableName: "work_app_github_repositories";
|
|
3828
3094
|
dataType: "string";
|
|
@@ -3839,7 +3105,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1449.PgTableWithColu
|
|
|
3839
3105
|
identity: undefined;
|
|
3840
3106
|
generated: undefined;
|
|
3841
3107
|
}, {}, {}>;
|
|
3842
|
-
repositoryName:
|
|
3108
|
+
repositoryName: drizzle_orm_pg_core1674.PgColumn<{
|
|
3843
3109
|
name: "repository_name";
|
|
3844
3110
|
tableName: "work_app_github_repositories";
|
|
3845
3111
|
dataType: "string";
|
|
@@ -3858,7 +3124,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1449.PgTableWithColu
|
|
|
3858
3124
|
}, {}, {
|
|
3859
3125
|
length: 256;
|
|
3860
3126
|
}>;
|
|
3861
|
-
repositoryFullName:
|
|
3127
|
+
repositoryFullName: drizzle_orm_pg_core1674.PgColumn<{
|
|
3862
3128
|
name: "repository_full_name";
|
|
3863
3129
|
tableName: "work_app_github_repositories";
|
|
3864
3130
|
dataType: "string";
|
|
@@ -3877,7 +3143,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1449.PgTableWithColu
|
|
|
3877
3143
|
}, {}, {
|
|
3878
3144
|
length: 512;
|
|
3879
3145
|
}>;
|
|
3880
|
-
private:
|
|
3146
|
+
private: drizzle_orm_pg_core1674.PgColumn<{
|
|
3881
3147
|
name: "private";
|
|
3882
3148
|
tableName: "work_app_github_repositories";
|
|
3883
3149
|
dataType: "boolean";
|
|
@@ -3905,11 +3171,11 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1449.PgTableWithColu
|
|
|
3905
3171
|
* (cross-schema, no FK constraint for project). tenant_id is included because
|
|
3906
3172
|
* project IDs are only unique within a tenant.
|
|
3907
3173
|
*/
|
|
3908
|
-
declare const workAppGitHubProjectRepositoryAccess:
|
|
3174
|
+
declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
3909
3175
|
name: "work_app_github_project_repository_access";
|
|
3910
3176
|
schema: undefined;
|
|
3911
3177
|
columns: {
|
|
3912
|
-
createdAt:
|
|
3178
|
+
createdAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
3913
3179
|
name: "created_at";
|
|
3914
3180
|
tableName: "work_app_github_project_repository_access";
|
|
3915
3181
|
dataType: "string";
|
|
@@ -3926,7 +3192,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1449.PgTa
|
|
|
3926
3192
|
identity: undefined;
|
|
3927
3193
|
generated: undefined;
|
|
3928
3194
|
}, {}, {}>;
|
|
3929
|
-
updatedAt:
|
|
3195
|
+
updatedAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
3930
3196
|
name: "updated_at";
|
|
3931
3197
|
tableName: "work_app_github_project_repository_access";
|
|
3932
3198
|
dataType: "string";
|
|
@@ -3943,7 +3209,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1449.PgTa
|
|
|
3943
3209
|
identity: undefined;
|
|
3944
3210
|
generated: undefined;
|
|
3945
3211
|
}, {}, {}>;
|
|
3946
|
-
repositoryDbId:
|
|
3212
|
+
repositoryDbId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3947
3213
|
name: "repository_db_id";
|
|
3948
3214
|
tableName: "work_app_github_project_repository_access";
|
|
3949
3215
|
dataType: "string";
|
|
@@ -3962,7 +3228,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1449.PgTa
|
|
|
3962
3228
|
}, {}, {
|
|
3963
3229
|
length: 256;
|
|
3964
3230
|
}>;
|
|
3965
|
-
projectId:
|
|
3231
|
+
projectId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3966
3232
|
name: "project_id";
|
|
3967
3233
|
tableName: "work_app_github_project_repository_access";
|
|
3968
3234
|
dataType: "string";
|
|
@@ -3981,7 +3247,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1449.PgTa
|
|
|
3981
3247
|
}, {}, {
|
|
3982
3248
|
length: 256;
|
|
3983
3249
|
}>;
|
|
3984
|
-
tenantId:
|
|
3250
|
+
tenantId: drizzle_orm_pg_core1674.PgColumn<{
|
|
3985
3251
|
name: "tenant_id";
|
|
3986
3252
|
tableName: "work_app_github_project_repository_access";
|
|
3987
3253
|
dataType: "string";
|
|
@@ -4000,7 +3266,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1449.PgTa
|
|
|
4000
3266
|
}, {}, {
|
|
4001
3267
|
length: 256;
|
|
4002
3268
|
}>;
|
|
4003
|
-
id:
|
|
3269
|
+
id: drizzle_orm_pg_core1674.PgColumn<{
|
|
4004
3270
|
name: "id";
|
|
4005
3271
|
tableName: "work_app_github_project_repository_access";
|
|
4006
3272
|
dataType: "string";
|
|
@@ -4029,11 +3295,11 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1449.PgTa
|
|
|
4029
3295
|
* (cross-schema, no FK constraint). These are denormalized here so all GitHub access
|
|
4030
3296
|
* info can be queried from PostgreSQL alone.
|
|
4031
3297
|
*/
|
|
4032
|
-
declare const workAppGitHubMcpToolRepositoryAccess:
|
|
3298
|
+
declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
4033
3299
|
name: "work_app_github_mcp_tool_repository_access";
|
|
4034
3300
|
schema: undefined;
|
|
4035
3301
|
columns: {
|
|
4036
|
-
createdAt:
|
|
3302
|
+
createdAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
4037
3303
|
name: "created_at";
|
|
4038
3304
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
4039
3305
|
dataType: "string";
|
|
@@ -4050,7 +3316,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1449.PgTa
|
|
|
4050
3316
|
identity: undefined;
|
|
4051
3317
|
generated: undefined;
|
|
4052
3318
|
}, {}, {}>;
|
|
4053
|
-
updatedAt:
|
|
3319
|
+
updatedAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
4054
3320
|
name: "updated_at";
|
|
4055
3321
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
4056
3322
|
dataType: "string";
|
|
@@ -4067,7 +3333,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1449.PgTa
|
|
|
4067
3333
|
identity: undefined;
|
|
4068
3334
|
generated: undefined;
|
|
4069
3335
|
}, {}, {}>;
|
|
4070
|
-
toolId:
|
|
3336
|
+
toolId: drizzle_orm_pg_core1674.PgColumn<{
|
|
4071
3337
|
name: "tool_id";
|
|
4072
3338
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
4073
3339
|
dataType: "string";
|
|
@@ -4086,7 +3352,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1449.PgTa
|
|
|
4086
3352
|
}, {}, {
|
|
4087
3353
|
length: 256;
|
|
4088
3354
|
}>;
|
|
4089
|
-
repositoryDbId:
|
|
3355
|
+
repositoryDbId: drizzle_orm_pg_core1674.PgColumn<{
|
|
4090
3356
|
name: "repository_db_id";
|
|
4091
3357
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
4092
3358
|
dataType: "string";
|
|
@@ -4105,7 +3371,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1449.PgTa
|
|
|
4105
3371
|
}, {}, {
|
|
4106
3372
|
length: 256;
|
|
4107
3373
|
}>;
|
|
4108
|
-
projectId:
|
|
3374
|
+
projectId: drizzle_orm_pg_core1674.PgColumn<{
|
|
4109
3375
|
name: "project_id";
|
|
4110
3376
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
4111
3377
|
dataType: "string";
|
|
@@ -4124,7 +3390,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1449.PgTa
|
|
|
4124
3390
|
}, {}, {
|
|
4125
3391
|
length: 256;
|
|
4126
3392
|
}>;
|
|
4127
|
-
tenantId:
|
|
3393
|
+
tenantId: drizzle_orm_pg_core1674.PgColumn<{
|
|
4128
3394
|
name: "tenant_id";
|
|
4129
3395
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
4130
3396
|
dataType: "string";
|
|
@@ -4143,7 +3409,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1449.PgTa
|
|
|
4143
3409
|
}, {}, {
|
|
4144
3410
|
length: 256;
|
|
4145
3411
|
}>;
|
|
4146
|
-
id:
|
|
3412
|
+
id: drizzle_orm_pg_core1674.PgColumn<{
|
|
4147
3413
|
name: "id";
|
|
4148
3414
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
4149
3415
|
dataType: "string";
|
|
@@ -4171,11 +3437,11 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1449.PgTa
|
|
|
4171
3437
|
* - 'selected': Project only has access to repositories listed in work_app_github_project_repository_access
|
|
4172
3438
|
* If no row exists for a project, defaults to 'selected' (fail-safe: no access unless explicitly granted).
|
|
4173
3439
|
*/
|
|
4174
|
-
declare const workAppGitHubProjectAccessMode:
|
|
3440
|
+
declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
4175
3441
|
name: "work_app_github_project_access_mode";
|
|
4176
3442
|
schema: undefined;
|
|
4177
3443
|
columns: {
|
|
4178
|
-
createdAt:
|
|
3444
|
+
createdAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
4179
3445
|
name: "created_at";
|
|
4180
3446
|
tableName: "work_app_github_project_access_mode";
|
|
4181
3447
|
dataType: "string";
|
|
@@ -4192,7 +3458,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1449.PgTableWit
|
|
|
4192
3458
|
identity: undefined;
|
|
4193
3459
|
generated: undefined;
|
|
4194
3460
|
}, {}, {}>;
|
|
4195
|
-
updatedAt:
|
|
3461
|
+
updatedAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
4196
3462
|
name: "updated_at";
|
|
4197
3463
|
tableName: "work_app_github_project_access_mode";
|
|
4198
3464
|
dataType: "string";
|
|
@@ -4209,7 +3475,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1449.PgTableWit
|
|
|
4209
3475
|
identity: undefined;
|
|
4210
3476
|
generated: undefined;
|
|
4211
3477
|
}, {}, {}>;
|
|
4212
|
-
tenantId:
|
|
3478
|
+
tenantId: drizzle_orm_pg_core1674.PgColumn<{
|
|
4213
3479
|
name: "tenant_id";
|
|
4214
3480
|
tableName: "work_app_github_project_access_mode";
|
|
4215
3481
|
dataType: "string";
|
|
@@ -4228,7 +3494,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1449.PgTableWit
|
|
|
4228
3494
|
}, {}, {
|
|
4229
3495
|
length: 256;
|
|
4230
3496
|
}>;
|
|
4231
|
-
projectId:
|
|
3497
|
+
projectId: drizzle_orm_pg_core1674.PgColumn<{
|
|
4232
3498
|
name: "project_id";
|
|
4233
3499
|
tableName: "work_app_github_project_access_mode";
|
|
4234
3500
|
dataType: "string";
|
|
@@ -4247,7 +3513,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1449.PgTableWit
|
|
|
4247
3513
|
}, {}, {
|
|
4248
3514
|
length: 256;
|
|
4249
3515
|
}>;
|
|
4250
|
-
mode:
|
|
3516
|
+
mode: drizzle_orm_pg_core1674.PgColumn<{
|
|
4251
3517
|
name: "mode";
|
|
4252
3518
|
tableName: "work_app_github_project_access_mode";
|
|
4253
3519
|
dataType: "string";
|
|
@@ -4276,11 +3542,11 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1449.PgTableWit
|
|
|
4276
3542
|
* - 'selected': Tool only has access to repositories listed in work_app_github_mcp_tool_repository_access
|
|
4277
3543
|
* If no row exists for a tool, defaults to 'selected' (fail-safe: no access unless explicitly granted).
|
|
4278
3544
|
*/
|
|
4279
|
-
declare const workAppGitHubMcpToolAccessMode:
|
|
3545
|
+
declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
4280
3546
|
name: "work_app_github_mcp_tool_access_mode";
|
|
4281
3547
|
schema: undefined;
|
|
4282
3548
|
columns: {
|
|
4283
|
-
createdAt:
|
|
3549
|
+
createdAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
4284
3550
|
name: "created_at";
|
|
4285
3551
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
4286
3552
|
dataType: "string";
|
|
@@ -4297,7 +3563,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1449.PgTableWit
|
|
|
4297
3563
|
identity: undefined;
|
|
4298
3564
|
generated: undefined;
|
|
4299
3565
|
}, {}, {}>;
|
|
4300
|
-
updatedAt:
|
|
3566
|
+
updatedAt: drizzle_orm_pg_core1674.PgColumn<{
|
|
4301
3567
|
name: "updated_at";
|
|
4302
3568
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
4303
3569
|
dataType: "string";
|
|
@@ -4314,7 +3580,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1449.PgTableWit
|
|
|
4314
3580
|
identity: undefined;
|
|
4315
3581
|
generated: undefined;
|
|
4316
3582
|
}, {}, {}>;
|
|
4317
|
-
toolId:
|
|
3583
|
+
toolId: drizzle_orm_pg_core1674.PgColumn<{
|
|
4318
3584
|
name: "tool_id";
|
|
4319
3585
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
4320
3586
|
dataType: "string";
|
|
@@ -4333,7 +3599,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1449.PgTableWit
|
|
|
4333
3599
|
}, {}, {
|
|
4334
3600
|
length: 256;
|
|
4335
3601
|
}>;
|
|
4336
|
-
tenantId:
|
|
3602
|
+
tenantId: drizzle_orm_pg_core1674.PgColumn<{
|
|
4337
3603
|
name: "tenant_id";
|
|
4338
3604
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
4339
3605
|
dataType: "string";
|
|
@@ -4352,7 +3618,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1449.PgTableWit
|
|
|
4352
3618
|
}, {}, {
|
|
4353
3619
|
length: 256;
|
|
4354
3620
|
}>;
|
|
4355
|
-
projectId:
|
|
3621
|
+
projectId: drizzle_orm_pg_core1674.PgColumn<{
|
|
4356
3622
|
name: "project_id";
|
|
4357
3623
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
4358
3624
|
dataType: "string";
|
|
@@ -4371,7 +3637,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1449.PgTableWit
|
|
|
4371
3637
|
}, {}, {
|
|
4372
3638
|
length: 256;
|
|
4373
3639
|
}>;
|
|
4374
|
-
mode:
|
|
3640
|
+
mode: drizzle_orm_pg_core1674.PgColumn<{
|
|
4375
3641
|
name: "mode";
|
|
4376
3642
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
4377
3643
|
dataType: "string";
|
|
@@ -4394,19 +3660,19 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1449.PgTableWit
|
|
|
4394
3660
|
};
|
|
4395
3661
|
dialect: "pg";
|
|
4396
3662
|
}>;
|
|
4397
|
-
declare const workAppGitHubInstallationsRelations:
|
|
4398
|
-
repositories:
|
|
3663
|
+
declare const workAppGitHubInstallationsRelations: drizzle_orm95.Relations<"work_app_github_installations", {
|
|
3664
|
+
repositories: drizzle_orm95.Many<"work_app_github_repositories">;
|
|
4399
3665
|
}>;
|
|
4400
|
-
declare const workAppGitHubRepositoriesRelations:
|
|
4401
|
-
installation:
|
|
4402
|
-
projectAccess:
|
|
4403
|
-
mcpToolAccess:
|
|
3666
|
+
declare const workAppGitHubRepositoriesRelations: drizzle_orm95.Relations<"work_app_github_repositories", {
|
|
3667
|
+
installation: drizzle_orm95.One<"work_app_github_installations", true>;
|
|
3668
|
+
projectAccess: drizzle_orm95.Many<"work_app_github_project_repository_access">;
|
|
3669
|
+
mcpToolAccess: drizzle_orm95.Many<"work_app_github_mcp_tool_repository_access">;
|
|
4404
3670
|
}>;
|
|
4405
|
-
declare const workAppGitHubProjectRepositoryAccessRelations:
|
|
4406
|
-
repository:
|
|
3671
|
+
declare const workAppGitHubProjectRepositoryAccessRelations: drizzle_orm95.Relations<"work_app_github_project_repository_access", {
|
|
3672
|
+
repository: drizzle_orm95.One<"work_app_github_repositories", true>;
|
|
4407
3673
|
}>;
|
|
4408
|
-
declare const workAppGitHubMcpToolRepositoryAccessRelations:
|
|
4409
|
-
repository:
|
|
3674
|
+
declare const workAppGitHubMcpToolRepositoryAccessRelations: drizzle_orm95.Relations<"work_app_github_mcp_tool_repository_access", {
|
|
3675
|
+
repository: drizzle_orm95.One<"work_app_github_repositories", true>;
|
|
4410
3676
|
}>;
|
|
4411
3677
|
//#endregion
|
|
4412
|
-
export { account, apiKeys, contextCache, conversations, conversationsRelations, datasetRun, datasetRunConversationRelations, deviceCode, evaluationResult, evaluationRun, invitation, ledgerArtifacts, ledgerArtifactsRelations, member, messages, messagesRelations, organization, projectMetadata, runtime_schema_d_exports, session, ssoProvider, taskRelations, taskRelationsRelations, tasks, tasksRelations, triggerInvocations, user, verification, workAppGitHubInstallations, workAppGitHubInstallationsRelations, workAppGitHubMcpToolAccessMode, workAppGitHubMcpToolRepositoryAccess, workAppGitHubMcpToolRepositoryAccessRelations, workAppGitHubProjectAccessMode, workAppGitHubProjectRepositoryAccess, workAppGitHubProjectRepositoryAccessRelations, workAppGitHubRepositories, workAppGitHubRepositoriesRelations
|
|
3678
|
+
export { account, apiKeys, contextCache, conversations, conversationsRelations, datasetRun, datasetRunConversationRelations, deviceCode, evaluationResult, evaluationRun, invitation, ledgerArtifacts, ledgerArtifactsRelations, member, messages, messagesRelations, organization, projectMetadata, runtime_schema_d_exports, session, ssoProvider, taskRelations, taskRelationsRelations, tasks, tasksRelations, triggerInvocations, user, verification, workAppGitHubInstallations, workAppGitHubInstallationsRelations, workAppGitHubMcpToolAccessMode, workAppGitHubMcpToolRepositoryAccess, workAppGitHubMcpToolRepositoryAccessRelations, workAppGitHubProjectAccessMode, workAppGitHubProjectRepositoryAccess, workAppGitHubProjectRepositoryAccessRelations, workAppGitHubRepositories, workAppGitHubRepositoriesRelations };
|