studiocms 0.1.0-beta.9 → 0.1.1

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 (1069) hide show
  1. package/CHANGELOG.md +59 -430
  2. package/LICENSE +1 -1
  3. package/README.md +20 -41
  4. package/astroenv.d.ts +3 -0
  5. package/dist/cli/add/index.d.ts +27 -0
  6. package/dist/cli/add/index.js +227 -0
  7. package/dist/cli/add/npm-utils.d.ts +22 -0
  8. package/dist/cli/add/npm-utils.js +127 -0
  9. package/dist/cli/add/tryToInstallPlugins.d.ts +12 -0
  10. package/dist/cli/add/tryToInstallPlugins.js +105 -0
  11. package/dist/cli/add/updateStudioCMSConfig.d.ts +12 -0
  12. package/dist/cli/add/updateStudioCMSConfig.js +91 -0
  13. package/dist/cli/add/validatePlugins.d.ts +11 -0
  14. package/dist/cli/add/validatePlugins.js +89 -0
  15. package/dist/cli/crypto/genJWT/index.d.ts +13 -0
  16. package/dist/cli/crypto/genJWT/index.js +122 -0
  17. package/dist/cli/crypto/index.d.ts +8 -0
  18. package/dist/cli/crypto/index.js +9 -0
  19. package/dist/cli/debug/index.d.ts +4 -0
  20. package/dist/cli/debug/index.js +101 -0
  21. package/dist/cli/getTurso/index.d.ts +5 -0
  22. package/dist/cli/getTurso/index.js +32 -0
  23. package/dist/cli/index.js +35 -8
  24. package/dist/cli/init/index.d.ts +6 -0
  25. package/dist/cli/init/index.js +79 -0
  26. package/dist/cli/init/steps/env.d.ts +7 -0
  27. package/dist/cli/init/steps/env.js +464 -0
  28. package/dist/cli/init/steps/next.d.ts +3 -0
  29. package/dist/cli/init/steps/next.js +55 -0
  30. package/dist/cli/migrator/index.d.ts +10 -0
  31. package/dist/cli/migrator/index.js +213 -0
  32. package/dist/cli/users/index.d.ts +10 -0
  33. package/dist/cli/users/index.js +91 -0
  34. package/dist/cli/users/shared.d.ts +30 -0
  35. package/dist/cli/users/shared.js +20 -0
  36. package/dist/cli/users/steps/createUsers.d.ts +11 -0
  37. package/dist/cli/users/steps/createUsers.js +179 -0
  38. package/dist/cli/users/steps/modifyUsers.d.ts +7 -0
  39. package/dist/cli/users/steps/modifyUsers.js +252 -0
  40. package/dist/cli/users/steps/next.d.ts +3 -0
  41. package/dist/cli/users/steps/next.js +18 -0
  42. package/dist/cli/utils/checkRequiredEnvVars.d.ts +13 -0
  43. package/dist/cli/utils/checkRequiredEnvVars.js +22 -0
  44. package/dist/cli/utils/context.d.ts +21 -0
  45. package/dist/cli/utils/context.js +54 -0
  46. package/dist/cli/utils/dateAdd.d.ts +13 -0
  47. package/dist/cli/utils/dateAdd.js +51 -0
  48. package/dist/cli/utils/debugOpt.d.ts +5 -0
  49. package/dist/cli/utils/debugOpt.js +9 -0
  50. package/dist/cli/utils/effectBoxen.d.ts +41 -0
  51. package/dist/cli/utils/effectBoxen.js +15 -0
  52. package/dist/cli/utils/errors.d.ts +9 -0
  53. package/dist/cli/utils/errors.js +6 -0
  54. package/dist/cli/utils/getCliDbClient.d.ts +127 -0
  55. package/dist/cli/utils/getCliDbClient.js +16 -0
  56. package/dist/cli/utils/intro.d.ts +4 -0
  57. package/dist/cli/utils/intro.js +38 -0
  58. package/dist/cli/utils/loadConfig.d.ts +72 -0
  59. package/dist/cli/utils/loadConfig.js +17 -0
  60. package/dist/cli/utils/logger.d.ts +12 -0
  61. package/dist/cli/utils/logger.js +36 -0
  62. package/dist/cli/utils/studiocmsEnv.d.ts +47 -0
  63. package/dist/cli/utils/studiocmsEnv.js +105 -0
  64. package/dist/cli/utils/types.d.ts +38 -0
  65. package/dist/cli/utils/types.js +11 -0
  66. package/dist/cli/utils/user-utils.d.ts +22 -0
  67. package/dist/cli/utils/user-utils.js +33 -0
  68. package/dist/config.d.ts +28 -3
  69. package/dist/config.js +3 -1
  70. package/dist/consts.d.ts +146 -4
  71. package/dist/consts.js +178 -16
  72. package/dist/db/index.d.ts +166 -0
  73. package/dist/db/index.js +67 -0
  74. package/dist/db/plugins.d.ts +132 -0
  75. package/dist/db/plugins.js +30 -0
  76. package/dist/effect.d.ts +1 -0
  77. package/dist/effect.js +1 -0
  78. package/dist/global.d.ts +9 -0
  79. package/dist/handlers/astroConfigCheck.d.ts +7 -0
  80. package/dist/handlers/astroConfigCheck.js +25 -0
  81. package/dist/handlers/changelog.d.ts +4 -0
  82. package/dist/handlers/changelog.js +54 -0
  83. package/dist/handlers/frontend/routes.d.ts +73 -0
  84. package/dist/handlers/frontend/routes.js +340 -0
  85. package/dist/handlers/frontend/types.d.ts +46 -0
  86. package/dist/handlers/frontend/utils.d.ts +66 -0
  87. package/dist/handlers/frontend/utils.js +134 -0
  88. package/dist/handlers/index.d.ts +4 -0
  89. package/dist/handlers/index.js +10 -0
  90. package/dist/handlers/plugin-components/Recently-created-pages.astro +103 -0
  91. package/dist/handlers/plugin-components/Recently-signed-up.astro +71 -0
  92. package/dist/handlers/plugin-components/Recently-updated-pages.astro +107 -0
  93. package/dist/handlers/plugin-components/Totals.astro +114 -0
  94. package/dist/handlers/plugin-components/utils.js +32 -0
  95. package/dist/handlers/plugin-i18n/de.d.ts +22 -0
  96. package/dist/handlers/plugin-i18n/de.js +25 -0
  97. package/dist/handlers/plugin-i18n/en.d.ts +22 -0
  98. package/dist/handlers/plugin-i18n/en.js +25 -0
  99. package/dist/handlers/plugin-i18n/es.d.ts +22 -0
  100. package/dist/handlers/plugin-i18n/es.js +25 -0
  101. package/dist/handlers/plugin-i18n/fr.d.ts +22 -0
  102. package/dist/handlers/plugin-i18n/fr.js +25 -0
  103. package/dist/handlers/plugin-i18n/nl.d.ts +22 -0
  104. package/dist/handlers/plugin-i18n/nl.js +25 -0
  105. package/dist/handlers/plugin-i18n/no.d.ts +22 -0
  106. package/dist/handlers/plugin-i18n/no.js +25 -0
  107. package/dist/handlers/plugin-i18n/zh.d.ts +22 -0
  108. package/dist/handlers/plugin-i18n/zh.js +25 -0
  109. package/dist/handlers/pluginHandler.d.ts +327 -0
  110. package/dist/handlers/pluginHandler.js +999 -0
  111. package/dist/handlers/routeHandler.d.ts +29 -0
  112. package/dist/handlers/routeHandler.js +19 -0
  113. package/dist/handlers/setupDbStudio.d.ts +1 -0
  114. package/dist/handlers/setupDbStudio.js +15 -0
  115. package/dist/handlers/storage-manager/core/api-core.d.ts +25 -0
  116. package/dist/handlers/storage-manager/core/api-core.js +28 -0
  117. package/dist/handlers/storage-manager/core/astro-context.d.ts +22 -0
  118. package/dist/handlers/storage-manager/core/astro-context.js +80 -0
  119. package/dist/handlers/storage-manager/core/database.d.ts +22 -0
  120. package/dist/handlers/storage-manager/core/database.js +62 -0
  121. package/dist/handlers/storage-manager/core/no-op-storage-manager.d.ts +18 -0
  122. package/dist/handlers/storage-manager/core/no-op-storage-manager.js +20 -0
  123. package/dist/handlers/storage-manager/core/url-mapping.d.ts +43 -0
  124. package/dist/handlers/storage-manager/core/url-mapping.js +84 -0
  125. package/dist/handlers/storage-manager/definitions.d.ts +199 -0
  126. package/dist/handlers/storage-manager/no-op.d.ts +10 -0
  127. package/dist/handlers/storage-manager/no-op.js +19 -0
  128. package/dist/index.d.ts +12 -139
  129. package/dist/index.js +341 -1117
  130. package/dist/integrations/dynamic-sitemap/index.d.ts +50 -0
  131. package/dist/integrations/dynamic-sitemap/index.js +49 -0
  132. package/dist/integrations/dynamic-sitemap/sitemap-index.xml.d.ts +28 -0
  133. package/dist/integrations/dynamic-sitemap/sitemap-index.xml.js +21 -0
  134. package/dist/integrations/node-namespace.d.ts +19 -0
  135. package/dist/integrations/node-namespace.js +35 -0
  136. package/dist/integrations/plugins.d.ts +3 -0
  137. package/dist/integrations/plugins.js +6 -0
  138. package/dist/integrations/robots/core.d.ts +87 -0
  139. package/dist/integrations/robots/core.js +198 -0
  140. package/dist/integrations/robots/index.d.ts +11 -0
  141. package/dist/integrations/robots/index.js +39 -0
  142. package/dist/integrations/robots/schema.d.ts +279 -0
  143. package/dist/integrations/robots/schema.js +215 -0
  144. package/dist/integrations/robots/utils.d.ts +14 -0
  145. package/dist/integrations/robots/utils.js +18 -0
  146. package/dist/oAuthUtils.d.ts +38 -0
  147. package/dist/oAuthUtils.js +17 -0
  148. package/dist/plugins/analytics/assets/consts.d.ts +35 -0
  149. package/dist/plugins/analytics/assets/consts.js +22 -0
  150. package/dist/plugins/analytics/assets/dashboard-grid-items/CoreVitals.astro +66 -0
  151. package/dist/plugins/analytics/assets/dashboard-grid-items/MetricCard.astro +25 -0
  152. package/dist/plugins/analytics/assets/dashboard-grid-items/SummaryCard.astro +56 -0
  153. package/dist/plugins/analytics/assets/dashboard-grid-items/metric.css +103 -0
  154. package/dist/plugins/analytics/assets/dashboard-grid-items/shared.d.ts +36 -0
  155. package/dist/plugins/analytics/assets/dashboard-grid-items/shared.js +35 -0
  156. package/dist/plugins/analytics/assets/pages/analytics/body.astro +187 -0
  157. package/dist/plugins/analytics/assets/utils/buildDataObject.d.ts +15 -0
  158. package/dist/plugins/analytics/assets/utils/checkDate.d.ts +11 -0
  159. package/dist/plugins/analytics/assets/utils/webVitalsUtils.js +234 -0
  160. package/dist/plugins/analytics/assets/webVital.d.ts +30 -0
  161. package/dist/plugins/analytics/assets/webVital.js +53 -0
  162. package/dist/plugins/analytics/assets/webVitalsRouteSummary.d.ts +34 -0
  163. package/dist/plugins/analytics/assets/webVitalsRouteSummary.js +62 -0
  164. package/dist/plugins/analytics/assets/webVitalsSummary.js +49 -0
  165. package/dist/plugins/analytics/client-script.js +28 -0
  166. package/dist/plugins/analytics/consts.d.ts +4 -0
  167. package/dist/plugins/analytics/consts.js +4 -0
  168. package/dist/plugins/analytics/db-client.d.ts +136 -0
  169. package/dist/plugins/analytics/db-client.js +8 -0
  170. package/dist/plugins/analytics/i18n/de.d.ts +24 -0
  171. package/dist/plugins/analytics/i18n/de.js +27 -0
  172. package/dist/plugins/analytics/i18n/en.d.ts +24 -0
  173. package/dist/plugins/analytics/i18n/en.js +27 -0
  174. package/dist/plugins/analytics/i18n/es.d.ts +24 -0
  175. package/dist/plugins/analytics/i18n/es.js +27 -0
  176. package/dist/plugins/analytics/i18n/fr.d.ts +24 -0
  177. package/dist/plugins/analytics/i18n/fr.js +27 -0
  178. package/dist/plugins/analytics/i18n/nl.d.ts +24 -0
  179. package/dist/plugins/analytics/i18n/nl.js +27 -0
  180. package/dist/plugins/analytics/i18n/no.d.ts +24 -0
  181. package/dist/plugins/analytics/i18n/no.js +27 -0
  182. package/dist/plugins/analytics/i18n/zh.d.ts +24 -0
  183. package/dist/plugins/analytics/i18n/zh.js +27 -0
  184. package/dist/plugins/analytics/index.d.ts +11 -0
  185. package/dist/plugins/analytics/index.js +95 -0
  186. package/dist/plugins/analytics/schemas.d.ts +65 -0
  187. package/dist/plugins/analytics/schemas.js +20 -0
  188. package/dist/plugins/analytics/table.d.ts +52 -0
  189. package/dist/plugins/analytics/table.js +32 -0
  190. package/dist/plugins.d.ts +31 -2
  191. package/dist/plugins.js +5 -2
  192. package/dist/runtime/index.d.ts +2 -0
  193. package/dist/runtime/index.js +7 -0
  194. package/dist/schemas/config/auth.d.ts +22 -133
  195. package/dist/schemas/config/auth.js +7 -59
  196. package/dist/schemas/config/dashboard.d.ts +37 -111
  197. package/dist/schemas/config/dashboard.js +4 -49
  198. package/dist/schemas/config/db.d.ts +19 -0
  199. package/dist/schemas/config/db.js +7 -0
  200. package/dist/schemas/config/developer.d.ts +36 -6
  201. package/dist/schemas/config/developer.js +2 -9
  202. package/dist/schemas/config/index.d.ts +431 -1022
  203. package/dist/schemas/config/index.js +50 -84
  204. package/dist/schemas/config/sdk.d.ts +70 -21
  205. package/dist/schemas/config/sdk.js +7 -6
  206. package/dist/schemas/plugins/i18n.d.ts +59 -0
  207. package/dist/schemas/plugins/i18n.js +7 -0
  208. package/dist/schemas/plugins/index.d.ts +5736 -2644
  209. package/dist/schemas/plugins/index.js +236 -123
  210. package/dist/schemas/plugins/shared.d.ts +2311 -274
  211. package/dist/schemas/plugins/shared.js +154 -16
  212. package/dist/storage-api.d.ts +36 -0
  213. package/dist/storage-api.js +50 -0
  214. package/dist/test-utils.d.ts +141 -0
  215. package/dist/test-utils.js +273 -0
  216. package/dist/theme.d.ts +11 -0
  217. package/dist/toolbar/db-viewer/config.d.ts +20 -0
  218. package/dist/toolbar/db-viewer/config.js +25 -0
  219. package/dist/toolbar/db-viewer/db-shared-types.d.ts +11 -0
  220. package/dist/toolbar/db-viewer/index.d.ts +2 -0
  221. package/dist/toolbar/db-viewer/index.js +39 -0
  222. package/dist/toolbar/db-viewer/studio/connection.d.ts +5 -0
  223. package/dist/toolbar/db-viewer/studio/connection.js +32 -0
  224. package/dist/toolbar/db-viewer/studio/drivers/base.d.ts +25 -0
  225. package/dist/toolbar/db-viewer/studio/drivers/base.js +5 -0
  226. package/dist/toolbar/db-viewer/studio/drivers/mysql.d.ts +22 -0
  227. package/dist/toolbar/db-viewer/studio/drivers/mysql.js +211 -0
  228. package/dist/toolbar/db-viewer/studio/drivers/postgres.d.ts +13 -0
  229. package/dist/toolbar/db-viewer/studio/drivers/postgres.js +62 -0
  230. package/dist/toolbar/db-viewer/studio/drivers/sqlite.d.ts +19 -0
  231. package/dist/toolbar/db-viewer/studio/drivers/sqlite.js +107 -0
  232. package/dist/toolbar/db-viewer/studio/index.d.ts +11 -0
  233. package/dist/toolbar/db-viewer/studio/index.js +84 -0
  234. package/dist/toolbar/db-viewer/studio/type.d.ts +32 -0
  235. package/dist/toolbar/db-viewer/viewer.d.ts +10 -0
  236. package/dist/toolbar/db-viewer/viewer.js +79 -0
  237. package/dist/toolbar/utils/app-utils.d.ts +22 -0
  238. package/dist/toolbar/utils/app-utils.js +40 -0
  239. package/dist/types.d.ts +114 -16
  240. package/dist/utils/effects/smtp.d.ts +36 -0
  241. package/dist/utils/effects/smtp.js +72 -0
  242. package/dist/utils/lang-helper.d.ts +37 -0
  243. package/dist/utils/lang-helper.js +60 -0
  244. package/dist/utils/safeString.d.ts +1 -1
  245. package/dist/utils/safeString.js +1 -3
  246. package/dist/utils/stripIconify.d.ts +13 -0
  247. package/dist/utils/stripIconify.js +11 -0
  248. package/dist/utils/tinyMDParser.d.ts +7 -0
  249. package/dist/utils/tinyMDParser.js +9 -0
  250. package/dist/virtual.d.ts +680 -0
  251. package/dist/virtuals/auth/core.d.ts +55 -0
  252. package/dist/virtuals/auth/core.js +45 -0
  253. package/dist/virtuals/auth/getLabelForPermissionLevel.d.ts +5 -0
  254. package/dist/virtuals/auth/index.d.ts +159 -0
  255. package/dist/virtuals/auth/index.js +9 -0
  256. package/dist/virtuals/auth/scripts/three.d.ts +108 -0
  257. package/dist/virtuals/auth/scripts/three.js +484 -0
  258. package/dist/virtuals/auth/scripts/utils/fitModelToViewport.d.ts +10 -0
  259. package/dist/virtuals/auth/scripts/utils/fitModelToViewport.js +26 -0
  260. package/dist/virtuals/auth/types.d.ts +83 -0
  261. package/dist/virtuals/auth/validImages/index.d.ts +13 -0
  262. package/dist/virtuals/auth/validImages/index.js +39 -0
  263. package/dist/virtuals/auth/validImages/studiocms-blobs-dark.webp +0 -0
  264. package/dist/virtuals/auth/validImages/studiocms-blobs-light.webp +0 -0
  265. package/dist/virtuals/auth/validImages/studiocms-blocks-dark.webp +0 -0
  266. package/dist/virtuals/auth/validImages/studiocms-blocks-light.webp +0 -0
  267. package/dist/virtuals/auth/validImages/studiocms-curves-dark.webp +0 -0
  268. package/dist/virtuals/auth/validImages/studiocms-curves-light.webp +0 -0
  269. package/dist/virtuals/auth/verify-email.d.ts +59 -0
  270. package/dist/virtuals/auth/verify-email.js +178 -0
  271. package/dist/virtuals/components/CustomImage.astro +86 -0
  272. package/dist/virtuals/components/FormattedDate.astro +19 -0
  273. package/dist/virtuals/components/Generator.astro +5 -0
  274. package/dist/virtuals/components/Renderer.astro +62 -0
  275. package/dist/virtuals/components/renderFn.d.ts +33 -0
  276. package/dist/virtuals/components/renderFn.js +39 -0
  277. package/dist/virtuals/components/ultrahtml-transformers/storage-api.d.ts +27 -0
  278. package/dist/virtuals/components/ultrahtml-transformers/storage-api.js +37 -0
  279. package/dist/virtuals/i18n/LanguageSelector.astro +65 -0
  280. package/dist/virtuals/i18n/client.d.ts +1026 -0
  281. package/dist/virtuals/i18n/client.js +145 -0
  282. package/dist/virtuals/i18n/config.d.ts +679 -0
  283. package/dist/virtuals/i18n/config.js +31 -0
  284. package/dist/virtuals/i18n/overrides.d.ts +6 -0
  285. package/dist/virtuals/i18n/overrides.js +7 -0
  286. package/dist/virtuals/i18n/plugin.d.ts +37 -0
  287. package/dist/virtuals/i18n/plugin.js +69 -0
  288. package/dist/virtuals/i18n/server.d.ts +141 -0
  289. package/dist/virtuals/i18n/server.js +75 -0
  290. package/dist/virtuals/i18n/translations/de.json +546 -0
  291. package/dist/virtuals/i18n/translations/en.json +546 -0
  292. package/dist/virtuals/i18n/translations/es.json +546 -0
  293. package/dist/virtuals/i18n/translations/fr.json +546 -0
  294. package/dist/virtuals/i18n/translations/hi.json +299 -0
  295. package/dist/virtuals/i18n/translations/nl.json +546 -0
  296. package/dist/virtuals/i18n/translations/no.json +546 -0
  297. package/dist/virtuals/i18n/translations/zh.json +546 -0
  298. package/dist/virtuals/i18n/v-files.d.ts +53 -0
  299. package/dist/virtuals/i18n/v-files.js +54 -0
  300. package/dist/virtuals/lib/head.d.ts +1 -0
  301. package/dist/virtuals/lib/head.js +1 -0
  302. package/dist/virtuals/lib/headDefaults.d.ts +18 -0
  303. package/dist/virtuals/lib/headDefaults.js +77 -0
  304. package/dist/virtuals/lib/makeAPIRoute.d.ts +45 -0
  305. package/dist/virtuals/lib/pathGenerators.d.ts +1 -0
  306. package/dist/virtuals/lib/pathGenerators.js +1 -0
  307. package/dist/virtuals/lib/routeMap.d.ts +289 -0
  308. package/dist/virtuals/lib/routeMap.js +281 -0
  309. package/dist/virtuals/lib/urlGen.d.ts +12 -0
  310. package/dist/virtuals/lib/urlGen.js +6 -0
  311. package/dist/virtuals/mailer/index.d.ts +64 -0
  312. package/dist/virtuals/mailer/index.js +83 -0
  313. package/dist/virtuals/notifier/client.d.ts +4 -0
  314. package/dist/virtuals/notifier/client.js +30 -0
  315. package/dist/virtuals/notifier/index.d.ts +84 -0
  316. package/dist/virtuals/notifier/index.js +182 -0
  317. package/dist/virtuals/plugins/dashboard-pages.d.ts +71 -0
  318. package/dist/virtuals/plugins/frontend-navigation.js +38 -0
  319. package/dist/virtuals/plugins/index.d.ts +2 -0
  320. package/dist/virtuals/plugins/index.js +2 -0
  321. package/dist/virtuals/scripts/StorageFileBrowser.d.ts +165 -0
  322. package/dist/virtuals/scripts/StorageFileBrowser.js +1592 -0
  323. package/dist/virtuals/scripts/user-quick-tools.d.ts +94 -0
  324. package/dist/virtuals/scripts/user-quick-tools.js +667 -0
  325. package/dist/virtuals/sdk/index.d.ts +185 -0
  326. package/dist/virtuals/sdk/index.js +56 -0
  327. package/dist/virtuals/sdk/types.d.ts +4 -0
  328. package/dist/virtuals/sdk/types.js +1 -0
  329. package/dist/virtuals/stubs/config.stub.js +10 -0
  330. package/dist/virtuals/stubs/logger.stub.js +30 -0
  331. package/dist/virtuals/template-engine/default-templates.d.ts +33 -0
  332. package/dist/virtuals/template-engine/default-templates.js +218 -0
  333. package/dist/virtuals/template-engine/index.d.ts +71 -0
  334. package/dist/virtuals/template-engine/index.js +69 -0
  335. package/dist/virtuals/utils.d.ts +71 -0
  336. package/dist/virtuals/utils.js +43 -0
  337. package/frontend/components/Ambients.astro +14 -0
  338. package/frontend/components/auth/FallbackCanvas.astro +124 -0
  339. package/frontend/components/auth/OAuthButton.astro +21 -0
  340. package/frontend/components/auth/OAuthButtonStack.astro +36 -0
  341. package/frontend/components/auth/StaticAuthCheck.astro +25 -0
  342. package/frontend/components/auth/ThreeCanvasLoader.astro +15 -0
  343. package/frontend/components/dashboard/DashboardGrid.astro +57 -0
  344. package/frontend/components/dashboard/DashboardGridItem.astro +48 -0
  345. package/frontend/components/dashboard/DashboardPageHeader.astro +88 -0
  346. package/frontend/components/dashboard/DoubleSidebar.astro +33 -0
  347. package/frontend/components/dashboard/Footer.astro +12 -0
  348. package/frontend/components/dashboard/LoginChecker.astro +68 -0
  349. package/frontend/components/dashboard/MainSidebarContent.astro +342 -0
  350. package/frontend/components/dashboard/PageHeader.astro +52 -0
  351. package/frontend/components/dashboard/SidebarLink.astro +177 -0
  352. package/frontend/components/dashboard/SidebarModals.astro +13 -0
  353. package/frontend/components/dashboard/SidebarPluginLink.astro +43 -0
  354. package/frontend/components/dashboard/SingleSidebar.astro +30 -0
  355. package/frontend/components/dashboard/UserName.astro +10 -0
  356. package/frontend/components/dashboard/configuration/ConfigForm.astro +274 -0
  357. package/frontend/components/dashboard/configuration/LoginPreview.astro +261 -0
  358. package/frontend/components/dashboard/content-mgmt/ContentSearch.astro +270 -0
  359. package/frontend/components/dashboard/content-mgmt/CreateFolder.astro +133 -0
  360. package/frontend/components/dashboard/content-mgmt/CreatePage.astro +565 -0
  361. package/frontend/components/dashboard/content-mgmt/EditFolder.astro +142 -0
  362. package/frontend/components/dashboard/content-mgmt/EditPage.astro +868 -0
  363. package/frontend/components/dashboard/content-mgmt/InnerSidebarElement.astro +183 -0
  364. package/frontend/components/dashboard/content-mgmt/PageEditorSwapper.astro +107 -0
  365. package/frontend/components/dashboard/content-mgmt/PageHeader.astro +494 -0
  366. package/frontend/components/dashboard/content-mgmt/PageTypeHandler.astro +107 -0
  367. package/frontend/components/dashboard/content-mgmt/PluginFields.astro +7 -0
  368. package/frontend/components/dashboard/content-mgmt/runtime.ts +42 -0
  369. package/frontend/components/dashboard/content-mgmt/shared.ts +27 -0
  370. package/frontend/components/dashboard/plugins/SettingsRenderer.astro +7 -0
  371. package/frontend/components/dashboard/profile/APITokens.astro +311 -0
  372. package/frontend/components/dashboard/profile/BasicInfo.astro +191 -0
  373. package/frontend/components/dashboard/profile/Notifications.astro +241 -0
  374. package/frontend/components/dashboard/profile/SocialSignin.astro +190 -0
  375. package/frontend/components/dashboard/profile/UpdatePassword.astro +172 -0
  376. package/frontend/components/dashboard/sidebar/UserAccount.astro +61 -0
  377. package/frontend/components/dashboard/sidebar/VersionCheck.astro +152 -0
  378. package/frontend/components/dashboard/sidebar/VersionCheckChangelog.astro +130 -0
  379. package/frontend/components/dashboard/sidebar-modals/UserManagementModals.astro +108 -0
  380. package/frontend/components/dashboard/sidebar-modals/VersionModal.astro +299 -0
  381. package/frontend/components/dashboard/sidebarConfig.ts +172 -0
  382. package/frontend/components/dashboard/smtp-config/TemplateEditor.astro +494 -0
  383. package/frontend/components/dashboard/taxonomy/InnerSidebarElement.astro +271 -0
  384. package/frontend/components/dashboard/taxonomy/MetaContainer.astro +442 -0
  385. package/frontend/components/dashboard/taxonomy/PageHeader.astro +486 -0
  386. package/frontend/components/dashboard/taxonomy/TaxonomySearch.astro +275 -0
  387. package/frontend/components/dashboard/taxonomy/utils.ts +14 -0
  388. package/frontend/components/dashboard/user-mgmt/InnerSidebarElement.astro +359 -0
  389. package/frontend/components/dashboard/user-mgmt/RankCheck.astro +57 -0
  390. package/frontend/components/dashboard/user-mgmt/SocialSignin.astro +108 -0
  391. package/frontend/components/dashboard/user-mgmt/UserListItem.astro +143 -0
  392. package/frontend/components/first-time-setup/PageHeader.astro +61 -0
  393. package/frontend/components/shared/BaseBody.astro +7 -0
  394. package/frontend/components/shared/BaseHead.astro +35 -0
  395. package/frontend/components/shared/Code.astro +76 -0
  396. package/frontend/components/shared/ComponentRegistryUI.astro +890 -0
  397. package/frontend/components/shared/DynamicSettingsRenderer.astro +33 -0
  398. package/frontend/components/shared/SSRUser.astro +243 -0
  399. package/frontend/components/shared/foldertree/FolderTreeLeaf.astro +287 -0
  400. package/frontend/components/shared/foldertree/FolderTreeNode.astro +497 -0
  401. package/frontend/components/shared/foldertree/FolderTreeNodeTree.astro +43 -0
  402. package/frontend/components/shared/foldertree/FolderTreeRenderer.astro +318 -0
  403. package/frontend/components/shared/foldertree/shared.ts +17 -0
  404. package/frontend/components/shared/oAuthButtonProviders.ts +29 -0
  405. package/frontend/components/shared/storage-manager/BrowserArray.astro +50 -0
  406. package/frontend/components/shared/storage-manager/BrowserCopyOutput.astro +16 -0
  407. package/frontend/components/shared/storage-manager/BrowserInputArray.astro +50 -0
  408. package/frontend/components/shared/storage-manager/StorageCopyOutput.astro +187 -0
  409. package/frontend/components/shared/storage-manager/StorageFileBrowser.astro +72 -0
  410. package/frontend/components/shared/storage-manager/StorageFileBrowser.css +1304 -0
  411. package/frontend/components/shared/storage-manager/StorageInput.astro +43 -0
  412. package/frontend/components/shared/taxonomy/TaxonomyTreeLeaf.astro +306 -0
  413. package/frontend/components/shared/taxonomy/TaxonomyTreeNode.astro +456 -0
  414. package/frontend/components/shared/taxonomy/TaxonomyTreeNodeTree.astro +40 -0
  415. package/frontend/components/shared/taxonomy/TaxonomyTreeRenderer.astro +415 -0
  416. package/frontend/components/shared/taxonomy/shared.ts +101 -0
  417. package/frontend/env.d.ts +3 -0
  418. package/frontend/fonts/css/onest-variable.css +16 -0
  419. package/frontend/fonts/css/syntax.css +40 -0
  420. package/frontend/fonts/woff2/onest-variable.woff2 +0 -0
  421. package/frontend/layouts/AuthLayout.astro +44 -0
  422. package/frontend/layouts/BaseLayout.astro +24 -0
  423. package/frontend/layouts/DashboardLayout.astro +115 -0
  424. package/frontend/layouts/FirstTimeSetupLayout.astro +29 -0
  425. package/frontend/layouts/TaxonomyLayout.astro +153 -0
  426. package/frontend/middleware/error-handler.ts +72 -0
  427. package/frontend/middleware/index.ts +185 -0
  428. package/frontend/middleware/templates/errors.ts +237 -0
  429. package/frontend/middleware/utils.ts +192 -0
  430. package/frontend/pages/404.astro +73 -0
  431. package/frontend/pages/[dashboard]/[...pluginPage].astro +92 -0
  432. package/frontend/pages/[dashboard]/configuration.astro +72 -0
  433. package/frontend/pages/[dashboard]/content-management/createfolder.astro +99 -0
  434. package/frontend/pages/[dashboard]/content-management/createpage.astro +104 -0
  435. package/frontend/pages/[dashboard]/content-management/diff.astro +367 -0
  436. package/frontend/pages/[dashboard]/content-management/editfolder.astro +97 -0
  437. package/frontend/pages/[dashboard]/content-management/editpage.astro +113 -0
  438. package/frontend/pages/[dashboard]/content-management/index.astro +107 -0
  439. package/frontend/pages/[dashboard]/index.astro +61 -0
  440. package/frontend/pages/[dashboard]/login.astro +269 -0
  441. package/frontend/pages/[dashboard]/logout.astro +153 -0
  442. package/frontend/pages/[dashboard]/password-reset.astro +245 -0
  443. package/frontend/pages/[dashboard]/plugins/[plugin].astro +109 -0
  444. package/frontend/pages/[dashboard]/profile.astro +89 -0
  445. package/frontend/pages/[dashboard]/signup.astro +123 -0
  446. package/frontend/pages/[dashboard]/smtp-configuration.astro +756 -0
  447. package/frontend/pages/[dashboard]/system-management.astro +446 -0
  448. package/frontend/pages/[dashboard]/taxonomy/categories.astro +284 -0
  449. package/frontend/pages/[dashboard]/taxonomy/index.astro +36 -0
  450. package/frontend/pages/[dashboard]/taxonomy/shared-client.ts +124 -0
  451. package/frontend/pages/[dashboard]/taxonomy/tags.astro +206 -0
  452. package/frontend/pages/[dashboard]/unverified-email.astro +125 -0
  453. package/frontend/pages/[dashboard]/user-management/edit.astro +692 -0
  454. package/frontend/pages/[dashboard]/user-management/index.astro +108 -0
  455. package/frontend/pages/studiocms_api/auth/[path].ts +390 -0
  456. package/frontend/pages/studiocms_api/auth/[provider]/[...id].ts +64 -0
  457. package/frontend/pages/studiocms_api/auth/[provider]/_effects/index.ts +101 -0
  458. package/frontend/pages/studiocms_api/auth/_shared.ts +52 -0
  459. package/frontend/pages/studiocms_api/dashboard/api-tokens.ts +115 -0
  460. package/frontend/pages/studiocms_api/dashboard/config.ts +74 -0
  461. package/frontend/pages/studiocms_api/dashboard/content/diff.ts +73 -0
  462. package/frontend/pages/studiocms_api/dashboard/content/folder.ts +220 -0
  463. package/frontend/pages/studiocms_api/dashboard/content/page.ts +356 -0
  464. package/frontend/pages/studiocms_api/dashboard/create-reset-link.ts +77 -0
  465. package/frontend/pages/studiocms_api/dashboard/create-user-invite.ts +231 -0
  466. package/frontend/pages/studiocms_api/dashboard/create-user.ts +186 -0
  467. package/frontend/pages/studiocms_api/dashboard/email-notification-settings-site.ts +74 -0
  468. package/frontend/pages/studiocms_api/dashboard/mailer/check-email.ts +75 -0
  469. package/frontend/pages/studiocms_api/dashboard/mailer/config.ts +136 -0
  470. package/frontend/pages/studiocms_api/dashboard/plugins/[plugin].ts +80 -0
  471. package/frontend/pages/studiocms_api/dashboard/profile.ts +245 -0
  472. package/frontend/pages/studiocms_api/dashboard/resend-verify-email.ts +77 -0
  473. package/frontend/pages/studiocms_api/dashboard/reset-password.ts +124 -0
  474. package/frontend/pages/studiocms_api/dashboard/search-list.ts +59 -0
  475. package/frontend/pages/studiocms_api/dashboard/taxonomy-search.ts +47 -0
  476. package/frontend/pages/studiocms_api/dashboard/taxonomy.ts +230 -0
  477. package/frontend/pages/studiocms_api/dashboard/templates.ts +74 -0
  478. package/frontend/pages/studiocms_api/dashboard/update-user-notifications.ts +86 -0
  479. package/frontend/pages/studiocms_api/dashboard/users.ts +236 -0
  480. package/frontend/pages/studiocms_api/dashboard/verify-email.ts +83 -0
  481. package/frontend/pages/studiocms_api/dashboard/verify-session.ts +187 -0
  482. package/frontend/pages/studiocms_api/integrations/[type]/[...id].ts +15 -0
  483. package/frontend/pages/studiocms_api/integrations/[type]/_routes/db-studio.ts +174 -0
  484. package/frontend/pages/studiocms_api/integrations/[type]/_routes/storage.ts +88 -0
  485. package/frontend/pages/studiocms_api/partials/editor.astro +74 -0
  486. package/frontend/pages/studiocms_api/partials/render.astro +39 -0
  487. package/frontend/pages/studiocms_api/partials/user-list-items.astro +43 -0
  488. package/frontend/pages/studiocms_api/rest/utils/auth-token.ts +59 -0
  489. package/frontend/pages/studiocms_api/rest/v1/[type]/[...id].ts +23 -0
  490. package/frontend/pages/studiocms_api/rest/v1/[type]/_routes/categories.ts +267 -0
  491. package/frontend/pages/studiocms_api/rest/v1/[type]/_routes/folders.ts +283 -0
  492. package/frontend/pages/studiocms_api/rest/v1/[type]/_routes/pages.ts +502 -0
  493. package/frontend/pages/studiocms_api/rest/v1/[type]/_routes/settings.ts +100 -0
  494. package/frontend/pages/studiocms_api/rest/v1/[type]/_routes/tags.ts +229 -0
  495. package/frontend/pages/studiocms_api/rest/v1/[type]/_routes/users.ts +553 -0
  496. package/frontend/pages/studiocms_api/rest/v1/public/[type]/[...id].ts +19 -0
  497. package/frontend/pages/studiocms_api/rest/v1/public/[type]/_routes/categories.ts +74 -0
  498. package/frontend/pages/studiocms_api/rest/v1/public/[type]/_routes/folders.ts +85 -0
  499. package/frontend/pages/studiocms_api/rest/v1/public/[type]/_routes/pages.ts +103 -0
  500. package/frontend/pages/studiocms_api/rest/v1/public/[type]/_routes/tags.ts +67 -0
  501. package/frontend/pages/studiocms_api/sdk/[...path].ts +97 -0
  502. package/frontend/pages/studiocms_api/sdk/utils/changelog.ts +119 -0
  503. package/frontend/scripts/auth/formListener.ts +81 -0
  504. package/frontend/scripts/dateTimeListener.ts +28 -0
  505. package/frontend/scripts/dateWithTimeAndZone.ts +45 -0
  506. package/frontend/scripts/formdata-utils.ts +116 -0
  507. package/frontend/scripts/timeAgo.ts +66 -0
  508. package/frontend/setup-pages/1-start.astro +165 -0
  509. package/frontend/setup-pages/2-next.astro +226 -0
  510. package/frontend/setup-pages/3-done.astro +93 -0
  511. package/frontend/setup-pages/index.astro +6 -0
  512. package/frontend/setup-pages/shared.ts +10 -0
  513. package/frontend/setup-pages/studiocms_api/dashboard/step-1.ts +137 -0
  514. package/frontend/setup-pages/studiocms_api/dashboard/step-2.ts +131 -0
  515. package/frontend/styles/404.css +52 -0
  516. package/frontend/styles/auth-layout.css +163 -0
  517. package/frontend/styles/code-component.css +64 -0
  518. package/frontend/styles/dashboard-base.css +542 -0
  519. package/frontend/styles/dashboard-diff.css +375 -0
  520. package/frontend/styles/folder-tree.css +467 -0
  521. package/frontend/utils/build-partial-schema.ts +46 -0
  522. package/frontend/utils/errors.ts +6 -0
  523. package/frontend/utils/param-extractor.ts +83 -0
  524. package/frontend/utils/rest-router.ts +445 -0
  525. package/frontend/web-vitals/endpoint.ts +39 -0
  526. package/frontend/web-vitals/middleware.ts +67 -0
  527. package/package.json +192 -124
  528. package/studiocms-cli.mjs +1 -1
  529. package/ui.d.ts +1311 -289
  530. package/auth.d.ts +0 -405
  531. package/core.d.ts +0 -225
  532. package/custom-renderers/index.ts +0 -4
  533. package/custom-renderers/markdocRenderers/markdocReact-components/MarkDocReactRenderer.tsx +0 -8
  534. package/custom-renderers/markdocRenderers/markdocReact-components/MarkDocReactWrapper.astro +0 -13
  535. package/custom-renderers/markdocRenderers/markdocReact.ts +0 -56
  536. package/dist/cli/cmds/get-turso.js +0 -10
  537. package/dist/cli/cmds/init/index.d.ts +0 -4
  538. package/dist/cli/cmds/init/index.js +0 -52
  539. package/dist/cli/cmds/init/steps/data/studiocmsEnv.d.ts +0 -3
  540. package/dist/cli/cmds/init/steps/data/studiocmsEnv.js +0 -71
  541. package/dist/cli/cmds/init/steps/envBuilder.d.ts +0 -21
  542. package/dist/cli/cmds/init/steps/envBuilder.js +0 -368
  543. package/dist/cli/cmds/init/steps/nextSteps.d.ts +0 -2
  544. package/dist/cli/cmds/init/steps/nextSteps.js +0 -38
  545. package/dist/cli/cmds/init.d.ts +0 -1
  546. package/dist/cli/cmds/init.js +0 -4
  547. package/dist/cli/lib/commander.d.ts +0 -39
  548. package/dist/cli/lib/commander.js +0 -87
  549. package/dist/cli/lib/context.d.ts +0 -28
  550. package/dist/cli/lib/context.js +0 -55
  551. package/dist/cli/lib/pathUtil.d.ts +0 -5
  552. package/dist/cli/lib/pathUtil.js +0 -14
  553. package/dist/cli/lib/runExternal.d.ts +0 -20
  554. package/dist/cli/lib/runExternal.js +0 -40
  555. package/dist/cli/lib/utils.d.ts +0 -55
  556. package/dist/cli/lib/utils.js +0 -310
  557. package/dist/cli/shared/intro.d.ts +0 -2
  558. package/dist/cli/shared/intro.js +0 -24
  559. package/dist/components/DefaultEditor.astro +0 -138
  560. package/dist/components/FormattedDate.astro +0 -12
  561. package/dist/components/Generator.astro +0 -7
  562. package/dist/components/Renderer.astro +0 -13
  563. package/dist/components/auth/OAuthButton.astro +0 -21
  564. package/dist/components/auth/OAuthButtonStack.astro +0 -19
  565. package/dist/components/auth/StaticAuthCheck.astro +0 -20
  566. package/dist/components/auth/oAuthButtonProviders.d.ts +0 -8
  567. package/dist/components/auth/oAuthButtonProviders.js +0 -35
  568. package/dist/components/dashboard/AstroCodeDiffsScript.astro +0 -25
  569. package/dist/components/dashboard/BaseHead.astro +0 -41
  570. package/dist/components/dashboard/Code.astro +0 -23
  571. package/dist/components/dashboard/DashboardPageHeader.astro +0 -60
  572. package/dist/components/dashboard/DoubleSidebar.astro +0 -26
  573. package/dist/components/dashboard/Footer.astro +0 -16
  574. package/dist/components/dashboard/MainSidebarContent.astro +0 -124
  575. package/dist/components/dashboard/PageHeader.astro +0 -52
  576. package/dist/components/dashboard/SidebarLink.astro +0 -61
  577. package/dist/components/dashboard/SidebarModals.astro +0 -6
  578. package/dist/components/dashboard/SidebarPluginLink.astro +0 -45
  579. package/dist/components/dashboard/SingleSidebar.astro +0 -23
  580. package/dist/components/dashboard/component-scripts/TinyMDE.astro +0 -6
  581. package/dist/components/dashboard/component-scripts/dateTimeListener.d.ts +0 -1
  582. package/dist/components/dashboard/component-scripts/dateTimeListener.js +0 -14
  583. package/dist/components/dashboard/component-scripts/dateWithTimeAndZone.d.ts +0 -1
  584. package/dist/components/dashboard/component-scripts/dateWithTimeAndZone.js +0 -12
  585. package/dist/components/dashboard/component-scripts/makeClientRoutable.d.ts +0 -1
  586. package/dist/components/dashboard/component-scripts/makeClientRoutable.js +0 -9
  587. package/dist/components/dashboard/component-scripts/timeAgo.d.ts +0 -1
  588. package/dist/components/dashboard/component-scripts/timeAgo.js +0 -21
  589. package/dist/components/dashboard/islands/LoginChecker.astro +0 -52
  590. package/dist/components/dashboard/islands/configuration/ConfigForm.astro +0 -272
  591. package/dist/components/dashboard/islands/configuration/LightVsDark.astro +0 -67
  592. package/dist/components/dashboard/islands/content-mgmt/CreateFolder.astro +0 -91
  593. package/dist/components/dashboard/islands/content-mgmt/CreatePage.astro +0 -332
  594. package/dist/components/dashboard/islands/content-mgmt/EditFolder.astro +0 -112
  595. package/dist/components/dashboard/islands/content-mgmt/EditPage.astro +0 -388
  596. package/dist/components/dashboard/islands/content-mgmt/InnerSidebarElement.astro +0 -230
  597. package/dist/components/dashboard/islands/content-mgmt/PageHeader.astro +0 -387
  598. package/dist/components/dashboard/islands/content-mgmt/PageList.astro +0 -49
  599. package/dist/components/dashboard/islands/content-mgmt/PluginFields.astro +0 -29
  600. package/dist/components/dashboard/islands/content-mgmt/TreeRenderer.astro +0 -75
  601. package/dist/components/dashboard/islands/content-mgmt/TreeSidebarFolder.astro +0 -53
  602. package/dist/components/dashboard/islands/content-mgmt/TreeSidebarLink.astro +0 -51
  603. package/dist/components/dashboard/islands/content-mgmt/runtime.d.ts +0 -10
  604. package/dist/components/dashboard/islands/content-mgmt/runtime.js +0 -33
  605. package/dist/components/dashboard/islands/content-mgmt/shared.d.ts +0 -27
  606. package/dist/components/dashboard/islands/content-mgmt/shared.js +0 -31
  607. package/dist/components/dashboard/islands/dashboard/DashboardGrid.astro +0 -39
  608. package/dist/components/dashboard/islands/dashboard/DashboardGridItem.astro +0 -34
  609. package/dist/components/dashboard/islands/dashboard/Test.astro +0 -5
  610. package/dist/components/dashboard/islands/dashboard/UserName.astro +0 -6
  611. package/dist/components/dashboard/islands/dashboard/shared.d.ts +0 -2
  612. package/dist/components/dashboard/islands/plugins/SettingsRenderer.astro +0 -29
  613. package/dist/components/dashboard/islands/profile/APITokens.astro +0 -267
  614. package/dist/components/dashboard/islands/profile/BasicInfo.astro +0 -107
  615. package/dist/components/dashboard/islands/profile/BasicInfoFallback.astro +0 -43
  616. package/dist/components/dashboard/islands/profile/SocialSignin.astro +0 -151
  617. package/dist/components/dashboard/islands/profile/SocialSigninFallback.astro +0 -83
  618. package/dist/components/dashboard/islands/profile/UpdatePassword.astro +0 -137
  619. package/dist/components/dashboard/islands/profile/UpdatePasswordFallback.astro +0 -47
  620. package/dist/components/dashboard/islands/profile/oAuthButtonProviders.d.ts +0 -8
  621. package/dist/components/dashboard/islands/profile/oAuthButtonProviders.js +0 -35
  622. package/dist/components/dashboard/islands/sidebar/Admin.astro +0 -103
  623. package/dist/components/dashboard/islands/sidebar/Editor.astro +0 -18
  624. package/dist/components/dashboard/islands/sidebar/UserAccount.astro +0 -23
  625. package/dist/components/dashboard/islands/sidebar/VersionCheck.astro +0 -127
  626. package/dist/components/dashboard/islands/sidebar/VersionCheckChangelog.astro +0 -107
  627. package/dist/components/dashboard/islands/user-mgmt/InnerSidebarElement.astro +0 -298
  628. package/dist/components/dashboard/islands/user-mgmt/RankCheck.astro +0 -49
  629. package/dist/components/dashboard/islands/user-mgmt/SocialSignin.astro +0 -88
  630. package/dist/components/dashboard/islands/user-mgmt/UserListItem.astro +0 -60
  631. package/dist/components/dashboard/sidebar-modals/UserManagementModals.astro +0 -103
  632. package/dist/components/dashboard/sidebar-modals/VersionModal.astro +0 -267
  633. package/dist/components/dashboard/sidebarConfig.d.ts +0 -31
  634. package/dist/components/dashboard/sidebarConfig.js +0 -90
  635. package/dist/components/default-grid-items/Recently-created-pages.astro +0 -91
  636. package/dist/components/default-grid-items/Recently-signed-up.astro +0 -71
  637. package/dist/components/default-grid-items/Recently-updated-pages.astro +0 -96
  638. package/dist/components/default-grid-items/Totals.astro +0 -107
  639. package/dist/components/default-grid-items/utils.js +0 -26
  640. package/dist/components/image/CustomImage.astro +0 -90
  641. package/dist/components/user-quick-tools.d.ts +0 -42
  642. package/dist/components/user-quick-tools.js +0 -312
  643. package/dist/db/config.d.ts +0 -4
  644. package/dist/db/config.js +0 -6
  645. package/dist/db/tables.js +0 -168
  646. package/dist/layouts/auth/AuthLayout.astro +0 -74
  647. package/dist/layouts/auth/FallbackCanvas.astro +0 -123
  648. package/dist/layouts/auth/ThemeManager.astro +0 -53
  649. package/dist/layouts/auth/ThreeCanvasLoader.astro +0 -18
  650. package/dist/layouts/dashboard/Layout.astro +0 -64
  651. package/dist/lib/auth/encryption.d.ts +0 -30
  652. package/dist/lib/auth/encryption.js +0 -39
  653. package/dist/lib/auth/password.d.ts +0 -27
  654. package/dist/lib/auth/password.js +0 -42
  655. package/dist/lib/auth/rate-limit.d.ts +0 -136
  656. package/dist/lib/auth/rate-limit.js +0 -214
  657. package/dist/lib/auth/session.d.ts +0 -85
  658. package/dist/lib/auth/session.js +0 -93
  659. package/dist/lib/auth/types.d.ts +0 -83
  660. package/dist/lib/auth/user.d.ts +0 -148
  661. package/dist/lib/auth/user.js +0 -133
  662. package/dist/lib/dashboardGrid.d.ts +0 -119
  663. package/dist/lib/dynamic-sitemap/index.d.ts +0 -42
  664. package/dist/lib/dynamic-sitemap/index.js +0 -45
  665. package/dist/lib/dynamic-sitemap/sitemap-index.xml.d.ts +0 -8
  666. package/dist/lib/dynamic-sitemap/sitemap-index.xml.js +0 -20
  667. package/dist/lib/dynamic-sitemap/sitemap-index.xml.ts +0 -45
  668. package/dist/lib/head.d.ts +0 -9
  669. package/dist/lib/head.js +0 -65
  670. package/dist/lib/headDefaults.d.ts +0 -18
  671. package/dist/lib/headDefaults.js +0 -75
  672. package/dist/lib/i18n/LanguageSelector.astro +0 -103
  673. package/dist/lib/i18n/config.d.ts +0 -16
  674. package/dist/lib/i18n/config.js +0 -8
  675. package/dist/lib/i18n/index.d.ts +0 -228
  676. package/dist/lib/i18n/index.js +0 -63
  677. package/dist/lib/i18n/translations/de.json +0 -63
  678. package/dist/lib/i18n/translations/en-us.json +0 -63
  679. package/dist/lib/i18n/translations/es.json +0 -63
  680. package/dist/lib/i18n/translations/fr.json +0 -63
  681. package/dist/lib/index.d.ts +0 -7
  682. package/dist/lib/index.js +0 -7
  683. package/dist/lib/jsonUtils.d.ts +0 -2
  684. package/dist/lib/jsonUtils.js +0 -11
  685. package/dist/lib/makeAPIRoute.d.ts +0 -45
  686. package/dist/lib/pathGenerators.d.ts +0 -20
  687. package/dist/lib/pathGenerators.js +0 -66
  688. package/dist/lib/plugins/dashboard-pages.d.ts +0 -71
  689. package/dist/lib/plugins/frontend-navigation.js +0 -39
  690. package/dist/lib/plugins/index.d.ts +0 -2
  691. package/dist/lib/plugins/index.js +0 -2
  692. package/dist/lib/removeLeadingTrailingSlashes.d.ts +0 -7
  693. package/dist/lib/removeLeadingTrailingSlashes.js +0 -13
  694. package/dist/lib/renderer/astro-remark.d.ts +0 -13
  695. package/dist/lib/renderer/astro-remark.js +0 -11
  696. package/dist/lib/renderer/contentRenderer.d.ts +0 -13
  697. package/dist/lib/renderer/contentRenderer.js +0 -31
  698. package/dist/lib/renderer/errors.d.ts +0 -5
  699. package/dist/lib/renderer/errors.js +0 -25
  700. package/dist/lib/renderer/markdoc-renderers/markdocHTML.d.ts +0 -3
  701. package/dist/lib/renderer/markdoc-renderers/markdocHTML.js +0 -14
  702. package/dist/lib/renderer/markdoc-renderers/markdocReactStatic.d.ts +0 -3
  703. package/dist/lib/renderer/markdoc-renderers/markdocReactStatic.js +0 -14
  704. package/dist/lib/renderer/markdoc.d.ts +0 -11
  705. package/dist/lib/renderer/markdoc.js +0 -28
  706. package/dist/lib/renderer/mdx.d.ts +0 -10
  707. package/dist/lib/renderer/mdx.js +0 -37
  708. package/dist/lib/renderer/runtime.d.ts +0 -8
  709. package/dist/lib/renderer/runtime.js +0 -30
  710. package/dist/lib/renderer/shared.d.ts +0 -15
  711. package/dist/lib/renderer/shared.js +0 -13
  712. package/dist/lib/renderer/studiocms.d.ts +0 -11
  713. package/dist/lib/renderer/studiocms.js +0 -22
  714. package/dist/lib/renderer/types.d.ts +0 -12
  715. package/dist/lib/robots/core.d.ts +0 -24
  716. package/dist/lib/robots/core.js +0 -187
  717. package/dist/lib/robots/index.d.ts +0 -11
  718. package/dist/lib/robots/index.js +0 -47
  719. package/dist/lib/robots/types.d.ts +0 -185
  720. package/dist/lib/robots/utils.d.ts +0 -22
  721. package/dist/lib/robots/utils.js +0 -22
  722. package/dist/lib/routeMap.d.ts +0 -257
  723. package/dist/lib/routeMap.js +0 -249
  724. package/dist/lib/urlGen.d.ts +0 -11
  725. package/dist/lib/urlGen.js +0 -26
  726. package/dist/lib/webVitals/checkForWebVitalsPlugin.d.ts +0 -18
  727. package/dist/lib/webVitals/checkForWebVitalsPlugin.js +0 -82
  728. package/dist/lib/webVitals/consts.d.ts +0 -240
  729. package/dist/lib/webVitals/consts.js +0 -40
  730. package/dist/lib/webVitals/dashboard-grid-items/CoreVitals.astro +0 -66
  731. package/dist/lib/webVitals/dashboard-grid-items/MetricCard.astro +0 -24
  732. package/dist/lib/webVitals/dashboard-grid-items/SummaryCard.astro +0 -56
  733. package/dist/lib/webVitals/dashboard-grid-items/metric.css +0 -103
  734. package/dist/lib/webVitals/dashboard-grid-items/shared.d.ts +0 -29
  735. package/dist/lib/webVitals/dashboard-grid-items/shared.js +0 -35
  736. package/dist/lib/webVitals/pages/analytics/body.astro +0 -186
  737. package/dist/lib/webVitals/utils/buildDataObject.d.ts +0 -8
  738. package/dist/lib/webVitals/utils/checkDate.d.ts +0 -5
  739. package/dist/lib/webVitals/utils/webVitalsUtils.js +0 -234
  740. package/dist/lib/webVitals/webVital.d.ts +0 -20
  741. package/dist/lib/webVitals/webVital.js +0 -40
  742. package/dist/lib/webVitals/webVitalsRouteSummary.d.ts +0 -19
  743. package/dist/lib/webVitals/webVitalsRouteSummary.js +0 -59
  744. package/dist/lib/webVitals/webVitalsSummary.js +0 -49
  745. package/dist/routes/api/render.astro +0 -25
  746. package/dist/routes/auth/api/auth0/callback.d.ts +0 -4
  747. package/dist/routes/auth/api/auth0/callback.js +0 -117
  748. package/dist/routes/auth/api/auth0/index.d.ts +0 -4
  749. package/dist/routes/auth/api/auth0/index.js +0 -36
  750. package/dist/routes/auth/api/auth0/shared.d.ts +0 -13
  751. package/dist/routes/auth/api/auth0/shared.js +0 -24
  752. package/dist/routes/auth/api/discord/callback.d.ts +0 -4
  753. package/dist/routes/auth/api/discord/callback.js +0 -112
  754. package/dist/routes/auth/api/discord/index.d.ts +0 -4
  755. package/dist/routes/auth/api/discord/index.js +0 -36
  756. package/dist/routes/auth/api/discord/shared.d.ts +0 -12
  757. package/dist/routes/auth/api/discord/shared.js +0 -17
  758. package/dist/routes/auth/api/github/callback.d.ts +0 -4
  759. package/dist/routes/auth/api/github/callback.js +0 -112
  760. package/dist/routes/auth/api/github/index.d.ts +0 -4
  761. package/dist/routes/auth/api/github/index.js +0 -36
  762. package/dist/routes/auth/api/github/shared.d.ts +0 -13
  763. package/dist/routes/auth/api/github/shared.js +0 -14
  764. package/dist/routes/auth/api/google/callback.d.ts +0 -4
  765. package/dist/routes/auth/api/google/callback.js +0 -115
  766. package/dist/routes/auth/api/google/index.d.ts +0 -4
  767. package/dist/routes/auth/api/google/index.js +0 -38
  768. package/dist/routes/auth/api/google/shared.d.ts +0 -12
  769. package/dist/routes/auth/api/google/shared.js +0 -19
  770. package/dist/routes/auth/api/login.d.ts +0 -4
  771. package/dist/routes/auth/api/login.js +0 -46
  772. package/dist/routes/auth/api/logout.d.ts +0 -5
  773. package/dist/routes/auth/api/logout.js +0 -55
  774. package/dist/routes/auth/api/register.d.ts +0 -4
  775. package/dist/routes/auth/api/register.js +0 -64
  776. package/dist/routes/auth/api/shared.d.ts +0 -2
  777. package/dist/routes/auth/api/shared.js +0 -21
  778. package/dist/routes/auth/login.astro +0 -67
  779. package/dist/routes/auth/logout.astro +0 -28
  780. package/dist/routes/auth/signup.astro +0 -70
  781. package/dist/routes/dashboard/[...pluginPage].astro +0 -88
  782. package/dist/routes/dashboard/configuration.astro +0 -27
  783. package/dist/routes/dashboard/content-management/createfolder.astro +0 -56
  784. package/dist/routes/dashboard/content-management/createpage.astro +0 -59
  785. package/dist/routes/dashboard/content-management/diff.astro +0 -100
  786. package/dist/routes/dashboard/content-management/editfolder.astro +0 -40
  787. package/dist/routes/dashboard/content-management/editpage.astro +0 -44
  788. package/dist/routes/dashboard/content-management/index.astro +0 -57
  789. package/dist/routes/dashboard/index.astro +0 -24
  790. package/dist/routes/dashboard/password-reset.astro +0 -169
  791. package/dist/routes/dashboard/plugins/[plugin].astro +0 -60
  792. package/dist/routes/dashboard/profile.astro +0 -57
  793. package/dist/routes/dashboard/studiocms_api/dashboard/api-tokens.d.ts +0 -5
  794. package/dist/routes/dashboard/studiocms_api/dashboard/api-tokens.js +0 -90
  795. package/dist/routes/dashboard/studiocms_api/dashboard/config.d.ts +0 -4
  796. package/dist/routes/dashboard/studiocms_api/dashboard/config.js +0 -63
  797. package/dist/routes/dashboard/studiocms_api/dashboard/content/folder.d.ts +0 -6
  798. package/dist/routes/dashboard/studiocms_api/dashboard/content/folder.js +0 -121
  799. package/dist/routes/dashboard/studiocms_api/dashboard/content/page.d.ts +0 -6
  800. package/dist/routes/dashboard/studiocms_api/dashboard/content/page.js +0 -257
  801. package/dist/routes/dashboard/studiocms_api/dashboard/create-reset-link.d.ts +0 -4
  802. package/dist/routes/dashboard/studiocms_api/dashboard/create-reset-link.js +0 -59
  803. package/dist/routes/dashboard/studiocms_api/dashboard/create-user-invite.d.ts +0 -4
  804. package/dist/routes/dashboard/studiocms_api/dashboard/create-user-invite.js +0 -105
  805. package/dist/routes/dashboard/studiocms_api/dashboard/create-user.d.ts +0 -4
  806. package/dist/routes/dashboard/studiocms_api/dashboard/create-user.js +0 -100
  807. package/dist/routes/dashboard/studiocms_api/dashboard/partials/Editor.astro +0 -61
  808. package/dist/routes/dashboard/studiocms_api/dashboard/partials/LiveRender.astro +0 -30
  809. package/dist/routes/dashboard/studiocms_api/dashboard/partials/UserListItems.astro +0 -39
  810. package/dist/routes/dashboard/studiocms_api/dashboard/plugins/[plugin].d.ts +0 -2
  811. package/dist/routes/dashboard/studiocms_api/dashboard/plugins/[plugin].js +0 -32
  812. package/dist/routes/dashboard/studiocms_api/dashboard/profile.d.ts +0 -4
  813. package/dist/routes/dashboard/studiocms_api/dashboard/profile.js +0 -130
  814. package/dist/routes/dashboard/studiocms_api/dashboard/reset-password.d.ts +0 -4
  815. package/dist/routes/dashboard/studiocms_api/dashboard/reset-password.js +0 -105
  816. package/dist/routes/dashboard/studiocms_api/dashboard/search-list.d.ts +0 -4
  817. package/dist/routes/dashboard/studiocms_api/dashboard/search-list.js +0 -55
  818. package/dist/routes/dashboard/studiocms_api/dashboard/users.d.ts +0 -5
  819. package/dist/routes/dashboard/studiocms_api/dashboard/users.js +0 -92
  820. package/dist/routes/dashboard/studiocms_api/dashboard/verify-session.d.ts +0 -2
  821. package/dist/routes/dashboard/studiocms_api/dashboard/verify-session.js +0 -72
  822. package/dist/routes/dashboard/user-management/edit.astro +0 -593
  823. package/dist/routes/dashboard/user-management/index.astro +0 -67
  824. package/dist/routes/error-pages/404.astro +0 -35
  825. package/dist/routes/firstTimeSetupRoutes/1-start.astro +0 -253
  826. package/dist/routes/firstTimeSetupRoutes/2-next.astro +0 -208
  827. package/dist/routes/firstTimeSetupRoutes/3-done.astro +0 -95
  828. package/dist/routes/firstTimeSetupRoutes/api/step-1.d.ts +0 -2
  829. package/dist/routes/firstTimeSetupRoutes/api/step-1.js +0 -126
  830. package/dist/routes/firstTimeSetupRoutes/api/step-2.d.ts +0 -2
  831. package/dist/routes/firstTimeSetupRoutes/api/step-2.js +0 -110
  832. package/dist/routes/firstTimeSetupRoutes/components/Layout.astro +0 -41
  833. package/dist/routes/firstTimeSetupRoutes/components/PageHeader.astro +0 -60
  834. package/dist/routes/firstTimeSetupRoutes/components/TabItem.astro +0 -44
  835. package/dist/routes/firstTimeSetupRoutes/components/Tabs.astro +0 -170
  836. package/dist/routes/rest/utils/auth-token.d.ts +0 -17
  837. package/dist/routes/rest/utils/auth-token.js +0 -31
  838. package/dist/routes/rest/v1/folders/[id].d.ts +0 -6
  839. package/dist/routes/rest/v1/folders/[id].js +0 -106
  840. package/dist/routes/rest/v1/folders/index.d.ts +0 -5
  841. package/dist/routes/rest/v1/folders/index.js +0 -88
  842. package/dist/routes/rest/v1/pages/[id]/history/[diffid].d.ts +0 -4
  843. package/dist/routes/rest/v1/pages/[id]/history/[diffid].js +0 -55
  844. package/dist/routes/rest/v1/pages/[id]/history/index.d.ts +0 -4
  845. package/dist/routes/rest/v1/pages/[id]/history/index.js +0 -61
  846. package/dist/routes/rest/v1/pages/[id]/index.d.ts +0 -6
  847. package/dist/routes/rest/v1/pages/[id]/index.js +0 -165
  848. package/dist/routes/rest/v1/pages/index.d.ts +0 -5
  849. package/dist/routes/rest/v1/pages/index.js +0 -113
  850. package/dist/routes/rest/v1/public/folders/[id].d.ts +0 -4
  851. package/dist/routes/rest/v1/public/folders/[id].js +0 -43
  852. package/dist/routes/rest/v1/public/folders/index.d.ts +0 -4
  853. package/dist/routes/rest/v1/public/folders/index.js +0 -49
  854. package/dist/routes/rest/v1/public/pages/[id].d.ts +0 -4
  855. package/dist/routes/rest/v1/public/pages/[id].js +0 -46
  856. package/dist/routes/rest/v1/public/pages/index.d.ts +0 -4
  857. package/dist/routes/rest/v1/public/pages/index.js +0 -61
  858. package/dist/routes/rest/v1/settings/index.d.ts +0 -5
  859. package/dist/routes/rest/v1/settings/index.js +0 -75
  860. package/dist/routes/rest/v1/users/[id].d.ts +0 -6
  861. package/dist/routes/rest/v1/users/[id].js +0 -212
  862. package/dist/routes/rest/v1/users/index.d.ts +0 -5
  863. package/dist/routes/rest/v1/users/index.js +0 -138
  864. package/dist/routes/sdk/fallback-list-pages.json.d.ts +0 -2
  865. package/dist/routes/sdk/fallback-list-pages.json.js +0 -19
  866. package/dist/routes/sdk/fallback-list-pages.json.ts +0 -22
  867. package/dist/routes/sdk/full-changelog.json.d.ts +0 -16
  868. package/dist/routes/sdk/full-changelog.json.js +0 -170
  869. package/dist/routes/sdk/full-changelog.json.ts +0 -224
  870. package/dist/routes/sdk/list-pages.d.ts +0 -4
  871. package/dist/routes/sdk/list-pages.js +0 -34
  872. package/dist/routes/sdk/update-latest-version-cache.d.ts +0 -4
  873. package/dist/routes/sdk/update-latest-version-cache.js +0 -41
  874. package/dist/runtime/AstroComponentProxy.d.ts +0 -29
  875. package/dist/runtime/AstroComponentProxy.js +0 -47
  876. package/dist/runtime/decoder/decode-codepoint.d.ts +0 -18
  877. package/dist/runtime/decoder/decode-codepoint.js +0 -58
  878. package/dist/runtime/decoder/decode-data-html.d.ts +0 -1
  879. package/dist/runtime/decoder/decode-data-html.js +0 -7
  880. package/dist/runtime/decoder/decode-data-xml.d.ts +0 -1
  881. package/dist/runtime/decoder/decode-data-xml.js +0 -7
  882. package/dist/runtime/decoder/index.d.ts +0 -34
  883. package/dist/runtime/decoder/index.js +0 -18
  884. package/dist/runtime/decoder/util.d.ts +0 -208
  885. package/dist/runtime/decoder/util.js +0 -415
  886. package/dist/schemas/config/componentoverrides.d.ts +0 -17
  887. package/dist/schemas/config/componentoverrides.js +0 -14
  888. package/dist/schemas/config/defaultFrontend.d.ts +0 -125
  889. package/dist/schemas/config/defaultFrontend.js +0 -57
  890. package/dist/schemas/config/imageService.d.ts +0 -13
  891. package/dist/schemas/config/imageService.js +0 -12
  892. package/dist/schemas/config/integrations.d.ts +0 -14
  893. package/dist/schemas/config/integrations.js +0 -12
  894. package/dist/schemas/config/markdoc.d.ts +0 -172
  895. package/dist/schemas/config/markdoc.js +0 -68
  896. package/dist/schemas/config/mdx.d.ts +0 -455
  897. package/dist/schemas/config/mdx.js +0 -71
  898. package/dist/schemas/config/rendererConfig.d.ts +0 -659
  899. package/dist/schemas/config/rendererConfig.js +0 -51
  900. package/dist/schemas/config/studiocms-markdown-remark.d.ts +0 -292
  901. package/dist/schemas/config/studiocms-markdown-remark.js +0 -63
  902. package/dist/scripts/formListener.d.ts +0 -16
  903. package/dist/scripts/formListener.js +0 -46
  904. package/dist/scripts/three.d.ts +0 -1
  905. package/dist/scripts/three.js +0 -278
  906. package/dist/scripts/utils/fitModelToViewport.d.ts +0 -8
  907. package/dist/scripts/utils/fitModelToViewport.js +0 -19
  908. package/dist/sdk/StudioCMSVirtualCache.d.ts +0 -283
  909. package/dist/sdk/StudioCMSVirtualCache.js +0 -685
  910. package/dist/sdk/cache.d.ts +0 -11
  911. package/dist/sdk/cache.js +0 -12
  912. package/dist/sdk/core.d.ts +0 -865
  913. package/dist/sdk/core.js +0 -1966
  914. package/dist/sdk/errors.d.ts +0 -21
  915. package/dist/sdk/errors.js +0 -11
  916. package/dist/sdk/index.d.ts +0 -371
  917. package/dist/sdk/index.js +0 -8
  918. package/dist/sdk/lib/foldertree.d.ts +0 -50
  919. package/dist/sdk/lib/foldertree.js +0 -123
  920. package/dist/sdk/lib/generators.d.ts +0 -30
  921. package/dist/sdk/lib/generators.js +0 -25
  922. package/dist/sdk/lib/packages.d.ts +0 -8
  923. package/dist/sdk/lib/packages.js +0 -14
  924. package/dist/sdk/lib/parsers.d.ts +0 -14
  925. package/dist/sdk/lib/parsers.js +0 -10
  926. package/dist/sdk/lib/users.d.ts +0 -19
  927. package/dist/sdk/lib/users.js +0 -26
  928. package/dist/sdk/tables.d.ts +0 -1198
  929. package/dist/sdk/tables.js +0 -55
  930. package/dist/sdk/types/index.d.ts +0 -175
  931. package/dist/sdk/types/index.js +0 -0
  932. package/dist/sdk/types/tableDefs.d.ts +0 -75
  933. package/dist/sdk/types/tableDefs.js +0 -0
  934. package/dist/sdk/types/tsAlias.d.ts +0 -155
  935. package/dist/sdk/types/tsAlias.js +0 -0
  936. package/dist/sdk/utils/db.d.ts +0 -5
  937. package/dist/sdk/utils/db.js +0 -15
  938. package/dist/stubs/auth-lib.d.ts +0 -2
  939. package/dist/stubs/auth-lib.js +0 -519
  940. package/dist/stubs/auth-scripts.d.ts +0 -2
  941. package/dist/stubs/auth-scripts.js +0 -29
  942. package/dist/stubs/auth-utils.d.ts +0 -2
  943. package/dist/stubs/auth-utils.js +0 -36
  944. package/dist/stubs/changelog.d.ts +0 -2
  945. package/dist/stubs/changelog.js +0 -16
  946. package/dist/stubs/components.d.ts +0 -2
  947. package/dist/stubs/components.js +0 -67
  948. package/dist/stubs/core.d.ts +0 -2
  949. package/dist/stubs/core.js +0 -49
  950. package/dist/stubs/i18n-dts.d.ts +0 -2
  951. package/dist/stubs/i18n-dts.js +0 -117
  952. package/dist/stubs/images.d.ts +0 -1
  953. package/dist/stubs/images.js +0 -30
  954. package/dist/stubs/index.d.ts +0 -1
  955. package/dist/stubs/index.js +0 -40
  956. package/dist/stubs/lib.d.ts +0 -2
  957. package/dist/stubs/lib.js +0 -123
  958. package/dist/stubs/plugins.d.ts +0 -2
  959. package/dist/stubs/plugins.js +0 -60
  960. package/dist/stubs/proxy.d.ts +0 -2
  961. package/dist/stubs/proxy.js +0 -40
  962. package/dist/stubs/renderer-config.d.ts +0 -2
  963. package/dist/stubs/renderer-config.js +0 -18
  964. package/dist/stubs/renderer-markdownConfig.d.ts +0 -2
  965. package/dist/stubs/renderer-markdownConfig.js +0 -17
  966. package/dist/stubs/renderer.d.ts +0 -2
  967. package/dist/stubs/renderer.js +0 -44
  968. package/dist/stubs/sdk.d.ts +0 -2
  969. package/dist/stubs/sdk.js +0 -202
  970. package/dist/stubs/webVitals.d.ts +0 -2
  971. package/dist/stubs/webVitals.js +0 -40
  972. package/dist/styles/404.css +0 -47
  973. package/dist/styles/authlayout.css +0 -138
  974. package/dist/styles/dashboard-base.css +0 -493
  975. package/dist/styles/dashboard-code.css +0 -33
  976. package/dist/styles/dashboard-diff.css +0 -389
  977. package/dist/styles/dashboard-tiny-mde.css +0 -224
  978. package/dist/styles/md-remark-callouts/github.css +0 -56
  979. package/dist/styles/md-remark-callouts/obsidian.css +0 -66
  980. package/dist/styles/md-remark-callouts/vitepress.css +0 -58
  981. package/dist/styles/md-remark-headings.css +0 -48
  982. package/dist/utils/addAPIRoutes.d.ts +0 -9
  983. package/dist/utils/addAPIRoutes.js +0 -33
  984. package/dist/utils/addIntegrationArray.d.ts +0 -24
  985. package/dist/utils/addIntegrationArray.js +0 -11
  986. package/dist/utils/addIntegrationArrayWithCheck.d.ts +0 -11
  987. package/dist/utils/addIntegrationArrayWithCheck.js +0 -24
  988. package/dist/utils/astroConfigCheck.d.ts +0 -8
  989. package/dist/utils/astroConfigCheck.js +0 -31
  990. package/dist/utils/astroEnvConfig.d.ts +0 -45
  991. package/dist/utils/astroEnvConfig.js +0 -9
  992. package/dist/utils/authEnvCheck.d.ts +0 -38
  993. package/dist/utils/authEnvCheck.js +0 -82
  994. package/dist/utils/changelog.d.ts +0 -1
  995. package/dist/utils/changelog.js +0 -53
  996. package/dist/utils/changelogLoader.d.ts +0 -15
  997. package/dist/utils/changelogLoader.js +0 -104
  998. package/dist/utils/checkENV.d.ts +0 -27
  999. package/dist/utils/checkENV.js +0 -115
  1000. package/dist/utils/configManager.d.ts +0 -22
  1001. package/dist/utils/configManager.js +0 -98
  1002. package/dist/utils/configResolver.d.ts +0 -283
  1003. package/dist/utils/configResolver.js +0 -105
  1004. package/dist/utils/defineStudioCMSConfig.d.ts +0 -165
  1005. package/dist/utils/defineStudioCMSConfig.js +0 -6
  1006. package/dist/utils/getLabelForPermissionLevel.d.ts +0 -2
  1007. package/dist/utils/injectRouteArray.d.ts +0 -19
  1008. package/dist/utils/injectRouteArray.js +0 -75
  1009. package/dist/utils/integrationLogger.d.ts +0 -7
  1010. package/dist/utils/integrationLogger.js +0 -18
  1011. package/dist/utils/integrations.d.ts +0 -4
  1012. package/dist/utils/integrations.js +0 -32
  1013. package/dist/utils/isDashboardRoute.d.ts +0 -7
  1014. package/dist/utils/isDashboardRoute.js +0 -10
  1015. package/dist/utils/loginBackgrounds/studiocms-blobs-dark.png +0 -0
  1016. package/dist/utils/loginBackgrounds/studiocms-blobs-light.png +0 -0
  1017. package/dist/utils/loginBackgrounds/studiocms-blocks-dark.png +0 -0
  1018. package/dist/utils/loginBackgrounds/studiocms-blocks-light.png +0 -0
  1019. package/dist/utils/loginBackgrounds/studiocms-curves-dark.png +0 -0
  1020. package/dist/utils/loginBackgrounds/studiocms-curves-light.png +0 -0
  1021. package/dist/utils/makePageTitle.d.ts +0 -3
  1022. package/dist/utils/makePageTitle.js +0 -7
  1023. package/dist/utils/pageListPackageLabel.d.ts +0 -4
  1024. package/dist/utils/pageListPackageLabel.js +0 -12
  1025. package/dist/utils/readJson.d.ts +0 -1
  1026. package/dist/utils/readJson.js +0 -7
  1027. package/dist/utils/routeBuilder.d.ts +0 -18
  1028. package/dist/utils/routeBuilder.js +0 -96
  1029. package/dist/utils/simpleResponse.d.ts +0 -1
  1030. package/dist/utils/simpleResponse.js +0 -29
  1031. package/dist/utils/validImages.d.ts +0 -13
  1032. package/dist/utils/validImages.js +0 -39
  1033. package/dist/virtual.d.js +0 -0
  1034. package/renderer.d.ts +0 -25
  1035. /package/dist/cli/{lib → utils}/seasonal.d.ts +0 -0
  1036. /package/dist/cli/{lib → utils}/seasonal.js +0 -0
  1037. /package/dist/{lib/auth → handlers/frontend}/types.js +0 -0
  1038. /package/dist/{components/default-grid-items → handlers/plugin-components}/utils.d.ts +0 -0
  1039. /package/dist/{components/dashboard/islands/dashboard/shared.js → handlers/storage-manager/definitions.js} +0 -0
  1040. /package/dist/{lib/webVitals → plugins/analytics/assets}/pages/analytics/header.astro +0 -0
  1041. /package/dist/{lib/webVitals → plugins/analytics/assets}/schemas.d.ts +0 -0
  1042. /package/dist/{lib/webVitals → plugins/analytics/assets}/schemas.js +0 -0
  1043. /package/dist/{lib/webVitals → plugins/analytics/assets}/types.d.ts +0 -0
  1044. /package/dist/{lib/renderer → plugins/analytics/assets}/types.js +0 -0
  1045. /package/dist/{lib/webVitals → plugins/analytics/assets}/utils/buildDataObject.js +0 -0
  1046. /package/dist/{lib/webVitals → plugins/analytics/assets}/utils/buildPageRouteDataObject.d.ts +0 -0
  1047. /package/dist/{lib/webVitals → plugins/analytics/assets}/utils/buildPageRouteDataObject.js +0 -0
  1048. /package/dist/{lib/webVitals → plugins/analytics/assets}/utils/buildPerPageDataObject.d.ts +0 -0
  1049. /package/dist/{lib/webVitals → plugins/analytics/assets}/utils/buildPerPageDataObject.js +0 -0
  1050. /package/dist/{lib/webVitals → plugins/analytics/assets}/utils/checkDate.js +0 -0
  1051. /package/dist/{lib/webVitals → plugins/analytics/assets}/utils/webVitalsUtils.d.ts +0 -0
  1052. /package/dist/{lib/webVitals → plugins/analytics/assets}/webVitalsSummary.d.ts +0 -0
  1053. /package/dist/{cli/cmds/get-turso.d.ts → plugins/analytics/client-script.d.ts} +0 -0
  1054. /package/dist/{lib/dashboardGrid.js → toolbar/db-viewer/db-shared-types.js} +0 -0
  1055. /package/dist/{lib/robots/types.js → toolbar/db-viewer/studio/type.js} +0 -0
  1056. /package/dist/{utils → virtuals/auth}/getLabelForPermissionLevel.js +0 -0
  1057. /package/dist/{lib/webVitals → virtuals/auth}/types.js +0 -0
  1058. /package/dist/{lib → virtuals/lib}/makeAPIRoute.js +0 -0
  1059. /package/dist/{lib → virtuals/lib}/makePublicRoute.d.ts +0 -0
  1060. /package/dist/{lib → virtuals/lib}/makePublicRoute.js +0 -0
  1061. /package/dist/{lib → virtuals}/plugins/dashboard-pages.js +0 -0
  1062. /package/dist/{lib → virtuals}/plugins/frontend-navigation.d.ts +0 -0
  1063. /package/{dist → frontend}/components/auth/StudioCMSLogoSVG.astro +0 -0
  1064. /package/{dist → frontend}/components/dashboard/StudioCMSLogo.astro +0 -0
  1065. /package/{dist/routes/firstTimeSetupRoutes → frontend/components/first-time-setup}/snippets/opt1-astro.config.diff +0 -0
  1066. /package/{dist/routes/firstTimeSetupRoutes → frontend/components/first-time-setup}/snippets/opt2-astro.config.diff +0 -0
  1067. /package/{dist/routes/firstTimeSetupRoutes → frontend/components/first-time-setup}/snippets/opt2-studiocms.config.diff +0 -0
  1068. /package/{dist/components/dashboard → frontend/components/shared}/ThemeManager.astro +0 -0
  1069. /package/{dist/styles/SyntaxFont.woff2 → frontend/fonts/woff2/syntax.woff2} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,485 +1,114 @@
