studiocms 0.1.0-beta.9 → 0.1.0
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.
- package/CHANGELOG.md +51 -437
- package/LICENSE +1 -1
- package/README.md +20 -41
- package/astroenv.d.ts +3 -0
- package/dist/cli/add/index.d.ts +27 -0
- package/dist/cli/add/index.js +227 -0
- package/dist/cli/add/npm-utils.d.ts +22 -0
- package/dist/cli/add/npm-utils.js +127 -0
- package/dist/cli/add/tryToInstallPlugins.d.ts +12 -0
- package/dist/cli/add/tryToInstallPlugins.js +105 -0
- package/dist/cli/add/updateStudioCMSConfig.d.ts +12 -0
- package/dist/cli/add/updateStudioCMSConfig.js +91 -0
- package/dist/cli/add/validatePlugins.d.ts +11 -0
- package/dist/cli/add/validatePlugins.js +89 -0
- package/dist/cli/crypto/genJWT/index.d.ts +13 -0
- package/dist/cli/crypto/genJWT/index.js +122 -0
- package/dist/cli/crypto/index.d.ts +8 -0
- package/dist/cli/crypto/index.js +9 -0
- package/dist/cli/debug/index.d.ts +4 -0
- package/dist/cli/debug/index.js +101 -0
- package/dist/cli/getTurso/index.d.ts +5 -0
- package/dist/cli/getTurso/index.js +32 -0
- package/dist/cli/index.js +35 -8
- package/dist/cli/init/index.d.ts +6 -0
- package/dist/cli/init/index.js +79 -0
- package/dist/cli/init/steps/env.d.ts +7 -0
- package/dist/cli/init/steps/env.js +464 -0
- package/dist/cli/init/steps/next.d.ts +3 -0
- package/dist/cli/init/steps/next.js +55 -0
- package/dist/cli/migrator/index.d.ts +10 -0
- package/dist/cli/migrator/index.js +213 -0
- package/dist/cli/users/index.d.ts +10 -0
- package/dist/cli/users/index.js +91 -0
- package/dist/cli/users/shared.d.ts +30 -0
- package/dist/cli/users/shared.js +20 -0
- package/dist/cli/users/steps/createUsers.d.ts +11 -0
- package/dist/cli/users/steps/createUsers.js +179 -0
- package/dist/cli/users/steps/modifyUsers.d.ts +7 -0
- package/dist/cli/users/steps/modifyUsers.js +252 -0
- package/dist/cli/users/steps/next.d.ts +3 -0
- package/dist/cli/users/steps/next.js +18 -0
- package/dist/cli/utils/checkRequiredEnvVars.d.ts +13 -0
- package/dist/cli/utils/checkRequiredEnvVars.js +22 -0
- package/dist/cli/utils/context.d.ts +21 -0
- package/dist/cli/utils/context.js +54 -0
- package/dist/cli/utils/dateAdd.d.ts +13 -0
- package/dist/cli/utils/dateAdd.js +51 -0
- package/dist/cli/utils/debugOpt.d.ts +5 -0
- package/dist/cli/utils/debugOpt.js +9 -0
- package/dist/cli/utils/effectBoxen.d.ts +41 -0
- package/dist/cli/utils/effectBoxen.js +15 -0
- package/dist/cli/utils/errors.d.ts +9 -0
- package/dist/cli/utils/errors.js +6 -0
- package/dist/cli/utils/getCliDbClient.d.ts +127 -0
- package/dist/cli/utils/getCliDbClient.js +16 -0
- package/dist/cli/utils/intro.d.ts +4 -0
- package/dist/cli/utils/intro.js +38 -0
- package/dist/cli/utils/loadConfig.d.ts +72 -0
- package/dist/cli/utils/loadConfig.js +17 -0
- package/dist/cli/utils/logger.d.ts +12 -0
- package/dist/cli/utils/logger.js +36 -0
- package/dist/cli/utils/studiocmsEnv.d.ts +47 -0
- package/dist/cli/utils/studiocmsEnv.js +105 -0
- package/dist/cli/utils/types.d.ts +38 -0
- package/dist/cli/utils/types.js +11 -0
- package/dist/cli/utils/user-utils.d.ts +22 -0
- package/dist/cli/utils/user-utils.js +33 -0
- package/dist/config.d.ts +28 -3
- package/dist/config.js +3 -1
- package/dist/consts.d.ts +146 -4
- package/dist/consts.js +178 -16
- package/dist/db/index.d.ts +166 -0
- package/dist/db/index.js +67 -0
- package/dist/db/plugins.d.ts +132 -0
- package/dist/db/plugins.js +30 -0
- package/dist/effect.d.ts +1 -0
- package/dist/effect.js +1 -0
- package/dist/global.d.ts +9 -0
- package/dist/handlers/astroConfigCheck.d.ts +7 -0
- package/dist/handlers/astroConfigCheck.js +25 -0
- package/dist/handlers/changelog.d.ts +4 -0
- package/dist/handlers/changelog.js +54 -0
- package/dist/handlers/frontend/routes.d.ts +73 -0
- package/dist/handlers/frontend/routes.js +340 -0
- package/dist/handlers/frontend/types.d.ts +46 -0
- package/dist/handlers/frontend/utils.d.ts +66 -0
- package/dist/handlers/frontend/utils.js +134 -0
- package/dist/handlers/index.d.ts +4 -0
- package/dist/handlers/index.js +10 -0
- package/dist/handlers/plugin-components/Recently-created-pages.astro +103 -0
- package/dist/handlers/plugin-components/Recently-signed-up.astro +71 -0
- package/dist/handlers/plugin-components/Recently-updated-pages.astro +107 -0
- package/dist/handlers/plugin-components/Totals.astro +114 -0
- package/dist/handlers/plugin-components/utils.js +32 -0
- package/dist/handlers/plugin-i18n/de.d.ts +22 -0
- package/dist/handlers/plugin-i18n/de.js +25 -0
- package/dist/handlers/plugin-i18n/en.d.ts +22 -0
- package/dist/handlers/plugin-i18n/en.js +25 -0
- package/dist/handlers/plugin-i18n/es.d.ts +22 -0
- package/dist/handlers/plugin-i18n/es.js +25 -0
- package/dist/handlers/plugin-i18n/fr.d.ts +22 -0
- package/dist/handlers/plugin-i18n/fr.js +25 -0
- package/dist/handlers/plugin-i18n/nl.d.ts +22 -0
- package/dist/handlers/plugin-i18n/nl.js +25 -0
- package/dist/handlers/plugin-i18n/no.d.ts +22 -0
- package/dist/handlers/plugin-i18n/no.js +25 -0
- package/dist/handlers/plugin-i18n/zh.d.ts +22 -0
- package/dist/handlers/plugin-i18n/zh.js +25 -0
- package/dist/handlers/pluginHandler.d.ts +327 -0
- package/dist/handlers/pluginHandler.js +999 -0
- package/dist/handlers/routeHandler.d.ts +29 -0
- package/dist/handlers/routeHandler.js +19 -0
- package/dist/handlers/setupDbStudio.d.ts +1 -0
- package/dist/handlers/setupDbStudio.js +15 -0
- package/dist/handlers/storage-manager/core/api-core.d.ts +25 -0
- package/dist/handlers/storage-manager/core/api-core.js +28 -0
- package/dist/handlers/storage-manager/core/astro-context.d.ts +22 -0
- package/dist/handlers/storage-manager/core/astro-context.js +80 -0
- package/dist/handlers/storage-manager/core/database.d.ts +22 -0
- package/dist/handlers/storage-manager/core/database.js +62 -0
- package/dist/handlers/storage-manager/core/no-op-storage-manager.d.ts +18 -0
- package/dist/handlers/storage-manager/core/no-op-storage-manager.js +20 -0
- package/dist/handlers/storage-manager/core/url-mapping.d.ts +43 -0
- package/dist/handlers/storage-manager/core/url-mapping.js +84 -0
- package/dist/handlers/storage-manager/definitions.d.ts +199 -0
- package/dist/handlers/storage-manager/no-op.d.ts +10 -0
- package/dist/handlers/storage-manager/no-op.js +19 -0
- package/dist/index.d.ts +12 -139
- package/dist/index.js +341 -1117
- package/dist/integrations/dynamic-sitemap/index.d.ts +50 -0
- package/dist/integrations/dynamic-sitemap/index.js +49 -0
- package/dist/integrations/dynamic-sitemap/sitemap-index.xml.d.ts +28 -0
- package/dist/integrations/dynamic-sitemap/sitemap-index.xml.js +21 -0
- package/dist/integrations/node-namespace.d.ts +19 -0
- package/dist/integrations/node-namespace.js +35 -0
- package/dist/integrations/plugins.d.ts +3 -0
- package/dist/integrations/plugins.js +6 -0
- package/dist/integrations/robots/core.d.ts +87 -0
- package/dist/integrations/robots/core.js +198 -0
- package/dist/integrations/robots/index.d.ts +11 -0
- package/dist/integrations/robots/index.js +39 -0
- package/dist/integrations/robots/schema.d.ts +279 -0
- package/dist/integrations/robots/schema.js +215 -0
- package/dist/integrations/robots/utils.d.ts +14 -0
- package/dist/integrations/robots/utils.js +18 -0
- package/dist/oAuthUtils.d.ts +38 -0
- package/dist/oAuthUtils.js +17 -0
- package/dist/plugins/analytics/assets/consts.d.ts +35 -0
- package/dist/plugins/analytics/assets/consts.js +22 -0
- package/dist/plugins/analytics/assets/dashboard-grid-items/CoreVitals.astro +66 -0
- package/dist/plugins/analytics/assets/dashboard-grid-items/MetricCard.astro +25 -0
- package/dist/plugins/analytics/assets/dashboard-grid-items/SummaryCard.astro +56 -0
- package/dist/plugins/analytics/assets/dashboard-grid-items/metric.css +103 -0
- package/dist/plugins/analytics/assets/dashboard-grid-items/shared.d.ts +36 -0
- package/dist/plugins/analytics/assets/dashboard-grid-items/shared.js +35 -0
- package/dist/plugins/analytics/assets/pages/analytics/body.astro +187 -0
- package/dist/plugins/analytics/assets/utils/buildDataObject.d.ts +15 -0
- package/dist/plugins/analytics/assets/utils/checkDate.d.ts +11 -0
- package/dist/plugins/analytics/assets/utils/webVitalsUtils.js +234 -0
- package/dist/plugins/analytics/assets/webVital.d.ts +30 -0
- package/dist/plugins/analytics/assets/webVital.js +53 -0
- package/dist/plugins/analytics/assets/webVitalsRouteSummary.d.ts +34 -0
- package/dist/plugins/analytics/assets/webVitalsRouteSummary.js +62 -0
- package/dist/plugins/analytics/assets/webVitalsSummary.js +49 -0
- package/dist/plugins/analytics/client-script.js +28 -0
- package/dist/plugins/analytics/consts.d.ts +4 -0
- package/dist/plugins/analytics/consts.js +4 -0
- package/dist/plugins/analytics/db-client.d.ts +136 -0
- package/dist/plugins/analytics/db-client.js +8 -0
- package/dist/plugins/analytics/i18n/de.d.ts +24 -0
- package/dist/plugins/analytics/i18n/de.js +27 -0
- package/dist/plugins/analytics/i18n/en.d.ts +24 -0
- package/dist/plugins/analytics/i18n/en.js +27 -0
- package/dist/plugins/analytics/i18n/es.d.ts +24 -0
- package/dist/plugins/analytics/i18n/es.js +27 -0
- package/dist/plugins/analytics/i18n/fr.d.ts +24 -0
- package/dist/plugins/analytics/i18n/fr.js +27 -0
- package/dist/plugins/analytics/i18n/nl.d.ts +24 -0
- package/dist/plugins/analytics/i18n/nl.js +27 -0
- package/dist/plugins/analytics/i18n/no.d.ts +24 -0
- package/dist/plugins/analytics/i18n/no.js +27 -0
- package/dist/plugins/analytics/i18n/zh.d.ts +24 -0
- package/dist/plugins/analytics/i18n/zh.js +27 -0
- package/dist/plugins/analytics/index.d.ts +11 -0
- package/dist/plugins/analytics/index.js +95 -0
- package/dist/plugins/analytics/schemas.d.ts +65 -0
- package/dist/plugins/analytics/schemas.js +20 -0
- package/dist/plugins/analytics/table.d.ts +52 -0
- package/dist/plugins/analytics/table.js +32 -0
- package/dist/plugins.d.ts +31 -2
- package/dist/plugins.js +5 -2
- package/dist/runtime/index.d.ts +2 -0
- package/dist/runtime/index.js +7 -0
- package/dist/schemas/config/auth.d.ts +22 -133
- package/dist/schemas/config/auth.js +7 -59
- package/dist/schemas/config/dashboard.d.ts +37 -111
- package/dist/schemas/config/dashboard.js +4 -49
- package/dist/schemas/config/db.d.ts +19 -0
- package/dist/schemas/config/db.js +7 -0
- package/dist/schemas/config/developer.d.ts +36 -6
- package/dist/schemas/config/developer.js +2 -9
- package/dist/schemas/config/index.d.ts +431 -1022
- package/dist/schemas/config/index.js +50 -84
- package/dist/schemas/config/sdk.d.ts +70 -21
- package/dist/schemas/config/sdk.js +7 -6
- package/dist/schemas/plugins/i18n.d.ts +59 -0
- package/dist/schemas/plugins/i18n.js +7 -0
- package/dist/schemas/plugins/index.d.ts +5736 -2644
- package/dist/schemas/plugins/index.js +236 -123
- package/dist/schemas/plugins/shared.d.ts +2311 -274
- package/dist/schemas/plugins/shared.js +154 -16
- package/dist/storage-api.d.ts +36 -0
- package/dist/storage-api.js +50 -0
- package/dist/test-utils.d.ts +141 -0
- package/dist/test-utils.js +273 -0
- package/dist/theme.d.ts +11 -0
- package/dist/toolbar/db-viewer/config.d.ts +20 -0
- package/dist/toolbar/db-viewer/config.js +25 -0
- package/dist/toolbar/db-viewer/db-shared-types.d.ts +11 -0
- package/dist/toolbar/db-viewer/index.d.ts +2 -0
- package/dist/toolbar/db-viewer/index.js +39 -0
- package/dist/toolbar/db-viewer/studio/connection.d.ts +5 -0
- package/dist/toolbar/db-viewer/studio/connection.js +32 -0
- package/dist/toolbar/db-viewer/studio/drivers/base.d.ts +25 -0
- package/dist/toolbar/db-viewer/studio/drivers/base.js +5 -0
- package/dist/toolbar/db-viewer/studio/drivers/mysql.d.ts +22 -0
- package/dist/toolbar/db-viewer/studio/drivers/mysql.js +211 -0
- package/dist/toolbar/db-viewer/studio/drivers/postgres.d.ts +13 -0
- package/dist/toolbar/db-viewer/studio/drivers/postgres.js +62 -0
- package/dist/toolbar/db-viewer/studio/drivers/sqlite.d.ts +19 -0
- package/dist/toolbar/db-viewer/studio/drivers/sqlite.js +107 -0
- package/dist/toolbar/db-viewer/studio/index.d.ts +11 -0
- package/dist/toolbar/db-viewer/studio/index.js +84 -0
- package/dist/toolbar/db-viewer/studio/type.d.ts +32 -0
- package/dist/toolbar/db-viewer/viewer.d.ts +10 -0
- package/dist/toolbar/db-viewer/viewer.js +79 -0
- package/dist/toolbar/utils/app-utils.d.ts +22 -0
- package/dist/toolbar/utils/app-utils.js +40 -0
- package/dist/types.d.ts +114 -16
- package/dist/utils/effects/smtp.d.ts +36 -0
- package/dist/utils/effects/smtp.js +72 -0
- package/dist/utils/lang-helper.d.ts +37 -0
- package/dist/utils/lang-helper.js +60 -0
- package/dist/utils/safeString.d.ts +1 -1
- package/dist/utils/safeString.js +1 -3
- package/dist/utils/stripIconify.d.ts +13 -0
- package/dist/utils/stripIconify.js +11 -0
- package/dist/utils/tinyMDParser.d.ts +7 -0
- package/dist/utils/tinyMDParser.js +9 -0
- package/dist/virtual.d.ts +680 -0
- package/dist/virtuals/auth/core.d.ts +55 -0
- package/dist/virtuals/auth/core.js +45 -0
- package/dist/virtuals/auth/getLabelForPermissionLevel.d.ts +5 -0
- package/dist/virtuals/auth/index.d.ts +159 -0
- package/dist/virtuals/auth/index.js +9 -0
- package/dist/virtuals/auth/scripts/three.d.ts +108 -0
- package/dist/virtuals/auth/scripts/three.js +484 -0
- package/dist/virtuals/auth/scripts/utils/fitModelToViewport.d.ts +10 -0
- package/dist/virtuals/auth/scripts/utils/fitModelToViewport.js +26 -0
- package/dist/virtuals/auth/types.d.ts +83 -0
- package/dist/virtuals/auth/validImages/index.d.ts +13 -0
- package/dist/virtuals/auth/validImages/index.js +39 -0
- package/dist/virtuals/auth/validImages/studiocms-blobs-dark.webp +0 -0
- package/dist/virtuals/auth/validImages/studiocms-blobs-light.webp +0 -0
- package/dist/virtuals/auth/validImages/studiocms-blocks-dark.webp +0 -0
- package/dist/virtuals/auth/validImages/studiocms-blocks-light.webp +0 -0
- package/dist/virtuals/auth/validImages/studiocms-curves-dark.webp +0 -0
- package/dist/virtuals/auth/validImages/studiocms-curves-light.webp +0 -0
- package/dist/virtuals/auth/verify-email.d.ts +59 -0
- package/dist/virtuals/auth/verify-email.js +178 -0
- package/dist/virtuals/components/CustomImage.astro +86 -0
- package/dist/virtuals/components/FormattedDate.astro +19 -0
- package/dist/virtuals/components/Generator.astro +5 -0
- package/dist/virtuals/components/Renderer.astro +62 -0
- package/dist/virtuals/components/renderFn.d.ts +33 -0
- package/dist/virtuals/components/renderFn.js +39 -0
- package/dist/virtuals/components/ultrahtml-transformers/storage-api.d.ts +27 -0
- package/dist/virtuals/components/ultrahtml-transformers/storage-api.js +37 -0
- package/dist/virtuals/i18n/LanguageSelector.astro +65 -0
- package/dist/virtuals/i18n/client.d.ts +1026 -0
- package/dist/virtuals/i18n/client.js +145 -0
- package/dist/virtuals/i18n/config.d.ts +679 -0
- package/dist/virtuals/i18n/config.js +31 -0
- package/dist/virtuals/i18n/overrides.d.ts +6 -0
- package/dist/virtuals/i18n/overrides.js +7 -0
- package/dist/virtuals/i18n/plugin.d.ts +37 -0
- package/dist/virtuals/i18n/plugin.js +69 -0
- package/dist/virtuals/i18n/server.d.ts +141 -0
- package/dist/virtuals/i18n/server.js +75 -0
- package/dist/virtuals/i18n/translations/de.json +546 -0
- package/dist/virtuals/i18n/translations/en.json +546 -0
- package/dist/virtuals/i18n/translations/es.json +546 -0
- package/dist/virtuals/i18n/translations/fr.json +546 -0
- package/dist/virtuals/i18n/translations/hi.json +299 -0
- package/dist/virtuals/i18n/translations/nl.json +546 -0
- package/dist/virtuals/i18n/translations/no.json +546 -0
- package/dist/virtuals/i18n/translations/zh.json +546 -0
- package/dist/virtuals/i18n/v-files.d.ts +53 -0
- package/dist/virtuals/i18n/v-files.js +54 -0
- package/dist/virtuals/lib/head.d.ts +1 -0
- package/dist/virtuals/lib/head.js +1 -0
- package/dist/virtuals/lib/headDefaults.d.ts +18 -0
- package/dist/virtuals/lib/headDefaults.js +77 -0
- package/dist/virtuals/lib/makeAPIRoute.d.ts +45 -0
- package/dist/virtuals/lib/pathGenerators.d.ts +1 -0
- package/dist/virtuals/lib/pathGenerators.js +1 -0
- package/dist/virtuals/lib/routeMap.d.ts +289 -0
- package/dist/virtuals/lib/routeMap.js +281 -0
- package/dist/virtuals/lib/urlGen.d.ts +12 -0
- package/dist/virtuals/lib/urlGen.js +6 -0
- package/dist/virtuals/mailer/index.d.ts +64 -0
- package/dist/virtuals/mailer/index.js +83 -0
- package/dist/virtuals/notifier/client.d.ts +4 -0
- package/dist/virtuals/notifier/client.js +30 -0
- package/dist/virtuals/notifier/index.d.ts +84 -0
- package/dist/virtuals/notifier/index.js +182 -0
- package/dist/virtuals/plugins/dashboard-pages.d.ts +71 -0
- package/dist/virtuals/plugins/frontend-navigation.js +38 -0
- package/dist/virtuals/plugins/index.d.ts +2 -0
- package/dist/virtuals/plugins/index.js +2 -0
- package/dist/virtuals/scripts/StorageFileBrowser.d.ts +165 -0
- package/dist/virtuals/scripts/StorageFileBrowser.js +1592 -0
- package/dist/virtuals/scripts/user-quick-tools.d.ts +94 -0
- package/dist/virtuals/scripts/user-quick-tools.js +667 -0
- package/dist/virtuals/sdk/index.d.ts +185 -0
- package/dist/virtuals/sdk/index.js +56 -0
- package/dist/virtuals/sdk/types.d.ts +4 -0
- package/dist/virtuals/sdk/types.js +1 -0
- package/dist/virtuals/stubs/config.stub.js +10 -0
- package/dist/virtuals/stubs/logger.stub.js +30 -0
- package/dist/virtuals/template-engine/default-templates.d.ts +33 -0
- package/dist/virtuals/template-engine/default-templates.js +218 -0
- package/dist/virtuals/template-engine/index.d.ts +71 -0
- package/dist/virtuals/template-engine/index.js +69 -0
- package/dist/virtuals/utils.d.ts +71 -0
- package/dist/virtuals/utils.js +43 -0
- package/frontend/components/Ambients.astro +14 -0
- package/frontend/components/auth/FallbackCanvas.astro +124 -0
- package/frontend/components/auth/OAuthButton.astro +21 -0
- package/frontend/components/auth/OAuthButtonStack.astro +36 -0
- package/frontend/components/auth/StaticAuthCheck.astro +25 -0
- package/frontend/components/auth/ThreeCanvasLoader.astro +15 -0
- package/frontend/components/dashboard/DashboardGrid.astro +57 -0
- package/frontend/components/dashboard/DashboardGridItem.astro +48 -0
- package/frontend/components/dashboard/DashboardPageHeader.astro +88 -0
- package/frontend/components/dashboard/DoubleSidebar.astro +33 -0
- package/frontend/components/dashboard/Footer.astro +12 -0
- package/frontend/components/dashboard/LoginChecker.astro +68 -0
- package/frontend/components/dashboard/MainSidebarContent.astro +342 -0
- package/frontend/components/dashboard/PageHeader.astro +52 -0
- package/frontend/components/dashboard/SidebarLink.astro +177 -0
- package/frontend/components/dashboard/SidebarModals.astro +13 -0
- package/frontend/components/dashboard/SidebarPluginLink.astro +43 -0
- package/frontend/components/dashboard/SingleSidebar.astro +30 -0
- package/frontend/components/dashboard/UserName.astro +10 -0
- package/frontend/components/dashboard/configuration/ConfigForm.astro +274 -0
- package/frontend/components/dashboard/configuration/LoginPreview.astro +261 -0
- package/frontend/components/dashboard/content-mgmt/ContentSearch.astro +270 -0
- package/frontend/components/dashboard/content-mgmt/CreateFolder.astro +133 -0
- package/frontend/components/dashboard/content-mgmt/CreatePage.astro +565 -0
- package/frontend/components/dashboard/content-mgmt/EditFolder.astro +142 -0
- package/frontend/components/dashboard/content-mgmt/EditPage.astro +868 -0
- package/frontend/components/dashboard/content-mgmt/InnerSidebarElement.astro +183 -0
- package/frontend/components/dashboard/content-mgmt/PageEditorSwapper.astro +107 -0
- package/frontend/components/dashboard/content-mgmt/PageHeader.astro +494 -0
- package/frontend/components/dashboard/content-mgmt/PageTypeHandler.astro +107 -0
- package/frontend/components/dashboard/content-mgmt/PluginFields.astro +7 -0
- package/frontend/components/dashboard/content-mgmt/runtime.ts +42 -0
- package/frontend/components/dashboard/content-mgmt/shared.ts +27 -0
- package/frontend/components/dashboard/plugins/SettingsRenderer.astro +7 -0
- package/frontend/components/dashboard/profile/APITokens.astro +311 -0
- package/frontend/components/dashboard/profile/BasicInfo.astro +191 -0
- package/frontend/components/dashboard/profile/Notifications.astro +241 -0
- package/frontend/components/dashboard/profile/SocialSignin.astro +190 -0
- package/frontend/components/dashboard/profile/UpdatePassword.astro +172 -0
- package/frontend/components/dashboard/sidebar/UserAccount.astro +61 -0
- package/frontend/components/dashboard/sidebar/VersionCheck.astro +152 -0
- package/frontend/components/dashboard/sidebar/VersionCheckChangelog.astro +130 -0
- package/frontend/components/dashboard/sidebar-modals/UserManagementModals.astro +108 -0
- package/frontend/components/dashboard/sidebar-modals/VersionModal.astro +299 -0
- package/frontend/components/dashboard/sidebarConfig.ts +172 -0
- package/frontend/components/dashboard/smtp-config/TemplateEditor.astro +494 -0
- package/frontend/components/dashboard/taxonomy/InnerSidebarElement.astro +271 -0
- package/frontend/components/dashboard/taxonomy/MetaContainer.astro +442 -0
- package/frontend/components/dashboard/taxonomy/PageHeader.astro +486 -0
- package/frontend/components/dashboard/taxonomy/TaxonomySearch.astro +275 -0
- package/frontend/components/dashboard/taxonomy/utils.ts +14 -0
- package/frontend/components/dashboard/user-mgmt/InnerSidebarElement.astro +359 -0
- package/frontend/components/dashboard/user-mgmt/RankCheck.astro +57 -0
- package/frontend/components/dashboard/user-mgmt/SocialSignin.astro +108 -0
- package/frontend/components/dashboard/user-mgmt/UserListItem.astro +143 -0
- package/frontend/components/first-time-setup/PageHeader.astro +61 -0
- package/frontend/components/shared/BaseBody.astro +7 -0
- package/frontend/components/shared/BaseHead.astro +35 -0
- package/frontend/components/shared/Code.astro +76 -0
- package/frontend/components/shared/ComponentRegistryUI.astro +890 -0
- package/frontend/components/shared/DynamicSettingsRenderer.astro +33 -0
- package/frontend/components/shared/SSRUser.astro +243 -0
- package/frontend/components/shared/foldertree/FolderTreeLeaf.astro +287 -0
- package/frontend/components/shared/foldertree/FolderTreeNode.astro +497 -0
- package/frontend/components/shared/foldertree/FolderTreeNodeTree.astro +43 -0
- package/frontend/components/shared/foldertree/FolderTreeRenderer.astro +318 -0
- package/frontend/components/shared/foldertree/shared.ts +17 -0
- package/frontend/components/shared/oAuthButtonProviders.ts +29 -0
- package/frontend/components/shared/storage-manager/BrowserArray.astro +50 -0
- package/frontend/components/shared/storage-manager/BrowserCopyOutput.astro +16 -0
- package/frontend/components/shared/storage-manager/BrowserInputArray.astro +50 -0
- package/frontend/components/shared/storage-manager/StorageCopyOutput.astro +187 -0
- package/frontend/components/shared/storage-manager/StorageFileBrowser.astro +72 -0
- package/frontend/components/shared/storage-manager/StorageFileBrowser.css +1304 -0
- package/frontend/components/shared/storage-manager/StorageInput.astro +43 -0
- package/frontend/components/shared/taxonomy/TaxonomyTreeLeaf.astro +306 -0
- package/frontend/components/shared/taxonomy/TaxonomyTreeNode.astro +456 -0
- package/frontend/components/shared/taxonomy/TaxonomyTreeNodeTree.astro +40 -0
- package/frontend/components/shared/taxonomy/TaxonomyTreeRenderer.astro +415 -0
- package/frontend/components/shared/taxonomy/shared.ts +101 -0
- package/frontend/env.d.ts +3 -0
- package/frontend/fonts/css/onest-variable.css +16 -0
- package/frontend/fonts/css/syntax.css +40 -0
- package/frontend/fonts/woff2/onest-variable.woff2 +0 -0
- package/frontend/layouts/AuthLayout.astro +44 -0
- package/frontend/layouts/BaseLayout.astro +24 -0
- package/frontend/layouts/DashboardLayout.astro +115 -0
- package/frontend/layouts/FirstTimeSetupLayout.astro +29 -0
- package/frontend/layouts/TaxonomyLayout.astro +153 -0
- package/frontend/middleware/error-handler.ts +72 -0
- package/frontend/middleware/index.ts +185 -0
- package/frontend/middleware/templates/errors.ts +237 -0
- package/frontend/middleware/utils.ts +192 -0
- package/frontend/pages/404.astro +73 -0
- package/frontend/pages/[dashboard]/[...pluginPage].astro +92 -0
- package/frontend/pages/[dashboard]/configuration.astro +72 -0
- package/frontend/pages/[dashboard]/content-management/createfolder.astro +99 -0
- package/frontend/pages/[dashboard]/content-management/createpage.astro +104 -0
- package/frontend/pages/[dashboard]/content-management/diff.astro +367 -0
- package/frontend/pages/[dashboard]/content-management/editfolder.astro +97 -0
- package/frontend/pages/[dashboard]/content-management/editpage.astro +113 -0
- package/frontend/pages/[dashboard]/content-management/index.astro +107 -0
- package/frontend/pages/[dashboard]/index.astro +61 -0
- package/frontend/pages/[dashboard]/login.astro +269 -0
- package/frontend/pages/[dashboard]/logout.astro +153 -0
- package/frontend/pages/[dashboard]/password-reset.astro +245 -0
- package/frontend/pages/[dashboard]/plugins/[plugin].astro +109 -0
- package/frontend/pages/[dashboard]/profile.astro +89 -0
- package/frontend/pages/[dashboard]/signup.astro +123 -0
- package/frontend/pages/[dashboard]/smtp-configuration.astro +756 -0
- package/frontend/pages/[dashboard]/system-management.astro +446 -0
- package/frontend/pages/[dashboard]/taxonomy/categories.astro +284 -0
- package/frontend/pages/[dashboard]/taxonomy/index.astro +36 -0
- package/frontend/pages/[dashboard]/taxonomy/shared-client.ts +124 -0
- package/frontend/pages/[dashboard]/taxonomy/tags.astro +206 -0
- package/frontend/pages/[dashboard]/unverified-email.astro +125 -0
- package/frontend/pages/[dashboard]/user-management/edit.astro +692 -0
- package/frontend/pages/[dashboard]/user-management/index.astro +108 -0
- package/frontend/pages/studiocms_api/auth/[path].ts +390 -0
- package/frontend/pages/studiocms_api/auth/[provider]/[...id].ts +64 -0
- package/frontend/pages/studiocms_api/auth/[provider]/_effects/index.ts +101 -0
- package/frontend/pages/studiocms_api/auth/_shared.ts +52 -0
- package/frontend/pages/studiocms_api/dashboard/api-tokens.ts +115 -0
- package/frontend/pages/studiocms_api/dashboard/config.ts +74 -0
- package/frontend/pages/studiocms_api/dashboard/content/diff.ts +73 -0
- package/frontend/pages/studiocms_api/dashboard/content/folder.ts +220 -0
- package/frontend/pages/studiocms_api/dashboard/content/page.ts +356 -0
- package/frontend/pages/studiocms_api/dashboard/create-reset-link.ts +77 -0
- package/frontend/pages/studiocms_api/dashboard/create-user-invite.ts +231 -0
- package/frontend/pages/studiocms_api/dashboard/create-user.ts +186 -0
- package/frontend/pages/studiocms_api/dashboard/email-notification-settings-site.ts +74 -0
- package/frontend/pages/studiocms_api/dashboard/mailer/check-email.ts +75 -0
- package/frontend/pages/studiocms_api/dashboard/mailer/config.ts +136 -0
- package/frontend/pages/studiocms_api/dashboard/plugins/[plugin].ts +80 -0
- package/frontend/pages/studiocms_api/dashboard/profile.ts +245 -0
- package/frontend/pages/studiocms_api/dashboard/resend-verify-email.ts +77 -0
- package/frontend/pages/studiocms_api/dashboard/reset-password.ts +124 -0
- package/frontend/pages/studiocms_api/dashboard/search-list.ts +59 -0
- package/frontend/pages/studiocms_api/dashboard/taxonomy-search.ts +47 -0
- package/frontend/pages/studiocms_api/dashboard/taxonomy.ts +230 -0
- package/frontend/pages/studiocms_api/dashboard/templates.ts +74 -0
- package/frontend/pages/studiocms_api/dashboard/update-user-notifications.ts +86 -0
- package/frontend/pages/studiocms_api/dashboard/users.ts +236 -0
- package/frontend/pages/studiocms_api/dashboard/verify-email.ts +83 -0
- package/frontend/pages/studiocms_api/dashboard/verify-session.ts +187 -0
- package/frontend/pages/studiocms_api/integrations/[type]/[...id].ts +15 -0
- package/frontend/pages/studiocms_api/integrations/[type]/_routes/db-studio.ts +174 -0
- package/frontend/pages/studiocms_api/integrations/[type]/_routes/storage.ts +88 -0
- package/frontend/pages/studiocms_api/partials/editor.astro +74 -0
- package/frontend/pages/studiocms_api/partials/render.astro +39 -0
- package/frontend/pages/studiocms_api/partials/user-list-items.astro +43 -0
- package/frontend/pages/studiocms_api/rest/utils/auth-token.ts +59 -0
- package/frontend/pages/studiocms_api/rest/v1/[type]/[...id].ts +23 -0
- package/frontend/pages/studiocms_api/rest/v1/[type]/_routes/categories.ts +267 -0
- package/frontend/pages/studiocms_api/rest/v1/[type]/_routes/folders.ts +283 -0
- package/frontend/pages/studiocms_api/rest/v1/[type]/_routes/pages.ts +502 -0
- package/frontend/pages/studiocms_api/rest/v1/[type]/_routes/settings.ts +100 -0
- package/frontend/pages/studiocms_api/rest/v1/[type]/_routes/tags.ts +229 -0
- package/frontend/pages/studiocms_api/rest/v1/[type]/_routes/users.ts +553 -0
- package/frontend/pages/studiocms_api/rest/v1/public/[type]/[...id].ts +19 -0
- package/frontend/pages/studiocms_api/rest/v1/public/[type]/_routes/categories.ts +74 -0
- package/frontend/pages/studiocms_api/rest/v1/public/[type]/_routes/folders.ts +85 -0
- package/frontend/pages/studiocms_api/rest/v1/public/[type]/_routes/pages.ts +103 -0
- package/frontend/pages/studiocms_api/rest/v1/public/[type]/_routes/tags.ts +67 -0
- package/frontend/pages/studiocms_api/sdk/[...path].ts +97 -0
- package/frontend/pages/studiocms_api/sdk/utils/changelog.ts +119 -0
- package/frontend/scripts/auth/formListener.ts +81 -0
- package/frontend/scripts/dateTimeListener.ts +28 -0
- package/frontend/scripts/dateWithTimeAndZone.ts +45 -0
- package/frontend/scripts/formdata-utils.ts +116 -0
- package/frontend/scripts/timeAgo.ts +66 -0
- package/frontend/setup-pages/1-start.astro +165 -0
- package/frontend/setup-pages/2-next.astro +226 -0
- package/frontend/setup-pages/3-done.astro +93 -0
- package/frontend/setup-pages/index.astro +6 -0
- package/frontend/setup-pages/shared.ts +10 -0
- package/frontend/setup-pages/studiocms_api/dashboard/step-1.ts +137 -0
- package/frontend/setup-pages/studiocms_api/dashboard/step-2.ts +131 -0
- package/frontend/styles/404.css +52 -0
- package/frontend/styles/auth-layout.css +163 -0
- package/frontend/styles/code-component.css +64 -0
- package/frontend/styles/dashboard-base.css +542 -0
- package/frontend/styles/dashboard-diff.css +375 -0
- package/frontend/styles/folder-tree.css +467 -0
- package/frontend/utils/build-partial-schema.ts +46 -0
- package/frontend/utils/errors.ts +6 -0
- package/frontend/utils/param-extractor.ts +83 -0
- package/frontend/utils/rest-router.ts +445 -0
- package/frontend/web-vitals/endpoint.ts +39 -0
- package/frontend/web-vitals/middleware.ts +67 -0
- package/package.json +192 -124
- package/studiocms-cli.mjs +1 -1
- package/ui.d.ts +1311 -289
- package/auth.d.ts +0 -405
- package/core.d.ts +0 -225
- package/custom-renderers/index.ts +0 -4
- package/custom-renderers/markdocRenderers/markdocReact-components/MarkDocReactRenderer.tsx +0 -8
- package/custom-renderers/markdocRenderers/markdocReact-components/MarkDocReactWrapper.astro +0 -13
- package/custom-renderers/markdocRenderers/markdocReact.ts +0 -56
- package/dist/cli/cmds/get-turso.js +0 -10
- package/dist/cli/cmds/init/index.d.ts +0 -4
- package/dist/cli/cmds/init/index.js +0 -52
- package/dist/cli/cmds/init/steps/data/studiocmsEnv.d.ts +0 -3
- package/dist/cli/cmds/init/steps/data/studiocmsEnv.js +0 -71
- package/dist/cli/cmds/init/steps/envBuilder.d.ts +0 -21
- package/dist/cli/cmds/init/steps/envBuilder.js +0 -368
- package/dist/cli/cmds/init/steps/nextSteps.d.ts +0 -2
- package/dist/cli/cmds/init/steps/nextSteps.js +0 -38
- package/dist/cli/cmds/init.d.ts +0 -1
- package/dist/cli/cmds/init.js +0 -4
- package/dist/cli/lib/commander.d.ts +0 -39
- package/dist/cli/lib/commander.js +0 -87
- package/dist/cli/lib/context.d.ts +0 -28
- package/dist/cli/lib/context.js +0 -55
- package/dist/cli/lib/pathUtil.d.ts +0 -5
- package/dist/cli/lib/pathUtil.js +0 -14
- package/dist/cli/lib/runExternal.d.ts +0 -20
- package/dist/cli/lib/runExternal.js +0 -40
- package/dist/cli/lib/utils.d.ts +0 -55
- package/dist/cli/lib/utils.js +0 -310
- package/dist/cli/shared/intro.d.ts +0 -2
- package/dist/cli/shared/intro.js +0 -24
- package/dist/components/DefaultEditor.astro +0 -138
- package/dist/components/FormattedDate.astro +0 -12
- package/dist/components/Generator.astro +0 -7
- package/dist/components/Renderer.astro +0 -13
- package/dist/components/auth/OAuthButton.astro +0 -21
- package/dist/components/auth/OAuthButtonStack.astro +0 -19
- package/dist/components/auth/StaticAuthCheck.astro +0 -20
- package/dist/components/auth/oAuthButtonProviders.d.ts +0 -8
- package/dist/components/auth/oAuthButtonProviders.js +0 -35
- package/dist/components/dashboard/AstroCodeDiffsScript.astro +0 -25
- package/dist/components/dashboard/BaseHead.astro +0 -41
- package/dist/components/dashboard/Code.astro +0 -23
- package/dist/components/dashboard/DashboardPageHeader.astro +0 -60
- package/dist/components/dashboard/DoubleSidebar.astro +0 -26
- package/dist/components/dashboard/Footer.astro +0 -16
- package/dist/components/dashboard/MainSidebarContent.astro +0 -124
- package/dist/components/dashboard/PageHeader.astro +0 -52
- package/dist/components/dashboard/SidebarLink.astro +0 -61
- package/dist/components/dashboard/SidebarModals.astro +0 -6
- package/dist/components/dashboard/SidebarPluginLink.astro +0 -45
- package/dist/components/dashboard/SingleSidebar.astro +0 -23
- package/dist/components/dashboard/component-scripts/TinyMDE.astro +0 -6
- package/dist/components/dashboard/component-scripts/dateTimeListener.d.ts +0 -1
- package/dist/components/dashboard/component-scripts/dateTimeListener.js +0 -14
- package/dist/components/dashboard/component-scripts/dateWithTimeAndZone.d.ts +0 -1
- package/dist/components/dashboard/component-scripts/dateWithTimeAndZone.js +0 -12
- package/dist/components/dashboard/component-scripts/makeClientRoutable.d.ts +0 -1
- package/dist/components/dashboard/component-scripts/makeClientRoutable.js +0 -9
- package/dist/components/dashboard/component-scripts/timeAgo.d.ts +0 -1
- package/dist/components/dashboard/component-scripts/timeAgo.js +0 -21
- package/dist/components/dashboard/islands/LoginChecker.astro +0 -52
- package/dist/components/dashboard/islands/configuration/ConfigForm.astro +0 -272
- package/dist/components/dashboard/islands/configuration/LightVsDark.astro +0 -67
- package/dist/components/dashboard/islands/content-mgmt/CreateFolder.astro +0 -91
- package/dist/components/dashboard/islands/content-mgmt/CreatePage.astro +0 -332
- package/dist/components/dashboard/islands/content-mgmt/EditFolder.astro +0 -112
- package/dist/components/dashboard/islands/content-mgmt/EditPage.astro +0 -388
- package/dist/components/dashboard/islands/content-mgmt/InnerSidebarElement.astro +0 -230
- package/dist/components/dashboard/islands/content-mgmt/PageHeader.astro +0 -387
- package/dist/components/dashboard/islands/content-mgmt/PageList.astro +0 -49
- package/dist/components/dashboard/islands/content-mgmt/PluginFields.astro +0 -29
- package/dist/components/dashboard/islands/content-mgmt/TreeRenderer.astro +0 -75
- package/dist/components/dashboard/islands/content-mgmt/TreeSidebarFolder.astro +0 -53
- package/dist/components/dashboard/islands/content-mgmt/TreeSidebarLink.astro +0 -51
- package/dist/components/dashboard/islands/content-mgmt/runtime.d.ts +0 -10
- package/dist/components/dashboard/islands/content-mgmt/runtime.js +0 -33
- package/dist/components/dashboard/islands/content-mgmt/shared.d.ts +0 -27
- package/dist/components/dashboard/islands/content-mgmt/shared.js +0 -31
- package/dist/components/dashboard/islands/dashboard/DashboardGrid.astro +0 -39
- package/dist/components/dashboard/islands/dashboard/DashboardGridItem.astro +0 -34
- package/dist/components/dashboard/islands/dashboard/Test.astro +0 -5
- package/dist/components/dashboard/islands/dashboard/UserName.astro +0 -6
- package/dist/components/dashboard/islands/dashboard/shared.d.ts +0 -2
- package/dist/components/dashboard/islands/plugins/SettingsRenderer.astro +0 -29
- package/dist/components/dashboard/islands/profile/APITokens.astro +0 -267
- package/dist/components/dashboard/islands/profile/BasicInfo.astro +0 -107
- package/dist/components/dashboard/islands/profile/BasicInfoFallback.astro +0 -43
- package/dist/components/dashboard/islands/profile/SocialSignin.astro +0 -151
- package/dist/components/dashboard/islands/profile/SocialSigninFallback.astro +0 -83
- package/dist/components/dashboard/islands/profile/UpdatePassword.astro +0 -137
- package/dist/components/dashboard/islands/profile/UpdatePasswordFallback.astro +0 -47
- package/dist/components/dashboard/islands/profile/oAuthButtonProviders.d.ts +0 -8
- package/dist/components/dashboard/islands/profile/oAuthButtonProviders.js +0 -35
- package/dist/components/dashboard/islands/sidebar/Admin.astro +0 -103
- package/dist/components/dashboard/islands/sidebar/Editor.astro +0 -18
- package/dist/components/dashboard/islands/sidebar/UserAccount.astro +0 -23
- package/dist/components/dashboard/islands/sidebar/VersionCheck.astro +0 -127
- package/dist/components/dashboard/islands/sidebar/VersionCheckChangelog.astro +0 -107
- package/dist/components/dashboard/islands/user-mgmt/InnerSidebarElement.astro +0 -298
- package/dist/components/dashboard/islands/user-mgmt/RankCheck.astro +0 -49
- package/dist/components/dashboard/islands/user-mgmt/SocialSignin.astro +0 -88
- package/dist/components/dashboard/islands/user-mgmt/UserListItem.astro +0 -60
- package/dist/components/dashboard/sidebar-modals/UserManagementModals.astro +0 -103
- package/dist/components/dashboard/sidebar-modals/VersionModal.astro +0 -267
- package/dist/components/dashboard/sidebarConfig.d.ts +0 -31
- package/dist/components/dashboard/sidebarConfig.js +0 -90
- package/dist/components/default-grid-items/Recently-created-pages.astro +0 -91
- package/dist/components/default-grid-items/Recently-signed-up.astro +0 -71
- package/dist/components/default-grid-items/Recently-updated-pages.astro +0 -96
- package/dist/components/default-grid-items/Totals.astro +0 -107
- package/dist/components/default-grid-items/utils.js +0 -26
- package/dist/components/image/CustomImage.astro +0 -90
- package/dist/components/user-quick-tools.d.ts +0 -42
- package/dist/components/user-quick-tools.js +0 -312
- package/dist/db/config.d.ts +0 -4
- package/dist/db/config.js +0 -6
- package/dist/db/tables.js +0 -168
- package/dist/layouts/auth/AuthLayout.astro +0 -74
- package/dist/layouts/auth/FallbackCanvas.astro +0 -123
- package/dist/layouts/auth/ThemeManager.astro +0 -53
- package/dist/layouts/auth/ThreeCanvasLoader.astro +0 -18
- package/dist/layouts/dashboard/Layout.astro +0 -64
- package/dist/lib/auth/encryption.d.ts +0 -30
- package/dist/lib/auth/encryption.js +0 -39
- package/dist/lib/auth/password.d.ts +0 -27
- package/dist/lib/auth/password.js +0 -42
- package/dist/lib/auth/rate-limit.d.ts +0 -136
- package/dist/lib/auth/rate-limit.js +0 -214
- package/dist/lib/auth/session.d.ts +0 -85
- package/dist/lib/auth/session.js +0 -93
- package/dist/lib/auth/types.d.ts +0 -83
- package/dist/lib/auth/user.d.ts +0 -148
- package/dist/lib/auth/user.js +0 -133
- package/dist/lib/dashboardGrid.d.ts +0 -119
- package/dist/lib/dynamic-sitemap/index.d.ts +0 -42
- package/dist/lib/dynamic-sitemap/index.js +0 -45
- package/dist/lib/dynamic-sitemap/sitemap-index.xml.d.ts +0 -8
- package/dist/lib/dynamic-sitemap/sitemap-index.xml.js +0 -20
- package/dist/lib/dynamic-sitemap/sitemap-index.xml.ts +0 -45
- package/dist/lib/head.d.ts +0 -9
- package/dist/lib/head.js +0 -65
- package/dist/lib/headDefaults.d.ts +0 -18
- package/dist/lib/headDefaults.js +0 -75
- package/dist/lib/i18n/LanguageSelector.astro +0 -103
- package/dist/lib/i18n/config.d.ts +0 -16
- package/dist/lib/i18n/config.js +0 -8
- package/dist/lib/i18n/index.d.ts +0 -228
- package/dist/lib/i18n/index.js +0 -63
- package/dist/lib/i18n/translations/de.json +0 -63
- package/dist/lib/i18n/translations/en-us.json +0 -63
- package/dist/lib/i18n/translations/es.json +0 -63
- package/dist/lib/i18n/translations/fr.json +0 -63
- package/dist/lib/index.d.ts +0 -7
- package/dist/lib/index.js +0 -7
- package/dist/lib/jsonUtils.d.ts +0 -2
- package/dist/lib/jsonUtils.js +0 -11
- package/dist/lib/makeAPIRoute.d.ts +0 -45
- package/dist/lib/pathGenerators.d.ts +0 -20
- package/dist/lib/pathGenerators.js +0 -66
- package/dist/lib/plugins/dashboard-pages.d.ts +0 -71
- package/dist/lib/plugins/frontend-navigation.js +0 -39
- package/dist/lib/plugins/index.d.ts +0 -2
- package/dist/lib/plugins/index.js +0 -2
- package/dist/lib/removeLeadingTrailingSlashes.d.ts +0 -7
- package/dist/lib/removeLeadingTrailingSlashes.js +0 -13
- package/dist/lib/renderer/astro-remark.d.ts +0 -13
- package/dist/lib/renderer/astro-remark.js +0 -11
- package/dist/lib/renderer/contentRenderer.d.ts +0 -13
- package/dist/lib/renderer/contentRenderer.js +0 -31
- package/dist/lib/renderer/errors.d.ts +0 -5
- package/dist/lib/renderer/errors.js +0 -25
- package/dist/lib/renderer/markdoc-renderers/markdocHTML.d.ts +0 -3
- package/dist/lib/renderer/markdoc-renderers/markdocHTML.js +0 -14
- package/dist/lib/renderer/markdoc-renderers/markdocReactStatic.d.ts +0 -3
- package/dist/lib/renderer/markdoc-renderers/markdocReactStatic.js +0 -14
- package/dist/lib/renderer/markdoc.d.ts +0 -11
- package/dist/lib/renderer/markdoc.js +0 -28
- package/dist/lib/renderer/mdx.d.ts +0 -10
- package/dist/lib/renderer/mdx.js +0 -37
- package/dist/lib/renderer/runtime.d.ts +0 -8
- package/dist/lib/renderer/runtime.js +0 -30
- package/dist/lib/renderer/shared.d.ts +0 -15
- package/dist/lib/renderer/shared.js +0 -13
- package/dist/lib/renderer/studiocms.d.ts +0 -11
- package/dist/lib/renderer/studiocms.js +0 -22
- package/dist/lib/renderer/types.d.ts +0 -12
- package/dist/lib/robots/core.d.ts +0 -24
- package/dist/lib/robots/core.js +0 -187
- package/dist/lib/robots/index.d.ts +0 -11
- package/dist/lib/robots/index.js +0 -47
- package/dist/lib/robots/types.d.ts +0 -185
- package/dist/lib/robots/utils.d.ts +0 -22
- package/dist/lib/robots/utils.js +0 -22
- package/dist/lib/routeMap.d.ts +0 -257
- package/dist/lib/routeMap.js +0 -249
- package/dist/lib/urlGen.d.ts +0 -11
- package/dist/lib/urlGen.js +0 -26
- package/dist/lib/webVitals/checkForWebVitalsPlugin.d.ts +0 -18
- package/dist/lib/webVitals/checkForWebVitalsPlugin.js +0 -82
- package/dist/lib/webVitals/consts.d.ts +0 -240
- package/dist/lib/webVitals/consts.js +0 -40
- package/dist/lib/webVitals/dashboard-grid-items/CoreVitals.astro +0 -66
- package/dist/lib/webVitals/dashboard-grid-items/MetricCard.astro +0 -24
- package/dist/lib/webVitals/dashboard-grid-items/SummaryCard.astro +0 -56
- package/dist/lib/webVitals/dashboard-grid-items/metric.css +0 -103
- package/dist/lib/webVitals/dashboard-grid-items/shared.d.ts +0 -29
- package/dist/lib/webVitals/dashboard-grid-items/shared.js +0 -35
- package/dist/lib/webVitals/pages/analytics/body.astro +0 -186
- package/dist/lib/webVitals/utils/buildDataObject.d.ts +0 -8
- package/dist/lib/webVitals/utils/checkDate.d.ts +0 -5
- package/dist/lib/webVitals/utils/webVitalsUtils.js +0 -234
- package/dist/lib/webVitals/webVital.d.ts +0 -20
- package/dist/lib/webVitals/webVital.js +0 -40
- package/dist/lib/webVitals/webVitalsRouteSummary.d.ts +0 -19
- package/dist/lib/webVitals/webVitalsRouteSummary.js +0 -59
- package/dist/lib/webVitals/webVitalsSummary.js +0 -49
- package/dist/routes/api/render.astro +0 -25
- package/dist/routes/auth/api/auth0/callback.d.ts +0 -4
- package/dist/routes/auth/api/auth0/callback.js +0 -117
- package/dist/routes/auth/api/auth0/index.d.ts +0 -4
- package/dist/routes/auth/api/auth0/index.js +0 -36
- package/dist/routes/auth/api/auth0/shared.d.ts +0 -13
- package/dist/routes/auth/api/auth0/shared.js +0 -24
- package/dist/routes/auth/api/discord/callback.d.ts +0 -4
- package/dist/routes/auth/api/discord/callback.js +0 -112
- package/dist/routes/auth/api/discord/index.d.ts +0 -4
- package/dist/routes/auth/api/discord/index.js +0 -36
- package/dist/routes/auth/api/discord/shared.d.ts +0 -12
- package/dist/routes/auth/api/discord/shared.js +0 -17
- package/dist/routes/auth/api/github/callback.d.ts +0 -4
- package/dist/routes/auth/api/github/callback.js +0 -112
- package/dist/routes/auth/api/github/index.d.ts +0 -4
- package/dist/routes/auth/api/github/index.js +0 -36
- package/dist/routes/auth/api/github/shared.d.ts +0 -13
- package/dist/routes/auth/api/github/shared.js +0 -14
- package/dist/routes/auth/api/google/callback.d.ts +0 -4
- package/dist/routes/auth/api/google/callback.js +0 -115
- package/dist/routes/auth/api/google/index.d.ts +0 -4
- package/dist/routes/auth/api/google/index.js +0 -38
- package/dist/routes/auth/api/google/shared.d.ts +0 -12
- package/dist/routes/auth/api/google/shared.js +0 -19
- package/dist/routes/auth/api/login.d.ts +0 -4
- package/dist/routes/auth/api/login.js +0 -46
- package/dist/routes/auth/api/logout.d.ts +0 -5
- package/dist/routes/auth/api/logout.js +0 -55
- package/dist/routes/auth/api/register.d.ts +0 -4
- package/dist/routes/auth/api/register.js +0 -64
- package/dist/routes/auth/api/shared.d.ts +0 -2
- package/dist/routes/auth/api/shared.js +0 -21
- package/dist/routes/auth/login.astro +0 -67
- package/dist/routes/auth/logout.astro +0 -28
- package/dist/routes/auth/signup.astro +0 -70
- package/dist/routes/dashboard/[...pluginPage].astro +0 -88
- package/dist/routes/dashboard/configuration.astro +0 -27
- package/dist/routes/dashboard/content-management/createfolder.astro +0 -56
- package/dist/routes/dashboard/content-management/createpage.astro +0 -59
- package/dist/routes/dashboard/content-management/diff.astro +0 -100
- package/dist/routes/dashboard/content-management/editfolder.astro +0 -40
- package/dist/routes/dashboard/content-management/editpage.astro +0 -44
- package/dist/routes/dashboard/content-management/index.astro +0 -57
- package/dist/routes/dashboard/index.astro +0 -24
- package/dist/routes/dashboard/password-reset.astro +0 -169
- package/dist/routes/dashboard/plugins/[plugin].astro +0 -60
- package/dist/routes/dashboard/profile.astro +0 -57
- package/dist/routes/dashboard/studiocms_api/dashboard/api-tokens.d.ts +0 -5
- package/dist/routes/dashboard/studiocms_api/dashboard/api-tokens.js +0 -90
- package/dist/routes/dashboard/studiocms_api/dashboard/config.d.ts +0 -4
- package/dist/routes/dashboard/studiocms_api/dashboard/config.js +0 -63
- package/dist/routes/dashboard/studiocms_api/dashboard/content/folder.d.ts +0 -6
- package/dist/routes/dashboard/studiocms_api/dashboard/content/folder.js +0 -121
- package/dist/routes/dashboard/studiocms_api/dashboard/content/page.d.ts +0 -6
- package/dist/routes/dashboard/studiocms_api/dashboard/content/page.js +0 -257
- package/dist/routes/dashboard/studiocms_api/dashboard/create-reset-link.d.ts +0 -4
- package/dist/routes/dashboard/studiocms_api/dashboard/create-reset-link.js +0 -59
- package/dist/routes/dashboard/studiocms_api/dashboard/create-user-invite.d.ts +0 -4
- package/dist/routes/dashboard/studiocms_api/dashboard/create-user-invite.js +0 -105
- package/dist/routes/dashboard/studiocms_api/dashboard/create-user.d.ts +0 -4
- package/dist/routes/dashboard/studiocms_api/dashboard/create-user.js +0 -100
- package/dist/routes/dashboard/studiocms_api/dashboard/partials/Editor.astro +0 -61
- package/dist/routes/dashboard/studiocms_api/dashboard/partials/LiveRender.astro +0 -30
- package/dist/routes/dashboard/studiocms_api/dashboard/partials/UserListItems.astro +0 -39
- package/dist/routes/dashboard/studiocms_api/dashboard/plugins/[plugin].d.ts +0 -2
- package/dist/routes/dashboard/studiocms_api/dashboard/plugins/[plugin].js +0 -32
- package/dist/routes/dashboard/studiocms_api/dashboard/profile.d.ts +0 -4
- package/dist/routes/dashboard/studiocms_api/dashboard/profile.js +0 -130
- package/dist/routes/dashboard/studiocms_api/dashboard/reset-password.d.ts +0 -4
- package/dist/routes/dashboard/studiocms_api/dashboard/reset-password.js +0 -105
- package/dist/routes/dashboard/studiocms_api/dashboard/search-list.d.ts +0 -4
- package/dist/routes/dashboard/studiocms_api/dashboard/search-list.js +0 -55
- package/dist/routes/dashboard/studiocms_api/dashboard/users.d.ts +0 -5
- package/dist/routes/dashboard/studiocms_api/dashboard/users.js +0 -92
- package/dist/routes/dashboard/studiocms_api/dashboard/verify-session.d.ts +0 -2
- package/dist/routes/dashboard/studiocms_api/dashboard/verify-session.js +0 -72
- package/dist/routes/dashboard/user-management/edit.astro +0 -593
- package/dist/routes/dashboard/user-management/index.astro +0 -67
- package/dist/routes/error-pages/404.astro +0 -35
- package/dist/routes/firstTimeSetupRoutes/1-start.astro +0 -253
- package/dist/routes/firstTimeSetupRoutes/2-next.astro +0 -208
- package/dist/routes/firstTimeSetupRoutes/3-done.astro +0 -95
- package/dist/routes/firstTimeSetupRoutes/api/step-1.d.ts +0 -2
- package/dist/routes/firstTimeSetupRoutes/api/step-1.js +0 -126
- package/dist/routes/firstTimeSetupRoutes/api/step-2.d.ts +0 -2
- package/dist/routes/firstTimeSetupRoutes/api/step-2.js +0 -110
- package/dist/routes/firstTimeSetupRoutes/components/Layout.astro +0 -41
- package/dist/routes/firstTimeSetupRoutes/components/PageHeader.astro +0 -60
- package/dist/routes/firstTimeSetupRoutes/components/TabItem.astro +0 -44
- package/dist/routes/firstTimeSetupRoutes/components/Tabs.astro +0 -170
- package/dist/routes/rest/utils/auth-token.d.ts +0 -17
- package/dist/routes/rest/utils/auth-token.js +0 -31
- package/dist/routes/rest/v1/folders/[id].d.ts +0 -6
- package/dist/routes/rest/v1/folders/[id].js +0 -106
- package/dist/routes/rest/v1/folders/index.d.ts +0 -5
- package/dist/routes/rest/v1/folders/index.js +0 -88
- package/dist/routes/rest/v1/pages/[id]/history/[diffid].d.ts +0 -4
- package/dist/routes/rest/v1/pages/[id]/history/[diffid].js +0 -55
- package/dist/routes/rest/v1/pages/[id]/history/index.d.ts +0 -4
- package/dist/routes/rest/v1/pages/[id]/history/index.js +0 -61
- package/dist/routes/rest/v1/pages/[id]/index.d.ts +0 -6
- package/dist/routes/rest/v1/pages/[id]/index.js +0 -165
- package/dist/routes/rest/v1/pages/index.d.ts +0 -5
- package/dist/routes/rest/v1/pages/index.js +0 -113
- package/dist/routes/rest/v1/public/folders/[id].d.ts +0 -4
- package/dist/routes/rest/v1/public/folders/[id].js +0 -43
- package/dist/routes/rest/v1/public/folders/index.d.ts +0 -4
- package/dist/routes/rest/v1/public/folders/index.js +0 -49
- package/dist/routes/rest/v1/public/pages/[id].d.ts +0 -4
- package/dist/routes/rest/v1/public/pages/[id].js +0 -46
- package/dist/routes/rest/v1/public/pages/index.d.ts +0 -4
- package/dist/routes/rest/v1/public/pages/index.js +0 -61
- package/dist/routes/rest/v1/settings/index.d.ts +0 -5
- package/dist/routes/rest/v1/settings/index.js +0 -75
- package/dist/routes/rest/v1/users/[id].d.ts +0 -6
- package/dist/routes/rest/v1/users/[id].js +0 -212
- package/dist/routes/rest/v1/users/index.d.ts +0 -5
- package/dist/routes/rest/v1/users/index.js +0 -138
- package/dist/routes/sdk/fallback-list-pages.json.d.ts +0 -2
- package/dist/routes/sdk/fallback-list-pages.json.js +0 -19
- package/dist/routes/sdk/fallback-list-pages.json.ts +0 -22
- package/dist/routes/sdk/full-changelog.json.d.ts +0 -16
- package/dist/routes/sdk/full-changelog.json.js +0 -170
- package/dist/routes/sdk/full-changelog.json.ts +0 -224
- package/dist/routes/sdk/list-pages.d.ts +0 -4
- package/dist/routes/sdk/list-pages.js +0 -34
- package/dist/routes/sdk/update-latest-version-cache.d.ts +0 -4
- package/dist/routes/sdk/update-latest-version-cache.js +0 -41
- package/dist/runtime/AstroComponentProxy.d.ts +0 -29
- package/dist/runtime/AstroComponentProxy.js +0 -47
- package/dist/runtime/decoder/decode-codepoint.d.ts +0 -18
- package/dist/runtime/decoder/decode-codepoint.js +0 -58
- package/dist/runtime/decoder/decode-data-html.d.ts +0 -1
- package/dist/runtime/decoder/decode-data-html.js +0 -7
- package/dist/runtime/decoder/decode-data-xml.d.ts +0 -1
- package/dist/runtime/decoder/decode-data-xml.js +0 -7
- package/dist/runtime/decoder/index.d.ts +0 -34
- package/dist/runtime/decoder/index.js +0 -18
- package/dist/runtime/decoder/util.d.ts +0 -208
- package/dist/runtime/decoder/util.js +0 -415
- package/dist/schemas/config/componentoverrides.d.ts +0 -17
- package/dist/schemas/config/componentoverrides.js +0 -14
- package/dist/schemas/config/defaultFrontend.d.ts +0 -125
- package/dist/schemas/config/defaultFrontend.js +0 -57
- package/dist/schemas/config/imageService.d.ts +0 -13
- package/dist/schemas/config/imageService.js +0 -12
- package/dist/schemas/config/integrations.d.ts +0 -14
- package/dist/schemas/config/integrations.js +0 -12
- package/dist/schemas/config/markdoc.d.ts +0 -172
- package/dist/schemas/config/markdoc.js +0 -68
- package/dist/schemas/config/mdx.d.ts +0 -455
- package/dist/schemas/config/mdx.js +0 -71
- package/dist/schemas/config/rendererConfig.d.ts +0 -659
- package/dist/schemas/config/rendererConfig.js +0 -51
- package/dist/schemas/config/studiocms-markdown-remark.d.ts +0 -292
- package/dist/schemas/config/studiocms-markdown-remark.js +0 -63
- package/dist/scripts/formListener.d.ts +0 -16
- package/dist/scripts/formListener.js +0 -46
- package/dist/scripts/three.d.ts +0 -1
- package/dist/scripts/three.js +0 -278
- package/dist/scripts/utils/fitModelToViewport.d.ts +0 -8
- package/dist/scripts/utils/fitModelToViewport.js +0 -19
- package/dist/sdk/StudioCMSVirtualCache.d.ts +0 -283
- package/dist/sdk/StudioCMSVirtualCache.js +0 -685
- package/dist/sdk/cache.d.ts +0 -11
- package/dist/sdk/cache.js +0 -12
- package/dist/sdk/core.d.ts +0 -865
- package/dist/sdk/core.js +0 -1966
- package/dist/sdk/errors.d.ts +0 -21
- package/dist/sdk/errors.js +0 -11
- package/dist/sdk/index.d.ts +0 -371
- package/dist/sdk/index.js +0 -8
- package/dist/sdk/lib/foldertree.d.ts +0 -50
- package/dist/sdk/lib/foldertree.js +0 -123
- package/dist/sdk/lib/generators.d.ts +0 -30
- package/dist/sdk/lib/generators.js +0 -25
- package/dist/sdk/lib/packages.d.ts +0 -8
- package/dist/sdk/lib/packages.js +0 -14
- package/dist/sdk/lib/parsers.d.ts +0 -14
- package/dist/sdk/lib/parsers.js +0 -10
- package/dist/sdk/lib/users.d.ts +0 -19
- package/dist/sdk/lib/users.js +0 -26
- package/dist/sdk/tables.d.ts +0 -1198
- package/dist/sdk/tables.js +0 -55
- package/dist/sdk/types/index.d.ts +0 -175
- package/dist/sdk/types/index.js +0 -0
- package/dist/sdk/types/tableDefs.d.ts +0 -75
- package/dist/sdk/types/tableDefs.js +0 -0
- package/dist/sdk/types/tsAlias.d.ts +0 -155
- package/dist/sdk/types/tsAlias.js +0 -0
- package/dist/sdk/utils/db.d.ts +0 -5
- package/dist/sdk/utils/db.js +0 -15
- package/dist/stubs/auth-lib.d.ts +0 -2
- package/dist/stubs/auth-lib.js +0 -519
- package/dist/stubs/auth-scripts.d.ts +0 -2
- package/dist/stubs/auth-scripts.js +0 -29
- package/dist/stubs/auth-utils.d.ts +0 -2
- package/dist/stubs/auth-utils.js +0 -36
- package/dist/stubs/changelog.d.ts +0 -2
- package/dist/stubs/changelog.js +0 -16
- package/dist/stubs/components.d.ts +0 -2
- package/dist/stubs/components.js +0 -67
- package/dist/stubs/core.d.ts +0 -2
- package/dist/stubs/core.js +0 -49
- package/dist/stubs/i18n-dts.d.ts +0 -2
- package/dist/stubs/i18n-dts.js +0 -117
- package/dist/stubs/images.d.ts +0 -1
- package/dist/stubs/images.js +0 -30
- package/dist/stubs/index.d.ts +0 -1
- package/dist/stubs/index.js +0 -40
- package/dist/stubs/lib.d.ts +0 -2
- package/dist/stubs/lib.js +0 -123
- package/dist/stubs/plugins.d.ts +0 -2
- package/dist/stubs/plugins.js +0 -60
- package/dist/stubs/proxy.d.ts +0 -2
- package/dist/stubs/proxy.js +0 -40
- package/dist/stubs/renderer-config.d.ts +0 -2
- package/dist/stubs/renderer-config.js +0 -18
- package/dist/stubs/renderer-markdownConfig.d.ts +0 -2
- package/dist/stubs/renderer-markdownConfig.js +0 -17
- package/dist/stubs/renderer.d.ts +0 -2
- package/dist/stubs/renderer.js +0 -44
- package/dist/stubs/sdk.d.ts +0 -2
- package/dist/stubs/sdk.js +0 -202
- package/dist/stubs/webVitals.d.ts +0 -2
- package/dist/stubs/webVitals.js +0 -40
- package/dist/styles/404.css +0 -47
- package/dist/styles/authlayout.css +0 -138
- package/dist/styles/dashboard-base.css +0 -493
- package/dist/styles/dashboard-code.css +0 -33
- package/dist/styles/dashboard-diff.css +0 -389
- package/dist/styles/dashboard-tiny-mde.css +0 -224
- package/dist/styles/md-remark-callouts/github.css +0 -56
- package/dist/styles/md-remark-callouts/obsidian.css +0 -66
- package/dist/styles/md-remark-callouts/vitepress.css +0 -58
- package/dist/styles/md-remark-headings.css +0 -48
- package/dist/utils/addAPIRoutes.d.ts +0 -9
- package/dist/utils/addAPIRoutes.js +0 -33
- package/dist/utils/addIntegrationArray.d.ts +0 -24
- package/dist/utils/addIntegrationArray.js +0 -11
- package/dist/utils/addIntegrationArrayWithCheck.d.ts +0 -11
- package/dist/utils/addIntegrationArrayWithCheck.js +0 -24
- package/dist/utils/astroConfigCheck.d.ts +0 -8
- package/dist/utils/astroConfigCheck.js +0 -31
- package/dist/utils/astroEnvConfig.d.ts +0 -45
- package/dist/utils/astroEnvConfig.js +0 -9
- package/dist/utils/authEnvCheck.d.ts +0 -38
- package/dist/utils/authEnvCheck.js +0 -82
- package/dist/utils/changelog.d.ts +0 -1
- package/dist/utils/changelog.js +0 -53
- package/dist/utils/changelogLoader.d.ts +0 -15
- package/dist/utils/changelogLoader.js +0 -104
- package/dist/utils/checkENV.d.ts +0 -27
- package/dist/utils/checkENV.js +0 -115
- package/dist/utils/configManager.d.ts +0 -22
- package/dist/utils/configManager.js +0 -98
- package/dist/utils/configResolver.d.ts +0 -283
- package/dist/utils/configResolver.js +0 -105
- package/dist/utils/defineStudioCMSConfig.d.ts +0 -165
- package/dist/utils/defineStudioCMSConfig.js +0 -6
- package/dist/utils/getLabelForPermissionLevel.d.ts +0 -2
- package/dist/utils/injectRouteArray.d.ts +0 -19
- package/dist/utils/injectRouteArray.js +0 -75
- package/dist/utils/integrationLogger.d.ts +0 -7
- package/dist/utils/integrationLogger.js +0 -18
- package/dist/utils/integrations.d.ts +0 -4
- package/dist/utils/integrations.js +0 -32
- package/dist/utils/isDashboardRoute.d.ts +0 -7
- package/dist/utils/isDashboardRoute.js +0 -10
- package/dist/utils/loginBackgrounds/studiocms-blobs-dark.png +0 -0
- package/dist/utils/loginBackgrounds/studiocms-blobs-light.png +0 -0
- package/dist/utils/loginBackgrounds/studiocms-blocks-dark.png +0 -0
- package/dist/utils/loginBackgrounds/studiocms-blocks-light.png +0 -0
- package/dist/utils/loginBackgrounds/studiocms-curves-dark.png +0 -0
- package/dist/utils/loginBackgrounds/studiocms-curves-light.png +0 -0
- package/dist/utils/makePageTitle.d.ts +0 -3
- package/dist/utils/makePageTitle.js +0 -7
- package/dist/utils/pageListPackageLabel.d.ts +0 -4
- package/dist/utils/pageListPackageLabel.js +0 -12
- package/dist/utils/readJson.d.ts +0 -1
- package/dist/utils/readJson.js +0 -7
- package/dist/utils/routeBuilder.d.ts +0 -18
- package/dist/utils/routeBuilder.js +0 -96
- package/dist/utils/simpleResponse.d.ts +0 -1
- package/dist/utils/simpleResponse.js +0 -29
- package/dist/utils/validImages.d.ts +0 -13
- package/dist/utils/validImages.js +0 -39
- package/dist/virtual.d.js +0 -0
- package/renderer.d.ts +0 -25
- /package/dist/cli/{lib → utils}/seasonal.d.ts +0 -0
- /package/dist/cli/{lib → utils}/seasonal.js +0 -0
- /package/dist/{lib/auth → handlers/frontend}/types.js +0 -0
- /package/dist/{components/default-grid-items → handlers/plugin-components}/utils.d.ts +0 -0
- /package/dist/{components/dashboard/islands/dashboard/shared.js → handlers/storage-manager/definitions.js} +0 -0
- /package/dist/{lib/webVitals → plugins/analytics/assets}/pages/analytics/header.astro +0 -0
- /package/dist/{lib/webVitals → plugins/analytics/assets}/schemas.d.ts +0 -0
- /package/dist/{lib/webVitals → plugins/analytics/assets}/schemas.js +0 -0
- /package/dist/{lib/webVitals → plugins/analytics/assets}/types.d.ts +0 -0
- /package/dist/{lib/renderer → plugins/analytics/assets}/types.js +0 -0
- /package/dist/{lib/webVitals → plugins/analytics/assets}/utils/buildDataObject.js +0 -0
- /package/dist/{lib/webVitals → plugins/analytics/assets}/utils/buildPageRouteDataObject.d.ts +0 -0
- /package/dist/{lib/webVitals → plugins/analytics/assets}/utils/buildPageRouteDataObject.js +0 -0
- /package/dist/{lib/webVitals → plugins/analytics/assets}/utils/buildPerPageDataObject.d.ts +0 -0
- /package/dist/{lib/webVitals → plugins/analytics/assets}/utils/buildPerPageDataObject.js +0 -0
- /package/dist/{lib/webVitals → plugins/analytics/assets}/utils/checkDate.js +0 -0
- /package/dist/{lib/webVitals → plugins/analytics/assets}/utils/webVitalsUtils.d.ts +0 -0
- /package/dist/{lib/webVitals → plugins/analytics/assets}/webVitalsSummary.d.ts +0 -0
- /package/dist/{cli/cmds/get-turso.d.ts → plugins/analytics/client-script.d.ts} +0 -0
- /package/dist/{lib/dashboardGrid.js → toolbar/db-viewer/db-shared-types.js} +0 -0
- /package/dist/{lib/robots/types.js → toolbar/db-viewer/studio/type.js} +0 -0
- /package/dist/{utils → virtuals/auth}/getLabelForPermissionLevel.js +0 -0
- /package/dist/{lib/webVitals → virtuals/auth}/types.js +0 -0
- /package/dist/{lib → virtuals/lib}/makeAPIRoute.js +0 -0
- /package/dist/{lib → virtuals/lib}/makePublicRoute.d.ts +0 -0
- /package/dist/{lib → virtuals/lib}/makePublicRoute.js +0 -0
- /package/dist/{lib → virtuals}/plugins/dashboard-pages.js +0 -0
- /package/dist/{lib → virtuals}/plugins/frontend-navigation.d.ts +0 -0
- /package/{dist → frontend}/components/auth/StudioCMSLogoSVG.astro +0 -0
- /package/{dist → frontend}/components/dashboard/StudioCMSLogo.astro +0 -0
- /package/{dist/routes/firstTimeSetupRoutes → frontend/components/first-time-setup}/snippets/opt1-astro.config.diff +0 -0
- /package/{dist/routes/firstTimeSetupRoutes → frontend/components/first-time-setup}/snippets/opt2-astro.config.diff +0 -0
- /package/{dist/routes/firstTimeSetupRoutes → frontend/components/first-time-setup}/snippets/opt2-studiocms.config.diff +0 -0
- /package/{dist/components/dashboard → frontend/components/shared}/ThemeManager.astro +0 -0
- /package/{dist/styles/SyntaxFont.woff2 → frontend/fonts/woff2/syntax.woff2} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,485 +1,99 @@
|
|
|
1
1
|
# studiocms
|
|
2
2
|
|
|
3
|
-
## 0.1.0
|
|
3
|
+
## 0.1.0
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
- [#
|
|
7
|
+
- [#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
|
|
8
8
|
|
|
9
|
-
- [#
|
|
9
|
+
- [#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`
|
|
10
10
|
|
|
11
|
-
- [#
|
|
11
|
+
- [#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
|
|
12
12
|
|
|
13
|
-
- [#
|
|
13
|
+
- [#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
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
- [#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
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
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:
|
|
53
|
-
|
|
54
|
-
- `StudioCMSUsers`: Removed oAuth ID's from main user table
|
|
55
|
-
|
|
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
|
-
```
|
|
76
|
-
|
|
77
|
-
- `StudioCMSOAuthAccounts`: New table to handle all oAuth accounts and linking to Users
|
|
78
|
-
|
|
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
|
-
```
|
|
88
|
-
|
|
89
|
-
- `StudioCMSPermissions`: Updated to use direct reference to users table
|
|
90
|
-
|
|
91
|
-
```ts
|
|
92
|
-
export const StudioCMSPermissions = defineTable({
|
|
93
|
-
columns: {
|
|
94
|
-
references: () => StudioCMSUsers.columns.id }),
|
|
95
|
-
rank: column.text(),
|
|
96
|
-
},
|
|
97
|
-
});
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
- `StudioCMSSiteConfig`: Added new options for login page
|
|
101
|
-
|
|
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
|
-
```
|
|
115
|
-
|
|
116
|
-
- Updated Routemap:
|
|
117
|
-
|
|
118
|
-
- All Auth api routes are now located at `yourhost.tld/studiocms_api/auth/*`
|
|
119
|
-
|
|
120
|
-
- Updated Strings:
|
|
121
|
-
|
|
122
|
-
- Add new Encryption messages for the new `CMS_ENCRYPTION_KEY` variable
|
|
123
|
-
|
|
124
|
-
- Removed now unused auth types.
|
|
125
|
-
|
|
126
|
-
## **`@studiocms/dashboard`**
|
|
127
|
-
|
|
128
|
-
- Refactor to utilize new `@studiocms/auth` lib for user verification
|
|
129
|
-
|
|
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
|
|
131
|
-
|
|
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)
|
|
133
|
-
|
|
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
|
|
135
|
-
|
|
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
|
|
137
|
-
|
|
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
|
|
139
|
-
|
|
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
|
|
141
|
-
|
|
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
|
|
143
|
-
|
|
144
|
-
### Dynamic Sitemap Generation:
|
|
145
|
-
|
|
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.
|
|
149
|
-
|
|
150
|
-
### Plugin Schema Updates:
|
|
151
|
-
|
|
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.
|
|
153
|
-
|
|
154
|
-
### Plugin-Specific Sitemaps:
|
|
155
|
-
|
|
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.
|
|
159
|
-
|
|
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
|
|
161
|
-
|
|
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
|
|
163
|
-
|
|
164
|
-
### User Management Enhancements:
|
|
165
|
-
|
|
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.
|
|
169
|
-
|
|
170
|
-
### UI Improvements:
|
|
171
|
-
|
|
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.
|
|
175
|
-
|
|
176
|
-
### Utility and SDK Updates:
|
|
177
|
-
|
|
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.
|
|
180
|
-
|
|
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
|
|
17
|
+
- [#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
|
|
182
18
|
|
|
183
|
-
|
|
184
|
-
- Add Optional API Routes and Fields for page types
|
|
185
|
-
- Update Astro Web Vital plugin to add new dashboard page
|
|
19
|
+
- [#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
|
|
186
20
|
|
|
187
|
-
- [#
|
|
21
|
+
- [#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
|
|
188
22
|
|
|
189
|
-
- [#
|
|
23
|
+
- [#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
|
|
190
24
|
|
|
191
|
-
- [#
|
|
25
|
+
- [#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.
|
|
192
26
|
|
|
193
|
-
- [#
|
|
27
|
+
- [#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.
|
|
194
28
|
|
|
195
|
-
- [#
|
|
29
|
+
- [#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
|
|
196
30
|
|
|
197
|
-
- [#
|
|
31
|
+
- [#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
|
|
198
32
|
|
|
199
|
-
- [#
|
|
33
|
+
- [#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
|
|
200
34
|
|
|
201
|
-
- [#
|
|
35
|
+
- [#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)
|
|
202
36
|
|
|
203
|
-
|
|
37
|
+
- [#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
|
|
204
38
|
|
|
205
|
-
|
|
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/`)
|
|
39
|
+
- [#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
|
|
209
40
|
|
|
210
|
-
|
|
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).
|
|
41
|
+
- [#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
|
|
213
42
|
|
|
214
|
-
- [#
|
|
43
|
+
- [#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
|
|
215
44
|
|
|
216
|
-
- [#
|
|
45
|
+
- [#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
|
|
217
46
|
|
|
218
|
-
|
|
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.
|
|
47
|
+
- [#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
|
|
225
48
|
|
|
226
|
-
- [#
|
|
49
|
+
- [#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`
|
|
227
50
|
|
|
228
|
-
|
|
51
|
+
#### BREAKING UPDATE
|
|
229
52
|
|
|
230
|
-
-
|
|
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.
|
|
53
|
+
All previous installs relying on `@libsql/kysely-libsql` should remove the old dependency and install the new `kysely-turso` dependency.
|
|
238
54
|
|
|
239
|
-
- [#
|
|
55
|
+
- [#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
|
|
240
56
|
|
|
241
|
-
- [#
|
|
57
|
+
- [#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
|
|
242
58
|
|
|
243
|
-
- [#
|
|
59
|
+
- [#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
|
|
244
60
|
|
|
245
|
-
- [#
|
|
61
|
+
- [#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.
|
|
246
62
|
|
|
247
|
-
- [#
|
|
63
|
+
- [#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
|
|
248
64
|
|
|
249
|
-
- [#
|
|
65
|
+
- [#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
|
|
250
66
|
|
|
251
|
-
- [#
|
|
67
|
+
- [#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
|
|
252
68
|
|
|
253
|
-
|
|
69
|
+
#### Breaking Change
|
|
254
70
|
|
|
255
|
-
|
|
71
|
+
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.
|
|
256
72
|
|
|
257
|
-
- [#
|
|
73
|
+
- [#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
|
|
258
74
|
|
|
259
|
-
- [#
|
|
75
|
+
- [#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
|
|
260
76
|
|
|
261
|
-
- [#
|
|
77
|
+
- [#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
|
|
262
78
|
|
|
263
|
-
- [#
|
|
79
|
+
- [#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.
|
|
264
80
|
|
|
265
|
-
- [#
|
|
81
|
+
- [#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
|
|
266
82
|
|
|
267
|
-
- [#
|
|
83
|
+
- [#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
|
|
268
84
|
|
|
269
|
-
|
|
85
|
+
- 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)]:
|
|
86
|
+
- @withstudiocms/kysely@0.1.0
|
|
87
|
+
- @withstudiocms/sdk@0.1.0
|
|
88
|
+
- @withstudiocms/auth-kit@0.1.0
|
|
89
|
+
- @withstudiocms/effect@0.1.0
|
|
90
|
+
- @withstudiocms/component-registry@0.1.0
|
|
91
|
+
- @withstudiocms/config-utils@0.1.0
|
|
92
|
+
- @withstudiocms/internal_helpers@0.1.0
|
|
93
|
+
- @withstudiocms/template-lang@0.1.0
|
|
270
94
|
|
|
271
|
-
|
|
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
|
|
291
|
-
|
|
292
|
-
### Patch Changes
|
|
293
|
-
|
|
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
|
|
95
|
+
## 0.1.0-beta.32
|
|
396
96
|
|
|
397
97
|
### Patch Changes
|
|
398
98
|
|
|
399
|
-
-
|
|
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
|
|
99
|
+
- 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)
|
|
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
|