@sentry/junior 0.73.0 → 0.74.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 (54) hide show
  1. package/dist/api-reference.d.ts +1 -1
  2. package/dist/app.js +258 -62
  3. package/dist/chat/app/production.d.ts +3 -0
  4. package/dist/chat/config.d.ts +3 -0
  5. package/dist/chat/conversations/configured.d.ts +5 -0
  6. package/dist/chat/conversations/sql/migrations.d.ts +11 -0
  7. package/dist/chat/conversations/sql/schema/conversations.d.ts +435 -0
  8. package/dist/chat/conversations/sql/schema/destinations.d.ts +200 -0
  9. package/dist/chat/conversations/sql/schema/identities.d.ts +214 -0
  10. package/dist/chat/conversations/sql/schema/migrations.d.ts +58 -0
  11. package/dist/chat/conversations/sql/schema/timestamps.d.ts +1 -0
  12. package/dist/chat/conversations/sql/schema.d.ts +910 -0
  13. package/dist/chat/conversations/sql/store.d.ts +52 -0
  14. package/dist/chat/conversations/state.d.ts +4 -0
  15. package/dist/chat/conversations/store.d.ts +57 -0
  16. package/dist/chat/ingress/slack-webhook.d.ts +2 -0
  17. package/dist/chat/plugins/agent-hooks.d.ts +2 -2
  18. package/dist/chat/respond.d.ts +1 -1
  19. package/dist/chat/services/mcp-auth-orchestration.d.ts +6 -5
  20. package/dist/chat/services/pending-auth.d.ts +2 -0
  21. package/dist/chat/services/plugin-auth-orchestration.d.ts +7 -6
  22. package/dist/chat/sql/db.d.ts +20 -0
  23. package/dist/chat/sql/neon.d.ts +9 -0
  24. package/dist/chat/sql/schema.d.ts +906 -0
  25. package/dist/chat/state/turn-session.d.ts +3 -0
  26. package/dist/chat/task-execution/slack-work.d.ts +2 -0
  27. package/dist/chat/task-execution/state.d.ts +209 -0
  28. package/dist/chat/task-execution/store.d.ts +30 -114
  29. package/dist/chat/task-execution/vercel-callback.d.ts +2 -0
  30. package/dist/chat/task-execution/worker.d.ts +2 -0
  31. package/dist/{chunk-ZDA2HYX5.js → chunk-2LUZA3LY.js} +3 -3
  32. package/dist/{chunk-RY6AL5C7.js → chunk-6UP2Z2RZ.js} +2 -2
  33. package/dist/{chunk-DIMX5F3T.js → chunk-F6HWCPOC.js} +1 -1
  34. package/dist/{chunk-WS2EG3GW.js → chunk-GM7HTXYC.js} +6 -0
  35. package/dist/{chunk-UZVHXZ7V.js → chunk-HYHKTFG2.js} +59 -15
  36. package/dist/chunk-JL2SLRAT.js +1970 -0
  37. package/dist/{chunk-OQSYYOLM.js → chunk-SQGMG7OD.js} +128 -114
  38. package/dist/{chunk-QUXPUKBH.js → chunk-Y7X25LFY.js} +1 -1
  39. package/dist/{chunk-UOTZ3EEQ.js → chunk-YOHFWWBV.js} +1 -1
  40. package/dist/{chunk-V4VYUY4A.js → chunk-YRDS7VKO.js} +1 -1
  41. package/dist/cli/chat.js +2 -2
  42. package/dist/cli/init.js +1 -1
  43. package/dist/cli/snapshot-warmup.js +3 -3
  44. package/dist/cli/upgrade.js +77 -7
  45. package/dist/instrumentation.js +0 -1
  46. package/dist/nitro.js +3 -3
  47. package/dist/reporting/conversations.d.ts +13 -3
  48. package/dist/reporting.d.ts +9 -2
  49. package/dist/reporting.js +101 -37
  50. package/dist/{runner-LMAM4OGD.js → runner-27NP2TEO.js} +7 -7
  51. package/dist/vercel.d.ts +6 -1
  52. package/dist/vercel.js +1 -1
  53. package/package.json +9 -4
  54. package/dist/chunk-AL5T52ZD.js +0 -1119
@@ -3,10 +3,13 @@ import { createSlackRuntime } from "@/chat/app/factory";
3
3
  import type { SlackWebhookServices } from "@/chat/ingress/slack-webhook";
