scriptorium 0.0.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 +110 -0
- package/bin/scriptorium.js +18 -0
- package/build/client/apple-touch-icon.png +0 -0
- package/build/client/assets/_layout-D-bxuQBW.js +1 -0
- package/build/client/assets/_layout-D2eOWFrG.js +1 -0
- package/build/client/assets/_layout-D4m0RbUC.js +1 -0
- package/build/client/assets/_layout-DggtTDZp.js +1 -0
- package/build/client/assets/ack-yx2DGjj6.js +1 -0
- package/build/client/assets/auth-shell-FEL5QDuP.js +1 -0
- package/build/client/assets/begin-DP2rzg_V.js +1 -0
- package/build/client/assets/begin-l0sNRNKZ.js +1 -0
- package/build/client/assets/chunk-EPOLDU6W-B-j6nV8T.js +26 -0
- package/build/client/assets/cn-Kn7NbJqM.js +1 -0
- package/build/client/assets/confirm-passkey-ntLsS7_k.js +1 -0
- package/build/client/assets/entry.client-BkscxSA6.js +5 -0
- package/build/client/assets/events-l0sNRNKZ.js +1 -0
- package/build/client/assets/file-list-DBDZbrBp.js +1 -0
- package/build/client/assets/files-Bzkr7-i7.js +1 -0
- package/build/client/assets/files-browser-KNurSsen.js +1 -0
- package/build/client/assets/files-cnv1kfgp.js +1 -0
- package/build/client/assets/files.browse-9p4xl9MV.js +1 -0
- package/build/client/assets/finish-DP2rzg_V.js +1 -0
- package/build/client/assets/finish-l0sNRNKZ.js +1 -0
- package/build/client/assets/git-CjSY0eSC.js +1 -0
- package/build/client/assets/git-T0lLjMNd.js +1 -0
- package/build/client/assets/git-browser-DwSOY6QN.js +1 -0
- package/build/client/assets/iconify-BDcX0yw8.js +1 -0
- package/build/client/assets/index-8zQ7Fizv.js +9 -0
- package/build/client/assets/index-BUN6tnpl.js +1 -0
- package/build/client/assets/index-BlNoCKAt.js +1 -0
- package/build/client/assets/index-g2QB9BbT.js +1 -0
- package/build/client/assets/instance-events-provider-DTYnvumj.js +39 -0
- package/build/client/assets/instance-route-C25LRYYo.js +1 -0
- package/build/client/assets/instances-CzjXhR3c.js +1 -0
- package/build/client/assets/instances._instanceId.proxy._-l0sNRNKZ.js +1 -0
- package/build/client/assets/instances._instanceId.sessions._sessionId.test-COZIMxji.js +208 -0
- package/build/client/assets/instances.new-BZi5xwEV.js +1 -0
- package/build/client/assets/login-Bwt79t7_.js +1 -0
- package/build/client/assets/logout-l0sNRNKZ.js +1 -0
- package/build/client/assets/magic-string.es-DjU5CGuV.js +10 -0
- package/build/client/assets/manifest-3c01c628.js +1 -0
- package/build/client/assets/message-card-BclR_JqA.css +1 -0
- package/build/client/assets/message-card-DJ5C3WNp.js +34 -0
- package/build/client/assets/passkeys-DpNQs4bn.js +1 -0
- package/build/client/assets/register-DXPj5RLZ.js +1 -0
- package/build/client/assets/root-DxD-Skic.css +1 -0
- package/build/client/assets/root-DxyfhNRI.js +1 -0
- package/build/client/assets/route-handle-DcEil3NY.js +1 -0
- package/build/client/assets/safe-area-DTPfLjT-.css +1 -0
- package/build/client/assets/safe-area.module-CwCzHS6V.js +1 -0
- package/build/client/assets/scroll-indicator-CFaTM_rb.js +12 -0
- package/build/client/assets/scroll-indicator-D4qxLVUu.css +1 -0
- package/build/client/assets/scrollable-layout-CS-vPTNM.js +1 -0
- package/build/client/assets/session-route-oxi4s_Qg.js +1 -0
- package/build/client/assets/sessions-provider-D1t07kir.js +1 -0
- package/build/client/assets/settings-CameSNIM.js +1 -0
- package/build/client/assets/sidebar-DRhB33rT.js +1 -0
- package/build/client/assets/use-double-check-CbbarqDt.js +1 -0
- package/build/client/assets/webauthn.client-C1ZSQfKs.js +2 -0
- package/build/client/dev-sw.js +7 -0
- package/build/client/favicon.ico +0 -0
- package/build/client/icon-192.png +0 -0
- package/build/client/icon-512.png +0 -0
- package/build/client/icon-maskable-512.png +0 -0
- package/build/client/icon-maskable.svg +8 -0
- package/build/client/icon.svg +8 -0
- package/build/client/manifest.webmanifest +28 -0
- package/build/client/sw.js +73 -0
- package/build/runtime/app/lib/runtime-config.server.js +422 -0
- package/build/runtime/cli/scriptorium.js +21 -0
- package/build/runtime/cli/serve.js +101 -0
- package/build/server/index.js +8574 -0
- package/docs/config.md +49 -0
- package/drizzle/20260312181200_fair_caretaker/migration.sql +54 -0
- package/drizzle/20260312181200_fair_caretaker/snapshot.json +484 -0
- package/drizzle/20260313000548_windy_paibok/migration.sql +37 -0
- package/drizzle/20260313000548_windy_paibok/snapshot.json +617 -0
- package/drizzle/20260318120000_session_read_statuses/migration.sql +11 -0
- package/drizzle/20260318120000_session_read_statuses/snapshot.json +710 -0
- package/drizzle/20260318213224_dear_captain_midlands/migration.sql +24 -0
- package/drizzle/20260318213224_dear_captain_midlands/snapshot.json +695 -0
- package/package.json +88 -0
|
@@ -0,0 +1,710 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "7",
|
|
3
|
+
"dialect": "sqlite",
|
|
4
|
+
"id": "4893a685-7d37-4516-b3b8-31ca94c9a211",
|
|
5
|
+
"prevIds": [
|
|
6
|
+
"fa1ab0b8-a183-446f-bfe0-313e9d57c442"
|
|
7
|
+
],
|
|
8
|
+
"ddl": [
|
|
9
|
+
{
|
|
10
|
+
"name": "activation_codes",
|
|
11
|
+
"entityType": "tables"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "authentication_challenges",
|
|
15
|
+
"entityType": "tables"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "instances",
|
|
19
|
+
"entityType": "tables"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "passkeys",
|
|
23
|
+
"entityType": "tables"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "registration_challenges",
|
|
27
|
+
"entityType": "tables"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "session_read_statuses",
|
|
31
|
+
"entityType": "tables"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "sessions",
|
|
35
|
+
"entityType": "tables"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"type": "text",
|
|
39
|
+
"notNull": false,
|
|
40
|
+
"autoincrement": false,
|
|
41
|
+
"default": null,
|
|
42
|
+
"generated": null,
|
|
43
|
+
"name": "id",
|
|
44
|
+
"entityType": "columns",
|
|
45
|
+
"table": "activation_codes"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"type": "text",
|
|
49
|
+
"notNull": true,
|
|
50
|
+
"autoincrement": false,
|
|
51
|
+
"default": null,
|
|
52
|
+
"generated": null,
|
|
53
|
+
"name": "passkey_id",
|
|
54
|
+
"entityType": "columns",
|
|
55
|
+
"table": "activation_codes"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"type": "text",
|
|
59
|
+
"notNull": true,
|
|
60
|
+
"autoincrement": false,
|
|
61
|
+
"default": null,
|
|
62
|
+
"generated": null,
|
|
63
|
+
"name": "code_hash",
|
|
64
|
+
"entityType": "columns",
|
|
65
|
+
"table": "activation_codes"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"type": "text",
|
|
69
|
+
"notNull": true,
|
|
70
|
+
"autoincrement": false,
|
|
71
|
+
"default": null,
|
|
72
|
+
"generated": null,
|
|
73
|
+
"name": "expires_at",
|
|
74
|
+
"entityType": "columns",
|
|
75
|
+
"table": "activation_codes"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"type": "text",
|
|
79
|
+
"notNull": true,
|
|
80
|
+
"autoincrement": false,
|
|
81
|
+
"default": null,
|
|
82
|
+
"generated": null,
|
|
83
|
+
"name": "created_at",
|
|
84
|
+
"entityType": "columns",
|
|
85
|
+
"table": "activation_codes"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"type": "text",
|
|
89
|
+
"notNull": false,
|
|
90
|
+
"autoincrement": false,
|
|
91
|
+
"default": null,
|
|
92
|
+
"generated": null,
|
|
93
|
+
"name": "consumed_at",
|
|
94
|
+
"entityType": "columns",
|
|
95
|
+
"table": "activation_codes"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"type": "integer",
|
|
99
|
+
"notNull": true,
|
|
100
|
+
"autoincrement": false,
|
|
101
|
+
"default": "0",
|
|
102
|
+
"generated": null,
|
|
103
|
+
"name": "attempts",
|
|
104
|
+
"entityType": "columns",
|
|
105
|
+
"table": "activation_codes"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"type": "text",
|
|
109
|
+
"notNull": false,
|
|
110
|
+
"autoincrement": false,
|
|
111
|
+
"default": null,
|
|
112
|
+
"generated": null,
|
|
113
|
+
"name": "id",
|
|
114
|
+
"entityType": "columns",
|
|
115
|
+
"table": "authentication_challenges"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"type": "text",
|
|
119
|
+
"notNull": true,
|
|
120
|
+
"autoincrement": false,
|
|
121
|
+
"default": null,
|
|
122
|
+
"generated": null,
|
|
123
|
+
"name": "challenge",
|
|
124
|
+
"entityType": "columns",
|
|
125
|
+
"table": "authentication_challenges"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"type": "text",
|
|
129
|
+
"notNull": true,
|
|
130
|
+
"autoincrement": false,
|
|
131
|
+
"default": null,
|
|
132
|
+
"generated": null,
|
|
133
|
+
"name": "expires_at",
|
|
134
|
+
"entityType": "columns",
|
|
135
|
+
"table": "authentication_challenges"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"type": "text",
|
|
139
|
+
"notNull": true,
|
|
140
|
+
"autoincrement": false,
|
|
141
|
+
"default": null,
|
|
142
|
+
"generated": null,
|
|
143
|
+
"name": "created_at",
|
|
144
|
+
"entityType": "columns",
|
|
145
|
+
"table": "authentication_challenges"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"type": "text",
|
|
149
|
+
"notNull": false,
|
|
150
|
+
"autoincrement": false,
|
|
151
|
+
"default": null,
|
|
152
|
+
"generated": null,
|
|
153
|
+
"name": "id",
|
|
154
|
+
"entityType": "columns",
|
|
155
|
+
"table": "instances"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"type": "text",
|
|
159
|
+
"notNull": true,
|
|
160
|
+
"autoincrement": false,
|
|
161
|
+
"default": null,
|
|
162
|
+
"generated": null,
|
|
163
|
+
"name": "name",
|
|
164
|
+
"entityType": "columns",
|
|
165
|
+
"table": "instances"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"type": "text",
|
|
169
|
+
"notNull": true,
|
|
170
|
+
"autoincrement": false,
|
|
171
|
+
"default": null,
|
|
172
|
+
"generated": null,
|
|
173
|
+
"name": "directory",
|
|
174
|
+
"entityType": "columns",
|
|
175
|
+
"table": "instances"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"type": "integer",
|
|
179
|
+
"notNull": true,
|
|
180
|
+
"autoincrement": false,
|
|
181
|
+
"default": null,
|
|
182
|
+
"generated": null,
|
|
183
|
+
"name": "port",
|
|
184
|
+
"entityType": "columns",
|
|
185
|
+
"table": "instances"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"type": "text",
|
|
189
|
+
"notNull": true,
|
|
190
|
+
"autoincrement": false,
|
|
191
|
+
"default": null,
|
|
192
|
+
"generated": null,
|
|
193
|
+
"name": "status",
|
|
194
|
+
"entityType": "columns",
|
|
195
|
+
"table": "instances"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"type": "text",
|
|
199
|
+
"notNull": true,
|
|
200
|
+
"autoincrement": false,
|
|
201
|
+
"default": null,
|
|
202
|
+
"generated": null,
|
|
203
|
+
"name": "created_at",
|
|
204
|
+
"entityType": "columns",
|
|
205
|
+
"table": "instances"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"type": "text",
|
|
209
|
+
"notNull": true,
|
|
210
|
+
"autoincrement": false,
|
|
211
|
+
"default": null,
|
|
212
|
+
"generated": null,
|
|
213
|
+
"name": "updated_at",
|
|
214
|
+
"entityType": "columns",
|
|
215
|
+
"table": "instances"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"type": "text",
|
|
219
|
+
"notNull": false,
|
|
220
|
+
"autoincrement": false,
|
|
221
|
+
"default": null,
|
|
222
|
+
"generated": null,
|
|
223
|
+
"name": "last_started_at",
|
|
224
|
+
"entityType": "columns",
|
|
225
|
+
"table": "instances"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"type": "text",
|
|
229
|
+
"notNull": false,
|
|
230
|
+
"autoincrement": false,
|
|
231
|
+
"default": null,
|
|
232
|
+
"generated": null,
|
|
233
|
+
"name": "last_exit_at",
|
|
234
|
+
"entityType": "columns",
|
|
235
|
+
"table": "instances"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"type": "text",
|
|
239
|
+
"notNull": false,
|
|
240
|
+
"autoincrement": false,
|
|
241
|
+
"default": null,
|
|
242
|
+
"generated": null,
|
|
243
|
+
"name": "last_error",
|
|
244
|
+
"entityType": "columns",
|
|
245
|
+
"table": "instances"
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"type": "text",
|
|
249
|
+
"notNull": false,
|
|
250
|
+
"autoincrement": false,
|
|
251
|
+
"default": null,
|
|
252
|
+
"generated": null,
|
|
253
|
+
"name": "id",
|
|
254
|
+
"entityType": "columns",
|
|
255
|
+
"table": "passkeys"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"type": "text",
|
|
259
|
+
"notNull": true,
|
|
260
|
+
"autoincrement": false,
|
|
261
|
+
"default": null,
|
|
262
|
+
"generated": null,
|
|
263
|
+
"name": "webauthn_user_id",
|
|
264
|
+
"entityType": "columns",
|
|
265
|
+
"table": "passkeys"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"type": "blob",
|
|
269
|
+
"notNull": true,
|
|
270
|
+
"autoincrement": false,
|
|
271
|
+
"default": null,
|
|
272
|
+
"generated": null,
|
|
273
|
+
"name": "public_key",
|
|
274
|
+
"entityType": "columns",
|
|
275
|
+
"table": "passkeys"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"type": "integer",
|
|
279
|
+
"notNull": true,
|
|
280
|
+
"autoincrement": false,
|
|
281
|
+
"default": null,
|
|
282
|
+
"generated": null,
|
|
283
|
+
"name": "counter",
|
|
284
|
+
"entityType": "columns",
|
|
285
|
+
"table": "passkeys"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"type": "text",
|
|
289
|
+
"notNull": true,
|
|
290
|
+
"autoincrement": false,
|
|
291
|
+
"default": null,
|
|
292
|
+
"generated": null,
|
|
293
|
+
"name": "device_type",
|
|
294
|
+
"entityType": "columns",
|
|
295
|
+
"table": "passkeys"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"type": "integer",
|
|
299
|
+
"notNull": true,
|
|
300
|
+
"autoincrement": false,
|
|
301
|
+
"default": null,
|
|
302
|
+
"generated": null,
|
|
303
|
+
"name": "backed_up",
|
|
304
|
+
"entityType": "columns",
|
|
305
|
+
"table": "passkeys"
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"type": "text",
|
|
309
|
+
"notNull": true,
|
|
310
|
+
"autoincrement": false,
|
|
311
|
+
"default": null,
|
|
312
|
+
"generated": null,
|
|
313
|
+
"name": "transports_json",
|
|
314
|
+
"entityType": "columns",
|
|
315
|
+
"table": "passkeys"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"type": "text",
|
|
319
|
+
"notNull": true,
|
|
320
|
+
"autoincrement": false,
|
|
321
|
+
"default": null,
|
|
322
|
+
"generated": null,
|
|
323
|
+
"name": "label",
|
|
324
|
+
"entityType": "columns",
|
|
325
|
+
"table": "passkeys"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"type": "text",
|
|
329
|
+
"notNull": true,
|
|
330
|
+
"autoincrement": false,
|
|
331
|
+
"default": null,
|
|
332
|
+
"generated": null,
|
|
333
|
+
"name": "status",
|
|
334
|
+
"entityType": "columns",
|
|
335
|
+
"table": "passkeys"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"type": "text",
|
|
339
|
+
"notNull": true,
|
|
340
|
+
"autoincrement": false,
|
|
341
|
+
"default": null,
|
|
342
|
+
"generated": null,
|
|
343
|
+
"name": "created_at",
|
|
344
|
+
"entityType": "columns",
|
|
345
|
+
"table": "passkeys"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"type": "text",
|
|
349
|
+
"notNull": false,
|
|
350
|
+
"autoincrement": false,
|
|
351
|
+
"default": null,
|
|
352
|
+
"generated": null,
|
|
353
|
+
"name": "activated_at",
|
|
354
|
+
"entityType": "columns",
|
|
355
|
+
"table": "passkeys"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"type": "text",
|
|
359
|
+
"notNull": false,
|
|
360
|
+
"autoincrement": false,
|
|
361
|
+
"default": null,
|
|
362
|
+
"generated": null,
|
|
363
|
+
"name": "revoked_at",
|
|
364
|
+
"entityType": "columns",
|
|
365
|
+
"table": "passkeys"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"type": "text",
|
|
369
|
+
"notNull": false,
|
|
370
|
+
"autoincrement": false,
|
|
371
|
+
"default": null,
|
|
372
|
+
"generated": null,
|
|
373
|
+
"name": "id",
|
|
374
|
+
"entityType": "columns",
|
|
375
|
+
"table": "registration_challenges"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"type": "text",
|
|
379
|
+
"notNull": true,
|
|
380
|
+
"autoincrement": false,
|
|
381
|
+
"default": null,
|
|
382
|
+
"generated": null,
|
|
383
|
+
"name": "challenge",
|
|
384
|
+
"entityType": "columns",
|
|
385
|
+
"table": "registration_challenges"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"type": "text",
|
|
389
|
+
"notNull": true,
|
|
390
|
+
"autoincrement": false,
|
|
391
|
+
"default": null,
|
|
392
|
+
"generated": null,
|
|
393
|
+
"name": "label",
|
|
394
|
+
"entityType": "columns",
|
|
395
|
+
"table": "registration_challenges"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"type": "text",
|
|
399
|
+
"notNull": true,
|
|
400
|
+
"autoincrement": false,
|
|
401
|
+
"default": null,
|
|
402
|
+
"generated": null,
|
|
403
|
+
"name": "expires_at",
|
|
404
|
+
"entityType": "columns",
|
|
405
|
+
"table": "registration_challenges"
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"type": "text",
|
|
409
|
+
"notNull": true,
|
|
410
|
+
"autoincrement": false,
|
|
411
|
+
"default": null,
|
|
412
|
+
"generated": null,
|
|
413
|
+
"name": "created_at",
|
|
414
|
+
"entityType": "columns",
|
|
415
|
+
"table": "registration_challenges"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"type": "text",
|
|
419
|
+
"notNull": true,
|
|
420
|
+
"autoincrement": false,
|
|
421
|
+
"default": null,
|
|
422
|
+
"generated": null,
|
|
423
|
+
"name": "viewer_id",
|
|
424
|
+
"entityType": "columns",
|
|
425
|
+
"table": "session_read_statuses"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"type": "text",
|
|
429
|
+
"notNull": true,
|
|
430
|
+
"autoincrement": false,
|
|
431
|
+
"default": null,
|
|
432
|
+
"generated": null,
|
|
433
|
+
"name": "instance_id",
|
|
434
|
+
"entityType": "columns",
|
|
435
|
+
"table": "session_read_statuses"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"type": "text",
|
|
439
|
+
"notNull": true,
|
|
440
|
+
"autoincrement": false,
|
|
441
|
+
"default": null,
|
|
442
|
+
"generated": null,
|
|
443
|
+
"name": "session_id",
|
|
444
|
+
"entityType": "columns",
|
|
445
|
+
"table": "session_read_statuses"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"type": "text",
|
|
449
|
+
"notNull": true,
|
|
450
|
+
"autoincrement": false,
|
|
451
|
+
"default": null,
|
|
452
|
+
"generated": null,
|
|
453
|
+
"name": "last_read_at",
|
|
454
|
+
"entityType": "columns",
|
|
455
|
+
"table": "session_read_statuses"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"type": "text",
|
|
459
|
+
"notNull": true,
|
|
460
|
+
"autoincrement": false,
|
|
461
|
+
"default": null,
|
|
462
|
+
"generated": null,
|
|
463
|
+
"name": "created_at",
|
|
464
|
+
"entityType": "columns",
|
|
465
|
+
"table": "session_read_statuses"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"type": "text",
|
|
469
|
+
"notNull": true,
|
|
470
|
+
"autoincrement": false,
|
|
471
|
+
"default": null,
|
|
472
|
+
"generated": null,
|
|
473
|
+
"name": "updated_at",
|
|
474
|
+
"entityType": "columns",
|
|
475
|
+
"table": "session_read_statuses"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"type": "text",
|
|
479
|
+
"notNull": false,
|
|
480
|
+
"autoincrement": false,
|
|
481
|
+
"default": null,
|
|
482
|
+
"generated": null,
|
|
483
|
+
"name": "id",
|
|
484
|
+
"entityType": "columns",
|
|
485
|
+
"table": "sessions"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"type": "text",
|
|
489
|
+
"notNull": true,
|
|
490
|
+
"autoincrement": false,
|
|
491
|
+
"default": null,
|
|
492
|
+
"generated": null,
|
|
493
|
+
"name": "passkey_id",
|
|
494
|
+
"entityType": "columns",
|
|
495
|
+
"table": "sessions"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"type": "text",
|
|
499
|
+
"notNull": true,
|
|
500
|
+
"autoincrement": false,
|
|
501
|
+
"default": null,
|
|
502
|
+
"generated": null,
|
|
503
|
+
"name": "created_at",
|
|
504
|
+
"entityType": "columns",
|
|
505
|
+
"table": "sessions"
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"type": "text",
|
|
509
|
+
"notNull": true,
|
|
510
|
+
"autoincrement": false,
|
|
511
|
+
"default": null,
|
|
512
|
+
"generated": null,
|
|
513
|
+
"name": "expires_at",
|
|
514
|
+
"entityType": "columns",
|
|
515
|
+
"table": "sessions"
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"type": "text",
|
|
519
|
+
"notNull": true,
|
|
520
|
+
"autoincrement": false,
|
|
521
|
+
"default": null,
|
|
522
|
+
"generated": null,
|
|
523
|
+
"name": "last_seen_at",
|
|
524
|
+
"entityType": "columns",
|
|
525
|
+
"table": "sessions"
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"columns": [
|
|
529
|
+
"passkey_id"
|
|
530
|
+
],
|
|
531
|
+
"tableTo": "passkeys",
|
|
532
|
+
"columnsTo": [
|
|
533
|
+
"id"
|
|
534
|
+
],
|
|
535
|
+
"onUpdate": "NO ACTION",
|
|
536
|
+
"onDelete": "CASCADE",
|
|
537
|
+
"nameExplicit": false,
|
|
538
|
+
"name": "activation_codes_passkey_id_passkeys_id_fk",
|
|
539
|
+
"entityType": "fks",
|
|
540
|
+
"table": "activation_codes"
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"columns": [
|
|
544
|
+
"passkey_id"
|
|
545
|
+
],
|
|
546
|
+
"tableTo": "passkeys",
|
|
547
|
+
"columnsTo": [
|
|
548
|
+
"id"
|
|
549
|
+
],
|
|
550
|
+
"onUpdate": "NO ACTION",
|
|
551
|
+
"onDelete": "CASCADE",
|
|
552
|
+
"nameExplicit": false,
|
|
553
|
+
"name": "sessions_passkey_id_passkeys_id_fk",
|
|
554
|
+
"entityType": "fks",
|
|
555
|
+
"table": "sessions"
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"columns": [
|
|
559
|
+
"viewer_id",
|
|
560
|
+
"instance_id",
|
|
561
|
+
"session_id"
|
|
562
|
+
],
|
|
563
|
+
"nameExplicit": false,
|
|
564
|
+
"name": "session_read_statuses_pk",
|
|
565
|
+
"entityType": "pks",
|
|
566
|
+
"table": "session_read_statuses"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"columns": [
|
|
570
|
+
"id"
|
|
571
|
+
],
|
|
572
|
+
"nameExplicit": false,
|
|
573
|
+
"name": "activation_codes_pk",
|
|
574
|
+
"table": "activation_codes",
|
|
575
|
+
"entityType": "pks"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"columns": [
|
|
579
|
+
"id"
|
|
580
|
+
],
|
|
581
|
+
"nameExplicit": false,
|
|
582
|
+
"name": "authentication_challenges_pk",
|
|
583
|
+
"table": "authentication_challenges",
|
|
584
|
+
"entityType": "pks"
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"columns": [
|
|
588
|
+
"id"
|
|
589
|
+
],
|
|
590
|
+
"nameExplicit": false,
|
|
591
|
+
"name": "instances_pk",
|
|
592
|
+
"table": "instances",
|
|
593
|
+
"entityType": "pks"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"columns": [
|
|
597
|
+
"id"
|
|
598
|
+
],
|
|
599
|
+
"nameExplicit": false,
|
|
600
|
+
"name": "passkeys_pk",
|
|
601
|
+
"table": "passkeys",
|
|
602
|
+
"entityType": "pks"
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"columns": [
|
|
606
|
+
"id"
|
|
607
|
+
],
|
|
608
|
+
"nameExplicit": false,
|
|
609
|
+
"name": "registration_challenges_pk",
|
|
610
|
+
"table": "registration_challenges",
|
|
611
|
+
"entityType": "pks"
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
"columns": [
|
|
615
|
+
"id"
|
|
616
|
+
],
|
|
617
|
+
"nameExplicit": false,
|
|
618
|
+
"name": "sessions_pk",
|
|
619
|
+
"table": "sessions",
|
|
620
|
+
"entityType": "pks"
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
"columns": [
|
|
624
|
+
{
|
|
625
|
+
"value": "passkey_id",
|
|
626
|
+
"isExpression": false
|
|
627
|
+
}
|
|
628
|
+
],
|
|
629
|
+
"isUnique": false,
|
|
630
|
+
"where": null,
|
|
631
|
+
"origin": "manual",
|
|
632
|
+
"name": "idx_activation_codes_passkey_id",
|
|
633
|
+
"entityType": "indexes",
|
|
634
|
+
"table": "activation_codes"
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"columns": [
|
|
638
|
+
{
|
|
639
|
+
"value": "status",
|
|
640
|
+
"isExpression": false
|
|
641
|
+
}
|
|
642
|
+
],
|
|
643
|
+
"isUnique": false,
|
|
644
|
+
"where": null,
|
|
645
|
+
"origin": "manual",
|
|
646
|
+
"name": "idx_instances_status",
|
|
647
|
+
"entityType": "indexes",
|
|
648
|
+
"table": "instances"
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"columns": [
|
|
652
|
+
{
|
|
653
|
+
"value": "status",
|
|
654
|
+
"isExpression": false
|
|
655
|
+
}
|
|
656
|
+
],
|
|
657
|
+
"isUnique": false,
|
|
658
|
+
"where": null,
|
|
659
|
+
"origin": "manual",
|
|
660
|
+
"name": "idx_passkeys_status",
|
|
661
|
+
"entityType": "indexes",
|
|
662
|
+
"table": "passkeys"
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"columns": [
|
|
666
|
+
{
|
|
667
|
+
"value": "viewer_id",
|
|
668
|
+
"isExpression": false
|
|
669
|
+
},
|
|
670
|
+
{
|
|
671
|
+
"value": "updated_at",
|
|
672
|
+
"isExpression": false
|
|
673
|
+
}
|
|
674
|
+
],
|
|
675
|
+
"isUnique": false,
|
|
676
|
+
"where": null,
|
|
677
|
+
"origin": "manual",
|
|
678
|
+
"name": "idx_session_read_statuses_viewer_updated_at",
|
|
679
|
+
"entityType": "indexes",
|
|
680
|
+
"table": "session_read_statuses"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"columns": [
|
|
684
|
+
{
|
|
685
|
+
"value": "expires_at",
|
|
686
|
+
"isExpression": false
|
|
687
|
+
}
|
|
688
|
+
],
|
|
689
|
+
"isUnique": false,
|
|
690
|
+
"where": null,
|
|
691
|
+
"origin": "manual",
|
|
692
|
+
"name": "idx_sessions_expires_at",
|
|
693
|
+
"entityType": "indexes",
|
|
694
|
+
"table": "sessions"
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"value": "\"status\" in ('starting', 'running', 'stopped', 'error')",
|
|
698
|
+
"name": "instances_status_check",
|
|
699
|
+
"entityType": "checks",
|
|
700
|
+
"table": "instances"
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
"value": "\"status\" in ('pending', 'active', 'revoked')",
|
|
704
|
+
"name": "passkeys_status_check",
|
|
705
|
+
"entityType": "checks",
|
|
706
|
+
"table": "passkeys"
|
|
707
|
+
}
|
|
708
|
+
],
|
|
709
|
+
"renames": []
|
|
710
|
+
}
|