@inkeep/agents-core 0.47.4 → 0.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/auth/auth-validation-schemas.d.ts +17 -17
- package/dist/auth/auth.d.ts +1 -1
- package/dist/client-exports.d.ts +13 -2
- package/dist/client-exports.js +5 -4
- package/dist/data-access/index.d.ts +6 -1
- package/dist/data-access/index.js +6 -1
- package/dist/data-access/manage/agentFull.js +154 -1
- package/dist/data-access/manage/agents.d.ts +4 -4
- package/dist/data-access/manage/agents.js +56 -4
- package/dist/data-access/manage/artifactComponents.d.ts +41 -5
- package/dist/data-access/manage/dataComponents.d.ts +2 -2
- package/dist/data-access/manage/functionTools.d.ts +3 -3
- package/dist/data-access/manage/projectFull.js +97 -0
- package/dist/data-access/manage/scheduledTriggers.d.ts +80 -0
- package/dist/data-access/manage/scheduledTriggers.js +76 -0
- package/dist/data-access/manage/scheduledWorkflows.d.ts +29 -0
- package/dist/data-access/manage/scheduledWorkflows.js +32 -0
- package/dist/data-access/manage/skills.d.ts +109 -0
- package/dist/data-access/manage/skills.js +122 -0
- package/dist/data-access/manage/subAgentRelations.d.ts +6 -6
- package/dist/data-access/manage/tools.d.ts +4 -4
- package/dist/data-access/manage/triggers.d.ts +2 -2
- package/dist/data-access/runtime/conversations.d.ts +4 -4
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +233 -0
- package/dist/data-access/runtime/scheduledTriggerInvocations.js +226 -0
- package/dist/data-access/runtime/tasks.d.ts +2 -2
- package/dist/data-access/runtime/workAppSlack.d.ts +55 -0
- package/dist/data-access/runtime/workAppSlack.js +146 -0
- package/dist/db/manage/manage-schema.d.ts +1440 -510
- package/dist/db/manage/manage-schema.js +240 -15
- package/dist/db/runtime/runtime-schema.d.ts +1236 -234
- package/dist/db/runtime/runtime-schema.js +108 -3
- package/dist/index.d.ts +15 -6
- package/dist/index.js +13 -5
- package/dist/types/entities.d.ts +15 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/utils/index.d.ts +5 -2
- package/dist/utils/index.js +5 -2
- package/dist/utils/slack-link-token.d.ts +57 -0
- package/dist/utils/slack-link-token.js +112 -0
- package/dist/utils/slack-user-token.d.ts +65 -0
- package/dist/utils/slack-user-token.js +129 -0
- package/dist/utils/sse-parser.d.ts +35 -0
- package/dist/utils/sse-parser.js +71 -0
- package/dist/utils/tracer-factory.d.ts +11 -2
- package/dist/utils/tracer-factory.js +24 -5
- package/dist/utils/tracer.d.ts +2 -2
- package/dist/utils/tracer.js +2 -2
- package/dist/utils/trigger-auth.d.ts +1 -1
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/extend-schemas.d.ts +34 -0
- package/dist/validation/extend-schemas.js +33 -0
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js +2 -2
- package/dist/validation/json-schemas.d.ts +28 -0
- package/dist/validation/json-schemas.js +56 -0
- package/dist/validation/schemas.d.ts +5875 -2585
- package/dist/validation/schemas.js +159 -38
- package/dist/validation/stream-event-schemas.d.ts +0 -2
- package/dist/validation/stream-event-schemas.js +1 -2
- package/drizzle/manage/0007_nice_lilandra.sql +3 -0
- package/drizzle/manage/0008_friendly_mentallo.sql +32 -0
- package/drizzle/manage/0009_chilly_old_lace.sql +39 -0
- package/drizzle/manage/meta/0007_snapshot.json +3148 -0
- package/drizzle/manage/meta/0008_snapshot.json +3391 -0
- package/drizzle/manage/meta/0009_snapshot.json +3670 -0
- package/drizzle/manage/meta/_journal.json +21 -0
- package/drizzle/runtime/0012_greedy_hulk.sql +84 -0
- package/drizzle/runtime/0013_huge_white_queen.sql +19 -0
- package/drizzle/runtime/meta/0007_snapshot.json +1 -1
- package/drizzle/runtime/meta/0012_snapshot.json +3622 -0
- package/drizzle/runtime/meta/0013_snapshot.json +3746 -0
- package/drizzle/runtime/meta/_journal.json +14 -0
- package/package.json +1 -1
|
@@ -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_orm111 from "drizzle-orm";
|
|
5
|
+
import * as drizzle_orm_pg_core1831 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, scheduledTriggerInvocations, session, ssoProvider, taskRelations, taskRelationsRelations, tasks, tasksRelations, triggerInvocations, user, verification, workAppGitHubInstallations, workAppGitHubInstallationsRelations, workAppGitHubMcpToolAccessMode, workAppGitHubMcpToolRepositoryAccess, workAppGitHubMcpToolRepositoryAccessRelations, workAppGitHubProjectAccessMode, workAppGitHubProjectRepositoryAccess, workAppGitHubProjectRepositoryAccessRelations, workAppGitHubRepositories, workAppGitHubRepositoriesRelations, workAppSlackChannelAgentConfigs, workAppSlackUserMappings, workAppSlackWorkspaces };
|
|
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_core1831.PgTableWithColumns<{
|
|
19
19
|
name: "project_metadata";
|
|
20
20
|
schema: undefined;
|
|
21
21
|
columns: {
|
|
22
|
-
id:
|
|
22
|
+
id: drizzle_orm_pg_core1831.PgColumn<{
|
|
23
23
|
name: "id";
|
|
24
24
|
tableName: "project_metadata";
|
|
25
25
|
dataType: "string";
|
|
@@ -38,7 +38,7 @@ declare const projectMetadata: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
38
38
|
}, {}, {
|
|
39
39
|
length: 256;
|
|
40
40
|
}>;
|
|
41
|
-
tenantId:
|
|
41
|
+
tenantId: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
57
57
|
}, {}, {
|
|
58
58
|
length: 256;
|
|
59
59
|
}>;
|
|
60
|
-
createdAt:
|
|
60
|
+
createdAt: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
74
74
|
identity: undefined;
|
|
75
75
|
generated: undefined;
|
|
76
76
|
}, {}, {}>;
|
|
77
|
-
createdBy:
|
|
77
|
+
createdBy: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
93
93
|
}, {}, {
|
|
94
94
|
length: 256;
|
|
95
95
|
}>;
|
|
96
|
-
mainBranchName:
|
|
96
|
+
mainBranchName: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
115
115
|
};
|
|
116
116
|
dialect: "pg";
|
|
117
117
|
}>;
|
|
118
|
-
declare const conversations:
|
|
118
|
+
declare const conversations: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
119
119
|
name: "conversations";
|
|
120
120
|
schema: undefined;
|
|
121
121
|
columns: {
|
|
122
|
-
createdAt:
|
|
122
|
+
createdAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
123
123
|
name: "created_at";
|
|
124
124
|
tableName: "conversations";
|
|
125
125
|
dataType: "string";
|
|
@@ -136,7 +136,7 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
136
136
|
identity: undefined;
|
|
137
137
|
generated: undefined;
|
|
138
138
|
}, {}, {}>;
|
|
139
|
-
updatedAt:
|
|
139
|
+
updatedAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
140
140
|
name: "updated_at";
|
|
141
141
|
tableName: "conversations";
|
|
142
142
|
dataType: "string";
|
|
@@ -153,7 +153,7 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
153
153
|
identity: undefined;
|
|
154
154
|
generated: undefined;
|
|
155
155
|
}, {}, {}>;
|
|
156
|
-
userId:
|
|
156
|
+
userId: drizzle_orm_pg_core1831.PgColumn<{
|
|
157
157
|
name: "user_id";
|
|
158
158
|
tableName: "conversations";
|
|
159
159
|
dataType: "string";
|
|
@@ -172,7 +172,7 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
172
172
|
}, {}, {
|
|
173
173
|
length: 256;
|
|
174
174
|
}>;
|
|
175
|
-
agentId:
|
|
175
|
+
agentId: drizzle_orm_pg_core1831.PgColumn<{
|
|
176
176
|
name: "agent_id";
|
|
177
177
|
tableName: "conversations";
|
|
178
178
|
dataType: "string";
|
|
@@ -191,7 +191,7 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
191
191
|
}, {}, {
|
|
192
192
|
length: 256;
|
|
193
193
|
}>;
|
|
194
|
-
activeSubAgentId:
|
|
194
|
+
activeSubAgentId: drizzle_orm_pg_core1831.PgColumn<{
|
|
195
195
|
name: "active_sub_agent_id";
|
|
196
196
|
tableName: "conversations";
|
|
197
197
|
dataType: "string";
|
|
@@ -210,7 +210,7 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
210
210
|
}, {}, {
|
|
211
211
|
length: 256;
|
|
212
212
|
}>;
|
|
213
|
-
ref:
|
|
213
|
+
ref: drizzle_orm_pg_core1831.PgColumn<{
|
|
214
214
|
name: "ref";
|
|
215
215
|
tableName: "conversations";
|
|
216
216
|
dataType: "json";
|
|
@@ -237,7 +237,7 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
237
237
|
hash: string;
|
|
238
238
|
};
|
|
239
239
|
}>;
|
|
240
|
-
title:
|
|
240
|
+
title: drizzle_orm_pg_core1831.PgColumn<{
|
|
241
241
|
name: "title";
|
|
242
242
|
tableName: "conversations";
|
|
243
243
|
dataType: "string";
|
|
@@ -254,7 +254,7 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
254
254
|
identity: undefined;
|
|
255
255
|
generated: undefined;
|
|
256
256
|
}, {}, {}>;
|
|
257
|
-
lastContextResolution:
|
|
257
|
+
lastContextResolution: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
271
271
|
identity: undefined;
|
|
272
272
|
generated: undefined;
|
|
273
273
|
}, {}, {}>;
|
|
274
|
-
metadata:
|
|
274
|
+
metadata: drizzle_orm_pg_core1831.PgColumn<{
|
|
275
275
|
name: "metadata";
|
|
276
276
|
tableName: "conversations";
|
|
277
277
|
dataType: "json";
|
|
@@ -290,7 +290,7 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
290
290
|
}, {}, {
|
|
291
291
|
$type: ConversationMetadata;
|
|
292
292
|
}>;
|
|
293
|
-
projectId:
|
|
293
|
+
projectId: drizzle_orm_pg_core1831.PgColumn<{
|
|
294
294
|
name: "project_id";
|
|
295
295
|
tableName: "conversations";
|
|
296
296
|
dataType: "string";
|
|
@@ -309,7 +309,7 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
309
309
|
}, {}, {
|
|
310
310
|
length: 256;
|
|
311
311
|
}>;
|
|
312
|
-
tenantId:
|
|
312
|
+
tenantId: drizzle_orm_pg_core1831.PgColumn<{
|
|
313
313
|
name: "tenant_id";
|
|
314
314
|
tableName: "conversations";
|
|
315
315
|
dataType: "string";
|
|
@@ -328,7 +328,7 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
328
328
|
}, {}, {
|
|
329
329
|
length: 256;
|
|
330
330
|
}>;
|
|
331
|
-
id:
|
|
331
|
+
id: drizzle_orm_pg_core1831.PgColumn<{
|
|
332
332
|
name: "id";
|
|
333
333
|
tableName: "conversations";
|
|
334
334
|
dataType: "string";
|
|
@@ -350,11 +350,11 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
350
350
|
};
|
|
351
351
|
dialect: "pg";
|
|
352
352
|
}>;
|
|
353
|
-
declare const tasks:
|
|
353
|
+
declare const tasks: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
354
354
|
name: "tasks";
|
|
355
355
|
schema: undefined;
|
|
356
356
|
columns: {
|
|
357
|
-
createdAt:
|
|
357
|
+
createdAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
358
358
|
name: "created_at";
|
|
359
359
|
tableName: "tasks";
|
|
360
360
|
dataType: "string";
|
|
@@ -371,7 +371,7 @@ declare const tasks: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
371
371
|
identity: undefined;
|
|
372
372
|
generated: undefined;
|
|
373
373
|
}, {}, {}>;
|
|
374
|
-
updatedAt:
|
|
374
|
+
updatedAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
375
375
|
name: "updated_at";
|
|
376
376
|
tableName: "tasks";
|
|
377
377
|
dataType: "string";
|
|
@@ -388,7 +388,7 @@ declare const tasks: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
388
388
|
identity: undefined;
|
|
389
389
|
generated: undefined;
|
|
390
390
|
}, {}, {}>;
|
|
391
|
-
contextId:
|
|
391
|
+
contextId: drizzle_orm_pg_core1831.PgColumn<{
|
|
392
392
|
name: "context_id";
|
|
393
393
|
tableName: "tasks";
|
|
394
394
|
dataType: "string";
|
|
@@ -407,7 +407,7 @@ declare const tasks: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
407
407
|
}, {}, {
|
|
408
408
|
length: 256;
|
|
409
409
|
}>;
|
|
410
|
-
ref:
|
|
410
|
+
ref: drizzle_orm_pg_core1831.PgColumn<{
|
|
411
411
|
name: "ref";
|
|
412
412
|
tableName: "tasks";
|
|
413
413
|
dataType: "json";
|
|
@@ -434,7 +434,7 @@ declare const tasks: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
434
434
|
hash: string;
|
|
435
435
|
};
|
|
436
436
|
}>;
|
|
437
|
-
status:
|
|
437
|
+
status: drizzle_orm_pg_core1831.PgColumn<{
|
|
438
438
|
name: "status";
|
|
439
439
|
tableName: "tasks";
|
|
440
440
|
dataType: "string";
|
|
@@ -453,7 +453,7 @@ declare const tasks: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
453
453
|
}, {}, {
|
|
454
454
|
length: 256;
|
|
455
455
|
}>;
|
|
456
|
-
metadata:
|
|
456
|
+
metadata: drizzle_orm_pg_core1831.PgColumn<{
|
|
457
457
|
name: "metadata";
|
|
458
458
|
tableName: "tasks";
|
|
459
459
|
dataType: "json";
|
|
@@ -472,7 +472,7 @@ declare const tasks: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
472
472
|
}, {}, {
|
|
473
473
|
$type: TaskMetadataConfig;
|
|
474
474
|
}>;
|
|
475
|
-
subAgentId:
|
|
475
|
+
subAgentId: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
491
491
|
}, {}, {
|
|
492
492
|
length: 256;
|
|
493
493
|
}>;
|
|
494
|
-
agentId:
|
|
494
|
+
agentId: drizzle_orm_pg_core1831.PgColumn<{
|
|
495
495
|
name: "agent_id";
|
|
496
496
|
tableName: "tasks";
|
|
497
497
|
dataType: "string";
|
|
@@ -510,7 +510,7 @@ declare const tasks: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
510
510
|
}, {}, {
|
|
511
511
|
length: 256;
|
|
512
512
|
}>;
|
|
513
|
-
projectId:
|
|
513
|
+
projectId: drizzle_orm_pg_core1831.PgColumn<{
|
|
514
514
|
name: "project_id";
|
|
515
515
|
tableName: "tasks";
|
|
516
516
|
dataType: "string";
|
|
@@ -529,7 +529,7 @@ declare const tasks: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
529
529
|
}, {}, {
|
|
530
530
|
length: 256;
|
|
531
531
|
}>;
|
|
532
|
-
tenantId:
|
|
532
|
+
tenantId: drizzle_orm_pg_core1831.PgColumn<{
|
|
533
533
|
name: "tenant_id";
|
|
534
534
|
tableName: "tasks";
|
|
535
535
|
dataType: "string";
|
|
@@ -548,7 +548,7 @@ declare const tasks: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
548
548
|
}, {}, {
|
|
549
549
|
length: 256;
|
|
550
550
|
}>;
|
|
551
|
-
id:
|
|
551
|
+
id: drizzle_orm_pg_core1831.PgColumn<{
|
|
552
552
|
name: "id";
|
|
553
553
|
tableName: "tasks";
|
|
554
554
|
dataType: "string";
|
|
@@ -570,11 +570,11 @@ declare const tasks: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
570
570
|
};
|
|
571
571
|
dialect: "pg";
|
|
572
572
|
}>;
|
|
573
|
-
declare const apiKeys:
|
|
573
|
+
declare const apiKeys: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
574
574
|
name: "api_keys";
|
|
575
575
|
schema: undefined;
|
|
576
576
|
columns: {
|
|
577
|
-
createdAt:
|
|
577
|
+
createdAt: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
591
591
|
identity: undefined;
|
|
592
592
|
generated: undefined;
|
|
593
593
|
}, {}, {}>;
|
|
594
|
-
updatedAt:
|
|
594
|
+
updatedAt: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
608
608
|
identity: undefined;
|
|
609
609
|
generated: undefined;
|
|
610
610
|
}, {}, {}>;
|
|
611
|
-
agentId:
|
|
611
|
+
agentId: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
627
627
|
}, {}, {
|
|
628
628
|
length: 256;
|
|
629
629
|
}>;
|
|
630
|
-
publicId:
|
|
630
|
+
publicId: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
646
646
|
}, {}, {
|
|
647
647
|
length: 256;
|
|
648
648
|
}>;
|
|
649
|
-
keyHash:
|
|
649
|
+
keyHash: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
665
665
|
}, {}, {
|
|
666
666
|
length: 256;
|
|
667
667
|
}>;
|
|
668
|
-
keyPrefix:
|
|
668
|
+
keyPrefix: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
684
684
|
}, {}, {
|
|
685
685
|
length: 256;
|
|
686
686
|
}>;
|
|
687
|
-
name:
|
|
687
|
+
name: drizzle_orm_pg_core1831.PgColumn<{
|
|
688
688
|
name: "name";
|
|
689
689
|
tableName: "api_keys";
|
|
690
690
|
dataType: "string";
|
|
@@ -703,7 +703,7 @@ declare const apiKeys: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
703
703
|
}, {}, {
|
|
704
704
|
length: 256;
|
|
705
705
|
}>;
|
|
706
|
-
lastUsedAt:
|
|
706
|
+
lastUsedAt: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
720
720
|
identity: undefined;
|
|
721
721
|
generated: undefined;
|
|
722
722
|
}, {}, {}>;
|
|
723
|
-
expiresAt:
|
|
723
|
+
expiresAt: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
737
737
|
identity: undefined;
|
|
738
738
|
generated: undefined;
|
|
739
739
|
}, {}, {}>;
|
|
740
|
-
projectId:
|
|
740
|
+
projectId: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
756
756
|
}, {}, {
|
|
757
757
|
length: 256;
|
|
758
758
|
}>;
|
|
759
|
-
tenantId:
|
|
759
|
+
tenantId: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
775
775
|
}, {}, {
|
|
776
776
|
length: 256;
|
|
777
777
|
}>;
|
|
778
|
-
id:
|
|
778
|
+
id: drizzle_orm_pg_core1831.PgColumn<{
|
|
779
779
|
name: "id";
|
|
780
780
|
tableName: "api_keys";
|
|
781
781
|
dataType: "string";
|
|
@@ -804,11 +804,11 @@ declare const apiKeys: drizzle_orm_pg_core1674.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_core1831.PgTableWithColumns<{
|
|
808
808
|
name: "trigger_invocations";
|
|
809
809
|
schema: undefined;
|
|
810
810
|
columns: {
|
|
811
|
-
triggerId:
|
|
811
|
+
triggerId: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
827
827
|
}, {}, {
|
|
828
828
|
length: 256;
|
|
829
829
|
}>;
|
|
830
|
-
conversationId:
|
|
830
|
+
conversationId: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
846
846
|
}, {}, {
|
|
847
847
|
length: 256;
|
|
848
848
|
}>;
|
|
849
|
-
status:
|
|
849
|
+
status: drizzle_orm_pg_core1831.PgColumn<{
|
|
850
850
|
name: "status";
|
|
851
851
|
tableName: "trigger_invocations";
|
|
852
852
|
dataType: "string";
|
|
@@ -865,7 +865,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
865
865
|
}, {}, {
|
|
866
866
|
length: 20;
|
|
867
867
|
}>;
|
|
868
|
-
requestPayload:
|
|
868
|
+
requestPayload: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
882
882
|
identity: undefined;
|
|
883
883
|
generated: undefined;
|
|
884
884
|
}, {}, {}>;
|
|
885
|
-
transformedPayload:
|
|
885
|
+
transformedPayload: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
899
899
|
identity: undefined;
|
|
900
900
|
generated: undefined;
|
|
901
901
|
}, {}, {}>;
|
|
902
|
-
errorMessage:
|
|
902
|
+
errorMessage: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
916
916
|
identity: undefined;
|
|
917
917
|
generated: undefined;
|
|
918
918
|
}, {}, {}>;
|
|
919
|
-
createdAt:
|
|
919
|
+
createdAt: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
933
933
|
identity: undefined;
|
|
934
934
|
generated: undefined;
|
|
935
935
|
}, {}, {}>;
|
|
936
|
-
agentId:
|
|
936
|
+
agentId: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
952
952
|
}, {}, {
|
|
953
953
|
length: 256;
|
|
954
954
|
}>;
|
|
955
|
-
projectId:
|
|
955
|
+
projectId: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
971
971
|
}, {}, {
|
|
972
972
|
length: 256;
|
|
973
973
|
}>;
|
|
974
|
-
tenantId:
|
|
974
|
+
tenantId: drizzle_orm_pg_core1831.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_core1674.PgTableWithColumns<{
|
|
|
990
990
|
}, {}, {
|
|
991
991
|
length: 256;
|
|
992
992
|
}>;
|
|
993
|
-
id:
|
|
993
|
+
id: drizzle_orm_pg_core1831.PgColumn<{
|
|
994
994
|
name: "id";
|
|
995
995
|
tableName: "trigger_invocations";
|
|
996
996
|
dataType: "string";
|
|
@@ -1012,11 +1012,1013 @@ declare const triggerInvocations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1012
1012
|
};
|
|
1013
1013
|
dialect: "pg";
|
|
1014
1014
|
}>;
|
|
1015
|
-
|
|
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_core1831.PgTableWithColumns<{
|
|
1021
|
+
name: "work_app_slack_workspaces";
|
|
1022
|
+
schema: undefined;
|
|
1023
|
+
columns: {
|
|
1024
|
+
createdAt: drizzle_orm_pg_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.PgTableWithColumns<{
|
|
1255
|
+
name: "work_app_slack_user_mappings";
|
|
1256
|
+
schema: undefined;
|
|
1257
|
+
columns: {
|
|
1258
|
+
createdAt: drizzle_orm_pg_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.PgTableWithColumns<{
|
|
1504
|
+
name: "work_app_slack_channel_agent_configs";
|
|
1505
|
+
schema: undefined;
|
|
1506
|
+
columns: {
|
|
1507
|
+
createdAt: drizzle_orm_pg_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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_core1831.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
|
+
/**
|
|
1750
|
+
* Scheduled trigger invocations - records each execution of a scheduled trigger.
|
|
1751
|
+
* NOTE: No FK to scheduled_triggers table since it's in a different database (DoltGres).
|
|
1752
|
+
*/
|
|
1753
|
+
declare const scheduledTriggerInvocations: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
1754
|
+
name: "scheduled_trigger_invocations";
|
|
1755
|
+
schema: undefined;
|
|
1756
|
+
columns: {
|
|
1757
|
+
scheduledTriggerId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1758
|
+
name: "scheduled_trigger_id";
|
|
1759
|
+
tableName: "scheduled_trigger_invocations";
|
|
1760
|
+
dataType: "string";
|
|
1761
|
+
columnType: "PgVarchar";
|
|
1762
|
+
data: string;
|
|
1763
|
+
driverParam: string;
|
|
1764
|
+
notNull: true;
|
|
1765
|
+
hasDefault: false;
|
|
1766
|
+
isPrimaryKey: false;
|
|
1767
|
+
isAutoincrement: false;
|
|
1768
|
+
hasRuntimeDefault: false;
|
|
1769
|
+
enumValues: [string, ...string[]];
|
|
1770
|
+
baseColumn: never;
|
|
1771
|
+
identity: undefined;
|
|
1772
|
+
generated: undefined;
|
|
1773
|
+
}, {}, {
|
|
1774
|
+
length: 256;
|
|
1775
|
+
}>;
|
|
1776
|
+
status: drizzle_orm_pg_core1831.PgColumn<{
|
|
1777
|
+
name: "status";
|
|
1778
|
+
tableName: "scheduled_trigger_invocations";
|
|
1779
|
+
dataType: "string";
|
|
1780
|
+
columnType: "PgVarchar";
|
|
1781
|
+
data: "pending" | "running" | "completed" | "failed" | "cancelled";
|
|
1782
|
+
driverParam: string;
|
|
1783
|
+
notNull: true;
|
|
1784
|
+
hasDefault: false;
|
|
1785
|
+
isPrimaryKey: false;
|
|
1786
|
+
isAutoincrement: false;
|
|
1787
|
+
hasRuntimeDefault: false;
|
|
1788
|
+
enumValues: [string, ...string[]];
|
|
1789
|
+
baseColumn: never;
|
|
1790
|
+
identity: undefined;
|
|
1791
|
+
generated: undefined;
|
|
1792
|
+
}, {}, {
|
|
1793
|
+
length: 50;
|
|
1794
|
+
$type: "pending" | "running" | "completed" | "failed" | "cancelled";
|
|
1795
|
+
}>;
|
|
1796
|
+
scheduledFor: drizzle_orm_pg_core1831.PgColumn<{
|
|
1797
|
+
name: "scheduled_for";
|
|
1798
|
+
tableName: "scheduled_trigger_invocations";
|
|
1799
|
+
dataType: "string";
|
|
1800
|
+
columnType: "PgTimestampString";
|
|
1801
|
+
data: string;
|
|
1802
|
+
driverParam: string;
|
|
1803
|
+
notNull: true;
|
|
1804
|
+
hasDefault: false;
|
|
1805
|
+
isPrimaryKey: false;
|
|
1806
|
+
isAutoincrement: false;
|
|
1807
|
+
hasRuntimeDefault: false;
|
|
1808
|
+
enumValues: undefined;
|
|
1809
|
+
baseColumn: never;
|
|
1810
|
+
identity: undefined;
|
|
1811
|
+
generated: undefined;
|
|
1812
|
+
}, {}, {}>;
|
|
1813
|
+
startedAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
1814
|
+
name: "started_at";
|
|
1815
|
+
tableName: "scheduled_trigger_invocations";
|
|
1816
|
+
dataType: "string";
|
|
1817
|
+
columnType: "PgTimestampString";
|
|
1818
|
+
data: string;
|
|
1819
|
+
driverParam: string;
|
|
1820
|
+
notNull: false;
|
|
1821
|
+
hasDefault: false;
|
|
1822
|
+
isPrimaryKey: false;
|
|
1823
|
+
isAutoincrement: false;
|
|
1824
|
+
hasRuntimeDefault: false;
|
|
1825
|
+
enumValues: undefined;
|
|
1826
|
+
baseColumn: never;
|
|
1827
|
+
identity: undefined;
|
|
1828
|
+
generated: undefined;
|
|
1829
|
+
}, {}, {}>;
|
|
1830
|
+
completedAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
1831
|
+
name: "completed_at";
|
|
1832
|
+
tableName: "scheduled_trigger_invocations";
|
|
1833
|
+
dataType: "string";
|
|
1834
|
+
columnType: "PgTimestampString";
|
|
1835
|
+
data: string;
|
|
1836
|
+
driverParam: string;
|
|
1837
|
+
notNull: false;
|
|
1838
|
+
hasDefault: false;
|
|
1839
|
+
isPrimaryKey: false;
|
|
1840
|
+
isAutoincrement: false;
|
|
1841
|
+
hasRuntimeDefault: false;
|
|
1842
|
+
enumValues: undefined;
|
|
1843
|
+
baseColumn: never;
|
|
1844
|
+
identity: undefined;
|
|
1845
|
+
generated: undefined;
|
|
1846
|
+
}, {}, {}>;
|
|
1847
|
+
resolvedPayload: drizzle_orm_pg_core1831.PgColumn<{
|
|
1848
|
+
name: "resolved_payload";
|
|
1849
|
+
tableName: "scheduled_trigger_invocations";
|
|
1850
|
+
dataType: "json";
|
|
1851
|
+
columnType: "PgJsonb";
|
|
1852
|
+
data: Record<string, unknown> | null;
|
|
1853
|
+
driverParam: unknown;
|
|
1854
|
+
notNull: false;
|
|
1855
|
+
hasDefault: false;
|
|
1856
|
+
isPrimaryKey: false;
|
|
1857
|
+
isAutoincrement: false;
|
|
1858
|
+
hasRuntimeDefault: false;
|
|
1859
|
+
enumValues: undefined;
|
|
1860
|
+
baseColumn: never;
|
|
1861
|
+
identity: undefined;
|
|
1862
|
+
generated: undefined;
|
|
1863
|
+
}, {}, {
|
|
1864
|
+
$type: Record<string, unknown> | null;
|
|
1865
|
+
}>;
|
|
1866
|
+
conversationIds: drizzle_orm_pg_core1831.PgColumn<{
|
|
1867
|
+
name: "conversation_ids";
|
|
1868
|
+
tableName: "scheduled_trigger_invocations";
|
|
1869
|
+
dataType: "json";
|
|
1870
|
+
columnType: "PgJsonb";
|
|
1871
|
+
data: string[];
|
|
1872
|
+
driverParam: unknown;
|
|
1873
|
+
notNull: false;
|
|
1874
|
+
hasDefault: true;
|
|
1875
|
+
isPrimaryKey: false;
|
|
1876
|
+
isAutoincrement: false;
|
|
1877
|
+
hasRuntimeDefault: false;
|
|
1878
|
+
enumValues: undefined;
|
|
1879
|
+
baseColumn: never;
|
|
1880
|
+
identity: undefined;
|
|
1881
|
+
generated: undefined;
|
|
1882
|
+
}, {}, {
|
|
1883
|
+
$type: string[];
|
|
1884
|
+
}>;
|
|
1885
|
+
attemptNumber: drizzle_orm_pg_core1831.PgColumn<{
|
|
1886
|
+
name: "attempt_number";
|
|
1887
|
+
tableName: "scheduled_trigger_invocations";
|
|
1888
|
+
dataType: "number";
|
|
1889
|
+
columnType: "PgInteger";
|
|
1890
|
+
data: number;
|
|
1891
|
+
driverParam: string | number;
|
|
1892
|
+
notNull: true;
|
|
1893
|
+
hasDefault: true;
|
|
1894
|
+
isPrimaryKey: false;
|
|
1895
|
+
isAutoincrement: false;
|
|
1896
|
+
hasRuntimeDefault: false;
|
|
1897
|
+
enumValues: undefined;
|
|
1898
|
+
baseColumn: never;
|
|
1899
|
+
identity: undefined;
|
|
1900
|
+
generated: undefined;
|
|
1901
|
+
}, {}, {}>;
|
|
1902
|
+
idempotencyKey: drizzle_orm_pg_core1831.PgColumn<{
|
|
1903
|
+
name: "idempotency_key";
|
|
1904
|
+
tableName: "scheduled_trigger_invocations";
|
|
1905
|
+
dataType: "string";
|
|
1906
|
+
columnType: "PgVarchar";
|
|
1907
|
+
data: string;
|
|
1908
|
+
driverParam: string;
|
|
1909
|
+
notNull: true;
|
|
1910
|
+
hasDefault: false;
|
|
1911
|
+
isPrimaryKey: false;
|
|
1912
|
+
isAutoincrement: false;
|
|
1913
|
+
hasRuntimeDefault: false;
|
|
1914
|
+
enumValues: [string, ...string[]];
|
|
1915
|
+
baseColumn: never;
|
|
1916
|
+
identity: undefined;
|
|
1917
|
+
generated: undefined;
|
|
1918
|
+
}, {}, {
|
|
1919
|
+
length: 256;
|
|
1920
|
+
}>;
|
|
1921
|
+
createdAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
1922
|
+
name: "created_at";
|
|
1923
|
+
tableName: "scheduled_trigger_invocations";
|
|
1924
|
+
dataType: "string";
|
|
1925
|
+
columnType: "PgTimestampString";
|
|
1926
|
+
data: string;
|
|
1927
|
+
driverParam: string;
|
|
1928
|
+
notNull: true;
|
|
1929
|
+
hasDefault: true;
|
|
1930
|
+
isPrimaryKey: false;
|
|
1931
|
+
isAutoincrement: false;
|
|
1932
|
+
hasRuntimeDefault: false;
|
|
1933
|
+
enumValues: undefined;
|
|
1934
|
+
baseColumn: never;
|
|
1935
|
+
identity: undefined;
|
|
1936
|
+
generated: undefined;
|
|
1937
|
+
}, {}, {}>;
|
|
1938
|
+
agentId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1939
|
+
name: "agent_id";
|
|
1940
|
+
tableName: "scheduled_trigger_invocations";
|
|
1941
|
+
dataType: "string";
|
|
1942
|
+
columnType: "PgVarchar";
|
|
1943
|
+
data: string;
|
|
1944
|
+
driverParam: string;
|
|
1945
|
+
notNull: true;
|
|
1946
|
+
hasDefault: false;
|
|
1947
|
+
isPrimaryKey: false;
|
|
1948
|
+
isAutoincrement: false;
|
|
1949
|
+
hasRuntimeDefault: false;
|
|
1950
|
+
enumValues: [string, ...string[]];
|
|
1951
|
+
baseColumn: never;
|
|
1952
|
+
identity: undefined;
|
|
1953
|
+
generated: undefined;
|
|
1954
|
+
}, {}, {
|
|
1955
|
+
length: 256;
|
|
1956
|
+
}>;
|
|
1957
|
+
projectId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1958
|
+
name: "project_id";
|
|
1959
|
+
tableName: "scheduled_trigger_invocations";
|
|
1960
|
+
dataType: "string";
|
|
1961
|
+
columnType: "PgVarchar";
|
|
1962
|
+
data: string;
|
|
1963
|
+
driverParam: string;
|
|
1964
|
+
notNull: true;
|
|
1965
|
+
hasDefault: false;
|
|
1966
|
+
isPrimaryKey: false;
|
|
1967
|
+
isAutoincrement: false;
|
|
1968
|
+
hasRuntimeDefault: false;
|
|
1969
|
+
enumValues: [string, ...string[]];
|
|
1970
|
+
baseColumn: never;
|
|
1971
|
+
identity: undefined;
|
|
1972
|
+
generated: undefined;
|
|
1973
|
+
}, {}, {
|
|
1974
|
+
length: 256;
|
|
1975
|
+
}>;
|
|
1976
|
+
tenantId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1977
|
+
name: "tenant_id";
|
|
1978
|
+
tableName: "scheduled_trigger_invocations";
|
|
1979
|
+
dataType: "string";
|
|
1980
|
+
columnType: "PgVarchar";
|
|
1981
|
+
data: string;
|
|
1982
|
+
driverParam: string;
|
|
1983
|
+
notNull: true;
|
|
1984
|
+
hasDefault: false;
|
|
1985
|
+
isPrimaryKey: false;
|
|
1986
|
+
isAutoincrement: false;
|
|
1987
|
+
hasRuntimeDefault: false;
|
|
1988
|
+
enumValues: [string, ...string[]];
|
|
1989
|
+
baseColumn: never;
|
|
1990
|
+
identity: undefined;
|
|
1991
|
+
generated: undefined;
|
|
1992
|
+
}, {}, {
|
|
1993
|
+
length: 256;
|
|
1994
|
+
}>;
|
|
1995
|
+
id: drizzle_orm_pg_core1831.PgColumn<{
|
|
1996
|
+
name: "id";
|
|
1997
|
+
tableName: "scheduled_trigger_invocations";
|
|
1998
|
+
dataType: "string";
|
|
1999
|
+
columnType: "PgVarchar";
|
|
2000
|
+
data: string;
|
|
2001
|
+
driverParam: string;
|
|
2002
|
+
notNull: true;
|
|
2003
|
+
hasDefault: false;
|
|
2004
|
+
isPrimaryKey: false;
|
|
2005
|
+
isAutoincrement: false;
|
|
2006
|
+
hasRuntimeDefault: false;
|
|
2007
|
+
enumValues: [string, ...string[]];
|
|
2008
|
+
baseColumn: never;
|
|
2009
|
+
identity: undefined;
|
|
2010
|
+
generated: undefined;
|
|
2011
|
+
}, {}, {
|
|
2012
|
+
length: 256;
|
|
2013
|
+
}>;
|
|
2014
|
+
};
|
|
2015
|
+
dialect: "pg";
|
|
2016
|
+
}>;
|
|
2017
|
+
declare const messages: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
1016
2018
|
name: "messages";
|
|
1017
2019
|
schema: undefined;
|
|
1018
2020
|
columns: {
|
|
1019
|
-
createdAt:
|
|
2021
|
+
createdAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
1020
2022
|
name: "created_at";
|
|
1021
2023
|
tableName: "messages";
|
|
1022
2024
|
dataType: "string";
|
|
@@ -1033,7 +2035,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1033
2035
|
identity: undefined;
|
|
1034
2036
|
generated: undefined;
|
|
1035
2037
|
}, {}, {}>;
|
|
1036
|
-
updatedAt:
|
|
2038
|
+
updatedAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
1037
2039
|
name: "updated_at";
|
|
1038
2040
|
tableName: "messages";
|
|
1039
2041
|
dataType: "string";
|
|
@@ -1050,7 +2052,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1050
2052
|
identity: undefined;
|
|
1051
2053
|
generated: undefined;
|
|
1052
2054
|
}, {}, {}>;
|
|
1053
|
-
conversationId:
|
|
2055
|
+
conversationId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1054
2056
|
name: "conversation_id";
|
|
1055
2057
|
tableName: "messages";
|
|
1056
2058
|
dataType: "string";
|
|
@@ -1069,7 +2071,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1069
2071
|
}, {}, {
|
|
1070
2072
|
length: 256;
|
|
1071
2073
|
}>;
|
|
1072
|
-
role:
|
|
2074
|
+
role: drizzle_orm_pg_core1831.PgColumn<{
|
|
1073
2075
|
name: "role";
|
|
1074
2076
|
tableName: "messages";
|
|
1075
2077
|
dataType: "string";
|
|
@@ -1088,7 +2090,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1088
2090
|
}, {}, {
|
|
1089
2091
|
length: 256;
|
|
1090
2092
|
}>;
|
|
1091
|
-
fromSubAgentId:
|
|
2093
|
+
fromSubAgentId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1092
2094
|
name: "from_sub_agent_id";
|
|
1093
2095
|
tableName: "messages";
|
|
1094
2096
|
dataType: "string";
|
|
@@ -1107,7 +2109,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1107
2109
|
}, {}, {
|
|
1108
2110
|
length: 256;
|
|
1109
2111
|
}>;
|
|
1110
|
-
toSubAgentId:
|
|
2112
|
+
toSubAgentId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1111
2113
|
name: "to_sub_agent_id";
|
|
1112
2114
|
tableName: "messages";
|
|
1113
2115
|
dataType: "string";
|
|
@@ -1126,7 +2128,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1126
2128
|
}, {}, {
|
|
1127
2129
|
length: 256;
|
|
1128
2130
|
}>;
|
|
1129
|
-
fromExternalAgentId:
|
|
2131
|
+
fromExternalAgentId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1130
2132
|
name: "from_external_sub_agent_id";
|
|
1131
2133
|
tableName: "messages";
|
|
1132
2134
|
dataType: "string";
|
|
@@ -1145,7 +2147,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1145
2147
|
}, {}, {
|
|
1146
2148
|
length: 256;
|
|
1147
2149
|
}>;
|
|
1148
|
-
toExternalAgentId:
|
|
2150
|
+
toExternalAgentId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1149
2151
|
name: "to_external_sub_agent_id";
|
|
1150
2152
|
tableName: "messages";
|
|
1151
2153
|
dataType: "string";
|
|
@@ -1164,7 +2166,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1164
2166
|
}, {}, {
|
|
1165
2167
|
length: 256;
|
|
1166
2168
|
}>;
|
|
1167
|
-
fromTeamAgentId:
|
|
2169
|
+
fromTeamAgentId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1168
2170
|
name: "from_team_agent_id";
|
|
1169
2171
|
tableName: "messages";
|
|
1170
2172
|
dataType: "string";
|
|
@@ -1183,7 +2185,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1183
2185
|
}, {}, {
|
|
1184
2186
|
length: 256;
|
|
1185
2187
|
}>;
|
|
1186
|
-
toTeamAgentId:
|
|
2188
|
+
toTeamAgentId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1187
2189
|
name: "to_team_agent_id";
|
|
1188
2190
|
tableName: "messages";
|
|
1189
2191
|
dataType: "string";
|
|
@@ -1202,7 +2204,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1202
2204
|
}, {}, {
|
|
1203
2205
|
length: 256;
|
|
1204
2206
|
}>;
|
|
1205
|
-
content:
|
|
2207
|
+
content: drizzle_orm_pg_core1831.PgColumn<{
|
|
1206
2208
|
name: "content";
|
|
1207
2209
|
tableName: "messages";
|
|
1208
2210
|
dataType: "json";
|
|
@@ -1221,7 +2223,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1221
2223
|
}, {}, {
|
|
1222
2224
|
$type: MessageContent;
|
|
1223
2225
|
}>;
|
|
1224
|
-
visibility:
|
|
2226
|
+
visibility: drizzle_orm_pg_core1831.PgColumn<{
|
|
1225
2227
|
name: "visibility";
|
|
1226
2228
|
tableName: "messages";
|
|
1227
2229
|
dataType: "string";
|
|
@@ -1240,7 +2242,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1240
2242
|
}, {}, {
|
|
1241
2243
|
length: 256;
|
|
1242
2244
|
}>;
|
|
1243
|
-
messageType:
|
|
2245
|
+
messageType: drizzle_orm_pg_core1831.PgColumn<{
|
|
1244
2246
|
name: "message_type";
|
|
1245
2247
|
tableName: "messages";
|
|
1246
2248
|
dataType: "string";
|
|
@@ -1259,7 +2261,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1259
2261
|
}, {}, {
|
|
1260
2262
|
length: 256;
|
|
1261
2263
|
}>;
|
|
1262
|
-
taskId:
|
|
2264
|
+
taskId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1263
2265
|
name: "task_id";
|
|
1264
2266
|
tableName: "messages";
|
|
1265
2267
|
dataType: "string";
|
|
@@ -1278,7 +2280,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1278
2280
|
}, {}, {
|
|
1279
2281
|
length: 256;
|
|
1280
2282
|
}>;
|
|
1281
|
-
parentMessageId:
|
|
2283
|
+
parentMessageId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1282
2284
|
name: "parent_message_id";
|
|
1283
2285
|
tableName: "messages";
|
|
1284
2286
|
dataType: "string";
|
|
@@ -1297,7 +2299,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1297
2299
|
}, {}, {
|
|
1298
2300
|
length: 256;
|
|
1299
2301
|
}>;
|
|
1300
|
-
a2aTaskId:
|
|
2302
|
+
a2aTaskId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1301
2303
|
name: "a2a_task_id";
|
|
1302
2304
|
tableName: "messages";
|
|
1303
2305
|
dataType: "string";
|
|
@@ -1316,7 +2318,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1316
2318
|
}, {}, {
|
|
1317
2319
|
length: 256;
|
|
1318
2320
|
}>;
|
|
1319
|
-
a2aSessionId:
|
|
2321
|
+
a2aSessionId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1320
2322
|
name: "a2a_session_id";
|
|
1321
2323
|
tableName: "messages";
|
|
1322
2324
|
dataType: "string";
|
|
@@ -1335,7 +2337,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1335
2337
|
}, {}, {
|
|
1336
2338
|
length: 256;
|
|
1337
2339
|
}>;
|
|
1338
|
-
metadata:
|
|
2340
|
+
metadata: drizzle_orm_pg_core1831.PgColumn<{
|
|
1339
2341
|
name: "metadata";
|
|
1340
2342
|
tableName: "messages";
|
|
1341
2343
|
dataType: "json";
|
|
@@ -1354,7 +2356,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1354
2356
|
}, {}, {
|
|
1355
2357
|
$type: MessageMetadata;
|
|
1356
2358
|
}>;
|
|
1357
|
-
projectId:
|
|
2359
|
+
projectId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1358
2360
|
name: "project_id";
|
|
1359
2361
|
tableName: "messages";
|
|
1360
2362
|
dataType: "string";
|
|
@@ -1373,7 +2375,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1373
2375
|
}, {}, {
|
|
1374
2376
|
length: 256;
|
|
1375
2377
|
}>;
|
|
1376
|
-
tenantId:
|
|
2378
|
+
tenantId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1377
2379
|
name: "tenant_id";
|
|
1378
2380
|
tableName: "messages";
|
|
1379
2381
|
dataType: "string";
|
|
@@ -1392,7 +2394,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1392
2394
|
}, {}, {
|
|
1393
2395
|
length: 256;
|
|
1394
2396
|
}>;
|
|
1395
|
-
id:
|
|
2397
|
+
id: drizzle_orm_pg_core1831.PgColumn<{
|
|
1396
2398
|
name: "id";
|
|
1397
2399
|
tableName: "messages";
|
|
1398
2400
|
dataType: "string";
|
|
@@ -1414,11 +2416,11 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1414
2416
|
};
|
|
1415
2417
|
dialect: "pg";
|
|
1416
2418
|
}>;
|
|
1417
|
-
declare const taskRelations:
|
|
2419
|
+
declare const taskRelations: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
1418
2420
|
name: "task_relations";
|
|
1419
2421
|
schema: undefined;
|
|
1420
2422
|
columns: {
|
|
1421
|
-
createdAt:
|
|
2423
|
+
createdAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
1422
2424
|
name: "created_at";
|
|
1423
2425
|
tableName: "task_relations";
|
|
1424
2426
|
dataType: "string";
|
|
@@ -1435,7 +2437,7 @@ declare const taskRelations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1435
2437
|
identity: undefined;
|
|
1436
2438
|
generated: undefined;
|
|
1437
2439
|
}, {}, {}>;
|
|
1438
|
-
updatedAt:
|
|
2440
|
+
updatedAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
1439
2441
|
name: "updated_at";
|
|
1440
2442
|
tableName: "task_relations";
|
|
1441
2443
|
dataType: "string";
|
|
@@ -1452,7 +2454,7 @@ declare const taskRelations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1452
2454
|
identity: undefined;
|
|
1453
2455
|
generated: undefined;
|
|
1454
2456
|
}, {}, {}>;
|
|
1455
|
-
parentTaskId:
|
|
2457
|
+
parentTaskId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1456
2458
|
name: "parent_task_id";
|
|
1457
2459
|
tableName: "task_relations";
|
|
1458
2460
|
dataType: "string";
|
|
@@ -1471,7 +2473,7 @@ declare const taskRelations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1471
2473
|
}, {}, {
|
|
1472
2474
|
length: 256;
|
|
1473
2475
|
}>;
|
|
1474
|
-
childTaskId:
|
|
2476
|
+
childTaskId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1475
2477
|
name: "child_task_id";
|
|
1476
2478
|
tableName: "task_relations";
|
|
1477
2479
|
dataType: "string";
|
|
@@ -1490,7 +2492,7 @@ declare const taskRelations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1490
2492
|
}, {}, {
|
|
1491
2493
|
length: 256;
|
|
1492
2494
|
}>;
|
|
1493
|
-
relationType:
|
|
2495
|
+
relationType: drizzle_orm_pg_core1831.PgColumn<{
|
|
1494
2496
|
name: "relation_type";
|
|
1495
2497
|
tableName: "task_relations";
|
|
1496
2498
|
dataType: "string";
|
|
@@ -1509,7 +2511,7 @@ declare const taskRelations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1509
2511
|
}, {}, {
|
|
1510
2512
|
length: 256;
|
|
1511
2513
|
}>;
|
|
1512
|
-
projectId:
|
|
2514
|
+
projectId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1513
2515
|
name: "project_id";
|
|
1514
2516
|
tableName: "task_relations";
|
|
1515
2517
|
dataType: "string";
|
|
@@ -1528,7 +2530,7 @@ declare const taskRelations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1528
2530
|
}, {}, {
|
|
1529
2531
|
length: 256;
|
|
1530
2532
|
}>;
|
|
1531
|
-
tenantId:
|
|
2533
|
+
tenantId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1532
2534
|
name: "tenant_id";
|
|
1533
2535
|
tableName: "task_relations";
|
|
1534
2536
|
dataType: "string";
|
|
@@ -1547,7 +2549,7 @@ declare const taskRelations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1547
2549
|
}, {}, {
|
|
1548
2550
|
length: 256;
|
|
1549
2551
|
}>;
|
|
1550
|
-
id:
|
|
2552
|
+
id: drizzle_orm_pg_core1831.PgColumn<{
|
|
1551
2553
|
name: "id";
|
|
1552
2554
|
tableName: "task_relations";
|
|
1553
2555
|
dataType: "string";
|
|
@@ -1569,11 +2571,11 @@ declare const taskRelations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1569
2571
|
};
|
|
1570
2572
|
dialect: "pg";
|
|
1571
2573
|
}>;
|
|
1572
|
-
declare const ledgerArtifacts:
|
|
2574
|
+
declare const ledgerArtifacts: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
1573
2575
|
name: "ledger_artifacts";
|
|
1574
2576
|
schema: undefined;
|
|
1575
2577
|
columns: {
|
|
1576
|
-
createdAt:
|
|
2578
|
+
createdAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
1577
2579
|
name: "created_at";
|
|
1578
2580
|
tableName: "ledger_artifacts";
|
|
1579
2581
|
dataType: "string";
|
|
@@ -1590,7 +2592,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1590
2592
|
identity: undefined;
|
|
1591
2593
|
generated: undefined;
|
|
1592
2594
|
}, {}, {}>;
|
|
1593
|
-
updatedAt:
|
|
2595
|
+
updatedAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
1594
2596
|
name: "updated_at";
|
|
1595
2597
|
tableName: "ledger_artifacts";
|
|
1596
2598
|
dataType: "string";
|
|
@@ -1607,7 +2609,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1607
2609
|
identity: undefined;
|
|
1608
2610
|
generated: undefined;
|
|
1609
2611
|
}, {}, {}>;
|
|
1610
|
-
taskId:
|
|
2612
|
+
taskId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1611
2613
|
name: "task_id";
|
|
1612
2614
|
tableName: "ledger_artifacts";
|
|
1613
2615
|
dataType: "string";
|
|
@@ -1626,7 +2628,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1626
2628
|
}, {}, {
|
|
1627
2629
|
length: 256;
|
|
1628
2630
|
}>;
|
|
1629
|
-
toolCallId:
|
|
2631
|
+
toolCallId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1630
2632
|
name: "tool_call_id";
|
|
1631
2633
|
tableName: "ledger_artifacts";
|
|
1632
2634
|
dataType: "string";
|
|
@@ -1645,7 +2647,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1645
2647
|
}, {}, {
|
|
1646
2648
|
length: 256;
|
|
1647
2649
|
}>;
|
|
1648
|
-
contextId:
|
|
2650
|
+
contextId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1649
2651
|
name: "context_id";
|
|
1650
2652
|
tableName: "ledger_artifacts";
|
|
1651
2653
|
dataType: "string";
|
|
@@ -1664,7 +2666,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1664
2666
|
}, {}, {
|
|
1665
2667
|
length: 256;
|
|
1666
2668
|
}>;
|
|
1667
|
-
type:
|
|
2669
|
+
type: drizzle_orm_pg_core1831.PgColumn<{
|
|
1668
2670
|
name: "type";
|
|
1669
2671
|
tableName: "ledger_artifacts";
|
|
1670
2672
|
dataType: "string";
|
|
@@ -1683,7 +2685,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1683
2685
|
}, {}, {
|
|
1684
2686
|
length: 256;
|
|
1685
2687
|
}>;
|
|
1686
|
-
name:
|
|
2688
|
+
name: drizzle_orm_pg_core1831.PgColumn<{
|
|
1687
2689
|
name: "name";
|
|
1688
2690
|
tableName: "ledger_artifacts";
|
|
1689
2691
|
dataType: "string";
|
|
@@ -1702,7 +2704,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1702
2704
|
}, {}, {
|
|
1703
2705
|
length: 256;
|
|
1704
2706
|
}>;
|
|
1705
|
-
description:
|
|
2707
|
+
description: drizzle_orm_pg_core1831.PgColumn<{
|
|
1706
2708
|
name: "description";
|
|
1707
2709
|
tableName: "ledger_artifacts";
|
|
1708
2710
|
dataType: "string";
|
|
@@ -1719,7 +2721,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1719
2721
|
identity: undefined;
|
|
1720
2722
|
generated: undefined;
|
|
1721
2723
|
}, {}, {}>;
|
|
1722
|
-
parts:
|
|
2724
|
+
parts: drizzle_orm_pg_core1831.PgColumn<{
|
|
1723
2725
|
name: "parts";
|
|
1724
2726
|
tableName: "ledger_artifacts";
|
|
1725
2727
|
dataType: "json";
|
|
@@ -1738,7 +2740,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1738
2740
|
}, {}, {
|
|
1739
2741
|
$type: Part[] | null;
|
|
1740
2742
|
}>;
|
|
1741
|
-
metadata:
|
|
2743
|
+
metadata: drizzle_orm_pg_core1831.PgColumn<{
|
|
1742
2744
|
name: "metadata";
|
|
1743
2745
|
tableName: "ledger_artifacts";
|
|
1744
2746
|
dataType: "json";
|
|
@@ -1757,7 +2759,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1757
2759
|
}, {}, {
|
|
1758
2760
|
$type: Record<string, unknown> | null;
|
|
1759
2761
|
}>;
|
|
1760
|
-
summary:
|
|
2762
|
+
summary: drizzle_orm_pg_core1831.PgColumn<{
|
|
1761
2763
|
name: "summary";
|
|
1762
2764
|
tableName: "ledger_artifacts";
|
|
1763
2765
|
dataType: "string";
|
|
@@ -1774,7 +2776,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1774
2776
|
identity: undefined;
|
|
1775
2777
|
generated: undefined;
|
|
1776
2778
|
}, {}, {}>;
|
|
1777
|
-
mime:
|
|
2779
|
+
mime: drizzle_orm_pg_core1831.PgColumn<{
|
|
1778
2780
|
name: "mime";
|
|
1779
2781
|
tableName: "ledger_artifacts";
|
|
1780
2782
|
dataType: "json";
|
|
@@ -1793,7 +2795,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1793
2795
|
}, {}, {
|
|
1794
2796
|
$type: string[] | null;
|
|
1795
2797
|
}>;
|
|
1796
|
-
visibility:
|
|
2798
|
+
visibility: drizzle_orm_pg_core1831.PgColumn<{
|
|
1797
2799
|
name: "visibility";
|
|
1798
2800
|
tableName: "ledger_artifacts";
|
|
1799
2801
|
dataType: "string";
|
|
@@ -1812,7 +2814,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1812
2814
|
}, {}, {
|
|
1813
2815
|
length: 256;
|
|
1814
2816
|
}>;
|
|
1815
|
-
allowedAgents:
|
|
2817
|
+
allowedAgents: drizzle_orm_pg_core1831.PgColumn<{
|
|
1816
2818
|
name: "allowed_agents";
|
|
1817
2819
|
tableName: "ledger_artifacts";
|
|
1818
2820
|
dataType: "json";
|
|
@@ -1831,7 +2833,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1831
2833
|
}, {}, {
|
|
1832
2834
|
$type: string[] | null;
|
|
1833
2835
|
}>;
|
|
1834
|
-
derivedFrom:
|
|
2836
|
+
derivedFrom: drizzle_orm_pg_core1831.PgColumn<{
|
|
1835
2837
|
name: "derived_from";
|
|
1836
2838
|
tableName: "ledger_artifacts";
|
|
1837
2839
|
dataType: "string";
|
|
@@ -1850,7 +2852,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1850
2852
|
}, {}, {
|
|
1851
2853
|
length: 256;
|
|
1852
2854
|
}>;
|
|
1853
|
-
projectId:
|
|
2855
|
+
projectId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1854
2856
|
name: "project_id";
|
|
1855
2857
|
tableName: "ledger_artifacts";
|
|
1856
2858
|
dataType: "string";
|
|
@@ -1869,7 +2871,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1869
2871
|
}, {}, {
|
|
1870
2872
|
length: 256;
|
|
1871
2873
|
}>;
|
|
1872
|
-
tenantId:
|
|
2874
|
+
tenantId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1873
2875
|
name: "tenant_id";
|
|
1874
2876
|
tableName: "ledger_artifacts";
|
|
1875
2877
|
dataType: "string";
|
|
@@ -1888,7 +2890,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1888
2890
|
}, {}, {
|
|
1889
2891
|
length: 256;
|
|
1890
2892
|
}>;
|
|
1891
|
-
id:
|
|
2893
|
+
id: drizzle_orm_pg_core1831.PgColumn<{
|
|
1892
2894
|
name: "id";
|
|
1893
2895
|
tableName: "ledger_artifacts";
|
|
1894
2896
|
dataType: "string";
|
|
@@ -1910,11 +2912,11 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1910
2912
|
};
|
|
1911
2913
|
dialect: "pg";
|
|
1912
2914
|
}>;
|
|
1913
|
-
declare const contextCache:
|
|
2915
|
+
declare const contextCache: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
1914
2916
|
name: "context_cache";
|
|
1915
2917
|
schema: undefined;
|
|
1916
2918
|
columns: {
|
|
1917
|
-
createdAt:
|
|
2919
|
+
createdAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
1918
2920
|
name: "created_at";
|
|
1919
2921
|
tableName: "context_cache";
|
|
1920
2922
|
dataType: "string";
|
|
@@ -1931,7 +2933,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1931
2933
|
identity: undefined;
|
|
1932
2934
|
generated: undefined;
|
|
1933
2935
|
}, {}, {}>;
|
|
1934
|
-
updatedAt:
|
|
2936
|
+
updatedAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
1935
2937
|
name: "updated_at";
|
|
1936
2938
|
tableName: "context_cache";
|
|
1937
2939
|
dataType: "string";
|
|
@@ -1948,7 +2950,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1948
2950
|
identity: undefined;
|
|
1949
2951
|
generated: undefined;
|
|
1950
2952
|
}, {}, {}>;
|
|
1951
|
-
conversationId:
|
|
2953
|
+
conversationId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1952
2954
|
name: "conversation_id";
|
|
1953
2955
|
tableName: "context_cache";
|
|
1954
2956
|
dataType: "string";
|
|
@@ -1967,7 +2969,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1967
2969
|
}, {}, {
|
|
1968
2970
|
length: 256;
|
|
1969
2971
|
}>;
|
|
1970
|
-
contextConfigId:
|
|
2972
|
+
contextConfigId: drizzle_orm_pg_core1831.PgColumn<{
|
|
1971
2973
|
name: "context_config_id";
|
|
1972
2974
|
tableName: "context_cache";
|
|
1973
2975
|
dataType: "string";
|
|
@@ -1986,7 +2988,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1986
2988
|
}, {}, {
|
|
1987
2989
|
length: 256;
|
|
1988
2990
|
}>;
|
|
1989
|
-
contextVariableKey:
|
|
2991
|
+
contextVariableKey: drizzle_orm_pg_core1831.PgColumn<{
|
|
1990
2992
|
name: "context_variable_key";
|
|
1991
2993
|
tableName: "context_cache";
|
|
1992
2994
|
dataType: "string";
|
|
@@ -2005,7 +3007,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2005
3007
|
}, {}, {
|
|
2006
3008
|
length: 256;
|
|
2007
3009
|
}>;
|
|
2008
|
-
ref:
|
|
3010
|
+
ref: drizzle_orm_pg_core1831.PgColumn<{
|
|
2009
3011
|
name: "ref";
|
|
2010
3012
|
tableName: "context_cache";
|
|
2011
3013
|
dataType: "json";
|
|
@@ -2032,7 +3034,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2032
3034
|
hash: string;
|
|
2033
3035
|
};
|
|
2034
3036
|
}>;
|
|
2035
|
-
value:
|
|
3037
|
+
value: drizzle_orm_pg_core1831.PgColumn<{
|
|
2036
3038
|
name: "value";
|
|
2037
3039
|
tableName: "context_cache";
|
|
2038
3040
|
dataType: "json";
|
|
@@ -2051,7 +3053,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2051
3053
|
}, {}, {
|
|
2052
3054
|
$type: unknown;
|
|
2053
3055
|
}>;
|
|
2054
|
-
requestHash:
|
|
3056
|
+
requestHash: drizzle_orm_pg_core1831.PgColumn<{
|
|
2055
3057
|
name: "request_hash";
|
|
2056
3058
|
tableName: "context_cache";
|
|
2057
3059
|
dataType: "string";
|
|
@@ -2070,7 +3072,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2070
3072
|
}, {}, {
|
|
2071
3073
|
length: 256;
|
|
2072
3074
|
}>;
|
|
2073
|
-
fetchedAt:
|
|
3075
|
+
fetchedAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
2074
3076
|
name: "fetched_at";
|
|
2075
3077
|
tableName: "context_cache";
|
|
2076
3078
|
dataType: "string";
|
|
@@ -2087,7 +3089,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2087
3089
|
identity: undefined;
|
|
2088
3090
|
generated: undefined;
|
|
2089
3091
|
}, {}, {}>;
|
|
2090
|
-
fetchSource:
|
|
3092
|
+
fetchSource: drizzle_orm_pg_core1831.PgColumn<{
|
|
2091
3093
|
name: "fetch_source";
|
|
2092
3094
|
tableName: "context_cache";
|
|
2093
3095
|
dataType: "string";
|
|
@@ -2106,7 +3108,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2106
3108
|
}, {}, {
|
|
2107
3109
|
length: 256;
|
|
2108
3110
|
}>;
|
|
2109
|
-
projectId:
|
|
3111
|
+
projectId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2110
3112
|
name: "project_id";
|
|
2111
3113
|
tableName: "context_cache";
|
|
2112
3114
|
dataType: "string";
|
|
@@ -2125,7 +3127,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2125
3127
|
}, {}, {
|
|
2126
3128
|
length: 256;
|
|
2127
3129
|
}>;
|
|
2128
|
-
tenantId:
|
|
3130
|
+
tenantId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2129
3131
|
name: "tenant_id";
|
|
2130
3132
|
tableName: "context_cache";
|
|
2131
3133
|
dataType: "string";
|
|
@@ -2144,7 +3146,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2144
3146
|
}, {}, {
|
|
2145
3147
|
length: 256;
|
|
2146
3148
|
}>;
|
|
2147
|
-
id:
|
|
3149
|
+
id: drizzle_orm_pg_core1831.PgColumn<{
|
|
2148
3150
|
name: "id";
|
|
2149
3151
|
tableName: "context_cache";
|
|
2150
3152
|
dataType: "string";
|
|
@@ -2179,11 +3181,11 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2179
3181
|
* datasetRunConfigId (optional: if created from a config),
|
|
2180
3182
|
* evaluationJobConfigId (optional: links to evaluation job created for this run), and timestamps
|
|
2181
3183
|
*/
|
|
2182
|
-
declare const datasetRun:
|
|
3184
|
+
declare const datasetRun: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
2183
3185
|
name: "dataset_run";
|
|
2184
3186
|
schema: undefined;
|
|
2185
3187
|
columns: {
|
|
2186
|
-
createdAt:
|
|
3188
|
+
createdAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
2187
3189
|
name: "created_at";
|
|
2188
3190
|
tableName: "dataset_run";
|
|
2189
3191
|
dataType: "string";
|
|
@@ -2200,7 +3202,7 @@ declare const datasetRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2200
3202
|
identity: undefined;
|
|
2201
3203
|
generated: undefined;
|
|
2202
3204
|
}, {}, {}>;
|
|
2203
|
-
updatedAt:
|
|
3205
|
+
updatedAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
2204
3206
|
name: "updated_at";
|
|
2205
3207
|
tableName: "dataset_run";
|
|
2206
3208
|
dataType: "string";
|
|
@@ -2217,7 +3219,7 @@ declare const datasetRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2217
3219
|
identity: undefined;
|
|
2218
3220
|
generated: undefined;
|
|
2219
3221
|
}, {}, {}>;
|
|
2220
|
-
datasetId:
|
|
3222
|
+
datasetId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2221
3223
|
name: "dataset_id";
|
|
2222
3224
|
tableName: "dataset_run";
|
|
2223
3225
|
dataType: "string";
|
|
@@ -2234,7 +3236,7 @@ declare const datasetRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2234
3236
|
identity: undefined;
|
|
2235
3237
|
generated: undefined;
|
|
2236
3238
|
}, {}, {}>;
|
|
2237
|
-
datasetRunConfigId:
|
|
3239
|
+
datasetRunConfigId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2238
3240
|
name: "dataset_run_config_id";
|
|
2239
3241
|
tableName: "dataset_run";
|
|
2240
3242
|
dataType: "string";
|
|
@@ -2251,7 +3253,7 @@ declare const datasetRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2251
3253
|
identity: undefined;
|
|
2252
3254
|
generated: undefined;
|
|
2253
3255
|
}, {}, {}>;
|
|
2254
|
-
evaluationJobConfigId:
|
|
3256
|
+
evaluationJobConfigId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2255
3257
|
name: "evaluation_job_config_id";
|
|
2256
3258
|
tableName: "dataset_run";
|
|
2257
3259
|
dataType: "string";
|
|
@@ -2268,7 +3270,7 @@ declare const datasetRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2268
3270
|
identity: undefined;
|
|
2269
3271
|
generated: undefined;
|
|
2270
3272
|
}, {}, {}>;
|
|
2271
|
-
projectId:
|
|
3273
|
+
projectId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2272
3274
|
name: "project_id";
|
|
2273
3275
|
tableName: "dataset_run";
|
|
2274
3276
|
dataType: "string";
|
|
@@ -2287,7 +3289,7 @@ declare const datasetRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2287
3289
|
}, {}, {
|
|
2288
3290
|
length: 256;
|
|
2289
3291
|
}>;
|
|
2290
|
-
tenantId:
|
|
3292
|
+
tenantId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2291
3293
|
name: "tenant_id";
|
|
2292
3294
|
tableName: "dataset_run";
|
|
2293
3295
|
dataType: "string";
|
|
@@ -2306,7 +3308,7 @@ declare const datasetRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2306
3308
|
}, {}, {
|
|
2307
3309
|
length: 256;
|
|
2308
3310
|
}>;
|
|
2309
|
-
id:
|
|
3311
|
+
id: drizzle_orm_pg_core1831.PgColumn<{
|
|
2310
3312
|
name: "id";
|
|
2311
3313
|
tableName: "dataset_run";
|
|
2312
3314
|
dataType: "string";
|
|
@@ -2339,11 +3341,11 @@ declare const datasetRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2339
3341
|
* unique constraint on (datasetRunId, conversationId) ensures one conversation per datasetRun,
|
|
2340
3342
|
* and timestamps
|
|
2341
3343
|
*/
|
|
2342
|
-
declare const datasetRunConversationRelations:
|
|
3344
|
+
declare const datasetRunConversationRelations: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
2343
3345
|
name: "dataset_run_conversation_relations";
|
|
2344
3346
|
schema: undefined;
|
|
2345
3347
|
columns: {
|
|
2346
|
-
createdAt:
|
|
3348
|
+
createdAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
2347
3349
|
name: "created_at";
|
|
2348
3350
|
tableName: "dataset_run_conversation_relations";
|
|
2349
3351
|
dataType: "string";
|
|
@@ -2360,7 +3362,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1674.PgTableWi
|
|
|
2360
3362
|
identity: undefined;
|
|
2361
3363
|
generated: undefined;
|
|
2362
3364
|
}, {}, {}>;
|
|
2363
|
-
updatedAt:
|
|
3365
|
+
updatedAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
2364
3366
|
name: "updated_at";
|
|
2365
3367
|
tableName: "dataset_run_conversation_relations";
|
|
2366
3368
|
dataType: "string";
|
|
@@ -2377,7 +3379,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1674.PgTableWi
|
|
|
2377
3379
|
identity: undefined;
|
|
2378
3380
|
generated: undefined;
|
|
2379
3381
|
}, {}, {}>;
|
|
2380
|
-
datasetRunId:
|
|
3382
|
+
datasetRunId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2381
3383
|
name: "dataset_run_id";
|
|
2382
3384
|
tableName: "dataset_run_conversation_relations";
|
|
2383
3385
|
dataType: "string";
|
|
@@ -2394,7 +3396,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1674.PgTableWi
|
|
|
2394
3396
|
identity: undefined;
|
|
2395
3397
|
generated: undefined;
|
|
2396
3398
|
}, {}, {}>;
|
|
2397
|
-
conversationId:
|
|
3399
|
+
conversationId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2398
3400
|
name: "conversation_id";
|
|
2399
3401
|
tableName: "dataset_run_conversation_relations";
|
|
2400
3402
|
dataType: "string";
|
|
@@ -2411,7 +3413,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1674.PgTableWi
|
|
|
2411
3413
|
identity: undefined;
|
|
2412
3414
|
generated: undefined;
|
|
2413
3415
|
}, {}, {}>;
|
|
2414
|
-
datasetItemId:
|
|
3416
|
+
datasetItemId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2415
3417
|
name: "dataset_item_id";
|
|
2416
3418
|
tableName: "dataset_run_conversation_relations";
|
|
2417
3419
|
dataType: "string";
|
|
@@ -2428,7 +3430,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1674.PgTableWi
|
|
|
2428
3430
|
identity: undefined;
|
|
2429
3431
|
generated: undefined;
|
|
2430
3432
|
}, {}, {}>;
|
|
2431
|
-
projectId:
|
|
3433
|
+
projectId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2432
3434
|
name: "project_id";
|
|
2433
3435
|
tableName: "dataset_run_conversation_relations";
|
|
2434
3436
|
dataType: "string";
|
|
@@ -2447,7 +3449,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1674.PgTableWi
|
|
|
2447
3449
|
}, {}, {
|
|
2448
3450
|
length: 256;
|
|
2449
3451
|
}>;
|
|
2450
|
-
tenantId:
|
|
3452
|
+
tenantId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2451
3453
|
name: "tenant_id";
|
|
2452
3454
|
tableName: "dataset_run_conversation_relations";
|
|
2453
3455
|
dataType: "string";
|
|
@@ -2466,7 +3468,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1674.PgTableWi
|
|
|
2466
3468
|
}, {}, {
|
|
2467
3469
|
length: 256;
|
|
2468
3470
|
}>;
|
|
2469
|
-
id:
|
|
3471
|
+
id: drizzle_orm_pg_core1831.PgColumn<{
|
|
2470
3472
|
name: "id";
|
|
2471
3473
|
tableName: "dataset_run_conversation_relations";
|
|
2472
3474
|
dataType: "string";
|
|
@@ -2499,11 +3501,11 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1674.PgTableWi
|
|
|
2499
3501
|
* evaluationRunConfigId (optional: if created from a run config),
|
|
2500
3502
|
* and timestamps
|
|
2501
3503
|
*/
|
|
2502
|
-
declare const evaluationRun:
|
|
3504
|
+
declare const evaluationRun: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
2503
3505
|
name: "evaluation_run";
|
|
2504
3506
|
schema: undefined;
|
|
2505
3507
|
columns: {
|
|
2506
|
-
createdAt:
|
|
3508
|
+
createdAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
2507
3509
|
name: "created_at";
|
|
2508
3510
|
tableName: "evaluation_run";
|
|
2509
3511
|
dataType: "string";
|
|
@@ -2520,7 +3522,7 @@ declare const evaluationRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2520
3522
|
identity: undefined;
|
|
2521
3523
|
generated: undefined;
|
|
2522
3524
|
}, {}, {}>;
|
|
2523
|
-
updatedAt:
|
|
3525
|
+
updatedAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
2524
3526
|
name: "updated_at";
|
|
2525
3527
|
tableName: "evaluation_run";
|
|
2526
3528
|
dataType: "string";
|
|
@@ -2537,7 +3539,7 @@ declare const evaluationRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2537
3539
|
identity: undefined;
|
|
2538
3540
|
generated: undefined;
|
|
2539
3541
|
}, {}, {}>;
|
|
2540
|
-
evaluationJobConfigId:
|
|
3542
|
+
evaluationJobConfigId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2541
3543
|
name: "evaluation_job_config_id";
|
|
2542
3544
|
tableName: "evaluation_run";
|
|
2543
3545
|
dataType: "string";
|
|
@@ -2554,7 +3556,7 @@ declare const evaluationRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2554
3556
|
identity: undefined;
|
|
2555
3557
|
generated: undefined;
|
|
2556
3558
|
}, {}, {}>;
|
|
2557
|
-
evaluationRunConfigId:
|
|
3559
|
+
evaluationRunConfigId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2558
3560
|
name: "evaluation_run_config_id";
|
|
2559
3561
|
tableName: "evaluation_run";
|
|
2560
3562
|
dataType: "string";
|
|
@@ -2571,7 +3573,7 @@ declare const evaluationRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2571
3573
|
identity: undefined;
|
|
2572
3574
|
generated: undefined;
|
|
2573
3575
|
}, {}, {}>;
|
|
2574
|
-
projectId:
|
|
3576
|
+
projectId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2575
3577
|
name: "project_id";
|
|
2576
3578
|
tableName: "evaluation_run";
|
|
2577
3579
|
dataType: "string";
|
|
@@ -2590,7 +3592,7 @@ declare const evaluationRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2590
3592
|
}, {}, {
|
|
2591
3593
|
length: 256;
|
|
2592
3594
|
}>;
|
|
2593
|
-
tenantId:
|
|
3595
|
+
tenantId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2594
3596
|
name: "tenant_id";
|
|
2595
3597
|
tableName: "evaluation_run";
|
|
2596
3598
|
dataType: "string";
|
|
@@ -2609,7 +3611,7 @@ declare const evaluationRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2609
3611
|
}, {}, {
|
|
2610
3612
|
length: 256;
|
|
2611
3613
|
}>;
|
|
2612
|
-
id:
|
|
3614
|
+
id: drizzle_orm_pg_core1831.PgColumn<{
|
|
2613
3615
|
name: "id";
|
|
2614
3616
|
tableName: "evaluation_run";
|
|
2615
3617
|
dataType: "string";
|
|
@@ -2640,11 +3642,11 @@ declare const evaluationRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2640
3642
|
* evaluationRunId (optional, links to evaluationRun),
|
|
2641
3643
|
* output (evaluation result as MessageContent), and timestamps
|
|
2642
3644
|
*/
|
|
2643
|
-
declare const evaluationResult:
|
|
3645
|
+
declare const evaluationResult: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
2644
3646
|
name: "evaluation_result";
|
|
2645
3647
|
schema: undefined;
|
|
2646
3648
|
columns: {
|
|
2647
|
-
createdAt:
|
|
3649
|
+
createdAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
2648
3650
|
name: "created_at";
|
|
2649
3651
|
tableName: "evaluation_result";
|
|
2650
3652
|
dataType: "string";
|
|
@@ -2661,7 +3663,7 @@ declare const evaluationResult: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2661
3663
|
identity: undefined;
|
|
2662
3664
|
generated: undefined;
|
|
2663
3665
|
}, {}, {}>;
|
|
2664
|
-
updatedAt:
|
|
3666
|
+
updatedAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
2665
3667
|
name: "updated_at";
|
|
2666
3668
|
tableName: "evaluation_result";
|
|
2667
3669
|
dataType: "string";
|
|
@@ -2678,7 +3680,7 @@ declare const evaluationResult: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2678
3680
|
identity: undefined;
|
|
2679
3681
|
generated: undefined;
|
|
2680
3682
|
}, {}, {}>;
|
|
2681
|
-
conversationId:
|
|
3683
|
+
conversationId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2682
3684
|
name: "conversation_id";
|
|
2683
3685
|
tableName: "evaluation_result";
|
|
2684
3686
|
dataType: "string";
|
|
@@ -2695,7 +3697,7 @@ declare const evaluationResult: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2695
3697
|
identity: undefined;
|
|
2696
3698
|
generated: undefined;
|
|
2697
3699
|
}, {}, {}>;
|
|
2698
|
-
evaluatorId:
|
|
3700
|
+
evaluatorId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2699
3701
|
name: "evaluator_id";
|
|
2700
3702
|
tableName: "evaluation_result";
|
|
2701
3703
|
dataType: "string";
|
|
@@ -2712,7 +3714,7 @@ declare const evaluationResult: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2712
3714
|
identity: undefined;
|
|
2713
3715
|
generated: undefined;
|
|
2714
3716
|
}, {}, {}>;
|
|
2715
|
-
evaluationRunId:
|
|
3717
|
+
evaluationRunId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2716
3718
|
name: "evaluation_run_id";
|
|
2717
3719
|
tableName: "evaluation_result";
|
|
2718
3720
|
dataType: "string";
|
|
@@ -2729,7 +3731,7 @@ declare const evaluationResult: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2729
3731
|
identity: undefined;
|
|
2730
3732
|
generated: undefined;
|
|
2731
3733
|
}, {}, {}>;
|
|
2732
|
-
output:
|
|
3734
|
+
output: drizzle_orm_pg_core1831.PgColumn<{
|
|
2733
3735
|
name: "output";
|
|
2734
3736
|
tableName: "evaluation_result";
|
|
2735
3737
|
dataType: "json";
|
|
@@ -2748,7 +3750,7 @@ declare const evaluationResult: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2748
3750
|
}, {}, {
|
|
2749
3751
|
$type: MessageContent;
|
|
2750
3752
|
}>;
|
|
2751
|
-
projectId:
|
|
3753
|
+
projectId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2752
3754
|
name: "project_id";
|
|
2753
3755
|
tableName: "evaluation_result";
|
|
2754
3756
|
dataType: "string";
|
|
@@ -2767,7 +3769,7 @@ declare const evaluationResult: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2767
3769
|
}, {}, {
|
|
2768
3770
|
length: 256;
|
|
2769
3771
|
}>;
|
|
2770
|
-
tenantId:
|
|
3772
|
+
tenantId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2771
3773
|
name: "tenant_id";
|
|
2772
3774
|
tableName: "evaluation_result";
|
|
2773
3775
|
dataType: "string";
|
|
@@ -2786,7 +3788,7 @@ declare const evaluationResult: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2786
3788
|
}, {}, {
|
|
2787
3789
|
length: 256;
|
|
2788
3790
|
}>;
|
|
2789
|
-
id:
|
|
3791
|
+
id: drizzle_orm_pg_core1831.PgColumn<{
|
|
2790
3792
|
name: "id";
|
|
2791
3793
|
tableName: "evaluation_result";
|
|
2792
3794
|
dataType: "string";
|
|
@@ -2808,38 +3810,38 @@ declare const evaluationResult: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2808
3810
|
};
|
|
2809
3811
|
dialect: "pg";
|
|
2810
3812
|
}>;
|
|
2811
|
-
declare const conversationsRelations:
|
|
2812
|
-
messages:
|
|
3813
|
+
declare const conversationsRelations: drizzle_orm111.Relations<"conversations", {
|
|
3814
|
+
messages: drizzle_orm111.Many<"messages">;
|
|
2813
3815
|
}>;
|
|
2814
|
-
declare const messagesRelations:
|
|
2815
|
-
conversation:
|
|
2816
|
-
task:
|
|
2817
|
-
parentMessage:
|
|
2818
|
-
childMessages:
|
|
3816
|
+
declare const messagesRelations: drizzle_orm111.Relations<"messages", {
|
|
3817
|
+
conversation: drizzle_orm111.One<"conversations", true>;
|
|
3818
|
+
task: drizzle_orm111.One<"tasks", false>;
|
|
3819
|
+
parentMessage: drizzle_orm111.One<"messages", false>;
|
|
3820
|
+
childMessages: drizzle_orm111.Many<"messages">;
|
|
2819
3821
|
}>;
|
|
2820
|
-
declare const tasksRelations:
|
|
2821
|
-
messages:
|
|
2822
|
-
ledgerArtifacts:
|
|
2823
|
-
parentRelations:
|
|
2824
|
-
childRelations:
|
|
3822
|
+
declare const tasksRelations: drizzle_orm111.Relations<"tasks", {
|
|
3823
|
+
messages: drizzle_orm111.Many<"messages">;
|
|
3824
|
+
ledgerArtifacts: drizzle_orm111.Many<"ledger_artifacts">;
|
|
3825
|
+
parentRelations: drizzle_orm111.Many<"task_relations">;
|
|
3826
|
+
childRelations: drizzle_orm111.Many<"task_relations">;
|
|
2825
3827
|
}>;
|
|
2826
|
-
declare const taskRelationsRelations:
|
|
2827
|
-
parentTask:
|
|
2828
|
-
childTask:
|
|
3828
|
+
declare const taskRelationsRelations: drizzle_orm111.Relations<"task_relations", {
|
|
3829
|
+
parentTask: drizzle_orm111.One<"tasks", true>;
|
|
3830
|
+
childTask: drizzle_orm111.One<"tasks", true>;
|
|
2829
3831
|
}>;
|
|
2830
|
-
declare const ledgerArtifactsRelations:
|
|
2831
|
-
task:
|
|
3832
|
+
declare const ledgerArtifactsRelations: drizzle_orm111.Relations<"ledger_artifacts", {
|
|
3833
|
+
task: drizzle_orm111.One<"tasks", true>;
|
|
2832
3834
|
}>;
|
|
2833
3835
|
/**
|
|
2834
3836
|
* Tracks GitHub App installations linked to tenants.
|
|
2835
3837
|
* One tenant can have multiple installations (e.g., multiple orgs).
|
|
2836
3838
|
* The installation_id is the GitHub-assigned ID, unique across all GitHub.
|
|
2837
3839
|
*/
|
|
2838
|
-
declare const workAppGitHubInstallations:
|
|
3840
|
+
declare const workAppGitHubInstallations: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
2839
3841
|
name: "work_app_github_installations";
|
|
2840
3842
|
schema: undefined;
|
|
2841
3843
|
columns: {
|
|
2842
|
-
createdAt:
|
|
3844
|
+
createdAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
2843
3845
|
name: "created_at";
|
|
2844
3846
|
tableName: "work_app_github_installations";
|
|
2845
3847
|
dataType: "string";
|
|
@@ -2856,7 +3858,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1674.PgTableWithCol
|
|
|
2856
3858
|
identity: undefined;
|
|
2857
3859
|
generated: undefined;
|
|
2858
3860
|
}, {}, {}>;
|
|
2859
|
-
updatedAt:
|
|
3861
|
+
updatedAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
2860
3862
|
name: "updated_at";
|
|
2861
3863
|
tableName: "work_app_github_installations";
|
|
2862
3864
|
dataType: "string";
|
|
@@ -2873,7 +3875,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1674.PgTableWithCol
|
|
|
2873
3875
|
identity: undefined;
|
|
2874
3876
|
generated: undefined;
|
|
2875
3877
|
}, {}, {}>;
|
|
2876
|
-
installationId:
|
|
3878
|
+
installationId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2877
3879
|
name: "installation_id";
|
|
2878
3880
|
tableName: "work_app_github_installations";
|
|
2879
3881
|
dataType: "string";
|
|
@@ -2890,7 +3892,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1674.PgTableWithCol
|
|
|
2890
3892
|
identity: undefined;
|
|
2891
3893
|
generated: undefined;
|
|
2892
3894
|
}, {}, {}>;
|
|
2893
|
-
accountLogin:
|
|
3895
|
+
accountLogin: drizzle_orm_pg_core1831.PgColumn<{
|
|
2894
3896
|
name: "account_login";
|
|
2895
3897
|
tableName: "work_app_github_installations";
|
|
2896
3898
|
dataType: "string";
|
|
@@ -2909,7 +3911,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1674.PgTableWithCol
|
|
|
2909
3911
|
}, {}, {
|
|
2910
3912
|
length: 256;
|
|
2911
3913
|
}>;
|
|
2912
|
-
accountId:
|
|
3914
|
+
accountId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2913
3915
|
name: "account_id";
|
|
2914
3916
|
tableName: "work_app_github_installations";
|
|
2915
3917
|
dataType: "string";
|
|
@@ -2926,7 +3928,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1674.PgTableWithCol
|
|
|
2926
3928
|
identity: undefined;
|
|
2927
3929
|
generated: undefined;
|
|
2928
3930
|
}, {}, {}>;
|
|
2929
|
-
accountType:
|
|
3931
|
+
accountType: drizzle_orm_pg_core1831.PgColumn<{
|
|
2930
3932
|
name: "account_type";
|
|
2931
3933
|
tableName: "work_app_github_installations";
|
|
2932
3934
|
dataType: "string";
|
|
@@ -2946,7 +3948,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1674.PgTableWithCol
|
|
|
2946
3948
|
length: 20;
|
|
2947
3949
|
$type: "Organization" | "User";
|
|
2948
3950
|
}>;
|
|
2949
|
-
status:
|
|
3951
|
+
status: drizzle_orm_pg_core1831.PgColumn<{
|
|
2950
3952
|
name: "status";
|
|
2951
3953
|
tableName: "work_app_github_installations";
|
|
2952
3954
|
dataType: "string";
|
|
@@ -2966,7 +3968,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1674.PgTableWithCol
|
|
|
2966
3968
|
length: 20;
|
|
2967
3969
|
$type: "pending" | "active" | "suspended" | "disconnected";
|
|
2968
3970
|
}>;
|
|
2969
|
-
tenantId:
|
|
3971
|
+
tenantId: drizzle_orm_pg_core1831.PgColumn<{
|
|
2970
3972
|
name: "tenant_id";
|
|
2971
3973
|
tableName: "work_app_github_installations";
|
|
2972
3974
|
dataType: "string";
|
|
@@ -2985,7 +3987,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1674.PgTableWithCol
|
|
|
2985
3987
|
}, {}, {
|
|
2986
3988
|
length: 256;
|
|
2987
3989
|
}>;
|
|
2988
|
-
id:
|
|
3990
|
+
id: drizzle_orm_pg_core1831.PgColumn<{
|
|
2989
3991
|
name: "id";
|
|
2990
3992
|
tableName: "work_app_github_installations";
|
|
2991
3993
|
dataType: "string";
|
|
@@ -3012,11 +4014,11 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1674.PgTableWithCol
|
|
|
3012
4014
|
* These are synced from GitHub when the app is installed or updated.
|
|
3013
4015
|
* The repository_id is the GitHub-assigned ID, unique across all GitHub.
|
|
3014
4016
|
*/
|
|
3015
|
-
declare const workAppGitHubRepositories:
|
|
4017
|
+
declare const workAppGitHubRepositories: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
3016
4018
|
name: "work_app_github_repositories";
|
|
3017
4019
|
schema: undefined;
|
|
3018
4020
|
columns: {
|
|
3019
|
-
createdAt:
|
|
4021
|
+
createdAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
3020
4022
|
name: "created_at";
|
|
3021
4023
|
tableName: "work_app_github_repositories";
|
|
3022
4024
|
dataType: "string";
|
|
@@ -3033,7 +4035,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1674.PgTableWithColu
|
|
|
3033
4035
|
identity: undefined;
|
|
3034
4036
|
generated: undefined;
|
|
3035
4037
|
}, {}, {}>;
|
|
3036
|
-
updatedAt:
|
|
4038
|
+
updatedAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
3037
4039
|
name: "updated_at";
|
|
3038
4040
|
tableName: "work_app_github_repositories";
|
|
3039
4041
|
dataType: "string";
|
|
@@ -3050,7 +4052,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1674.PgTableWithColu
|
|
|
3050
4052
|
identity: undefined;
|
|
3051
4053
|
generated: undefined;
|
|
3052
4054
|
}, {}, {}>;
|
|
3053
|
-
id:
|
|
4055
|
+
id: drizzle_orm_pg_core1831.PgColumn<{
|
|
3054
4056
|
name: "id";
|
|
3055
4057
|
tableName: "work_app_github_repositories";
|
|
3056
4058
|
dataType: "string";
|
|
@@ -3069,7 +4071,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1674.PgTableWithColu
|
|
|
3069
4071
|
}, {}, {
|
|
3070
4072
|
length: 256;
|
|
3071
4073
|
}>;
|
|
3072
|
-
installationDbId:
|
|
4074
|
+
installationDbId: drizzle_orm_pg_core1831.PgColumn<{
|
|
3073
4075
|
name: "installation_db_id";
|
|
3074
4076
|
tableName: "work_app_github_repositories";
|
|
3075
4077
|
dataType: "string";
|
|
@@ -3088,7 +4090,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1674.PgTableWithColu
|
|
|
3088
4090
|
}, {}, {
|
|
3089
4091
|
length: 256;
|
|
3090
4092
|
}>;
|
|
3091
|
-
repositoryId:
|
|
4093
|
+
repositoryId: drizzle_orm_pg_core1831.PgColumn<{
|
|
3092
4094
|
name: "repository_id";
|
|
3093
4095
|
tableName: "work_app_github_repositories";
|
|
3094
4096
|
dataType: "string";
|
|
@@ -3105,7 +4107,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1674.PgTableWithColu
|
|
|
3105
4107
|
identity: undefined;
|
|
3106
4108
|
generated: undefined;
|
|
3107
4109
|
}, {}, {}>;
|
|
3108
|
-
repositoryName:
|
|
4110
|
+
repositoryName: drizzle_orm_pg_core1831.PgColumn<{
|
|
3109
4111
|
name: "repository_name";
|
|
3110
4112
|
tableName: "work_app_github_repositories";
|
|
3111
4113
|
dataType: "string";
|
|
@@ -3124,7 +4126,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1674.PgTableWithColu
|
|
|
3124
4126
|
}, {}, {
|
|
3125
4127
|
length: 256;
|
|
3126
4128
|
}>;
|
|
3127
|
-
repositoryFullName:
|
|
4129
|
+
repositoryFullName: drizzle_orm_pg_core1831.PgColumn<{
|
|
3128
4130
|
name: "repository_full_name";
|
|
3129
4131
|
tableName: "work_app_github_repositories";
|
|
3130
4132
|
dataType: "string";
|
|
@@ -3143,7 +4145,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1674.PgTableWithColu
|
|
|
3143
4145
|
}, {}, {
|
|
3144
4146
|
length: 512;
|
|
3145
4147
|
}>;
|
|
3146
|
-
private:
|
|
4148
|
+
private: drizzle_orm_pg_core1831.PgColumn<{
|
|
3147
4149
|
name: "private";
|
|
3148
4150
|
tableName: "work_app_github_repositories";
|
|
3149
4151
|
dataType: "boolean";
|
|
@@ -3171,11 +4173,11 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1674.PgTableWithColu
|
|
|
3171
4173
|
* (cross-schema, no FK constraint for project). tenant_id is included because
|
|
3172
4174
|
* project IDs are only unique within a tenant.
|
|
3173
4175
|
*/
|
|
3174
|
-
declare const workAppGitHubProjectRepositoryAccess:
|
|
4176
|
+
declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
3175
4177
|
name: "work_app_github_project_repository_access";
|
|
3176
4178
|
schema: undefined;
|
|
3177
4179
|
columns: {
|
|
3178
|
-
createdAt:
|
|
4180
|
+
createdAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
3179
4181
|
name: "created_at";
|
|
3180
4182
|
tableName: "work_app_github_project_repository_access";
|
|
3181
4183
|
dataType: "string";
|
|
@@ -3192,7 +4194,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3192
4194
|
identity: undefined;
|
|
3193
4195
|
generated: undefined;
|
|
3194
4196
|
}, {}, {}>;
|
|
3195
|
-
updatedAt:
|
|
4197
|
+
updatedAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
3196
4198
|
name: "updated_at";
|
|
3197
4199
|
tableName: "work_app_github_project_repository_access";
|
|
3198
4200
|
dataType: "string";
|
|
@@ -3209,7 +4211,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3209
4211
|
identity: undefined;
|
|
3210
4212
|
generated: undefined;
|
|
3211
4213
|
}, {}, {}>;
|
|
3212
|
-
repositoryDbId:
|
|
4214
|
+
repositoryDbId: drizzle_orm_pg_core1831.PgColumn<{
|
|
3213
4215
|
name: "repository_db_id";
|
|
3214
4216
|
tableName: "work_app_github_project_repository_access";
|
|
3215
4217
|
dataType: "string";
|
|
@@ -3228,7 +4230,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3228
4230
|
}, {}, {
|
|
3229
4231
|
length: 256;
|
|
3230
4232
|
}>;
|
|
3231
|
-
projectId:
|
|
4233
|
+
projectId: drizzle_orm_pg_core1831.PgColumn<{
|
|
3232
4234
|
name: "project_id";
|
|
3233
4235
|
tableName: "work_app_github_project_repository_access";
|
|
3234
4236
|
dataType: "string";
|
|
@@ -3247,7 +4249,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3247
4249
|
}, {}, {
|
|
3248
4250
|
length: 256;
|
|
3249
4251
|
}>;
|
|
3250
|
-
tenantId:
|
|
4252
|
+
tenantId: drizzle_orm_pg_core1831.PgColumn<{
|
|
3251
4253
|
name: "tenant_id";
|
|
3252
4254
|
tableName: "work_app_github_project_repository_access";
|
|
3253
4255
|
dataType: "string";
|
|
@@ -3266,7 +4268,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3266
4268
|
}, {}, {
|
|
3267
4269
|
length: 256;
|
|
3268
4270
|
}>;
|
|
3269
|
-
id:
|
|
4271
|
+
id: drizzle_orm_pg_core1831.PgColumn<{
|
|
3270
4272
|
name: "id";
|
|
3271
4273
|
tableName: "work_app_github_project_repository_access";
|
|
3272
4274
|
dataType: "string";
|
|
@@ -3295,11 +4297,11 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3295
4297
|
* (cross-schema, no FK constraint). These are denormalized here so all GitHub access
|
|
3296
4298
|
* info can be queried from PostgreSQL alone.
|
|
3297
4299
|
*/
|
|
3298
|
-
declare const workAppGitHubMcpToolRepositoryAccess:
|
|
4300
|
+
declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
3299
4301
|
name: "work_app_github_mcp_tool_repository_access";
|
|
3300
4302
|
schema: undefined;
|
|
3301
4303
|
columns: {
|
|
3302
|
-
createdAt:
|
|
4304
|
+
createdAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
3303
4305
|
name: "created_at";
|
|
3304
4306
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
3305
4307
|
dataType: "string";
|
|
@@ -3316,7 +4318,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3316
4318
|
identity: undefined;
|
|
3317
4319
|
generated: undefined;
|
|
3318
4320
|
}, {}, {}>;
|
|
3319
|
-
updatedAt:
|
|
4321
|
+
updatedAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
3320
4322
|
name: "updated_at";
|
|
3321
4323
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
3322
4324
|
dataType: "string";
|
|
@@ -3333,7 +4335,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3333
4335
|
identity: undefined;
|
|
3334
4336
|
generated: undefined;
|
|
3335
4337
|
}, {}, {}>;
|
|
3336
|
-
toolId:
|
|
4338
|
+
toolId: drizzle_orm_pg_core1831.PgColumn<{
|
|
3337
4339
|
name: "tool_id";
|
|
3338
4340
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
3339
4341
|
dataType: "string";
|
|
@@ -3352,7 +4354,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3352
4354
|
}, {}, {
|
|
3353
4355
|
length: 256;
|
|
3354
4356
|
}>;
|
|
3355
|
-
repositoryDbId:
|
|
4357
|
+
repositoryDbId: drizzle_orm_pg_core1831.PgColumn<{
|
|
3356
4358
|
name: "repository_db_id";
|
|
3357
4359
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
3358
4360
|
dataType: "string";
|
|
@@ -3371,7 +4373,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3371
4373
|
}, {}, {
|
|
3372
4374
|
length: 256;
|
|
3373
4375
|
}>;
|
|
3374
|
-
projectId:
|
|
4376
|
+
projectId: drizzle_orm_pg_core1831.PgColumn<{
|
|
3375
4377
|
name: "project_id";
|
|
3376
4378
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
3377
4379
|
dataType: "string";
|
|
@@ -3390,7 +4392,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3390
4392
|
}, {}, {
|
|
3391
4393
|
length: 256;
|
|
3392
4394
|
}>;
|
|
3393
|
-
tenantId:
|
|
4395
|
+
tenantId: drizzle_orm_pg_core1831.PgColumn<{
|
|
3394
4396
|
name: "tenant_id";
|
|
3395
4397
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
3396
4398
|
dataType: "string";
|
|
@@ -3409,7 +4411,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3409
4411
|
}, {}, {
|
|
3410
4412
|
length: 256;
|
|
3411
4413
|
}>;
|
|
3412
|
-
id:
|
|
4414
|
+
id: drizzle_orm_pg_core1831.PgColumn<{
|
|
3413
4415
|
name: "id";
|
|
3414
4416
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
3415
4417
|
dataType: "string";
|
|
@@ -3437,11 +4439,11 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3437
4439
|
* - 'selected': Project only has access to repositories listed in work_app_github_project_repository_access
|
|
3438
4440
|
* If no row exists for a project, defaults to 'selected' (fail-safe: no access unless explicitly granted).
|
|
3439
4441
|
*/
|
|
3440
|
-
declare const workAppGitHubProjectAccessMode:
|
|
4442
|
+
declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
3441
4443
|
name: "work_app_github_project_access_mode";
|
|
3442
4444
|
schema: undefined;
|
|
3443
4445
|
columns: {
|
|
3444
|
-
createdAt:
|
|
4446
|
+
createdAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
3445
4447
|
name: "created_at";
|
|
3446
4448
|
tableName: "work_app_github_project_access_mode";
|
|
3447
4449
|
dataType: "string";
|
|
@@ -3458,7 +4460,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1674.PgTableWit
|
|
|
3458
4460
|
identity: undefined;
|
|
3459
4461
|
generated: undefined;
|
|
3460
4462
|
}, {}, {}>;
|
|
3461
|
-
updatedAt:
|
|
4463
|
+
updatedAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
3462
4464
|
name: "updated_at";
|
|
3463
4465
|
tableName: "work_app_github_project_access_mode";
|
|
3464
4466
|
dataType: "string";
|
|
@@ -3475,7 +4477,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1674.PgTableWit
|
|
|
3475
4477
|
identity: undefined;
|
|
3476
4478
|
generated: undefined;
|
|
3477
4479
|
}, {}, {}>;
|
|
3478
|
-
tenantId:
|
|
4480
|
+
tenantId: drizzle_orm_pg_core1831.PgColumn<{
|
|
3479
4481
|
name: "tenant_id";
|
|
3480
4482
|
tableName: "work_app_github_project_access_mode";
|
|
3481
4483
|
dataType: "string";
|
|
@@ -3494,7 +4496,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1674.PgTableWit
|
|
|
3494
4496
|
}, {}, {
|
|
3495
4497
|
length: 256;
|
|
3496
4498
|
}>;
|
|
3497
|
-
projectId:
|
|
4499
|
+
projectId: drizzle_orm_pg_core1831.PgColumn<{
|
|
3498
4500
|
name: "project_id";
|
|
3499
4501
|
tableName: "work_app_github_project_access_mode";
|
|
3500
4502
|
dataType: "string";
|
|
@@ -3513,7 +4515,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1674.PgTableWit
|
|
|
3513
4515
|
}, {}, {
|
|
3514
4516
|
length: 256;
|
|
3515
4517
|
}>;
|
|
3516
|
-
mode:
|
|
4518
|
+
mode: drizzle_orm_pg_core1831.PgColumn<{
|
|
3517
4519
|
name: "mode";
|
|
3518
4520
|
tableName: "work_app_github_project_access_mode";
|
|
3519
4521
|
dataType: "string";
|
|
@@ -3542,11 +4544,11 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1674.PgTableWit
|
|
|
3542
4544
|
* - 'selected': Tool only has access to repositories listed in work_app_github_mcp_tool_repository_access
|
|
3543
4545
|
* If no row exists for a tool, defaults to 'selected' (fail-safe: no access unless explicitly granted).
|
|
3544
4546
|
*/
|
|
3545
|
-
declare const workAppGitHubMcpToolAccessMode:
|
|
4547
|
+
declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1831.PgTableWithColumns<{
|
|
3546
4548
|
name: "work_app_github_mcp_tool_access_mode";
|
|
3547
4549
|
schema: undefined;
|
|
3548
4550
|
columns: {
|
|
3549
|
-
createdAt:
|
|
4551
|
+
createdAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
3550
4552
|
name: "created_at";
|
|
3551
4553
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
3552
4554
|
dataType: "string";
|
|
@@ -3563,7 +4565,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1674.PgTableWit
|
|
|
3563
4565
|
identity: undefined;
|
|
3564
4566
|
generated: undefined;
|
|
3565
4567
|
}, {}, {}>;
|
|
3566
|
-
updatedAt:
|
|
4568
|
+
updatedAt: drizzle_orm_pg_core1831.PgColumn<{
|
|
3567
4569
|
name: "updated_at";
|
|
3568
4570
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
3569
4571
|
dataType: "string";
|
|
@@ -3580,7 +4582,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1674.PgTableWit
|
|
|
3580
4582
|
identity: undefined;
|
|
3581
4583
|
generated: undefined;
|
|
3582
4584
|
}, {}, {}>;
|
|
3583
|
-
toolId:
|
|
4585
|
+
toolId: drizzle_orm_pg_core1831.PgColumn<{
|
|
3584
4586
|
name: "tool_id";
|
|
3585
4587
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
3586
4588
|
dataType: "string";
|
|
@@ -3599,7 +4601,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1674.PgTableWit
|
|
|
3599
4601
|
}, {}, {
|
|
3600
4602
|
length: 256;
|
|
3601
4603
|
}>;
|
|
3602
|
-
tenantId:
|
|
4604
|
+
tenantId: drizzle_orm_pg_core1831.PgColumn<{
|
|
3603
4605
|
name: "tenant_id";
|
|
3604
4606
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
3605
4607
|
dataType: "string";
|
|
@@ -3618,7 +4620,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1674.PgTableWit
|
|
|
3618
4620
|
}, {}, {
|
|
3619
4621
|
length: 256;
|
|
3620
4622
|
}>;
|
|
3621
|
-
projectId:
|
|
4623
|
+
projectId: drizzle_orm_pg_core1831.PgColumn<{
|
|
3622
4624
|
name: "project_id";
|
|
3623
4625
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
3624
4626
|
dataType: "string";
|
|
@@ -3637,7 +4639,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1674.PgTableWit
|
|
|
3637
4639
|
}, {}, {
|
|
3638
4640
|
length: 256;
|
|
3639
4641
|
}>;
|
|
3640
|
-
mode:
|
|
4642
|
+
mode: drizzle_orm_pg_core1831.PgColumn<{
|
|
3641
4643
|
name: "mode";
|
|
3642
4644
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
3643
4645
|
dataType: "string";
|
|
@@ -3660,19 +4662,19 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1674.PgTableWit
|
|
|
3660
4662
|
};
|
|
3661
4663
|
dialect: "pg";
|
|
3662
4664
|
}>;
|
|
3663
|
-
declare const workAppGitHubInstallationsRelations:
|
|
3664
|
-
repositories:
|
|
4665
|
+
declare const workAppGitHubInstallationsRelations: drizzle_orm111.Relations<"work_app_github_installations", {
|
|
4666
|
+
repositories: drizzle_orm111.Many<"work_app_github_repositories">;
|
|
3665
4667
|
}>;
|
|
3666
|
-
declare const workAppGitHubRepositoriesRelations:
|
|
3667
|
-
installation:
|
|
3668
|
-
projectAccess:
|
|
3669
|
-
mcpToolAccess:
|
|
4668
|
+
declare const workAppGitHubRepositoriesRelations: drizzle_orm111.Relations<"work_app_github_repositories", {
|
|
4669
|
+
installation: drizzle_orm111.One<"work_app_github_installations", true>;
|
|
4670
|
+
projectAccess: drizzle_orm111.Many<"work_app_github_project_repository_access">;
|
|
4671
|
+
mcpToolAccess: drizzle_orm111.Many<"work_app_github_mcp_tool_repository_access">;
|
|
3670
4672
|
}>;
|
|
3671
|
-
declare const workAppGitHubProjectRepositoryAccessRelations:
|
|
3672
|
-
repository:
|
|
4673
|
+
declare const workAppGitHubProjectRepositoryAccessRelations: drizzle_orm111.Relations<"work_app_github_project_repository_access", {
|
|
4674
|
+
repository: drizzle_orm111.One<"work_app_github_repositories", true>;
|
|
3673
4675
|
}>;
|
|
3674
|
-
declare const workAppGitHubMcpToolRepositoryAccessRelations:
|
|
3675
|
-
repository:
|
|
4676
|
+
declare const workAppGitHubMcpToolRepositoryAccessRelations: drizzle_orm111.Relations<"work_app_github_mcp_tool_repository_access", {
|
|
4677
|
+
repository: drizzle_orm111.One<"work_app_github_repositories", true>;
|
|
3676
4678
|
}>;
|
|
3677
4679
|
//#endregion
|
|
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 };
|
|
4680
|
+
export { account, apiKeys, contextCache, conversations, conversationsRelations, datasetRun, datasetRunConversationRelations, deviceCode, evaluationResult, evaluationRun, invitation, ledgerArtifacts, ledgerArtifactsRelations, member, messages, messagesRelations, organization, projectMetadata, runtime_schema_d_exports, scheduledTriggerInvocations, session, ssoProvider, taskRelations, taskRelationsRelations, tasks, tasksRelations, triggerInvocations, user, verification, workAppGitHubInstallations, workAppGitHubInstallationsRelations, workAppGitHubMcpToolAccessMode, workAppGitHubMcpToolRepositoryAccess, workAppGitHubMcpToolRepositoryAccessRelations, workAppGitHubProjectAccessMode, workAppGitHubProjectRepositoryAccess, workAppGitHubProjectRepositoryAccessRelations, workAppGitHubRepositories, workAppGitHubRepositoriesRelations, workAppSlackChannelAgentConfigs, workAppSlackUserMappings, workAppSlackWorkspaces };
|