wizards 0.2.12 → 0.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/apps/runtime/dist/authoring/guide.js +8 -2
  2. package/apps/runtime/dist/db/migrations/tenant/0007_space_data.sql +43 -0
  3. package/apps/runtime/dist/db/migrations/tenant/meta/0007_snapshot.json +2012 -0
  4. package/apps/runtime/dist/db/migrations/tenant/meta/_journal.json +7 -0
  5. package/apps/runtime/dist/db/schema.js +55 -0
  6. package/apps/runtime/dist/engine/runner.js +1 -1
  7. package/apps/runtime/dist/routes/api.js +14 -1
  8. package/apps/runtime/dist/routes/runs.js +13 -7
  9. package/apps/runtime/dist/routes/studio.js +89 -1
  10. package/apps/runtime/dist/services/cloud.js +62 -2
  11. package/apps/runtime/dist/services/runs.js +69 -1
  12. package/apps/runtime/dist/services/space-data.js +361 -0
  13. package/apps/runtime/dist/services/spaces.js +95 -1
  14. package/apps/runtime/dist/store/errors.js +3 -0
  15. package/apps/runtime/dist/store/index.js +19 -5
  16. package/apps/runtime/dist/store/shared-lists.js +124 -0
  17. package/apps/runtime/dist/tools/index.js +4 -0
  18. package/apps/runtime/dist/tools/pages.js +51 -0
  19. package/apps/runtime/dist/tools/store.js +3 -3
  20. package/apps/web/dist/assets/Account-CbcLDgwW.js +1 -0
  21. package/apps/web/dist/assets/ChangelogDialog-CPaoAyWM.js +1 -0
  22. package/apps/web/dist/assets/ChatPanel-DzIGwA0b.js +1 -0
  23. package/apps/web/dist/assets/{CreditsDialog-DSjsgLoo.js → CreditsDialog-o9h0Nrui.js} +1 -1
  24. package/apps/web/dist/assets/EditorPage-BPL4_GlP.js +2 -0
  25. package/apps/web/dist/assets/FlowPreview-DdZKsXNh.js +1 -0
  26. package/apps/web/dist/assets/{Harness-DEGZ-_YL.js → Harness-CKcyJvtw.js} +2 -2
  27. package/apps/web/dist/assets/HomePage-DVPGy7jW.js +1 -0
  28. package/apps/web/dist/assets/{ImportWizard-pZCs65kL.js → ImportWizard-CK9fXKct.js} +1 -1
  29. package/apps/web/dist/assets/LocalRuntime-Cjftoi3j.js +1 -0
  30. package/apps/web/dist/assets/NewWizardPage-0GHmokBt.js +2 -0
  31. package/apps/web/dist/assets/ProjectPage-DURhRvUm.js +4 -0
  32. package/apps/web/dist/assets/PublicRunner-BCHg6lbj.js +1 -0
  33. package/apps/web/dist/assets/RunnerView-a_2EqHPo.js +70 -0
  34. package/apps/web/dist/assets/SettingsPage-DPHW6HRz.js +1 -0
  35. package/apps/web/dist/assets/SetupPage-r6tj7oTr.js +1 -0
  36. package/apps/web/dist/assets/SharePage-2Q8SoJLs.js +1 -0
  37. package/apps/web/dist/assets/{api-u3nydnnp.js → api-DTLkC0ge.js} +2 -2
  38. package/apps/web/dist/assets/changelog-5ArxeGsu.js +1 -0
  39. package/apps/web/dist/assets/circle-alert-D2SCwFT-.js +1 -0
  40. package/apps/web/dist/assets/{definition-Co2Mg1qo.js → definition-Dp0DR2D6.js} +1 -1
  41. package/apps/web/dist/assets/{esm-CvV3man4.js → esm-Buv7Ma3z.js} +1 -1
  42. package/apps/web/dist/assets/index-C5pRB5Ah.js +10 -0
  43. package/apps/web/dist/assets/index-DMwk_afK.css +1 -0
  44. package/apps/web/dist/assets/lock-DZL2N67v.js +1 -0
  45. package/apps/web/dist/assets/meta-CDimdOlV.js +1 -0
  46. package/apps/web/dist/assets/refresh-cw-BNtHis1x.js +1 -0
  47. package/apps/web/dist/assets/settings-menu-D1tMZ82V.js +1 -0
  48. package/apps/web/dist/assets/{type-BqbppSsp.js → table-2-BdDuBcF2.js} +1 -1
  49. package/apps/web/dist/assets/ui-CHX2gEQl.js +1 -0
  50. package/apps/web/dist/assets/video-9fDPRPCv.js +1 -0
  51. package/apps/web/dist/index.html +4 -4
  52. package/apps/web/dist/mcp/flow.html +5 -5
  53. package/node_modules/@engenty-wizards/plugin-sdk/dist/studio.d.ts +12 -4
  54. package/node_modules/@engenty-wizards/shared/dist/definition.d.ts +6 -1
  55. package/node_modules/@engenty-wizards/shared/dist/definition.js +36 -2
  56. package/node_modules/@engenty-wizards/shared/dist/space-data.d.ts +69 -0
  57. package/node_modules/@engenty-wizards/shared/dist/space-data.js +46 -0
  58. package/node_modules/@engenty-wizards/shared/dist/store.d.ts +2 -0
  59. package/package.json +1 -1
  60. package/apps/web/dist/assets/Account-BK8Q-U-8.js +0 -1
  61. package/apps/web/dist/assets/ChangelogDialog-BZ8s1isE.js +0 -1
  62. package/apps/web/dist/assets/ChatPanel-CMf1PS2N.js +0 -1
  63. package/apps/web/dist/assets/EditorPage-Bpgiq7aR.js +0 -2
  64. package/apps/web/dist/assets/FlowPreview-B5HrjouC.js +0 -1
  65. package/apps/web/dist/assets/HomePage-DIDJ8Jw1.js +0 -1
  66. package/apps/web/dist/assets/LocalRuntime-DQW6CLg-.js +0 -1
  67. package/apps/web/dist/assets/NewWizardPage-uhIbKcwn.js +0 -2
  68. package/apps/web/dist/assets/ProjectPage-CAMddxGu.js +0 -2
  69. package/apps/web/dist/assets/PublicRunner-jOAbZd2P.js +0 -1
  70. package/apps/web/dist/assets/ReadOnly-B0-ReU_0.js +0 -1
  71. package/apps/web/dist/assets/RunnerView-BThdhY7S.js +0 -2
  72. package/apps/web/dist/assets/SettingsPage-D_6hzTLJ.js +0 -1
  73. package/apps/web/dist/assets/SetupPage-Cvpg9Jyh.js +0 -1
  74. package/apps/web/dist/assets/SharePage-CRSnOm0Z.js +0 -1
  75. package/apps/web/dist/assets/arrow-left-hTN1VoH1.js +0 -1
  76. package/apps/web/dist/assets/changelog-BJqo0vwQ.js +0 -1
  77. package/apps/web/dist/assets/circle-alert-B76z9TWZ.js +0 -1
  78. package/apps/web/dist/assets/index-CQQD8QNR.css +0 -1
  79. package/apps/web/dist/assets/index-CTM5iDwf.js +0 -10
  80. package/apps/web/dist/assets/lock-CzNXAYdi.js +0 -1
  81. package/apps/web/dist/assets/meta-CzzuBWbK.js +0 -1
  82. package/apps/web/dist/assets/mic-Bvz4mA2j.js +0 -1
  83. package/apps/web/dist/assets/outputs-CYynzGBS.js +0 -69
  84. package/apps/web/dist/assets/refresh-cw-Cmk7VCe0.js +0 -1
  85. package/apps/web/dist/assets/ui-gGAdXx-P.js +0 -1
  86. package/apps/web/dist/assets/video-DBmwF1Jm.js +0 -1