1
1
  # studiocms
2
2
 
3
- ## 0.1.0-beta.9
3
+ ## 0.1.1
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - [#433](https://github.com/withstudiocms/studiocms/pull/433) [`8931327`](https://github.com/withstudiocms/studiocms/commit/89313277bac0f5e17929eb8d4e064d42fe9c5ce5) Thanks [@studiocms-no-reply](https://github.com/studiocms-no-reply)! - Translation Updated (PR: #433)
7
+ - [#1181](https://github.com/withstudiocms/studiocms/pull/1181) [`a169a89`](https://github.com/withstudiocms/studiocms/commit/a169a893338947b425e87057cc77401f33abcbfd) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency @iconify-json/simple-icons to ^1.2.66
8
8
 
9
- - [#432](https://github.com/withstudiocms/studiocms/pull/432) [`4ac1dc2`](https://github.com/withstudiocms/studiocms/commit/4ac1dc295c56069cb126bd8c876fd98b31f9a8d8) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Relocate static assets to CDN R2 bucket, Users can now delete the `studiocms-resources/` folder within their project `public/` folder.
9
+ - [#1186](https://github.com/withstudiocms/studiocms/pull/1186) [`415a512`](https://github.com/withstudiocms/studiocms/commit/415a51241ffddf5045ad8f8d695a5f40a86b5af7) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - fix workspace package dependency specifiers
10
10
 
11
- - [#437](https://github.com/withstudiocms/studiocms/pull/437) [`e99f3d0`](https://github.com/withstudiocms/studiocms/commit/e99f3d0a1b089e24ca9a0c1f9d8f2ae1ba3d8b8e) Thanks [@studiocms-no-reply](https://github.com/studiocms-no-reply)! - Translation Updated (PR: #437)
11
+ - [#1187](https://github.com/withstudiocms/studiocms/pull/1187) [`1b2a0c5`](https://github.com/withstudiocms/studiocms/commit/1b2a0c57299544caeba18205ca85a8ca0381d7cb) Thanks [@aliozinan](https://github.com/aliozinan)! - Fix create folder bug in s3-storage PUT request handler
12
12
 
13
- - [#441](https://github.com/withstudiocms/studiocms/pull/441) [`9dbe621`](https://github.com/withstudiocms/studiocms/commit/9dbe62125bd77ee674175dbb4fb64f5fa9ffc1ce) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - fix firsttime setup page redirect, and fix sdk
13
+ - Updated dependencies [[`415a512`](https://github.com/withstudiocms/studiocms/commit/415a51241ffddf5045ad8f8d695a5f40a86b5af7)]:
14
+ - @withstudiocms/component-registry@0.1.1
15
+ - @withstudiocms/auth-kit@0.1.1
16
+ - @withstudiocms/sdk@0.1.1
14
17
 
15
- ## 0.1.0-beta.8
18
+ ## 0.1.0
16
19
 
17
20
  ### Patch Changes
18
21
 
19
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@column.text({](https://github.com/column.text({)! - Auth system overhaul:
20
-
21
- ## **`studiocms`**
22
-
23
- - Updated all Dependencies
24
-
25
- ## **`@studiocms/auth`**
26
-
27
- - Update `astro:env` schema:
28
- - `CMS_ENCRYPTION_KEY`: NEW - Required variable used for auth encryption, can be generated using `openssl rand --base64 16`.
29
- - `CMS_GITHUB_REDIRECT_URI`: NEW - Optional variable for GitHub Redirect URI if using multiple redirect URIs with Github oAuth.
30
- - Removed `Luicia` based auth system and `Lucia-astrodb-adapter`
31
- - Removed old `authHelper`
32
- - Add new OAuthButton components
33
- - `<OAuthButton />`
34
- - `<OAuthButtonStack />`
35
- - `oAuthButtonProviders.ts`
36
- - Add new `<AuthLayout />` component and CSS
37
- - Add new authentication library:
38
- - Auth library is built using the lucia-next resources and will now be maintained under `@studiocms/auth` as its own full module
39
- - Created Virtual module exports available during runtime
40
- - Add new login/signup backgrounds
41
- - Remove Middleware
42
- - Add `studiocms-logo.glb` for usage with New ThreeJS login/signup page
43
- - Update all Auth Routes
44
- - Update schema
45
- - Add new Scripts for ThreeJS
46
- - Update Stubs files and Utils
47
- - Refactor Integration to use new system.
48
-
49
- ## **`@studiocms/core`**
50
-
51
- - Disable interactivity for `<Avatar />` component. (Will always show a empty profile icon until we setup the new system for the front-end)
52
- - Update table schema:
22
+ - [#1151](https://github.com/withstudiocms/studiocms/pull/1151) [`25e6fc0`](https://github.com/withstudiocms/studiocms/commit/25e6fc0cca879e77c49c35da5e9a28e582957988) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Migrates table imports to new `@withstudiocms/sdk/tables` export, and update other relevant imports
53
23
 
54
- - `StudioCMSUsers`: Removed oAuth ID's from main user table
24
+ - [#1153](https://github.com/withstudiocms/studiocms/pull/1153) [`0435b82`](https://github.com/withstudiocms/studiocms/commit/0435b82fbc40af767f065a990639b44cfefecf4d) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Update imports for Migrator to `@withstudiocms/sdk/migrator`
55
25
 
56
- ```diff
57
- export const StudioCMSUsers = defineTable({
58
- columns: {
59
- id: column.text({ primaryKey: true }),
60
- url: column.text({ optional: true }),
61
- name: column.text(),
62
- email: column.text({ unique: true, optional: true }),
63
- avatar: column.text({ optional: true }),
64
- - githubId: column.number({ unique: true, optional: true }),
65
- - githubURL: column.text({ optional: true }),
66
- - discordId: column.text({ unique: true, optional: true }),
67
- - googleId: column.text({ unique: true, optional: true }),
68
- - auth0Id: column.text({ unique: true, optional: true }),
69
- username: column.text(),
70
- password: column.text({ optional: true }),
71
- updatedAt: column.date({ default: NOW, optional: true }),
72
- createdAt: column.date({ default: NOW, optional: true }),
73
- },
74
- });
75
- ```
26
+ - [#1132](https://github.com/withstudiocms/studiocms/pull/1132) [`e1c3052`](https://github.com/withstudiocms/studiocms/commit/e1c30524e7fd6ed8f7b85874f049d36ffb50afc8) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Refactor REST-API structure
76
27
 
77
- - `StudioCMSOAuthAccounts`: New table to handle all oAuth accounts and linking to Users
28
+ - [#1134](https://github.com/withstudiocms/studiocms/pull/1134) [`3a27939`](https://github.com/withstudiocms/studiocms/commit/3a279390d2688d464fc5476fac0faf2bada2c1fd) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Reworks table types to better align with actual table schema
78
29
 
79
- ```ts
80
- export const StudioCMSOAuthAccounts = defineTable({
81
- columns: {
82
- provider: column.text(), // github, google, discord, auth0
83
- providerUserId: column.text({ primaryKey: true }),
84
- userId: column.text({ references: () => StudioCMSUsers.columns.id }),
85
- },
86
- });
87
- ```
30
+ - [#1142](https://github.com/withstudiocms/studiocms/pull/1142) [`4b676ca`](https://github.com/withstudiocms/studiocms/commit/4b676ca9fe4a603d036c0d9e680fd5bed997cab2) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Consolidates auth api routes
88
31
 
89
- - `StudioCMSPermissions`: Updated to use direct reference to users table
32
+ - [#1112](https://github.com/withstudiocms/studiocms/pull/1112) [`28f0e56`](https://github.com/withstudiocms/studiocms/commit/28f0e5614ae07c3f73b9c9fd102cd9bb8b912ca9) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Implements new FolderTree rendering system and updated content management inner sidebar
90
33
 
91
- ```ts
92
- export const StudioCMSPermissions = defineTable({
93
- columns: {
94
- references: () => StudioCMSUsers.columns.id }),
95
- rank: column.text(),
96
- },
97
- });
98
- ```
34
+ - [#1128](https://github.com/withstudiocms/studiocms/pull/1128) [`96c98c2`](https://github.com/withstudiocms/studiocms/commit/96c98c2e420bf8526611e674f1f58dd3fa2f33a3) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Tweak categories and tag ID generation to try to solve ID issue with database entry, and enable categories and tag entry on pageData
99
35
 
100
- - `StudioCMSSiteConfig`: Added new options for login page
36
+ - [#1124](https://github.com/withstudiocms/studiocms/pull/1124) [`7c8a684`](https://github.com/withstudiocms/studiocms/commit/7c8a68431f9087d4c3b65b06c76093b462dcddb1) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): update dependency @iconify-json/simple-icons to ^1.2.64
101
37
 
102
- ```ts
103
- export const StudioCMSSiteConfig = defineTable({
104
- columns: {
105
- id: column.number({ primaryKey: true }),
106
- title: column.text(),
107
- description: column.text(),
108
- defaultOgImage: column.text({ optional: true }),
109
- siteIcon: column.text({ optional: true }),
110
- loginPageBackground: column.text({ default: "studiocms-curves" }),
111
- loginPageCustomImage: column.text({ optional: true }),
112
- },
113
- });
114
- ```
38
+ - [#1108](https://github.com/withstudiocms/studiocms/pull/1108) [`36eead9`](https://github.com/withstudiocms/studiocms/commit/36eead9e3b002491f1d3ddd562479b0ea381e2c0) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - dedupes storage manager resolver utility
115
39
 
116
- - Updated Routemap:
40
+ - [#1141](https://github.com/withstudiocms/studiocms/pull/1141) [`9c350ea`](https://github.com/withstudiocms/studiocms/commit/9c350ea47118aa83738ded08b01a2ee3c98875a9) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Consolidates the db-studio and storage api handlers into a new unified integrations route.
117
41
 
118
- - All Auth api routes are now located at `yourhost.tld/studiocms_api/auth/*`
42
+ - [#1136](https://github.com/withstudiocms/studiocms/pull/1136) [`3ab68b4`](https://github.com/withstudiocms/studiocms/commit/3ab68b4de1ba2730d5acf16804c5b452fb7fcc43) Thanks [@louisescher](https://github.com/louisescher)! - Fixes various CSS issues across all dashboard and auth pages.
119
43
 
120
- - Updated Strings:
44
+ - [#1157](https://github.com/withstudiocms/studiocms/pull/1157) [`f8a2d34`](https://github.com/withstudiocms/studiocms/commit/f8a2d342cc3c35bf4478bb523bf28d78dd2d0404) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Add effect-language-service diagnostics scripts to all workspace packages
121
45
 
122
- - Add new Encryption messages for the new `CMS_ENCRYPTION_KEY` variable
46
+ - [#1107](https://github.com/withstudiocms/studiocms/pull/1107) [`3cf47d9`](https://github.com/withstudiocms/studiocms/commit/3cf47d90c38c1b70a1378dabe6e72bf4a0ae467c) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Creates user-available resolver utils to call dynamic storage api
123
47
 
124
- - Removed now unused auth types.
48
+ - [#1106](https://github.com/withstudiocms/studiocms/pull/1106) [`4ece96b`](https://github.com/withstudiocms/studiocms/commit/4ece96bb9b9a3180a2d840dc64ee647371ff693e) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Integrates Storage Manager API for Custom Image component to resolve image urls from storage
125
49
 
126
- ## **`@studiocms/dashboard`**
50
+ - [#1103](https://github.com/withstudiocms/studiocms/pull/1103) [`249b674`](https://github.com/withstudiocms/studiocms/commit/249b67423122c589fd15ea83518837d11c444b11) Thanks [@apollo-git-bot](https://github.com/apps/apollo-git-bot)! - Translation Updated (PR: #1103)
127
51
 
128
- - Refactor to utilize new `@studiocms/auth` lib for user verification
52
+ - [#1150](https://github.com/withstudiocms/studiocms/pull/1150) [`7439f48`](https://github.com/withstudiocms/studiocms/commit/7439f485691f7c95397e2da46f509fa36e55cd48) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Cleans up and consolidates all page partial routes
129
53
 
130
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Update First time setup routes and API endpoints
54
+ - [#1166](https://github.com/withstudiocms/studiocms/pull/1166) [`feb85ad`](https://github.com/withstudiocms/studiocms/commit/feb85ada2084e4e83e3dfbb47b89f747a41979a0) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Replace instance of .returning/returningAll with transactions to properly support SQL dialects that do not support returning such as MySQL
131
55
 
132
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Translation Updated (PR: #391)
56
+ - [#1119](https://github.com/withstudiocms/studiocms/pull/1119) [`45b9470`](https://github.com/withstudiocms/studiocms/commit/45b9470867c552e87e5ea1f68e20f5e4386233ff) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Implements taxonomy management into the REST_API
133
57
 
134
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Expand PageData table schema and add Catagory and Tags schemas, and extend WP-importer
58
+ - [#1116](https://github.com/withstudiocms/studiocms/pull/1116) [`845f147`](https://github.com/withstudiocms/studiocms/commit/845f14732a2d2a76159027b9ed29695f62ebf22c) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Reworks search into its own component and script so that it is easier to maintain, also streamlines search result design to align with new tree styles
135
59
 
136
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Added Author and Contributor tracking
60
+ - [#1144](https://github.com/withstudiocms/studiocms/pull/1144) [`dfa40ff`](https://github.com/withstudiocms/studiocms/commit/dfa40ff0c145ef70c7f8d2bb6bd7aaf467e934d0) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Cleans up pnpm catalog dependencies
137
61
 
138
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Docs, Docs, and more Docs
62
+ - [#1138](https://github.com/withstudiocms/studiocms/pull/1138) [`db2778a`](https://github.com/withstudiocms/studiocms/commit/db2778ae77944a1e8bb362e49215cfefff5223d0) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - More RestAPI cleanup, and cleans up SDK api endpoints
139
63
 
140
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Implement new Dashboard design and update API endpoints
64
+ - [#1129](https://github.com/withstudiocms/studiocms/pull/1129) [`d59c4b0`](https://github.com/withstudiocms/studiocms/commit/d59c4b00d44b65bae84315d34fa3b721f9621136) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Replaced `@libsql/kysely-libsql` with `kysely-turso`
141
65
 
142
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Dynamic Sitemap integration
66
+ #### BREAKING UPDATE
143
67
 
144
- ### Dynamic Sitemap Generation:
68
+ All previous installs relying on `@libsql/kysely-libsql` should remove the old dependency and install the new `kysely-turso` dependency.
145
69
 
146
- - `packages/studiocms/src/index.ts`: Replaced the static sitemap integration with the new `dynamicSitemap` function to support multiple sitemaps from plugins.
147
- - `packages/studiocms/src/lib/dynamic-sitemap/index.ts`: Added the `dynamicSitemap` function to generate sitemaps dynamically based on the provided plugin configurations.
148
- - `packages/studiocms/src/lib/dynamic-sitemap/sitemap-index.xml.ts`: Created a new route to serve the sitemap index file, which lists all the individual sitemaps.
70
+ - [#1100](https://github.com/withstudiocms/studiocms/pull/1100) [`d5c77ea`](https://github.com/withstudiocms/studiocms/commit/d5c77eaf352e0ce3d45b0ce761ce6370e5a7a4ff) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Implements file browser on site config and content management pages
149
71
 
150
- ### Plugin Schema Updates:
72
+ - [#1101](https://github.com/withstudiocms/studiocms/pull/1101) [`8f53993`](https://github.com/withstudiocms/studiocms/commit/8f539933716b9d3335a13c180e3c607e44a63f8a) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Introduces new transformer option in component registry and creates new StorageAPI transformer to allow Storage API automatic url swapping
151
73
 
152
- - `packages/studiocms/src/schemas/plugins/index.ts`: Updated the plugin schema to include an optional `sitemaps` field, allowing plugins to specify their own sitemap configurations.
74
+ - [#1160](https://github.com/withstudiocms/studiocms/pull/1160) [`30de271`](https://github.com/withstudiocms/studiocms/commit/30de271f347a3a997669c8118006143148efb33a) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Refactors code to handle Effect LSP diagnostic warnings and errors
153
75
 
154
- ### Plugin-Specific Sitemaps:
76
+ - [#1111](https://github.com/withstudiocms/studiocms/pull/1111) [`e26ff92`](https://github.com/withstudiocms/studiocms/commit/e26ff92c731776156dfdb6830b5ebbccaf05acbf) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Implements new component registry UI for content editing and System management pages.
155
77
 
156
- - `packages/studiocms_blog/src/index.ts`: Updated the StudioCMS Blog plugin to include its own sitemaps for posts and markdown pages.
157
- - `packages/studiocms_blog/src/routes/sitemap-md.xml.ts`: Added a new route to generate the sitemap for markdown pages.
158
- - `packages/studiocms_blog/src/routes/sitemap-posts.xml.ts`: Added a new route to generate the sitemap for blog posts.
78
+ - [#1117](https://github.com/withstudiocms/studiocms/pull/1117) [`87a5ed0`](https://github.com/withstudiocms/studiocms/commit/87a5ed0fdf3a23b0c743f38a42a814b7d68f496d) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Implements categories and tags management for the StudioCMS Dashboard
159
79
 
160
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Remove Astro ViewTransitions/ClientRouter
80
+ - [#1172](https://github.com/withstudiocms/studiocms/pull/1172) [`3af3578`](https://github.com/withstudiocms/studiocms/commit/3af357827ad2ef1f2a7c41b8b4d459ecc743fc69) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Update readme to remove beta warning
161
81
 
162
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - User invite and creation systems
82
+ - [#1163](https://github.com/withstudiocms/studiocms/pull/1163) [`cd865cf`](https://github.com/withstudiocms/studiocms/commit/cd865cf995c3b926900b347ee0782d9ccecc1d4f) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Removes deprecated hideDefaultIndex site config variable from SDK and updates all instances of usage in StudioCMS
163
83
 
164
- ### User Management Enhancements:
84
+ #### Breaking Change
165
85
 
166
- - Added modals for creating new users and user invites in `InnerSidebarElement.astro` to streamline the user creation process.
167
- - Implemented new API routes `create-user` and `create-user-invite` to handle user creation and invite processes.
168
- - Updated `routeMap.ts` to include new endpoints for user creation and invites.
86
+ Note for anyone previously relying on this feature, it has now been completely removed. Users will need to adjust any code relying on this functionality.
169
87
 
170
- ### UI Improvements:
88
+ - [#1099](https://github.com/withstudiocms/studiocms/pull/1099) [`359e655`](https://github.com/withstudiocms/studiocms/commit/359e65541206e5d10c3fef67666bc883f81e2f85) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Introduces StorageManager API to SDK and allow resolving image urls for site config and pagedata
171
89
 
172
- - Modified icons for 'Create Page' and 'Create Folder' options in `InnerSidebarElement.astro` to use standard document and folder icons.
173
- - Enhanced the user management dropdown by reordering properties for better readability.
174
- - Added custom styles for modal bodies to improve the user interface.
90
+ - [#1137](https://github.com/withstudiocms/studiocms/pull/1137) [`860337f`](https://github.com/withstudiocms/studiocms/commit/860337f73d2c6bb56135f16146c524721600057e) Thanks [@louisescher](https://github.com/louisescher)! - Fixes edit page tabs overflowing
175
91
 
176
- ### Utility and SDK Updates:
92
+ - [#1098](https://github.com/withstudiocms/studiocms/pull/1098) [`80285ec`](https://github.com/withstudiocms/studiocms/commit/80285ecf94078c1f99912fa88bd230a42e106bbd) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Add file browser access to system management page with identifier output utility
177
93
 
178
- - Added new utility functions for generating random passwords and IDs in `generators.ts`, and updated references in `core.ts`.
179
- - Updated the SDK core to support rank assignment during user creation.
94
+ - [#1135](https://github.com/withstudiocms/studiocms/pull/1135) [`1e85356`](https://github.com/withstudiocms/studiocms/commit/1e8535629363c518549ff3606710ae000245aa8a) Thanks [@louisescher](https://github.com/louisescher)! - Adjusts CSS to allow for a full-size editor window and fixes some spacing on the editor page.
180
95
 
181
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Enhance StudioCMS Plugin system
96
+ - [#1102](https://github.com/withstudiocms/studiocms/pull/1102) [`c36800e`](https://github.com/withstudiocms/studiocms/commit/c36800e5e13173e6d3a030d060774d223892d6e2) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Implements Storage manager url generator for content edit page
182
97
 
183
- - Implement Dashboard pages
184
- - Add Optional API Routes and Fields for page types
185
- - Update Astro Web Vital plugin to add new dashboard page
98
+ - [#1126](https://github.com/withstudiocms/studiocms/pull/1126) [`4a4db87`](https://github.com/withstudiocms/studiocms/commit/4a4db87f755bf9e5f6d46c8daa04a48591395dff) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Reworks CLI to fix async/sync code handling for `studiocms users` command
186
99
 
187
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Implement Build step with esbuild and Update for Astro v5
100
+ - Updated dependencies [[`25e6fc0`](https://github.com/withstudiocms/studiocms/commit/25e6fc0cca879e77c49c35da5e9a28e582957988), [`87a5ed0`](https://github.com/withstudiocms/studiocms/commit/87a5ed0fdf3a23b0c743f38a42a814b7d68f496d), [`3a27939`](https://github.com/withstudiocms/studiocms/commit/3a279390d2688d464fc5476fac0faf2bada2c1fd), [`96c98c2`](https://github.com/withstudiocms/studiocms/commit/96c98c2e420bf8526611e674f1f58dd3fa2f33a3), [`87d36ba`](https://github.com/withstudiocms/studiocms/commit/87d36ba83d24d83c7b2b17daa47231a63c225fa2), [`fc33e3f`](https://github.com/withstudiocms/studiocms/commit/fc33e3fb2c3568331be89b43a3a892317834f43a), [`9bde767`](https://github.com/withstudiocms/studiocms/commit/9bde7670e3813828615354ec5f99b5188487eb48), [`f8a2d34`](https://github.com/withstudiocms/studiocms/commit/f8a2d342cc3c35bf4478bb523bf28d78dd2d0404), [`e359a69`](https://github.com/withstudiocms/studiocms/commit/e359a69d2cad6db0b665908bdee67f02d418877a), [`b4d7879`](https://github.com/withstudiocms/studiocms/commit/b4d7879ae9ea93f199bcf187c8cd940efb405ad9), [`feb85ad`](https://github.com/withstudiocms/studiocms/commit/feb85ada2084e4e83e3dfbb47b89f747a41979a0), [`4ffae83`](https://github.com/withstudiocms/studiocms/commit/4ffae83377c75efe7c26c45d3cb360394fba5001), [`d59c4b0`](https://github.com/withstudiocms/studiocms/commit/d59c4b00d44b65bae84315d34fa3b721f9621136), [`cb8ffda`](https://github.com/withstudiocms/studiocms/commit/cb8ffda2d6fb31e3a754996b3e938a5c1b643af1), [`e1c3052`](https://github.com/withstudiocms/studiocms/commit/e1c30524e7fd6ed8f7b85874f049d36ffb50afc8), [`9007ca5`](https://github.com/withstudiocms/studiocms/commit/9007ca5d8d6c471ee25f07bd2f0a101ba195440c), [`8f53993`](https://github.com/withstudiocms/studiocms/commit/8f539933716b9d3335a13c180e3c607e44a63f8a), [`30de271`](https://github.com/withstudiocms/studiocms/commit/30de271f347a3a997669c8118006143148efb33a), [`9bde767`](https://github.com/withstudiocms/studiocms/commit/9bde7670e3813828615354ec5f99b5188487eb48), [`cd865cf`](https://github.com/withstudiocms/studiocms/commit/cd865cf995c3b926900b347ee0782d9ccecc1d4f), [`359e655`](https://github.com/withstudiocms/studiocms/commit/359e65541206e5d10c3fef67666bc883f81e2f85), [`0435b82`](https://github.com/withstudiocms/studiocms/commit/0435b82fbc40af767f065a990639b44cfefecf4d)]:
101
+ - @withstudiocms/kysely@0.1.0
102
+ - @withstudiocms/sdk@0.1.0
103
+ - @withstudiocms/auth-kit@0.1.0
104
+ - @withstudiocms/effect@0.1.0
105
+ - @withstudiocms/component-registry@0.1.0
106
+ - @withstudiocms/config-utils@0.1.0
107
+ - @withstudiocms/internal_helpers@0.1.0
108
+ - @withstudiocms/template-lang@0.1.0
188
109
 
189
- - [#430](https://github.com/withstudiocms/studiocms/pull/430) [`36474b5`](https://github.com/withstudiocms/studiocms/commit/36474b592dd014635019d346f28688f8f5a60585) Thanks [@Adammatthiesen](https://github.com/Adammatthiesen)! - Update dependencies
190
-
191
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Add @studiocms/markdown-remark as a renderer option, and implement component proxy system to actually be used by this renderer
192
-
193
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Implement User quick action toolbar for frontend when user's are logged in
194
-
195
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Translation Updated (PR: #376)
196
-
197
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Implement Diff tracking system
198
-
199
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - New Renderer component
200
-
201
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Introduce Dashboard i18n logic
202
-
203
- - `studiocms` & `@studiocms/core`:
204
-
205
- - Introduce new virtual module `studiocms:i18n`:
206
- This module includes utilities for our new i18n system.
207
- - Add new LanguageSelector component
208
- - Add `en-us` translation file. (`packages/studiocms_core/i18n/translations/`)
209
-
210
- - `@studiocms/auth`:
211
- - Update login/signup routes to utilize new i18n translations
212
- - Transition routes to Hybrid type setup, All API routes will remain server rendered, while pages are now prerendered (Server islands when needed).
213
-
214
- - [#312](https://github.com/withstudiocms/studiocms/pull/312) [`9c59d72`](https://github.com/withstudiocms/studiocms/commit/9c59d7230c86d8122c90c8b42c382a32a6d9820e) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - ♻️ Chore: We are now Turso Sponsored!
215
-
216
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Update Frontend logic and fix some small issues with rendering.
217
-
218
- - New Renderer Partial for rendering on-the-fly
219
- - Updated changelog endpoint to use new partial to fix rendering
220
- - Fixed TS Error in SDK
221
- - Fixed changelog rendering
222
- - Cleaned up Frontend package layout
223
- - Simplified Frontend route generation to use 1 file
224
- - Updated all exports.
225
-
226
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Introduce BASIC version of our plugin system.
227
-
228
- Currently Supports:
229
-
230
- - Custom Settings Page
231
- - Assign your fields
232
- - Bring your own API Endpoint function
233
- - Ability to add Frontend page links
234
- - Set the minimum StudioCMS Version
235
- - Bring your own Astro Integrations
236
- - Basic Page type identifier system
237
- - This system will eventually be expanded to allow custom Content types and access to passing custom content handling methods for custom implementations.
238
-
239
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Implement Component Proxy functionality
240
-
241
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Implement new StudioCMS SDK in @studiocms/core and integrate it into the new dashboard and frontend package
242
-
243
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Remove Unpic and simplify imageHandler
244
-
245
- - [#301](https://github.com/withstudiocms/studiocms/pull/301) [`ebc297f`](https://github.com/withstudiocms/studiocms/commit/ebc297f2818deda6efca880a857f7e0929ad2378) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Update `.d.ts` file generation (non breaking)
246
-
247
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Merge StudioCMS packages into main package
248
-
249
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Implement new StudioCMS Auth lib
250
-
251
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Update URLs
252
-
253
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Small css tweak
254
-
255
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - New CLI, Updated integration logic and updated config processing.
256
-
257
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Add warning if no Adapter is present
258
-
259
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Fix CSS issue that caused sidebar to flow off the screen
260
-
261
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Adjusted strings to account for Astro Studio sunsetting
262
-
263
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - Implement dashboard grid components system
264
-
265
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - StudioCMS is now headless, all routes have been moved to `@studiocms/blog` and that is now the recommended default plugin to install for users who want a basic headful setup
266
-
267
- - [#333](https://github.com/withstudiocms/studiocms/pull/333) [`62ff52f`](https://github.com/withstudiocms/studiocms/commit/62ff52f9f089c9605da9227b0e75c755768ed96c) Thanks [@create-issue-branch](https://github.com/apps/create-issue-branch)! - New REST API endpoints and Dashboard UI features
268
-
269
- New Routes:
270
-
271
- - `/studiocms_api/rest/v1/folders`
272
- - `/studiocms_api/rest/v1/folders/[id]`
273
- - `/studiocms_api/rest/v1/pages`
274
- - `/studiocms_api/rest/v1/pages/[id]`
275
- - `/studiocms_api/rest/v1/pages/[id]/history`
276
- - `/studiocms_api/rest/v1/pages/[id]/history/[id]`
277
- - `/studiocms_api/rest/v1/settings`
278
- - `/studiocms_api/rest/v1/users`
279
- - `/studiocms_api/rest/v1/users/[id]`
280
-
281
- All routes listed above are behind authentication.
282
-
283
- There is the following PUBLIC endpoints that ONLY support GET requests to published pages/folders
284
-
285
- - `/studiocms_api/rest/v1/public/pages`
286
- - `/studiocms_api/rest/v1/public/pages/[id]`
287
- - `/studiocms_api/rest/v1/public/folders`
288
- - `/studiocms_api/rest/v1/public/folders/[id]`
289
-
290
- ## 0.1.0-beta.7
110
+ ## 0.1.0-beta.32
291
111
 
292
112
  ### Patch Changes
293
113
 
294
- - 880311a: Update URL from `astro-studiocms.xyz` to `studiocms.xyz`
295
- - Updated dependencies [880311a]
296
- - Updated dependencies [880311a]
297
- - @studiocms/dashboard@0.1.0-beta.7
298
- - @studiocms/frontend@0.1.0-beta.7
299
- - @studiocms/core@0.1.0-beta.7
300
- - @studiocms/betaresources@0.1.0-beta.7
301
- - @studiocms/imagehandler@0.1.0-beta.7
302
- - @studiocms/renderers@0.1.0-beta.7
303
- - @studiocms/robotstxt@0.1.0-beta.7
304
- - @studiocms/assets@0.1.0-beta.7
305
- - @studiocms/auth@0.1.0-beta.7
306
- - @studiocms/blog@0.1.0-beta.7
307
-
308
- ## 0.1.0-beta.6
309
-
310
- ### Patch Changes
311
-
312
- - 12bed03: Update dependencies
313
- - ecb682a: Update readme, and package.json naming as well as references to Astro Studio to AstroDB.
314
- - 585c5e4: Update readmes to reflect new package name
315
- - ecb682a: [Update readme]: Update Astro Studio references to AstroDB as Studio is closing down.
316
- - 12bed03: [Refactor]: Update main config schema for renderers.
317
-
318
- - Removed `contentRenderer` and `markedConfig` from the main options
319
- - Added config for MarkDoc
320
- - Created new `rendererConfig` section:
321
-
322
- ```ts
323
- // astro.config.mjs
324
- // https://astro.build/config
325
- export default defineConfig({
326
- // ...Rest of Astro Config
327
- integrations: [
328
- studiocms({
329
- // ...Rest of StudioCMS Config
330
- // (This is the same if you use the 'studiocms.config.mjs' file)
331
- rendererConfig: {
332
- renderer: "marked", // Can also be 'astro', or 'markdoc'
333
- markedConfig: {
334
- /* MarkedJS Config */
335
- },
336
- markdocConfig: {
337
- /* MarkDoc Config */
338
- },
339
- },
340
- }),
341
- ],
342
- });
343
- ```
344
-
345
- - 12bed03: [Migrate/Deprecation]: customRendererPlugin moved to StudioCMSRendererConfig
346
-
347
- - Deprecation of StudioCMSPluginOptions defined CustomRenderers
348
- - Add new option to define renderers from StudioCMSOptions config:
349
-
350
- ```ts
351
- // astro.config.mjs
352
- function simpleHTMLRenderer(content: string) {
353
- return {
354
- name: "simple-html-renderer",
355
- renderer: async (content: string) => {
356
- return `<p>${content}</p>`;
357
- },
358
- };
359
- }
360
-
361
- // https://astro.build/config
362
- export default defineConfig({
363
- // ...Rest of Astro Config
364
- integrations: [
365
- studiocms({
366
- // ...Rest of StudioCMS Config
367
- // (This is the same if you use the 'studiocms.config.mjs' file)
368
- rendererConfig: {
369
- renderer: simpleHTMLRenderer,
370
- },
371
- }),
372
- ],
373
- });
374
- ```
375
-
376
- - Updated dependencies [12bed03]
377
- - Updated dependencies [12bed03]
378
- - Updated dependencies [12bed03]
379
- - Updated dependencies [1383e80]
380
- - Updated dependencies [12bed03]
381
- - Updated dependencies [12bed03]
382
- - Updated dependencies [4f8e60b]
383
- - Updated dependencies [12bed03]
384
- - @studiocms/dashboard@0.1.0-beta.6
385
- - @studiocms/renderers@0.1.0-beta.6
386
- - @studiocms/assets@0.1.0-beta.6
387
- - @studiocms/core@0.1.0-beta.6
388
- - @studiocms/auth@0.1.0-beta.6
389
- - @studiocms/frontend@0.1.0-beta.6
390
- - @studiocms/betaresources@0.1.0-beta.6
391
- - @studiocms/blog@0.1.0-beta.6
392
- - @studiocms/imagehandler@0.1.0-beta.6
393
- - @studiocms/robotstxt@0.1.0-beta.6
394
-
395
- ## 0.1.0-beta.5
396
-
397
- ### Patch Changes
398
-
399
- - 0bd2b31: [Refactor/Rename]: Split main package into smaller packages and rename main package.
400
-
401
- This change will allow a better divide between the StudioCMS ecosystem packages. The main Astro Integration is now named `studiocms`.
402
-
403
- Renamed Packages:
404
-
405
- - `studiocms`: The main package that users will download and use.
406
- - `@studiocms/blog`: The StudioCMSBlog Plugin
407
-
408
- New Packages and their purposes:
409
-
410
- - `@studiocms/core`: Core components and functions
411
- - `@studiocms/assets`: Assets used for the StudioCMS Dashboard and other integrations
412
- - `@studiocms/renderers`: StudioCMS renderer system
413
- - `@studiocms/imagehandler`: StudioCMS image service and components
414
- - `@studiocms/auth`: StudioCMS auth routes and middleware
415
- - `@studiocms/frontend`: Userfacing pages and routes
416
- - `@studiocms/dashboard`: The main dashboard components, routes, and API endpoints
417
- - `@studiocms/robotstxt`: Generation of robots.txt file
418
- - `@studiocms/betaresources`: Resources for the beta.
419
-
420
- - 0bd2b31: [Breaking]: Update AstroDB Table Schemas to use prefixed table names (i.e. `Permissions` -> `StudioCMSPermissions` )
421
-
422
- This change will require migration to a new database or a full wipe of the current database.
423
-
424
- It is recommended to link to a new database and push the new schema changes and migrate your data from the old one.
425
-
426
- - Updated dependencies [0bd2b31]
427
- - Updated dependencies [0bd2b31]
428
- - @studiocms/betaresources@0.1.0-beta.5
429
- - @studiocms/imagehandler@0.1.0-beta.5
430
- - @studiocms/dashboard@0.1.0-beta.5
431
- - @studiocms/renderers@0.1.0-beta.5
432
- - @studiocms/robotstxt@0.1.0-beta.5
433
- - @studiocms/frontend@0.1.0-beta.5
434
- - @studiocms/assets@0.1.0-beta.5
435
- - @studiocms/auth@0.1.0-beta.5
436
- - @studiocms/blog@0.1.0-beta.5
437
- - @studiocms/core@0.1.0-beta.5
438
-
439
- ## 0.1.0-beta.4
440
-
441
- ### Patch Changes
442
-
443
- - f1f64a3: Implement extension system for Plugins to include new dashboard pages right in the sidebar
444
- - b2ddf03: Refactor Authhelper (no end user changes needed)
445
- - ceccec5: [Fix]: Ensure `@astrojs/web-vitals` integration is an optional addon and not required.
446
- - 56ef990: # Breaking Changes
447
-
448
- - [Breaking]: Astro 4.14.5 is now the lowest supported version of StudioCMS
449
- - [Breaking]: AstroDB 0.13.2 is now the lowest supported version of StudioCMS
450
-
451
- # Non-Breaking Changes
452
-
453
- - [Update]: Utilize new InjectTypes from Astro instead of addDts from AIK (No user changes needed)
454
- - [Update]: `@matthiesenxyz/integration-utils` updated to newest version and fix usage (No user changes needed)
455
- - [Refactor]: Move web-vitals child components into their own folder (No user changes needed)
456
- - [Refactor]: Update [`isDashboardRoute.ts`](https://github.com/astrolicious/studiocms/blob/main/packages/studioCMS/src/integrations/studioCMSDashboard/routes/dashboard/components/isDashboardRoute.ts) to use `.include()` instead of direct comparison (No user changes needed)
457
- - [Refactor]: Move to namespacebuiltins vite plugin(Astro Integration) included from `@matthiesenxyz/integration-utils` instead of the internal copy (No user changes needed)
458
- - [Fix]: Remove now not needed exclude rules for `@matthiesenxyz/integration-utils` (No user changes needed)
459
-
460
- ## 0.1.0-beta.3
461
-
462
- ### Patch Changes
463
-
464
- - 0949b48: New Mailing system for Beta Feedback form
465
- - 5679b08: Fix: Allow studiocms-auth.config.json to be created during first time database setup
466
- - 9a137b5: [Bug]: Fix case sensitivity issue in authHelper function
467
-
468
- ## 0.1.0-beta.2
469
-
470
- ### Patch Changes
471
-
472
- - a2edb83: Validate secrets (or not) for `astro:env`
473
- - d29bda7: Add check for unsafe usernames or passwords when creating local username/password accounts
474
- - a016f48: - StudioCMS-Dashboard:
475
-
476
- Update UnoCSS to `0.61.5` and DaisyUI Preset to `0.1.1`
477
-
478
- - a82114f: Lint project code
479
- - c93ef7b: Sidebar signout for guest users
480
-
481
- ## 0.1.0-beta.1
482
-
483
- ### Minor Changes
484
-
485
- - Initial beta release
114
+ - For previous version changelogs, see [CHANGELOG.beta.md](./CHANGELOG.beta.md)
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2024 StudioCMS - Adam Matthiesen, Jacob Jenkins, Paul Valladares
3
+ Copyright (c) 2025-present StudioCMS - withstudiocms (https://github.com/withstudiocms)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal