wizards 0.7.4 → 0.7.6

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