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,3154 +0,0 @@
1
- {
2
- "version": "6",
3
- "dialect": "sqlite",
4
- "id": "ef685fc7-f3b2-4000-a106-72b6935f9770",
5
- "prevId": "e6a7e438-2e08-4f26-b5e7-660ae6af5030",
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
- "origin": {
1110
- "name": "origin",
1111
- "type": "text",
1112
- "primaryKey": false,
1113
- "notNull": false,
1114
- "autoincrement": false
1115
- },
1116
- "status": {
1117
- "name": "status",
1118
- "type": "text",
1119
- "primaryKey": false,
1120
- "notNull": true,
1121
- "autoincrement": false
1122
- },
1123
- "cursor": {
1124
- "name": "cursor",
1125
- "type": "text",
1126
- "primaryKey": false,
1127
- "notNull": false,
1128
- "autoincrement": false
1129
- },
1130
- "state": {
1131
- "name": "state",
1132
- "type": "text",
1133
- "primaryKey": false,
1134
- "notNull": true,
1135
- "autoincrement": false
1136
- },
1137
- "error": {
1138
- "name": "error",
1139
- "type": "text",
1140
- "primaryKey": false,
1141
- "notNull": false,
1142
- "autoincrement": false
1143
- },
1144
- "ask": {
1145
- "name": "ask",
1146
- "type": "text",
1147
- "primaryKey": false,
1148
- "notNull": false,
1149
- "autoincrement": false
1150
- },
1151
- "answer": {
1152
- "name": "answer",
1153
- "type": "text",
1154
- "primaryKey": false,
1155
- "notNull": false,
1156
- "autoincrement": false
1157
- },
1158
- "unattended": {
1159
- "name": "unattended",
1160
- "type": "integer",
1161
- "primaryKey": false,
1162
- "notNull": true,
1163
- "autoincrement": false,
1164
- "default": false
1165
- },
1166
- "cost_micros": {
1167
- "name": "cost_micros",
1168
- "type": "integer",
1169
- "primaryKey": false,
1170
- "notNull": true,
1171
- "autoincrement": false,
1172
- "default": 0
1173
- },
1174
- "share_token": {
1175
- "name": "share_token",
1176
- "type": "text",
1177
- "primaryKey": false,
1178
- "notNull": false,
1179
- "autoincrement": false
1180
- },
1181
- "shared_at": {
1182
- "name": "shared_at",
1183
- "type": "integer",
1184
- "primaryKey": false,
1185
- "notNull": false,
1186
- "autoincrement": false
1187
- },
1188
- "expires_at": {
1189
- "name": "expires_at",
1190
- "type": "integer",
1191
- "primaryKey": false,
1192
- "notNull": false,
1193
- "autoincrement": false
1194
- },
1195
- "created_at": {
1196
- "name": "created_at",
1197
- "type": "integer",
1198
- "primaryKey": false,
1199
- "notNull": true,
1200
- "autoincrement": false,
1201
- "default": "(unixepoch() * 1000)"
1202
- },
1203
- "updated_at": {
1204
- "name": "updated_at",
1205
- "type": "integer",
1206
- "primaryKey": false,
1207
- "notNull": true,
1208
- "autoincrement": false,
1209
- "default": "(unixepoch() * 1000)"
1210
- }
1211
- },
1212
- "indexes": {
1213
- "run_share_token": {
1214
- "name": "run_share_token",
1215
- "columns": [
1216
- "share_token"
1217
- ],
1218
- "isUnique": true
1219
- },
1220
- "run_expires": {
1221
- "name": "run_expires",
1222
- "columns": [
1223
- "expires_at"
1224
- ],
1225
- "isUnique": false
1226
- },
1227
- "run_wizard": {
1228
- "name": "run_wizard",
1229
- "columns": [
1230
- "wizard_id",
1231
- "created_at"
1232
- ],
1233
- "isUnique": false
1234
- },
1235
- "run_visitor": {
1236
- "name": "run_visitor",
1237
- "columns": [
1238
- "visitor_id",
1239
- "created_at"
1240
- ],
1241
- "isUnique": false
1242
- },
1243
- "run_status": {
1244
- "name": "run_status",
1245
- "columns": [
1246
- "status"
1247
- ],
1248
- "isUnique": false
1249
- }
1250
- },
1251
- "foreignKeys": {
1252
- "run_wizard_id_wizard_id_fk": {
1253
- "name": "run_wizard_id_wizard_id_fk",
1254
- "tableFrom": "run",
1255
- "tableTo": "wizard",
1256
- "columnsFrom": [
1257
- "wizard_id"
1258
- ],
1259
- "columnsTo": [
1260
- "id"
1261
- ],
1262
- "onDelete": "cascade",
1263
- "onUpdate": "no action"
1264
- }
1265
- },
1266
- "compositePrimaryKeys": {},
1267
- "uniqueConstraints": {},
1268
- "checkConstraints": {}
1269
- },
1270
- "run_cost": {
1271
- "name": "run_cost",
1272
- "columns": {
1273
- "run_id": {
1274
- "name": "run_id",
1275
- "type": "text",
1276
- "primaryKey": false,
1277
- "notNull": true,
1278
- "autoincrement": false
1279
- },
1280
- "step_id": {
1281
- "name": "step_id",
1282
- "type": "text",
1283
- "primaryKey": false,
1284
- "notNull": true,
1285
- "autoincrement": false
1286
- },
1287
- "micros": {
1288
- "name": "micros",
1289
- "type": "integer",
1290
- "primaryKey": false,
1291
- "notNull": true,
1292
- "autoincrement": false,
1293
- "default": 0
1294
- }
1295
- },
1296
- "indexes": {},
1297
- "foreignKeys": {
1298
- "run_cost_run_id_run_id_fk": {
1299
- "name": "run_cost_run_id_run_id_fk",
1300
- "tableFrom": "run_cost",
1301
- "tableTo": "run",
1302
- "columnsFrom": [
1303
- "run_id"
1304
- ],
1305
- "columnsTo": [
1306
- "id"
1307
- ],
1308
- "onDelete": "cascade",
1309
- "onUpdate": "no action"
1310
- }
1311
- },
1312
- "compositePrimaryKeys": {
1313
- "run_cost_run_id_step_id_pk": {
1314
- "columns": [
1315
- "run_id",
1316
- "step_id"
1317
- ],
1318
- "name": "run_cost_run_id_step_id_pk"
1319
- }
1320
- },
1321
- "uniqueConstraints": {},
1322
- "checkConstraints": {}
1323
- },
1324
- "run_event": {
1325
- "name": "run_event",
1326
- "columns": {
1327
- "id": {
1328
- "name": "id",
1329
- "type": "integer",
1330
- "primaryKey": true,
1331
- "notNull": true,
1332
- "autoincrement": true
1333
- },
1334
- "run_id": {
1335
- "name": "run_id",
1336
- "type": "text",
1337
- "primaryKey": false,
1338
- "notNull": true,
1339
- "autoincrement": false
1340
- },
1341
- "step_id": {
1342
- "name": "step_id",
1343
- "type": "text",
1344
- "primaryKey": false,
1345
- "notNull": false,
1346
- "autoincrement": false
1347
- },
1348
- "type": {
1349
- "name": "type",
1350
- "type": "text",
1351
- "primaryKey": false,
1352
- "notNull": true,
1353
- "autoincrement": false
1354
- },
1355
- "message": {
1356
- "name": "message",
1357
- "type": "text",
1358
- "primaryKey": false,
1359
- "notNull": true,
1360
- "autoincrement": false
1361
- },
1362
- "note": {
1363
- "name": "note",
1364
- "type": "text",
1365
- "primaryKey": false,
1366
- "notNull": false,
1367
- "autoincrement": false
1368
- },
1369
- "asset_id": {
1370
- "name": "asset_id",
1371
- "type": "text",
1372
- "primaryKey": false,
1373
- "notNull": false,
1374
- "autoincrement": false
1375
- },
1376
- "created_at": {
1377
- "name": "created_at",
1378
- "type": "integer",
1379
- "primaryKey": false,
1380
- "notNull": true,
1381
- "autoincrement": false,
1382
- "default": "(unixepoch() * 1000)"
1383
- }
1384
- },
1385
- "indexes": {
1386
- "run_event_run": {
1387
- "name": "run_event_run",
1388
- "columns": [
1389
- "run_id",
1390
- "id"
1391
- ],
1392
- "isUnique": false
1393
- }
1394
- },
1395
- "foreignKeys": {
1396
- "run_event_run_id_run_id_fk": {
1397
- "name": "run_event_run_id_run_id_fk",
1398
- "tableFrom": "run_event",
1399
- "tableTo": "run",
1400
- "columnsFrom": [
1401
- "run_id"
1402
- ],
1403
- "columnsTo": [
1404
- "id"
1405
- ],
1406
- "onDelete": "cascade",
1407
- "onUpdate": "no action"
1408
- }
1409
- },
1410
- "compositePrimaryKeys": {},
1411
- "uniqueConstraints": {},
1412
- "checkConstraints": {}
1413
- },
1414
- "space_category": {
1415
- "name": "space_category",
1416
- "columns": {
1417
- "id": {
1418
- "name": "id",
1419
- "type": "text",
1420
- "primaryKey": true,
1421
- "notNull": true,
1422
- "autoincrement": false
1423
- },
1424
- "tenant_id": {
1425
- "name": "tenant_id",
1426
- "type": "text",
1427
- "primaryKey": false,
1428
- "notNull": true,
1429
- "autoincrement": false
1430
- },
1431
- "project_id": {
1432
- "name": "project_id",
1433
- "type": "text",
1434
- "primaryKey": false,
1435
- "notNull": true,
1436
- "autoincrement": false
1437
- },
1438
- "name": {
1439
- "name": "name",
1440
- "type": "text",
1441
- "primaryKey": false,
1442
- "notNull": true,
1443
- "autoincrement": false
1444
- },
1445
- "type": {
1446
- "name": "type",
1447
- "type": "text",
1448
- "primaryKey": false,
1449
- "notNull": true,
1450
- "autoincrement": false
1451
- },
1452
- "unit": {
1453
- "name": "unit",
1454
- "type": "text",
1455
- "primaryKey": false,
1456
- "notNull": false,
1457
- "autoincrement": false
1458
- },
1459
- "multiple": {
1460
- "name": "multiple",
1461
- "type": "integer",
1462
- "primaryKey": false,
1463
- "notNull": true,
1464
- "autoincrement": false,
1465
- "default": false
1466
- },
1467
- "ordered": {
1468
- "name": "ordered",
1469
- "type": "integer",
1470
- "primaryKey": false,
1471
- "notNull": true,
1472
- "autoincrement": false,
1473
- "default": false
1474
- },
1475
- "hint": {
1476
- "name": "hint",
1477
- "type": "text",
1478
- "primaryKey": false,
1479
- "notNull": false,
1480
- "autoincrement": false
1481
- },
1482
- "origin": {
1483
- "name": "origin",
1484
- "type": "text",
1485
- "primaryKey": false,
1486
- "notNull": false,
1487
- "autoincrement": false
1488
- },
1489
- "proposed": {
1490
- "name": "proposed",
1491
- "type": "integer",
1492
- "primaryKey": false,
1493
- "notNull": true,
1494
- "autoincrement": false,
1495
- "default": false
1496
- },
1497
- "table_id": {
1498
- "name": "table_id",
1499
- "type": "text",
1500
- "primaryKey": false,
1501
- "notNull": false,
1502
- "autoincrement": false
1503
- },
1504
- "column_id": {
1505
- "name": "column_id",
1506
- "type": "text",
1507
- "primaryKey": false,
1508
- "notNull": false,
1509
- "autoincrement": false
1510
- },
1511
- "position": {
1512
- "name": "position",
1513
- "type": "integer",
1514
- "primaryKey": false,
1515
- "notNull": true,
1516
- "autoincrement": false,
1517
- "default": 0
1518
- },
1519
- "created_at": {
1520
- "name": "created_at",
1521
- "type": "integer",
1522
- "primaryKey": false,
1523
- "notNull": true,
1524
- "autoincrement": false,
1525
- "default": "(unixepoch() * 1000)"
1526
- },
1527
- "updated_at": {
1528
- "name": "updated_at",
1529
- "type": "integer",
1530
- "primaryKey": false,
1531
- "notNull": true,
1532
- "autoincrement": false,
1533
- "default": "(unixepoch() * 1000)"
1534
- }
1535
- },
1536
- "indexes": {
1537
- "space_category_name": {
1538
- "name": "space_category_name",
1539
- "columns": [
1540
- "project_id",
1541
- "name"
1542
- ],
1543
- "isUnique": true
1544
- }
1545
- },
1546
- "foreignKeys": {
1547
- "space_category_project_id_project_id_fk": {
1548
- "name": "space_category_project_id_project_id_fk",
1549
- "tableFrom": "space_category",
1550
- "tableTo": "project",
1551
- "columnsFrom": [
1552
- "project_id"
1553
- ],
1554
- "columnsTo": [
1555
- "id"
1556
- ],
1557
- "onDelete": "cascade",
1558
- "onUpdate": "no action"
1559
- },
1560
- "space_category_table_id_space_table_id_fk": {
1561
- "name": "space_category_table_id_space_table_id_fk",
1562
- "tableFrom": "space_category",
1563
- "tableTo": "space_table",
1564
- "columnsFrom": [
1565
- "table_id"
1566
- ],
1567
- "columnsTo": [
1568
- "id"
1569
- ],
1570
- "onDelete": "set null",
1571
- "onUpdate": "no action"
1572
- }
1573
- },
1574
- "compositePrimaryKeys": {},
1575
- "uniqueConstraints": {},
1576
- "checkConstraints": {}
1577
- },
1578
- "space_category_value": {
1579
- "name": "space_category_value",
1580
- "columns": {
1581
- "id": {
1582
- "name": "id",
1583
- "type": "text",
1584
- "primaryKey": true,
1585
- "notNull": true,
1586
- "autoincrement": false
1587
- },
1588
- "category_id": {
1589
- "name": "category_id",
1590
- "type": "text",
1591
- "primaryKey": false,
1592
- "notNull": true,
1593
- "autoincrement": false
1594
- },
1595
- "value": {
1596
- "name": "value",
1597
- "type": "text",
1598
- "primaryKey": false,
1599
- "notNull": true,
1600
- "autoincrement": false
1601
- },
1602
- "position": {
1603
- "name": "position",
1604
- "type": "integer",
1605
- "primaryKey": false,
1606
- "notNull": true,
1607
- "autoincrement": false,
1608
- "default": 0
1609
- },
1610
- "summary": {
1611
- "name": "summary",
1612
- "type": "text",
1613
- "primaryKey": false,
1614
- "notNull": false,
1615
- "autoincrement": false
1616
- },
1617
- "summary_at": {
1618
- "name": "summary_at",
1619
- "type": "integer",
1620
- "primaryKey": false,
1621
- "notNull": false,
1622
- "autoincrement": false
1623
- },
1624
- "created_at": {
1625
- "name": "created_at",
1626
- "type": "integer",
1627
- "primaryKey": false,
1628
- "notNull": true,
1629
- "autoincrement": false,
1630
- "default": "(unixepoch() * 1000)"
1631
- }
1632
- },
1633
- "indexes": {
1634
- "space_category_value_value": {
1635
- "name": "space_category_value_value",
1636
- "columns": [
1637
- "category_id",
1638
- "value"
1639
- ],
1640
- "isUnique": true
1641
- }
1642
- },
1643
- "foreignKeys": {
1644
- "space_category_value_category_id_space_category_id_fk": {
1645
- "name": "space_category_value_category_id_space_category_id_fk",
1646
- "tableFrom": "space_category_value",
1647
- "tableTo": "space_category",
1648
- "columnsFrom": [
1649
- "category_id"
1650
- ],
1651
- "columnsTo": [
1652
- "id"
1653
- ],
1654
- "onDelete": "cascade",
1655
- "onUpdate": "no action"
1656
- }
1657
- },
1658
- "compositePrimaryKeys": {},
1659
- "uniqueConstraints": {},
1660
- "checkConstraints": {}
1661
- },
1662
- "space_item_category": {
1663
- "name": "space_item_category",
1664
- "columns": {
1665
- "id": {
1666
- "name": "id",
1667
- "type": "integer",
1668
- "primaryKey": true,
1669
- "notNull": true,
1670
- "autoincrement": true
1671
- },
1672
- "project_id": {
1673
- "name": "project_id",
1674
- "type": "text",
1675
- "primaryKey": false,
1676
- "notNull": true,
1677
- "autoincrement": false
1678
- },
1679
- "category_id": {
1680
- "name": "category_id",
1681
- "type": "text",
1682
- "primaryKey": false,
1683
- "notNull": true,
1684
- "autoincrement": false
1685
- },
1686
- "page_id": {
1687
- "name": "page_id",
1688
- "type": "text",
1689
- "primaryKey": false,
1690
- "notNull": false,
1691
- "autoincrement": false
1692
- },
1693
- "row_id": {
1694
- "name": "row_id",
1695
- "type": "text",
1696
- "primaryKey": false,
1697
- "notNull": false,
1698
- "autoincrement": false
1699
- },
1700
- "table_id": {
1701
- "name": "table_id",
1702
- "type": "text",
1703
- "primaryKey": false,
1704
- "notNull": false,
1705
- "autoincrement": false
1706
- },
1707
- "file_id": {
1708
- "name": "file_id",
1709
- "type": "text",
1710
- "primaryKey": false,
1711
- "notNull": false,
1712
- "autoincrement": false
1713
- },
1714
- "value_id": {
1715
- "name": "value_id",
1716
- "type": "text",
1717
- "primaryKey": false,
1718
- "notNull": false,
1719
- "autoincrement": false
1720
- },
1721
- "text": {
1722
- "name": "text",
1723
- "type": "text",
1724
- "primaryKey": false,
1725
- "notNull": false,
1726
- "autoincrement": false
1727
- },
1728
- "num": {
1729
- "name": "num",
1730
- "type": "real",
1731
- "primaryKey": false,
1732
- "notNull": false,
1733
- "autoincrement": false
1734
- },
1735
- "at": {
1736
- "name": "at",
1737
- "type": "integer",
1738
- "primaryKey": false,
1739
- "notNull": false,
1740
- "autoincrement": false
1741
- },
1742
- "bool": {
1743
- "name": "bool",
1744
- "type": "integer",
1745
- "primaryKey": false,
1746
- "notNull": false,
1747
- "autoincrement": false
1748
- },
1749
- "by": {
1750
- "name": "by",
1751
- "type": "text",
1752
- "primaryKey": false,
1753
- "notNull": true,
1754
- "autoincrement": false,
1755
- "default": "'person'"
1756
- }
1757
- },
1758
- "indexes": {
1759
- "space_item_category_category": {
1760
- "name": "space_item_category_category",
1761
- "columns": [
1762
- "category_id",
1763
- "value_id"
1764
- ],
1765
- "isUnique": false
1766
- },
1767
- "space_item_category_page": {
1768
- "name": "space_item_category_page",
1769
- "columns": [
1770
- "page_id"
1771
- ],
1772
- "isUnique": false
1773
- },
1774
- "space_item_category_row": {
1775
- "name": "space_item_category_row",
1776
- "columns": [
1777
- "row_id"
1778
- ],
1779
- "isUnique": false
1780
- },
1781
- "space_item_category_table": {
1782
- "name": "space_item_category_table",
1783
- "columns": [
1784
- "table_id"
1785
- ],
1786
- "isUnique": false
1787
- },
1788
- "space_item_category_file": {
1789
- "name": "space_item_category_file",
1790
- "columns": [
1791
- "file_id"
1792
- ],
1793
- "isUnique": false
1794
- }
1795
- },
1796
- "foreignKeys": {
1797
- "space_item_category_project_id_project_id_fk": {
1798
- "name": "space_item_category_project_id_project_id_fk",
1799
- "tableFrom": "space_item_category",
1800
- "tableTo": "project",
1801
- "columnsFrom": [
1802
- "project_id"
1803
- ],
1804
- "columnsTo": [
1805
- "id"
1806
- ],
1807
- "onDelete": "cascade",
1808
- "onUpdate": "no action"
1809
- },
1810
- "space_item_category_category_id_space_category_id_fk": {
1811
- "name": "space_item_category_category_id_space_category_id_fk",
1812
- "tableFrom": "space_item_category",
1813
- "tableTo": "space_category",
1814
- "columnsFrom": [
1815
- "category_id"
1816
- ],
1817
- "columnsTo": [
1818
- "id"
1819
- ],
1820
- "onDelete": "cascade",
1821
- "onUpdate": "no action"
1822
- },
1823
- "space_item_category_page_id_space_page_id_fk": {
1824
- "name": "space_item_category_page_id_space_page_id_fk",
1825
- "tableFrom": "space_item_category",
1826
- "tableTo": "space_page",
1827
- "columnsFrom": [
1828
- "page_id"
1829
- ],
1830
- "columnsTo": [
1831
- "id"
1832
- ],
1833
- "onDelete": "cascade",
1834
- "onUpdate": "no action"
1835
- },
1836
- "space_item_category_row_id_space_table_row_id_fk": {
1837
- "name": "space_item_category_row_id_space_table_row_id_fk",
1838
- "tableFrom": "space_item_category",
1839
- "tableTo": "space_table_row",
1840
- "columnsFrom": [
1841
- "row_id"
1842
- ],
1843
- "columnsTo": [
1844
- "id"
1845
- ],
1846
- "onDelete": "cascade",
1847
- "onUpdate": "no action"
1848
- },
1849
- "space_item_category_table_id_space_table_id_fk": {
1850
- "name": "space_item_category_table_id_space_table_id_fk",
1851
- "tableFrom": "space_item_category",
1852
- "tableTo": "space_table",
1853
- "columnsFrom": [
1854
- "table_id"
1855
- ],
1856
- "columnsTo": [
1857
- "id"
1858
- ],
1859
- "onDelete": "cascade",
1860
- "onUpdate": "no action"
1861
- },
1862
- "space_item_category_file_id_project_file_id_fk": {
1863
- "name": "space_item_category_file_id_project_file_id_fk",
1864
- "tableFrom": "space_item_category",
1865
- "tableTo": "project_file",
1866
- "columnsFrom": [
1867
- "file_id"
1868
- ],
1869
- "columnsTo": [
1870
- "id"
1871
- ],
1872
- "onDelete": "cascade",
1873
- "onUpdate": "no action"
1874
- },
1875
- "space_item_category_value_id_space_category_value_id_fk": {
1876
- "name": "space_item_category_value_id_space_category_value_id_fk",
1877
- "tableFrom": "space_item_category",
1878
- "tableTo": "space_category_value",
1879
- "columnsFrom": [
1880
- "value_id"
1881
- ],
1882
- "columnsTo": [
1883
- "id"
1884
- ],
1885
- "onDelete": "cascade",
1886
- "onUpdate": "no action"
1887
- }
1888
- },
1889
- "compositePrimaryKeys": {},
1890
- "uniqueConstraints": {},
1891
- "checkConstraints": {}
1892
- },
1893
- "space_page": {
1894
- "name": "space_page",
1895
- "columns": {
1896
- "id": {
1897
- "name": "id",
1898
- "type": "text",
1899
- "primaryKey": true,
1900
- "notNull": true,
1901
- "autoincrement": false
1902
- },
1903
- "tenant_id": {
1904
- "name": "tenant_id",
1905
- "type": "text",
1906
- "primaryKey": false,
1907
- "notNull": true,
1908
- "autoincrement": false
1909
- },
1910
- "project_id": {
1911
- "name": "project_id",
1912
- "type": "text",
1913
- "primaryKey": false,
1914
- "notNull": true,
1915
- "autoincrement": false
1916
- },
1917
- "wizard_id": {
1918
- "name": "wizard_id",
1919
- "type": "text",
1920
- "primaryKey": false,
1921
- "notNull": false,
1922
- "autoincrement": false
1923
- },
1924
- "parent_id": {
1925
- "name": "parent_id",
1926
- "type": "text",
1927
- "primaryKey": false,
1928
- "notNull": false,
1929
- "autoincrement": false
1930
- },
1931
- "position": {
1932
- "name": "position",
1933
- "type": "integer",
1934
- "primaryKey": false,
1935
- "notNull": true,
1936
- "autoincrement": false,
1937
- "default": 0
1938
- },
1939
- "title": {
1940
- "name": "title",
1941
- "type": "text",
1942
- "primaryKey": false,
1943
- "notNull": true,
1944
- "autoincrement": false
1945
- },
1946
- "slug": {
1947
- "name": "slug",
1948
- "type": "text",
1949
- "primaryKey": false,
1950
- "notNull": false,
1951
- "autoincrement": false
1952
- },
1953
- "markdown": {
1954
- "name": "markdown",
1955
- "type": "text",
1956
- "primaryKey": false,
1957
- "notNull": true,
1958
- "autoincrement": false,
1959
- "default": "''"
1960
- },
1961
- "origin": {
1962
- "name": "origin",
1963
- "type": "text",
1964
- "primaryKey": false,
1965
- "notNull": false,
1966
- "autoincrement": false
1967
- },
1968
- "origin_key": {
1969
- "name": "origin_key",
1970
- "type": "text",
1971
- "primaryKey": false,
1972
- "notNull": false,
1973
- "autoincrement": false
1974
- },
1975
- "origin_label": {
1976
- "name": "origin_label",
1977
- "type": "text",
1978
- "primaryKey": false,
1979
- "notNull": false,
1980
- "autoincrement": false
1981
- },
1982
- "kept": {
1983
- "name": "kept",
1984
- "type": "integer",
1985
- "primaryKey": false,
1986
- "notNull": true,
1987
- "autoincrement": false,
1988
- "default": false
1989
- },
1990
- "review": {
1991
- "name": "review",
1992
- "type": "text",
1993
- "primaryKey": false,
1994
- "notNull": false,
1995
- "autoincrement": false
1996
- },
1997
- "file_id": {
1998
- "name": "file_id",
1999
- "type": "text",
2000
- "primaryKey": false,
2001
- "notNull": false,
2002
- "autoincrement": false
2003
- },
2004
- "created_at": {
2005
- "name": "created_at",
2006
- "type": "integer",
2007
- "primaryKey": false,
2008
- "notNull": true,
2009
- "autoincrement": false,
2010
- "default": "(unixepoch() * 1000)"
2011
- },
2012
- "updated_at": {
2013
- "name": "updated_at",
2014
- "type": "integer",
2015
- "primaryKey": false,
2016
- "notNull": true,
2017
- "autoincrement": false,
2018
- "default": "(unixepoch() * 1000)"
2019
- }
2020
- },
2021
- "indexes": {
2022
- "space_page_project": {
2023
- "name": "space_page_project",
2024
- "columns": [
2025
- "project_id",
2026
- "wizard_id"
2027
- ],
2028
- "isUnique": false
2029
- },
2030
- "space_page_parent": {
2031
- "name": "space_page_parent",
2032
- "columns": [
2033
- "parent_id",
2034
- "position"
2035
- ],
2036
- "isUnique": false
2037
- },
2038
- "space_page_origin": {
2039
- "name": "space_page_origin",
2040
- "columns": [
2041
- "project_id",
2042
- "origin",
2043
- "origin_key"
2044
- ],
2045
- "isUnique": true
2046
- }
2047
- },
2048
- "foreignKeys": {
2049
- "space_page_project_id_project_id_fk": {
2050
- "name": "space_page_project_id_project_id_fk",
2051
- "tableFrom": "space_page",
2052
- "tableTo": "project",
2053
- "columnsFrom": [
2054
- "project_id"
2055
- ],
2056
- "columnsTo": [
2057
- "id"
2058
- ],
2059
- "onDelete": "cascade",
2060
- "onUpdate": "no action"
2061
- },
2062
- "space_page_wizard_id_wizard_id_fk": {
2063
- "name": "space_page_wizard_id_wizard_id_fk",
2064
- "tableFrom": "space_page",
2065
- "tableTo": "wizard",
2066
- "columnsFrom": [
2067
- "wizard_id"
2068
- ],
2069
- "columnsTo": [
2070
- "id"
2071
- ],
2072
- "onDelete": "cascade",
2073
- "onUpdate": "no action"
2074
- },
2075
- "space_page_parent_id_space_page_id_fk": {
2076
- "name": "space_page_parent_id_space_page_id_fk",
2077
- "tableFrom": "space_page",
2078
- "tableTo": "space_page",
2079
- "columnsFrom": [
2080
- "parent_id"
2081
- ],
2082
- "columnsTo": [
2083
- "id"
2084
- ],
2085
- "onDelete": "cascade",
2086
- "onUpdate": "no action"
2087
- },
2088
- "space_page_file_id_project_file_id_fk": {
2089
- "name": "space_page_file_id_project_file_id_fk",
2090
- "tableFrom": "space_page",
2091
- "tableTo": "project_file",
2092
- "columnsFrom": [
2093
- "file_id"
2094
- ],
2095
- "columnsTo": [
2096
- "id"
2097
- ],
2098
- "onDelete": "set null",
2099
- "onUpdate": "no action"
2100
- }
2101
- },
2102
- "compositePrimaryKeys": {},
2103
- "uniqueConstraints": {},
2104
- "checkConstraints": {}
2105
- },
2106
- "space_table": {
2107
- "name": "space_table",
2108
- "columns": {
2109
- "id": {
2110
- "name": "id",
2111
- "type": "text",
2112
- "primaryKey": true,
2113
- "notNull": true,
2114
- "autoincrement": false
2115
- },
2116
- "tenant_id": {
2117
- "name": "tenant_id",
2118
- "type": "text",
2119
- "primaryKey": false,
2120
- "notNull": true,
2121
- "autoincrement": false
2122
- },
2123
- "project_id": {
2124
- "name": "project_id",
2125
- "type": "text",
2126
- "primaryKey": false,
2127
- "notNull": true,
2128
- "autoincrement": false
2129
- },
2130
- "wizard_id": {
2131
- "name": "wizard_id",
2132
- "type": "text",
2133
- "primaryKey": false,
2134
- "notNull": false,
2135
- "autoincrement": false
2136
- },
2137
- "list": {
2138
- "name": "list",
2139
- "type": "text",
2140
- "primaryKey": false,
2141
- "notNull": false,
2142
- "autoincrement": false
2143
- },
2144
- "key_column": {
2145
- "name": "key_column",
2146
- "type": "text",
2147
- "primaryKey": false,
2148
- "notNull": false,
2149
- "autoincrement": false
2150
- },
2151
- "title": {
2152
- "name": "title",
2153
- "type": "text",
2154
- "primaryKey": false,
2155
- "notNull": true,
2156
- "autoincrement": false
2157
- },
2158
- "slug": {
2159
- "name": "slug",
2160
- "type": "text",
2161
- "primaryKey": false,
2162
- "notNull": false,
2163
- "autoincrement": false
2164
- },
2165
- "format": {
2166
- "name": "format",
2167
- "type": "text",
2168
- "primaryKey": false,
2169
- "notNull": false,
2170
- "autoincrement": false
2171
- },
2172
- "columns": {
2173
- "name": "columns",
2174
- "type": "text",
2175
- "primaryKey": false,
2176
- "notNull": true,
2177
- "autoincrement": false
2178
- },
2179
- "origin": {
2180
- "name": "origin",
2181
- "type": "text",
2182
- "primaryKey": false,
2183
- "notNull": false,
2184
- "autoincrement": false
2185
- },
2186
- "origin_key": {
2187
- "name": "origin_key",
2188
- "type": "text",
2189
- "primaryKey": false,
2190
- "notNull": false,
2191
- "autoincrement": false
2192
- },
2193
- "origin_label": {
2194
- "name": "origin_label",
2195
- "type": "text",
2196
- "primaryKey": false,
2197
- "notNull": false,
2198
- "autoincrement": false
2199
- },
2200
- "kept": {
2201
- "name": "kept",
2202
- "type": "integer",
2203
- "primaryKey": false,
2204
- "notNull": true,
2205
- "autoincrement": false,
2206
- "default": false
2207
- },
2208
- "review": {
2209
- "name": "review",
2210
- "type": "text",
2211
- "primaryKey": false,
2212
- "notNull": false,
2213
- "autoincrement": false
2214
- },
2215
- "file_id": {
2216
- "name": "file_id",
2217
- "type": "text",
2218
- "primaryKey": false,
2219
- "notNull": false,
2220
- "autoincrement": false
2221
- },
2222
- "created_at": {
2223
- "name": "created_at",
2224
- "type": "integer",
2225
- "primaryKey": false,
2226
- "notNull": true,
2227
- "autoincrement": false,
2228
- "default": "(unixepoch() * 1000)"
2229
- },
2230
- "updated_at": {
2231
- "name": "updated_at",
2232
- "type": "integer",
2233
- "primaryKey": false,
2234
- "notNull": true,
2235
- "autoincrement": false,
2236
- "default": "(unixepoch() * 1000)"
2237
- }
2238
- },
2239
- "indexes": {
2240
- "space_table_project": {
2241
- "name": "space_table_project",
2242
- "columns": [
2243
- "project_id",
2244
- "wizard_id"
2245
- ],
2246
- "isUnique": false
2247
- },
2248
- "space_table_list": {
2249
- "name": "space_table_list",
2250
- "columns": [
2251
- "wizard_id",
2252
- "list"
2253
- ],
2254
- "isUnique": true
2255
- },
2256
- "space_table_origin": {
2257
- "name": "space_table_origin",
2258
- "columns": [
2259
- "project_id",
2260
- "origin",
2261
- "origin_key"
2262
- ],
2263
- "isUnique": true
2264
- }
2265
- },
2266
- "foreignKeys": {
2267
- "space_table_project_id_project_id_fk": {
2268
- "name": "space_table_project_id_project_id_fk",
2269
- "tableFrom": "space_table",
2270
- "tableTo": "project",
2271
- "columnsFrom": [
2272
- "project_id"
2273
- ],
2274
- "columnsTo": [
2275
- "id"
2276
- ],
2277
- "onDelete": "cascade",
2278
- "onUpdate": "no action"
2279
- },
2280
- "space_table_wizard_id_wizard_id_fk": {
2281
- "name": "space_table_wizard_id_wizard_id_fk",
2282
- "tableFrom": "space_table",
2283
- "tableTo": "wizard",
2284
- "columnsFrom": [
2285
- "wizard_id"
2286
- ],
2287
- "columnsTo": [
2288
- "id"
2289
- ],
2290
- "onDelete": "cascade",
2291
- "onUpdate": "no action"
2292
- },
2293
- "space_table_file_id_project_file_id_fk": {
2294
- "name": "space_table_file_id_project_file_id_fk",
2295
- "tableFrom": "space_table",
2296
- "tableTo": "project_file",
2297
- "columnsFrom": [
2298
- "file_id"
2299
- ],
2300
- "columnsTo": [
2301
- "id"
2302
- ],
2303
- "onDelete": "set null",
2304
- "onUpdate": "no action"
2305
- }
2306
- },
2307
- "compositePrimaryKeys": {},
2308
- "uniqueConstraints": {},
2309
- "checkConstraints": {}
2310
- },
2311
- "space_table_row": {
2312
- "name": "space_table_row",
2313
- "columns": {
2314
- "id": {
2315
- "name": "id",
2316
- "type": "text",
2317
- "primaryKey": true,
2318
- "notNull": true,
2319
- "autoincrement": false
2320
- },
2321
- "table_id": {
2322
- "name": "table_id",
2323
- "type": "text",
2324
- "primaryKey": false,
2325
- "notNull": true,
2326
- "autoincrement": false
2327
- },
2328
- "key": {
2329
- "name": "key",
2330
- "type": "text",
2331
- "primaryKey": false,
2332
- "notNull": false,
2333
- "autoincrement": false
2334
- },
2335
- "cells": {
2336
- "name": "cells",
2337
- "type": "text",
2338
- "primaryKey": false,
2339
- "notNull": true,
2340
- "autoincrement": false
2341
- },
2342
- "created_at": {
2343
- "name": "created_at",
2344
- "type": "integer",
2345
- "primaryKey": false,
2346
- "notNull": true,
2347
- "autoincrement": false,
2348
- "default": "(unixepoch() * 1000)"
2349
- },
2350
- "updated_at": {
2351
- "name": "updated_at",
2352
- "type": "integer",
2353
- "primaryKey": false,
2354
- "notNull": true,
2355
- "autoincrement": false,
2356
- "default": "(unixepoch() * 1000)"
2357
- }
2358
- },
2359
- "indexes": {
2360
- "space_table_row_table": {
2361
- "name": "space_table_row_table",
2362
- "columns": [
2363
- "table_id",
2364
- "created_at"
2365
- ],
2366
- "isUnique": false
2367
- },
2368
- "space_table_row_key": {
2369
- "name": "space_table_row_key",
2370
- "columns": [
2371
- "table_id",
2372
- "key"
2373
- ],
2374
- "isUnique": false
2375
- }
2376
- },
2377
- "foreignKeys": {
2378
- "space_table_row_table_id_space_table_id_fk": {
2379
- "name": "space_table_row_table_id_space_table_id_fk",
2380
- "tableFrom": "space_table_row",
2381
- "tableTo": "space_table",
2382
- "columnsFrom": [
2383
- "table_id"
2384
- ],
2385
- "columnsTo": [
2386
- "id"
2387
- ],
2388
- "onDelete": "cascade",
2389
- "onUpdate": "no action"
2390
- }
2391
- },
2392
- "compositePrimaryKeys": {},
2393
- "uniqueConstraints": {},
2394
- "checkConstraints": {}
2395
- },
2396
- "store_file": {
2397
- "name": "store_file",
2398
- "columns": {
2399
- "wizard_id": {
2400
- "name": "wizard_id",
2401
- "type": "text",
2402
- "primaryKey": false,
2403
- "notNull": true,
2404
- "autoincrement": false
2405
- },
2406
- "holder": {
2407
- "name": "holder",
2408
- "type": "text",
2409
- "primaryKey": false,
2410
- "notNull": true,
2411
- "autoincrement": false
2412
- },
2413
- "path": {
2414
- "name": "path",
2415
- "type": "text",
2416
- "primaryKey": false,
2417
- "notNull": true,
2418
- "autoincrement": false
2419
- },
2420
- "hash": {
2421
- "name": "hash",
2422
- "type": "text",
2423
- "primaryKey": false,
2424
- "notNull": true,
2425
- "autoincrement": false
2426
- },
2427
- "mime": {
2428
- "name": "mime",
2429
- "type": "text",
2430
- "primaryKey": false,
2431
- "notNull": true,
2432
- "autoincrement": false
2433
- },
2434
- "size": {
2435
- "name": "size",
2436
- "type": "integer",
2437
- "primaryKey": false,
2438
- "notNull": true,
2439
- "autoincrement": false
2440
- },
2441
- "source": {
2442
- "name": "source",
2443
- "type": "text",
2444
- "primaryKey": false,
2445
- "notNull": false,
2446
- "autoincrement": false
2447
- },
2448
- "updated_at": {
2449
- "name": "updated_at",
2450
- "type": "integer",
2451
- "primaryKey": false,
2452
- "notNull": true,
2453
- "autoincrement": false,
2454
- "default": "(unixepoch() * 1000)"
2455
- }
2456
- },
2457
- "indexes": {},
2458
- "foreignKeys": {
2459
- "store_file_wizard_id_wizard_id_fk": {
2460
- "name": "store_file_wizard_id_wizard_id_fk",
2461
- "tableFrom": "store_file",
2462
- "tableTo": "wizard",
2463
- "columnsFrom": [
2464
- "wizard_id"
2465
- ],
2466
- "columnsTo": [
2467
- "id"
2468
- ],
2469
- "onDelete": "cascade",
2470
- "onUpdate": "no action"
2471
- }
2472
- },
2473
- "compositePrimaryKeys": {
2474
- "store_file_wizard_id_holder_path_pk": {
2475
- "columns": [
2476
- "wizard_id",
2477
- "holder",
2478
- "path"
2479
- ],
2480
- "name": "store_file_wizard_id_holder_path_pk"
2481
- }
2482
- },
2483
- "uniqueConstraints": {},
2484
- "checkConstraints": {}
2485
- },
2486
- "store_holder": {
2487
- "name": "store_holder",
2488
- "columns": {
2489
- "wizard_id": {
2490
- "name": "wizard_id",
2491
- "type": "text",
2492
- "primaryKey": false,
2493
- "notNull": true,
2494
- "autoincrement": false
2495
- },
2496
- "holder": {
2497
- "name": "holder",
2498
- "type": "text",
2499
- "primaryKey": false,
2500
- "notNull": true,
2501
- "autoincrement": false
2502
- },
2503
- "used_at": {
2504
- "name": "used_at",
2505
- "type": "integer",
2506
- "primaryKey": false,
2507
- "notNull": true,
2508
- "autoincrement": false,
2509
- "default": "(unixepoch() * 1000)"
2510
- }
2511
- },
2512
- "indexes": {
2513
- "store_holder_used": {
2514
- "name": "store_holder_used",
2515
- "columns": [
2516
- "used_at"
2517
- ],
2518
- "isUnique": false
2519
- }
2520
- },
2521
- "foreignKeys": {
2522
- "store_holder_wizard_id_wizard_id_fk": {
2523
- "name": "store_holder_wizard_id_wizard_id_fk",
2524
- "tableFrom": "store_holder",
2525
- "tableTo": "wizard",
2526
- "columnsFrom": [
2527
- "wizard_id"
2528
- ],
2529
- "columnsTo": [
2530
- "id"
2531
- ],
2532
- "onDelete": "cascade",
2533
- "onUpdate": "no action"
2534
- }
2535
- },
2536
- "compositePrimaryKeys": {
2537
- "store_holder_wizard_id_holder_pk": {
2538
- "columns": [
2539
- "wizard_id",
2540
- "holder"
2541
- ],
2542
- "name": "store_holder_wizard_id_holder_pk"
2543
- }
2544
- },
2545
- "uniqueConstraints": {},
2546
- "checkConstraints": {}
2547
- },
2548
- "store_row": {
2549
- "name": "store_row",
2550
- "columns": {
2551
- "id": {
2552
- "name": "id",
2553
- "type": "text",
2554
- "primaryKey": true,
2555
- "notNull": true,
2556
- "autoincrement": false
2557
- },
2558
- "wizard_id": {
2559
- "name": "wizard_id",
2560
- "type": "text",
2561
- "primaryKey": false,
2562
- "notNull": true,
2563
- "autoincrement": false
2564
- },
2565
- "holder": {
2566
- "name": "holder",
2567
- "type": "text",
2568
- "primaryKey": false,
2569
- "notNull": true,
2570
- "autoincrement": false
2571
- },
2572
- "list": {
2573
- "name": "list",
2574
- "type": "text",
2575
- "primaryKey": false,
2576
- "notNull": true,
2577
- "autoincrement": false
2578
- },
2579
- "key": {
2580
- "name": "key",
2581
- "type": "text",
2582
- "primaryKey": false,
2583
- "notNull": false,
2584
- "autoincrement": false
2585
- },
2586
- "cells": {
2587
- "name": "cells",
2588
- "type": "text",
2589
- "primaryKey": false,
2590
- "notNull": true,
2591
- "autoincrement": false
2592
- },
2593
- "created_at": {
2594
- "name": "created_at",
2595
- "type": "integer",
2596
- "primaryKey": false,
2597
- "notNull": true,
2598
- "autoincrement": false,
2599
- "default": "(unixepoch() * 1000)"
2600
- },
2601
- "updated_at": {
2602
- "name": "updated_at",
2603
- "type": "integer",
2604
- "primaryKey": false,
2605
- "notNull": true,
2606
- "autoincrement": false,
2607
- "default": "(unixepoch() * 1000)"
2608
- }
2609
- },
2610
- "indexes": {
2611
- "store_row_key": {
2612
- "name": "store_row_key",
2613
- "columns": [
2614
- "wizard_id",
2615
- "holder",
2616
- "list",
2617
- "key"
2618
- ],
2619
- "isUnique": true
2620
- },
2621
- "store_row_list": {
2622
- "name": "store_row_list",
2623
- "columns": [
2624
- "wizard_id",
2625
- "holder",
2626
- "list",
2627
- "created_at"
2628
- ],
2629
- "isUnique": false
2630
- }
2631
- },
2632
- "foreignKeys": {
2633
- "store_row_wizard_id_wizard_id_fk": {
2634
- "name": "store_row_wizard_id_wizard_id_fk",
2635
- "tableFrom": "store_row",
2636
- "tableTo": "wizard",
2637
- "columnsFrom": [
2638
- "wizard_id"
2639
- ],
2640
- "columnsTo": [
2641
- "id"
2642
- ],
2643
- "onDelete": "cascade",
2644
- "onUpdate": "no action"
2645
- }
2646
- },
2647
- "compositePrimaryKeys": {},
2648
- "uniqueConstraints": {},
2649
- "checkConstraints": {}
2650
- },
2651
- "store_secret": {
2652
- "name": "store_secret",
2653
- "columns": {
2654
- "id": {
2655
- "name": "id",
2656
- "type": "text",
2657
- "primaryKey": true,
2658
- "notNull": true,
2659
- "autoincrement": false
2660
- },
2661
- "wizard_id": {
2662
- "name": "wizard_id",
2663
- "type": "text",
2664
- "primaryKey": false,
2665
- "notNull": true,
2666
- "autoincrement": false
2667
- },
2668
- "holder": {
2669
- "name": "holder",
2670
- "type": "text",
2671
- "primaryKey": false,
2672
- "notNull": true,
2673
- "autoincrement": false
2674
- },
2675
- "slot": {
2676
- "name": "slot",
2677
- "type": "text",
2678
- "primaryKey": false,
2679
- "notNull": true,
2680
- "autoincrement": false
2681
- },
2682
- "provider": {
2683
- "name": "provider",
2684
- "type": "text",
2685
- "primaryKey": false,
2686
- "notNull": true,
2687
- "autoincrement": false
2688
- },
2689
- "label": {
2690
- "name": "label",
2691
- "type": "text",
2692
- "primaryKey": false,
2693
- "notNull": true,
2694
- "autoincrement": false
2695
- },
2696
- "data": {
2697
- "name": "data",
2698
- "type": "text",
2699
- "primaryKey": false,
2700
- "notNull": true,
2701
- "autoincrement": false
2702
- },
2703
- "created_at": {
2704
- "name": "created_at",
2705
- "type": "integer",
2706
- "primaryKey": false,
2707
- "notNull": true,
2708
- "autoincrement": false,
2709
- "default": "(unixepoch() * 1000)"
2710
- },
2711
- "updated_at": {
2712
- "name": "updated_at",
2713
- "type": "integer",
2714
- "primaryKey": false,
2715
- "notNull": true,
2716
- "autoincrement": false,
2717
- "default": "(unixepoch() * 1000)"
2718
- }
2719
- },
2720
- "indexes": {
2721
- "store_secret_slot": {
2722
- "name": "store_secret_slot",
2723
- "columns": [
2724
- "wizard_id",
2725
- "holder",
2726
- "slot"
2727
- ],
2728
- "isUnique": true
2729
- }
2730
- },
2731
- "foreignKeys": {
2732
- "store_secret_wizard_id_wizard_id_fk": {
2733
- "name": "store_secret_wizard_id_wizard_id_fk",
2734
- "tableFrom": "store_secret",
2735
- "tableTo": "wizard",
2736
- "columnsFrom": [
2737
- "wizard_id"
2738
- ],
2739
- "columnsTo": [
2740
- "id"
2741
- ],
2742
- "onDelete": "cascade",
2743
- "onUpdate": "no action"
2744
- }
2745
- },
2746
- "compositePrimaryKeys": {},
2747
- "uniqueConstraints": {},
2748
- "checkConstraints": {}
2749
- },
2750
- "wizard": {
2751
- "name": "wizard",
2752
- "columns": {
2753
- "id": {
2754
- "name": "id",
2755
- "type": "text",
2756
- "primaryKey": true,
2757
- "notNull": true,
2758
- "autoincrement": false
2759
- },
2760
- "project_id": {
2761
- "name": "project_id",
2762
- "type": "text",
2763
- "primaryKey": false,
2764
- "notNull": true,
2765
- "autoincrement": false
2766
- },
2767
- "tenant_id": {
2768
- "name": "tenant_id",
2769
- "type": "text",
2770
- "primaryKey": false,
2771
- "notNull": true,
2772
- "autoincrement": false
2773
- },
2774
- "title": {
2775
- "name": "title",
2776
- "type": "text",
2777
- "primaryKey": false,
2778
- "notNull": true,
2779
- "autoincrement": false
2780
- },
2781
- "draft": {
2782
- "name": "draft",
2783
- "type": "text",
2784
- "primaryKey": false,
2785
- "notNull": true,
2786
- "autoincrement": false
2787
- },
2788
- "published_version": {
2789
- "name": "published_version",
2790
- "type": "integer",
2791
- "primaryKey": false,
2792
- "notNull": false,
2793
- "autoincrement": false
2794
- },
2795
- "share_token": {
2796
- "name": "share_token",
2797
- "type": "text",
2798
- "primaryKey": false,
2799
- "notNull": true,
2800
- "autoincrement": false
2801
- },
2802
- "share_enabled": {
2803
- "name": "share_enabled",
2804
- "type": "integer",
2805
- "primaryKey": false,
2806
- "notNull": true,
2807
- "autoincrement": false,
2808
- "default": true
2809
- },
2810
- "daily_run_limit": {
2811
- "name": "daily_run_limit",
2812
- "type": "integer",
2813
- "primaryKey": false,
2814
- "notNull": true,
2815
- "autoincrement": false,
2816
- "default": 50
2817
- },
2818
- "starter": {
2819
- "name": "starter",
2820
- "type": "text",
2821
- "primaryKey": false,
2822
- "notNull": false,
2823
- "autoincrement": false
2824
- },
2825
- "starter_revision": {
2826
- "name": "starter_revision",
2827
- "type": "integer",
2828
- "primaryKey": false,
2829
- "notNull": false,
2830
- "autoincrement": false
2831
- },
2832
- "revision": {
2833
- "name": "revision",
2834
- "type": "integer",
2835
- "primaryKey": false,
2836
- "notNull": true,
2837
- "autoincrement": false,
2838
- "default": 0
2839
- },
2840
- "runners": {
2841
- "name": "runners",
2842
- "type": "text",
2843
- "primaryKey": false,
2844
- "notNull": false,
2845
- "autoincrement": false
2846
- },
2847
- "created_at": {
2848
- "name": "created_at",
2849
- "type": "integer",
2850
- "primaryKey": false,
2851
- "notNull": true,
2852
- "autoincrement": false,
2853
- "default": "(unixepoch() * 1000)"
2854
- },
2855
- "updated_at": {
2856
- "name": "updated_at",
2857
- "type": "integer",
2858
- "primaryKey": false,
2859
- "notNull": true,
2860
- "autoincrement": false,
2861
- "default": "(unixepoch() * 1000)"
2862
- }
2863
- },
2864
- "indexes": {
2865
- "wizard_share_token": {
2866
- "name": "wizard_share_token",
2867
- "columns": [
2868
- "share_token"
2869
- ],
2870
- "isUnique": true
2871
- },
2872
- "wizard_project": {
2873
- "name": "wizard_project",
2874
- "columns": [
2875
- "project_id"
2876
- ],
2877
- "isUnique": false
2878
- }
2879
- },
2880
- "foreignKeys": {
2881
- "wizard_project_id_project_id_fk": {
2882
- "name": "wizard_project_id_project_id_fk",
2883
- "tableFrom": "wizard",
2884
- "tableTo": "project",
2885
- "columnsFrom": [
2886
- "project_id"
2887
- ],
2888
- "columnsTo": [
2889
- "id"
2890
- ],
2891
- "onDelete": "cascade",
2892
- "onUpdate": "no action"
2893
- }
2894
- },
2895
- "compositePrimaryKeys": {},
2896
- "uniqueConstraints": {},
2897
- "checkConstraints": {}
2898
- },
2899
- "wizard_file": {
2900
- "name": "wizard_file",
2901
- "columns": {
2902
- "wizard_id": {
2903
- "name": "wizard_id",
2904
- "type": "text",
2905
- "primaryKey": false,
2906
- "notNull": true,
2907
- "autoincrement": false
2908
- },
2909
- "path": {
2910
- "name": "path",
2911
- "type": "text",
2912
- "primaryKey": false,
2913
- "notNull": true,
2914
- "autoincrement": false
2915
- },
2916
- "hash": {
2917
- "name": "hash",
2918
- "type": "text",
2919
- "primaryKey": false,
2920
- "notNull": true,
2921
- "autoincrement": false
2922
- },
2923
- "mime": {
2924
- "name": "mime",
2925
- "type": "text",
2926
- "primaryKey": false,
2927
- "notNull": true,
2928
- "autoincrement": false
2929
- },
2930
- "size": {
2931
- "name": "size",
2932
- "type": "integer",
2933
- "primaryKey": false,
2934
- "notNull": true,
2935
- "autoincrement": false
2936
- },
2937
- "updated_at": {
2938
- "name": "updated_at",
2939
- "type": "integer",
2940
- "primaryKey": false,
2941
- "notNull": true,
2942
- "autoincrement": false,
2943
- "default": "(unixepoch() * 1000)"
2944
- }
2945
- },
2946
- "indexes": {},
2947
- "foreignKeys": {
2948
- "wizard_file_wizard_id_wizard_id_fk": {
2949
- "name": "wizard_file_wizard_id_wizard_id_fk",
2950
- "tableFrom": "wizard_file",
2951
- "tableTo": "wizard",
2952
- "columnsFrom": [
2953
- "wizard_id"
2954
- ],
2955
- "columnsTo": [
2956
- "id"
2957
- ],
2958
- "onDelete": "cascade",
2959
- "onUpdate": "no action"
2960
- }
2961
- },
2962
- "compositePrimaryKeys": {
2963
- "wizard_file_wizard_id_path_pk": {
2964
- "columns": [
2965
- "wizard_id",
2966
- "path"
2967
- ],
2968
- "name": "wizard_file_wizard_id_path_pk"
2969
- }
2970
- },
2971
- "uniqueConstraints": {},
2972
- "checkConstraints": {}
2973
- },
2974
- "wizard_message": {
2975
- "name": "wizard_message",
2976
- "columns": {
2977
- "id": {
2978
- "name": "id",
2979
- "type": "text",
2980
- "primaryKey": true,
2981
- "notNull": true,
2982
- "autoincrement": false
2983
- },
2984
- "wizard_id": {
2985
- "name": "wizard_id",
2986
- "type": "text",
2987
- "primaryKey": false,
2988
- "notNull": true,
2989
- "autoincrement": false
2990
- },
2991
- "role": {
2992
- "name": "role",
2993
- "type": "text",
2994
- "primaryKey": false,
2995
- "notNull": true,
2996
- "autoincrement": false
2997
- },
2998
- "content": {
2999
- "name": "content",
3000
- "type": "text",
3001
- "primaryKey": false,
3002
- "notNull": true,
3003
- "autoincrement": false
3004
- },
3005
- "changed": {
3006
- "name": "changed",
3007
- "type": "integer",
3008
- "primaryKey": false,
3009
- "notNull": true,
3010
- "autoincrement": false,
3011
- "default": false
3012
- },
3013
- "source": {
3014
- "name": "source",
3015
- "type": "text",
3016
- "primaryKey": false,
3017
- "notNull": true,
3018
- "autoincrement": false,
3019
- "default": "'studio'"
3020
- },
3021
- "client": {
3022
- "name": "client",
3023
- "type": "text",
3024
- "primaryKey": false,
3025
- "notNull": false,
3026
- "autoincrement": false
3027
- },
3028
- "created_at": {
3029
- "name": "created_at",
3030
- "type": "integer",
3031
- "primaryKey": false,
3032
- "notNull": true,
3033
- "autoincrement": false,
3034
- "default": "(unixepoch() * 1000)"
3035
- }
3036
- },
3037
- "indexes": {
3038
- "wizard_message_wizard": {
3039
- "name": "wizard_message_wizard",
3040
- "columns": [
3041
- "wizard_id",
3042
- "created_at"
3043
- ],
3044
- "isUnique": false
3045
- }
3046
- },
3047
- "foreignKeys": {
3048
- "wizard_message_wizard_id_wizard_id_fk": {
3049
- "name": "wizard_message_wizard_id_wizard_id_fk",
3050
- "tableFrom": "wizard_message",
3051
- "tableTo": "wizard",
3052
- "columnsFrom": [
3053
- "wizard_id"
3054
- ],
3055
- "columnsTo": [
3056
- "id"
3057
- ],
3058
- "onDelete": "cascade",
3059
- "onUpdate": "no action"
3060
- }
3061
- },
3062
- "compositePrimaryKeys": {},
3063
- "uniqueConstraints": {},
3064
- "checkConstraints": {}
3065
- },
3066
- "wizard_version": {
3067
- "name": "wizard_version",
3068
- "columns": {
3069
- "id": {
3070
- "name": "id",
3071
- "type": "text",
3072
- "primaryKey": true,
3073
- "notNull": true,
3074
- "autoincrement": false
3075
- },
3076
- "wizard_id": {
3077
- "name": "wizard_id",
3078
- "type": "text",
3079
- "primaryKey": false,
3080
- "notNull": true,
3081
- "autoincrement": false
3082
- },
3083
- "version": {
3084
- "name": "version",
3085
- "type": "integer",
3086
- "primaryKey": false,
3087
- "notNull": true,
3088
- "autoincrement": false
3089
- },
3090
- "definition": {
3091
- "name": "definition",
3092
- "type": "text",
3093
- "primaryKey": false,
3094
- "notNull": true,
3095
- "autoincrement": false
3096
- },
3097
- "files": {
3098
- "name": "files",
3099
- "type": "text",
3100
- "primaryKey": false,
3101
- "notNull": true,
3102
- "autoincrement": false,
3103
- "default": "'[]'"
3104
- },
3105
- "created_at": {
3106
- "name": "created_at",
3107
- "type": "integer",
3108
- "primaryKey": false,
3109
- "notNull": true,
3110
- "autoincrement": false,
3111
- "default": "(unixepoch() * 1000)"
3112
- }
3113
- },
3114
- "indexes": {
3115
- "wizard_version_n": {
3116
- "name": "wizard_version_n",
3117
- "columns": [
3118
- "wizard_id",
3119
- "version"
3120
- ],
3121
- "isUnique": true
3122
- }
3123
- },
3124
- "foreignKeys": {
3125
- "wizard_version_wizard_id_wizard_id_fk": {
3126
- "name": "wizard_version_wizard_id_wizard_id_fk",
3127
- "tableFrom": "wizard_version",
3128
- "tableTo": "wizard",
3129
- "columnsFrom": [
3130
- "wizard_id"
3131
- ],
3132
- "columnsTo": [
3133
- "id"
3134
- ],
3135
- "onDelete": "cascade",
3136
- "onUpdate": "no action"
3137
- }
3138
- },
3139
- "compositePrimaryKeys": {},
3140
- "uniqueConstraints": {},
3141
- "checkConstraints": {}
3142
- }
3143
- },
3144
- "views": {},
3145
- "enums": {},
3146
- "_meta": {
3147
- "schemas": {},
3148
- "tables": {},
3149
- "columns": {}
3150
- },
3151
- "internal": {
3152
- "indexes": {}
3153
- }
3154
- }