wizards 0.7.3 → 0.7.5

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