@vite-hub/comments 0.4.1 → 0.5.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.
- package/README.md +23 -7
- package/dist/anchor.d.ts +3 -5
- package/dist/anchor.js +1 -2
- package/dist/{client-diagnostics-Bubm7Shd.js → client-diagnostics-CvfTW5d4.js} +1 -2
- package/dist/{client-files-CJZl5Kc4.js → client-files-lC6X7XyS.js} +1 -2
- package/dist/client.d.ts +430 -24
- package/dist/client.js +413 -20
- package/dist/{console-h4KlhIik.d.ts → console-CK2F53QP.d.ts} +2 -4
- package/dist/{context-BqIsmYP1.js → context-DbkBjITZ.js} +1 -2
- package/dist/database/postgres.d.ts +1 -3
- package/dist/database/postgres.js +1 -2
- package/dist/{migrate-Bpw3xL5e.js → database-BkPoOdZr.js} +116 -59
- package/dist/database-CPua6Q6_.d.ts +573 -0
- package/dist/{database-CA1aHKN7.d.ts → database-DUs3c2al.d.ts} +625 -73
- package/dist/database.d.ts +4 -5
- package/dist/database.js +1 -2
- package/dist/{define-CX_Yr_hz.js → define-9uMM3Ewc.js} +2 -3
- package/dist/{define-CHTWfHPo.d.ts → define-B1jLSPe9.d.ts} +8 -6
- package/dist/{errors-4gelGVmK.js → errors-C0VwRHiy.js} +25 -2
- package/dist/{errors-BHsVXlpd.js → errors-DFNiJg67.js} +26 -3
- package/dist/{fold-name-B7Zb3-MF.js → fold-name-g-xg0mQk.js} +1 -2
- package/dist/hosted/hosted-comments/client-B3dlmmQd.js +4 -0
- package/dist/{overlay/dist-BoHMOFax.js → hosted/hosted-comments/dist-DyVmH21U.js} +1 -1
- package/dist/hosted/hosted-comments/frame.js +1 -0
- package/dist/hosted/hosted-comments/overlay-4-mWX4Uz.js +170 -0
- package/dist/hosted/hosted-comments/protocol-BHvtQKte.js +1 -0
- package/dist/hosted/hosted-comments/rest-transport-D-9_pNqZ.js +1 -0
- package/dist/hosted/hosted-comments/tools-CdwnUCOr.js +126 -0
- package/dist/hosted/hosted-comments.js +9 -0
- package/dist/{identity-CBOzgxSf.js → identity-CT7-UGmS.js} +1 -2
- package/dist/{index-iPGlSAgj.d.ts → index-BEnHTj2Z.d.ts} +109 -15
- package/dist/index.d.ts +6 -7
- package/dist/index.js +23 -10
- package/dist/{install-96NXWnrw.d.ts → install-B-FQpi47.d.ts} +24 -7
- package/dist/{install-jRKmuLHK.js → install-BUXxryut.js} +950 -55
- package/dist/{installed-g6nDr5ac.js → installed-C9SkldMi.js} +8 -8
- package/dist/{invariant-D8_xBqmZ.js → invariant-CmdvZ3vp.js} +1 -2
- package/dist/{migrate-B0k_0swk.d.ts → migrate-XjFeQppf.d.ts} +2 -2
- package/dist/{object-Da1zyPCR.js → object-CAK6UYR5.js} +1 -2
- package/dist/{operations-7ycAhDCw.d.ts → operations-8hqTi0DH.d.ts} +8 -4
- package/dist/{operations-9tskoLsk.js → operations-CKC_lMG_.js} +309 -229
- package/dist/{operations-D93EV10O.d.ts → operations-Cic9A9e_.d.ts} +9 -7
- package/dist/operations.d.ts +2 -2
- package/dist/operations.js +2 -2
- package/dist/overlay/{client-lZesR40x.js → client-CerbVjTz.js} +3 -3
- package/dist/overlay/dist-DyVmH21U.js +14 -0
- package/dist/overlay/overlay.js +36 -40
- package/dist/page/loader.js +45 -52
- package/dist/page-DE71P_gQ.d.ts +11 -0
- package/dist/{page-tools-shared-NHUjKI8E.js → page-tools-shared-fvmJQCrP.js} +8 -5
- package/dist/{page-DRz_sDY4.js → page-xzgZ6DGm.js} +2 -3
- package/dist/{path--zk6PEMz.js → path-8yqMd8zR.js} +0 -1
- package/dist/{plugin-BNFd1zGz.js → plugin-B2hETRii.js} +16 -13
- package/dist/realtime.d.ts +3 -5
- package/dist/realtime.js +4 -5
- package/dist/{reply-id-P_bSuEng.js → reply-id-Cm9FGOBs.js} +1 -2
- package/dist/request-log-DllKQXj7.js +104 -0
- package/dist/request-origin-YPzfE2eh.js +48 -0
- package/dist/{rpc-BQqYx8kb.js → rpc-BKY7XRlR.js} +5 -7
- package/dist/{rpc-BZ1QNkCC.d.ts → rpc-D-eqtyfh.d.ts} +1 -3
- package/dist/rpc.d.ts +1 -1
- package/dist/rpc.js +1 -2
- package/dist/runtime/auth.d.ts +3 -5
- package/dist/runtime/auth.js +2 -3
- package/dist/runtime/console.d.ts +2 -4
- package/dist/runtime/console.js +4 -5
- package/dist/runtime/index.d.ts +12 -27
- package/dist/runtime/index.js +160 -31
- package/dist/{server-CqyzrqTI.js → server-BGbD7H5s.js} +2 -3
- package/dist/server.d.ts +6 -7
- package/dist/server.js +6 -6
- package/dist/service-CPiWPoiY.d.ts +69 -0
- package/dist/{service-C8ZgFWvy.js → service-DDD4Ubxd.js} +44 -18
- package/dist/{session-ByjMyTak.js → session-BGN6Vlm6.js} +31 -37
- package/dist/{session-CKfW6DGE.d.ts → session-CTh9nisq.d.ts} +3 -5
- package/dist/{service-wC9kx9EX.d.ts → store-DvNTDNgn.d.ts} +3 -73
- package/dist/{table-names-DfiKUlOV.js → table-names-BIHjuEFK.js} +4 -3
- package/dist/testing.d.ts +2 -4
- package/dist/testing.js +4 -5
- package/dist/{tokens-DSbwkVSy.js → tokens-Bx4lZ0yt.js} +3 -6
- package/dist/{types-C7LzhgRb.d.ts → types-BX3vH18p.d.ts} +1 -3
- package/dist/{types-C1qzObs2.d.ts → types-l6GOb_yc.d.ts} +79 -6
- package/dist/vite.d.ts +22 -21
- package/dist/vite.js +161 -104
- package/package.json +19 -19
- package/dist/errors-BEChnUo7.d.ts +0 -197
- package/dist/page-CWwnmF3K.d.ts +0 -22
|
@@ -1,15 +1,568 @@
|
|
|
1
|
-
|
|
1
|
+
import { AnySQLiteColumn } from "drizzle-orm/sqlite-core";
|
|
2
|
+
/** Options of `commentsSqliteTables()`. */
|
|
3
|
+
interface CommentsSqliteTablesOptions {
|
|
4
|
+
/** The start of each table and index name, such as `vitehub_comment`. */
|
|
5
|
+
prefix: string;
|
|
6
|
+
/**
|
|
7
|
+
* The column that `scope` of threads and counters references, such as the id of a project. Deleting that row
|
|
8
|
+
* deletes its threads and counters. Without it, `scope` is free text.
|
|
9
|
+
*/
|
|
10
|
+
scope?: () => AnySQLiteColumn;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* The thread, message, and counter tables of Comments under other names, for an app that keeps more than one set
|
|
14
|
+
* in one Database. Pass them to `installComments({ tables, tenant })`. Messages have no foreign key to their thread,
|
|
15
|
+
* because a thread is stored after its first message: delete the messages of a deleted thread with a trigger.
|
|
16
|
+
*/
|
|
17
|
+
declare function commentsSqliteTables(options: CommentsSqliteTablesOptions): {
|
|
18
|
+
commentThreads: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
19
|
+
name: `${string}_threads`;
|
|
20
|
+
schema: undefined;
|
|
21
|
+
columns: {
|
|
22
|
+
id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
23
|
+
name: string;
|
|
24
|
+
tableName: `${string}_threads`;
|
|
25
|
+
dataType: "string";
|
|
26
|
+
data: string;
|
|
27
|
+
driverParam: string;
|
|
28
|
+
notNull: true;
|
|
29
|
+
hasDefault: false;
|
|
30
|
+
isPrimaryKey: true;
|
|
31
|
+
isAutoincrement: false;
|
|
32
|
+
hasRuntimeDefault: false;
|
|
33
|
+
enumValues: [string, ...string[]];
|
|
34
|
+
baseColumn: never;
|
|
35
|
+
identity: undefined;
|
|
36
|
+
generated: undefined;
|
|
37
|
+
}, {}>;
|
|
38
|
+
scope: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
39
|
+
name: string;
|
|
40
|
+
tableName: `${string}_threads`;
|
|
41
|
+
dataType: "string";
|
|
42
|
+
data: string;
|
|
43
|
+
driverParam: string;
|
|
44
|
+
notNull: true;
|
|
45
|
+
hasDefault: false;
|
|
46
|
+
isPrimaryKey: false;
|
|
47
|
+
isAutoincrement: false;
|
|
48
|
+
hasRuntimeDefault: false;
|
|
49
|
+
enumValues: [string, ...string[]];
|
|
50
|
+
baseColumn: never;
|
|
51
|
+
identity: undefined;
|
|
52
|
+
generated: undefined;
|
|
53
|
+
}, {}>;
|
|
54
|
+
n: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
55
|
+
name: string;
|
|
56
|
+
tableName: `${string}_threads`;
|
|
57
|
+
dataType: "number int53";
|
|
58
|
+
data: number;
|
|
59
|
+
driverParam: number;
|
|
60
|
+
notNull: true;
|
|
61
|
+
hasDefault: false;
|
|
62
|
+
isPrimaryKey: false;
|
|
63
|
+
isAutoincrement: false;
|
|
64
|
+
hasRuntimeDefault: false;
|
|
65
|
+
enumValues: undefined;
|
|
66
|
+
baseColumn: never;
|
|
67
|
+
identity: undefined;
|
|
68
|
+
generated: undefined;
|
|
69
|
+
}, {}>;
|
|
70
|
+
subjectKind: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
71
|
+
name: string;
|
|
72
|
+
tableName: `${string}_threads`;
|
|
73
|
+
dataType: "string";
|
|
74
|
+
data: string;
|
|
75
|
+
driverParam: string;
|
|
76
|
+
notNull: true;
|
|
77
|
+
hasDefault: false;
|
|
78
|
+
isPrimaryKey: false;
|
|
79
|
+
isAutoincrement: false;
|
|
80
|
+
hasRuntimeDefault: false;
|
|
81
|
+
enumValues: [string, ...string[]];
|
|
82
|
+
baseColumn: never;
|
|
83
|
+
identity: undefined;
|
|
84
|
+
generated: undefined;
|
|
85
|
+
}, {}>;
|
|
86
|
+
subjectId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
87
|
+
name: string;
|
|
88
|
+
tableName: `${string}_threads`;
|
|
89
|
+
dataType: "string";
|
|
90
|
+
data: string;
|
|
91
|
+
driverParam: string;
|
|
92
|
+
notNull: true;
|
|
93
|
+
hasDefault: false;
|
|
94
|
+
isPrimaryKey: false;
|
|
95
|
+
isAutoincrement: false;
|
|
96
|
+
hasRuntimeDefault: false;
|
|
97
|
+
enumValues: [string, ...string[]];
|
|
98
|
+
baseColumn: never;
|
|
99
|
+
identity: undefined;
|
|
100
|
+
generated: undefined;
|
|
101
|
+
}, {}>;
|
|
102
|
+
anchor: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
103
|
+
name: string;
|
|
104
|
+
tableName: `${string}_threads`;
|
|
105
|
+
dataType: "string";
|
|
106
|
+
data: string;
|
|
107
|
+
driverParam: string;
|
|
108
|
+
notNull: true;
|
|
109
|
+
hasDefault: false;
|
|
110
|
+
isPrimaryKey: false;
|
|
111
|
+
isAutoincrement: false;
|
|
112
|
+
hasRuntimeDefault: false;
|
|
113
|
+
enumValues: [string, ...string[]];
|
|
114
|
+
baseColumn: never;
|
|
115
|
+
identity: undefined;
|
|
116
|
+
generated: undefined;
|
|
117
|
+
}, {}>;
|
|
118
|
+
status: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
119
|
+
name: string;
|
|
120
|
+
tableName: `${string}_threads`;
|
|
121
|
+
dataType: "string enum";
|
|
122
|
+
data: "open" | "resolved";
|
|
123
|
+
driverParam: string;
|
|
124
|
+
notNull: true;
|
|
125
|
+
hasDefault: false;
|
|
126
|
+
isPrimaryKey: false;
|
|
127
|
+
isAutoincrement: false;
|
|
128
|
+
hasRuntimeDefault: false;
|
|
129
|
+
enumValues: ["open", "resolved"];
|
|
130
|
+
baseColumn: never;
|
|
131
|
+
identity: undefined;
|
|
132
|
+
generated: undefined;
|
|
133
|
+
}, {}>;
|
|
134
|
+
resolvedBy: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
135
|
+
name: string;
|
|
136
|
+
tableName: `${string}_threads`;
|
|
137
|
+
dataType: "string";
|
|
138
|
+
data: string;
|
|
139
|
+
driverParam: string;
|
|
140
|
+
notNull: false;
|
|
141
|
+
hasDefault: false;
|
|
142
|
+
isPrimaryKey: false;
|
|
143
|
+
isAutoincrement: false;
|
|
144
|
+
hasRuntimeDefault: false;
|
|
145
|
+
enumValues: [string, ...string[]];
|
|
146
|
+
baseColumn: never;
|
|
147
|
+
identity: undefined;
|
|
148
|
+
generated: undefined;
|
|
149
|
+
}, {}>;
|
|
150
|
+
resolvedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
151
|
+
name: string;
|
|
152
|
+
tableName: `${string}_threads`;
|
|
153
|
+
dataType: "number int53";
|
|
154
|
+
data: number;
|
|
155
|
+
driverParam: number;
|
|
156
|
+
notNull: false;
|
|
157
|
+
hasDefault: false;
|
|
158
|
+
isPrimaryKey: false;
|
|
159
|
+
isAutoincrement: false;
|
|
160
|
+
hasRuntimeDefault: false;
|
|
161
|
+
enumValues: undefined;
|
|
162
|
+
baseColumn: never;
|
|
163
|
+
identity: undefined;
|
|
164
|
+
generated: undefined;
|
|
165
|
+
}, {}>;
|
|
166
|
+
authorId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
167
|
+
name: string;
|
|
168
|
+
tableName: `${string}_threads`;
|
|
169
|
+
dataType: "string";
|
|
170
|
+
data: string;
|
|
171
|
+
driverParam: string;
|
|
172
|
+
notNull: true;
|
|
173
|
+
hasDefault: false;
|
|
174
|
+
isPrimaryKey: false;
|
|
175
|
+
isAutoincrement: false;
|
|
176
|
+
hasRuntimeDefault: false;
|
|
177
|
+
enumValues: [string, ...string[]];
|
|
178
|
+
baseColumn: never;
|
|
179
|
+
identity: undefined;
|
|
180
|
+
generated: undefined;
|
|
181
|
+
}, {}>;
|
|
182
|
+
authorName: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
183
|
+
name: string;
|
|
184
|
+
tableName: `${string}_threads`;
|
|
185
|
+
dataType: "string";
|
|
186
|
+
data: string;
|
|
187
|
+
driverParam: string;
|
|
188
|
+
notNull: false;
|
|
189
|
+
hasDefault: false;
|
|
190
|
+
isPrimaryKey: false;
|
|
191
|
+
isAutoincrement: false;
|
|
192
|
+
hasRuntimeDefault: false;
|
|
193
|
+
enumValues: [string, ...string[]];
|
|
194
|
+
baseColumn: never;
|
|
195
|
+
identity: undefined;
|
|
196
|
+
generated: undefined;
|
|
197
|
+
}, {}>;
|
|
198
|
+
authorImage: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
199
|
+
name: string;
|
|
200
|
+
tableName: `${string}_threads`;
|
|
201
|
+
dataType: "string";
|
|
202
|
+
data: string;
|
|
203
|
+
driverParam: string;
|
|
204
|
+
notNull: false;
|
|
205
|
+
hasDefault: false;
|
|
206
|
+
isPrimaryKey: false;
|
|
207
|
+
isAutoincrement: false;
|
|
208
|
+
hasRuntimeDefault: false;
|
|
209
|
+
enumValues: [string, ...string[]];
|
|
210
|
+
baseColumn: never;
|
|
211
|
+
identity: undefined;
|
|
212
|
+
generated: undefined;
|
|
213
|
+
}, {}>;
|
|
214
|
+
actor: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
215
|
+
name: string;
|
|
216
|
+
tableName: `${string}_threads`;
|
|
217
|
+
dataType: "string";
|
|
218
|
+
data: string;
|
|
219
|
+
driverParam: string;
|
|
220
|
+
notNull: false;
|
|
221
|
+
hasDefault: false;
|
|
222
|
+
isPrimaryKey: false;
|
|
223
|
+
isAutoincrement: false;
|
|
224
|
+
hasRuntimeDefault: false;
|
|
225
|
+
enumValues: [string, ...string[]];
|
|
226
|
+
baseColumn: never;
|
|
227
|
+
identity: undefined;
|
|
228
|
+
generated: undefined;
|
|
229
|
+
}, {}>;
|
|
230
|
+
metadata: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
231
|
+
name: string;
|
|
232
|
+
tableName: `${string}_threads`;
|
|
233
|
+
dataType: "string";
|
|
234
|
+
data: string;
|
|
235
|
+
driverParam: string;
|
|
236
|
+
notNull: false;
|
|
237
|
+
hasDefault: false;
|
|
238
|
+
isPrimaryKey: false;
|
|
239
|
+
isAutoincrement: false;
|
|
240
|
+
hasRuntimeDefault: false;
|
|
241
|
+
enumValues: [string, ...string[]];
|
|
242
|
+
baseColumn: never;
|
|
243
|
+
identity: undefined;
|
|
244
|
+
generated: undefined;
|
|
245
|
+
}, {}>;
|
|
246
|
+
context: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
247
|
+
name: string;
|
|
248
|
+
tableName: `${string}_threads`;
|
|
249
|
+
dataType: "string";
|
|
250
|
+
data: string;
|
|
251
|
+
driverParam: string;
|
|
252
|
+
notNull: false;
|
|
253
|
+
hasDefault: false;
|
|
254
|
+
isPrimaryKey: false;
|
|
255
|
+
isAutoincrement: false;
|
|
256
|
+
hasRuntimeDefault: false;
|
|
257
|
+
enumValues: [string, ...string[]];
|
|
258
|
+
baseColumn: never;
|
|
259
|
+
identity: undefined;
|
|
260
|
+
generated: undefined;
|
|
261
|
+
}, {}>;
|
|
262
|
+
revision: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
263
|
+
name: string;
|
|
264
|
+
tableName: `${string}_threads`;
|
|
265
|
+
dataType: "number int53";
|
|
266
|
+
data: number;
|
|
267
|
+
driverParam: number;
|
|
268
|
+
notNull: false;
|
|
269
|
+
hasDefault: false;
|
|
270
|
+
isPrimaryKey: false;
|
|
271
|
+
isAutoincrement: false;
|
|
272
|
+
hasRuntimeDefault: false;
|
|
273
|
+
enumValues: undefined;
|
|
274
|
+
baseColumn: never;
|
|
275
|
+
identity: undefined;
|
|
276
|
+
generated: undefined;
|
|
277
|
+
}, {}>;
|
|
278
|
+
requestId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
279
|
+
name: string;
|
|
280
|
+
tableName: `${string}_threads`;
|
|
281
|
+
dataType: "string";
|
|
282
|
+
data: string;
|
|
283
|
+
driverParam: string;
|
|
284
|
+
notNull: false;
|
|
285
|
+
hasDefault: false;
|
|
286
|
+
isPrimaryKey: false;
|
|
287
|
+
isAutoincrement: false;
|
|
288
|
+
hasRuntimeDefault: false;
|
|
289
|
+
enumValues: [string, ...string[]];
|
|
290
|
+
baseColumn: never;
|
|
291
|
+
identity: undefined;
|
|
292
|
+
generated: undefined;
|
|
293
|
+
}, {}>;
|
|
294
|
+
createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
295
|
+
name: string;
|
|
296
|
+
tableName: `${string}_threads`;
|
|
297
|
+
dataType: "number int53";
|
|
298
|
+
data: number;
|
|
299
|
+
driverParam: number;
|
|
300
|
+
notNull: true;
|
|
301
|
+
hasDefault: false;
|
|
302
|
+
isPrimaryKey: false;
|
|
303
|
+
isAutoincrement: false;
|
|
304
|
+
hasRuntimeDefault: false;
|
|
305
|
+
enumValues: undefined;
|
|
306
|
+
baseColumn: never;
|
|
307
|
+
identity: undefined;
|
|
308
|
+
generated: undefined;
|
|
309
|
+
}, {}>;
|
|
310
|
+
updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
311
|
+
name: string;
|
|
312
|
+
tableName: `${string}_threads`;
|
|
313
|
+
dataType: "number int53";
|
|
314
|
+
data: number;
|
|
315
|
+
driverParam: number;
|
|
316
|
+
notNull: true;
|
|
317
|
+
hasDefault: false;
|
|
318
|
+
isPrimaryKey: false;
|
|
319
|
+
isAutoincrement: false;
|
|
320
|
+
hasRuntimeDefault: false;
|
|
321
|
+
enumValues: undefined;
|
|
322
|
+
baseColumn: never;
|
|
323
|
+
identity: undefined;
|
|
324
|
+
generated: undefined;
|
|
325
|
+
}, {}>;
|
|
326
|
+
};
|
|
327
|
+
dialect: "sqlite";
|
|
328
|
+
isAlias: false;
|
|
329
|
+
}>;
|
|
330
|
+
commentMessages: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
331
|
+
name: `${string}_messages`;
|
|
332
|
+
schema: undefined;
|
|
333
|
+
columns: {
|
|
334
|
+
id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
335
|
+
name: string;
|
|
336
|
+
tableName: `${string}_messages`;
|
|
337
|
+
dataType: "string";
|
|
338
|
+
data: string;
|
|
339
|
+
driverParam: string;
|
|
340
|
+
notNull: true;
|
|
341
|
+
hasDefault: false;
|
|
342
|
+
isPrimaryKey: true;
|
|
343
|
+
isAutoincrement: false;
|
|
344
|
+
hasRuntimeDefault: false;
|
|
345
|
+
enumValues: [string, ...string[]];
|
|
346
|
+
baseColumn: never;
|
|
347
|
+
identity: undefined;
|
|
348
|
+
generated: undefined;
|
|
349
|
+
}, {}>;
|
|
350
|
+
threadId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
351
|
+
name: string;
|
|
352
|
+
tableName: `${string}_messages`;
|
|
353
|
+
dataType: "string";
|
|
354
|
+
data: string;
|
|
355
|
+
driverParam: string;
|
|
356
|
+
notNull: true;
|
|
357
|
+
hasDefault: false;
|
|
358
|
+
isPrimaryKey: false;
|
|
359
|
+
isAutoincrement: false;
|
|
360
|
+
hasRuntimeDefault: false;
|
|
361
|
+
enumValues: [string, ...string[]];
|
|
362
|
+
baseColumn: never;
|
|
363
|
+
identity: undefined;
|
|
364
|
+
generated: undefined;
|
|
365
|
+
}, {}>;
|
|
366
|
+
body: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
367
|
+
name: string;
|
|
368
|
+
tableName: `${string}_messages`;
|
|
369
|
+
dataType: "string";
|
|
370
|
+
data: string;
|
|
371
|
+
driverParam: string;
|
|
372
|
+
notNull: true;
|
|
373
|
+
hasDefault: false;
|
|
374
|
+
isPrimaryKey: false;
|
|
375
|
+
isAutoincrement: false;
|
|
376
|
+
hasRuntimeDefault: false;
|
|
377
|
+
enumValues: [string, ...string[]];
|
|
378
|
+
baseColumn: never;
|
|
379
|
+
identity: undefined;
|
|
380
|
+
generated: undefined;
|
|
381
|
+
}, {}>;
|
|
382
|
+
authorId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
383
|
+
name: string;
|
|
384
|
+
tableName: `${string}_messages`;
|
|
385
|
+
dataType: "string";
|
|
386
|
+
data: string;
|
|
387
|
+
driverParam: string;
|
|
388
|
+
notNull: true;
|
|
389
|
+
hasDefault: false;
|
|
390
|
+
isPrimaryKey: false;
|
|
391
|
+
isAutoincrement: false;
|
|
392
|
+
hasRuntimeDefault: false;
|
|
393
|
+
enumValues: [string, ...string[]];
|
|
394
|
+
baseColumn: never;
|
|
395
|
+
identity: undefined;
|
|
396
|
+
generated: undefined;
|
|
397
|
+
}, {}>;
|
|
398
|
+
authorName: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
399
|
+
name: string;
|
|
400
|
+
tableName: `${string}_messages`;
|
|
401
|
+
dataType: "string";
|
|
402
|
+
data: string;
|
|
403
|
+
driverParam: string;
|
|
404
|
+
notNull: false;
|
|
405
|
+
hasDefault: false;
|
|
406
|
+
isPrimaryKey: false;
|
|
407
|
+
isAutoincrement: false;
|
|
408
|
+
hasRuntimeDefault: false;
|
|
409
|
+
enumValues: [string, ...string[]];
|
|
410
|
+
baseColumn: never;
|
|
411
|
+
identity: undefined;
|
|
412
|
+
generated: undefined;
|
|
413
|
+
}, {}>;
|
|
414
|
+
authorImage: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
415
|
+
name: string;
|
|
416
|
+
tableName: `${string}_messages`;
|
|
417
|
+
dataType: "string";
|
|
418
|
+
data: string;
|
|
419
|
+
driverParam: string;
|
|
420
|
+
notNull: false;
|
|
421
|
+
hasDefault: false;
|
|
422
|
+
isPrimaryKey: false;
|
|
423
|
+
isAutoincrement: false;
|
|
424
|
+
hasRuntimeDefault: false;
|
|
425
|
+
enumValues: [string, ...string[]];
|
|
426
|
+
baseColumn: never;
|
|
427
|
+
identity: undefined;
|
|
428
|
+
generated: undefined;
|
|
429
|
+
}, {}>;
|
|
430
|
+
actor: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
431
|
+
name: string;
|
|
432
|
+
tableName: `${string}_messages`;
|
|
433
|
+
dataType: "string";
|
|
434
|
+
data: string;
|
|
435
|
+
driverParam: string;
|
|
436
|
+
notNull: false;
|
|
437
|
+
hasDefault: false;
|
|
438
|
+
isPrimaryKey: false;
|
|
439
|
+
isAutoincrement: false;
|
|
440
|
+
hasRuntimeDefault: false;
|
|
441
|
+
enumValues: [string, ...string[]];
|
|
442
|
+
baseColumn: never;
|
|
443
|
+
identity: undefined;
|
|
444
|
+
generated: undefined;
|
|
445
|
+
}, {}>;
|
|
446
|
+
mentions: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
447
|
+
name: string;
|
|
448
|
+
tableName: `${string}_messages`;
|
|
449
|
+
dataType: "string";
|
|
450
|
+
data: string;
|
|
451
|
+
driverParam: string;
|
|
452
|
+
notNull: true;
|
|
453
|
+
hasDefault: false;
|
|
454
|
+
isPrimaryKey: false;
|
|
455
|
+
isAutoincrement: false;
|
|
456
|
+
hasRuntimeDefault: false;
|
|
457
|
+
enumValues: [string, ...string[]];
|
|
458
|
+
baseColumn: never;
|
|
459
|
+
identity: undefined;
|
|
460
|
+
generated: undefined;
|
|
461
|
+
}, {}>;
|
|
462
|
+
attachments: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
463
|
+
name: string;
|
|
464
|
+
tableName: `${string}_messages`;
|
|
465
|
+
dataType: "string";
|
|
466
|
+
data: string;
|
|
467
|
+
driverParam: string;
|
|
468
|
+
notNull: true;
|
|
469
|
+
hasDefault: false;
|
|
470
|
+
isPrimaryKey: false;
|
|
471
|
+
isAutoincrement: false;
|
|
472
|
+
hasRuntimeDefault: false;
|
|
473
|
+
enumValues: [string, ...string[]];
|
|
474
|
+
baseColumn: never;
|
|
475
|
+
identity: undefined;
|
|
476
|
+
generated: undefined;
|
|
477
|
+
}, {}>;
|
|
478
|
+
createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
479
|
+
name: string;
|
|
480
|
+
tableName: `${string}_messages`;
|
|
481
|
+
dataType: "number int53";
|
|
482
|
+
data: number;
|
|
483
|
+
driverParam: number;
|
|
484
|
+
notNull: true;
|
|
485
|
+
hasDefault: false;
|
|
486
|
+
isPrimaryKey: false;
|
|
487
|
+
isAutoincrement: false;
|
|
488
|
+
hasRuntimeDefault: false;
|
|
489
|
+
enumValues: undefined;
|
|
490
|
+
baseColumn: never;
|
|
491
|
+
identity: undefined;
|
|
492
|
+
generated: undefined;
|
|
493
|
+
}, {}>;
|
|
494
|
+
editedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
495
|
+
name: string;
|
|
496
|
+
tableName: `${string}_messages`;
|
|
497
|
+
dataType: "number int53";
|
|
498
|
+
data: number;
|
|
499
|
+
driverParam: number;
|
|
500
|
+
notNull: false;
|
|
501
|
+
hasDefault: false;
|
|
502
|
+
isPrimaryKey: false;
|
|
503
|
+
isAutoincrement: false;
|
|
504
|
+
hasRuntimeDefault: false;
|
|
505
|
+
enumValues: undefined;
|
|
506
|
+
baseColumn: never;
|
|
507
|
+
identity: undefined;
|
|
508
|
+
generated: undefined;
|
|
509
|
+
}, {}>;
|
|
510
|
+
};
|
|
511
|
+
dialect: "sqlite";
|
|
512
|
+
isAlias: false;
|
|
513
|
+
}>;
|
|
514
|
+
commentCounters: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
515
|
+
name: `${string}_counters`;
|
|
516
|
+
schema: undefined;
|
|
517
|
+
columns: {
|
|
518
|
+
scope: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
519
|
+
name: string;
|
|
520
|
+
tableName: `${string}_counters`;
|
|
521
|
+
dataType: "string";
|
|
522
|
+
data: string;
|
|
523
|
+
driverParam: string;
|
|
524
|
+
notNull: true;
|
|
525
|
+
hasDefault: false;
|
|
526
|
+
isPrimaryKey: true;
|
|
527
|
+
isAutoincrement: false;
|
|
528
|
+
hasRuntimeDefault: false;
|
|
529
|
+
enumValues: [string, ...string[]];
|
|
530
|
+
baseColumn: never;
|
|
531
|
+
identity: undefined;
|
|
532
|
+
generated: undefined;
|
|
533
|
+
}, {}>;
|
|
534
|
+
next: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
535
|
+
name: string;
|
|
536
|
+
tableName: `${string}_counters`;
|
|
537
|
+
dataType: "number int53";
|
|
538
|
+
data: number;
|
|
539
|
+
driverParam: number;
|
|
540
|
+
notNull: true;
|
|
541
|
+
hasDefault: false;
|
|
542
|
+
isPrimaryKey: false;
|
|
543
|
+
isAutoincrement: false;
|
|
544
|
+
hasRuntimeDefault: false;
|
|
545
|
+
enumValues: undefined;
|
|
546
|
+
baseColumn: never;
|
|
547
|
+
identity: undefined;
|
|
548
|
+
generated: undefined;
|
|
549
|
+
}, {}>;
|
|
550
|
+
};
|
|
551
|
+
dialect: "sqlite";
|
|
552
|
+
isAlias: false;
|
|
553
|
+
}>;
|
|
554
|
+
};
|
|
2
555
|
/**
|
|
3
556
|
* Threads of comments. `n` is unique inside `scope`, which is what `?comment=<n>` names. `anchor`, `actor`,
|
|
4
557
|
* `resolvedBy`, `metadata`, and `context` hold JSON. Times are milliseconds since the epoch.
|
|
5
558
|
*/
|
|
6
559
|
declare const commentThreads: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
7
|
-
name:
|
|
560
|
+
name: `${string}_threads`;
|
|
8
561
|
schema: undefined;
|
|
9
562
|
columns: {
|
|
10
563
|
id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
11
564
|
name: string;
|
|
12
|
-
tableName:
|
|
565
|
+
tableName: `${string}_threads`;
|
|
13
566
|
dataType: "string";
|
|
14
567
|
data: string;
|
|
15
568
|
driverParam: string;
|
|
@@ -25,7 +578,7 @@ declare const commentThreads: import("drizzle-orm/sqlite-core").SQLiteTableWithC
|
|
|
25
578
|
}, {}>;
|
|
26
579
|
scope: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
27
580
|
name: string;
|
|
28
|
-
tableName:
|
|
581
|
+
tableName: `${string}_threads`;
|
|
29
582
|
dataType: "string";
|
|
30
583
|
data: string;
|
|
31
584
|
driverParam: string;
|
|
@@ -41,7 +594,7 @@ declare const commentThreads: import("drizzle-orm/sqlite-core").SQLiteTableWithC
|
|
|
41
594
|
}, {}>;
|
|
42
595
|
n: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
43
596
|
name: string;
|
|
44
|
-
tableName:
|
|
597
|
+
tableName: `${string}_threads`;
|
|
45
598
|
dataType: "number int53";
|
|
46
599
|
data: number;
|
|
47
600
|
driverParam: number;
|
|
@@ -57,7 +610,7 @@ declare const commentThreads: import("drizzle-orm/sqlite-core").SQLiteTableWithC
|
|
|
57
610
|
}, {}>;
|
|
58
611
|
subjectKind: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
59
612
|
name: string;
|
|
60
|
-
tableName:
|
|
613
|
+
tableName: `${string}_threads`;
|
|
61
614
|
dataType: "string";
|
|
62
615
|
data: string;
|
|
63
616
|
driverParam: string;
|
|
@@ -73,7 +626,7 @@ declare const commentThreads: import("drizzle-orm/sqlite-core").SQLiteTableWithC
|
|
|
73
626
|
}, {}>;
|
|
74
627
|
subjectId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
75
628
|
name: string;
|
|
76
|
-
tableName:
|
|
629
|
+
tableName: `${string}_threads`;
|
|
77
630
|
dataType: "string";
|
|
78
631
|
data: string;
|
|
79
632
|
driverParam: string;
|
|
@@ -89,7 +642,7 @@ declare const commentThreads: import("drizzle-orm/sqlite-core").SQLiteTableWithC
|
|
|
89
642
|
}, {}>;
|
|
90
643
|
anchor: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
91
644
|
name: string;
|
|
92
|
-
tableName:
|
|
645
|
+
tableName: `${string}_threads`;
|
|
93
646
|
dataType: "string";
|
|
94
647
|
data: string;
|
|
95
648
|
driverParam: string;
|
|
@@ -105,7 +658,7 @@ declare const commentThreads: import("drizzle-orm/sqlite-core").SQLiteTableWithC
|
|
|
105
658
|
}, {}>;
|
|
106
659
|
status: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
107
660
|
name: string;
|
|
108
|
-
tableName:
|
|
661
|
+
tableName: `${string}_threads`;
|
|
109
662
|
dataType: "string enum";
|
|
110
663
|
data: "open" | "resolved";
|
|
111
664
|
driverParam: string;
|
|
@@ -121,7 +674,7 @@ declare const commentThreads: import("drizzle-orm/sqlite-core").SQLiteTableWithC
|
|
|
121
674
|
}, {}>;
|
|
122
675
|
resolvedBy: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
123
676
|
name: string;
|
|
124
|
-
tableName:
|
|
677
|
+
tableName: `${string}_threads`;
|
|
125
678
|
dataType: "string";
|
|
126
679
|
data: string;
|
|
127
680
|
driverParam: string;
|
|
@@ -137,7 +690,7 @@ declare const commentThreads: import("drizzle-orm/sqlite-core").SQLiteTableWithC
|
|
|
137
690
|
}, {}>;
|
|
138
691
|
resolvedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
139
692
|
name: string;
|
|
140
|
-
tableName:
|
|
693
|
+
tableName: `${string}_threads`;
|
|
141
694
|
dataType: "number int53";
|
|
142
695
|
data: number;
|
|
143
696
|
driverParam: number;
|
|
@@ -153,7 +706,7 @@ declare const commentThreads: import("drizzle-orm/sqlite-core").SQLiteTableWithC
|
|
|
153
706
|
}, {}>;
|
|
154
707
|
authorId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
155
708
|
name: string;
|
|
156
|
-
tableName:
|
|
709
|
+
tableName: `${string}_threads`;
|
|
157
710
|
dataType: "string";
|
|
158
711
|
data: string;
|
|
159
712
|
driverParam: string;
|
|
@@ -169,7 +722,7 @@ declare const commentThreads: import("drizzle-orm/sqlite-core").SQLiteTableWithC
|
|
|
169
722
|
}, {}>;
|
|
170
723
|
authorName: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
171
724
|
name: string;
|
|
172
|
-
tableName:
|
|
725
|
+
tableName: `${string}_threads`;
|
|
173
726
|
dataType: "string";
|
|
174
727
|
data: string;
|
|
175
728
|
driverParam: string;
|
|
@@ -185,7 +738,7 @@ declare const commentThreads: import("drizzle-orm/sqlite-core").SQLiteTableWithC
|
|
|
185
738
|
}, {}>;
|
|
186
739
|
authorImage: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
187
740
|
name: string;
|
|
188
|
-
tableName:
|
|
741
|
+
tableName: `${string}_threads`;
|
|
189
742
|
dataType: "string";
|
|
190
743
|
data: string;
|
|
191
744
|
driverParam: string;
|
|
@@ -201,7 +754,7 @@ declare const commentThreads: import("drizzle-orm/sqlite-core").SQLiteTableWithC
|
|
|
201
754
|
}, {}>;
|
|
202
755
|
actor: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
203
756
|
name: string;
|
|
204
|
-
tableName:
|
|
757
|
+
tableName: `${string}_threads`;
|
|
205
758
|
dataType: "string";
|
|
206
759
|
data: string;
|
|
207
760
|
driverParam: string;
|
|
@@ -217,7 +770,7 @@ declare const commentThreads: import("drizzle-orm/sqlite-core").SQLiteTableWithC
|
|
|
217
770
|
}, {}>;
|
|
218
771
|
metadata: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
219
772
|
name: string;
|
|
220
|
-
tableName:
|
|
773
|
+
tableName: `${string}_threads`;
|
|
221
774
|
dataType: "string";
|
|
222
775
|
data: string;
|
|
223
776
|
driverParam: string;
|
|
@@ -233,7 +786,7 @@ declare const commentThreads: import("drizzle-orm/sqlite-core").SQLiteTableWithC
|
|
|
233
786
|
}, {}>;
|
|
234
787
|
context: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
235
788
|
name: string;
|
|
236
|
-
tableName:
|
|
789
|
+
tableName: `${string}_threads`;
|
|
237
790
|
dataType: "string";
|
|
238
791
|
data: string;
|
|
239
792
|
driverParam: string;
|
|
@@ -249,7 +802,7 @@ declare const commentThreads: import("drizzle-orm/sqlite-core").SQLiteTableWithC
|
|
|
249
802
|
}, {}>;
|
|
250
803
|
revision: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
251
804
|
name: string;
|
|
252
|
-
tableName:
|
|
805
|
+
tableName: `${string}_threads`;
|
|
253
806
|
dataType: "number int53";
|
|
254
807
|
data: number;
|
|
255
808
|
driverParam: number;
|
|
@@ -265,7 +818,7 @@ declare const commentThreads: import("drizzle-orm/sqlite-core").SQLiteTableWithC
|
|
|
265
818
|
}, {}>;
|
|
266
819
|
requestId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
267
820
|
name: string;
|
|
268
|
-
tableName:
|
|
821
|
+
tableName: `${string}_threads`;
|
|
269
822
|
dataType: "string";
|
|
270
823
|
data: string;
|
|
271
824
|
driverParam: string;
|
|
@@ -281,7 +834,7 @@ declare const commentThreads: import("drizzle-orm/sqlite-core").SQLiteTableWithC
|
|
|
281
834
|
}, {}>;
|
|
282
835
|
createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
283
836
|
name: string;
|
|
284
|
-
tableName:
|
|
837
|
+
tableName: `${string}_threads`;
|
|
285
838
|
dataType: "number int53";
|
|
286
839
|
data: number;
|
|
287
840
|
driverParam: number;
|
|
@@ -297,7 +850,7 @@ declare const commentThreads: import("drizzle-orm/sqlite-core").SQLiteTableWithC
|
|
|
297
850
|
}, {}>;
|
|
298
851
|
updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
299
852
|
name: string;
|
|
300
|
-
tableName:
|
|
853
|
+
tableName: `${string}_threads`;
|
|
301
854
|
dataType: "number int53";
|
|
302
855
|
data: number;
|
|
303
856
|
driverParam: number;
|
|
@@ -317,12 +870,12 @@ declare const commentThreads: import("drizzle-orm/sqlite-core").SQLiteTableWithC
|
|
|
317
870
|
}>;
|
|
318
871
|
/** One Markdown message. The first message of a thread is the comment. `mentions` and `attachments` hold JSON lists. */
|
|
319
872
|
declare const commentMessages: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
320
|
-
name:
|
|
873
|
+
name: `${string}_messages`;
|
|
321
874
|
schema: undefined;
|
|
322
875
|
columns: {
|
|
323
876
|
id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
324
877
|
name: string;
|
|
325
|
-
tableName:
|
|
878
|
+
tableName: `${string}_messages`;
|
|
326
879
|
dataType: "string";
|
|
327
880
|
data: string;
|
|
328
881
|
driverParam: string;
|
|
@@ -338,7 +891,7 @@ declare const commentMessages: import("drizzle-orm/sqlite-core").SQLiteTableWith
|
|
|
338
891
|
}, {}>;
|
|
339
892
|
threadId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
340
893
|
name: string;
|
|
341
|
-
tableName:
|
|
894
|
+
tableName: `${string}_messages`;
|
|
342
895
|
dataType: "string";
|
|
343
896
|
data: string;
|
|
344
897
|
driverParam: string;
|
|
@@ -354,7 +907,7 @@ declare const commentMessages: import("drizzle-orm/sqlite-core").SQLiteTableWith
|
|
|
354
907
|
}, {}>;
|
|
355
908
|
body: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
356
909
|
name: string;
|
|
357
|
-
tableName:
|
|
910
|
+
tableName: `${string}_messages`;
|
|
358
911
|
dataType: "string";
|
|
359
912
|
data: string;
|
|
360
913
|
driverParam: string;
|
|
@@ -370,7 +923,7 @@ declare const commentMessages: import("drizzle-orm/sqlite-core").SQLiteTableWith
|
|
|
370
923
|
}, {}>;
|
|
371
924
|
authorId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
372
925
|
name: string;
|
|
373
|
-
tableName:
|
|
926
|
+
tableName: `${string}_messages`;
|
|
374
927
|
dataType: "string";
|
|
375
928
|
data: string;
|
|
376
929
|
driverParam: string;
|
|
@@ -386,7 +939,7 @@ declare const commentMessages: import("drizzle-orm/sqlite-core").SQLiteTableWith
|
|
|
386
939
|
}, {}>;
|
|
387
940
|
authorName: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
388
941
|
name: string;
|
|
389
|
-
tableName:
|
|
942
|
+
tableName: `${string}_messages`;
|
|
390
943
|
dataType: "string";
|
|
391
944
|
data: string;
|
|
392
945
|
driverParam: string;
|
|
@@ -402,7 +955,7 @@ declare const commentMessages: import("drizzle-orm/sqlite-core").SQLiteTableWith
|
|
|
402
955
|
}, {}>;
|
|
403
956
|
authorImage: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
404
957
|
name: string;
|
|
405
|
-
tableName:
|
|
958
|
+
tableName: `${string}_messages`;
|
|
406
959
|
dataType: "string";
|
|
407
960
|
data: string;
|
|
408
961
|
driverParam: string;
|
|
@@ -418,7 +971,7 @@ declare const commentMessages: import("drizzle-orm/sqlite-core").SQLiteTableWith
|
|
|
418
971
|
}, {}>;
|
|
419
972
|
actor: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
420
973
|
name: string;
|
|
421
|
-
tableName:
|
|
974
|
+
tableName: `${string}_messages`;
|
|
422
975
|
dataType: "string";
|
|
423
976
|
data: string;
|
|
424
977
|
driverParam: string;
|
|
@@ -434,7 +987,7 @@ declare const commentMessages: import("drizzle-orm/sqlite-core").SQLiteTableWith
|
|
|
434
987
|
}, {}>;
|
|
435
988
|
mentions: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
436
989
|
name: string;
|
|
437
|
-
tableName:
|
|
990
|
+
tableName: `${string}_messages`;
|
|
438
991
|
dataType: "string";
|
|
439
992
|
data: string;
|
|
440
993
|
driverParam: string;
|
|
@@ -450,7 +1003,7 @@ declare const commentMessages: import("drizzle-orm/sqlite-core").SQLiteTableWith
|
|
|
450
1003
|
}, {}>;
|
|
451
1004
|
attachments: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
452
1005
|
name: string;
|
|
453
|
-
tableName:
|
|
1006
|
+
tableName: `${string}_messages`;
|
|
454
1007
|
dataType: "string";
|
|
455
1008
|
data: string;
|
|
456
1009
|
driverParam: string;
|
|
@@ -466,7 +1019,7 @@ declare const commentMessages: import("drizzle-orm/sqlite-core").SQLiteTableWith
|
|
|
466
1019
|
}, {}>;
|
|
467
1020
|
createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
468
1021
|
name: string;
|
|
469
|
-
tableName:
|
|
1022
|
+
tableName: `${string}_messages`;
|
|
470
1023
|
dataType: "number int53";
|
|
471
1024
|
data: number;
|
|
472
1025
|
driverParam: number;
|
|
@@ -482,7 +1035,7 @@ declare const commentMessages: import("drizzle-orm/sqlite-core").SQLiteTableWith
|
|
|
482
1035
|
}, {}>;
|
|
483
1036
|
editedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
484
1037
|
name: string;
|
|
485
|
-
tableName:
|
|
1038
|
+
tableName: `${string}_messages`;
|
|
486
1039
|
dataType: "number int53";
|
|
487
1040
|
data: number;
|
|
488
1041
|
driverParam: number;
|
|
@@ -505,12 +1058,12 @@ declare const commentMessages: import("drizzle-orm/sqlite-core").SQLiteTableWith
|
|
|
505
1058
|
* new one, and a link such as `?comment=3` keeps naming the same thread.
|
|
506
1059
|
*/
|
|
507
1060
|
declare const commentCounters: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
508
|
-
name:
|
|
1061
|
+
name: `${string}_counters`;
|
|
509
1062
|
schema: undefined;
|
|
510
1063
|
columns: {
|
|
511
1064
|
scope: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
512
1065
|
name: string;
|
|
513
|
-
tableName:
|
|
1066
|
+
tableName: `${string}_counters`;
|
|
514
1067
|
dataType: "string";
|
|
515
1068
|
data: string;
|
|
516
1069
|
driverParam: string;
|
|
@@ -526,7 +1079,7 @@ declare const commentCounters: import("drizzle-orm/sqlite-core").SQLiteTableWith
|
|
|
526
1079
|
}, {}>;
|
|
527
1080
|
next: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
528
1081
|
name: string;
|
|
529
|
-
tableName:
|
|
1082
|
+
tableName: `${string}_counters`;
|
|
530
1083
|
dataType: "number int53";
|
|
531
1084
|
data: number;
|
|
532
1085
|
driverParam: number;
|
|
@@ -755,12 +1308,12 @@ declare const commentForge: import("drizzle-orm/sqlite-core").SQLiteTableWithCol
|
|
|
755
1308
|
*/
|
|
756
1309
|
declare const commentsSchema: {
|
|
757
1310
|
vitehubCommentThreads: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
758
|
-
name:
|
|
1311
|
+
name: `${string}_threads`;
|
|
759
1312
|
schema: undefined;
|
|
760
1313
|
columns: {
|
|
761
1314
|
id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
762
1315
|
name: string;
|
|
763
|
-
tableName:
|
|
1316
|
+
tableName: `${string}_threads`;
|
|
764
1317
|
dataType: "string";
|
|
765
1318
|
data: string;
|
|
766
1319
|
driverParam: string;
|
|
@@ -776,7 +1329,7 @@ declare const commentsSchema: {
|
|
|
776
1329
|
}, {}>;
|
|
777
1330
|
scope: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
778
1331
|
name: string;
|
|
779
|
-
tableName:
|
|
1332
|
+
tableName: `${string}_threads`;
|
|
780
1333
|
dataType: "string";
|
|
781
1334
|
data: string;
|
|
782
1335
|
driverParam: string;
|
|
@@ -792,7 +1345,7 @@ declare const commentsSchema: {
|
|
|
792
1345
|
}, {}>;
|
|
793
1346
|
n: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
794
1347
|
name: string;
|
|
795
|
-
tableName:
|
|
1348
|
+
tableName: `${string}_threads`;
|
|
796
1349
|
dataType: "number int53";
|
|
797
1350
|
data: number;
|
|
798
1351
|
driverParam: number;
|
|
@@ -808,7 +1361,7 @@ declare const commentsSchema: {
|
|
|
808
1361
|
}, {}>;
|
|
809
1362
|
subjectKind: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
810
1363
|
name: string;
|
|
811
|
-
tableName:
|
|
1364
|
+
tableName: `${string}_threads`;
|
|
812
1365
|
dataType: "string";
|
|
813
1366
|
data: string;
|
|
814
1367
|
driverParam: string;
|
|
@@ -824,7 +1377,7 @@ declare const commentsSchema: {
|
|
|
824
1377
|
}, {}>;
|
|
825
1378
|
subjectId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
826
1379
|
name: string;
|
|
827
|
-
tableName:
|
|
1380
|
+
tableName: `${string}_threads`;
|
|
828
1381
|
dataType: "string";
|
|
829
1382
|
data: string;
|
|
830
1383
|
driverParam: string;
|
|
@@ -840,7 +1393,7 @@ declare const commentsSchema: {
|
|
|
840
1393
|
}, {}>;
|
|
841
1394
|
anchor: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
842
1395
|
name: string;
|
|
843
|
-
tableName:
|
|
1396
|
+
tableName: `${string}_threads`;
|
|
844
1397
|
dataType: "string";
|
|
845
1398
|
data: string;
|
|
846
1399
|
driverParam: string;
|
|
@@ -856,7 +1409,7 @@ declare const commentsSchema: {
|
|
|
856
1409
|
}, {}>;
|
|
857
1410
|
status: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
858
1411
|
name: string;
|
|
859
|
-
tableName:
|
|
1412
|
+
tableName: `${string}_threads`;
|
|
860
1413
|
dataType: "string enum";
|
|
861
1414
|
data: "open" | "resolved";
|
|
862
1415
|
driverParam: string;
|
|
@@ -872,7 +1425,7 @@ declare const commentsSchema: {
|
|
|
872
1425
|
}, {}>;
|
|
873
1426
|
resolvedBy: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
874
1427
|
name: string;
|
|
875
|
-
tableName:
|
|
1428
|
+
tableName: `${string}_threads`;
|
|
876
1429
|
dataType: "string";
|
|
877
1430
|
data: string;
|
|
878
1431
|
driverParam: string;
|
|
@@ -888,7 +1441,7 @@ declare const commentsSchema: {
|
|
|
888
1441
|
}, {}>;
|
|
889
1442
|
resolvedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
890
1443
|
name: string;
|
|
891
|
-
tableName:
|
|
1444
|
+
tableName: `${string}_threads`;
|
|
892
1445
|
dataType: "number int53";
|
|
893
1446
|
data: number;
|
|
894
1447
|
driverParam: number;
|
|
@@ -904,7 +1457,7 @@ declare const commentsSchema: {
|
|
|
904
1457
|
}, {}>;
|
|
905
1458
|
authorId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
906
1459
|
name: string;
|
|
907
|
-
tableName:
|
|
1460
|
+
tableName: `${string}_threads`;
|
|
908
1461
|
dataType: "string";
|
|
909
1462
|
data: string;
|
|
910
1463
|
driverParam: string;
|
|
@@ -920,7 +1473,7 @@ declare const commentsSchema: {
|
|
|
920
1473
|
}, {}>;
|
|
921
1474
|
authorName: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
922
1475
|
name: string;
|
|
923
|
-
tableName:
|
|
1476
|
+
tableName: `${string}_threads`;
|
|
924
1477
|
dataType: "string";
|
|
925
1478
|
data: string;
|
|
926
1479
|
driverParam: string;
|
|
@@ -936,7 +1489,7 @@ declare const commentsSchema: {
|
|
|
936
1489
|
}, {}>;
|
|
937
1490
|
authorImage: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
938
1491
|
name: string;
|
|
939
|
-
tableName:
|
|
1492
|
+
tableName: `${string}_threads`;
|
|
940
1493
|
dataType: "string";
|
|
941
1494
|
data: string;
|
|
942
1495
|
driverParam: string;
|
|
@@ -952,7 +1505,7 @@ declare const commentsSchema: {
|
|
|
952
1505
|
}, {}>;
|
|
953
1506
|
actor: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
954
1507
|
name: string;
|
|
955
|
-
tableName:
|
|
1508
|
+
tableName: `${string}_threads`;
|
|
956
1509
|
dataType: "string";
|
|
957
1510
|
data: string;
|
|
958
1511
|
driverParam: string;
|
|
@@ -968,7 +1521,7 @@ declare const commentsSchema: {
|
|
|
968
1521
|
}, {}>;
|
|
969
1522
|
metadata: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
970
1523
|
name: string;
|
|
971
|
-
tableName:
|
|
1524
|
+
tableName: `${string}_threads`;
|
|
972
1525
|
dataType: "string";
|
|
973
1526
|
data: string;
|
|
974
1527
|
driverParam: string;
|
|
@@ -984,7 +1537,7 @@ declare const commentsSchema: {
|
|
|
984
1537
|
}, {}>;
|
|
985
1538
|
context: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
986
1539
|
name: string;
|
|
987
|
-
tableName:
|
|
1540
|
+
tableName: `${string}_threads`;
|
|
988
1541
|
dataType: "string";
|
|
989
1542
|
data: string;
|
|
990
1543
|
driverParam: string;
|
|
@@ -1000,7 +1553,7 @@ declare const commentsSchema: {
|
|
|
1000
1553
|
}, {}>;
|
|
1001
1554
|
revision: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1002
1555
|
name: string;
|
|
1003
|
-
tableName:
|
|
1556
|
+
tableName: `${string}_threads`;
|
|
1004
1557
|
dataType: "number int53";
|
|
1005
1558
|
data: number;
|
|
1006
1559
|
driverParam: number;
|
|
@@ -1016,7 +1569,7 @@ declare const commentsSchema: {
|
|
|
1016
1569
|
}, {}>;
|
|
1017
1570
|
requestId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1018
1571
|
name: string;
|
|
1019
|
-
tableName:
|
|
1572
|
+
tableName: `${string}_threads`;
|
|
1020
1573
|
dataType: "string";
|
|
1021
1574
|
data: string;
|
|
1022
1575
|
driverParam: string;
|
|
@@ -1032,7 +1585,7 @@ declare const commentsSchema: {
|
|
|
1032
1585
|
}, {}>;
|
|
1033
1586
|
createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1034
1587
|
name: string;
|
|
1035
|
-
tableName:
|
|
1588
|
+
tableName: `${string}_threads`;
|
|
1036
1589
|
dataType: "number int53";
|
|
1037
1590
|
data: number;
|
|
1038
1591
|
driverParam: number;
|
|
@@ -1048,7 +1601,7 @@ declare const commentsSchema: {
|
|
|
1048
1601
|
}, {}>;
|
|
1049
1602
|
updatedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1050
1603
|
name: string;
|
|
1051
|
-
tableName:
|
|
1604
|
+
tableName: `${string}_threads`;
|
|
1052
1605
|
dataType: "number int53";
|
|
1053
1606
|
data: number;
|
|
1054
1607
|
driverParam: number;
|
|
@@ -1067,12 +1620,12 @@ declare const commentsSchema: {
|
|
|
1067
1620
|
isAlias: false;
|
|
1068
1621
|
}>;
|
|
1069
1622
|
vitehubCommentMessages: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
1070
|
-
name:
|
|
1623
|
+
name: `${string}_messages`;
|
|
1071
1624
|
schema: undefined;
|
|
1072
1625
|
columns: {
|
|
1073
1626
|
id: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1074
1627
|
name: string;
|
|
1075
|
-
tableName:
|
|
1628
|
+
tableName: `${string}_messages`;
|
|
1076
1629
|
dataType: "string";
|
|
1077
1630
|
data: string;
|
|
1078
1631
|
driverParam: string;
|
|
@@ -1088,7 +1641,7 @@ declare const commentsSchema: {
|
|
|
1088
1641
|
}, {}>;
|
|
1089
1642
|
threadId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1090
1643
|
name: string;
|
|
1091
|
-
tableName:
|
|
1644
|
+
tableName: `${string}_messages`;
|
|
1092
1645
|
dataType: "string";
|
|
1093
1646
|
data: string;
|
|
1094
1647
|
driverParam: string;
|
|
@@ -1104,7 +1657,7 @@ declare const commentsSchema: {
|
|
|
1104
1657
|
}, {}>;
|
|
1105
1658
|
body: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1106
1659
|
name: string;
|
|
1107
|
-
tableName:
|
|
1660
|
+
tableName: `${string}_messages`;
|
|
1108
1661
|
dataType: "string";
|
|
1109
1662
|
data: string;
|
|
1110
1663
|
driverParam: string;
|
|
@@ -1120,7 +1673,7 @@ declare const commentsSchema: {
|
|
|
1120
1673
|
}, {}>;
|
|
1121
1674
|
authorId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1122
1675
|
name: string;
|
|
1123
|
-
tableName:
|
|
1676
|
+
tableName: `${string}_messages`;
|
|
1124
1677
|
dataType: "string";
|
|
1125
1678
|
data: string;
|
|
1126
1679
|
driverParam: string;
|
|
@@ -1136,7 +1689,7 @@ declare const commentsSchema: {
|
|
|
1136
1689
|
}, {}>;
|
|
1137
1690
|
authorName: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1138
1691
|
name: string;
|
|
1139
|
-
tableName:
|
|
1692
|
+
tableName: `${string}_messages`;
|
|
1140
1693
|
dataType: "string";
|
|
1141
1694
|
data: string;
|
|
1142
1695
|
driverParam: string;
|
|
@@ -1152,7 +1705,7 @@ declare const commentsSchema: {
|
|
|
1152
1705
|
}, {}>;
|
|
1153
1706
|
authorImage: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1154
1707
|
name: string;
|
|
1155
|
-
tableName:
|
|
1708
|
+
tableName: `${string}_messages`;
|
|
1156
1709
|
dataType: "string";
|
|
1157
1710
|
data: string;
|
|
1158
1711
|
driverParam: string;
|
|
@@ -1168,7 +1721,7 @@ declare const commentsSchema: {
|
|
|
1168
1721
|
}, {}>;
|
|
1169
1722
|
actor: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1170
1723
|
name: string;
|
|
1171
|
-
tableName:
|
|
1724
|
+
tableName: `${string}_messages`;
|
|
1172
1725
|
dataType: "string";
|
|
1173
1726
|
data: string;
|
|
1174
1727
|
driverParam: string;
|
|
@@ -1184,7 +1737,7 @@ declare const commentsSchema: {
|
|
|
1184
1737
|
}, {}>;
|
|
1185
1738
|
mentions: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1186
1739
|
name: string;
|
|
1187
|
-
tableName:
|
|
1740
|
+
tableName: `${string}_messages`;
|
|
1188
1741
|
dataType: "string";
|
|
1189
1742
|
data: string;
|
|
1190
1743
|
driverParam: string;
|
|
@@ -1200,7 +1753,7 @@ declare const commentsSchema: {
|
|
|
1200
1753
|
}, {}>;
|
|
1201
1754
|
attachments: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1202
1755
|
name: string;
|
|
1203
|
-
tableName:
|
|
1756
|
+
tableName: `${string}_messages`;
|
|
1204
1757
|
dataType: "string";
|
|
1205
1758
|
data: string;
|
|
1206
1759
|
driverParam: string;
|
|
@@ -1216,7 +1769,7 @@ declare const commentsSchema: {
|
|
|
1216
1769
|
}, {}>;
|
|
1217
1770
|
createdAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1218
1771
|
name: string;
|
|
1219
|
-
tableName:
|
|
1772
|
+
tableName: `${string}_messages`;
|
|
1220
1773
|
dataType: "number int53";
|
|
1221
1774
|
data: number;
|
|
1222
1775
|
driverParam: number;
|
|
@@ -1232,7 +1785,7 @@ declare const commentsSchema: {
|
|
|
1232
1785
|
}, {}>;
|
|
1233
1786
|
editedAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1234
1787
|
name: string;
|
|
1235
|
-
tableName:
|
|
1788
|
+
tableName: `${string}_messages`;
|
|
1236
1789
|
dataType: "number int53";
|
|
1237
1790
|
data: number;
|
|
1238
1791
|
driverParam: number;
|
|
@@ -1251,12 +1804,12 @@ declare const commentsSchema: {
|
|
|
1251
1804
|
isAlias: false;
|
|
1252
1805
|
}>;
|
|
1253
1806
|
vitehubCommentCounters: import("drizzle-orm/sqlite-core").SQLiteTableWithColumns<{
|
|
1254
|
-
name:
|
|
1807
|
+
name: `${string}_counters`;
|
|
1255
1808
|
schema: undefined;
|
|
1256
1809
|
columns: {
|
|
1257
1810
|
scope: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1258
1811
|
name: string;
|
|
1259
|
-
tableName:
|
|
1812
|
+
tableName: `${string}_counters`;
|
|
1260
1813
|
dataType: "string";
|
|
1261
1814
|
data: string;
|
|
1262
1815
|
driverParam: string;
|
|
@@ -1272,7 +1825,7 @@ declare const commentsSchema: {
|
|
|
1272
1825
|
}, {}>;
|
|
1273
1826
|
next: import("drizzle-orm/sqlite-core").SQLiteColumn<{
|
|
1274
1827
|
name: string;
|
|
1275
|
-
tableName:
|
|
1828
|
+
tableName: `${string}_counters`;
|
|
1276
1829
|
dataType: "number int53";
|
|
1277
1830
|
data: number;
|
|
1278
1831
|
driverParam: number;
|
|
@@ -1491,5 +2044,4 @@ declare const commentsSchema: {
|
|
|
1491
2044
|
isAlias: false;
|
|
1492
2045
|
}>;
|
|
1493
2046
|
};
|
|
1494
|
-
|
|
1495
|
-
export { commentsSchema as a, commentThreads as i, commentForge as n, commentMessages as r, commentCounters as t };
|
|
2047
|
+
export { commentThreads as a, commentMessages as i, commentCounters as n, commentsSchema as o, commentForge as r, commentsSqliteTables as s, CommentsSqliteTablesOptions as t };
|