@opengeni/db 0.14.3 → 0.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist/{chunk-Y5WZZVQK.js → chunk-SK7YYHBI.js} +5 -2
  2. package/dist/chunk-SK7YYHBI.js.map +1 -0
  3. package/dist/{chunk-ELMUCYZF.js → chunk-T6RSJT6C.js} +202 -43
  4. package/dist/chunk-T6RSJT6C.js.map +1 -0
  5. package/dist/chunk-TLAC622R.js +4990 -0
  6. package/dist/chunk-TLAC622R.js.map +1 -0
  7. package/dist/codex-token-resolver.d.ts +64 -0
  8. package/dist/connection-token-resolver.d.ts +90 -0
  9. package/dist/environment-crypto.d.ts +11 -0
  10. package/dist/event-payload-sanitizer.d.ts +32 -0
  11. package/dist/index.d.ts +6374 -10
  12. package/dist/index.js +8075 -2776
  13. package/dist/index.js.map +1 -1
  14. package/dist/insights.d.ts +157 -0
  15. package/dist/memory-domain.d.ts +44 -0
  16. package/dist/migrate.d.ts +5 -7
  17. package/dist/migrate.js +1 -1
  18. package/dist/new-session-drafts.d.ts +49 -0
  19. package/dist/persistence-errors.d.ts +69 -0
  20. package/dist/preference-registry-schema.d.ts +1147 -0
  21. package/dist/preference-registry.d.ts +878 -0
  22. package/dist/provision-roles.d.ts +4 -6489
  23. package/dist/provision-roles.js +1 -1
  24. package/dist/role-relationships.d.ts +35 -0
  25. package/dist/runtime-posture-cli.d.ts +1 -0
  26. package/dist/runtime-posture.d.ts +103 -0
  27. package/dist/schema.d.ts +25330 -3
  28. package/dist/schema.js +31 -1
  29. package/dist/session-control.d.ts +331 -0
  30. package/dist/session-queue-commands.d.ts +186 -0
  31. package/dist/session-tool-call-settlement.d.ts +32 -0
  32. package/dist/turn-initiator.d.ts +28 -0
  33. package/dist/workspace-artifacts.d.ts +62 -0
  34. package/dist/workspace-instruction-policies-schema.d.ts +735 -0
  35. package/dist/workspace-instruction-policies.d.ts +64 -0
  36. package/drizzle/0136_unified_session_tool_policy.sql +1 -1
  37. package/drizzle/0137_preference_registry.sql +1347 -0
  38. package/drizzle/0138_sandbox_checkpoint_artifacts_and_deadlines.sql +1074 -0
  39. package/drizzle/0139_codex_provider_artifact_invalidations.sql +51 -0
  40. package/drizzle/0140_sandbox_restore_and_reaper_fences.sql +276 -0
  41. package/drizzle/0142_sandbox_archive_capture_gate.sql +80 -0
  42. package/drizzle/0143_session_codex_compaction_mode.sql +20 -0
  43. package/drizzle/0144_sandbox_viewer_force_drain_gate.sql +95 -0
  44. package/drizzle/0145_model_call_facts.sql +96 -0
  45. package/drizzle/0146_slack_bot_delete_idempotency.sql +105 -0
  46. package/drizzle/0147_draft_latency_mode.sql +12 -0
  47. package/drizzle/0148_session_turn_latency_mode.sql +12 -0
  48. package/drizzle/0149_workspace_artifacts.sql +348 -0
  49. package/drizzle/0150_slack_task_interactions.sql +344 -0
  50. package/package.json +6 -6
  51. package/src/index.ts +5766 -275
  52. package/src/insights.ts +837 -0
  53. package/src/migrate.ts +9 -1
  54. package/src/new-session-drafts.ts +4 -0
  55. package/src/preference-registry-schema.ts +170 -0
  56. package/src/preference-registry.ts +1220 -0
  57. package/src/provision-roles.ts +95 -22
  58. package/src/role-relationships.ts +132 -0
  59. package/src/runtime-posture.ts +47 -27
  60. package/src/schema.ts +875 -19
  61. package/src/session-queue-commands.ts +39 -6
  62. package/src/workspace-artifacts.ts +751 -0
  63. package/dist/chunk-DW24CKCT.js +0 -4046
  64. package/dist/chunk-DW24CKCT.js.map +0 -1
  65. package/dist/chunk-ELMUCYZF.js.map +0 -1
  66. package/dist/chunk-Y5WZZVQK.js.map +0 -1
  67. package/dist/schema-DhkRhcuQ.d.ts +0 -22666
