@engenty/wizards-runtime 0.0.0-stage → 0.7.5

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