wizards 0.7.4 → 0.7.6

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 (516) hide show
  1. package/bin/wizards.mjs +95 -26
  2. package/{apps/web/dist/install.sh → install.sh} +23 -5
  3. package/package.json +2 -58
  4. package/apps/runtime/dist/agents/architect.js +0 -444
  5. package/apps/runtime/dist/agents/studio-assistant.js +0 -883
  6. package/apps/runtime/dist/agents/subscription.js +0 -207
  7. package/apps/runtime/dist/agents/thought.js +0 -21
  8. package/apps/runtime/dist/agents/website.js +0 -480
  9. package/apps/runtime/dist/app.js +0 -359
  10. package/apps/runtime/dist/apple/wizards-apple +0 -0
  11. package/apps/runtime/dist/assistant/browser.js +0 -26
  12. package/apps/runtime/dist/assistant/docs.js +0 -158
  13. package/apps/runtime/dist/assistant/knows.js +0 -353
  14. package/apps/runtime/dist/assistant/primer.js +0 -26
  15. package/apps/runtime/dist/assistant/runs.js +0 -24
  16. package/apps/runtime/dist/auth/account.js +0 -175
  17. package/apps/runtime/dist/auth/device.js +0 -112
  18. package/apps/runtime/dist/auth/index.js +0 -358
  19. package/apps/runtime/dist/auth/keys.js +0 -55
  20. package/apps/runtime/dist/auth/local-ticket.js +0 -26
  21. package/apps/runtime/dist/authoring/example.js +0 -74
  22. package/apps/runtime/dist/authoring/guide.js +0 -433
  23. package/apps/runtime/dist/authoring/ops.js +0 -117
  24. package/apps/runtime/dist/browser/fast/action-space.js +0 -160
  25. package/apps/runtime/dist/browser/fast/classifier.js +0 -91
  26. package/apps/runtime/dist/browser/fast/decide.js +0 -171
  27. package/apps/runtime/dist/browser/fast/driver.js +0 -141
  28. package/apps/runtime/dist/browser/fast/instructions.js +0 -33
  29. package/apps/runtime/dist/browser/fast/run.js +0 -249
  30. package/apps/runtime/dist/browser/fast/span-picker.js +0 -153
  31. package/apps/runtime/dist/browser/fast/text-helper.js +0 -178
  32. package/apps/runtime/dist/browser/snapshot.js +0 -335
  33. package/apps/runtime/dist/cli/account.js +0 -385
  34. package/apps/runtime/dist/cli/autostart.js +0 -182
  35. package/apps/runtime/dist/cli/autoupdate.js +0 -221
  36. package/apps/runtime/dist/cli/clients.js +0 -44
  37. package/apps/runtime/dist/cli/connect.js +0 -540
  38. package/apps/runtime/dist/cli/environment.js +0 -93
  39. package/apps/runtime/dist/cli/exec.js +0 -45
  40. package/apps/runtime/dist/cli/features.js +0 -50
  41. package/apps/runtime/dist/cli/home.js +0 -88
  42. package/apps/runtime/dist/cli/install-env.js +0 -33
  43. package/apps/runtime/dist/cli/machine.js +0 -107
  44. package/apps/runtime/dist/cli/main.js +0 -222
  45. package/apps/runtime/dist/cli/mcp.js +0 -136
  46. package/apps/runtime/dist/cli/menu.js +0 -202
  47. package/apps/runtime/dist/cli/processes.js +0 -72
  48. package/apps/runtime/dist/cli/report.js +0 -66
  49. package/apps/runtime/dist/cli/setup.js +0 -335
  50. package/apps/runtime/dist/cli/start.js +0 -276
  51. package/apps/runtime/dist/cli/status.js +0 -203
  52. package/apps/runtime/dist/cli/ui.js +0 -59
  53. package/apps/runtime/dist/cli/uninstall-main.js +0 -20
  54. package/apps/runtime/dist/cli/uninstall.js +0 -231
  55. package/apps/runtime/dist/cli/update.js +0 -86
  56. package/apps/runtime/dist/cli/validate.js +0 -75
  57. package/apps/runtime/dist/cli/versions.js +0 -106
  58. package/apps/runtime/dist/connectors/builtin.js +0 -86
  59. package/apps/runtime/dist/connectors/external.js +0 -409
  60. package/apps/runtime/dist/connectors/gmail.js +0 -107
  61. package/apps/runtime/dist/connectors/imap.js +0 -261
  62. package/apps/runtime/dist/connectors/index.js +0 -325
  63. package/apps/runtime/dist/connectors/mail.js +0 -72
  64. package/apps/runtime/dist/connectors/outlook.js +0 -90
  65. package/apps/runtime/dist/connectors/plugin-connections.js +0 -343
  66. package/apps/runtime/dist/connectors/via-account.js +0 -65
  67. package/apps/runtime/dist/credits/credits.js +0 -100
  68. package/apps/runtime/dist/credits/estimate.js +0 -152
  69. package/apps/runtime/dist/db/adopt.js +0 -149
  70. package/apps/runtime/dist/db/client.js +0 -173
  71. package/apps/runtime/dist/db/control-schema.js +0 -133
  72. package/apps/runtime/dist/db/migrations/control/0000_last_absorbing_man.sql +0 -47
  73. package/apps/runtime/dist/db/migrations/control/0001_gorgeous_nicolaos.sql +0 -41
  74. package/apps/runtime/dist/db/migrations/control/0002_secret_penance.sql +0 -1
  75. package/apps/runtime/dist/db/migrations/control/0003_nasty_mordo.sql +0 -3
  76. package/apps/runtime/dist/db/migrations/control/0004_breezy_eddie_brock.sql +0 -6
  77. package/apps/runtime/dist/db/migrations/control/0005_chilly_oracle.sql +0 -1
  78. package/apps/runtime/dist/db/migrations/control/0006_sleepy_mojo.sql +0 -1
  79. package/apps/runtime/dist/db/migrations/control/0007_common_the_hand.sql +0 -15
  80. package/apps/runtime/dist/db/migrations/control/0008_runner.sql +0 -8
  81. package/apps/runtime/dist/db/migrations/control/0009_plugin_claim.sql +0 -9
  82. package/apps/runtime/dist/db/migrations/control/0010_tan_snowbird.sql +0 -6
  83. package/apps/runtime/dist/db/migrations/control/meta/0000_snapshot.json +0 -311
  84. package/apps/runtime/dist/db/migrations/control/meta/0001_snapshot.json +0 -599
  85. package/apps/runtime/dist/db/migrations/control/meta/0002_snapshot.json +0 -607
  86. package/apps/runtime/dist/db/migrations/control/meta/0003_snapshot.json +0 -311
  87. package/apps/runtime/dist/db/migrations/control/meta/0004_snapshot.json +0 -350
  88. package/apps/runtime/dist/db/migrations/control/meta/0005_snapshot.json +0 -358
  89. package/apps/runtime/dist/db/migrations/control/meta/0006_snapshot.json +0 -365
  90. package/apps/runtime/dist/db/migrations/control/meta/0007_snapshot.json +0 -460
  91. package/apps/runtime/dist/db/migrations/control/meta/0008_snapshot.json +0 -505
  92. package/apps/runtime/dist/db/migrations/control/meta/0009_snapshot.json +0 -561
  93. package/apps/runtime/dist/db/migrations/control/meta/0010_snapshot.json +0 -600
  94. package/apps/runtime/dist/db/migrations/control/meta/_journal.json +0 -83
  95. package/apps/runtime/dist/db/migrations/tenant/0000_eminent_freak.sql +0 -188
  96. package/apps/runtime/dist/db/migrations/tenant/0001_salty_master_chief.sql +0 -1
  97. package/apps/runtime/dist/db/migrations/tenant/0002_cloudy_firebird.sql +0 -1
  98. package/apps/runtime/dist/db/migrations/tenant/0003_brown_warbound.sql +0 -52
  99. package/apps/runtime/dist/db/migrations/tenant/0004_romantic_nocturne.sql +0 -6
  100. package/apps/runtime/dist/db/migrations/tenant/0005_reflective_forgotten_one.sql +0 -2
  101. package/apps/runtime/dist/db/migrations/tenant/0006_hard_war_machine.sql +0 -30
  102. package/apps/runtime/dist/db/migrations/tenant/0007_space_data.sql +0 -43
  103. package/apps/runtime/dist/db/migrations/tenant/0008_run_event_note.sql +0 -1
  104. package/apps/runtime/dist/db/migrations/tenant/0009_knowledge.sql +0 -104
  105. package/apps/runtime/dist/db/migrations/tenant/0010_plugin_connection.sql +0 -15
  106. package/apps/runtime/dist/db/migrations/tenant/0011_runners.sql +0 -2
  107. package/apps/runtime/dist/db/migrations/tenant/0012_assistant_chat.sql +0 -40
  108. package/apps/runtime/dist/db/migrations/tenant/0013_run_origin.sql +0 -1
  109. package/apps/runtime/dist/db/migrations/tenant/0014_run_answer.sql +0 -2
  110. package/apps/runtime/dist/db/migrations/tenant/0015_device_calls.sql +0 -13
  111. package/apps/runtime/dist/db/migrations/tenant/0016_even_trish_tilby.sql +0 -12
  112. package/apps/runtime/dist/db/migrations/tenant/meta/0000_snapshot.json +0 -1323
  113. package/apps/runtime/dist/db/migrations/tenant/meta/0001_snapshot.json +0 -1330
  114. package/apps/runtime/dist/db/migrations/tenant/meta/0002_snapshot.json +0 -1337
  115. package/apps/runtime/dist/db/migrations/tenant/meta/0003_snapshot.json +0 -1605
  116. package/apps/runtime/dist/db/migrations/tenant/meta/0004_snapshot.json +0 -1645
  117. package/apps/runtime/dist/db/migrations/tenant/meta/0005_snapshot.json +0 -1659
  118. package/apps/runtime/dist/db/migrations/tenant/meta/0006_snapshot.json +0 -1696
  119. package/apps/runtime/dist/db/migrations/tenant/meta/0007_snapshot.json +0 -2012
  120. package/apps/runtime/dist/db/migrations/tenant/meta/0008_snapshot.json +0 -2019
  121. package/apps/runtime/dist/db/migrations/tenant/meta/0009_snapshot.json +0 -2837
  122. package/apps/runtime/dist/db/migrations/tenant/meta/0010_snapshot.json +0 -2942
  123. package/apps/runtime/dist/db/migrations/tenant/meta/0011_snapshot.json +0 -2956
  124. package/apps/runtime/dist/db/migrations/tenant/meta/0012_snapshot.json +0 -3132
  125. package/apps/runtime/dist/db/migrations/tenant/meta/0013_snapshot.json +0 -3139
  126. package/apps/runtime/dist/db/migrations/tenant/meta/0014_snapshot.json +0 -3154
  127. package/apps/runtime/dist/db/migrations/tenant/meta/0015_snapshot.json +0 -3243
  128. package/apps/runtime/dist/db/migrations/tenant/meta/0016_snapshot.json +0 -3326
  129. package/apps/runtime/dist/db/migrations/tenant/meta/_journal.json +0 -125
  130. package/apps/runtime/dist/db/schema.js +0 -602
  131. package/apps/runtime/dist/debug.js +0 -196
  132. package/apps/runtime/dist/docs/dev/index.md +0 -41
  133. package/apps/runtime/dist/docs/dev/meta.json +0 -7
  134. package/apps/runtime/dist/docs/dev/plugins/connections.md +0 -74
  135. package/apps/runtime/dist/docs/dev/plugins/events.md +0 -89
  136. package/apps/runtime/dist/docs/dev/plugins/examples.md +0 -101
  137. package/apps/runtime/dist/docs/dev/plugins/index.md +0 -78
  138. package/apps/runtime/dist/docs/dev/plugins/layout.md +0 -90
  139. package/apps/runtime/dist/docs/dev/plugins/meta.json +0 -28
  140. package/apps/runtime/dist/docs/dev/plugins/quick-start.md +0 -94
  141. package/apps/runtime/dist/docs/dev/plugins/reference.md +0 -348
  142. package/apps/runtime/dist/docs/dev/plugins/reloading.md +0 -76
  143. package/apps/runtime/dist/docs/dev/plugins/routes.md +0 -185
  144. package/apps/runtime/dist/docs/dev/plugins/runners.md +0 -230
  145. package/apps/runtime/dist/docs/dev/plugins/server.md +0 -281
  146. package/apps/runtime/dist/docs/dev/plugins/shipping.md +0 -79
  147. package/apps/runtime/dist/docs/dev/plugins/space.md +0 -297
  148. package/apps/runtime/dist/docs/dev/plugins/starters.md +0 -70
  149. package/apps/runtime/dist/docs/dev/plugins/studio.md +0 -363
  150. package/apps/runtime/dist/docs/dev/plugins/styling.md +0 -129
  151. package/apps/runtime/dist/docs/dev/plugins/tables.md +0 -104
  152. package/apps/runtime/dist/docs/dev/plugins/tools.md +0 -139
  153. package/apps/runtime/dist/docs/dev/wizard-format.md +0 -121
  154. package/apps/runtime/dist/docs/meta.json +0 -3
  155. package/apps/runtime/dist/docs/user/ai-apps.md +0 -112
  156. package/apps/runtime/dist/docs/user/assistant.md +0 -77
  157. package/apps/runtime/dist/docs/user/build-a-wizard.md +0 -116
  158. package/apps/runtime/dist/docs/user/command-line.md +0 -83
  159. package/apps/runtime/dist/docs/user/connectors.md +0 -90
  160. package/apps/runtime/dist/docs/user/create-account.md +0 -52
  161. package/apps/runtime/dist/docs/user/data.md +0 -66
  162. package/apps/runtime/dist/docs/user/first-start.md +0 -60
  163. package/apps/runtime/dist/docs/user/index.md +0 -49
  164. package/apps/runtime/dist/docs/user/install.md +0 -121
  165. package/apps/runtime/dist/docs/user/local-only.md +0 -42
  166. package/apps/runtime/dist/docs/user/meta.json +0 -32
  167. package/apps/runtime/dist/docs/user/models.md +0 -156
  168. package/apps/runtime/dist/docs/user/plugins.md +0 -71
  169. package/apps/runtime/dist/docs/user/run.md +0 -98
  170. package/apps/runtime/dist/docs/user/server.md +0 -52
  171. package/apps/runtime/dist/docs/user/space.md +0 -126
  172. package/apps/runtime/dist/docs/user/steps.md +0 -220
  173. package/apps/runtime/dist/docs/user/test-and-share.md +0 -224
  174. package/apps/runtime/dist/docs/user/troubleshooting.md +0 -67
  175. package/apps/runtime/dist/docs/user/wordpress.md +0 -121
  176. package/apps/runtime/dist/documents/parse.js +0 -246
  177. package/apps/runtime/dist/engenty/connections-external/build-connector.js +0 -193
  178. package/apps/runtime/dist/engenty/connections-external/errors.js +0 -11
  179. package/apps/runtime/dist/engenty/connections-external/import-service.js +0 -270
  180. package/apps/runtime/dist/engenty/connections-external/importer/classify.js +0 -34
  181. package/apps/runtime/dist/engenty/connections-external/importer/map-auth.js +0 -185
  182. package/apps/runtime/dist/engenty/connections-external/importer/normalize-mcp.js +0 -63
  183. package/apps/runtime/dist/engenty/connections-external/importer/normalize-openapi.js +0 -130
  184. package/apps/runtime/dist/engenty/connections-external/invoke/http-invoker.js +0 -143
  185. package/apps/runtime/dist/engenty/connections-external/invoke/mcp-client.js +0 -143
  186. package/apps/runtime/dist/engenty/connections-external/net/guarded-fetch.js +0 -119
  187. package/apps/runtime/dist/engenty/connections-external/oauth-dcr.js +0 -88
  188. package/apps/runtime/dist/engenty/connections-external/registry-client.js +0 -336
  189. package/apps/runtime/dist/engenty/connections-external/registry-source.js +0 -82
  190. package/apps/runtime/dist/engenty/connections-external/types.js +0 -7
  191. package/apps/runtime/dist/engenty/connections-github/connector.js +0 -209
  192. package/apps/runtime/dist/engenty/connections-google/connectors/calendar.js +0 -381
  193. package/apps/runtime/dist/engenty/connections-google/connectors/contacts.js +0 -94
  194. package/apps/runtime/dist/engenty/connections-google/connectors/drive.js +0 -290
  195. package/apps/runtime/dist/engenty/connections-google/connectors/gmail.js +0 -567
  196. package/apps/runtime/dist/engenty/connections-google/definitions.js +0 -11
  197. package/apps/runtime/dist/engenty/connections-google/shared.js +0 -73
  198. package/apps/runtime/dist/engenty/connections-hubspot/connector.js +0 -140
  199. package/apps/runtime/dist/engenty/connections-microsoft/action.js +0 -17
  200. package/apps/runtime/dist/engenty/connections-microsoft/graph.js +0 -114
  201. package/apps/runtime/dist/engenty/connections-microsoft/onedrive.js +0 -286
  202. package/apps/runtime/dist/engenty/connections-microsoft/outlook.js +0 -492
  203. package/apps/runtime/dist/engenty/connections-s3/s3.js +0 -328
  204. package/apps/runtime/dist/engenty/connections-sdk/files-capability.js +0 -86
  205. package/apps/runtime/dist/engenty/connections-sdk/oauth2.js +0 -150
  206. package/apps/runtime/dist/engenty/connections-sdk/registry.js +0 -89
  207. package/apps/runtime/dist/engenty/connections-sdk/storage-capability.js +0 -84
  208. package/apps/runtime/dist/engenty/connections-sdk/types.js +0 -30
  209. package/apps/runtime/dist/engenty/connections-slack/connector.js +0 -360
  210. package/apps/runtime/dist/engenty/csv-import/csv-matrix.js +0 -178
  211. package/apps/runtime/dist/engenty/csv-import/import-sources.js +0 -87
  212. package/apps/runtime/dist/engenty/csv-import/parse-csv.js +0 -129
  213. package/apps/runtime/dist/engenty/csv-import/serialize-csv.js +0 -20
  214. package/apps/runtime/dist/engenty/csv-import/types.js +0 -1
  215. package/apps/runtime/dist/engenty/csv-import/xlsx-workbook.js +0 -159
  216. package/apps/runtime/dist/engenty/doc-converter/interface.js +0 -9
  217. package/apps/runtime/dist/engenty/doc-converter/page-break.js +0 -92
  218. package/apps/runtime/dist/engenty/doc-converter/providers/local/index.js +0 -72
  219. package/apps/runtime/dist/engenty/document-scanner/schemas/classifier.js +0 -30
  220. package/apps/runtime/dist/engenty/document-scanner/schemas/index.js +0 -4
  221. package/apps/runtime/dist/engenty/document-scanner/schemas/invoice.js +0 -73
  222. package/apps/runtime/dist/engenty/document-scanner/schemas/receipt.js +0 -63
  223. package/apps/runtime/dist/engenty/document-scanner/schemas/shared.js +0 -40
  224. package/apps/runtime/dist/engenty/search-index/chunks.js +0 -164
  225. package/apps/runtime/dist/engenty/search-index/contracts.js +0 -9
  226. package/apps/runtime/dist/engenty/shims/connections-sdk.js +0 -39
  227. package/apps/runtime/dist/engenty/shims/plugin-sdk.js +0 -1
  228. package/apps/runtime/dist/engenty/shims/web-ingest.js +0 -19
  229. package/apps/runtime/dist/engenty/web-ingest/ssrf.js +0 -277
  230. package/apps/runtime/dist/engine/asks.js +0 -82
  231. package/apps/runtime/dist/engine/decide.js +0 -82
  232. package/apps/runtime/dist/engine/device.js +0 -194
  233. package/apps/runtime/dist/engine/events.js +0 -128
  234. package/apps/runtime/dist/engine/input.js +0 -208
  235. package/apps/runtime/dist/engine/owner.js +0 -32
  236. package/apps/runtime/dist/engine/prepare.js +0 -90
  237. package/apps/runtime/dist/engine/push.js +0 -58
  238. package/apps/runtime/dist/engine/requirements.js +0 -355
  239. package/apps/runtime/dist/engine/resources.js +0 -198
  240. package/apps/runtime/dist/engine/runner.js +0 -970
  241. package/apps/runtime/dist/engine/steps.js +0 -1000
  242. package/apps/runtime/dist/engine/surface.js +0 -91
  243. package/apps/runtime/dist/engine/template.js +0 -240
  244. package/apps/runtime/dist/engine/types.js +0 -4
  245. package/apps/runtime/dist/env.js +0 -295
  246. package/apps/runtime/dist/features.js +0 -123
  247. package/apps/runtime/dist/files/blobs.js +0 -22
  248. package/apps/runtime/dist/files/objects.js +0 -86
  249. package/apps/runtime/dist/files/storage.js +0 -120
  250. package/apps/runtime/dist/files/web-images.js +0 -101
  251. package/apps/runtime/dist/film/project.js +0 -257
  252. package/apps/runtime/dist/film/skills.js +0 -91
  253. package/apps/runtime/dist/film/sounds.js +0 -122
  254. package/apps/runtime/dist/film/step.js +0 -289
  255. package/apps/runtime/dist/film/tools.js +0 -99
  256. package/apps/runtime/dist/geocode.js +0 -58
  257. package/apps/runtime/dist/harness/antigravity.js +0 -129
  258. package/apps/runtime/dist/harness/apple.js +0 -270
  259. package/apps/runtime/dist/harness/claude.js +0 -147
  260. package/apps/runtime/dist/harness/codex.js +0 -229
  261. package/apps/runtime/dist/harness/cursor.js +0 -93
  262. package/apps/runtime/dist/harness/env.js +0 -124
  263. package/apps/runtime/dist/harness/index.js +0 -95
  264. package/apps/runtime/dist/harness/model.js +0 -279
  265. package/apps/runtime/dist/harness/prompt.js +0 -121
  266. package/apps/runtime/dist/harness/terminal.js +0 -194
  267. package/apps/runtime/dist/harness/types.js +0 -7
  268. package/apps/runtime/dist/index.js +0 -113
  269. package/apps/runtime/dist/limits.js +0 -81
  270. package/apps/runtime/dist/link-preview.js +0 -60
  271. package/apps/runtime/dist/log.js +0 -106
  272. package/apps/runtime/dist/manage.js +0 -249
  273. package/apps/runtime/dist/mcp/auth.js +0 -161
  274. package/apps/runtime/dist/mcp/bridge.js +0 -59
  275. package/apps/runtime/dist/mcp/flow-app.js +0 -97
  276. package/apps/runtime/dist/mcp/handler.js +0 -54
  277. package/apps/runtime/dist/mcp/scopes.js +0 -14
  278. package/apps/runtime/dist/mcp/seen.js +0 -65
  279. package/apps/runtime/dist/mcp/tools.js +0 -572
  280. package/apps/runtime/dist/media/conversation.js +0 -167
  281. package/apps/runtime/dist/media/ffmpeg.js +0 -121
  282. package/apps/runtime/dist/media/generate.js +0 -120
  283. package/apps/runtime/dist/media/marking.js +0 -121
  284. package/apps/runtime/dist/media/transcribe.js +0 -198
  285. package/apps/runtime/dist/model-errors.js +0 -42
  286. package/apps/runtime/dist/models.js +0 -1164
  287. package/apps/runtime/dist/plugin.js +0 -61
  288. package/apps/runtime/dist/plugins/channels.js +0 -78
  289. package/apps/runtime/dist/plugins/claims.js +0 -56
  290. package/apps/runtime/dist/plugins/discovery.js +0 -155
  291. package/apps/runtime/dist/plugins/events.js +0 -63
  292. package/apps/runtime/dist/plugins/jobs.js +0 -64
  293. package/apps/runtime/dist/plugins/loader.js +0 -508
  294. package/apps/runtime/dist/plugins/migrations.js +0 -69
  295. package/apps/runtime/dist/plugins/pro-keys.js +0 -34
  296. package/apps/runtime/dist/plugins/pro-state.js +0 -83
  297. package/apps/runtime/dist/plugins/pro.js +0 -310
  298. package/apps/runtime/dist/plugins/public.js +0 -44
  299. package/apps/runtime/dist/plugins/registry.js +0 -122
  300. package/apps/runtime/dist/plugins/runs.js +0 -210
  301. package/apps/runtime/dist/render/browser-path.js +0 -54
  302. package/apps/runtime/dist/render/chromium.js +0 -98
  303. package/apps/runtime/dist/render/convert.js +0 -158
  304. package/apps/runtime/dist/render/downloads.js +0 -299
  305. package/apps/runtime/dist/render/guard.js +0 -25
  306. package/apps/runtime/dist/render/shaped.js +0 -137
  307. package/apps/runtime/dist/routes/api.js +0 -440
  308. package/apps/runtime/dist/routes/debug.js +0 -42
  309. package/apps/runtime/dist/routes/delivery.js +0 -90
  310. package/apps/runtime/dist/routes/internal.js +0 -81
  311. package/apps/runtime/dist/routes/lang.js +0 -25
  312. package/apps/runtime/dist/routes/marketplace.js +0 -43
  313. package/apps/runtime/dist/routes/plugin-public.js +0 -113
  314. package/apps/runtime/dist/routes/plugins.js +0 -212
  315. package/apps/runtime/dist/routes/runs.js +0 -1422
  316. package/apps/runtime/dist/routes/studio.js +0 -1629
  317. package/apps/runtime/dist/routes/wizard-stream.js +0 -30
  318. package/apps/runtime/dist/running.js +0 -39
  319. package/apps/runtime/dist/sandbox/docker.js +0 -75
  320. package/apps/runtime/dist/sandbox/index.js +0 -23
  321. package/apps/runtime/dist/sandbox/types.js +0 -1
  322. package/apps/runtime/dist/secrets/crypto.js +0 -28
  323. package/apps/runtime/dist/secrets/signing.js +0 -52
  324. package/apps/runtime/dist/secrets/vault.js +0 -59
  325. package/apps/runtime/dist/services/access.js +0 -88
  326. package/apps/runtime/dist/services/api.js +0 -248
  327. package/apps/runtime/dist/services/architect.js +0 -95
  328. package/apps/runtime/dist/services/assistant-chats.js +0 -311
  329. package/apps/runtime/dist/services/brand.js +0 -85
  330. package/apps/runtime/dist/services/cloud.js +0 -456
  331. package/apps/runtime/dist/services/draft-events.js +0 -27
  332. package/apps/runtime/dist/services/engenty-shapes.js +0 -71
  333. package/apps/runtime/dist/services/errors.js +0 -29
  334. package/apps/runtime/dist/services/files.js +0 -178
  335. package/apps/runtime/dist/services/knowledge-model.js +0 -559
  336. package/apps/runtime/dist/services/knowledge.js +0 -721
  337. package/apps/runtime/dist/services/links.js +0 -16
  338. package/apps/runtime/dist/services/marketplace.js +0 -492
  339. package/apps/runtime/dist/services/onboarding.js +0 -152
  340. package/apps/runtime/dist/services/package-file.js +0 -82
  341. package/apps/runtime/dist/services/package.js +0 -170
  342. package/apps/runtime/dist/services/profile.js +0 -51
  343. package/apps/runtime/dist/services/project-files.js +0 -439
  344. package/apps/runtime/dist/services/project-index.js +0 -707
  345. package/apps/runtime/dist/services/projects.js +0 -387
  346. package/apps/runtime/dist/services/relevance.js +0 -58
  347. package/apps/runtime/dist/services/runners.js +0 -178
  348. package/apps/runtime/dist/services/runs.js +0 -524
  349. package/apps/runtime/dist/services/shares.js +0 -130
  350. package/apps/runtime/dist/services/site.js +0 -270
  351. package/apps/runtime/dist/services/space-categories.js +0 -861
  352. package/apps/runtime/dist/services/space-data.js +0 -792
  353. package/apps/runtime/dist/services/space-origin.js +0 -207
  354. package/apps/runtime/dist/services/spaces.js +0 -656
  355. package/apps/runtime/dist/services/translations.js +0 -306
  356. package/apps/runtime/dist/services/widgets.js +0 -34
  357. package/apps/runtime/dist/services/wizard-icon.js +0 -157
  358. package/apps/runtime/dist/services/wizards.js +0 -420
  359. package/apps/runtime/dist/settings.js +0 -16
  360. package/apps/runtime/dist/store/errors.js +0 -4
  361. package/apps/runtime/dist/store/index.js +0 -299
  362. package/apps/runtime/dist/store/shared-lists.js +0 -123
  363. package/apps/runtime/dist/tenants/control.js +0 -238
  364. package/apps/runtime/dist/tenants/tenant.js +0 -26
  365. package/apps/runtime/dist/texts.js +0 -207
  366. package/apps/runtime/dist/tools/browser.js +0 -703
  367. package/apps/runtime/dist/tools/connector.js +0 -204
  368. package/apps/runtime/dist/tools/index.js +0 -291
  369. package/apps/runtime/dist/tools/mail.js +0 -104
  370. package/apps/runtime/dist/tools/net-guard.js +0 -170
  371. package/apps/runtime/dist/tools/pages.js +0 -81
  372. package/apps/runtime/dist/tools/plugin.js +0 -180
  373. package/apps/runtime/dist/tools/project.js +0 -154
  374. package/apps/runtime/dist/tools/shared.js +0 -69
  375. package/apps/runtime/dist/tools/store.js +0 -238
  376. package/apps/runtime/dist/update.js +0 -113
  377. package/apps/runtime/dist/widgets/bundle.js +0 -99
  378. package/apps/runtime/dist/widgets/render.js +0 -329
  379. package/apps/runtime/dist/widgets/runtime.js +0 -108
  380. package/apps/runtime/dist/widgets/script.js +0 -30
  381. package/apps/runtime/dist/widgets/step.js +0 -223
  382. package/apps/web/dist/ai-labels/ai-black.svg +0 -20
  383. package/apps/web/dist/ai-labels/ai-generated-black.svg +0 -31
  384. package/apps/web/dist/ai-labels/ai-generated-white.svg +0 -32
  385. package/apps/web/dist/ai-labels/ai-modified-black.svg +0 -30
  386. package/apps/web/dist/ai-labels/ai-modified-white.svg +0 -31
  387. package/apps/web/dist/ai-labels/ai-white.svg +0 -21
  388. package/apps/web/dist/assets/AboutDialog-BI6487_s.js +0 -1
  389. package/apps/web/dist/assets/ChangelogDialog-B63QWuUV.js +0 -1
  390. package/apps/web/dist/assets/ChatView-BjQVHGjn.js +0 -10
  391. package/apps/web/dist/assets/EditorPage-DrprS19h.js +0 -3
  392. package/apps/web/dist/assets/FlowPreview-CusP7ci9.js +0 -1
  393. package/apps/web/dist/assets/Harness-BrP-ENHg.css +0 -1
  394. package/apps/web/dist/assets/Harness-CCMqhtuk.js +0 -16
  395. package/apps/web/dist/assets/NewWizardChannels-DpcWsST7.js +0 -1
  396. package/apps/web/dist/assets/NewWizardPage-BXePNBa9.js +0 -7
  397. package/apps/web/dist/assets/OnboardingPage-BtZ6sHJi.js +0 -1
  398. package/apps/web/dist/assets/ProjectPage-DHOL8FXt.js +0 -1
  399. package/apps/web/dist/assets/PublicRunner-BLRVe7G0.js +0 -1
  400. package/apps/web/dist/assets/ReadOnly-BV8o_HtK.js +0 -1
  401. package/apps/web/dist/assets/RunDrawer-D-T8pYfB.js +0 -4
  402. package/apps/web/dist/assets/RunnerView-BinlRsGF.js +0 -1
  403. package/apps/web/dist/assets/SettingsPage-B6M-jFJw.js +0 -1
  404. package/apps/web/dist/assets/SetupPage-DI6c--4V.js +0 -1
  405. package/apps/web/dist/assets/SharePage-C4cESaes.js +0 -1
  406. package/apps/web/dist/assets/changelog-Dj_yd2vG.js +0 -1
  407. package/apps/web/dist/assets/engenty-eXZ-EAwd.js +0 -1
  408. package/apps/web/dist/assets/esm-DXeMu8Lb.js +0 -7
  409. package/apps/web/dist/assets/fluffy-engenty-ClRou7yu.js +0 -456
  410. package/apps/web/dist/assets/index-AfUa8xKD.css +0 -1
  411. package/apps/web/dist/assets/index-yiE9Lun0.js +0 -14
  412. package/apps/web/dist/assets/jsx-runtime-BNakU3Ej.js +0 -1
  413. package/apps/web/dist/assets/lock-R_CfU0Xo.js +0 -1
  414. package/apps/web/dist/assets/oss-credits-cZ9NUaLZ.js +0 -1
  415. package/apps/web/dist/assets/pdfmake-Cx9scTbD.js +0 -228
  416. package/apps/web/dist/assets/phone-CgrIS4_-.js +0 -1
  417. package/apps/web/dist/assets/preload-helper-CNEI7N0N.js +0 -1
  418. package/apps/web/dist/assets/qr-scanner-worker.min-CJaXo3yu.js +0 -98
  419. package/apps/web/dist/assets/qr-scanner.min-C_UI0gH-.js +0 -1
  420. package/apps/web/dist/assets/rolldown-runtime-hePW80VL.js +0 -1
  421. package/apps/web/dist/assets/settings-menu-2IMOOlLl.js +0 -1
  422. package/apps/web/dist/assets/ui-dzGvc3xk.js +0 -137
  423. package/apps/web/dist/assets/upload-BSuTilFF.js +0 -1
  424. package/apps/web/dist/assets/vfs_fonts-DllDSYt1.js +0 -1
  425. package/apps/web/dist/embed.js +0 -266
  426. package/apps/web/dist/favicon.svg +0 -1
  427. package/apps/web/dist/icons/apple-touch-icon.png +0 -0
  428. package/apps/web/dist/icons/icon-192.png +0 -0
  429. package/apps/web/dist/icons/icon-512.png +0 -0
  430. package/apps/web/dist/icons/icon-maskable-512.png +0 -0
  431. package/apps/web/dist/index.html +0 -48
  432. package/apps/web/dist/manifest.webmanifest +0 -21
  433. package/apps/web/dist/mcp/flow.html +0 -980
  434. package/apps/web/dist/sw.js +0 -15
  435. package/modules/README.md +0 -15
  436. package/node_modules/@engenty/wizards/dist/plugin/index.d.ts +0 -1150
  437. package/node_modules/@engenty/wizards/dist/plugin/index.js +0 -4
  438. package/node_modules/@engenty/wizards/dist/plugin/studio.d.ts +0 -322
  439. package/node_modules/@engenty/wizards/dist/plugin/studio.js +0 -4
  440. package/node_modules/@engenty/wizards/dist/plugin/thread.d.ts +0 -174
  441. package/node_modules/@engenty/wizards/dist/plugin/thread.js +0 -821
  442. package/node_modules/@engenty/wizards/package.json +0 -11
  443. package/node_modules/@engenty-wizards/shared/dist/assistant.d.ts +0 -174
  444. package/node_modules/@engenty-wizards/shared/dist/assistant.js +0 -65
  445. package/node_modules/@engenty-wizards/shared/dist/changes.d.ts +0 -22
  446. package/node_modules/@engenty-wizards/shared/dist/changes.js +0 -61
  447. package/node_modules/@engenty-wizards/shared/dist/connectors.d.ts +0 -77
  448. package/node_modules/@engenty-wizards/shared/dist/connectors.js +0 -2
  449. package/node_modules/@engenty-wizards/shared/dist/decision.d.ts +0 -76
  450. package/node_modules/@engenty-wizards/shared/dist/decision.js +0 -147
  451. package/node_modules/@engenty-wizards/shared/dist/definition.d.ts +0 -2922
  452. package/node_modules/@engenty-wizards/shared/dist/definition.js +0 -1920
  453. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-format.d.ts +0 -5
  454. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-format.js +0 -132
  455. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-value.d.ts +0 -11
  456. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns-value.js +0 -209
  457. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns.d.ts +0 -532
  458. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/columns.js +0 -217
  459. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/index.d.ts +0 -3
  460. package/node_modules/@engenty-wizards/shared/dist/engenty/data-tables/index.js +0 -3
  461. package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-lexical.d.ts +0 -14
  462. package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-lexical.js +0 -166
  463. package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-rank.d.ts +0 -33
  464. package/node_modules/@engenty-wizards/shared/dist/engenty/search-index/catalog-rank.js +0 -99
  465. package/node_modules/@engenty-wizards/shared/dist/feature-flags.d.ts +0 -78
  466. package/node_modules/@engenty-wizards/shared/dist/feature-flags.js +0 -70
  467. package/node_modules/@engenty-wizards/shared/dist/features.d.ts +0 -41
  468. package/node_modules/@engenty-wizards/shared/dist/features.js +0 -89
  469. package/node_modules/@engenty-wizards/shared/dist/fit.d.ts +0 -71
  470. package/node_modules/@engenty-wizards/shared/dist/fit.js +0 -382
  471. package/node_modules/@engenty-wizards/shared/dist/json-schema.d.ts +0 -14
  472. package/node_modules/@engenty-wizards/shared/dist/json-schema.js +0 -66
  473. package/node_modules/@engenty-wizards/shared/dist/knowledge.d.ts +0 -199
  474. package/node_modules/@engenty-wizards/shared/dist/knowledge.js +0 -68
  475. package/node_modules/@engenty-wizards/shared/dist/marketplace-entry.d.ts +0 -35
  476. package/node_modules/@engenty-wizards/shared/dist/marketplace-entry.js +0 -107
  477. package/node_modules/@engenty-wizards/shared/dist/marketplace-search.d.ts +0 -20
  478. package/node_modules/@engenty-wizards/shared/dist/marketplace-search.js +0 -136
  479. package/node_modules/@engenty-wizards/shared/dist/marketplace.d.ts +0 -227
  480. package/node_modules/@engenty-wizards/shared/dist/marketplace.js +0 -354
  481. package/node_modules/@engenty-wizards/shared/dist/merge.d.ts +0 -7
  482. package/node_modules/@engenty-wizards/shared/dist/merge.js +0 -40
  483. package/node_modules/@engenty-wizards/shared/dist/numbers.d.ts +0 -24
  484. package/node_modules/@engenty-wizards/shared/dist/numbers.js +0 -54
  485. package/node_modules/@engenty-wizards/shared/dist/projects.d.ts +0 -224
  486. package/node_modules/@engenty-wizards/shared/dist/projects.js +0 -319
  487. package/node_modules/@engenty-wizards/shared/dist/providers.d.ts +0 -101
  488. package/node_modules/@engenty-wizards/shared/dist/providers.js +0 -390
  489. package/node_modules/@engenty-wizards/shared/dist/run.d.ts +0 -680
  490. package/node_modules/@engenty-wizards/shared/dist/run.js +0 -620
  491. package/node_modules/@engenty-wizards/shared/dist/runner-texts.d.ts +0 -546
  492. package/node_modules/@engenty-wizards/shared/dist/runner-texts.js +0 -523
  493. package/node_modules/@engenty-wizards/shared/dist/runners.d.ts +0 -93
  494. package/node_modules/@engenty-wizards/shared/dist/runners.js +0 -146
  495. package/node_modules/@engenty-wizards/shared/dist/shape.d.ts +0 -102
  496. package/node_modules/@engenty-wizards/shared/dist/shape.js +0 -318
  497. package/node_modules/@engenty-wizards/shared/dist/space-data.d.ts +0 -89
  498. package/node_modules/@engenty-wizards/shared/dist/space-data.js +0 -47
  499. package/node_modules/@engenty-wizards/shared/dist/store.d.ts +0 -117
  500. package/node_modules/@engenty-wizards/shared/dist/store.js +0 -81
  501. package/node_modules/@engenty-wizards/shared/dist/surface.d.ts +0 -115
  502. package/node_modules/@engenty-wizards/shared/dist/surface.js +0 -442
  503. package/node_modules/@engenty-wizards/shared/dist/texts.d.ts +0 -45
  504. package/node_modules/@engenty-wizards/shared/dist/texts.js +0 -54
  505. package/node_modules/@engenty-wizards/shared/dist/translation.d.ts +0 -23
  506. package/node_modules/@engenty-wizards/shared/dist/translation.js +0 -154
  507. package/node_modules/@engenty-wizards/shared/dist/wizard-package.d.ts +0 -48
  508. package/node_modules/@engenty-wizards/shared/dist/wizard-package.js +0 -49
  509. package/node_modules/@engenty-wizards/shared/dist/workspace.d.ts +0 -16
  510. package/node_modules/@engenty-wizards/shared/dist/workspace.js +0 -51
  511. package/node_modules/@engenty-wizards/shared/package.json +0 -10
  512. package/plugin/.claude-plugin/plugin.json +0 -9
  513. package/plugin/.mcp.json +0 -8
  514. package/plugin/commands/wizard.md +0 -8
  515. package/plugin/skills/build-wizard/SKILL.md +0 -27
  516. package/plugin/skills/use-wizard/SKILL.md +0 -18