@@ -0,0 +1,2012 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "e5bcf4bb-d3aa-47d1-8c1f-8db05271ac38",
5
+ "prevId": "657ea358-ada0-4714-97e2-666c83f82e46",
6
+ "tables": {
7
+ "asset": {
8
+ "name": "asset",
9
+ "columns": {
10
+ "id": {
11
+ "name": "id",
12
+ "type": "text",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "tenant_id": {
18
+ "name": "tenant_id",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false
23
+ },
24
+ "run_id": {
25
+ "name": "run_id",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": false,
29
+ "autoincrement": false
30
+ },
31
+ "step_id": {
32
+ "name": "step_id",
33
+ "type": "text",
34
+ "primaryKey": false,
35
+ "notNull": false,
36
+ "autoincrement": false
37
+ },
38
+ "kind": {
39
+ "name": "kind",
40
+ "type": "text",
41
+ "primaryKey": false,
42
+ "notNull": true,
43
+ "autoincrement": false
44
+ },
45
+ "mime": {
46
+ "name": "mime",
47
+ "type": "text",
48
+ "primaryKey": false,
49
+ "notNull": true,
50
+ "autoincrement": false
51
+ },
52
+ "name": {
53
+ "name": "name",
54
+ "type": "text",
55
+ "primaryKey": false,
56
+ "notNull": true,
57
+ "autoincrement": false
58
+ },
59
+ "path": {
60
+ "name": "path",
61
+ "type": "text",
62
+ "primaryKey": false,
63
+ "notNull": true,
64
+ "autoincrement": false
65
+ },
66
+ "size": {
67
+ "name": "size",
68
+ "type": "integer",
69
+ "primaryKey": false,
70
+ "notNull": true,
71
+ "autoincrement": false
72
+ },
73
+ "created_at": {
74
+ "name": "created_at",
75
+ "type": "integer",
76
+ "primaryKey": false,
77
+ "notNull": true,
78
+ "autoincrement": false,
79
+ "default": "(unixepoch() * 1000)"
80
+ }
81
+ },
82
+ "indexes": {
83
+ "asset_run": {
84
+ "name": "asset_run",
85
+ "columns": [
86
+ "run_id"
87
+ ],
88
+ "isUnique": false
89
+ }
90
+ },
91
+ "foreignKeys": {},
92
+ "compositePrimaryKeys": {},
93
+ "uniqueConstraints": {},
94
+ "checkConstraints": {}
95
+ },
96
+ "marketplace_star": {
97
+ "name": "marketplace_star",
98
+ "columns": {
99
+ "tenant_id": {
100
+ "name": "tenant_id",
101
+ "type": "text",
102
+ "primaryKey": false,
103
+ "notNull": true,
104
+ "autoincrement": false
105
+ },
106
+ "entry_id": {
107
+ "name": "entry_id",
108
+ "type": "text",
109
+ "primaryKey": false,
110
+ "notNull": true,
111
+ "autoincrement": false
112
+ },
113
+ "created_at": {
114
+ "name": "created_at",
115
+ "type": "integer",
116
+ "primaryKey": false,
117
+ "notNull": true,
118
+ "autoincrement": false,
119
+ "default": "(unixepoch() * 1000)"
120
+ }
121
+ },
122
+ "indexes": {},
123
+ "foreignKeys": {},
124
+ "compositePrimaryKeys": {
125
+ "marketplace_star_tenant_id_entry_id_pk": {
126
+ "columns": [
127
+ "tenant_id",
128
+ "entry_id"
129
+ ],
130
+ "name": "marketplace_star_tenant_id_entry_id_pk"
131
+ }
132
+ },
133
+ "uniqueConstraints": {},
134
+ "checkConstraints": {}
135
+ },
136
+ "project": {
137
+ "name": "project",
138
+ "columns": {
139
+ "id": {
140
+ "name": "id",
141
+ "type": "text",
142
+ "primaryKey": true,
143
+ "notNull": true,
144
+ "autoincrement": false
145
+ },
146
+ "tenant_id": {
147
+ "name": "tenant_id",
148
+ "type": "text",
149
+ "primaryKey": false,
150
+ "notNull": true,
151
+ "autoincrement": false
152
+ },
153
+ "name": {
154
+ "name": "name",
155
+ "type": "text",
156
+ "primaryKey": false,
157
+ "notNull": true,
158
+ "autoincrement": false
159
+ },
160
+ "brand": {
161
+ "name": "brand",
162
+ "type": "text",
163
+ "primaryKey": false,
164
+ "notNull": true,
165
+ "autoincrement": false,
166
+ "default": "'{}'"
167
+ },
168
+ "facts": {
169
+ "name": "facts",
170
+ "type": "text",
171
+ "primaryKey": false,
172
+ "notNull": true,
173
+ "autoincrement": false,
174
+ "default": "'[]'"
175
+ },
176
+ "mcp_servers": {
177
+ "name": "mcp_servers",
178
+ "type": "text",
179
+ "primaryKey": false,
180
+ "notNull": true,
181
+ "autoincrement": false,
182
+ "default": "'[]'"
183
+ },
184
+ "origin": {
185
+ "name": "origin",
186
+ "type": "text",
187
+ "primaryKey": false,
188
+ "notNull": false,
189
+ "autoincrement": false
190
+ },
191
+ "synced_at": {
192
+ "name": "synced_at",
193
+ "type": "integer",
194
+ "primaryKey": false,
195
+ "notNull": false,
196
+ "autoincrement": false
197
+ },
198
+ "created_at": {
199
+ "name": "created_at",
200
+ "type": "integer",
201
+ "primaryKey": false,
202
+ "notNull": true,
203
+ "autoincrement": false,
204
+ "default": "(unixepoch() * 1000)"
205
+ },
206
+ "updated_at": {
207
+ "name": "updated_at",
208
+ "type": "integer",
209
+ "primaryKey": false,
210
+ "notNull": true,
211
+ "autoincrement": false,
212
+ "default": "(unixepoch() * 1000)"
213
+ }
214
+ },
215
+ "indexes": {
216
+ "project_tenant": {
217
+ "name": "project_tenant",
218
+ "columns": [
219
+ "tenant_id"
220
+ ],
221
+ "isUnique": false
222
+ }
223
+ },
224
+ "foreignKeys": {},
225
+ "compositePrimaryKeys": {},
226
+ "uniqueConstraints": {},
227
+ "checkConstraints": {}
228
+ },
229
+ "project_chunk": {
230
+ "name": "project_chunk",
231
+ "columns": {
232
+ "id": {
233
+ "name": "id",
234
+ "type": "integer",
235
+ "primaryKey": true,
236
+ "notNull": true,
237
+ "autoincrement": true
238
+ },
239
+ "project_id": {
240
+ "name": "project_id",
241
+ "type": "text",
242
+ "primaryKey": false,
243
+ "notNull": true,
244
+ "autoincrement": false
245
+ },
246
+ "file_id": {
247
+ "name": "file_id",
248
+ "type": "text",
249
+ "primaryKey": false,
250
+ "notNull": false,
251
+ "autoincrement": false
252
+ },
253
+ "plugin": {
254
+ "name": "plugin",
255
+ "type": "text",
256
+ "primaryKey": false,
257
+ "notNull": false,
258
+ "autoincrement": false
259
+ },
260
+ "ref": {
261
+ "name": "ref",
262
+ "type": "text",
263
+ "primaryKey": false,
264
+ "notNull": false,
265
+ "autoincrement": false
266
+ },
267
+ "title": {
268
+ "name": "title",
269
+ "type": "text",
270
+ "primaryKey": false,
271
+ "notNull": false,
272
+ "autoincrement": false
273
+ },
274
+ "link": {
275
+ "name": "link",
276
+ "type": "text",
277
+ "primaryKey": false,
278
+ "notNull": false,
279
+ "autoincrement": false
280
+ },
281
+ "idx": {
282
+ "name": "idx",
283
+ "type": "integer",
284
+ "primaryKey": false,
285
+ "notNull": true,
286
+ "autoincrement": false
287
+ },
288
+ "text": {
289
+ "name": "text",
290
+ "type": "text",
291
+ "primaryKey": false,
292
+ "notNull": true,
293
+ "autoincrement": false
294
+ },
295
+ "embedding": {
296
+ "name": "embedding",
297
+ "type": "blob",
298
+ "primaryKey": false,
299
+ "notNull": false,
300
+ "autoincrement": false
301
+ },
302
+ "model": {
303
+ "name": "model",
304
+ "type": "text",
305
+ "primaryKey": false,
306
+ "notNull": false,
307
+ "autoincrement": false
308
+ }
309
+ },
310
+ "indexes": {
311
+ "project_chunk_project": {
312
+ "name": "project_chunk_project",
313
+ "columns": [
314
+ "project_id",
315
+ "model"
316
+ ],
317
+ "isUnique": false
318
+ },
319
+ "project_chunk_file": {
320
+ "name": "project_chunk_file",
321
+ "columns": [
322
+ "file_id"
323
+ ],
324
+ "isUnique": false
325
+ },
326
+ "project_chunk_ref": {
327
+ "name": "project_chunk_ref",
328
+ "columns": [
329
+ "project_id",
330
+ "plugin",
331
+ "ref"
332
+ ],
333
+ "isUnique": false
334
+ }
335
+ },
336
+ "foreignKeys": {
337
+ "project_chunk_project_id_project_id_fk": {
338
+ "name": "project_chunk_project_id_project_id_fk",
339
+ "tableFrom": "project_chunk",
340
+ "tableTo": "project",
341
+ "columnsFrom": [
342
+ "project_id"
343
+ ],
344
+ "columnsTo": [
345
+ "id"
346
+ ],
347
+ "onDelete": "cascade",
348
+ "onUpdate": "no action"
349
+ },
350
+ "project_chunk_file_id_project_file_id_fk": {
351
+ "name": "project_chunk_file_id_project_file_id_fk",
352
+ "tableFrom": "project_chunk",
353
+ "tableTo": "project_file",
354
+ "columnsFrom": [
355
+ "file_id"
356
+ ],
357
+ "columnsTo": [
358
+ "id"
359
+ ],
360
+ "onDelete": "cascade",
361
+ "onUpdate": "no action"
362
+ }
363
+ },
364
+ "compositePrimaryKeys": {},
365
+ "uniqueConstraints": {},
366
+ "checkConstraints": {}
367
+ },
368
+ "project_connector": {
369
+ "name": "project_connector",
370
+ "columns": {
371
+ "project_id": {
372
+ "name": "project_id",
373
+ "type": "text",
374
+ "primaryKey": false,
375
+ "notNull": true,
376
+ "autoincrement": false
377
+ },
378
+ "id": {
379
+ "name": "id",
380
+ "type": "text",
381
+ "primaryKey": false,
382
+ "notNull": true,
383
+ "autoincrement": false
384
+ },
385
+ "record": {
386
+ "name": "record",
387
+ "type": "text",
388
+ "primaryKey": false,
389
+ "notNull": true,
390
+ "autoincrement": false
391
+ },
392
+ "created_at": {
393
+ "name": "created_at",
394
+ "type": "integer",
395
+ "primaryKey": false,
396
+ "notNull": true,
397
+ "autoincrement": false,
398
+ "default": "(unixepoch() * 1000)"
399
+ },
400
+ "updated_at": {
401
+ "name": "updated_at",
402
+ "type": "integer",
403
+ "primaryKey": false,
404
+ "notNull": true,
405
+ "autoincrement": false,
406
+ "default": "(unixepoch() * 1000)"
407
+ }
408
+ },
409
+ "indexes": {},
410
+ "foreignKeys": {
411
+ "project_connector_project_id_project_id_fk": {
412
+ "name": "project_connector_project_id_project_id_fk",
413
+ "tableFrom": "project_connector",
414
+ "tableTo": "project",
415
+ "columnsFrom": [
416
+ "project_id"
417
+ ],
418
+ "columnsTo": [
419
+ "id"
420
+ ],
421
+ "onDelete": "cascade",
422
+ "onUpdate": "no action"
423
+ }
424
+ },
425
+ "compositePrimaryKeys": {
426
+ "project_connector_project_id_id_pk": {
427
+ "columns": [
428
+ "project_id",
429
+ "id"
430
+ ],
431
+ "name": "project_connector_project_id_id_pk"
432
+ }
433
+ },
434
+ "uniqueConstraints": {},
435
+ "checkConstraints": {}
436
+ },
437
+ "project_file": {
438
+ "name": "project_file",
439
+ "columns": {
440
+ "id": {
441
+ "name": "id",
442
+ "type": "text",
443
+ "primaryKey": true,
444
+ "notNull": true,
445
+ "autoincrement": false
446
+ },
447
+ "project_id": {
448
+ "name": "project_id",
449
+ "type": "text",
450
+ "primaryKey": false,
451
+ "notNull": true,
452
+ "autoincrement": false
453
+ },
454
+ "kind": {
455
+ "name": "kind",
456
+ "type": "text",
457
+ "primaryKey": false,
458
+ "notNull": true,
459
+ "autoincrement": false
460
+ },
461
+ "name": {
462
+ "name": "name",
463
+ "type": "text",
464
+ "primaryKey": false,
465
+ "notNull": true,
466
+ "autoincrement": false
467
+ },
468
+ "mime": {
469
+ "name": "mime",
470
+ "type": "text",
471
+ "primaryKey": false,
472
+ "notNull": true,
473
+ "autoincrement": false
474
+ },
475
+ "size": {
476
+ "name": "size",
477
+ "type": "integer",
478
+ "primaryKey": false,
479
+ "notNull": true,
480
+ "autoincrement": false
481
+ },
482
+ "description": {
483
+ "name": "description",
484
+ "type": "text",
485
+ "primaryKey": false,
486
+ "notNull": true,
487
+ "autoincrement": false,
488
+ "default": "''"
489
+ },
490
+ "source": {
491
+ "name": "source",
492
+ "type": "text",
493
+ "primaryKey": false,
494
+ "notNull": false,
495
+ "autoincrement": false
496
+ },
497
+ "position": {
498
+ "name": "position",
499
+ "type": "integer",
500
+ "primaryKey": false,
501
+ "notNull": true,
502
+ "autoincrement": false,
503
+ "default": 0
504
+ },
505
+ "status": {
506
+ "name": "status",
507
+ "type": "text",
508
+ "primaryKey": false,
509
+ "notNull": true,
510
+ "autoincrement": false,
511
+ "default": "'ready'"
512
+ },
513
+ "error": {
514
+ "name": "error",
515
+ "type": "text",
516
+ "primaryKey": false,
517
+ "notNull": false,
518
+ "autoincrement": false
519
+ },
520
+ "text_hash": {
521
+ "name": "text_hash",
522
+ "type": "text",
523
+ "primaryKey": false,
524
+ "notNull": false,
525
+ "autoincrement": false
526
+ },
527
+ "pages": {
528
+ "name": "pages",
529
+ "type": "integer",
530
+ "primaryKey": false,
531
+ "notNull": false,
532
+ "autoincrement": false
533
+ },
534
+ "chars": {
535
+ "name": "chars",
536
+ "type": "integer",
537
+ "primaryKey": false,
538
+ "notNull": false,
539
+ "autoincrement": false
540
+ },
541
+ "indexed": {
542
+ "name": "indexed",
543
+ "type": "text",
544
+ "primaryKey": false,
545
+ "notNull": false,
546
+ "autoincrement": false
547
+ },
548
+ "created_at": {
549
+ "name": "created_at",
550
+ "type": "integer",
551
+ "primaryKey": false,
552
+ "notNull": true,
553
+ "autoincrement": false,
554
+ "default": "(unixepoch() * 1000)"
555
+ },
556
+ "updated_at": {
557
+ "name": "updated_at",
558
+ "type": "integer",
559
+ "primaryKey": false,
560
+ "notNull": true,
561
+ "autoincrement": false,
562
+ "default": "(unixepoch() * 1000)"
563
+ }
564
+ },
565
+ "indexes": {
566
+ "project_file_project": {
567
+ "name": "project_file_project",
568
+ "columns": [
569
+ "project_id",
570
+ "kind",
571
+ "position"
572
+ ],
573
+ "isUnique": false
574
+ }
575
+ },
576
+ "foreignKeys": {
577
+ "project_file_project_id_project_id_fk": {
578
+ "name": "project_file_project_id_project_id_fk",
579
+ "tableFrom": "project_file",
580
+ "tableTo": "project",
581
+ "columnsFrom": [
582
+ "project_id"
583
+ ],
584
+ "columnsTo": [
585
+ "id"
586
+ ],
587
+ "onDelete": "cascade",
588
+ "onUpdate": "no action"
589
+ }
590
+ },
591
+ "compositePrimaryKeys": {},
592
+ "uniqueConstraints": {},
593
+ "checkConstraints": {}
594
+ },
595
+ "run": {
596
+ "name": "run",
597
+ "columns": {
598
+ "id": {
599
+ "name": "id",
600
+ "type": "text",
601
+ "primaryKey": true,
602
+ "notNull": true,
603
+ "autoincrement": false
604
+ },
605
+ "wizard_id": {
606
+ "name": "wizard_id",
607
+ "type": "text",
608
+ "primaryKey": false,
609
+ "notNull": true,
610
+ "autoincrement": false
611
+ },
612
+ "tenant_id": {
613
+ "name": "tenant_id",
614
+ "type": "text",
615
+ "primaryKey": false,
616
+ "notNull": true,
617
+ "autoincrement": false
618
+ },
619
+ "definition": {
620
+ "name": "definition",
621
+ "type": "text",
622
+ "primaryKey": false,
623
+ "notNull": true,
624
+ "autoincrement": false
625
+ },
626
+ "files": {
627
+ "name": "files",
628
+ "type": "text",
629
+ "primaryKey": false,
630
+ "notNull": true,
631
+ "autoincrement": false,
632
+ "default": "'[]'"
633
+ },
634
+ "version": {
635
+ "name": "version",
636
+ "type": "integer",
637
+ "primaryKey": false,
638
+ "notNull": false,
639
+ "autoincrement": false
640
+ },
641
+ "mode": {
642
+ "name": "mode",
643
+ "type": "text",
644
+ "primaryKey": false,
645
+ "notNull": true,
646
+ "autoincrement": false
647
+ },
648
+ "visitor_id": {
649
+ "name": "visitor_id",
650
+ "type": "text",
651
+ "primaryKey": false,
652
+ "notNull": false,
653
+ "autoincrement": false
654
+ },
655
+ "user_id": {
656
+ "name": "user_id",
657
+ "type": "text",
658
+ "primaryKey": false,
659
+ "notNull": false,
660
+ "autoincrement": false
661
+ },
662
+ "ip_hash": {
663
+ "name": "ip_hash",
664
+ "type": "text",
665
+ "primaryKey": false,
666
+ "notNull": false,
667
+ "autoincrement": false
668
+ },
669
+ "status": {
670
+ "name": "status",
671
+ "type": "text",
672
+ "primaryKey": false,
673
+ "notNull": true,
674
+ "autoincrement": false
675
+ },
676
+ "cursor": {
677
+ "name": "cursor",
678
+ "type": "text",
679
+ "primaryKey": false,
680
+ "notNull": false,
681
+ "autoincrement": false
682
+ },
683
+ "state": {
684
+ "name": "state",
685
+ "type": "text",
686
+ "primaryKey": false,
687
+ "notNull": true,
688
+ "autoincrement": false
689
+ },
690
+ "error": {
691
+ "name": "error",
692
+ "type": "text",
693
+ "primaryKey": false,
694
+ "notNull": false,
695
+ "autoincrement": false
696
+ },
697
+ "ask": {
698
+ "name": "ask",
699
+ "type": "text",
700
+ "primaryKey": false,
701
+ "notNull": false,
702
+ "autoincrement": false
703
+ },
704
+ "cost_micros": {
705
+ "name": "cost_micros",
706
+ "type": "integer",
707
+ "primaryKey": false,
708
+ "notNull": true,
709
+ "autoincrement": false,
710
+ "default": 0
711
+ },
712
+ "share_token": {
713
+ "name": "share_token",
714
+ "type": "text",
715
+ "primaryKey": false,
716
+ "notNull": false,
717
+ "autoincrement": false
718
+ },
719
+ "shared_at": {
720
+ "name": "shared_at",
721
+ "type": "integer",
722
+ "primaryKey": false,
723
+ "notNull": false,
724
+ "autoincrement": false
725
+ },
726
+ "expires_at": {
727
+ "name": "expires_at",
728
+ "type": "integer",
729
+ "primaryKey": false,
730
+ "notNull": false,
731
+ "autoincrement": false
732
+ },
733
+ "created_at": {
734
+ "name": "created_at",
735
+ "type": "integer",
736
+ "primaryKey": false,
737
+ "notNull": true,
738
+ "autoincrement": false,
739
+ "default": "(unixepoch() * 1000)"
740
+ },
741
+ "updated_at": {
742
+ "name": "updated_at",
743
+ "type": "integer",
744
+ "primaryKey": false,
745
+ "notNull": true,
746
+ "autoincrement": false,
747
+ "default": "(unixepoch() * 1000)"
748
+ }
749
+ },
750
+ "indexes": {
751
+ "run_share_token": {
752
+ "name": "run_share_token",
753
+ "columns": [
754
+ "share_token"
755
+ ],
756
+ "isUnique": true
757
+ },
758
+ "run_expires": {
759
+ "name": "run_expires",
760
+ "columns": [
761
+ "expires_at"
762
+ ],
763
+ "isUnique": false
764
+ },
765
+ "run_wizard": {
766
+ "name": "run_wizard",
767
+ "columns": [
768
+ "wizard_id",
769
+ "created_at"
770
+ ],
771
+ "isUnique": false
772
+ },
773
+ "run_visitor": {
774
+ "name": "run_visitor",
775
+ "columns": [
776
+ "visitor_id",
777
+ "created_at"
778
+ ],
779
+ "isUnique": false
780
+ },
781
+ "run_status": {
782
+ "name": "run_status",
783
+ "columns": [
784
+ "status"
785
+ ],
786
+ "isUnique": false
787
+ }
788
+ },
789
+ "foreignKeys": {
790
+ "run_wizard_id_wizard_id_fk": {
791
+ "name": "run_wizard_id_wizard_id_fk",
792
+ "tableFrom": "run",
793
+ "tableTo": "wizard",
794
+ "columnsFrom": [
795
+ "wizard_id"
796
+ ],
797
+ "columnsTo": [
798
+ "id"
799
+ ],
800
+ "onDelete": "cascade",
801
+ "onUpdate": "no action"
802
+ }
803
+ },
804
+ "compositePrimaryKeys": {},
805
+ "uniqueConstraints": {},
806
+ "checkConstraints": {}
807
+ },
808
+ "run_cost": {
809
+ "name": "run_cost",
810
+ "columns": {
811
+ "run_id": {
812
+ "name": "run_id",
813
+ "type": "text",
814
+ "primaryKey": false,
815
+ "notNull": true,
816
+ "autoincrement": false
817
+ },
818
+ "step_id": {
819
+ "name": "step_id",
820
+ "type": "text",
821
+ "primaryKey": false,
822
+ "notNull": true,
823
+ "autoincrement": false
824
+ },
825
+ "micros": {
826
+ "name": "micros",
827
+ "type": "integer",
828
+ "primaryKey": false,
829
+ "notNull": true,
830
+ "autoincrement": false,
831
+ "default": 0
832
+ }
833
+ },
834
+ "indexes": {},
835
+ "foreignKeys": {
836
+ "run_cost_run_id_run_id_fk": {
837
+ "name": "run_cost_run_id_run_id_fk",
838
+ "tableFrom": "run_cost",
839
+ "tableTo": "run",
840
+ "columnsFrom": [
841
+ "run_id"
842
+ ],
843
+ "columnsTo": [
844
+ "id"
845
+ ],
846
+ "onDelete": "cascade",
847
+ "onUpdate": "no action"
848
+ }
849
+ },
850
+ "compositePrimaryKeys": {
851
+ "run_cost_run_id_step_id_pk": {
852
+ "columns": [
853
+ "run_id",
854
+ "step_id"
855
+ ],
856
+ "name": "run_cost_run_id_step_id_pk"
857
+ }
858
+ },
859
+ "uniqueConstraints": {},
860
+ "checkConstraints": {}
861
+ },
862
+ "run_event": {
863
+ "name": "run_event",
864
+ "columns": {
865
+ "id": {
866
+ "name": "id",
867
+ "type": "integer",
868
+ "primaryKey": true,
869
+ "notNull": true,
870
+ "autoincrement": true
871
+ },
872
+ "run_id": {
873
+ "name": "run_id",
874
+ "type": "text",
875
+ "primaryKey": false,
876
+ "notNull": true,
877
+ "autoincrement": false
878
+ },
879
+ "step_id": {
880
+ "name": "step_id",
881
+ "type": "text",
882
+ "primaryKey": false,
883
+ "notNull": false,
884
+ "autoincrement": false
885
+ },
886
+ "type": {
887
+ "name": "type",
888
+ "type": "text",
889
+ "primaryKey": false,
890
+ "notNull": true,
891
+ "autoincrement": false
892
+ },
893
+ "message": {
894
+ "name": "message",
895
+ "type": "text",
896
+ "primaryKey": false,
897
+ "notNull": true,
898
+ "autoincrement": false
899
+ },
900
+ "asset_id": {
901
+ "name": "asset_id",
902
+ "type": "text",
903
+ "primaryKey": false,
904
+ "notNull": false,
905
+ "autoincrement": false
906
+ },
907
+ "created_at": {
908
+ "name": "created_at",
909
+ "type": "integer",
910
+ "primaryKey": false,
911
+ "notNull": true,
912
+ "autoincrement": false,
913
+ "default": "(unixepoch() * 1000)"
914
+ }
915
+ },
916
+ "indexes": {
917
+ "run_event_run": {
918
+ "name": "run_event_run",
919
+ "columns": [
920
+ "run_id",
921
+ "id"
922
+ ],
923
+ "isUnique": false
924
+ }
925
+ },
926
+ "foreignKeys": {
927
+ "run_event_run_id_run_id_fk": {
928
+ "name": "run_event_run_id_run_id_fk",
929
+ "tableFrom": "run_event",
930
+ "tableTo": "run",
931
+ "columnsFrom": [
932
+ "run_id"
933
+ ],
934
+ "columnsTo": [
935
+ "id"
936
+ ],
937
+ "onDelete": "cascade",
938
+ "onUpdate": "no action"
939
+ }
940
+ },
941
+ "compositePrimaryKeys": {},
942
+ "uniqueConstraints": {},
943
+ "checkConstraints": {}
944
+ },
945
+ "space_page": {
946
+ "name": "space_page",
947
+ "columns": {
948
+ "id": {
949
+ "name": "id",
950
+ "type": "text",
951
+ "primaryKey": true,
952
+ "notNull": true,
953
+ "autoincrement": false
954
+ },
955
+ "tenant_id": {
956
+ "name": "tenant_id",
957
+ "type": "text",
958
+ "primaryKey": false,
959
+ "notNull": true,
960
+ "autoincrement": false
961
+ },
962
+ "project_id": {
963
+ "name": "project_id",
964
+ "type": "text",
965
+ "primaryKey": false,
966
+ "notNull": true,
967
+ "autoincrement": false
968
+ },
969
+ "wizard_id": {
970
+ "name": "wizard_id",
971
+ "type": "text",
972
+ "primaryKey": false,
973
+ "notNull": false,
974
+ "autoincrement": false
975
+ },
976
+ "title": {
977
+ "name": "title",
978
+ "type": "text",
979
+ "primaryKey": false,
980
+ "notNull": true,
981
+ "autoincrement": false
982
+ },
983
+ "markdown": {
984
+ "name": "markdown",
985
+ "type": "text",
986
+ "primaryKey": false,
987
+ "notNull": true,
988
+ "autoincrement": false,
989
+ "default": "''"
990
+ },
991
+ "created_at": {
992
+ "name": "created_at",
993
+ "type": "integer",
994
+ "primaryKey": false,
995
+ "notNull": true,
996
+ "autoincrement": false,
997
+ "default": "(unixepoch() * 1000)"
998
+ },
999
+ "updated_at": {
1000
+ "name": "updated_at",
1001
+ "type": "integer",
1002
+ "primaryKey": false,
1003
+ "notNull": true,
1004
+ "autoincrement": false,
1005
+ "default": "(unixepoch() * 1000)"
1006
+ }
1007
+ },
1008
+ "indexes": {
1009
+ "space_page_project": {
1010
+ "name": "space_page_project",
1011
+ "columns": [
1012
+ "project_id",
1013
+ "wizard_id"
1014
+ ],
1015
+ "isUnique": false
1016
+ }
1017
+ },
1018
+ "foreignKeys": {
1019
+ "space_page_project_id_project_id_fk": {
1020
+ "name": "space_page_project_id_project_id_fk",
1021
+ "tableFrom": "space_page",
1022
+ "tableTo": "project",
1023
+ "columnsFrom": [
1024
+ "project_id"
1025
+ ],
1026
+ "columnsTo": [
1027
+ "id"
1028
+ ],
1029
+ "onDelete": "cascade",
1030
+ "onUpdate": "no action"
1031
+ },
1032
+ "space_page_wizard_id_wizard_id_fk": {
1033
+ "name": "space_page_wizard_id_wizard_id_fk",
1034
+ "tableFrom": "space_page",
1035
+ "tableTo": "wizard",
1036
+ "columnsFrom": [
1037
+ "wizard_id"
1038
+ ],
1039
+ "columnsTo": [
1040
+ "id"
1041
+ ],
1042
+ "onDelete": "cascade",
1043
+ "onUpdate": "no action"
1044
+ }
1045
+ },
1046
+ "compositePrimaryKeys": {},
1047
+ "uniqueConstraints": {},
1048
+ "checkConstraints": {}
1049
+ },
1050
+ "space_table": {
1051
+ "name": "space_table",
1052
+ "columns": {
1053
+ "id": {
1054
+ "name": "id",
1055
+ "type": "text",
1056
+ "primaryKey": true,
1057
+ "notNull": true,
1058
+ "autoincrement": false
1059
+ },
1060
+ "tenant_id": {
1061
+ "name": "tenant_id",
1062
+ "type": "text",
1063
+ "primaryKey": false,
1064
+ "notNull": true,
1065
+ "autoincrement": false
1066
+ },
1067
+ "project_id": {
1068
+ "name": "project_id",
1069
+ "type": "text",
1070
+ "primaryKey": false,
1071
+ "notNull": true,
1072
+ "autoincrement": false
1073
+ },
1074
+ "wizard_id": {
1075
+ "name": "wizard_id",
1076
+ "type": "text",
1077
+ "primaryKey": false,
1078
+ "notNull": false,
1079
+ "autoincrement": false
1080
+ },
1081
+ "list": {
1082
+ "name": "list",
1083
+ "type": "text",
1084
+ "primaryKey": false,
1085
+ "notNull": false,
1086
+ "autoincrement": false
1087
+ },
1088
+ "key_column": {
1089
+ "name": "key_column",
1090
+ "type": "text",
1091
+ "primaryKey": false,
1092
+ "notNull": false,
1093
+ "autoincrement": false
1094
+ },
1095
+ "title": {
1096
+ "name": "title",
1097
+ "type": "text",
1098
+ "primaryKey": false,
1099
+ "notNull": true,
1100
+ "autoincrement": false
1101
+ },
1102
+ "columns": {
1103
+ "name": "columns",
1104
+ "type": "text",
1105
+ "primaryKey": false,
1106
+ "notNull": true,
1107
+ "autoincrement": false
1108
+ },
1109
+ "created_at": {
1110
+ "name": "created_at",
1111
+ "type": "integer",
1112
+ "primaryKey": false,
1113
+ "notNull": true,
1114
+ "autoincrement": false,
1115
+ "default": "(unixepoch() * 1000)"
1116
+ },
1117
+ "updated_at": {
1118
+ "name": "updated_at",
1119
+ "type": "integer",
1120
+ "primaryKey": false,
1121
+ "notNull": true,
1122
+ "autoincrement": false,
1123
+ "default": "(unixepoch() * 1000)"
1124
+ }
1125
+ },
1126
+ "indexes": {
1127
+ "space_table_project": {
1128
+ "name": "space_table_project",
1129
+ "columns": [
1130
+ "project_id",
1131
+ "wizard_id"
1132
+ ],
1133
+ "isUnique": false
1134
+ },
1135
+ "space_table_list": {
1136
+ "name": "space_table_list",
1137
+ "columns": [
1138
+ "wizard_id",
1139
+ "list"
1140
+ ],
1141
+ "isUnique": true
1142
+ }
1143
+ },
1144
+ "foreignKeys": {
1145
+ "space_table_project_id_project_id_fk": {
1146
+ "name": "space_table_project_id_project_id_fk",
1147
+ "tableFrom": "space_table",
1148
+ "tableTo": "project",
1149
+ "columnsFrom": [
1150
+ "project_id"
1151
+ ],
1152
+ "columnsTo": [
1153
+ "id"
1154
+ ],
1155
+ "onDelete": "cascade",
1156
+ "onUpdate": "no action"
1157
+ },
1158
+ "space_table_wizard_id_wizard_id_fk": {
1159
+ "name": "space_table_wizard_id_wizard_id_fk",
1160
+ "tableFrom": "space_table",
1161
+ "tableTo": "wizard",
1162
+ "columnsFrom": [
1163
+ "wizard_id"
1164
+ ],
1165
+ "columnsTo": [
1166
+ "id"
1167
+ ],
1168
+ "onDelete": "cascade",
1169
+ "onUpdate": "no action"
1170
+ }
1171
+ },
1172
+ "compositePrimaryKeys": {},
1173
+ "uniqueConstraints": {},
1174
+ "checkConstraints": {}
1175
+ },
1176
+ "space_table_row": {
1177
+ "name": "space_table_row",
1178
+ "columns": {
1179
+ "id": {
1180
+ "name": "id",
1181
+ "type": "text",
1182
+ "primaryKey": true,
1183
+ "notNull": true,
1184
+ "autoincrement": false
1185
+ },
1186
+ "table_id": {
1187
+ "name": "table_id",
1188
+ "type": "text",
1189
+ "primaryKey": false,
1190
+ "notNull": true,
1191
+ "autoincrement": false
1192
+ },
1193
+ "key": {
1194
+ "name": "key",
1195
+ "type": "text",
1196
+ "primaryKey": false,
1197
+ "notNull": false,
1198
+ "autoincrement": false
1199
+ },
1200
+ "cells": {
1201
+ "name": "cells",
1202
+ "type": "text",
1203
+ "primaryKey": false,
1204
+ "notNull": true,
1205
+ "autoincrement": false
1206
+ },
1207
+ "created_at": {
1208
+ "name": "created_at",
1209
+ "type": "integer",
1210
+ "primaryKey": false,
1211
+ "notNull": true,
1212
+ "autoincrement": false,
1213
+ "default": "(unixepoch() * 1000)"
1214
+ },
1215
+ "updated_at": {
1216
+ "name": "updated_at",
1217
+ "type": "integer",
1218
+ "primaryKey": false,
1219
+ "notNull": true,
1220
+ "autoincrement": false,
1221
+ "default": "(unixepoch() * 1000)"
1222
+ }
1223
+ },
1224
+ "indexes": {
1225
+ "space_table_row_table": {
1226
+ "name": "space_table_row_table",
1227
+ "columns": [
1228
+ "table_id",
1229
+ "created_at"
1230
+ ],
1231
+ "isUnique": false
1232
+ },
1233
+ "space_table_row_key": {
1234
+ "name": "space_table_row_key",
1235
+ "columns": [
1236
+ "table_id",
1237
+ "key"
1238
+ ],
1239
+ "isUnique": false
1240
+ }
1241
+ },
1242
+ "foreignKeys": {
1243
+ "space_table_row_table_id_space_table_id_fk": {
1244
+ "name": "space_table_row_table_id_space_table_id_fk",
1245
+ "tableFrom": "space_table_row",
1246
+ "tableTo": "space_table",
1247
+ "columnsFrom": [
1248
+ "table_id"
1249
+ ],
1250
+ "columnsTo": [
1251
+ "id"
1252
+ ],
1253
+ "onDelete": "cascade",
1254
+ "onUpdate": "no action"
1255
+ }
1256
+ },
1257
+ "compositePrimaryKeys": {},
1258
+ "uniqueConstraints": {},
1259
+ "checkConstraints": {}
1260
+ },
1261
+ "store_file": {
1262
+ "name": "store_file",
1263
+ "columns": {
1264
+ "wizard_id": {
1265
+ "name": "wizard_id",
1266
+ "type": "text",
1267
+ "primaryKey": false,
1268
+ "notNull": true,
1269
+ "autoincrement": false
1270
+ },
1271
+ "holder": {
1272
+ "name": "holder",
1273
+ "type": "text",
1274
+ "primaryKey": false,
1275
+ "notNull": true,
1276
+ "autoincrement": false
1277
+ },
1278
+ "path": {
1279
+ "name": "path",
1280
+ "type": "text",
1281
+ "primaryKey": false,
1282
+ "notNull": true,
1283
+ "autoincrement": false
1284
+ },
1285
+ "hash": {
1286
+ "name": "hash",
1287
+ "type": "text",
1288
+ "primaryKey": false,
1289
+ "notNull": true,
1290
+ "autoincrement": false
1291
+ },
1292
+ "mime": {
1293
+ "name": "mime",
1294
+ "type": "text",
1295
+ "primaryKey": false,
1296
+ "notNull": true,
1297
+ "autoincrement": false
1298
+ },
1299
+ "size": {
1300
+ "name": "size",
1301
+ "type": "integer",
1302
+ "primaryKey": false,
1303
+ "notNull": true,
1304
+ "autoincrement": false
1305
+ },
1306
+ "source": {
1307
+ "name": "source",
1308
+ "type": "text",
1309
+ "primaryKey": false,
1310
+ "notNull": false,
1311
+ "autoincrement": false
1312
+ },
1313
+ "updated_at": {
1314
+ "name": "updated_at",
1315
+ "type": "integer",
1316
+ "primaryKey": false,
1317
+ "notNull": true,
1318
+ "autoincrement": false,
1319
+ "default": "(unixepoch() * 1000)"
1320
+ }
1321
+ },
1322
+ "indexes": {},
1323
+ "foreignKeys": {
1324
+ "store_file_wizard_id_wizard_id_fk": {
1325
+ "name": "store_file_wizard_id_wizard_id_fk",
1326
+ "tableFrom": "store_file",
1327
+ "tableTo": "wizard",
1328
+ "columnsFrom": [
1329
+ "wizard_id"
1330
+ ],
1331
+ "columnsTo": [
1332
+ "id"
1333
+ ],
1334
+ "onDelete": "cascade",
1335
+ "onUpdate": "no action"
1336
+ }
1337
+ },
1338
+ "compositePrimaryKeys": {
1339
+ "store_file_wizard_id_holder_path_pk": {
1340
+ "columns": [
1341
+ "wizard_id",
1342
+ "holder",
1343
+ "path"
1344
+ ],
1345
+ "name": "store_file_wizard_id_holder_path_pk"
1346
+ }
1347
+ },
1348
+ "uniqueConstraints": {},
1349
+ "checkConstraints": {}
1350
+ },
1351
+ "store_holder": {
1352
+ "name": "store_holder",
1353
+ "columns": {
1354
+ "wizard_id": {
1355
+ "name": "wizard_id",
1356
+ "type": "text",
1357
+ "primaryKey": false,
1358
+ "notNull": true,
1359
+ "autoincrement": false
1360
+ },
1361
+ "holder": {
1362
+ "name": "holder",
1363
+ "type": "text",
1364
+ "primaryKey": false,
1365
+ "notNull": true,
1366
+ "autoincrement": false
1367
+ },
1368
+ "used_at": {
1369
+ "name": "used_at",
1370
+ "type": "integer",
1371
+ "primaryKey": false,
1372
+ "notNull": true,
1373
+ "autoincrement": false,
1374
+ "default": "(unixepoch() * 1000)"
1375
+ }
1376
+ },
1377
+ "indexes": {
1378
+ "store_holder_used": {
1379
+ "name": "store_holder_used",
1380
+ "columns": [
1381
+ "used_at"
1382
+ ],
1383
+ "isUnique": false
1384
+ }
1385
+ },
1386
+ "foreignKeys": {
1387
+ "store_holder_wizard_id_wizard_id_fk": {
1388
+ "name": "store_holder_wizard_id_wizard_id_fk",
1389
+ "tableFrom": "store_holder",
1390
+ "tableTo": "wizard",
1391
+ "columnsFrom": [
1392
+ "wizard_id"
1393
+ ],
1394
+ "columnsTo": [
1395
+ "id"
1396
+ ],
1397
+ "onDelete": "cascade",
1398
+ "onUpdate": "no action"
1399
+ }
1400
+ },
1401
+ "compositePrimaryKeys": {
1402
+ "store_holder_wizard_id_holder_pk": {
1403
+ "columns": [
1404
+ "wizard_id",
1405
+ "holder"
1406
+ ],
1407
+ "name": "store_holder_wizard_id_holder_pk"
1408
+ }
1409
+ },
1410
+ "uniqueConstraints": {},
1411
+ "checkConstraints": {}
1412
+ },
1413
+ "store_row": {
1414
+ "name": "store_row",
1415
+ "columns": {
1416
+ "id": {
1417
+ "name": "id",
1418
+ "type": "text",
1419
+ "primaryKey": true,
1420
+ "notNull": true,
1421
+ "autoincrement": false
1422
+ },
1423
+ "wizard_id": {
1424
+ "name": "wizard_id",
1425
+ "type": "text",
1426
+ "primaryKey": false,
1427
+ "notNull": true,
1428
+ "autoincrement": false
1429
+ },
1430
+ "holder": {
1431
+ "name": "holder",
1432
+ "type": "text",
1433
+ "primaryKey": false,
1434
+ "notNull": true,
1435
+ "autoincrement": false
1436
+ },
1437
+ "list": {
1438
+ "name": "list",
1439
+ "type": "text",
1440
+ "primaryKey": false,
1441
+ "notNull": true,
1442
+ "autoincrement": false
1443
+ },
1444
+ "key": {
1445
+ "name": "key",
1446
+ "type": "text",
1447
+ "primaryKey": false,
1448
+ "notNull": false,
1449
+ "autoincrement": false
1450
+ },
1451
+ "cells": {
1452
+ "name": "cells",
1453
+ "type": "text",
1454
+ "primaryKey": false,
1455
+ "notNull": true,
1456
+ "autoincrement": false
1457
+ },
1458
+ "created_at": {
1459
+ "name": "created_at",
1460
+ "type": "integer",
1461
+ "primaryKey": false,
1462
+ "notNull": true,
1463
+ "autoincrement": false,
1464
+ "default": "(unixepoch() * 1000)"
1465
+ },
1466
+ "updated_at": {
1467
+ "name": "updated_at",
1468
+ "type": "integer",
1469
+ "primaryKey": false,
1470
+ "notNull": true,
1471
+ "autoincrement": false,
1472
+ "default": "(unixepoch() * 1000)"
1473
+ }
1474
+ },
1475
+ "indexes": {
1476
+ "store_row_key": {
1477
+ "name": "store_row_key",
1478
+ "columns": [
1479
+ "wizard_id",
1480
+ "holder",
1481
+ "list",
1482
+ "key"
1483
+ ],
1484
+ "isUnique": true
1485
+ },
1486
+ "store_row_list": {
1487
+ "name": "store_row_list",
1488
+ "columns": [
1489
+ "wizard_id",
1490
+ "holder",
1491
+ "list",
1492
+ "created_at"
1493
+ ],
1494
+ "isUnique": false
1495
+ }
1496
+ },
1497
+ "foreignKeys": {
1498
+ "store_row_wizard_id_wizard_id_fk": {
1499
+ "name": "store_row_wizard_id_wizard_id_fk",
1500
+ "tableFrom": "store_row",
1501
+ "tableTo": "wizard",
1502
+ "columnsFrom": [
1503
+ "wizard_id"
1504
+ ],
1505
+ "columnsTo": [
1506
+ "id"
1507
+ ],
1508
+ "onDelete": "cascade",
1509
+ "onUpdate": "no action"
1510
+ }
1511
+ },
1512
+ "compositePrimaryKeys": {},
1513
+ "uniqueConstraints": {},
1514
+ "checkConstraints": {}
1515
+ },
1516
+ "store_secret": {
1517
+ "name": "store_secret",
1518
+ "columns": {
1519
+ "id": {
1520
+ "name": "id",
1521
+ "type": "text",
1522
+ "primaryKey": true,
1523
+ "notNull": true,
1524
+ "autoincrement": false
1525
+ },
1526
+ "wizard_id": {
1527
+ "name": "wizard_id",
1528
+ "type": "text",
1529
+ "primaryKey": false,
1530
+ "notNull": true,
1531
+ "autoincrement": false
1532
+ },
1533
+ "holder": {
1534
+ "name": "holder",
1535
+ "type": "text",
1536
+ "primaryKey": false,
1537
+ "notNull": true,
1538
+ "autoincrement": false
1539
+ },
1540
+ "slot": {
1541
+ "name": "slot",
1542
+ "type": "text",
1543
+ "primaryKey": false,
1544
+ "notNull": true,
1545
+ "autoincrement": false
1546
+ },
1547
+ "provider": {
1548
+ "name": "provider",
1549
+ "type": "text",
1550
+ "primaryKey": false,
1551
+ "notNull": true,
1552
+ "autoincrement": false
1553
+ },
1554
+ "label": {
1555
+ "name": "label",
1556
+ "type": "text",
1557
+ "primaryKey": false,
1558
+ "notNull": true,
1559
+ "autoincrement": false
1560
+ },
1561
+ "data": {
1562
+ "name": "data",
1563
+ "type": "text",
1564
+ "primaryKey": false,
1565
+ "notNull": true,
1566
+ "autoincrement": false
1567
+ },
1568
+ "created_at": {
1569
+ "name": "created_at",
1570
+ "type": "integer",
1571
+ "primaryKey": false,
1572
+ "notNull": true,
1573
+ "autoincrement": false,
1574
+ "default": "(unixepoch() * 1000)"
1575
+ },
1576
+ "updated_at": {
1577
+ "name": "updated_at",
1578
+ "type": "integer",
1579
+ "primaryKey": false,
1580
+ "notNull": true,
1581
+ "autoincrement": false,
1582
+ "default": "(unixepoch() * 1000)"
1583
+ }
1584
+ },
1585
+ "indexes": {
1586
+ "store_secret_slot": {
1587
+ "name": "store_secret_slot",
1588
+ "columns": [
1589
+ "wizard_id",
1590
+ "holder",
1591
+ "slot"
1592
+ ],
1593
+ "isUnique": true
1594
+ }
1595
+ },
1596
+ "foreignKeys": {
1597
+ "store_secret_wizard_id_wizard_id_fk": {
1598
+ "name": "store_secret_wizard_id_wizard_id_fk",
1599
+ "tableFrom": "store_secret",
1600
+ "tableTo": "wizard",
1601
+ "columnsFrom": [
1602
+ "wizard_id"
1603
+ ],
1604
+ "columnsTo": [
1605
+ "id"
1606
+ ],
1607
+ "onDelete": "cascade",
1608
+ "onUpdate": "no action"
1609
+ }
1610
+ },
1611
+ "compositePrimaryKeys": {},
1612
+ "uniqueConstraints": {},
1613
+ "checkConstraints": {}
1614
+ },
1615
+ "wizard": {
1616
+ "name": "wizard",
1617
+ "columns": {
1618
+ "id": {
1619
+ "name": "id",
1620
+ "type": "text",
1621
+ "primaryKey": true,
1622
+ "notNull": true,
1623
+ "autoincrement": false
1624
+ },
1625
+ "project_id": {
1626
+ "name": "project_id",
1627
+ "type": "text",
1628
+ "primaryKey": false,
1629
+ "notNull": true,
1630
+ "autoincrement": false
1631
+ },
1632
+ "tenant_id": {
1633
+ "name": "tenant_id",
1634
+ "type": "text",
1635
+ "primaryKey": false,
1636
+ "notNull": true,
1637
+ "autoincrement": false
1638
+ },
1639
+ "title": {
1640
+ "name": "title",
1641
+ "type": "text",
1642
+ "primaryKey": false,
1643
+ "notNull": true,
1644
+ "autoincrement": false
1645
+ },
1646
+ "draft": {
1647
+ "name": "draft",
1648
+ "type": "text",
1649
+ "primaryKey": false,
1650
+ "notNull": true,
1651
+ "autoincrement": false
1652
+ },
1653
+ "published_version": {
1654
+ "name": "published_version",
1655
+ "type": "integer",
1656
+ "primaryKey": false,
1657
+ "notNull": false,
1658
+ "autoincrement": false
1659
+ },
1660
+ "share_token": {
1661
+ "name": "share_token",
1662
+ "type": "text",
1663
+ "primaryKey": false,
1664
+ "notNull": true,
1665
+ "autoincrement": false
1666
+ },
1667
+ "share_enabled": {
1668
+ "name": "share_enabled",
1669
+ "type": "integer",
1670
+ "primaryKey": false,
1671
+ "notNull": true,
1672
+ "autoincrement": false,
1673
+ "default": true
1674
+ },
1675
+ "daily_run_limit": {
1676
+ "name": "daily_run_limit",
1677
+ "type": "integer",
1678
+ "primaryKey": false,
1679
+ "notNull": true,
1680
+ "autoincrement": false,
1681
+ "default": 50
1682
+ },
1683
+ "starter": {
1684
+ "name": "starter",
1685
+ "type": "text",
1686
+ "primaryKey": false,
1687
+ "notNull": false,
1688
+ "autoincrement": false
1689
+ },
1690
+ "starter_revision": {
1691
+ "name": "starter_revision",
1692
+ "type": "integer",
1693
+ "primaryKey": false,
1694
+ "notNull": false,
1695
+ "autoincrement": false
1696
+ },
1697
+ "revision": {
1698
+ "name": "revision",
1699
+ "type": "integer",
1700
+ "primaryKey": false,
1701
+ "notNull": true,
1702
+ "autoincrement": false,
1703
+ "default": 0
1704
+ },
1705
+ "created_at": {
1706
+ "name": "created_at",
1707
+ "type": "integer",
1708
+ "primaryKey": false,
1709
+ "notNull": true,
1710
+ "autoincrement": false,
1711
+ "default": "(unixepoch() * 1000)"
1712
+ },
1713
+ "updated_at": {
1714
+ "name": "updated_at",
1715
+ "type": "integer",
1716
+ "primaryKey": false,
1717
+ "notNull": true,
1718
+ "autoincrement": false,
1719
+ "default": "(unixepoch() * 1000)"
1720
+ }
1721
+ },
1722
+ "indexes": {
1723
+ "wizard_share_token": {
1724
+ "name": "wizard_share_token",
1725
+ "columns": [
1726
+ "share_token"
1727
+ ],
1728
+ "isUnique": true
1729
+ },
1730
+ "wizard_project": {
1731
+ "name": "wizard_project",
1732
+ "columns": [
1733
+ "project_id"
1734
+ ],
1735
+ "isUnique": false
1736
+ }
1737
+ },
1738
+ "foreignKeys": {
1739
+ "wizard_project_id_project_id_fk": {
1740
+ "name": "wizard_project_id_project_id_fk",
1741
+ "tableFrom": "wizard",
1742
+ "tableTo": "project",
1743
+ "columnsFrom": [
1744
+ "project_id"
1745
+ ],
1746
+ "columnsTo": [
1747
+ "id"
1748
+ ],
1749
+ "onDelete": "cascade",
1750
+ "onUpdate": "no action"
1751
+ }
1752
+ },
1753
+ "compositePrimaryKeys": {},
1754
+ "uniqueConstraints": {},
1755
+ "checkConstraints": {}
1756
+ },
1757
+ "wizard_file": {
1758
+ "name": "wizard_file",
1759
+ "columns": {
1760
+ "wizard_id": {
1761
+ "name": "wizard_id",
1762
+ "type": "text",
1763
+ "primaryKey": false,
1764
+ "notNull": true,
1765
+ "autoincrement": false
1766
+ },
1767
+ "path": {
1768
+ "name": "path",
1769
+ "type": "text",
1770
+ "primaryKey": false,
1771
+ "notNull": true,
1772
+ "autoincrement": false
1773
+ },
1774
+ "hash": {
1775
+ "name": "hash",
1776
+ "type": "text",
1777
+ "primaryKey": false,
1778
+ "notNull": true,
1779
+ "autoincrement": false
1780
+ },
1781
+ "mime": {
1782
+ "name": "mime",
1783
+ "type": "text",
1784
+ "primaryKey": false,
1785
+ "notNull": true,
1786
+ "autoincrement": false
1787
+ },
1788
+ "size": {
1789
+ "name": "size",
1790
+ "type": "integer",
1791
+ "primaryKey": false,
1792
+ "notNull": true,
1793
+ "autoincrement": false
1794
+ },
1795
+ "updated_at": {
1796
+ "name": "updated_at",
1797
+ "type": "integer",
1798
+ "primaryKey": false,
1799
+ "notNull": true,
1800
+ "autoincrement": false,
1801
+ "default": "(unixepoch() * 1000)"
1802
+ }
1803
+ },
1804
+ "indexes": {},
1805
+ "foreignKeys": {
1806
+ "wizard_file_wizard_id_wizard_id_fk": {
1807
+ "name": "wizard_file_wizard_id_wizard_id_fk",
1808
+ "tableFrom": "wizard_file",
1809
+ "tableTo": "wizard",
1810
+ "columnsFrom": [
1811
+ "wizard_id"
1812
+ ],
1813
+ "columnsTo": [
1814
+ "id"
1815
+ ],
1816
+ "onDelete": "cascade",
1817
+ "onUpdate": "no action"
1818
+ }
1819
+ },
1820
+ "compositePrimaryKeys": {
1821
+ "wizard_file_wizard_id_path_pk": {
1822
+ "columns": [
1823
+ "wizard_id",
1824
+ "path"
1825
+ ],
1826
+ "name": "wizard_file_wizard_id_path_pk"
1827
+ }
1828
+ },
1829
+ "uniqueConstraints": {},
1830
+ "checkConstraints": {}
1831
+ },
1832
+ "wizard_message": {
1833
+ "name": "wizard_message",
1834
+ "columns": {
1835
+ "id": {
1836
+ "name": "id",
1837
+ "type": "text",
1838
+ "primaryKey": true,
1839
+ "notNull": true,
1840
+ "autoincrement": false
1841
+ },
1842
+ "wizard_id": {
1843
+ "name": "wizard_id",
1844
+ "type": "text",
1845
+ "primaryKey": false,
1846
+ "notNull": true,
1847
+ "autoincrement": false
1848
+ },
1849
+ "role": {
1850
+ "name": "role",
1851
+ "type": "text",
1852
+ "primaryKey": false,
1853
+ "notNull": true,
1854
+ "autoincrement": false
1855
+ },
1856
+ "content": {
1857
+ "name": "content",
1858
+ "type": "text",
1859
+ "primaryKey": false,
1860
+ "notNull": true,
1861
+ "autoincrement": false
1862
+ },
1863
+ "changed": {
1864
+ "name": "changed",
1865
+ "type": "integer",
1866
+ "primaryKey": false,
1867
+ "notNull": true,
1868
+ "autoincrement": false,
1869
+ "default": false
1870
+ },
1871
+ "source": {
1872
+ "name": "source",
1873
+ "type": "text",
1874
+ "primaryKey": false,
1875
+ "notNull": true,
1876
+ "autoincrement": false,
1877
+ "default": "'studio'"
1878
+ },
1879
+ "client": {
1880
+ "name": "client",
1881
+ "type": "text",
1882
+ "primaryKey": false,
1883
+ "notNull": false,
1884
+ "autoincrement": false
1885
+ },
1886
+ "created_at": {
1887
+ "name": "created_at",
1888
+ "type": "integer",
1889
+ "primaryKey": false,
1890
+ "notNull": true,
1891
+ "autoincrement": false,
1892
+ "default": "(unixepoch() * 1000)"
1893
+ }
1894
+ },
1895
+ "indexes": {
1896
+ "wizard_message_wizard": {
1897
+ "name": "wizard_message_wizard",
1898
+ "columns": [
1899
+ "wizard_id",
1900
+ "created_at"
1901
+ ],
1902
+ "isUnique": false
1903
+ }
1904
+ },
1905
+ "foreignKeys": {
1906
+ "wizard_message_wizard_id_wizard_id_fk": {
1907
+ "name": "wizard_message_wizard_id_wizard_id_fk",
1908
+ "tableFrom": "wizard_message",
1909
+ "tableTo": "wizard",
1910
+ "columnsFrom": [
1911
+ "wizard_id"
1912
+ ],
1913
+ "columnsTo": [
1914
+ "id"
1915
+ ],
1916
+ "onDelete": "cascade",
1917
+ "onUpdate": "no action"
1918
+ }
1919
+ },
1920
+ "compositePrimaryKeys": {},
1921
+ "uniqueConstraints": {},
1922
+ "checkConstraints": {}
1923
+ },
1924
+ "wizard_version": {
1925
+ "name": "wizard_version",
1926
+ "columns": {
1927
+ "id": {
1928
+ "name": "id",
1929
+ "type": "text",
1930
+ "primaryKey": true,
1931
+ "notNull": true,
1932
+ "autoincrement": false
1933
+ },
1934
+ "wizard_id": {
1935
+ "name": "wizard_id",
1936
+ "type": "text",
1937
+ "primaryKey": false,
1938
+ "notNull": true,
1939
+ "autoincrement": false
1940
+ },
1941
+ "version": {
1942
+ "name": "version",
1943
+ "type": "integer",
1944
+ "primaryKey": false,
1945
+ "notNull": true,
1946
+ "autoincrement": false
1947
+ },
1948
+ "definition": {
1949
+ "name": "definition",
1950
+ "type": "text",
1951
+ "primaryKey": false,
1952
+ "notNull": true,
1953
+ "autoincrement": false
1954
+ },
1955
+ "files": {
1956
+ "name": "files",
1957
+ "type": "text",
1958
+ "primaryKey": false,
1959
+ "notNull": true,
1960
+ "autoincrement": false,
1961
+ "default": "'[]'"
1962
+ },
1963
+ "created_at": {
1964
+ "name": "created_at",
1965
+ "type": "integer",
1966
+ "primaryKey": false,
1967
+ "notNull": true,
1968
+ "autoincrement": false,
1969
+ "default": "(unixepoch() * 1000)"
1970
+ }
1971
+ },
1972
+ "indexes": {
1973
+ "wizard_version_n": {
1974
+ "name": "wizard_version_n",
1975
+ "columns": [
1976
+ "wizard_id",
1977
+ "version"
1978
+ ],
1979
+ "isUnique": true
1980
+ }
1981
+ },
1982
+ "foreignKeys": {
1983
+ "wizard_version_wizard_id_wizard_id_fk": {
1984
+ "name": "wizard_version_wizard_id_wizard_id_fk",
1985
+ "tableFrom": "wizard_version",
1986
+ "tableTo": "wizard",
1987
+ "columnsFrom": [
1988
+ "wizard_id"
1989
+ ],
1990
+ "columnsTo": [
1991
+ "id"
1992
+ ],
1993
+ "onDelete": "cascade",
1994
+ "onUpdate": "no action"
1995
+ }
1996
+ },
1997
+ "compositePrimaryKeys": {},
1998
+ "uniqueConstraints": {},
1999
+ "checkConstraints": {}
2000
+ }
2001
+ },
2002
+ "views": {},
2003
+ "enums": {},
2004
+ "_meta": {
2005
+ "schemas": {},
2006
+ "tables": {},
2007
+ "columns": {}
2008
+ },
2009
+ "internal": {
2010
+ "indexes": {}
2011
+ }
2012
+ }