@rudderhq/db 0.3.6-canary.9 → 0.4.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/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/local-postgres-provider.d.ts +41 -0
- package/dist/local-postgres-provider.d.ts.map +1 -0
- package/dist/local-postgres-provider.js +167 -0
- package/dist/local-postgres-provider.js.map +1 -0
- package/dist/local-postgres-provider.test.d.ts +2 -0
- package/dist/local-postgres-provider.test.d.ts.map +1 -0
- package/dist/local-postgres-provider.test.js +109 -0
- package/dist/local-postgres-provider.test.js.map +1 -0
- package/dist/migration-runtime.d.ts.map +1 -1
- package/dist/migration-runtime.js +21 -23
- package/dist/migration-runtime.js.map +1 -1
- package/dist/migrations/0093_messenger_custom_group_pins.sql +1 -0
- package/dist/migrations/0094_keen_jack_murdock.sql +49 -0
- package/dist/migrations/0095_chat_conversation_forks.sql +8 -0
- package/dist/migrations/meta/0093_snapshot.json +17126 -0
- package/dist/migrations/meta/0094_snapshot.json +17583 -0
- package/dist/migrations/meta/0095_snapshot.json +17670 -0
- package/dist/migrations/meta/_journal.json +22 -1
- package/dist/schema/chat_conversations.d.ts +51 -0
- package/dist/schema/chat_conversations.d.ts.map +1 -1
- package/dist/schema/chat_conversations.js +6 -0
- package/dist/schema/chat_conversations.js.map +1 -1
- package/dist/schema/chat_generations.d.ts +161 -0
- package/dist/schema/chat_generations.d.ts.map +1 -0
- package/dist/schema/chat_generations.js +18 -0
- package/dist/schema/chat_generations.js.map +1 -0
- package/dist/schema/chat_queued_messages.d.ts +350 -0
- package/dist/schema/chat_queued_messages.d.ts.map +1 -0
- package/dist/schema/chat_queued_messages.js +33 -0
- package/dist/schema/chat_queued_messages.js.map +1 -0
- package/dist/schema/heartbeat_runs.d.ts.map +1 -1
- package/dist/schema/heartbeat_runs.js +8 -0
- package/dist/schema/heartbeat_runs.js.map +1 -1
- package/dist/schema/index.d.ts +2 -0
- package/dist/schema/index.d.ts.map +1 -1
- package/dist/schema/index.js +2 -0
- package/dist/schema/index.js.map +1 -1
- package/dist/schema/issues.d.ts.map +1 -1
- package/dist/schema/issues.js +8 -0
- package/dist/schema/issues.js.map +1 -1
- package/dist/schema/messenger_custom_groups.d.ts +17 -0
- package/dist/schema/messenger_custom_groups.d.ts.map +1 -1
- package/dist/schema/messenger_custom_groups.js +1 -0
- package/dist/schema/messenger_custom_groups.js.map +1 -1
- package/dist/schema/plugin_config.d.ts +1 -1
- package/dist/schema/plugin_config.js +1 -1
- package/dist/schema/plugin_entities.d.ts +1 -1
- package/dist/schema/plugin_entities.js +1 -1
- package/dist/schema/plugin_jobs.d.ts +2 -2
- package/dist/schema/plugin_jobs.js +2 -2
- package/dist/schema/plugin_logs.d.ts +1 -1
- package/dist/schema/plugin_logs.js +1 -1
- package/dist/schema/plugin_state.d.ts +1 -1
- package/dist/schema/plugin_state.js +1 -1
- package/dist/schema/plugin_webhooks.d.ts +1 -1
- package/dist/schema/plugin_webhooks.js +1 -1
- package/dist/schema/plugins.d.ts +1 -1
- package/dist/schema/plugins.js +1 -1
- package/package.json +2 -2
|
@@ -652,6 +652,27 @@
|
|
|
652
652
|
"when": 1781768744822,
|
|
653
653
|
"tag": "0092_white_tombstone",
|
|
654
654
|
"breakpoints": true
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"idx": 93,
|
|
658
|
+
"version": "7",
|
|
659
|
+
"when": 1781974800000,
|
|
660
|
+
"tag": "0093_messenger_custom_group_pins",
|
|
661
|
+
"breakpoints": true
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"idx": 94,
|
|
665
|
+
"version": "7",
|
|
666
|
+
"when": 1782025645133,
|
|
667
|
+
"tag": "0094_keen_jack_murdock",
|
|
668
|
+
"breakpoints": true
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"idx": 95,
|
|
672
|
+
"version": "7",
|
|
673
|
+
"when": 1782115200000,
|
|
674
|
+
"tag": "0095_chat_conversation_forks",
|
|
675
|
+
"breakpoints": true
|
|
655
676
|
}
|
|
656
677
|
]
|
|
657
|
-
}
|
|
678
|
+
}
|
|
@@ -138,6 +138,57 @@ export declare const chatConversations: import("drizzle-orm/pg-core").PgTableWit
|
|
|
138
138
|
identity: undefined;
|
|
139
139
|
generated: undefined;
|
|
140
140
|
}, {}, {}>;
|
|
141
|
+
forkedFromConversationId: import("drizzle-orm/pg-core").PgColumn<{
|
|
142
|
+
name: "forked_from_conversation_id";
|
|
143
|
+
tableName: "chat_conversations";
|
|
144
|
+
dataType: "string";
|
|
145
|
+
columnType: "PgUUID";
|
|
146
|
+
data: string;
|
|
147
|
+
driverParam: string;
|
|
148
|
+
notNull: false;
|
|
149
|
+
hasDefault: false;
|
|
150
|
+
isPrimaryKey: false;
|
|
151
|
+
isAutoincrement: false;
|
|
152
|
+
hasRuntimeDefault: false;
|
|
153
|
+
enumValues: undefined;
|
|
154
|
+
baseColumn: never;
|
|
155
|
+
identity: undefined;
|
|
156
|
+
generated: undefined;
|
|
157
|
+
}, {}, {}>;
|
|
158
|
+
forkedFromMessageId: import("drizzle-orm/pg-core").PgColumn<{
|
|
159
|
+
name: "forked_from_message_id";
|
|
160
|
+
tableName: "chat_conversations";
|
|
161
|
+
dataType: "string";
|
|
162
|
+
columnType: "PgUUID";
|
|
163
|
+
data: string;
|
|
164
|
+
driverParam: string;
|
|
165
|
+
notNull: false;
|
|
166
|
+
hasDefault: false;
|
|
167
|
+
isPrimaryKey: false;
|
|
168
|
+
isAutoincrement: false;
|
|
169
|
+
hasRuntimeDefault: false;
|
|
170
|
+
enumValues: undefined;
|
|
171
|
+
baseColumn: never;
|
|
172
|
+
identity: undefined;
|
|
173
|
+
generated: undefined;
|
|
174
|
+
}, {}, {}>;
|
|
175
|
+
forkRootConversationId: import("drizzle-orm/pg-core").PgColumn<{
|
|
176
|
+
name: "fork_root_conversation_id";
|
|
177
|
+
tableName: "chat_conversations";
|
|
178
|
+
dataType: "string";
|
|
179
|
+
columnType: "PgUUID";
|
|
180
|
+
data: string;
|
|
181
|
+
driverParam: string;
|
|
182
|
+
notNull: false;
|
|
183
|
+
hasDefault: false;
|
|
184
|
+
isPrimaryKey: false;
|
|
185
|
+
isAutoincrement: false;
|
|
186
|
+
hasRuntimeDefault: false;
|
|
187
|
+
enumValues: undefined;
|
|
188
|
+
baseColumn: never;
|
|
189
|
+
identity: undefined;
|
|
190
|
+
generated: undefined;
|
|
191
|
+
}, {}, {}>;
|
|
141
192
|
issueCreationMode: import("drizzle-orm/pg-core").PgColumn<{
|
|
142
193
|
name: "issue_creation_mode";
|
|
143
194
|
tableName: "chat_conversations";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat_conversations.d.ts","sourceRoot":"","sources":["../../src/schema/chat_conversations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chat_conversations.d.ts","sourceRoot":"","sources":["../../src/schema/chat_conversations.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiC7B,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { boolean, index, pgTable, text, timestamp, uuid } from "drizzle-orm/pg-core";
|
|
2
2
|
import { agents } from "./agents.js";
|
|
3
|
+
import { chatMessages } from "./chat_messages.js";
|
|
3
4
|
import { issues } from "./issues.js";
|
|
4
5
|
import { organizations } from "./organizations.js";
|
|
5
6
|
export const chatConversations = pgTable("chat_conversations", {
|
|
@@ -11,6 +12,9 @@ export const chatConversations = pgTable("chat_conversations", {
|
|
|
11
12
|
preferredAgentId: uuid("preferred_agent_id").references(() => agents.id, { onDelete: "set null" }),
|
|
12
13
|
routedAgentId: uuid("routed_agent_id").references(() => agents.id, { onDelete: "set null" }),
|
|
13
14
|
primaryIssueId: uuid("primary_issue_id").references(() => issues.id, { onDelete: "set null" }),
|
|
15
|
+
forkedFromConversationId: uuid("forked_from_conversation_id").references(() => chatConversations.id, { onDelete: "set null" }),
|
|
16
|
+
forkedFromMessageId: uuid("forked_from_message_id").references(() => chatMessages.id, { onDelete: "set null" }),
|
|
17
|
+
forkRootConversationId: uuid("fork_root_conversation_id").references(() => chatConversations.id, { onDelete: "set null" }),
|
|
14
18
|
issueCreationMode: text("issue_creation_mode").notNull().default("manual_approval"),
|
|
15
19
|
planMode: boolean("plan_mode").notNull().default(false),
|
|
16
20
|
createdByUserId: text("created_by_user_id"),
|
|
@@ -22,5 +26,7 @@ export const chatConversations = pgTable("chat_conversations", {
|
|
|
22
26
|
orgUpdatedIdx: index("chat_conversations_org_updated_idx").on(table.orgId, table.updatedAt),
|
|
23
27
|
orgStatusUpdatedIdx: index("chat_conversations_org_status_updated_idx").on(table.orgId, table.status, table.updatedAt),
|
|
24
28
|
primaryIssueIdx: index("chat_conversations_primary_issue_idx").on(table.primaryIssueId),
|
|
29
|
+
forkedFromConversationIdx: index("chat_conversations_forked_from_conversation_idx").on(table.forkedFromConversationId),
|
|
30
|
+
forkRootIdx: index("chat_conversations_fork_root_idx").on(table.forkRootConversationId),
|
|
25
31
|
}));
|
|
26
32
|
//# sourceMappingURL=chat_conversations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat_conversations.js","sourceRoot":"","sources":["../../src/schema/chat_conversations.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|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;IACV,aAAa,EAAE,KAAK,CAAC,oCAAoC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3F,mBAAmB,EAAE,KAAK,CAAC,2CAA2C,CAAC,CAAC,EAAE,CACxE,KAAK,CAAC,KAAK,EACX,KAAK,CAAC,MAAM,EACZ,KAAK,CAAC,SAAS,CAChB;IACD,eAAe,EAAE,KAAK,CAAC,sCAAsC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC;IACvF,yBAAyB,EAAE,KAAK,CAAC,iDAAiD,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,wBAAwB,CAAC;IACtH,WAAW,EAAE,KAAK,CAAC,kCAAkC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,sBAAsB,CAAC;CACxF,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
export declare const chatGenerations: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
2
|
+
name: "chat_generations";
|
|
3
|
+
schema: undefined;
|
|
4
|
+
columns: {
|
|
5
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
6
|
+
name: "id";
|
|
7
|
+
tableName: "chat_generations";
|
|
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
|
+
orgId: import("drizzle-orm/pg-core").PgColumn<{
|
|
23
|
+
name: "org_id";
|
|
24
|
+
tableName: "chat_generations";
|
|
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
|
+
conversationId: import("drizzle-orm/pg-core").PgColumn<{
|
|
40
|
+
name: "conversation_id";
|
|
41
|
+
tableName: "chat_generations";
|
|
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
|
+
status: import("drizzle-orm/pg-core").PgColumn<{
|
|
57
|
+
name: "status";
|
|
58
|
+
tableName: "chat_generations";
|
|
59
|
+
dataType: "string";
|
|
60
|
+
columnType: "PgText";
|
|
61
|
+
data: string;
|
|
62
|
+
driverParam: string;
|
|
63
|
+
notNull: true;
|
|
64
|
+
hasDefault: true;
|
|
65
|
+
isPrimaryKey: false;
|
|
66
|
+
isAutoincrement: false;
|
|
67
|
+
hasRuntimeDefault: false;
|
|
68
|
+
enumValues: [string, ...string[]];
|
|
69
|
+
baseColumn: never;
|
|
70
|
+
identity: undefined;
|
|
71
|
+
generated: undefined;
|
|
72
|
+
}, {}, {}>;
|
|
73
|
+
terminalReason: import("drizzle-orm/pg-core").PgColumn<{
|
|
74
|
+
name: "terminal_reason";
|
|
75
|
+
tableName: "chat_generations";
|
|
76
|
+
dataType: "string";
|
|
77
|
+
columnType: "PgText";
|
|
78
|
+
data: string;
|
|
79
|
+
driverParam: string;
|
|
80
|
+
notNull: false;
|
|
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
|
+
startedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
91
|
+
name: "started_at";
|
|
92
|
+
tableName: "chat_generations";
|
|
93
|
+
dataType: "date";
|
|
94
|
+
columnType: "PgTimestamp";
|
|
95
|
+
data: Date;
|
|
96
|
+
driverParam: string;
|
|
97
|
+
notNull: true;
|
|
98
|
+
hasDefault: true;
|
|
99
|
+
isPrimaryKey: false;
|
|
100
|
+
isAutoincrement: false;
|
|
101
|
+
hasRuntimeDefault: false;
|
|
102
|
+
enumValues: undefined;
|
|
103
|
+
baseColumn: never;
|
|
104
|
+
identity: undefined;
|
|
105
|
+
generated: undefined;
|
|
106
|
+
}, {}, {}>;
|
|
107
|
+
completedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
108
|
+
name: "completed_at";
|
|
109
|
+
tableName: "chat_generations";
|
|
110
|
+
dataType: "date";
|
|
111
|
+
columnType: "PgTimestamp";
|
|
112
|
+
data: Date;
|
|
113
|
+
driverParam: string;
|
|
114
|
+
notNull: false;
|
|
115
|
+
hasDefault: false;
|
|
116
|
+
isPrimaryKey: false;
|
|
117
|
+
isAutoincrement: false;
|
|
118
|
+
hasRuntimeDefault: false;
|
|
119
|
+
enumValues: undefined;
|
|
120
|
+
baseColumn: never;
|
|
121
|
+
identity: undefined;
|
|
122
|
+
generated: undefined;
|
|
123
|
+
}, {}, {}>;
|
|
124
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
125
|
+
name: "created_at";
|
|
126
|
+
tableName: "chat_generations";
|
|
127
|
+
dataType: "date";
|
|
128
|
+
columnType: "PgTimestamp";
|
|
129
|
+
data: Date;
|
|
130
|
+
driverParam: string;
|
|
131
|
+
notNull: true;
|
|
132
|
+
hasDefault: true;
|
|
133
|
+
isPrimaryKey: false;
|
|
134
|
+
isAutoincrement: false;
|
|
135
|
+
hasRuntimeDefault: false;
|
|
136
|
+
enumValues: undefined;
|
|
137
|
+
baseColumn: never;
|
|
138
|
+
identity: undefined;
|
|
139
|
+
generated: undefined;
|
|
140
|
+
}, {}, {}>;
|
|
141
|
+
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
142
|
+
name: "updated_at";
|
|
143
|
+
tableName: "chat_generations";
|
|
144
|
+
dataType: "date";
|
|
145
|
+
columnType: "PgTimestamp";
|
|
146
|
+
data: Date;
|
|
147
|
+
driverParam: string;
|
|
148
|
+
notNull: true;
|
|
149
|
+
hasDefault: true;
|
|
150
|
+
isPrimaryKey: false;
|
|
151
|
+
isAutoincrement: false;
|
|
152
|
+
hasRuntimeDefault: false;
|
|
153
|
+
enumValues: undefined;
|
|
154
|
+
baseColumn: never;
|
|
155
|
+
identity: undefined;
|
|
156
|
+
generated: undefined;
|
|
157
|
+
}, {}, {}>;
|
|
158
|
+
};
|
|
159
|
+
dialect: "pg";
|
|
160
|
+
}>;
|
|
161
|
+
//# sourceMappingURL=chat_generations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat_generations.d.ts","sourceRoot":"","sources":["../../src/schema/chat_generations.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwB3B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { index, pgTable, text, timestamp, uuid } from "drizzle-orm/pg-core";
|
|
2
|
+
import { chatConversations } from "./chat_conversations.js";
|
|
3
|
+
import { organizations } from "./organizations.js";
|
|
4
|
+
export const chatGenerations = pgTable("chat_generations", {
|
|
5
|
+
id: uuid("id").primaryKey().defaultRandom(),
|
|
6
|
+
orgId: uuid("org_id").notNull().references(() => organizations.id, { onDelete: "cascade" }),
|
|
7
|
+
conversationId: uuid("conversation_id").notNull().references(() => chatConversations.id, { onDelete: "cascade" }),
|
|
8
|
+
status: text("status").notNull().default("active"),
|
|
9
|
+
terminalReason: text("terminal_reason"),
|
|
10
|
+
startedAt: timestamp("started_at", { withTimezone: true }).notNull().defaultNow(),
|
|
11
|
+
completedAt: timestamp("completed_at", { withTimezone: true }),
|
|
12
|
+
createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
13
|
+
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
|
|
14
|
+
}, (table) => ({
|
|
15
|
+
conversationStatusIdx: index("chat_generations_conversation_status_idx").on(table.conversationId, table.status),
|
|
16
|
+
orgConversationStartedIdx: index("chat_generations_org_conversation_started_idx").on(table.orgId, table.conversationId, table.startedAt),
|
|
17
|
+
}));
|
|
18
|
+
//# sourceMappingURL=chat_generations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat_generations.js","sourceRoot":"","sources":["../../src/schema/chat_generations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,MAAM,CAAC,MAAM,eAAe,GAAG,OAAO,CACpC,kBAAkB,EAClB;IACE,EAAE,EAAE,I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B;CACF,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
export declare const chatQueuedMessages: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
2
|
+
name: "chat_queued_messages";
|
|
3
|
+
schema: undefined;
|
|
4
|
+
columns: {
|
|
5
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
6
|
+
name: "id";
|
|
7
|
+
tableName: "chat_queued_messages";
|
|
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
|
+
orgId: import("drizzle-orm/pg-core").PgColumn<{
|
|
23
|
+
name: "org_id";
|
|
24
|
+
tableName: "chat_queued_messages";
|
|
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
|
+
conversationId: import("drizzle-orm/pg-core").PgColumn<{
|
|
40
|
+
name: "conversation_id";
|
|
41
|
+
tableName: "chat_queued_messages";
|
|
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
|
+
position: import("drizzle-orm/pg-core").PgColumn<{
|
|
57
|
+
name: "position";
|
|
58
|
+
tableName: "chat_queued_messages";
|
|
59
|
+
dataType: "number";
|
|
60
|
+
columnType: "PgInteger";
|
|
61
|
+
data: number;
|
|
62
|
+
driverParam: string | number;
|
|
63
|
+
notNull: true;
|
|
64
|
+
hasDefault: false;
|
|
65
|
+
isPrimaryKey: false;
|
|
66
|
+
isAutoincrement: false;
|
|
67
|
+
hasRuntimeDefault: false;
|
|
68
|
+
enumValues: undefined;
|
|
69
|
+
baseColumn: never;
|
|
70
|
+
identity: undefined;
|
|
71
|
+
generated: undefined;
|
|
72
|
+
}, {}, {}>;
|
|
73
|
+
status: import("drizzle-orm/pg-core").PgColumn<{
|
|
74
|
+
name: "status";
|
|
75
|
+
tableName: "chat_queued_messages";
|
|
76
|
+
dataType: "string";
|
|
77
|
+
columnType: "PgText";
|
|
78
|
+
data: string;
|
|
79
|
+
driverParam: string;
|
|
80
|
+
notNull: true;
|
|
81
|
+
hasDefault: true;
|
|
82
|
+
isPrimaryKey: false;
|
|
83
|
+
isAutoincrement: false;
|
|
84
|
+
hasRuntimeDefault: false;
|
|
85
|
+
enumValues: [string, ...string[]];
|
|
86
|
+
baseColumn: never;
|
|
87
|
+
identity: undefined;
|
|
88
|
+
generated: undefined;
|
|
89
|
+
}, {}, {}>;
|
|
90
|
+
version: import("drizzle-orm/pg-core").PgColumn<{
|
|
91
|
+
name: "version";
|
|
92
|
+
tableName: "chat_queued_messages";
|
|
93
|
+
dataType: "number";
|
|
94
|
+
columnType: "PgInteger";
|
|
95
|
+
data: number;
|
|
96
|
+
driverParam: string | number;
|
|
97
|
+
notNull: true;
|
|
98
|
+
hasDefault: true;
|
|
99
|
+
isPrimaryKey: false;
|
|
100
|
+
isAutoincrement: false;
|
|
101
|
+
hasRuntimeDefault: false;
|
|
102
|
+
enumValues: undefined;
|
|
103
|
+
baseColumn: never;
|
|
104
|
+
identity: undefined;
|
|
105
|
+
generated: undefined;
|
|
106
|
+
}, {}, {}>;
|
|
107
|
+
clientMutationId: import("drizzle-orm/pg-core").PgColumn<{
|
|
108
|
+
name: "client_mutation_id";
|
|
109
|
+
tableName: "chat_queued_messages";
|
|
110
|
+
dataType: "string";
|
|
111
|
+
columnType: "PgText";
|
|
112
|
+
data: string;
|
|
113
|
+
driverParam: string;
|
|
114
|
+
notNull: true;
|
|
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
|
+
payload: import("drizzle-orm/pg-core").PgColumn<{
|
|
125
|
+
name: "payload";
|
|
126
|
+
tableName: "chat_queued_messages";
|
|
127
|
+
dataType: "json";
|
|
128
|
+
columnType: "PgJsonb";
|
|
129
|
+
data: Record<string, unknown>;
|
|
130
|
+
driverParam: unknown;
|
|
131
|
+
notNull: true;
|
|
132
|
+
hasDefault: false;
|
|
133
|
+
isPrimaryKey: false;
|
|
134
|
+
isAutoincrement: false;
|
|
135
|
+
hasRuntimeDefault: false;
|
|
136
|
+
enumValues: undefined;
|
|
137
|
+
baseColumn: never;
|
|
138
|
+
identity: undefined;
|
|
139
|
+
generated: undefined;
|
|
140
|
+
}, {}, {
|
|
141
|
+
$type: Record<string, unknown>;
|
|
142
|
+
}>;
|
|
143
|
+
expectedGenerationId: import("drizzle-orm/pg-core").PgColumn<{
|
|
144
|
+
name: "expected_generation_id";
|
|
145
|
+
tableName: "chat_queued_messages";
|
|
146
|
+
dataType: "string";
|
|
147
|
+
columnType: "PgUUID";
|
|
148
|
+
data: string;
|
|
149
|
+
driverParam: string;
|
|
150
|
+
notNull: false;
|
|
151
|
+
hasDefault: false;
|
|
152
|
+
isPrimaryKey: false;
|
|
153
|
+
isAutoincrement: false;
|
|
154
|
+
hasRuntimeDefault: false;
|
|
155
|
+
enumValues: undefined;
|
|
156
|
+
baseColumn: never;
|
|
157
|
+
identity: undefined;
|
|
158
|
+
generated: undefined;
|
|
159
|
+
}, {}, {}>;
|
|
160
|
+
activeGenerationId: import("drizzle-orm/pg-core").PgColumn<{
|
|
161
|
+
name: "active_generation_id";
|
|
162
|
+
tableName: "chat_queued_messages";
|
|
163
|
+
dataType: "string";
|
|
164
|
+
columnType: "PgUUID";
|
|
165
|
+
data: string;
|
|
166
|
+
driverParam: string;
|
|
167
|
+
notNull: false;
|
|
168
|
+
hasDefault: false;
|
|
169
|
+
isPrimaryKey: false;
|
|
170
|
+
isAutoincrement: false;
|
|
171
|
+
hasRuntimeDefault: false;
|
|
172
|
+
enumValues: undefined;
|
|
173
|
+
baseColumn: never;
|
|
174
|
+
identity: undefined;
|
|
175
|
+
generated: undefined;
|
|
176
|
+
}, {}, {}>;
|
|
177
|
+
deliveryAttempts: import("drizzle-orm/pg-core").PgColumn<{
|
|
178
|
+
name: "delivery_attempts";
|
|
179
|
+
tableName: "chat_queued_messages";
|
|
180
|
+
dataType: "number";
|
|
181
|
+
columnType: "PgInteger";
|
|
182
|
+
data: number;
|
|
183
|
+
driverParam: string | number;
|
|
184
|
+
notNull: true;
|
|
185
|
+
hasDefault: true;
|
|
186
|
+
isPrimaryKey: false;
|
|
187
|
+
isAutoincrement: false;
|
|
188
|
+
hasRuntimeDefault: false;
|
|
189
|
+
enumValues: undefined;
|
|
190
|
+
baseColumn: never;
|
|
191
|
+
identity: undefined;
|
|
192
|
+
generated: undefined;
|
|
193
|
+
}, {}, {}>;
|
|
194
|
+
lastAttemptAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
195
|
+
name: "last_attempt_at";
|
|
196
|
+
tableName: "chat_queued_messages";
|
|
197
|
+
dataType: "date";
|
|
198
|
+
columnType: "PgTimestamp";
|
|
199
|
+
data: Date;
|
|
200
|
+
driverParam: string;
|
|
201
|
+
notNull: false;
|
|
202
|
+
hasDefault: false;
|
|
203
|
+
isPrimaryKey: false;
|
|
204
|
+
isAutoincrement: false;
|
|
205
|
+
hasRuntimeDefault: false;
|
|
206
|
+
enumValues: undefined;
|
|
207
|
+
baseColumn: never;
|
|
208
|
+
identity: undefined;
|
|
209
|
+
generated: undefined;
|
|
210
|
+
}, {}, {}>;
|
|
211
|
+
lastDeliveryReason: import("drizzle-orm/pg-core").PgColumn<{
|
|
212
|
+
name: "last_delivery_reason";
|
|
213
|
+
tableName: "chat_queued_messages";
|
|
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
|
+
sourceMessageId: import("drizzle-orm/pg-core").PgColumn<{
|
|
229
|
+
name: "source_message_id";
|
|
230
|
+
tableName: "chat_queued_messages";
|
|
231
|
+
dataType: "string";
|
|
232
|
+
columnType: "PgUUID";
|
|
233
|
+
data: string;
|
|
234
|
+
driverParam: string;
|
|
235
|
+
notNull: false;
|
|
236
|
+
hasDefault: false;
|
|
237
|
+
isPrimaryKey: false;
|
|
238
|
+
isAutoincrement: false;
|
|
239
|
+
hasRuntimeDefault: false;
|
|
240
|
+
enumValues: undefined;
|
|
241
|
+
baseColumn: never;
|
|
242
|
+
identity: undefined;
|
|
243
|
+
generated: undefined;
|
|
244
|
+
}, {}, {}>;
|
|
245
|
+
deliveredMessageId: import("drizzle-orm/pg-core").PgColumn<{
|
|
246
|
+
name: "delivered_message_id";
|
|
247
|
+
tableName: "chat_queued_messages";
|
|
248
|
+
dataType: "string";
|
|
249
|
+
columnType: "PgUUID";
|
|
250
|
+
data: string;
|
|
251
|
+
driverParam: string;
|
|
252
|
+
notNull: false;
|
|
253
|
+
hasDefault: false;
|
|
254
|
+
isPrimaryKey: false;
|
|
255
|
+
isAutoincrement: false;
|
|
256
|
+
hasRuntimeDefault: false;
|
|
257
|
+
enumValues: undefined;
|
|
258
|
+
baseColumn: never;
|
|
259
|
+
identity: undefined;
|
|
260
|
+
generated: undefined;
|
|
261
|
+
}, {}, {}>;
|
|
262
|
+
cancelledAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
263
|
+
name: "cancelled_at";
|
|
264
|
+
tableName: "chat_queued_messages";
|
|
265
|
+
dataType: "date";
|
|
266
|
+
columnType: "PgTimestamp";
|
|
267
|
+
data: Date;
|
|
268
|
+
driverParam: string;
|
|
269
|
+
notNull: false;
|
|
270
|
+
hasDefault: false;
|
|
271
|
+
isPrimaryKey: false;
|
|
272
|
+
isAutoincrement: false;
|
|
273
|
+
hasRuntimeDefault: false;
|
|
274
|
+
enumValues: undefined;
|
|
275
|
+
baseColumn: never;
|
|
276
|
+
identity: undefined;
|
|
277
|
+
generated: undefined;
|
|
278
|
+
}, {}, {}>;
|
|
279
|
+
steeredAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
280
|
+
name: "steered_at";
|
|
281
|
+
tableName: "chat_queued_messages";
|
|
282
|
+
dataType: "date";
|
|
283
|
+
columnType: "PgTimestamp";
|
|
284
|
+
data: Date;
|
|
285
|
+
driverParam: string;
|
|
286
|
+
notNull: false;
|
|
287
|
+
hasDefault: false;
|
|
288
|
+
isPrimaryKey: false;
|
|
289
|
+
isAutoincrement: false;
|
|
290
|
+
hasRuntimeDefault: false;
|
|
291
|
+
enumValues: undefined;
|
|
292
|
+
baseColumn: never;
|
|
293
|
+
identity: undefined;
|
|
294
|
+
generated: undefined;
|
|
295
|
+
}, {}, {}>;
|
|
296
|
+
dequeuedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
297
|
+
name: "dequeued_at";
|
|
298
|
+
tableName: "chat_queued_messages";
|
|
299
|
+
dataType: "date";
|
|
300
|
+
columnType: "PgTimestamp";
|
|
301
|
+
data: Date;
|
|
302
|
+
driverParam: string;
|
|
303
|
+
notNull: false;
|
|
304
|
+
hasDefault: false;
|
|
305
|
+
isPrimaryKey: false;
|
|
306
|
+
isAutoincrement: false;
|
|
307
|
+
hasRuntimeDefault: false;
|
|
308
|
+
enumValues: undefined;
|
|
309
|
+
baseColumn: never;
|
|
310
|
+
identity: undefined;
|
|
311
|
+
generated: undefined;
|
|
312
|
+
}, {}, {}>;
|
|
313
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
314
|
+
name: "created_at";
|
|
315
|
+
tableName: "chat_queued_messages";
|
|
316
|
+
dataType: "date";
|
|
317
|
+
columnType: "PgTimestamp";
|
|
318
|
+
data: Date;
|
|
319
|
+
driverParam: string;
|
|
320
|
+
notNull: true;
|
|
321
|
+
hasDefault: true;
|
|
322
|
+
isPrimaryKey: false;
|
|
323
|
+
isAutoincrement: false;
|
|
324
|
+
hasRuntimeDefault: false;
|
|
325
|
+
enumValues: undefined;
|
|
326
|
+
baseColumn: never;
|
|
327
|
+
identity: undefined;
|
|
328
|
+
generated: undefined;
|
|
329
|
+
}, {}, {}>;
|
|
330
|
+
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
331
|
+
name: "updated_at";
|
|
332
|
+
tableName: "chat_queued_messages";
|
|
333
|
+
dataType: "date";
|
|
334
|
+
columnType: "PgTimestamp";
|
|
335
|
+
data: Date;
|
|
336
|
+
driverParam: string;
|
|
337
|
+
notNull: true;
|
|
338
|
+
hasDefault: true;
|
|
339
|
+
isPrimaryKey: false;
|
|
340
|
+
isAutoincrement: false;
|
|
341
|
+
hasRuntimeDefault: false;
|
|
342
|
+
enumValues: undefined;
|
|
343
|
+
baseColumn: never;
|
|
344
|
+
identity: undefined;
|
|
345
|
+
generated: undefined;
|
|
346
|
+
}, {}, {}>;
|
|
347
|
+
};
|
|
348
|
+
dialect: "pg";
|
|
349
|
+
}>;
|
|
350
|
+
//# sourceMappingURL=chat_queued_messages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chat_queued_messages.d.ts","sourceRoot":"","sources":["../../src/schema/chat_queued_messages.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2C9B,CAAC"}
|