@@ -0,0 +1,735 @@
1
+ export declare const workspaceInstructionPolicyRevisions: import("drizzle-orm/pg-core").PgTableWithColumns<{
2
+ name: "workspace_instruction_policy_revisions";
3
+ schema: undefined;
4
+ columns: {
5
+ id: import("drizzle-orm/pg-core").PgColumn<{
6
+ name: "id";
7
+ tableName: "workspace_instruction_policy_revisions";
8
+ dataType: "string";
9
+ columnType: "PgUUID";
10
+ data: string;
11
+ driverParam: string;
12
+ notNull: true;
13
+ hasDefault: true;
14
+ isPrimaryKey: true;
15
+ isAutoincrement: false;
16
+ hasRuntimeDefault: false;
17
+ enumValues: undefined;
18
+ baseColumn: never;
19
+ identity: undefined;
20
+ generated: undefined;
21
+ }, {}, {}>;
22
+ accountId: import("drizzle-orm/pg-core").PgColumn<{
23
+ name: "account_id";
24
+ tableName: "workspace_instruction_policy_revisions";
25
+ dataType: "string";
26
+ columnType: "PgUUID";
27
+ data: string;
28
+ driverParam: string;
29
+ notNull: true;
30
+ hasDefault: false;
31
+ isPrimaryKey: false;
32
+ isAutoincrement: false;
33
+ hasRuntimeDefault: false;
34
+ enumValues: undefined;
35
+ baseColumn: never;
36
+ identity: undefined;
37
+ generated: undefined;
38
+ }, {}, {}>;
39
+ workspaceId: import("drizzle-orm/pg-core").PgColumn<{
40
+ name: "workspace_id";
41
+ tableName: "workspace_instruction_policy_revisions";
42
+ dataType: "string";
43
+ columnType: "PgUUID";
44
+ data: string;
45
+ driverParam: string;
46
+ notNull: true;
47
+ hasDefault: false;
48
+ isPrimaryKey: false;
49
+ isAutoincrement: false;
50
+ hasRuntimeDefault: false;
51
+ enumValues: undefined;
52
+ baseColumn: never;
53
+ identity: undefined;
54
+ generated: undefined;
55
+ }, {}, {}>;
56
+ revision: import("drizzle-orm/pg-core").PgColumn<{
57
+ name: "revision";
58
+ tableName: "workspace_instruction_policy_revisions";
59
+ dataType: "number";
60
+ columnType: "PgBigInt53";
61
+ data: number;
62
+ driverParam: string | number;
63
+ notNull: true;
64
+ hasDefault: true;
65
+ isPrimaryKey: false;
66
+ isAutoincrement: false;
67
+ hasRuntimeDefault: false;
68
+ enumValues: undefined;
69
+ baseColumn: never;
70
+ identity: undefined;
71
+ generated: undefined;
72
+ }, {}, {}>;
73
+ kind: import("drizzle-orm/pg-core").PgColumn<{
74
+ name: "kind";
75
+ tableName: "workspace_instruction_policy_revisions";
76
+ dataType: "string";
77
+ columnType: "PgText";
78
+ data: string;
79
+ driverParam: string;
80
+ notNull: true;
81
+ hasDefault: false;
82
+ isPrimaryKey: false;
83
+ isAutoincrement: false;
84
+ hasRuntimeDefault: false;
85
+ enumValues: [string, ...string[]];
86
+ baseColumn: never;
87
+ identity: undefined;
88
+ generated: undefined;
89
+ }, {}, {}>;
90
+ scope: import("drizzle-orm/pg-core").PgColumn<{
91
+ name: "scope";
92
+ tableName: "workspace_instruction_policy_revisions";
93
+ dataType: "string";
94
+ columnType: "PgText";
95
+ data: string;
96
+ driverParam: string;
97
+ notNull: true;
98
+ hasDefault: false;
99
+ isPrimaryKey: false;
100
+ isAutoincrement: false;
101
+ hasRuntimeDefault: false;
102
+ enumValues: [string, ...string[]];
103
+ baseColumn: never;
104
+ identity: undefined;
105
+ generated: undefined;
106
+ }, {}, {}>;
107
+ roleKey: import("drizzle-orm/pg-core").PgColumn<{
108
+ name: "role_key";
109
+ tableName: "workspace_instruction_policy_revisions";
110
+ dataType: "string";
111
+ columnType: "PgText";
112
+ data: string;
113
+ driverParam: string;
114
+ notNull: false;
115
+ hasDefault: false;
116
+ isPrimaryKey: false;
117
+ isAutoincrement: false;
118
+ hasRuntimeDefault: false;
119
+ enumValues: [string, ...string[]];
120
+ baseColumn: never;
121
+ identity: undefined;
122
+ generated: undefined;
123
+ }, {}, {}>;
124
+ content: import("drizzle-orm/pg-core").PgColumn<{
125
+ name: "content";
126
+ tableName: "workspace_instruction_policy_revisions";
127
+ dataType: "string";
128
+ columnType: "PgText";
129
+ data: string;
130
+ driverParam: string;
131
+ notNull: true;
132
+ hasDefault: false;
133
+ isPrimaryKey: false;
134
+ isAutoincrement: false;
135
+ hasRuntimeDefault: false;
136
+ enumValues: [string, ...string[]];
137
+ baseColumn: never;
138
+ identity: undefined;
139
+ generated: undefined;
140
+ }, {}, {}>;
141
+ contentHash: import("drizzle-orm/pg-core").PgColumn<{
142
+ name: "content_hash";
143
+ tableName: "workspace_instruction_policy_revisions";
144
+ dataType: "string";
145
+ columnType: "PgText";
146
+ data: string;
147
+ driverParam: string;
148
+ notNull: true;
149
+ hasDefault: false;
150
+ isPrimaryKey: false;
151
+ isAutoincrement: false;
152
+ hasRuntimeDefault: false;
153
+ enumValues: [string, ...string[]];
154
+ baseColumn: never;
155
+ identity: undefined;
156
+ generated: undefined;
157
+ }, {}, {}>;
158
+ provenanceSource: import("drizzle-orm/pg-core").PgColumn<{
159
+ name: "provenance_source";
160
+ tableName: "workspace_instruction_policy_revisions";
161
+ dataType: "string";
162
+ columnType: "PgText";
163
+ data: string;
164
+ driverParam: string;
165
+ notNull: true;
166
+ hasDefault: false;
167
+ isPrimaryKey: false;
168
+ isAutoincrement: false;
169
+ hasRuntimeDefault: false;
170
+ enumValues: [string, ...string[]];
171
+ baseColumn: never;
172
+ identity: undefined;
173
+ generated: undefined;
174
+ }, {}, {}>;
175
+ provenanceSourceId: import("drizzle-orm/pg-core").PgColumn<{
176
+ name: "provenance_source_id";
177
+ tableName: "workspace_instruction_policy_revisions";
178
+ dataType: "string";
179
+ columnType: "PgText";
180
+ data: string;
181
+ driverParam: string;
182
+ notNull: false;
183
+ hasDefault: false;
184
+ isPrimaryKey: false;
185
+ isAutoincrement: false;
186
+ hasRuntimeDefault: false;
187
+ enumValues: [string, ...string[]];
188
+ baseColumn: never;
189
+ identity: undefined;
190
+ generated: undefined;
191
+ }, {}, {}>;
192
+ supersedesRevisionId: import("drizzle-orm/pg-core").PgColumn<{
193
+ name: "supersedes_revision_id";
194
+ tableName: "workspace_instruction_policy_revisions";
195
+ dataType: "string";
196
+ columnType: "PgUUID";
197
+ data: string;
198
+ driverParam: string;
199
+ notNull: false;
200
+ hasDefault: false;
201
+ isPrimaryKey: false;
202
+ isAutoincrement: false;
203
+ hasRuntimeDefault: false;
204
+ enumValues: undefined;
205
+ baseColumn: never;
206
+ identity: undefined;
207
+ generated: undefined;
208
+ }, {}, {}>;
209
+ createdBySubjectId: import("drizzle-orm/pg-core").PgColumn<{
210
+ name: "created_by_subject_id";
211
+ tableName: "workspace_instruction_policy_revisions";
212
+ dataType: "string";
213
+ columnType: "PgText";
214
+ data: string;
215
+ driverParam: string;
216
+ notNull: true;
217
+ hasDefault: false;
218
+ isPrimaryKey: false;
219
+ isAutoincrement: false;
220
+ hasRuntimeDefault: false;
221
+ enumValues: [string, ...string[]];
222
+ baseColumn: never;
223
+ identity: undefined;
224
+ generated: undefined;
225
+ }, {}, {}>;
226
+ createdAt: import("drizzle-orm/pg-core").PgColumn<{
227
+ name: "created_at";
228
+ tableName: "workspace_instruction_policy_revisions";
229
+ dataType: "date";
230
+ columnType: "PgTimestamp";
231
+ data: Date;
232
+ driverParam: string;
233
+ notNull: true;
234
+ hasDefault: true;
235
+ isPrimaryKey: false;
236
+ isAutoincrement: false;
237
+ hasRuntimeDefault: false;
238
+ enumValues: undefined;
239
+ baseColumn: never;
240
+ identity: undefined;
241
+ generated: undefined;
242
+ }, {}, {}>;
243
+ };
244
+ dialect: 'pg';
245
+ }>;
246
+ export declare const workspaceInstructionPolicyHeads: import("drizzle-orm/pg-core").PgTableWithColumns<{
247
+ name: "workspace_instruction_policy_heads";
248
+ schema: undefined;
249
+ columns: {
250
+ id: import("drizzle-orm/pg-core").PgColumn<{
251
+ name: "id";
252
+ tableName: "workspace_instruction_policy_heads";
253
+ dataType: "string";
254
+ columnType: "PgUUID";
255
+ data: string;
256
+ driverParam: string;
257
+ notNull: true;
258
+ hasDefault: true;
259
+ isPrimaryKey: true;
260
+ isAutoincrement: false;
261
+ hasRuntimeDefault: false;
262
+ enumValues: undefined;
263
+ baseColumn: never;
264
+ identity: undefined;
265
+ generated: undefined;
266
+ }, {}, {}>;
267
+ accountId: import("drizzle-orm/pg-core").PgColumn<{
268
+ name: "account_id";
269
+ tableName: "workspace_instruction_policy_heads";
270
+ dataType: "string";
271
+ columnType: "PgUUID";
272
+ data: string;
273
+ driverParam: string;
274
+ notNull: true;
275
+ hasDefault: false;
276
+ isPrimaryKey: false;
277
+ isAutoincrement: false;
278
+ hasRuntimeDefault: false;
279
+ enumValues: undefined;
280
+ baseColumn: never;
281
+ identity: undefined;
282
+ generated: undefined;
283
+ }, {}, {}>;
284
+ workspaceId: import("drizzle-orm/pg-core").PgColumn<{
285
+ name: "workspace_id";
286
+ tableName: "workspace_instruction_policy_heads";
287
+ dataType: "string";
288
+ columnType: "PgUUID";
289
+ data: string;
290
+ driverParam: string;
291
+ notNull: true;
292
+ hasDefault: false;
293
+ isPrimaryKey: false;
294
+ isAutoincrement: false;
295
+ hasRuntimeDefault: false;
296
+ enumValues: undefined;
297
+ baseColumn: never;
298
+ identity: undefined;
299
+ generated: undefined;
300
+ }, {}, {}>;
301
+ kind: import("drizzle-orm/pg-core").PgColumn<{
302
+ name: "kind";
303
+ tableName: "workspace_instruction_policy_heads";
304
+ dataType: "string";
305
+ columnType: "PgText";
306
+ data: string;
307
+ driverParam: string;
308
+ notNull: true;
309
+ hasDefault: false;
310
+ isPrimaryKey: false;
311
+ isAutoincrement: false;
312
+ hasRuntimeDefault: false;
313
+ enumValues: [string, ...string[]];
314
+ baseColumn: never;
315
+ identity: undefined;
316
+ generated: undefined;
317
+ }, {}, {}>;
318
+ scope: import("drizzle-orm/pg-core").PgColumn<{
319
+ name: "scope";
320
+ tableName: "workspace_instruction_policy_heads";
321
+ dataType: "string";
322
+ columnType: "PgText";
323
+ data: string;
324
+ driverParam: string;
325
+ notNull: true;
326
+ hasDefault: false;
327
+ isPrimaryKey: false;
328
+ isAutoincrement: false;
329
+ hasRuntimeDefault: false;
330
+ enumValues: [string, ...string[]];
331
+ baseColumn: never;
332
+ identity: undefined;
333
+ generated: undefined;
334
+ }, {}, {}>;
335
+ roleKey: import("drizzle-orm/pg-core").PgColumn<{
336
+ name: "role_key";
337
+ tableName: "workspace_instruction_policy_heads";
338
+ dataType: "string";
339
+ columnType: "PgText";
340
+ data: string;
341
+ driverParam: string;
342
+ notNull: false;
343
+ hasDefault: false;
344
+ isPrimaryKey: false;
345
+ isAutoincrement: false;
346
+ hasRuntimeDefault: false;
347
+ enumValues: [string, ...string[]];
348
+ baseColumn: never;
349
+ identity: undefined;
350
+ generated: undefined;
351
+ }, {}, {}>;
352
+ revisionId: import("drizzle-orm/pg-core").PgColumn<{
353
+ name: "revision_id";
354
+ tableName: "workspace_instruction_policy_heads";
355
+ dataType: "string";
356
+ columnType: "PgUUID";
357
+ data: string;
358
+ driverParam: string;
359
+ notNull: true;
360
+ hasDefault: false;
361
+ isPrimaryKey: false;
362
+ isAutoincrement: false;
363
+ hasRuntimeDefault: false;
364
+ enumValues: undefined;
365
+ baseColumn: never;
366
+ identity: undefined;
367
+ generated: undefined;
368
+ }, {}, {}>;
369
+ revision: import("drizzle-orm/pg-core").PgColumn<{
370
+ name: "revision";
371
+ tableName: "workspace_instruction_policy_heads";
372
+ dataType: "number";
373
+ columnType: "PgBigInt53";
374
+ data: number;
375
+ driverParam: string | number;
376
+ notNull: true;
377
+ hasDefault: false;
378
+ isPrimaryKey: false;
379
+ isAutoincrement: false;
380
+ hasRuntimeDefault: false;
381
+ enumValues: undefined;
382
+ baseColumn: never;
383
+ identity: undefined;
384
+ generated: undefined;
385
+ }, {}, {}>;
386
+ contentHash: import("drizzle-orm/pg-core").PgColumn<{
387
+ name: "content_hash";
388
+ tableName: "workspace_instruction_policy_heads";
389
+ dataType: "string";
390
+ columnType: "PgText";
391
+ data: string;
392
+ driverParam: string;
393
+ notNull: true;
394
+ hasDefault: false;
395
+ isPrimaryKey: false;
396
+ isAutoincrement: false;
397
+ hasRuntimeDefault: false;
398
+ enumValues: [string, ...string[]];
399
+ baseColumn: never;
400
+ identity: undefined;
401
+ generated: undefined;
402
+ }, {}, {}>;
403
+ activationVersion: import("drizzle-orm/pg-core").PgColumn<{
404
+ name: "activation_version";
405
+ tableName: "workspace_instruction_policy_heads";
406
+ dataType: "number";
407
+ columnType: "PgBigInt53";
408
+ data: number;
409
+ driverParam: string | number;
410
+ notNull: true;
411
+ hasDefault: false;
412
+ isPrimaryKey: false;
413
+ isAutoincrement: false;
414
+ hasRuntimeDefault: false;
415
+ enumValues: undefined;
416
+ baseColumn: never;
417
+ identity: undefined;
418
+ generated: undefined;
419
+ }, {}, {}>;
420
+ activatedAt: import("drizzle-orm/pg-core").PgColumn<{
421
+ name: "activated_at";
422
+ tableName: "workspace_instruction_policy_heads";
423
+ dataType: "date";
424
+ columnType: "PgTimestamp";
425
+ data: Date;
426
+ driverParam: string;
427
+ notNull: true;
428
+ hasDefault: true;
429
+ isPrimaryKey: false;
430
+ isAutoincrement: false;
431
+ hasRuntimeDefault: false;
432
+ enumValues: undefined;
433
+ baseColumn: never;
434
+ identity: undefined;
435
+ generated: undefined;
436
+ }, {}, {}>;
437
+ };
438
+ dialect: 'pg';
439
+ }>;
440
+ export declare const workspaceInstructionPolicyActivationEvents: import("drizzle-orm/pg-core").PgTableWithColumns<{
441
+ name: "workspace_instruction_policy_activation_events";
442
+ schema: undefined;
443
+ columns: {
444
+ id: import("drizzle-orm/pg-core").PgColumn<{
445
+ name: "id";
446
+ tableName: "workspace_instruction_policy_activation_events";
447
+ dataType: "string";
448
+ columnType: "PgUUID";
449
+ data: string;
450
+ driverParam: string;
451
+ notNull: true;
452
+ hasDefault: true;
453
+ isPrimaryKey: true;
454
+ isAutoincrement: false;
455
+ hasRuntimeDefault: false;
456
+ enumValues: undefined;
457
+ baseColumn: never;
458
+ identity: undefined;
459
+ generated: undefined;
460
+ }, {}, {}>;
461
+ accountId: import("drizzle-orm/pg-core").PgColumn<{
462
+ name: "account_id";
463
+ tableName: "workspace_instruction_policy_activation_events";
464
+ dataType: "string";
465
+ columnType: "PgUUID";
466
+ data: string;
467
+ driverParam: string;
468
+ notNull: true;
469
+ hasDefault: false;
470
+ isPrimaryKey: false;
471
+ isAutoincrement: false;
472
+ hasRuntimeDefault: false;
473
+ enumValues: undefined;
474
+ baseColumn: never;
475
+ identity: undefined;
476
+ generated: undefined;
477
+ }, {}, {}>;
478
+ workspaceId: import("drizzle-orm/pg-core").PgColumn<{
479
+ name: "workspace_id";
480
+ tableName: "workspace_instruction_policy_activation_events";
481
+ dataType: "string";
482
+ columnType: "PgUUID";
483
+ data: string;
484
+ driverParam: string;
485
+ notNull: true;
486
+ hasDefault: false;
487
+ isPrimaryKey: false;
488
+ isAutoincrement: false;
489
+ hasRuntimeDefault: false;
490
+ enumValues: undefined;
491
+ baseColumn: never;
492
+ identity: undefined;
493
+ generated: undefined;
494
+ }, {}, {}>;
495
+ kind: import("drizzle-orm/pg-core").PgColumn<{
496
+ name: "kind";
497
+ tableName: "workspace_instruction_policy_activation_events";
498
+ dataType: "string";
499
+ columnType: "PgText";
500
+ data: string;
501
+ driverParam: string;
502
+ notNull: true;
503
+ hasDefault: false;
504
+ isPrimaryKey: false;
505
+ isAutoincrement: false;
506
+ hasRuntimeDefault: false;
507
+ enumValues: [string, ...string[]];
508
+ baseColumn: never;
509
+ identity: undefined;
510
+ generated: undefined;
511
+ }, {}, {}>;
512
+ scope: import("drizzle-orm/pg-core").PgColumn<{
513
+ name: "scope";
514
+ tableName: "workspace_instruction_policy_activation_events";
515
+ dataType: "string";
516
+ columnType: "PgText";
517
+ data: string;
518
+ driverParam: string;
519
+ notNull: true;
520
+ hasDefault: false;
521
+ isPrimaryKey: false;
522
+ isAutoincrement: false;
523
+ hasRuntimeDefault: false;
524
+ enumValues: [string, ...string[]];
525
+ baseColumn: never;
526
+ identity: undefined;
527
+ generated: undefined;
528
+ }, {}, {}>;
529
+ roleKey: import("drizzle-orm/pg-core").PgColumn<{
530
+ name: "role_key";
531
+ tableName: "workspace_instruction_policy_activation_events";
532
+ dataType: "string";
533
+ columnType: "PgText";
534
+ data: string;
535
+ driverParam: string;
536
+ notNull: false;
537
+ hasDefault: false;
538
+ isPrimaryKey: false;
539
+ isAutoincrement: false;
540
+ hasRuntimeDefault: false;
541
+ enumValues: [string, ...string[]];
542
+ baseColumn: never;
543
+ identity: undefined;
544
+ generated: undefined;
545
+ }, {}, {}>;
546
+ type: import("drizzle-orm/pg-core").PgColumn<{
547
+ name: "type";
548
+ tableName: "workspace_instruction_policy_activation_events";
549
+ dataType: "string";
550
+ columnType: "PgText";
551
+ data: string;
552
+ driverParam: string;
553
+ notNull: true;
554
+ hasDefault: false;
555
+ isPrimaryKey: false;
556
+ isAutoincrement: false;
557
+ hasRuntimeDefault: false;
558
+ enumValues: [string, ...string[]];
559
+ baseColumn: never;
560
+ identity: undefined;
561
+ generated: undefined;
562
+ }, {}, {}>;
563
+ activationVersion: import("drizzle-orm/pg-core").PgColumn<{
564
+ name: "activation_version";
565
+ tableName: "workspace_instruction_policy_activation_events";
566
+ dataType: "number";
567
+ columnType: "PgBigInt53";
568
+ data: number;
569
+ driverParam: string | number;
570
+ notNull: true;
571
+ hasDefault: false;
572
+ isPrimaryKey: false;
573
+ isAutoincrement: false;
574
+ hasRuntimeDefault: false;
575
+ enumValues: undefined;
576
+ baseColumn: never;
577
+ identity: undefined;
578
+ generated: undefined;
579
+ }, {}, {}>;
580
+ oldRevisionId: import("drizzle-orm/pg-core").PgColumn<{
581
+ name: "old_revision_id";
582
+ tableName: "workspace_instruction_policy_activation_events";
583
+ dataType: "string";
584
+ columnType: "PgUUID";
585
+ data: string;
586
+ driverParam: string;
587
+ notNull: false;
588
+ hasDefault: false;
589
+ isPrimaryKey: false;
590
+ isAutoincrement: false;
591
+ hasRuntimeDefault: false;
592
+ enumValues: undefined;
593
+ baseColumn: never;
594
+ identity: undefined;
595
+ generated: undefined;
596
+ }, {}, {}>;
597
+ oldRevision: import("drizzle-orm/pg-core").PgColumn<{
598
+ name: "old_revision";
599
+ tableName: "workspace_instruction_policy_activation_events";
600
+ dataType: "number";
601
+ columnType: "PgBigInt53";
602
+ data: number;
603
+ driverParam: string | number;
604
+ notNull: false;
605
+ hasDefault: false;
606
+ isPrimaryKey: false;
607
+ isAutoincrement: false;
608
+ hasRuntimeDefault: false;
609
+ enumValues: undefined;
610
+ baseColumn: never;
611
+ identity: undefined;
612
+ generated: undefined;
613
+ }, {}, {}>;
614
+ oldContentHash: import("drizzle-orm/pg-core").PgColumn<{
615
+ name: "old_content_hash";
616
+ tableName: "workspace_instruction_policy_activation_events";
617
+ dataType: "string";
618
+ columnType: "PgText";
619
+ data: string;
620
+ driverParam: string;
621
+ notNull: false;
622
+ hasDefault: false;
623
+ isPrimaryKey: false;
624
+ isAutoincrement: false;
625
+ hasRuntimeDefault: false;
626
+ enumValues: [string, ...string[]];
627
+ baseColumn: never;
628
+ identity: undefined;
629
+ generated: undefined;
630
+ }, {}, {}>;
631
+ newRevisionId: import("drizzle-orm/pg-core").PgColumn<{
632
+ name: "new_revision_id";
633
+ tableName: "workspace_instruction_policy_activation_events";
634
+ dataType: "string";
635
+ columnType: "PgUUID";
636
+ data: string;
637
+ driverParam: string;
638
+ notNull: true;
639
+ hasDefault: false;
640
+ isPrimaryKey: false;
641
+ isAutoincrement: false;
642
+ hasRuntimeDefault: false;
643
+ enumValues: undefined;
644
+ baseColumn: never;
645
+ identity: undefined;
646
+ generated: undefined;
647
+ }, {}, {}>;
648
+ newRevision: import("drizzle-orm/pg-core").PgColumn<{
649
+ name: "new_revision";
650
+ tableName: "workspace_instruction_policy_activation_events";
651
+ dataType: "number";
652
+ columnType: "PgBigInt53";
653
+ data: number;
654
+ driverParam: string | number;
655
+ notNull: true;
656
+ hasDefault: false;
657
+ isPrimaryKey: false;
658
+ isAutoincrement: false;
659
+ hasRuntimeDefault: false;
660
+ enumValues: undefined;
661
+ baseColumn: never;
662
+ identity: undefined;
663
+ generated: undefined;
664
+ }, {}, {}>;
665
+ newContentHash: import("drizzle-orm/pg-core").PgColumn<{
666
+ name: "new_content_hash";
667
+ tableName: "workspace_instruction_policy_activation_events";
668
+ dataType: "string";
669
+ columnType: "PgText";
670
+ data: string;
671
+ driverParam: string;
672
+ notNull: true;
673
+ hasDefault: false;
674
+ isPrimaryKey: false;
675
+ isAutoincrement: false;
676
+ hasRuntimeDefault: false;
677
+ enumValues: [string, ...string[]];
678
+ baseColumn: never;
679
+ identity: undefined;
680
+ generated: undefined;
681
+ }, {}, {}>;
682
+ actorSubjectId: import("drizzle-orm/pg-core").PgColumn<{
683
+ name: "actor_subject_id";
684
+ tableName: "workspace_instruction_policy_activation_events";
685
+ dataType: "string";
686
+ columnType: "PgText";
687
+ data: string;
688
+ driverParam: string;
689
+ notNull: true;
690
+ hasDefault: false;
691
+ isPrimaryKey: false;
692
+ isAutoincrement: false;
693
+ hasRuntimeDefault: false;
694
+ enumValues: [string, ...string[]];
695
+ baseColumn: never;
696
+ identity: undefined;
697
+ generated: undefined;
698
+ }, {}, {}>;
699
+ reason: import("drizzle-orm/pg-core").PgColumn<{
700
+ name: "reason";
701
+ tableName: "workspace_instruction_policy_activation_events";
702
+ dataType: "string";
703
+ columnType: "PgText";
704
+ data: string;
705
+ driverParam: string;
706
+ notNull: true;
707
+ hasDefault: false;
708
+ isPrimaryKey: false;
709
+ isAutoincrement: false;
710
+ hasRuntimeDefault: false;
711
+ enumValues: [string, ...string[]];
712
+ baseColumn: never;
713
+ identity: undefined;
714
+ generated: undefined;
715
+ }, {}, {}>;
716
+ createdAt: import("drizzle-orm/pg-core").PgColumn<{
717
+ name: "created_at";
718
+ tableName: "workspace_instruction_policy_activation_events";
719
+ dataType: "date";
720
+ columnType: "PgTimestamp";
721
+ data: Date;
722
+ driverParam: string;
723
+ notNull: true;
724
+ hasDefault: true;
725
+ isPrimaryKey: false;
726
+ isAutoincrement: false;
727
+ hasRuntimeDefault: false;
728
+ enumValues: undefined;
729
+ baseColumn: never;
730
+ identity: undefined;
731
+ generated: undefined;
732
+ }, {}, {}>;
733
+ };
734
+ dialect: 'pg';
735
+ }>;