4
4
  import type { VercelConversationWorkCallbackOptions } from "@/chat/task-execution/vercel-callback";
5
5
  import type { JuniorRuntimeServiceOverrides } from "@/chat/app/services";
6
+ import type { ConversationStore } from "@/chat/conversations/store";
6
7
  /** Return the lazily initialized production Slack adapter. */
7
8
  export declare function getProductionSlackAdapter(): SlackAdapter;
8
9
  /** Return the lazily initialized production Slack runtime. */
9
10
  export declare function getProductionSlackRuntime(): ReturnType<typeof createSlackRuntime>;
11
+ /** Return the production conversation store for current config. */
12
+ export declare function getProductionConversationStore(): ConversationStore;
10
13
  /** Create production-backed services for Slack webhook ingress. */
11
14
  export declare function createProductionSlackWebhookServices(options?: {
12
15
  services?: JuniorRuntimeServiceOverrides;
@@ -22,6 +22,9 @@ export interface AdvisorConfig {
22
22
  export interface ChatConfig {
23
23
  bot: BotConfig;
24
24
  functionMaxDurationSeconds: number;
25
+ sql: {
26
+ databaseUrl?: string;
27
+ };
25
28
  slack: {
26
29
  botToken?: string;
27
30
  clientId?: string;
@@ -0,0 +1,5 @@
1
+ import type { ConversationStore } from "./store";
2
+ /** Return the process-configured conversation record store. */
3
+ export declare function getConfiguredConversationStore(): ConversationStore;
4
+ /** Return whether conversation records use the configured SQL store. */
5
+ export declare function hasConfiguredSqlConversationStore(): boolean;
@@ -0,0 +1,11 @@
1
+ import { schema } from "./schema";
2
+ import type { JuniorSqlMigrationExecutor } from "@/chat/sql/db";
3
+ export interface Migration {
4
+ checksum: string;
5
+ id: string;
6
+ statements: readonly string[];
7
+ }
8
+ export declare const migrations: readonly [Migration];
9
+ export { schema };
10
+ /** Apply pending SQL schema migrations for queryable conversation records. */
11
+ export declare function migrateSchema(executor: JuniorSqlMigrationExecutor, migrationList?: readonly Migration[]): Promise<void>;
@@ -0,0 +1,435 @@
1
+ import type { ConversationSource, ConversationStatus } from "@/chat/conversations/store";
2
+ export declare const juniorConversations: import("drizzle-orm/pg-core").PgTableWithColumns<{
3
+ name: "junior_conversations";
4
+ schema: undefined;
5
+ columns: {
6
+ conversationId: import("drizzle-orm/pg-core").PgColumn<{
7
+ name: "conversation_id";
8
+ tableName: "junior_conversations";
9
+ dataType: "string";
10
+ columnType: "PgText";
11
+ data: string;
12
+ driverParam: string;
13
+ notNull: true;
14
+ hasDefault: false;
15
+ isPrimaryKey: true;
16
+ isAutoincrement: false;
17
+ hasRuntimeDefault: false;
18
+ enumValues: [string, ...string[]];
19
+ baseColumn: never;
20
+ identity: undefined;
21
+ generated: undefined;
22
+ }, {}, {}>;
23
+ schemaVersion: import("drizzle-orm/pg-core").PgColumn<{
24
+ name: "schema_version";
25
+ tableName: "junior_conversations";
26
+ dataType: "number";
27
+ columnType: "PgInteger";
28
+ data: number;
29
+ driverParam: string | number;
30
+ notNull: true;
31
+ hasDefault: true;
32
+ isPrimaryKey: false;
33
+ isAutoincrement: false;
34
+ hasRuntimeDefault: false;
35
+ enumValues: undefined;
36
+ baseColumn: never;
37
+ identity: undefined;
38
+ generated: undefined;
39
+ }, {}, {}>;
40
+ source: import("drizzle-orm/pg-core").PgColumn<{
41
+ name: "source";
42
+ tableName: "junior_conversations";
43
+ dataType: "string";
44
+ columnType: "PgText";
45
+ data: ConversationSource;
46
+ driverParam: string;
47
+ notNull: false;
48
+ hasDefault: false;
49
+ isPrimaryKey: false;
50
+ isAutoincrement: false;
51
+ hasRuntimeDefault: false;
52
+ enumValues: [string, ...string[]];
53
+ baseColumn: never;
54
+ identity: undefined;
55
+ generated: undefined;
56
+ }, {}, {
57
+ $type: ConversationSource;
58
+ }>;
59
+ originType: import("drizzle-orm/pg-core").PgColumn<{
60
+ name: "origin_type";
61
+ tableName: "junior_conversations";
62
+ dataType: "string";
63
+ columnType: "PgText";
64
+ data: string;
65
+ driverParam: string;
66
+ notNull: false;
67
+ hasDefault: false;
68
+ isPrimaryKey: false;
69
+ isAutoincrement: false;
70
+ hasRuntimeDefault: false;
71
+ enumValues: [string, ...string[]];
72
+ baseColumn: never;
73
+ identity: undefined;
74
+ generated: undefined;
75
+ }, {}, {}>;
76
+ originId: import("drizzle-orm/pg-core").PgColumn<{
77
+ name: "origin_id";
78
+ tableName: "junior_conversations";
79
+ dataType: "string";
80
+ columnType: "PgText";
81
+ data: string;
82
+ driverParam: string;
83
+ notNull: false;
84
+ hasDefault: false;
85
+ isPrimaryKey: false;
86
+ isAutoincrement: false;
87
+ hasRuntimeDefault: false;
88
+ enumValues: [string, ...string[]];
89
+ baseColumn: never;
90
+ identity: undefined;
91
+ generated: undefined;
92
+ }, {}, {}>;
93
+ originRunId: import("drizzle-orm/pg-core").PgColumn<{
94
+ name: "origin_run_id";
95
+ tableName: "junior_conversations";
96
+ dataType: "string";
97
+ columnType: "PgText";
98
+ data: string;
99
+ driverParam: string;
100
+ notNull: false;
101
+ hasDefault: false;
102
+ isPrimaryKey: false;
103
+ isAutoincrement: false;
104
+ hasRuntimeDefault: false;
105
+ enumValues: [string, ...string[]];
106
+ baseColumn: never;
107
+ identity: undefined;
108
+ generated: undefined;
109
+ }, {}, {}>;
110
+ destinationId: import("drizzle-orm/pg-core").PgColumn<{
111
+ name: "destination_id";
112
+ tableName: "junior_conversations";
113
+ dataType: "string";
114
+ columnType: "PgText";
115
+ data: string;
116
+ driverParam: string;
117
+ notNull: false;
118
+ hasDefault: false;
119
+ isPrimaryKey: false;
120
+ isAutoincrement: false;
121
+ hasRuntimeDefault: false;
122
+ enumValues: [string, ...string[]];
123
+ baseColumn: never;
124
+ identity: undefined;
125
+ generated: undefined;
126
+ }, {}, {}>;
127
+ destination: import("drizzle-orm/pg-core").PgColumn<{
128
+ name: "destination_json";
129
+ tableName: "junior_conversations";
130
+ dataType: "json";
131
+ columnType: "PgJsonb";
132
+ data: {
133
+ platform: "slack";
134
+ teamId: string;
135
+ channelId: string;
136
+ } | {
137
+ platform: "local";
138
+ conversationId: string;
139
+ };
140
+ driverParam: unknown;
141
+ notNull: false;
142
+ hasDefault: false;
143
+ isPrimaryKey: false;
144
+ isAutoincrement: false;
145
+ hasRuntimeDefault: false;
146
+ enumValues: undefined;
147
+ baseColumn: never;
148
+ identity: undefined;
149
+ generated: undefined;
150
+ }, {}, {
151
+ $type: {
152
+ platform: "slack";
153
+ teamId: string;
154
+ channelId: string;
155
+ } | {
156
+ platform: "local";
157
+ conversationId: string;
158
+ };
159
+ }>;
160
+ actorIdentityId: import("drizzle-orm/pg-core").PgColumn<{
161
+ name: "actor_identity_id";
162
+ tableName: "junior_conversations";
163
+ dataType: "string";
164
+ columnType: "PgText";
165
+ data: string;
166
+ driverParam: string;
167
+ notNull: false;
168
+ hasDefault: false;
169
+ isPrimaryKey: false;
170
+ isAutoincrement: false;
171
+ hasRuntimeDefault: false;
172
+ enumValues: [string, ...string[]];
173
+ baseColumn: never;
174
+ identity: undefined;
175
+ generated: undefined;
176
+ }, {}, {}>;
177
+ requesterIdentityId: import("drizzle-orm/pg-core").PgColumn<{
178
+ name: "requester_identity_id";
179
+ tableName: "junior_conversations";
180
+ dataType: "string";
181
+ columnType: "PgText";
182
+ data: string;
183
+ driverParam: string;
184
+ notNull: false;
185
+ hasDefault: false;
186
+ isPrimaryKey: false;
187
+ isAutoincrement: false;
188
+ hasRuntimeDefault: false;
189
+ enumValues: [string, ...string[]];
190
+ baseColumn: never;
191
+ identity: undefined;
192
+ generated: undefined;
193
+ }, {}, {}>;
194
+ creatorIdentityId: import("drizzle-orm/pg-core").PgColumn<{
195
+ name: "creator_identity_id";
196
+ tableName: "junior_conversations";
197
+ dataType: "string";
198
+ columnType: "PgText";
199
+ data: string;
200
+ driverParam: string;
201
+ notNull: false;
202
+ hasDefault: false;
203
+ isPrimaryKey: false;
204
+ isAutoincrement: false;
205
+ hasRuntimeDefault: false;
206
+ enumValues: [string, ...string[]];
207
+ baseColumn: never;
208
+ identity: undefined;
209
+ generated: undefined;
210
+ }, {}, {}>;
211
+ credentialSubjectIdentityId: import("drizzle-orm/pg-core").PgColumn<{
212
+ name: "credential_subject_identity_id";
213
+ tableName: "junior_conversations";
214
+ dataType: "string";
215
+ columnType: "PgText";
216
+ data: string;
217
+ driverParam: string;
218
+ notNull: false;
219
+ hasDefault: false;
220
+ isPrimaryKey: false;
221
+ isAutoincrement: false;
222
+ hasRuntimeDefault: false;
223
+ enumValues: [string, ...string[]];
224
+ baseColumn: never;
225
+ identity: undefined;
226
+ generated: undefined;
227
+ }, {}, {}>;
228
+ requester: import("drizzle-orm/pg-core").PgColumn<{
229
+ name: "requester_json";
230
+ tableName: "junior_conversations";
231
+ dataType: "json";
232
+ columnType: "PgJsonb";
233
+ data: {
234
+ email?: string | undefined;
235
+ fullName?: string | undefined;
236
+ platform?: "slack" | undefined;
237
+ slackUserId?: string | undefined;
238
+ slackUserName?: string | undefined;
239
+ teamId?: string | undefined;
240
+ };
241
+ driverParam: unknown;
242
+ notNull: false;
243
+ hasDefault: false;
244
+ isPrimaryKey: false;
245
+ isAutoincrement: false;
246
+ hasRuntimeDefault: false;
247
+ enumValues: undefined;
248
+ baseColumn: never;
249
+ identity: undefined;
250
+ generated: undefined;
251
+ }, {}, {
252
+ $type: {
253
+ email?: string | undefined;
254
+ fullName?: string | undefined;
255
+ platform?: "slack" | undefined;
256
+ slackUserId?: string | undefined;
257
+ slackUserName?: string | undefined;
258
+ teamId?: string | undefined;
259
+ };
260
+ }>;
261
+ channelName: import("drizzle-orm/pg-core").PgColumn<{
262
+ name: "channel_name";
263
+ tableName: "junior_conversations";
264
+ dataType: "string";
265
+ columnType: "PgText";
266
+ data: string;
267
+ driverParam: string;
268
+ notNull: false;
269
+ hasDefault: false;
270
+ isPrimaryKey: false;
271
+ isAutoincrement: false;
272
+ hasRuntimeDefault: false;
273
+ enumValues: [string, ...string[]];
274
+ baseColumn: never;
275
+ identity: undefined;
276
+ generated: undefined;
277
+ }, {}, {}>;
278
+ title: import("drizzle-orm/pg-core").PgColumn<{
279
+ name: "title";
280
+ tableName: "junior_conversations";
281
+ dataType: "string";
282
+ columnType: "PgText";
283
+ data: string;
284
+ driverParam: string;
285
+ notNull: false;
286
+ hasDefault: false;
287
+ isPrimaryKey: false;
288
+ isAutoincrement: false;
289
+ hasRuntimeDefault: false;
290
+ enumValues: [string, ...string[]];
291
+ baseColumn: never;
292
+ identity: undefined;
293
+ generated: undefined;
294
+ }, {}, {}>;
295
+ createdAt: import("drizzle-orm/pg-core").PgColumn<{
296
+ name: string;
297
+ tableName: "junior_conversations";
298
+ dataType: "date";
299
+ columnType: "PgTimestamp";
300
+ data: Date;
301
+ driverParam: string;
302
+ notNull: true;
303
+ hasDefault: false;
304
+ isPrimaryKey: false;
305
+ isAutoincrement: false;
306
+ hasRuntimeDefault: false;
307
+ enumValues: undefined;
308
+ baseColumn: never;
309
+ identity: undefined;
310
+ generated: undefined;
311
+ }, {}, {}>;
312
+ lastActivityAt: import("drizzle-orm/pg-core").PgColumn<{
313
+ name: string;
314
+ tableName: "junior_conversations";
315
+ dataType: "date";
316
+ columnType: "PgTimestamp";
317
+ data: Date;
318
+ driverParam: string;
319
+ notNull: true;
320
+ hasDefault: false;
321
+ isPrimaryKey: false;
322
+ isAutoincrement: false;
323
+ hasRuntimeDefault: false;
324
+ enumValues: undefined;
325
+ baseColumn: never;
326
+ identity: undefined;
327
+ generated: undefined;
328
+ }, {}, {}>;
329
+ updatedAt: import("drizzle-orm/pg-core").PgColumn<{
330
+ name: string;
331
+ tableName: "junior_conversations";
332
+ dataType: "date";
333
+ columnType: "PgTimestamp";
334
+ data: Date;
335
+ driverParam: string;
336
+ notNull: true;
337
+ hasDefault: false;
338
+ isPrimaryKey: false;
339
+ isAutoincrement: false;
340
+ hasRuntimeDefault: false;
341
+ enumValues: undefined;
342
+ baseColumn: never;
343
+ identity: undefined;
344
+ generated: undefined;
345
+ }, {}, {}>;
346
+ executionUpdatedAt: import("drizzle-orm/pg-core").PgColumn<{
347
+ name: string;
348
+ tableName: "junior_conversations";
349
+ dataType: "date";
350
+ columnType: "PgTimestamp";
351
+ data: Date;
352
+ driverParam: string;
353
+ notNull: false;
354
+ hasDefault: false;
355
+ isPrimaryKey: false;
356
+ isAutoincrement: false;
357
+ hasRuntimeDefault: false;
358
+ enumValues: undefined;
359
+ baseColumn: never;
360
+ identity: undefined;
361
+ generated: undefined;
362
+ }, {}, {}>;
363
+ executionStatus: import("drizzle-orm/pg-core").PgColumn<{
364
+ name: "execution_status";
365
+ tableName: "junior_conversations";
366
+ dataType: "string";
367
+ columnType: "PgText";
368
+ data: ConversationStatus;
369
+ driverParam: string;
370
+ notNull: true;
371
+ hasDefault: false;
372
+ isPrimaryKey: false;
373
+ isAutoincrement: false;
374
+ hasRuntimeDefault: false;
375
+ enumValues: [string, ...string[]];
376
+ baseColumn: never;
377
+ identity: undefined;
378
+ generated: undefined;
379
+ }, {}, {
380
+ $type: ConversationStatus;
381
+ }>;
382
+ runId: import("drizzle-orm/pg-core").PgColumn<{
383
+ name: "run_id";
384
+ tableName: "junior_conversations";
385
+ dataType: "string";
386
+ columnType: "PgText";
387
+ data: string;
388
+ driverParam: string;
389
+ notNull: false;
390
+ hasDefault: false;
391
+ isPrimaryKey: false;
392
+ isAutoincrement: false;
393
+ hasRuntimeDefault: false;
394
+ enumValues: [string, ...string[]];
395
+ baseColumn: never;
396
+ identity: undefined;
397
+ generated: undefined;
398
+ }, {}, {}>;
399
+ lastCheckpointAt: import("drizzle-orm/pg-core").PgColumn<{
400
+ name: string;
401
+ tableName: "junior_conversations";
402
+ dataType: "date";
403
+ columnType: "PgTimestamp";
404
+ data: Date;
405
+ driverParam: string;
406
+ notNull: false;
407
+ hasDefault: false;
408
+ isPrimaryKey: false;
409
+ isAutoincrement: false;
410
+ hasRuntimeDefault: false;
411
+ enumValues: undefined;
412
+ baseColumn: never;
413
+ identity: undefined;
414
+ generated: undefined;
415
+ }, {}, {}>;
416
+ lastEnqueuedAt: import("drizzle-orm/pg-core").PgColumn<{
417
+ name: string;
418
+ tableName: "junior_conversations";
419
+ dataType: "date";
420
+ columnType: "PgTimestamp";
421
+ data: Date;
422
+ driverParam: string;
423
+ notNull: false;
424
+ hasDefault: false;
425
+ isPrimaryKey: false;
426
+ isAutoincrement: false;
427
+ hasRuntimeDefault: false;
428
+ enumValues: undefined;
429
+ baseColumn: never;
430
+ identity: undefined;
431
+ generated: undefined;
432
+ }, {}, {}>;
433
+ };
434
+ dialect: "pg";
435
+ }>;
@@ -0,0 +1,200 @@
1
+ export type JuniorDestinationKind = "channel" | "dm" | "group" | "local_conversation" | "thread" | "web_session";
2
+ export type JuniorDestinationVisibility = "direct" | "private" | "public" | "unknown";
3
+ export declare const juniorDestinations: import("drizzle-orm/pg-core").PgTableWithColumns<{
4
+ name: "junior_destinations";
5
+ schema: undefined;
6
+ columns: {
7
+ id: import("drizzle-orm/pg-core").PgColumn<{
8
+ name: "id";
9
+ tableName: "junior_destinations";
10
+ dataType: "string";
11
+ columnType: "PgText";
12
+ data: string;
13
+ driverParam: string;
14
+ notNull: true;
15
+ hasDefault: false;
16
+ isPrimaryKey: true;
17
+ isAutoincrement: false;
18
+ hasRuntimeDefault: false;
19
+ enumValues: [string, ...string[]];
20
+ baseColumn: never;
21
+ identity: undefined;
22
+ generated: undefined;
23
+ }, {}, {}>;
24
+ provider: import("drizzle-orm/pg-core").PgColumn<{
25
+ name: "provider";
26
+ tableName: "junior_destinations";
27
+ dataType: "string";
28
+ columnType: "PgText";
29
+ data: string;
30
+ driverParam: string;
31
+ notNull: true;
32
+ hasDefault: false;
33
+ isPrimaryKey: false;
34
+ isAutoincrement: false;
35
+ hasRuntimeDefault: false;
36
+ enumValues: [string, ...string[]];
37
+ baseColumn: never;
38
+ identity: undefined;
39
+ generated: undefined;
40
+ }, {}, {}>;
41
+ providerTenantId: import("drizzle-orm/pg-core").PgColumn<{
42
+ name: "provider_tenant_id";
43
+ tableName: "junior_destinations";
44
+ dataType: "string";
45
+ columnType: "PgText";
46
+ data: string;
47
+ driverParam: string;
48
+ notNull: true;
49
+ hasDefault: true;
50
+ isPrimaryKey: false;
51
+ isAutoincrement: false;
52
+ hasRuntimeDefault: false;
53
+ enumValues: [string, ...string[]];
54
+ baseColumn: never;
55
+ identity: undefined;
56
+ generated: undefined;
57
+ }, {}, {}>;
58
+ providerDestinationId: import("drizzle-orm/pg-core").PgColumn<{
59
+ name: "provider_destination_id";
60
+ tableName: "junior_destinations";
61
+ dataType: "string";
62
+ columnType: "PgText";
63
+ data: string;
64
+ driverParam: string;
65
+ notNull: true;
66
+ hasDefault: false;
67
+ isPrimaryKey: false;
68
+ isAutoincrement: false;
69
+ hasRuntimeDefault: false;
70
+ enumValues: [string, ...string[]];
71
+ baseColumn: never;
72
+ identity: undefined;
73
+ generated: undefined;
74
+ }, {}, {}>;
75
+ kind: import("drizzle-orm/pg-core").PgColumn<{
76
+ name: "kind";
77
+ tableName: "junior_destinations";
78
+ dataType: "string";
79
+ columnType: "PgText";
80
+ data: JuniorDestinationKind;
81
+ driverParam: string;
82
+ notNull: true;
83
+ hasDefault: false;
84
+ isPrimaryKey: false;
85
+ isAutoincrement: false;
86
+ hasRuntimeDefault: false;
87
+ enumValues: [string, ...string[]];
88
+ baseColumn: never;
89
+ identity: undefined;
90
+ generated: undefined;
91
+ }, {}, {
92
+ $type: JuniorDestinationKind;
93
+ }>;
94
+ parentDestinationId: import("drizzle-orm/pg-core").PgColumn<{
95
+ name: "parent_destination_id";
96
+ tableName: "junior_destinations";
97
+ dataType: "string";
98
+ columnType: "PgText";
99
+ data: string;
100
+ driverParam: string;
101
+ notNull: false;
102
+ hasDefault: false;
103
+ isPrimaryKey: false;
104
+ isAutoincrement: false;
105
+ hasRuntimeDefault: false;
106
+ enumValues: [string, ...string[]];
107
+ baseColumn: never;
108
+ identity: undefined;
109
+ generated: undefined;
110
+ }, {}, {}>;
111
+ displayName: import("drizzle-orm/pg-core").PgColumn<{
112
+ name: "display_name";
113
+ tableName: "junior_destinations";
114
+ dataType: "string";
115
+ columnType: "PgText";
116
+ data: string;
117
+ driverParam: string;
118
+ notNull: false;
119
+ hasDefault: false;
120
+ isPrimaryKey: false;
121
+ isAutoincrement: false;
122
+ hasRuntimeDefault: false;
123
+ enumValues: [string, ...string[]];
124
+ baseColumn: never;
125
+ identity: undefined;
126
+ generated: undefined;
127
+ }, {}, {}>;
128
+ visibility: import("drizzle-orm/pg-core").PgColumn<{
129
+ name: "visibility";
130
+ tableName: "junior_destinations";
131
+ dataType: "string";
132
+ columnType: "PgText";
133
+ data: JuniorDestinationVisibility;
134
+ driverParam: string;
135
+ notNull: true;
136
+ hasDefault: true;
137
+ isPrimaryKey: false;
138
+ isAutoincrement: false;
139
+ hasRuntimeDefault: false;
140
+ enumValues: [string, ...string[]];
141
+ baseColumn: never;
142
+ identity: undefined;
143
+ generated: undefined;
144
+ }, {}, {
145
+ $type: JuniorDestinationVisibility;
146
+ }>;
147
+ metadata: import("drizzle-orm/pg-core").PgColumn<{
148
+ name: "metadata_json";
149
+ tableName: "junior_destinations";
150
+ dataType: "json";
151
+ columnType: "PgJsonb";
152
+ data: unknown;
153
+ driverParam: unknown;
154
+ notNull: false;
155
+ hasDefault: false;
156
+ isPrimaryKey: false;
157
+ isAutoincrement: false;
158
+ hasRuntimeDefault: false;
159
+ enumValues: undefined;
160
+ baseColumn: never;
161
+ identity: undefined;
162
+ generated: undefined;
163
+ }, {}, {}>;
164
+ createdAt: import("drizzle-orm/pg-core").PgColumn<{
165
+ name: string;
166
+ tableName: "junior_destinations";
167
+ dataType: "date";
168
+ columnType: "PgTimestamp";
169
+ data: Date;
170
+ driverParam: string;
171
+ notNull: true;
172
+ hasDefault: false;
173
+ isPrimaryKey: false;
174
+ isAutoincrement: false;
175
+ hasRuntimeDefault: false;
176
+ enumValues: undefined;
177
+ baseColumn: never;
178
+ identity: undefined;
179
+ generated: undefined;
180
+ }, {}, {}>;
181
+ updatedAt: import("drizzle-orm/pg-core").PgColumn<{
182
+ name: string;
183
+ tableName: "junior_destinations";
184
+ dataType: "date";
185
+ columnType: "PgTimestamp";
186
+ data: Date;
187
+ driverParam: string;
188
+ notNull: true;
189
+ hasDefault: false;
190
+ isPrimaryKey: false;
191
+ isAutoincrement: false;
192
+ hasRuntimeDefault: false;
193
+ enumValues: undefined;
194
+ baseColumn: never;
195
+ identity: undefined;
196
+ generated: undefined;
197
+ }, {}, {}>;
198
+ };
199
+ dialect: "pg";
200
+ }>;