@@ -1,3243 +0,0 @@
1
- {
2
- "version": "6",
3
- "dialect": "sqlite",
4
- "id": "1ac1fe22-03e6-4ebf-b4d9-e3f22633ec8b",
5
- "prevId": "52ccefc7-a7e2-4f5a-8b9a-a425976e42da",
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
- "assistant_chat": {
97
- "name": "assistant_chat",
98
- "columns": {
99
- "id": {
100
- "name": "id",
101
- "type": "text",
102
- "primaryKey": true,
103
- "notNull": true,
104
- "autoincrement": false
105
- },
106
- "tenant_id": {
107
- "name": "tenant_id",
108
- "type": "text",
109
- "primaryKey": false,
110
- "notNull": true,
111
- "autoincrement": false
112
- },
113
- "user_id": {
114
- "name": "user_id",
115
- "type": "text",
116
- "primaryKey": false,
117
- "notNull": true,
118
- "autoincrement": false
119
- },
120
- "title": {
121
- "name": "title",
122
- "type": "text",
123
- "primaryKey": false,
124
- "notNull": false,
125
- "autoincrement": false
126
- },
127
- "summary": {
128
- "name": "summary",
129
- "type": "text",
130
- "primaryKey": false,
131
- "notNull": false,
132
- "autoincrement": false
133
- },
134
- "folded": {
135
- "name": "folded",
136
- "type": "integer",
137
- "primaryKey": false,
138
- "notNull": true,
139
- "autoincrement": false,
140
- "default": 0
141
- },
142
- "created_at": {
143
- "name": "created_at",
144
- "type": "integer",
145
- "primaryKey": false,
146
- "notNull": true,
147
- "autoincrement": false,
148
- "default": "(unixepoch() * 1000)"
149
- },
150
- "closed_at": {
151
- "name": "closed_at",
152
- "type": "integer",
153
- "primaryKey": false,
154
- "notNull": false,
155
- "autoincrement": false
156
- }
157
- },
158
- "indexes": {
159
- "assistant_chat_user": {
160
- "name": "assistant_chat_user",
161
- "columns": [
162
- "tenant_id",
163
- "user_id",
164
- "closed_at"
165
- ],
166
- "isUnique": false
167
- }
168
- },
169
- "foreignKeys": {},
170
- "compositePrimaryKeys": {},
171
- "uniqueConstraints": {},
172
- "checkConstraints": {}
173
- },
174
- "assistant_message": {
175
- "name": "assistant_message",
176
- "columns": {
177
- "id": {
178
- "name": "id",
179
- "type": "text",
180
- "primaryKey": true,
181
- "notNull": true,
182
- "autoincrement": false
183
- },
184
- "chat_id": {
185
- "name": "chat_id",
186
- "type": "text",
187
- "primaryKey": false,
188
- "notNull": true,
189
- "autoincrement": false
190
- },
191
- "role": {
192
- "name": "role",
193
- "type": "text",
194
- "primaryKey": false,
195
- "notNull": true,
196
- "autoincrement": false
197
- },
198
- "content": {
199
- "name": "content",
200
- "type": "text",
201
- "primaryKey": false,
202
- "notNull": true,
203
- "autoincrement": false
204
- },
205
- "cards": {
206
- "name": "cards",
207
- "type": "text",
208
- "primaryKey": false,
209
- "notNull": false,
210
- "autoincrement": false
211
- },
212
- "tool_calls": {
213
- "name": "tool_calls",
214
- "type": "text",
215
- "primaryKey": false,
216
- "notNull": false,
217
- "autoincrement": false
218
- },
219
- "page": {
220
- "name": "page",
221
- "type": "text",
222
- "primaryKey": false,
223
- "notNull": false,
224
- "autoincrement": false
225
- },
226
- "changed": {
227
- "name": "changed",
228
- "type": "integer",
229
- "primaryKey": false,
230
- "notNull": true,
231
- "autoincrement": false,
232
- "default": false
233
- },
234
- "created_at": {
235
- "name": "created_at",
236
- "type": "integer",
237
- "primaryKey": false,
238
- "notNull": true,
239
- "autoincrement": false,
240
- "default": "(unixepoch() * 1000)"
241
- }
242
- },
243
- "indexes": {
244
- "assistant_message_chat": {
245
- "name": "assistant_message_chat",
246
- "columns": [
247
- "chat_id",
248
- "created_at"
249
- ],
250
- "isUnique": false
251
- }
252
- },
253
- "foreignKeys": {
254
- "assistant_message_chat_id_assistant_chat_id_fk": {
255
- "name": "assistant_message_chat_id_assistant_chat_id_fk",
256
- "tableFrom": "assistant_message",
257
- "tableTo": "assistant_chat",
258
- "columnsFrom": [
259
- "chat_id"
260
- ],
261
- "columnsTo": [
262
- "id"
263
- ],
264
- "onDelete": "cascade",
265
- "onUpdate": "no action"
266
- }
267
- },
268
- "compositePrimaryKeys": {},
269
- "uniqueConstraints": {},
270
- "checkConstraints": {}
271
- },
272
- "device_call": {
273
- "name": "device_call",
274
- "columns": {
275
- "id": {
276
- "name": "id",
277
- "type": "integer",
278
- "primaryKey": true,
279
- "notNull": true,
280
- "autoincrement": true
281
- },
282
- "run_id": {
283
- "name": "run_id",
284
- "type": "text",
285
- "primaryKey": false,
286
- "notNull": true,
287
- "autoincrement": false
288
- },
289
- "req_id": {
290
- "name": "req_id",
291
- "type": "text",
292
- "primaryKey": false,
293
- "notNull": true,
294
- "autoincrement": false
295
- },
296
- "request": {
297
- "name": "request",
298
- "type": "text",
299
- "primaryKey": false,
300
- "notNull": true,
301
- "autoincrement": false
302
- },
303
- "answer": {
304
- "name": "answer",
305
- "type": "text",
306
- "primaryKey": false,
307
- "notNull": false,
308
- "autoincrement": false
309
- },
310
- "created_at": {
311
- "name": "created_at",
312
- "type": "integer",
313
- "primaryKey": false,
314
- "notNull": true,
315
- "autoincrement": false,
316
- "default": "(unixepoch() * 1000)"
317
- }
318
- },
319
- "indexes": {
320
- "device_call_req": {
321
- "name": "device_call_req",
322
- "columns": [
323
- "req_id"
324
- ],
325
- "isUnique": true
326
- },
327
- "device_call_run": {
328
- "name": "device_call_run",
329
- "columns": [
330
- "run_id"
331
- ],
332
- "isUnique": false
333
- }
334
- },
335
- "foreignKeys": {
336
- "device_call_run_id_run_id_fk": {
337
- "name": "device_call_run_id_run_id_fk",
338
- "tableFrom": "device_call",
339
- "tableTo": "run",
340
- "columnsFrom": [
341
- "run_id"
342
- ],
343
- "columnsTo": [
344
- "id"
345
- ],
346
- "onDelete": "cascade",
347
- "onUpdate": "no action"
348
- }
349
- },
350
- "compositePrimaryKeys": {},
351
- "uniqueConstraints": {},
352
- "checkConstraints": {}
353
- },
354
- "marketplace_star": {
355
- "name": "marketplace_star",
356
- "columns": {
357
- "tenant_id": {
358
- "name": "tenant_id",
359
- "type": "text",
360
- "primaryKey": false,
361
- "notNull": true,
362
- "autoincrement": false
363
- },
364
- "entry_id": {
365
- "name": "entry_id",
366
- "type": "text",
367
- "primaryKey": false,
368
- "notNull": true,
369
- "autoincrement": false
370
- },
371
- "created_at": {
372
- "name": "created_at",
373
- "type": "integer",
374
- "primaryKey": false,
375
- "notNull": true,
376
- "autoincrement": false,
377
- "default": "(unixepoch() * 1000)"
378
- }
379
- },
380
- "indexes": {},
381
- "foreignKeys": {},
382
- "compositePrimaryKeys": {
383
- "marketplace_star_tenant_id_entry_id_pk": {
384
- "columns": [
385
- "tenant_id",
386
- "entry_id"
387
- ],
388
- "name": "marketplace_star_tenant_id_entry_id_pk"
389
- }
390
- },
391
- "uniqueConstraints": {},
392
- "checkConstraints": {}
393
- },
394
- "plugin_connection": {
395
- "name": "plugin_connection",
396
- "columns": {
397
- "id": {
398
- "name": "id",
399
- "type": "text",
400
- "primaryKey": true,
401
- "notNull": true,
402
- "autoincrement": false
403
- },
404
- "plugin": {
405
- "name": "plugin",
406
- "type": "text",
407
- "primaryKey": false,
408
- "notNull": true,
409
- "autoincrement": false
410
- },
411
- "project_id": {
412
- "name": "project_id",
413
- "type": "text",
414
- "primaryKey": false,
415
- "notNull": true,
416
- "autoincrement": false
417
- },
418
- "connector": {
419
- "name": "connector",
420
- "type": "text",
421
- "primaryKey": false,
422
- "notNull": true,
423
- "autoincrement": false
424
- },
425
- "label": {
426
- "name": "label",
427
- "type": "text",
428
- "primaryKey": false,
429
- "notNull": true,
430
- "autoincrement": false
431
- },
432
- "actions": {
433
- "name": "actions",
434
- "type": "text",
435
- "primaryKey": false,
436
- "notNull": true,
437
- "autoincrement": false
438
- },
439
- "data": {
440
- "name": "data",
441
- "type": "text",
442
- "primaryKey": false,
443
- "notNull": true,
444
- "autoincrement": false
445
- },
446
- "created_by": {
447
- "name": "created_by",
448
- "type": "text",
449
- "primaryKey": false,
450
- "notNull": false,
451
- "autoincrement": false
452
- },
453
- "created_at": {
454
- "name": "created_at",
455
- "type": "integer",
456
- "primaryKey": false,
457
- "notNull": true,
458
- "autoincrement": false,
459
- "default": "(unixepoch() * 1000)"
460
- },
461
- "updated_at": {
462
- "name": "updated_at",
463
- "type": "integer",
464
- "primaryKey": false,
465
- "notNull": true,
466
- "autoincrement": false,
467
- "default": "(unixepoch() * 1000)"
468
- }
469
- },
470
- "indexes": {
471
- "plugin_connection_space": {
472
- "name": "plugin_connection_space",
473
- "columns": [
474
- "plugin",
475
- "project_id"
476
- ],
477
- "isUnique": false
478
- }
479
- },
480
- "foreignKeys": {
481
- "plugin_connection_project_id_project_id_fk": {
482
- "name": "plugin_connection_project_id_project_id_fk",
483
- "tableFrom": "plugin_connection",
484
- "tableTo": "project",
485
- "columnsFrom": [
486
- "project_id"
487
- ],
488
- "columnsTo": [
489
- "id"
490
- ],
491
- "onDelete": "cascade",
492
- "onUpdate": "no action"
493
- }
494
- },
495
- "compositePrimaryKeys": {},
496
- "uniqueConstraints": {},
497
- "checkConstraints": {}
498
- },
499
- "project": {
500
- "name": "project",
501
- "columns": {
502
- "id": {
503
- "name": "id",
504
- "type": "text",
505
- "primaryKey": true,
506
- "notNull": true,
507
- "autoincrement": false
508
- },
509
- "tenant_id": {
510
- "name": "tenant_id",
511
- "type": "text",
512
- "primaryKey": false,
513
- "notNull": true,
514
- "autoincrement": false
515
- },
516
- "name": {
517
- "name": "name",
518
- "type": "text",
519
- "primaryKey": false,
520
- "notNull": true,
521
- "autoincrement": false
522
- },
523
- "brand": {
524
- "name": "brand",
525
- "type": "text",
526
- "primaryKey": false,
527
- "notNull": true,
528
- "autoincrement": false,
529
- "default": "'{}'"
530
- },
531
- "facts": {
532
- "name": "facts",
533
- "type": "text",
534
- "primaryKey": false,
535
- "notNull": true,
536
- "autoincrement": false,
537
- "default": "'[]'"
538
- },
539
- "mcp_servers": {
540
- "name": "mcp_servers",
541
- "type": "text",
542
- "primaryKey": false,
543
- "notNull": true,
544
- "autoincrement": false,
545
- "default": "'[]'"
546
- },
547
- "origin": {
548
- "name": "origin",
549
- "type": "text",
550
- "primaryKey": false,
551
- "notNull": false,
552
- "autoincrement": false
553
- },
554
- "synced_at": {
555
- "name": "synced_at",
556
- "type": "integer",
557
- "primaryKey": false,
558
- "notNull": false,
559
- "autoincrement": false
560
- },
561
- "created_at": {
562
- "name": "created_at",
563
- "type": "integer",
564
- "primaryKey": false,
565
- "notNull": true,
566
- "autoincrement": false,
567
- "default": "(unixepoch() * 1000)"
568
- },
569
- "updated_at": {
570
- "name": "updated_at",
571
- "type": "integer",
572
- "primaryKey": false,
573
- "notNull": true,
574
- "autoincrement": false,
575
- "default": "(unixepoch() * 1000)"
576
- }
577
- },
578
- "indexes": {
579
- "project_tenant": {
580
- "name": "project_tenant",
581
- "columns": [
582
- "tenant_id"
583
- ],
584
- "isUnique": false
585
- }
586
- },
587
- "foreignKeys": {},
588
- "compositePrimaryKeys": {},
589
- "uniqueConstraints": {},
590
- "checkConstraints": {}
591
- },
592
- "project_chunk": {
593
- "name": "project_chunk",
594
- "columns": {
595
- "id": {
596
- "name": "id",
597
- "type": "integer",
598
- "primaryKey": true,
599
- "notNull": true,
600
- "autoincrement": true
601
- },
602
- "project_id": {
603
- "name": "project_id",
604
- "type": "text",
605
- "primaryKey": false,
606
- "notNull": true,
607
- "autoincrement": false
608
- },
609
- "file_id": {
610
- "name": "file_id",
611
- "type": "text",
612
- "primaryKey": false,
613
- "notNull": false,
614
- "autoincrement": false
615
- },
616
- "page_id": {
617
- "name": "page_id",
618
- "type": "text",
619
- "primaryKey": false,
620
- "notNull": false,
621
- "autoincrement": false
622
- },
623
- "row_id": {
624
- "name": "row_id",
625
- "type": "text",
626
- "primaryKey": false,
627
- "notNull": false,
628
- "autoincrement": false
629
- },
630
- "table_id": {
631
- "name": "table_id",
632
- "type": "text",
633
- "primaryKey": false,
634
- "notNull": false,
635
- "autoincrement": false
636
- },
637
- "value_id": {
638
- "name": "value_id",
639
- "type": "text",
640
- "primaryKey": false,
641
- "notNull": false,
642
- "autoincrement": false
643
- },
644
- "heading": {
645
- "name": "heading",
646
- "type": "text",
647
- "primaryKey": false,
648
- "notNull": false,
649
- "autoincrement": false
650
- },
651
- "sheet": {
652
- "name": "sheet",
653
- "type": "integer",
654
- "primaryKey": false,
655
- "notNull": false,
656
- "autoincrement": false
657
- },
658
- "plugin": {
659
- "name": "plugin",
660
- "type": "text",
661
- "primaryKey": false,
662
- "notNull": false,
663
- "autoincrement": false
664
- },
665
- "ref": {
666
- "name": "ref",
667
- "type": "text",
668
- "primaryKey": false,
669
- "notNull": false,
670
- "autoincrement": false
671
- },
672
- "title": {
673
- "name": "title",
674
- "type": "text",
675
- "primaryKey": false,
676
- "notNull": false,
677
- "autoincrement": false
678
- },
679
- "link": {
680
- "name": "link",
681
- "type": "text",
682
- "primaryKey": false,
683
- "notNull": false,
684
- "autoincrement": false
685
- },
686
- "idx": {
687
- "name": "idx",
688
- "type": "integer",
689
- "primaryKey": false,
690
- "notNull": true,
691
- "autoincrement": false
692
- },
693
- "text": {
694
- "name": "text",
695
- "type": "text",
696
- "primaryKey": false,
697
- "notNull": true,
698
- "autoincrement": false
699
- },
700
- "embedding": {
701
- "name": "embedding",
702
- "type": "blob",
703
- "primaryKey": false,
704
- "notNull": false,
705
- "autoincrement": false
706
- },
707
- "model": {
708
- "name": "model",
709
- "type": "text",
710
- "primaryKey": false,
711
- "notNull": false,
712
- "autoincrement": false
713
- }
714
- },
715
- "indexes": {
716
- "project_chunk_project": {
717
- "name": "project_chunk_project",
718
- "columns": [
719
- "project_id",
720
- "model"
721
- ],
722
- "isUnique": false
723
- },
724
- "project_chunk_file": {
725
- "name": "project_chunk_file",
726
- "columns": [
727
- "file_id"
728
- ],
729
- "isUnique": false
730
- },
731
- "project_chunk_ref": {
732
- "name": "project_chunk_ref",
733
- "columns": [
734
- "project_id",
735
- "plugin",
736
- "ref"
737
- ],
738
- "isUnique": false
739
- },
740
- "project_chunk_page": {
741
- "name": "project_chunk_page",
742
- "columns": [
743
- "page_id"
744
- ],
745
- "isUnique": false
746
- },
747
- "project_chunk_row": {
748
- "name": "project_chunk_row",
749
- "columns": [
750
- "row_id"
751
- ],
752
- "isUnique": false
753
- },
754
- "project_chunk_table": {
755
- "name": "project_chunk_table",
756
- "columns": [
757
- "table_id"
758
- ],
759
- "isUnique": false
760
- },
761
- "project_chunk_value": {
762
- "name": "project_chunk_value",
763
- "columns": [
764
- "value_id"
765
- ],
766
- "isUnique": false
767
- }
768
- },
769
- "foreignKeys": {
770
- "project_chunk_project_id_project_id_fk": {
771
- "name": "project_chunk_project_id_project_id_fk",
772
- "tableFrom": "project_chunk",
773
- "tableTo": "project",
774
- "columnsFrom": [
775
- "project_id"
776
- ],
777
- "columnsTo": [
778
- "id"
779
- ],
780
- "onDelete": "cascade",
781
- "onUpdate": "no action"
782
- },
783
- "project_chunk_file_id_project_file_id_fk": {
784
- "name": "project_chunk_file_id_project_file_id_fk",
785
- "tableFrom": "project_chunk",
786
- "tableTo": "project_file",
787
- "columnsFrom": [
788
- "file_id"
789
- ],
790
- "columnsTo": [
791
- "id"
792
- ],
793
- "onDelete": "cascade",
794
- "onUpdate": "no action"
795
- },
796
- "project_chunk_page_id_space_page_id_fk": {
797
- "name": "project_chunk_page_id_space_page_id_fk",
798
- "tableFrom": "project_chunk",
799
- "tableTo": "space_page",
800
- "columnsFrom": [
801
- "page_id"
802
- ],
803
- "columnsTo": [
804
- "id"
805
- ],
806
- "onDelete": "cascade",
807
- "onUpdate": "no action"
808
- },
809
- "project_chunk_row_id_space_table_row_id_fk": {
810
- "name": "project_chunk_row_id_space_table_row_id_fk",
811
- "tableFrom": "project_chunk",
812
- "tableTo": "space_table_row",
813
- "columnsFrom": [
814
- "row_id"
815
- ],
816
- "columnsTo": [
817
- "id"
818
- ],
819
- "onDelete": "cascade",
820
- "onUpdate": "no action"
821
- },
822
- "project_chunk_table_id_space_table_id_fk": {
823
- "name": "project_chunk_table_id_space_table_id_fk",
824
- "tableFrom": "project_chunk",
825
- "tableTo": "space_table",
826
- "columnsFrom": [
827
- "table_id"
828
- ],
829
- "columnsTo": [
830
- "id"
831
- ],
832
- "onDelete": "cascade",
833
- "onUpdate": "no action"
834
- },
835
- "project_chunk_value_id_space_category_value_id_fk": {
836
- "name": "project_chunk_value_id_space_category_value_id_fk",
837
- "tableFrom": "project_chunk",
838
- "tableTo": "space_category_value",
839
- "columnsFrom": [
840
- "value_id"
841
- ],
842
- "columnsTo": [
843
- "id"
844
- ],
845
- "onDelete": "cascade",
846
- "onUpdate": "no action"
847
- }
848
- },
849
- "compositePrimaryKeys": {},
850
- "uniqueConstraints": {},
851
- "checkConstraints": {}
852
- },
853
- "project_connector": {
854
- "name": "project_connector",
855
- "columns": {
856
- "project_id": {
857
- "name": "project_id",
858
- "type": "text",
859
- "primaryKey": false,
860
- "notNull": true,
861
- "autoincrement": false
862
- },
863
- "id": {
864
- "name": "id",
865
- "type": "text",
866
- "primaryKey": false,
867
- "notNull": true,
868
- "autoincrement": false
869
- },
870
- "record": {
871
- "name": "record",
872
- "type": "text",
873
- "primaryKey": false,
874
- "notNull": true,
875
- "autoincrement": false
876
- },
877
- "created_at": {
878
- "name": "created_at",
879
- "type": "integer",
880
- "primaryKey": false,
881
- "notNull": true,
882
- "autoincrement": false,
883
- "default": "(unixepoch() * 1000)"
884
- },
885
- "updated_at": {
886
- "name": "updated_at",
887
- "type": "integer",
888
- "primaryKey": false,
889
- "notNull": true,
890
- "autoincrement": false,
891
- "default": "(unixepoch() * 1000)"
892
- }
893
- },
894
- "indexes": {},
895
- "foreignKeys": {
896
- "project_connector_project_id_project_id_fk": {
897
- "name": "project_connector_project_id_project_id_fk",
898
- "tableFrom": "project_connector",
899
- "tableTo": "project",
900
- "columnsFrom": [
901
- "project_id"
902
- ],
903
- "columnsTo": [
904
- "id"
905
- ],
906
- "onDelete": "cascade",
907
- "onUpdate": "no action"
908
- }
909
- },
910
- "compositePrimaryKeys": {
911
- "project_connector_project_id_id_pk": {
912
- "columns": [
913
- "project_id",
914
- "id"
915
- ],
916
- "name": "project_connector_project_id_id_pk"
917
- }
918
- },
919
- "uniqueConstraints": {},
920
- "checkConstraints": {}
921
- },
922
- "project_file": {
923
- "name": "project_file",
924
- "columns": {
925
- "id": {
926
- "name": "id",
927
- "type": "text",
928
- "primaryKey": true,
929
- "notNull": true,
930
- "autoincrement": false
931
- },
932
- "project_id": {
933
- "name": "project_id",
934
- "type": "text",
935
- "primaryKey": false,
936
- "notNull": true,
937
- "autoincrement": false
938
- },
939
- "kind": {
940
- "name": "kind",
941
- "type": "text",
942
- "primaryKey": false,
943
- "notNull": true,
944
- "autoincrement": false
945
- },
946
- "name": {
947
- "name": "name",
948
- "type": "text",
949
- "primaryKey": false,
950
- "notNull": true,
951
- "autoincrement": false
952
- },
953
- "mime": {
954
- "name": "mime",
955
- "type": "text",
956
- "primaryKey": false,
957
- "notNull": true,
958
- "autoincrement": false
959
- },
960
- "size": {
961
- "name": "size",
962
- "type": "integer",
963
- "primaryKey": false,
964
- "notNull": true,
965
- "autoincrement": false
966
- },
967
- "description": {
968
- "name": "description",
969
- "type": "text",
970
- "primaryKey": false,
971
- "notNull": true,
972
- "autoincrement": false,
973
- "default": "''"
974
- },
975
- "source": {
976
- "name": "source",
977
- "type": "text",
978
- "primaryKey": false,
979
- "notNull": false,
980
- "autoincrement": false
981
- },
982
- "position": {
983
- "name": "position",
984
- "type": "integer",
985
- "primaryKey": false,
986
- "notNull": true,
987
- "autoincrement": false,
988
- "default": 0
989
- },
990
- "status": {
991
- "name": "status",
992
- "type": "text",
993
- "primaryKey": false,
994
- "notNull": true,
995
- "autoincrement": false,
996
- "default": "'ready'"
997
- },
998
- "error": {
999
- "name": "error",
1000
- "type": "text",
1001
- "primaryKey": false,
1002
- "notNull": false,
1003
- "autoincrement": false
1004
- },
1005
- "text_hash": {
1006
- "name": "text_hash",
1007
- "type": "text",
1008
- "primaryKey": false,
1009
- "notNull": false,
1010
- "autoincrement": false
1011
- },
1012
- "pages": {
1013
- "name": "pages",
1014
- "type": "integer",
1015
- "primaryKey": false,
1016
- "notNull": false,
1017
- "autoincrement": false
1018
- },
1019
- "chars": {
1020
- "name": "chars",
1021
- "type": "integer",
1022
- "primaryKey": false,
1023
- "notNull": false,
1024
- "autoincrement": false
1025
- },
1026
- "indexed": {
1027
- "name": "indexed",
1028
- "type": "text",
1029
- "primaryKey": false,
1030
- "notNull": false,
1031
- "autoincrement": false
1032
- },
1033
- "origin": {
1034
- "name": "origin",
1035
- "type": "text",
1036
- "primaryKey": false,
1037
- "notNull": false,
1038
- "autoincrement": false
1039
- },
1040
- "origin_key": {
1041
- "name": "origin_key",
1042
- "type": "text",
1043
- "primaryKey": false,
1044
- "notNull": false,
1045
- "autoincrement": false
1046
- },
1047
- "origin_label": {
1048
- "name": "origin_label",
1049
- "type": "text",
1050
- "primaryKey": false,
1051
- "notNull": false,
1052
- "autoincrement": false
1053
- },
1054
- "created_at": {
1055
- "name": "created_at",
1056
- "type": "integer",
1057
- "primaryKey": false,
1058
- "notNull": true,
1059
- "autoincrement": false,
1060
- "default": "(unixepoch() * 1000)"
1061
- },
1062
- "updated_at": {
1063
- "name": "updated_at",
1064
- "type": "integer",
1065
- "primaryKey": false,
1066
- "notNull": true,
1067
- "autoincrement": false,
1068
- "default": "(unixepoch() * 1000)"
1069
- }
1070
- },
1071
- "indexes": {
1072
- "project_file_project": {
1073
- "name": "project_file_project",
1074
- "columns": [
1075
- "project_id",
1076
- "kind",
1077
- "position"
1078
- ],
1079
- "isUnique": false
1080
- },
1081
- "project_file_origin": {
1082
- "name": "project_file_origin",
1083
- "columns": [
1084
- "project_id",
1085
- "origin",
1086
- "origin_key"
1087
- ],
1088
- "isUnique": true
1089
- }
1090
- },
1091
- "foreignKeys": {
1092
- "project_file_project_id_project_id_fk": {
1093
- "name": "project_file_project_id_project_id_fk",
1094
- "tableFrom": "project_file",
1095
- "tableTo": "project",
1096
- "columnsFrom": [
1097
- "project_id"
1098
- ],
1099
- "columnsTo": [
1100
- "id"
1101
- ],
1102
- "onDelete": "cascade",
1103
- "onUpdate": "no action"
1104
- }
1105
- },
1106
- "compositePrimaryKeys": {},
1107
- "uniqueConstraints": {},
1108
- "checkConstraints": {}
1109
- },
1110
- "run": {
1111
- "name": "run",
1112
- "columns": {
1113
- "id": {
1114
- "name": "id",
1115
- "type": "text",
1116
- "primaryKey": true,
1117
- "notNull": true,
1118
- "autoincrement": false
1119
- },
1120
- "wizard_id": {
1121
- "name": "wizard_id",
1122
- "type": "text",
1123
- "primaryKey": false,
1124
- "notNull": true,
1125
- "autoincrement": false
1126
- },
1127
- "tenant_id": {
1128
- "name": "tenant_id",
1129
- "type": "text",
1130
- "primaryKey": false,
1131
- "notNull": true,
1132
- "autoincrement": false
1133
- },
1134
- "definition": {
1135
- "name": "definition",
1136
- "type": "text",
1137
- "primaryKey": false,
1138
- "notNull": true,
1139
- "autoincrement": false
1140
- },
1141
- "files": {
1142
- "name": "files",
1143
- "type": "text",
1144
- "primaryKey": false,
1145
- "notNull": true,
1146
- "autoincrement": false,
1147
- "default": "'[]'"
1148
- },
1149
- "version": {
1150
- "name": "version",
1151
- "type": "integer",
1152
- "primaryKey": false,
1153
- "notNull": false,
1154
- "autoincrement": false
1155
- },
1156
- "mode": {
1157
- "name": "mode",
1158
- "type": "text",
1159
- "primaryKey": false,
1160
- "notNull": true,
1161
- "autoincrement": false
1162
- },
1163
- "runner": {
1164
- "name": "runner",
1165
- "type": "text",
1166
- "primaryKey": false,
1167
- "notNull": false,
1168
- "autoincrement": false
1169
- },
1170
- "visitor_id": {
1171
- "name": "visitor_id",
1172
- "type": "text",
1173
- "primaryKey": false,
1174
- "notNull": false,
1175
- "autoincrement": false
1176
- },
1177
- "user_id": {
1178
- "name": "user_id",
1179
- "type": "text",
1180
- "primaryKey": false,
1181
- "notNull": false,
1182
- "autoincrement": false
1183
- },
1184
- "ip_hash": {
1185
- "name": "ip_hash",
1186
- "type": "text",
1187
- "primaryKey": false,
1188
- "notNull": false,
1189
- "autoincrement": false
1190
- },
1191
- "origin": {
1192
- "name": "origin",
1193
- "type": "text",
1194
- "primaryKey": false,
1195
- "notNull": false,
1196
- "autoincrement": false
1197
- },
1198
- "status": {
1199
- "name": "status",
1200
- "type": "text",
1201
- "primaryKey": false,
1202
- "notNull": true,
1203
- "autoincrement": false
1204
- },
1205
- "cursor": {
1206
- "name": "cursor",
1207
- "type": "text",
1208
- "primaryKey": false,
1209
- "notNull": false,
1210
- "autoincrement": false
1211
- },
1212
- "state": {
1213
- "name": "state",
1214
- "type": "text",
1215
- "primaryKey": false,
1216
- "notNull": true,
1217
- "autoincrement": false
1218
- },
1219
- "error": {
1220
- "name": "error",
1221
- "type": "text",
1222
- "primaryKey": false,
1223
- "notNull": false,
1224
- "autoincrement": false
1225
- },
1226
- "ask": {
1227
- "name": "ask",
1228
- "type": "text",
1229
- "primaryKey": false,
1230
- "notNull": false,
1231
- "autoincrement": false
1232
- },
1233
- "answer": {
1234
- "name": "answer",
1235
- "type": "text",
1236
- "primaryKey": false,
1237
- "notNull": false,
1238
- "autoincrement": false
1239
- },
1240
- "unattended": {
1241
- "name": "unattended",
1242
- "type": "integer",
1243
- "primaryKey": false,
1244
- "notNull": true,
1245
- "autoincrement": false,
1246
- "default": false
1247
- },
1248
- "device_offer": {
1249
- "name": "device_offer",
1250
- "type": "text",
1251
- "primaryKey": false,
1252
- "notNull": false,
1253
- "autoincrement": false
1254
- },
1255
- "cost_micros": {
1256
- "name": "cost_micros",
1257
- "type": "integer",
1258
- "primaryKey": false,
1259
- "notNull": true,
1260
- "autoincrement": false,
1261
- "default": 0
1262
- },
1263
- "share_token": {
1264
- "name": "share_token",
1265
- "type": "text",
1266
- "primaryKey": false,
1267
- "notNull": false,
1268
- "autoincrement": false
1269
- },
1270
- "shared_at": {
1271
- "name": "shared_at",
1272
- "type": "integer",
1273
- "primaryKey": false,
1274
- "notNull": false,
1275
- "autoincrement": false
1276
- },
1277
- "expires_at": {
1278
- "name": "expires_at",
1279
- "type": "integer",
1280
- "primaryKey": false,
1281
- "notNull": false,
1282
- "autoincrement": false
1283
- },
1284
- "created_at": {
1285
- "name": "created_at",
1286
- "type": "integer",
1287
- "primaryKey": false,
1288
- "notNull": true,
1289
- "autoincrement": false,
1290
- "default": "(unixepoch() * 1000)"
1291
- },
1292
- "updated_at": {
1293
- "name": "updated_at",
1294
- "type": "integer",
1295
- "primaryKey": false,
1296
- "notNull": true,
1297
- "autoincrement": false,
1298
- "default": "(unixepoch() * 1000)"
1299
- }
1300
- },
1301
- "indexes": {
1302
- "run_share_token": {
1303
- "name": "run_share_token",
1304
- "columns": [
1305
- "share_token"
1306
- ],
1307
- "isUnique": true
1308
- },
1309
- "run_expires": {
1310
- "name": "run_expires",
1311
- "columns": [
1312
- "expires_at"
1313
- ],
1314
- "isUnique": false
1315
- },
1316
- "run_wizard": {
1317
- "name": "run_wizard",
1318
- "columns": [
1319
- "wizard_id",
1320
- "created_at"
1321
- ],
1322
- "isUnique": false
1323
- },
1324
- "run_visitor": {
1325
- "name": "run_visitor",
1326
- "columns": [
1327
- "visitor_id",
1328
- "created_at"
1329
- ],
1330
- "isUnique": false
1331
- },
1332
- "run_status": {
1333
- "name": "run_status",
1334
- "columns": [
1335
- "status"
1336
- ],
1337
- "isUnique": false
1338
- }
1339
- },
1340
- "foreignKeys": {
1341
- "run_wizard_id_wizard_id_fk": {
1342
- "name": "run_wizard_id_wizard_id_fk",
1343
- "tableFrom": "run",
1344
- "tableTo": "wizard",
1345
- "columnsFrom": [
1346
- "wizard_id"
1347
- ],
1348
- "columnsTo": [
1349
- "id"
1350
- ],
1351
- "onDelete": "cascade",
1352
- "onUpdate": "no action"
1353
- }
1354
- },
1355
- "compositePrimaryKeys": {},
1356
- "uniqueConstraints": {},
1357
- "checkConstraints": {}
1358
- },
1359
- "run_cost": {
1360
- "name": "run_cost",
1361
- "columns": {
1362
- "run_id": {
1363
- "name": "run_id",
1364
- "type": "text",
1365
- "primaryKey": false,
1366
- "notNull": true,
1367
- "autoincrement": false
1368
- },
1369
- "step_id": {
1370
- "name": "step_id",
1371
- "type": "text",
1372
- "primaryKey": false,
1373
- "notNull": true,
1374
- "autoincrement": false
1375
- },
1376
- "micros": {
1377
- "name": "micros",
1378
- "type": "integer",
1379
- "primaryKey": false,
1380
- "notNull": true,
1381
- "autoincrement": false,
1382
- "default": 0
1383
- }
1384
- },
1385
- "indexes": {},
1386
- "foreignKeys": {
1387
- "run_cost_run_id_run_id_fk": {
1388
- "name": "run_cost_run_id_run_id_fk",
1389
- "tableFrom": "run_cost",
1390
- "tableTo": "run",
1391
- "columnsFrom": [
1392
- "run_id"
1393
- ],
1394
- "columnsTo": [
1395
- "id"
1396
- ],
1397
- "onDelete": "cascade",
1398
- "onUpdate": "no action"
1399
- }
1400
- },
1401
- "compositePrimaryKeys": {
1402
- "run_cost_run_id_step_id_pk": {
1403
- "columns": [
1404
- "run_id",
1405
- "step_id"
1406
- ],
1407
- "name": "run_cost_run_id_step_id_pk"
1408
- }
1409
- },
1410
- "uniqueConstraints": {},
1411
- "checkConstraints": {}
1412
- },
1413
- "run_event": {
1414
- "name": "run_event",
1415
- "columns": {
1416
- "id": {
1417
- "name": "id",
1418
- "type": "integer",
1419
- "primaryKey": true,
1420
- "notNull": true,
1421
- "autoincrement": true
1422
- },
1423
- "run_id": {
1424
- "name": "run_id",
1425
- "type": "text",
1426
- "primaryKey": false,
1427
- "notNull": true,
1428
- "autoincrement": false
1429
- },
1430
- "step_id": {
1431
- "name": "step_id",
1432
- "type": "text",
1433
- "primaryKey": false,
1434
- "notNull": false,
1435
- "autoincrement": false
1436
- },
1437
- "type": {
1438
- "name": "type",
1439
- "type": "text",
1440
- "primaryKey": false,
1441
- "notNull": true,
1442
- "autoincrement": false
1443
- },
1444
- "message": {
1445
- "name": "message",
1446
- "type": "text",
1447
- "primaryKey": false,
1448
- "notNull": true,
1449
- "autoincrement": false
1450
- },
1451
- "note": {
1452
- "name": "note",
1453
- "type": "text",
1454
- "primaryKey": false,
1455
- "notNull": false,
1456
- "autoincrement": false
1457
- },
1458
- "asset_id": {
1459
- "name": "asset_id",
1460
- "type": "text",
1461
- "primaryKey": false,
1462
- "notNull": false,
1463
- "autoincrement": false
1464
- },
1465
- "created_at": {
1466
- "name": "created_at",
1467
- "type": "integer",
1468
- "primaryKey": false,
1469
- "notNull": true,
1470
- "autoincrement": false,
1471
- "default": "(unixepoch() * 1000)"
1472
- }
1473
- },
1474
- "indexes": {
1475
- "run_event_run": {
1476
- "name": "run_event_run",
1477
- "columns": [
1478
- "run_id",
1479
- "id"
1480
- ],
1481
- "isUnique": false
1482
- }
1483
- },
1484
- "foreignKeys": {
1485
- "run_event_run_id_run_id_fk": {
1486
- "name": "run_event_run_id_run_id_fk",
1487
- "tableFrom": "run_event",
1488
- "tableTo": "run",
1489
- "columnsFrom": [
1490
- "run_id"
1491
- ],
1492
- "columnsTo": [
1493
- "id"
1494
- ],
1495
- "onDelete": "cascade",
1496
- "onUpdate": "no action"
1497
- }
1498
- },
1499
- "compositePrimaryKeys": {},
1500
- "uniqueConstraints": {},
1501
- "checkConstraints": {}
1502
- },
1503
- "space_category": {
1504
- "name": "space_category",
1505
- "columns": {
1506
- "id": {
1507
- "name": "id",
1508
- "type": "text",
1509
- "primaryKey": true,
1510
- "notNull": true,
1511
- "autoincrement": false
1512
- },
1513
- "tenant_id": {
1514
- "name": "tenant_id",
1515
- "type": "text",
1516
- "primaryKey": false,
1517
- "notNull": true,
1518
- "autoincrement": false
1519
- },
1520
- "project_id": {
1521
- "name": "project_id",
1522
- "type": "text",
1523
- "primaryKey": false,
1524
- "notNull": true,
1525
- "autoincrement": false
1526
- },
1527
- "name": {
1528
- "name": "name",
1529
- "type": "text",
1530
- "primaryKey": false,
1531
- "notNull": true,
1532
- "autoincrement": false
1533
- },
1534
- "type": {
1535
- "name": "type",
1536
- "type": "text",
1537
- "primaryKey": false,
1538
- "notNull": true,
1539
- "autoincrement": false
1540
- },
1541
- "unit": {
1542
- "name": "unit",
1543
- "type": "text",
1544
- "primaryKey": false,
1545
- "notNull": false,
1546
- "autoincrement": false
1547
- },
1548
- "multiple": {
1549
- "name": "multiple",
1550
- "type": "integer",
1551
- "primaryKey": false,
1552
- "notNull": true,
1553
- "autoincrement": false,
1554
- "default": false
1555
- },
1556
- "ordered": {
1557
- "name": "ordered",
1558
- "type": "integer",
1559
- "primaryKey": false,
1560
- "notNull": true,
1561
- "autoincrement": false,
1562
- "default": false
1563
- },
1564
- "hint": {
1565
- "name": "hint",
1566
- "type": "text",
1567
- "primaryKey": false,
1568
- "notNull": false,
1569
- "autoincrement": false
1570
- },
1571
- "origin": {
1572
- "name": "origin",
1573
- "type": "text",
1574
- "primaryKey": false,
1575
- "notNull": false,
1576
- "autoincrement": false
1577
- },
1578
- "proposed": {
1579
- "name": "proposed",
1580
- "type": "integer",
1581
- "primaryKey": false,
1582
- "notNull": true,
1583
- "autoincrement": false,
1584
- "default": false
1585
- },
1586
- "table_id": {
1587
- "name": "table_id",
1588
- "type": "text",
1589
- "primaryKey": false,
1590
- "notNull": false,
1591
- "autoincrement": false
1592
- },
1593
- "column_id": {
1594
- "name": "column_id",
1595
- "type": "text",
1596
- "primaryKey": false,
1597
- "notNull": false,
1598
- "autoincrement": false
1599
- },
1600
- "position": {
1601
- "name": "position",
1602
- "type": "integer",
1603
- "primaryKey": false,
1604
- "notNull": true,
1605
- "autoincrement": false,
1606
- "default": 0
1607
- },
1608
- "created_at": {
1609
- "name": "created_at",
1610
- "type": "integer",
1611
- "primaryKey": false,
1612
- "notNull": true,
1613
- "autoincrement": false,
1614
- "default": "(unixepoch() * 1000)"
1615
- },
1616
- "updated_at": {
1617
- "name": "updated_at",
1618
- "type": "integer",
1619
- "primaryKey": false,
1620
- "notNull": true,
1621
- "autoincrement": false,
1622
- "default": "(unixepoch() * 1000)"
1623
- }
1624
- },
1625
- "indexes": {
1626
- "space_category_name": {
1627
- "name": "space_category_name",
1628
- "columns": [
1629
- "project_id",
1630
- "name"
1631
- ],
1632
- "isUnique": true
1633
- }
1634
- },
1635
- "foreignKeys": {
1636
- "space_category_project_id_project_id_fk": {
1637
- "name": "space_category_project_id_project_id_fk",
1638
- "tableFrom": "space_category",
1639
- "tableTo": "project",
1640
- "columnsFrom": [
1641
- "project_id"
1642
- ],
1643
- "columnsTo": [
1644
- "id"
1645
- ],
1646
- "onDelete": "cascade",
1647
- "onUpdate": "no action"
1648
- },
1649
- "space_category_table_id_space_table_id_fk": {
1650
- "name": "space_category_table_id_space_table_id_fk",
1651
- "tableFrom": "space_category",
1652
- "tableTo": "space_table",
1653
- "columnsFrom": [
1654
- "table_id"
1655
- ],
1656
- "columnsTo": [
1657
- "id"
1658
- ],
1659
- "onDelete": "set null",
1660
- "onUpdate": "no action"
1661
- }
1662
- },
1663
- "compositePrimaryKeys": {},
1664
- "uniqueConstraints": {},
1665
- "checkConstraints": {}
1666
- },
1667
- "space_category_value": {
1668
- "name": "space_category_value",
1669
- "columns": {
1670
- "id": {
1671
- "name": "id",
1672
- "type": "text",
1673
- "primaryKey": true,
1674
- "notNull": true,
1675
- "autoincrement": false
1676
- },
1677
- "category_id": {
1678
- "name": "category_id",
1679
- "type": "text",
1680
- "primaryKey": false,
1681
- "notNull": true,
1682
- "autoincrement": false
1683
- },
1684
- "value": {
1685
- "name": "value",
1686
- "type": "text",
1687
- "primaryKey": false,
1688
- "notNull": true,
1689
- "autoincrement": false
1690
- },
1691
- "position": {
1692
- "name": "position",
1693
- "type": "integer",
1694
- "primaryKey": false,
1695
- "notNull": true,
1696
- "autoincrement": false,
1697
- "default": 0
1698
- },
1699
- "summary": {
1700
- "name": "summary",
1701
- "type": "text",
1702
- "primaryKey": false,
1703
- "notNull": false,
1704
- "autoincrement": false
1705
- },
1706
- "summary_at": {
1707
- "name": "summary_at",
1708
- "type": "integer",
1709
- "primaryKey": false,
1710
- "notNull": false,
1711
- "autoincrement": false
1712
- },
1713
- "created_at": {
1714
- "name": "created_at",
1715
- "type": "integer",
1716
- "primaryKey": false,
1717
- "notNull": true,
1718
- "autoincrement": false,
1719
- "default": "(unixepoch() * 1000)"
1720
- }
1721
- },
1722
- "indexes": {
1723
- "space_category_value_value": {
1724
- "name": "space_category_value_value",
1725
- "columns": [
1726
- "category_id",
1727
- "value"
1728
- ],
1729
- "isUnique": true
1730
- }
1731
- },
1732
- "foreignKeys": {
1733
- "space_category_value_category_id_space_category_id_fk": {
1734
- "name": "space_category_value_category_id_space_category_id_fk",
1735
- "tableFrom": "space_category_value",
1736
- "tableTo": "space_category",
1737
- "columnsFrom": [
1738
- "category_id"
1739
- ],
1740
- "columnsTo": [
1741
- "id"
1742
- ],
1743
- "onDelete": "cascade",
1744
- "onUpdate": "no action"
1745
- }
1746
- },
1747
- "compositePrimaryKeys": {},
1748
- "uniqueConstraints": {},
1749
- "checkConstraints": {}
1750
- },
1751
- "space_item_category": {
1752
- "name": "space_item_category",
1753
- "columns": {
1754
- "id": {
1755
- "name": "id",
1756
- "type": "integer",
1757
- "primaryKey": true,
1758
- "notNull": true,
1759
- "autoincrement": true
1760
- },
1761
- "project_id": {
1762
- "name": "project_id",
1763
- "type": "text",
1764
- "primaryKey": false,
1765
- "notNull": true,
1766
- "autoincrement": false
1767
- },
1768
- "category_id": {
1769
- "name": "category_id",
1770
- "type": "text",
1771
- "primaryKey": false,
1772
- "notNull": true,
1773
- "autoincrement": false
1774
- },
1775
- "page_id": {
1776
- "name": "page_id",
1777
- "type": "text",
1778
- "primaryKey": false,
1779
- "notNull": false,
1780
- "autoincrement": false
1781
- },
1782
- "row_id": {
1783
- "name": "row_id",
1784
- "type": "text",
1785
- "primaryKey": false,
1786
- "notNull": false,
1787
- "autoincrement": false
1788
- },
1789
- "table_id": {
1790
- "name": "table_id",
1791
- "type": "text",
1792
- "primaryKey": false,
1793
- "notNull": false,
1794
- "autoincrement": false
1795
- },
1796
- "file_id": {
1797
- "name": "file_id",
1798
- "type": "text",
1799
- "primaryKey": false,
1800
- "notNull": false,
1801
- "autoincrement": false
1802
- },
1803
- "value_id": {
1804
- "name": "value_id",
1805
- "type": "text",
1806
- "primaryKey": false,
1807
- "notNull": false,
1808
- "autoincrement": false
1809
- },
1810
- "text": {
1811
- "name": "text",
1812
- "type": "text",
1813
- "primaryKey": false,
1814
- "notNull": false,
1815
- "autoincrement": false
1816
- },
1817
- "num": {
1818
- "name": "num",
1819
- "type": "real",
1820
- "primaryKey": false,
1821
- "notNull": false,
1822
- "autoincrement": false
1823
- },
1824
- "at": {
1825
- "name": "at",
1826
- "type": "integer",
1827
- "primaryKey": false,
1828
- "notNull": false,
1829
- "autoincrement": false
1830
- },
1831
- "bool": {
1832
- "name": "bool",
1833
- "type": "integer",
1834
- "primaryKey": false,
1835
- "notNull": false,
1836
- "autoincrement": false
1837
- },
1838
- "by": {
1839
- "name": "by",
1840
- "type": "text",
1841
- "primaryKey": false,
1842
- "notNull": true,
1843
- "autoincrement": false,
1844
- "default": "'person'"
1845
- }
1846
- },
1847
- "indexes": {
1848
- "space_item_category_category": {
1849
- "name": "space_item_category_category",
1850
- "columns": [
1851
- "category_id",
1852
- "value_id"
1853
- ],
1854
- "isUnique": false
1855
- },
1856
- "space_item_category_page": {
1857
- "name": "space_item_category_page",
1858
- "columns": [
1859
- "page_id"
1860
- ],
1861
- "isUnique": false
1862
- },
1863
- "space_item_category_row": {
1864
- "name": "space_item_category_row",
1865
- "columns": [
1866
- "row_id"
1867
- ],
1868
- "isUnique": false
1869
- },
1870
- "space_item_category_table": {
1871
- "name": "space_item_category_table",
1872
- "columns": [
1873
- "table_id"
1874
- ],
1875
- "isUnique": false
1876
- },
1877
- "space_item_category_file": {
1878
- "name": "space_item_category_file",
1879
- "columns": [
1880
- "file_id"
1881
- ],
1882
- "isUnique": false
1883
- }
1884
- },
1885
- "foreignKeys": {
1886
- "space_item_category_project_id_project_id_fk": {
1887
- "name": "space_item_category_project_id_project_id_fk",
1888
- "tableFrom": "space_item_category",
1889
- "tableTo": "project",
1890
- "columnsFrom": [
1891
- "project_id"
1892
- ],
1893
- "columnsTo": [
1894
- "id"
1895
- ],
1896
- "onDelete": "cascade",
1897
- "onUpdate": "no action"
1898
- },
1899
- "space_item_category_category_id_space_category_id_fk": {
1900
- "name": "space_item_category_category_id_space_category_id_fk",
1901
- "tableFrom": "space_item_category",
1902
- "tableTo": "space_category",
1903
- "columnsFrom": [
1904
- "category_id"
1905
- ],
1906
- "columnsTo": [
1907
- "id"
1908
- ],
1909
- "onDelete": "cascade",
1910
- "onUpdate": "no action"
1911
- },
1912
- "space_item_category_page_id_space_page_id_fk": {
1913
- "name": "space_item_category_page_id_space_page_id_fk",
1914
- "tableFrom": "space_item_category",
1915
- "tableTo": "space_page",
1916
- "columnsFrom": [
1917
- "page_id"
1918
- ],
1919
- "columnsTo": [
1920
- "id"
1921
- ],
1922
- "onDelete": "cascade",
1923
- "onUpdate": "no action"
1924
- },
1925
- "space_item_category_row_id_space_table_row_id_fk": {
1926
- "name": "space_item_category_row_id_space_table_row_id_fk",
1927
- "tableFrom": "space_item_category",
1928
- "tableTo": "space_table_row",
1929
- "columnsFrom": [
1930
- "row_id"
1931
- ],
1932
- "columnsTo": [
1933
- "id"
1934
- ],
1935
- "onDelete": "cascade",
1936
- "onUpdate": "no action"
1937
- },
1938
- "space_item_category_table_id_space_table_id_fk": {
1939
- "name": "space_item_category_table_id_space_table_id_fk",
1940
- "tableFrom": "space_item_category",
1941
- "tableTo": "space_table",
1942
- "columnsFrom": [
1943
- "table_id"
1944
- ],
1945
- "columnsTo": [
1946
- "id"
1947
- ],
1948
- "onDelete": "cascade",
1949
- "onUpdate": "no action"
1950
- },
1951
- "space_item_category_file_id_project_file_id_fk": {
1952
- "name": "space_item_category_file_id_project_file_id_fk",
1953
- "tableFrom": "space_item_category",
1954
- "tableTo": "project_file",
1955
- "columnsFrom": [
1956
- "file_id"
1957
- ],
1958
- "columnsTo": [
1959
- "id"
1960
- ],
1961
- "onDelete": "cascade",
1962
- "onUpdate": "no action"
1963
- },
1964
- "space_item_category_value_id_space_category_value_id_fk": {
1965
- "name": "space_item_category_value_id_space_category_value_id_fk",
1966
- "tableFrom": "space_item_category",
1967
- "tableTo": "space_category_value",
1968
- "columnsFrom": [
1969
- "value_id"
1970
- ],
1971
- "columnsTo": [
1972
- "id"
1973
- ],
1974
- "onDelete": "cascade",
1975
- "onUpdate": "no action"
1976
- }
1977
- },
1978
- "compositePrimaryKeys": {},
1979
- "uniqueConstraints": {},
1980
- "checkConstraints": {}
1981
- },
1982
- "space_page": {
1983
- "name": "space_page",
1984
- "columns": {
1985
- "id": {
1986
- "name": "id",
1987
- "type": "text",
1988
- "primaryKey": true,
1989
- "notNull": true,
1990
- "autoincrement": false
1991
- },
1992
- "tenant_id": {
1993
- "name": "tenant_id",
1994
- "type": "text",
1995
- "primaryKey": false,
1996
- "notNull": true,
1997
- "autoincrement": false
1998
- },
1999
- "project_id": {
2000
- "name": "project_id",
2001
- "type": "text",
2002
- "primaryKey": false,
2003
- "notNull": true,
2004
- "autoincrement": false
2005
- },
2006
- "wizard_id": {
2007
- "name": "wizard_id",
2008
- "type": "text",
2009
- "primaryKey": false,
2010
- "notNull": false,
2011
- "autoincrement": false
2012
- },
2013
- "parent_id": {
2014
- "name": "parent_id",
2015
- "type": "text",
2016
- "primaryKey": false,
2017
- "notNull": false,
2018
- "autoincrement": false
2019
- },
2020
- "position": {
2021
- "name": "position",
2022
- "type": "integer",
2023
- "primaryKey": false,
2024
- "notNull": true,
2025
- "autoincrement": false,
2026
- "default": 0
2027
- },
2028
- "title": {
2029
- "name": "title",
2030
- "type": "text",
2031
- "primaryKey": false,
2032
- "notNull": true,
2033
- "autoincrement": false
2034
- },
2035
- "slug": {
2036
- "name": "slug",
2037
- "type": "text",
2038
- "primaryKey": false,
2039
- "notNull": false,
2040
- "autoincrement": false
2041
- },
2042
- "markdown": {
2043
- "name": "markdown",
2044
- "type": "text",
2045
- "primaryKey": false,
2046
- "notNull": true,
2047
- "autoincrement": false,
2048
- "default": "''"
2049
- },
2050
- "origin": {
2051
- "name": "origin",
2052
- "type": "text",
2053
- "primaryKey": false,
2054
- "notNull": false,
2055
- "autoincrement": false
2056
- },
2057
- "origin_key": {
2058
- "name": "origin_key",
2059
- "type": "text",
2060
- "primaryKey": false,
2061
- "notNull": false,
2062
- "autoincrement": false
2063
- },
2064
- "origin_label": {
2065
- "name": "origin_label",
2066
- "type": "text",
2067
- "primaryKey": false,
2068
- "notNull": false,
2069
- "autoincrement": false
2070
- },
2071
- "kept": {
2072
- "name": "kept",
2073
- "type": "integer",
2074
- "primaryKey": false,
2075
- "notNull": true,
2076
- "autoincrement": false,
2077
- "default": false
2078
- },
2079
- "review": {
2080
- "name": "review",
2081
- "type": "text",
2082
- "primaryKey": false,
2083
- "notNull": false,
2084
- "autoincrement": false
2085
- },
2086
- "file_id": {
2087
- "name": "file_id",
2088
- "type": "text",
2089
- "primaryKey": false,
2090
- "notNull": false,
2091
- "autoincrement": false
2092
- },
2093
- "created_at": {
2094
- "name": "created_at",
2095
- "type": "integer",
2096
- "primaryKey": false,
2097
- "notNull": true,
2098
- "autoincrement": false,
2099
- "default": "(unixepoch() * 1000)"
2100
- },
2101
- "updated_at": {
2102
- "name": "updated_at",
2103
- "type": "integer",
2104
- "primaryKey": false,
2105
- "notNull": true,
2106
- "autoincrement": false,
2107
- "default": "(unixepoch() * 1000)"
2108
- }
2109
- },
2110
- "indexes": {
2111
- "space_page_project": {
2112
- "name": "space_page_project",
2113
- "columns": [
2114
- "project_id",
2115
- "wizard_id"
2116
- ],
2117
- "isUnique": false
2118
- },
2119
- "space_page_parent": {
2120
- "name": "space_page_parent",
2121
- "columns": [
2122
- "parent_id",
2123
- "position"
2124
- ],
2125
- "isUnique": false
2126
- },
2127
- "space_page_origin": {
2128
- "name": "space_page_origin",
2129
- "columns": [
2130
- "project_id",
2131
- "origin",
2132
- "origin_key"
2133
- ],
2134
- "isUnique": true
2135
- }
2136
- },
2137
- "foreignKeys": {
2138
- "space_page_project_id_project_id_fk": {
2139
- "name": "space_page_project_id_project_id_fk",
2140
- "tableFrom": "space_page",
2141
- "tableTo": "project",
2142
- "columnsFrom": [
2143
- "project_id"
2144
- ],
2145
- "columnsTo": [
2146
- "id"
2147
- ],
2148
- "onDelete": "cascade",
2149
- "onUpdate": "no action"
2150
- },
2151
- "space_page_wizard_id_wizard_id_fk": {
2152
- "name": "space_page_wizard_id_wizard_id_fk",
2153
- "tableFrom": "space_page",
2154
- "tableTo": "wizard",
2155
- "columnsFrom": [
2156
- "wizard_id"
2157
- ],
2158
- "columnsTo": [
2159
- "id"
2160
- ],
2161
- "onDelete": "cascade",
2162
- "onUpdate": "no action"
2163
- },
2164
- "space_page_parent_id_space_page_id_fk": {
2165
- "name": "space_page_parent_id_space_page_id_fk",
2166
- "tableFrom": "space_page",
2167
- "tableTo": "space_page",
2168
- "columnsFrom": [
2169
- "parent_id"
2170
- ],
2171
- "columnsTo": [
2172
- "id"
2173
- ],
2174
- "onDelete": "cascade",
2175
- "onUpdate": "no action"
2176
- },
2177
- "space_page_file_id_project_file_id_fk": {
2178
- "name": "space_page_file_id_project_file_id_fk",
2179
- "tableFrom": "space_page",
2180
- "tableTo": "project_file",
2181
- "columnsFrom": [
2182
- "file_id"
2183
- ],
2184
- "columnsTo": [
2185
- "id"
2186
- ],
2187
- "onDelete": "set null",
2188
- "onUpdate": "no action"
2189
- }
2190
- },
2191
- "compositePrimaryKeys": {},
2192
- "uniqueConstraints": {},
2193
- "checkConstraints": {}
2194
- },
2195
- "space_table": {
2196
- "name": "space_table",
2197
- "columns": {
2198
- "id": {
2199
- "name": "id",
2200
- "type": "text",
2201
- "primaryKey": true,
2202
- "notNull": true,
2203
- "autoincrement": false
2204
- },
2205
- "tenant_id": {
2206
- "name": "tenant_id",
2207
- "type": "text",
2208
- "primaryKey": false,
2209
- "notNull": true,
2210
- "autoincrement": false
2211
- },
2212
- "project_id": {
2213
- "name": "project_id",
2214
- "type": "text",
2215
- "primaryKey": false,
2216
- "notNull": true,
2217
- "autoincrement": false
2218
- },
2219
- "wizard_id": {
2220
- "name": "wizard_id",
2221
- "type": "text",
2222
- "primaryKey": false,
2223
- "notNull": false,
2224
- "autoincrement": false
2225
- },
2226
- "list": {
2227
- "name": "list",
2228
- "type": "text",
2229
- "primaryKey": false,
2230
- "notNull": false,
2231
- "autoincrement": false
2232
- },
2233
- "key_column": {
2234
- "name": "key_column",
2235
- "type": "text",
2236
- "primaryKey": false,
2237
- "notNull": false,
2238
- "autoincrement": false
2239
- },
2240
- "title": {
2241
- "name": "title",
2242
- "type": "text",
2243
- "primaryKey": false,
2244
- "notNull": true,
2245
- "autoincrement": false
2246
- },
2247
- "slug": {
2248
- "name": "slug",
2249
- "type": "text",
2250
- "primaryKey": false,
2251
- "notNull": false,
2252
- "autoincrement": false
2253
- },
2254
- "format": {
2255
- "name": "format",
2256
- "type": "text",
2257
- "primaryKey": false,
2258
- "notNull": false,
2259
- "autoincrement": false
2260
- },
2261
- "columns": {
2262
- "name": "columns",
2263
- "type": "text",
2264
- "primaryKey": false,
2265
- "notNull": true,
2266
- "autoincrement": false
2267
- },
2268
- "origin": {
2269
- "name": "origin",
2270
- "type": "text",
2271
- "primaryKey": false,
2272
- "notNull": false,
2273
- "autoincrement": false
2274
- },
2275
- "origin_key": {
2276
- "name": "origin_key",
2277
- "type": "text",
2278
- "primaryKey": false,
2279
- "notNull": false,
2280
- "autoincrement": false
2281
- },
2282
- "origin_label": {
2283
- "name": "origin_label",
2284
- "type": "text",
2285
- "primaryKey": false,
2286
- "notNull": false,
2287
- "autoincrement": false
2288
- },
2289
- "kept": {
2290
- "name": "kept",
2291
- "type": "integer",
2292
- "primaryKey": false,
2293
- "notNull": true,
2294
- "autoincrement": false,
2295
- "default": false
2296
- },
2297
- "review": {
2298
- "name": "review",
2299
- "type": "text",
2300
- "primaryKey": false,
2301
- "notNull": false,
2302
- "autoincrement": false
2303
- },
2304
- "file_id": {
2305
- "name": "file_id",
2306
- "type": "text",
2307
- "primaryKey": false,
2308
- "notNull": false,
2309
- "autoincrement": false
2310
- },
2311
- "created_at": {
2312
- "name": "created_at",
2313
- "type": "integer",
2314
- "primaryKey": false,
2315
- "notNull": true,
2316
- "autoincrement": false,
2317
- "default": "(unixepoch() * 1000)"
2318
- },
2319
- "updated_at": {
2320
- "name": "updated_at",
2321
- "type": "integer",
2322
- "primaryKey": false,
2323
- "notNull": true,
2324
- "autoincrement": false,
2325
- "default": "(unixepoch() * 1000)"
2326
- }
2327
- },
2328
- "indexes": {
2329
- "space_table_project": {
2330
- "name": "space_table_project",
2331
- "columns": [
2332
- "project_id",
2333
- "wizard_id"
2334
- ],
2335
- "isUnique": false
2336
- },
2337
- "space_table_list": {
2338
- "name": "space_table_list",
2339
- "columns": [
2340
- "wizard_id",
2341
- "list"
2342
- ],
2343
- "isUnique": true
2344
- },
2345
- "space_table_origin": {
2346
- "name": "space_table_origin",
2347
- "columns": [
2348
- "project_id",
2349
- "origin",
2350
- "origin_key"
2351
- ],
2352
- "isUnique": true
2353
- }
2354
- },
2355
- "foreignKeys": {
2356
- "space_table_project_id_project_id_fk": {
2357
- "name": "space_table_project_id_project_id_fk",
2358
- "tableFrom": "space_table",
2359
- "tableTo": "project",
2360
- "columnsFrom": [
2361
- "project_id"
2362
- ],
2363
- "columnsTo": [
2364
- "id"
2365
- ],
2366
- "onDelete": "cascade",
2367
- "onUpdate": "no action"
2368
- },
2369
- "space_table_wizard_id_wizard_id_fk": {
2370
- "name": "space_table_wizard_id_wizard_id_fk",
2371
- "tableFrom": "space_table",
2372
- "tableTo": "wizard",
2373
- "columnsFrom": [
2374
- "wizard_id"
2375
- ],
2376
- "columnsTo": [
2377
- "id"
2378
- ],
2379
- "onDelete": "cascade",
2380
- "onUpdate": "no action"
2381
- },
2382
- "space_table_file_id_project_file_id_fk": {
2383
- "name": "space_table_file_id_project_file_id_fk",
2384
- "tableFrom": "space_table",
2385
- "tableTo": "project_file",
2386
- "columnsFrom": [
2387
- "file_id"
2388
- ],
2389
- "columnsTo": [
2390
- "id"
2391
- ],
2392
- "onDelete": "set null",
2393
- "onUpdate": "no action"
2394
- }
2395
- },
2396
- "compositePrimaryKeys": {},
2397
- "uniqueConstraints": {},
2398
- "checkConstraints": {}
2399
- },
2400
- "space_table_row": {
2401
- "name": "space_table_row",
2402
- "columns": {
2403
- "id": {
2404
- "name": "id",
2405
- "type": "text",
2406
- "primaryKey": true,
2407
- "notNull": true,
2408
- "autoincrement": false
2409
- },
2410
- "table_id": {
2411
- "name": "table_id",
2412
- "type": "text",
2413
- "primaryKey": false,
2414
- "notNull": true,
2415
- "autoincrement": false
2416
- },
2417
- "key": {
2418
- "name": "key",
2419
- "type": "text",
2420
- "primaryKey": false,
2421
- "notNull": false,
2422
- "autoincrement": false
2423
- },
2424
- "cells": {
2425
- "name": "cells",
2426
- "type": "text",
2427
- "primaryKey": false,
2428
- "notNull": true,
2429
- "autoincrement": false
2430
- },
2431
- "created_at": {
2432
- "name": "created_at",
2433
- "type": "integer",
2434
- "primaryKey": false,
2435
- "notNull": true,
2436
- "autoincrement": false,
2437
- "default": "(unixepoch() * 1000)"
2438
- },
2439
- "updated_at": {
2440
- "name": "updated_at",
2441
- "type": "integer",
2442
- "primaryKey": false,
2443
- "notNull": true,
2444
- "autoincrement": false,
2445
- "default": "(unixepoch() * 1000)"
2446
- }
2447
- },
2448
- "indexes": {
2449
- "space_table_row_table": {
2450
- "name": "space_table_row_table",
2451
- "columns": [
2452
- "table_id",
2453
- "created_at"
2454
- ],
2455
- "isUnique": false
2456
- },
2457
- "space_table_row_key": {
2458
- "name": "space_table_row_key",
2459
- "columns": [
2460
- "table_id",
2461
- "key"
2462
- ],
2463
- "isUnique": false
2464
- }
2465
- },
2466
- "foreignKeys": {
2467
- "space_table_row_table_id_space_table_id_fk": {
2468
- "name": "space_table_row_table_id_space_table_id_fk",
2469
- "tableFrom": "space_table_row",
2470
- "tableTo": "space_table",
2471
- "columnsFrom": [
2472
- "table_id"
2473
- ],
2474
- "columnsTo": [
2475
- "id"
2476
- ],
2477
- "onDelete": "cascade",
2478
- "onUpdate": "no action"
2479
- }
2480
- },
2481
- "compositePrimaryKeys": {},
2482
- "uniqueConstraints": {},
2483
- "checkConstraints": {}
2484
- },
2485
- "store_file": {
2486
- "name": "store_file",
2487
- "columns": {
2488
- "wizard_id": {
2489
- "name": "wizard_id",
2490
- "type": "text",
2491
- "primaryKey": false,
2492
- "notNull": true,
2493
- "autoincrement": false
2494
- },
2495
- "holder": {
2496
- "name": "holder",
2497
- "type": "text",
2498
- "primaryKey": false,
2499
- "notNull": true,
2500
- "autoincrement": false
2501
- },
2502
- "path": {
2503
- "name": "path",
2504
- "type": "text",
2505
- "primaryKey": false,
2506
- "notNull": true,
2507
- "autoincrement": false
2508
- },
2509
- "hash": {
2510
- "name": "hash",
2511
- "type": "text",
2512
- "primaryKey": false,
2513
- "notNull": true,
2514
- "autoincrement": false
2515
- },
2516
- "mime": {
2517
- "name": "mime",
2518
- "type": "text",
2519
- "primaryKey": false,
2520
- "notNull": true,
2521
- "autoincrement": false
2522
- },
2523
- "size": {
2524
- "name": "size",
2525
- "type": "integer",
2526
- "primaryKey": false,
2527
- "notNull": true,
2528
- "autoincrement": false
2529
- },
2530
- "source": {
2531
- "name": "source",
2532
- "type": "text",
2533
- "primaryKey": false,
2534
- "notNull": false,
2535
- "autoincrement": false
2536
- },
2537
- "updated_at": {
2538
- "name": "updated_at",
2539
- "type": "integer",
2540
- "primaryKey": false,
2541
- "notNull": true,
2542
- "autoincrement": false,
2543
- "default": "(unixepoch() * 1000)"
2544
- }
2545
- },
2546
- "indexes": {},
2547
- "foreignKeys": {
2548
- "store_file_wizard_id_wizard_id_fk": {
2549
- "name": "store_file_wizard_id_wizard_id_fk",
2550
- "tableFrom": "store_file",
2551
- "tableTo": "wizard",
2552
- "columnsFrom": [
2553
- "wizard_id"
2554
- ],
2555
- "columnsTo": [
2556
- "id"
2557
- ],
2558
- "onDelete": "cascade",
2559
- "onUpdate": "no action"
2560
- }
2561
- },
2562
- "compositePrimaryKeys": {
2563
- "store_file_wizard_id_holder_path_pk": {
2564
- "columns": [
2565
- "wizard_id",
2566
- "holder",
2567
- "path"
2568
- ],
2569
- "name": "store_file_wizard_id_holder_path_pk"
2570
- }
2571
- },
2572
- "uniqueConstraints": {},
2573
- "checkConstraints": {}
2574
- },
2575
- "store_holder": {
2576
- "name": "store_holder",
2577
- "columns": {
2578
- "wizard_id": {
2579
- "name": "wizard_id",
2580
- "type": "text",
2581
- "primaryKey": false,
2582
- "notNull": true,
2583
- "autoincrement": false
2584
- },
2585
- "holder": {
2586
- "name": "holder",
2587
- "type": "text",
2588
- "primaryKey": false,
2589
- "notNull": true,
2590
- "autoincrement": false
2591
- },
2592
- "used_at": {
2593
- "name": "used_at",
2594
- "type": "integer",
2595
- "primaryKey": false,
2596
- "notNull": true,
2597
- "autoincrement": false,
2598
- "default": "(unixepoch() * 1000)"
2599
- }
2600
- },
2601
- "indexes": {
2602
- "store_holder_used": {
2603
- "name": "store_holder_used",
2604
- "columns": [
2605
- "used_at"
2606
- ],
2607
- "isUnique": false
2608
- }
2609
- },
2610
- "foreignKeys": {
2611
- "store_holder_wizard_id_wizard_id_fk": {
2612
- "name": "store_holder_wizard_id_wizard_id_fk",
2613
- "tableFrom": "store_holder",
2614
- "tableTo": "wizard",
2615
- "columnsFrom": [
2616
- "wizard_id"
2617
- ],
2618
- "columnsTo": [
2619
- "id"
2620
- ],
2621
- "onDelete": "cascade",
2622
- "onUpdate": "no action"
2623
- }
2624
- },
2625
- "compositePrimaryKeys": {
2626
- "store_holder_wizard_id_holder_pk": {
2627
- "columns": [
2628
- "wizard_id",
2629
- "holder"
2630
- ],
2631
- "name": "store_holder_wizard_id_holder_pk"
2632
- }
2633
- },
2634
- "uniqueConstraints": {},
2635
- "checkConstraints": {}
2636
- },
2637
- "store_row": {
2638
- "name": "store_row",
2639
- "columns": {
2640
- "id": {
2641
- "name": "id",
2642
- "type": "text",
2643
- "primaryKey": true,
2644
- "notNull": true,
2645
- "autoincrement": false
2646
- },
2647
- "wizard_id": {
2648
- "name": "wizard_id",
2649
- "type": "text",
2650
- "primaryKey": false,
2651
- "notNull": true,
2652
- "autoincrement": false
2653
- },
2654
- "holder": {
2655
- "name": "holder",
2656
- "type": "text",
2657
- "primaryKey": false,
2658
- "notNull": true,
2659
- "autoincrement": false
2660
- },
2661
- "list": {
2662
- "name": "list",
2663
- "type": "text",
2664
- "primaryKey": false,
2665
- "notNull": true,
2666
- "autoincrement": false
2667
- },
2668
- "key": {
2669
- "name": "key",
2670
- "type": "text",
2671
- "primaryKey": false,
2672
- "notNull": false,
2673
- "autoincrement": false
2674
- },
2675
- "cells": {
2676
- "name": "cells",
2677
- "type": "text",
2678
- "primaryKey": false,
2679
- "notNull": true,
2680
- "autoincrement": false
2681
- },
2682
- "created_at": {
2683
- "name": "created_at",
2684
- "type": "integer",
2685
- "primaryKey": false,
2686
- "notNull": true,
2687
- "autoincrement": false,
2688
- "default": "(unixepoch() * 1000)"
2689
- },
2690
- "updated_at": {
2691
- "name": "updated_at",
2692
- "type": "integer",
2693
- "primaryKey": false,
2694
- "notNull": true,
2695
- "autoincrement": false,
2696
- "default": "(unixepoch() * 1000)"
2697
- }
2698
- },
2699
- "indexes": {
2700
- "store_row_key": {
2701
- "name": "store_row_key",
2702
- "columns": [
2703
- "wizard_id",
2704
- "holder",
2705
- "list",
2706
- "key"
2707
- ],
2708
- "isUnique": true
2709
- },
2710
- "store_row_list": {
2711
- "name": "store_row_list",
2712
- "columns": [
2713
- "wizard_id",
2714
- "holder",
2715
- "list",
2716
- "created_at"
2717
- ],
2718
- "isUnique": false
2719
- }
2720
- },
2721
- "foreignKeys": {
2722
- "store_row_wizard_id_wizard_id_fk": {
2723
- "name": "store_row_wizard_id_wizard_id_fk",
2724
- "tableFrom": "store_row",
2725
- "tableTo": "wizard",
2726
- "columnsFrom": [
2727
- "wizard_id"
2728
- ],
2729
- "columnsTo": [
2730
- "id"
2731
- ],
2732
- "onDelete": "cascade",
2733
- "onUpdate": "no action"
2734
- }
2735
- },
2736
- "compositePrimaryKeys": {},
2737
- "uniqueConstraints": {},
2738
- "checkConstraints": {}
2739
- },
2740
- "store_secret": {
2741
- "name": "store_secret",
2742
- "columns": {
2743
- "id": {
2744
- "name": "id",
2745
- "type": "text",
2746
- "primaryKey": true,
2747
- "notNull": true,
2748
- "autoincrement": false
2749
- },
2750
- "wizard_id": {
2751
- "name": "wizard_id",
2752
- "type": "text",
2753
- "primaryKey": false,
2754
- "notNull": true,
2755
- "autoincrement": false
2756
- },
2757
- "holder": {
2758
- "name": "holder",
2759
- "type": "text",
2760
- "primaryKey": false,
2761
- "notNull": true,
2762
- "autoincrement": false
2763
- },
2764
- "slot": {
2765
- "name": "slot",
2766
- "type": "text",
2767
- "primaryKey": false,
2768
- "notNull": true,
2769
- "autoincrement": false
2770
- },
2771
- "provider": {
2772
- "name": "provider",
2773
- "type": "text",
2774
- "primaryKey": false,
2775
- "notNull": true,
2776
- "autoincrement": false
2777
- },
2778
- "label": {
2779
- "name": "label",
2780
- "type": "text",
2781
- "primaryKey": false,
2782
- "notNull": true,
2783
- "autoincrement": false
2784
- },
2785
- "data": {
2786
- "name": "data",
2787
- "type": "text",
2788
- "primaryKey": false,
2789
- "notNull": true,
2790
- "autoincrement": false
2791
- },
2792
- "created_at": {
2793
- "name": "created_at",
2794
- "type": "integer",
2795
- "primaryKey": false,
2796
- "notNull": true,
2797
- "autoincrement": false,
2798
- "default": "(unixepoch() * 1000)"
2799
- },
2800
- "updated_at": {
2801
- "name": "updated_at",
2802
- "type": "integer",
2803
- "primaryKey": false,
2804
- "notNull": true,
2805
- "autoincrement": false,
2806
- "default": "(unixepoch() * 1000)"
2807
- }
2808
- },
2809
- "indexes": {
2810
- "store_secret_slot": {
2811
- "name": "store_secret_slot",
2812
- "columns": [
2813
- "wizard_id",
2814
- "holder",
2815
- "slot"
2816
- ],
2817
- "isUnique": true
2818
- }
2819
- },
2820
- "foreignKeys": {
2821
- "store_secret_wizard_id_wizard_id_fk": {
2822
- "name": "store_secret_wizard_id_wizard_id_fk",
2823
- "tableFrom": "store_secret",
2824
- "tableTo": "wizard",
2825
- "columnsFrom": [
2826
- "wizard_id"
2827
- ],
2828
- "columnsTo": [
2829
- "id"
2830
- ],
2831
- "onDelete": "cascade",
2832
- "onUpdate": "no action"
2833
- }
2834
- },
2835
- "compositePrimaryKeys": {},
2836
- "uniqueConstraints": {},
2837
- "checkConstraints": {}
2838
- },
2839
- "wizard": {
2840
- "name": "wizard",
2841
- "columns": {
2842
- "id": {
2843
- "name": "id",
2844
- "type": "text",
2845
- "primaryKey": true,
2846
- "notNull": true,
2847
- "autoincrement": false
2848
- },
2849
- "project_id": {
2850
- "name": "project_id",
2851
- "type": "text",
2852
- "primaryKey": false,
2853
- "notNull": true,
2854
- "autoincrement": false
2855
- },
2856
- "tenant_id": {
2857
- "name": "tenant_id",
2858
- "type": "text",
2859
- "primaryKey": false,
2860
- "notNull": true,
2861
- "autoincrement": false
2862
- },
2863
- "title": {
2864
- "name": "title",
2865
- "type": "text",
2866
- "primaryKey": false,
2867
- "notNull": true,
2868
- "autoincrement": false
2869
- },
2870
- "draft": {
2871
- "name": "draft",
2872
- "type": "text",
2873
- "primaryKey": false,
2874
- "notNull": true,
2875
- "autoincrement": false
2876
- },
2877
- "published_version": {
2878
- "name": "published_version",
2879
- "type": "integer",
2880
- "primaryKey": false,
2881
- "notNull": false,
2882
- "autoincrement": false
2883
- },
2884
- "share_token": {
2885
- "name": "share_token",
2886
- "type": "text",
2887
- "primaryKey": false,
2888
- "notNull": true,
2889
- "autoincrement": false
2890
- },
2891
- "share_enabled": {
2892
- "name": "share_enabled",
2893
- "type": "integer",
2894
- "primaryKey": false,
2895
- "notNull": true,
2896
- "autoincrement": false,
2897
- "default": true
2898
- },
2899
- "daily_run_limit": {
2900
- "name": "daily_run_limit",
2901
- "type": "integer",
2902
- "primaryKey": false,
2903
- "notNull": true,
2904
- "autoincrement": false,
2905
- "default": 50
2906
- },
2907
- "starter": {
2908
- "name": "starter",
2909
- "type": "text",
2910
- "primaryKey": false,
2911
- "notNull": false,
2912
- "autoincrement": false
2913
- },
2914
- "starter_revision": {
2915
- "name": "starter_revision",
2916
- "type": "integer",
2917
- "primaryKey": false,
2918
- "notNull": false,
2919
- "autoincrement": false
2920
- },
2921
- "revision": {
2922
- "name": "revision",
2923
- "type": "integer",
2924
- "primaryKey": false,
2925
- "notNull": true,
2926
- "autoincrement": false,
2927
- "default": 0
2928
- },
2929
- "runners": {
2930
- "name": "runners",
2931
- "type": "text",
2932
- "primaryKey": false,
2933
- "notNull": false,
2934
- "autoincrement": false
2935
- },
2936
- "created_at": {
2937
- "name": "created_at",
2938
- "type": "integer",
2939
- "primaryKey": false,
2940
- "notNull": true,
2941
- "autoincrement": false,
2942
- "default": "(unixepoch() * 1000)"
2943
- },
2944
- "updated_at": {
2945
- "name": "updated_at",
2946
- "type": "integer",
2947
- "primaryKey": false,
2948
- "notNull": true,
2949
- "autoincrement": false,
2950
- "default": "(unixepoch() * 1000)"
2951
- }
2952
- },
2953
- "indexes": {
2954
- "wizard_share_token": {
2955
- "name": "wizard_share_token",
2956
- "columns": [
2957
- "share_token"
2958
- ],
2959
- "isUnique": true
2960
- },
2961
- "wizard_project": {
2962
- "name": "wizard_project",
2963
- "columns": [
2964
- "project_id"
2965
- ],
2966
- "isUnique": false
2967
- }
2968
- },
2969
- "foreignKeys": {
2970
- "wizard_project_id_project_id_fk": {
2971
- "name": "wizard_project_id_project_id_fk",
2972
- "tableFrom": "wizard",
2973
- "tableTo": "project",
2974
- "columnsFrom": [
2975
- "project_id"
2976
- ],
2977
- "columnsTo": [
2978
- "id"
2979
- ],
2980
- "onDelete": "cascade",
2981
- "onUpdate": "no action"
2982
- }
2983
- },
2984
- "compositePrimaryKeys": {},
2985
- "uniqueConstraints": {},
2986
- "checkConstraints": {}
2987
- },
2988
- "wizard_file": {
2989
- "name": "wizard_file",
2990
- "columns": {
2991
- "wizard_id": {
2992
- "name": "wizard_id",
2993
- "type": "text",
2994
- "primaryKey": false,
2995
- "notNull": true,
2996
- "autoincrement": false
2997
- },
2998
- "path": {
2999
- "name": "path",
3000
- "type": "text",
3001
- "primaryKey": false,
3002
- "notNull": true,
3003
- "autoincrement": false
3004
- },
3005
- "hash": {
3006
- "name": "hash",
3007
- "type": "text",
3008
- "primaryKey": false,
3009
- "notNull": true,
3010
- "autoincrement": false
3011
- },
3012
- "mime": {
3013
- "name": "mime",
3014
- "type": "text",
3015
- "primaryKey": false,
3016
- "notNull": true,
3017
- "autoincrement": false
3018
- },
3019
- "size": {
3020
- "name": "size",
3021
- "type": "integer",
3022
- "primaryKey": false,
3023
- "notNull": true,
3024
- "autoincrement": false
3025
- },
3026
- "updated_at": {
3027
- "name": "updated_at",
3028
- "type": "integer",
3029
- "primaryKey": false,
3030
- "notNull": true,
3031
- "autoincrement": false,
3032
- "default": "(unixepoch() * 1000)"
3033
- }
3034
- },
3035
- "indexes": {},
3036
- "foreignKeys": {
3037
- "wizard_file_wizard_id_wizard_id_fk": {
3038
- "name": "wizard_file_wizard_id_wizard_id_fk",
3039
- "tableFrom": "wizard_file",
3040
- "tableTo": "wizard",
3041
- "columnsFrom": [
3042
- "wizard_id"
3043
- ],
3044
- "columnsTo": [
3045
- "id"
3046
- ],
3047
- "onDelete": "cascade",
3048
- "onUpdate": "no action"
3049
- }
3050
- },
3051
- "compositePrimaryKeys": {
3052
- "wizard_file_wizard_id_path_pk": {
3053
- "columns": [
3054
- "wizard_id",
3055
- "path"
3056
- ],
3057
- "name": "wizard_file_wizard_id_path_pk"
3058
- }
3059
- },
3060
- "uniqueConstraints": {},
3061
- "checkConstraints": {}
3062
- },
3063
- "wizard_message": {
3064
- "name": "wizard_message",
3065
- "columns": {
3066
- "id": {
3067
- "name": "id",
3068
- "type": "text",
3069
- "primaryKey": true,
3070
- "notNull": true,
3071
- "autoincrement": false
3072
- },
3073
- "wizard_id": {
3074
- "name": "wizard_id",
3075
- "type": "text",
3076
- "primaryKey": false,
3077
- "notNull": true,
3078
- "autoincrement": false
3079
- },
3080
- "role": {
3081
- "name": "role",
3082
- "type": "text",
3083
- "primaryKey": false,
3084
- "notNull": true,
3085
- "autoincrement": false
3086
- },
3087
- "content": {
3088
- "name": "content",
3089
- "type": "text",
3090
- "primaryKey": false,
3091
- "notNull": true,
3092
- "autoincrement": false
3093
- },
3094
- "changed": {
3095
- "name": "changed",
3096
- "type": "integer",
3097
- "primaryKey": false,
3098
- "notNull": true,
3099
- "autoincrement": false,
3100
- "default": false
3101
- },
3102
- "source": {
3103
- "name": "source",
3104
- "type": "text",
3105
- "primaryKey": false,
3106
- "notNull": true,
3107
- "autoincrement": false,
3108
- "default": "'studio'"
3109
- },
3110
- "client": {
3111
- "name": "client",
3112
- "type": "text",
3113
- "primaryKey": false,
3114
- "notNull": false,
3115
- "autoincrement": false
3116
- },
3117
- "created_at": {
3118
- "name": "created_at",
3119
- "type": "integer",
3120
- "primaryKey": false,
3121
- "notNull": true,
3122
- "autoincrement": false,
3123
- "default": "(unixepoch() * 1000)"
3124
- }
3125
- },
3126
- "indexes": {
3127
- "wizard_message_wizard": {
3128
- "name": "wizard_message_wizard",
3129
- "columns": [
3130
- "wizard_id",
3131
- "created_at"
3132
- ],
3133
- "isUnique": false
3134
- }
3135
- },
3136
- "foreignKeys": {
3137
- "wizard_message_wizard_id_wizard_id_fk": {
3138
- "name": "wizard_message_wizard_id_wizard_id_fk",
3139
- "tableFrom": "wizard_message",
3140
- "tableTo": "wizard",
3141
- "columnsFrom": [
3142
- "wizard_id"
3143
- ],
3144
- "columnsTo": [
3145
- "id"
3146
- ],
3147
- "onDelete": "cascade",
3148
- "onUpdate": "no action"
3149
- }
3150
- },
3151
- "compositePrimaryKeys": {},
3152
- "uniqueConstraints": {},
3153
- "checkConstraints": {}
3154
- },
3155
- "wizard_version": {
3156
- "name": "wizard_version",
3157
- "columns": {
3158
- "id": {
3159
- "name": "id",
3160
- "type": "text",
3161
- "primaryKey": true,
3162
- "notNull": true,
3163
- "autoincrement": false
3164
- },
3165
- "wizard_id": {
3166
- "name": "wizard_id",
3167
- "type": "text",
3168
- "primaryKey": false,
3169
- "notNull": true,
3170
- "autoincrement": false
3171
- },
3172
- "version": {
3173
- "name": "version",
3174
- "type": "integer",
3175
- "primaryKey": false,
3176
- "notNull": true,
3177
- "autoincrement": false
3178
- },
3179
- "definition": {
3180
- "name": "definition",
3181
- "type": "text",
3182
- "primaryKey": false,
3183
- "notNull": true,
3184
- "autoincrement": false
3185
- },
3186
- "files": {
3187
- "name": "files",
3188
- "type": "text",
3189
- "primaryKey": false,
3190
- "notNull": true,
3191
- "autoincrement": false,
3192
- "default": "'[]'"
3193
- },
3194
- "created_at": {
3195
- "name": "created_at",
3196
- "type": "integer",
3197
- "primaryKey": false,
3198
- "notNull": true,
3199
- "autoincrement": false,
3200
- "default": "(unixepoch() * 1000)"
3201
- }
3202
- },
3203
- "indexes": {
3204
- "wizard_version_n": {
3205
- "name": "wizard_version_n",
3206
- "columns": [
3207
- "wizard_id",
3208
- "version"
3209
- ],
3210
- "isUnique": true
3211
- }
3212
- },
3213
- "foreignKeys": {
3214
- "wizard_version_wizard_id_wizard_id_fk": {
3215
- "name": "wizard_version_wizard_id_wizard_id_fk",
3216
- "tableFrom": "wizard_version",
3217
- "tableTo": "wizard",
3218
- "columnsFrom": [
3219
- "wizard_id"
3220
- ],
3221
- "columnsTo": [
3222
- "id"
3223
- ],
3224
- "onDelete": "cascade",
3225
- "onUpdate": "no action"
3226
- }
3227
- },
3228
- "compositePrimaryKeys": {},
3229
- "uniqueConstraints": {},
3230
- "checkConstraints": {}
3231
- }
3232
- },
3233
- "views": {},
3234
- "enums": {},
3235
- "_meta": {
3236
- "schemas": {},
3237
- "tables": {},
3238
- "columns": {}
3239
- },
3240
- "internal": {
3241
- "indexes": {}
3242
- }
3243
- }