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