qarpeo 0.0.0-alpha.10
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/LICENSE +21 -0
- package/README.md +102 -0
- package/dist/chunks/auth-schema.mjs +219 -0
- package/dist/chunks/wrangler.mjs +783 -0
- package/dist/cli/index.mjs +1085 -0
- package/dist/dev/env.d.ts +12 -0
- package/dist/dev/wrangler.d.ts +18 -0
- package/dist/module.d.ts +16 -0
- package/dist/module.mjs +4436 -0
- package/dist/runtime/ai.d.ts +25 -0
- package/dist/runtime/ai.mjs +106 -0
- package/dist/runtime/analytics.d.ts +24 -0
- package/dist/runtime/analytics.mjs +38 -0
- package/dist/runtime/app/components/BlobImage.vue +100 -0
- package/dist/runtime/app/components/CMSBlocks.vue +93 -0
- package/dist/runtime/app/components/CMSContent.vue +23 -0
- package/dist/runtime/app/components/CMSImage.vue +49 -0
- package/dist/runtime/app/components/CMSLocaleSwitcher.vue +110 -0
- package/dist/runtime/app/components/CMSPreviewBanner.vue +79 -0
- package/dist/runtime/app/components/CMSVersionBanner.vue +49 -0
- package/dist/runtime/app/components/CMSVersionSwitcher.vue +126 -0
- package/dist/runtime/app/components/ContentRenderer.vue +80 -0
- package/dist/runtime/app/components/FileUpload.vue +196 -0
- package/dist/runtime/app/components/ImpersonationBanner.vue +57 -0
- package/dist/runtime/app/components/SignedIn.vue +13 -0
- package/dist/runtime/app/components/SignedOut.vue +13 -0
- package/dist/runtime/app/components/shiki.css +34 -0
- package/dist/runtime/app/composables/analytics.d.ts +125 -0
- package/dist/runtime/app/composables/analytics.mjs +81 -0
- package/dist/runtime/app/composables/api-tokens.d.ts +49 -0
- package/dist/runtime/app/composables/api-tokens.mjs +61 -0
- package/dist/runtime/app/composables/auth.d.ts +50 -0
- package/dist/runtime/app/composables/auth.mjs +101 -0
- package/dist/runtime/app/composables/chat.d.ts +69 -0
- package/dist/runtime/app/composables/chat.mjs +159 -0
- package/dist/runtime/app/composables/cms-preview.d.ts +33 -0
- package/dist/runtime/app/composables/cms-preview.mjs +83 -0
- package/dist/runtime/app/composables/cms.d.ts +307 -0
- package/dist/runtime/app/composables/cms.mjs +355 -0
- package/dist/runtime/app/composables/docs-version.d.ts +35 -0
- package/dist/runtime/app/composables/docs-version.mjs +70 -0
- package/dist/runtime/app/composables/impersonation.d.ts +14 -0
- package/dist/runtime/app/composables/impersonation.mjs +44 -0
- package/dist/runtime/app/composables/notifications.d.ts +35 -0
- package/dist/runtime/app/composables/notifications.mjs +139 -0
- package/dist/runtime/app/composables/organization.d.ts +127 -0
- package/dist/runtime/app/composables/organization.mjs +138 -0
- package/dist/runtime/app/composables/passkey.d.ts +6 -0
- package/dist/runtime/app/composables/passkey.mjs +105 -0
- package/dist/runtime/app/composables/passwordless.d.ts +7 -0
- package/dist/runtime/app/composables/passwordless.mjs +67 -0
- package/dist/runtime/app/composables/payments.d.ts +43 -0
- package/dist/runtime/app/composables/payments.mjs +74 -0
- package/dist/runtime/app/composables/realtime.d.ts +96 -0
- package/dist/runtime/app/composables/realtime.mjs +432 -0
- package/dist/runtime/app/composables/site.d.ts +35 -0
- package/dist/runtime/app/composables/site.mjs +36 -0
- package/dist/runtime/app/composables/storage.d.ts +60 -0
- package/dist/runtime/app/composables/storage.mjs +294 -0
- package/dist/runtime/app/composables/tenant.d.ts +82 -0
- package/dist/runtime/app/composables/tenant.mjs +120 -0
- package/dist/runtime/app/composables/turnstile.d.ts +3 -0
- package/dist/runtime/app/composables/turnstile.mjs +10 -0
- package/dist/runtime/app/composables/two-factor.d.ts +12 -0
- package/dist/runtime/app/composables/two-factor.mjs +65 -0
- package/dist/runtime/app/middleware/auth.global.d.ts +2 -0
- package/dist/runtime/app/middleware/auth.global.mjs +44 -0
- package/dist/runtime/app/pages/cms.vue +2249 -0
- package/dist/runtime/app/pages/devtools/agents.vue +717 -0
- package/dist/runtime/app/pages/devtools/analytics.vue +618 -0
- package/dist/runtime/app/pages/devtools/auth.vue +351 -0
- package/dist/runtime/app/pages/devtools/blob.vue +745 -0
- package/dist/runtime/app/pages/devtools/db.vue +546 -0
- package/dist/runtime/app/pages/devtools/domains.vue +772 -0
- package/dist/runtime/app/pages/devtools/kv.vue +829 -0
- package/dist/runtime/app/pages/devtools/logs.vue +655 -0
- package/dist/runtime/app/pages/devtools/mail.vue +389 -0
- package/dist/runtime/app/pages/devtools/overview.vue +390 -0
- package/dist/runtime/app/pages/devtools/settings.vue +560 -0
- package/dist/runtime/app/pages/devtools.vue +165 -0
- package/dist/runtime/app/plugins/seo.d.ts +2 -0
- package/dist/runtime/app/plugins/seo.mjs +105 -0
- package/dist/runtime/app/plugins/shortcuts.client.d.ts +6 -0
- package/dist/runtime/app/plugins/shortcuts.client.mjs +19 -0
- package/dist/runtime/app/public/sw-notifications.mjs +52 -0
- package/dist/runtime/auth.d.ts +25 -0
- package/dist/runtime/auth.mjs +11 -0
- package/dist/runtime/bindings.d.ts +27 -0
- package/dist/runtime/bindings.mjs +38 -0
- package/dist/runtime/blob.d.ts +26 -0
- package/dist/runtime/blob.mjs +334 -0
- package/dist/runtime/bots.d.ts +1 -0
- package/dist/runtime/bots.mjs +1 -0
- package/dist/runtime/browser.d.ts +21 -0
- package/dist/runtime/browser.mjs +64 -0
- package/dist/runtime/cache.d.ts +19 -0
- package/dist/runtime/cache.mjs +12 -0
- package/dist/runtime/cms.d.ts +2 -0
- package/dist/runtime/cms.mjs +0 -0
- package/dist/runtime/db.d.ts +21 -0
- package/dist/runtime/db.mjs +36 -0
- package/dist/runtime/drizzle.d.ts +11 -0
- package/dist/runtime/drizzle.mjs +18 -0
- package/dist/runtime/email.d.ts +51 -0
- package/dist/runtime/email.mjs +245 -0
- package/dist/runtime/hyperdrive.d.ts +21 -0
- package/dist/runtime/hyperdrive.mjs +49 -0
- package/dist/runtime/index.d.ts +23 -0
- package/dist/runtime/index.mjs +23 -0
- package/dist/runtime/kv.d.ts +16 -0
- package/dist/runtime/kv.mjs +126 -0
- package/dist/runtime/payments.d.ts +2 -0
- package/dist/runtime/payments.mjs +0 -0
- package/dist/runtime/queue.d.ts +21 -0
- package/dist/runtime/queue.mjs +41 -0
- package/dist/runtime/rag.d.ts +1 -0
- package/dist/runtime/rag.mjs +1 -0
- package/dist/runtime/ratelimit.d.ts +21 -0
- package/dist/runtime/ratelimit.mjs +38 -0
- package/dist/runtime/realtime.d.ts +6 -0
- package/dist/runtime/realtime.mjs +13 -0
- package/dist/runtime/server/db/cms-schema.d.ts +651 -0
- package/dist/runtime/server/db/cms-schema.mjs +74 -0
- package/dist/runtime/server/durable-objects/agent.d.ts +14 -0
- package/dist/runtime/server/durable-objects/agent.mjs +571 -0
- package/dist/runtime/server/durable-objects/room.d.ts +34 -0
- package/dist/runtime/server/durable-objects/room.mjs +514 -0
- package/dist/runtime/server/middleware/auth.d.ts +2 -0
- package/dist/runtime/server/middleware/auth.mjs +108 -0
- package/dist/runtime/server/middleware/devtools.d.ts +2 -0
- package/dist/runtime/server/middleware/devtools.mjs +61 -0
- package/dist/runtime/server/middleware/ratelimit.d.ts +2 -0
- package/dist/runtime/server/middleware/ratelimit.mjs +49 -0
- package/dist/runtime/server/middleware/tenancy.d.ts +6 -0
- package/dist/runtime/server/middleware/tenancy.mjs +15 -0
- package/dist/runtime/server/middleware/tracker.d.ts +7 -0
- package/dist/runtime/server/middleware/tracker.mjs +9 -0
- package/dist/runtime/server/plugins/agents.d.ts +7 -0
- package/dist/runtime/server/plugins/agents.mjs +3 -0
- package/dist/runtime/server/plugins/cms.d.ts +7 -0
- package/dist/runtime/server/plugins/cms.mjs +16 -0
- package/dist/runtime/server/plugins/dev-logs.d.ts +1 -0
- package/dist/runtime/server/plugins/dev-logs.mjs +58 -0
- package/dist/runtime/server/plugins/dev-proxy.d.ts +3 -0
- package/dist/runtime/server/plugins/dev-proxy.mjs +21 -0
- package/dist/runtime/server/plugins/env.d.ts +6 -0
- package/dist/runtime/server/plugins/env.mjs +17 -0
- package/dist/runtime/server/plugins/queue.d.ts +6 -0
- package/dist/runtime/server/plugins/queue.mjs +8 -0
- package/dist/runtime/server/routes/__qarpeo/agents/chat.post.d.ts +20 -0
- package/dist/runtime/server/routes/__qarpeo/agents/chat.post.mjs +110 -0
- package/dist/runtime/server/routes/__qarpeo/agents/clear.post.d.ts +7 -0
- package/dist/runtime/server/routes/__qarpeo/agents/clear.post.mjs +15 -0
- package/dist/runtime/server/routes/__qarpeo/agents/create.post.d.ts +17 -0
- package/dist/runtime/server/routes/__qarpeo/agents/create.post.mjs +47 -0
- package/dist/runtime/server/routes/__qarpeo/agents/history.get.d.ts +15 -0
- package/dist/runtime/server/routes/__qarpeo/agents/history.get.mjs +24 -0
- package/dist/runtime/server/routes/__qarpeo/agents/list.get.d.ts +5 -0
- package/dist/runtime/server/routes/__qarpeo/agents/list.get.mjs +63 -0
- package/dist/runtime/server/routes/__qarpeo/analytics/events.get.d.ts +64 -0
- package/dist/runtime/server/routes/__qarpeo/analytics/events.get.mjs +55 -0
- package/dist/runtime/server/routes/__qarpeo/analytics/summary.get.d.ts +30 -0
- package/dist/runtime/server/routes/__qarpeo/analytics/summary.get.mjs +73 -0
- package/dist/runtime/server/routes/__qarpeo/auth/revoke-session.post.d.ts +6 -0
- package/dist/runtime/server/routes/__qarpeo/auth/revoke-session.post.mjs +26 -0
- package/dist/runtime/server/routes/__qarpeo/auth/sessions.get.d.ts +6 -0
- package/dist/runtime/server/routes/__qarpeo/auth/sessions.get.mjs +46 -0
- package/dist/runtime/server/routes/__qarpeo/auth/users.get.d.ts +7 -0
- package/dist/runtime/server/routes/__qarpeo/auth/users.get.mjs +65 -0
- package/dist/runtime/server/routes/__qarpeo/blob/files.get.d.ts +22 -0
- package/dist/runtime/server/routes/__qarpeo/blob/files.get.mjs +36 -0
- package/dist/runtime/server/routes/__qarpeo/db/query.post.d.ts +23 -0
- package/dist/runtime/server/routes/__qarpeo/db/query.post.mjs +34 -0
- package/dist/runtime/server/routes/__qarpeo/db/tables.get.d.ts +31 -0
- package/dist/runtime/server/routes/__qarpeo/db/tables.get.mjs +81 -0
- package/dist/runtime/server/routes/__qarpeo/kv/delete.post.d.ts +11 -0
- package/dist/runtime/server/routes/__qarpeo/kv/delete.post.mjs +18 -0
- package/dist/runtime/server/routes/__qarpeo/kv/get.get.d.ts +11 -0
- package/dist/runtime/server/routes/__qarpeo/kv/get.get.mjs +20 -0
- package/dist/runtime/server/routes/__qarpeo/kv/keys.get.d.ts +8 -0
- package/dist/runtime/server/routes/__qarpeo/kv/keys.get.mjs +27 -0
- package/dist/runtime/server/routes/__qarpeo/kv/set.post.d.ts +14 -0
- package/dist/runtime/server/routes/__qarpeo/kv/set.post.mjs +24 -0
- package/dist/runtime/server/routes/__qarpeo/logs.delete.d.ts +5 -0
- package/dist/runtime/server/routes/__qarpeo/logs.delete.mjs +6 -0
- package/dist/runtime/server/routes/__qarpeo/logs.get.d.ts +5 -0
- package/dist/runtime/server/routes/__qarpeo/logs.get.mjs +26 -0
- package/dist/runtime/server/routes/__qarpeo/logs.post.d.ts +6 -0
- package/dist/runtime/server/routes/__qarpeo/logs.post.mjs +17 -0
- package/dist/runtime/server/routes/__qarpeo/mail/bounce.post.d.ts +5 -0
- package/dist/runtime/server/routes/__qarpeo/mail/bounce.post.mjs +37 -0
- package/dist/runtime/server/routes/__qarpeo/mail/clear.post.d.ts +4 -0
- package/dist/runtime/server/routes/__qarpeo/mail/clear.post.mjs +6 -0
- package/dist/runtime/server/routes/__qarpeo/mail/inbox.get.d.ts +5 -0
- package/dist/runtime/server/routes/__qarpeo/mail/inbox.get.mjs +7 -0
- package/dist/runtime/server/routes/__qarpeo/mail/send-test.post.d.ts +4 -0
- package/dist/runtime/server/routes/__qarpeo/mail/send-test.post.mjs +29 -0
- package/dist/runtime/server/routes/__qarpeo/mail/track/click/[id].get.d.ts +2 -0
- package/dist/runtime/server/routes/__qarpeo/mail/track/click/[id].get.mjs +23 -0
- package/dist/runtime/server/routes/__qarpeo/mail/track/open/[id].get.d.ts +2 -0
- package/dist/runtime/server/routes/__qarpeo/mail/track/open/[id].get.mjs +31 -0
- package/dist/runtime/server/routes/__qarpeo/overview/health.get.d.ts +8 -0
- package/dist/runtime/server/routes/__qarpeo/overview/health.get.mjs +46 -0
- package/dist/runtime/server/routes/__qarpeo/overview.get.d.ts +32 -0
- package/dist/runtime/server/routes/__qarpeo/overview.get.mjs +38 -0
- package/dist/runtime/server/routes/__qarpeo/settings/reset-dev-data.post.d.ts +11 -0
- package/dist/runtime/server/routes/__qarpeo/settings/reset-dev-data.post.mjs +84 -0
- package/dist/runtime/server/routes/__qarpeo/settings.get.d.ts +124 -0
- package/dist/runtime/server/routes/__qarpeo/settings.get.mjs +145 -0
- package/dist/runtime/server/routes/__qarpeo/tenants/create.post.d.ts +7 -0
- package/dist/runtime/server/routes/__qarpeo/tenants/create.post.mjs +26 -0
- package/dist/runtime/server/routes/__qarpeo/tenants/domain-add.post.d.ts +6 -0
- package/dist/runtime/server/routes/__qarpeo/tenants/domain-add.post.mjs +29 -0
- package/dist/runtime/server/routes/__qarpeo/tenants/domain-delete.post.d.ts +7 -0
- package/dist/runtime/server/routes/__qarpeo/tenants/domain-delete.post.mjs +21 -0
- package/dist/runtime/server/routes/__qarpeo/tenants/domain-verify.post.d.ts +9 -0
- package/dist/runtime/server/routes/__qarpeo/tenants/domain-verify.post.mjs +21 -0
- package/dist/runtime/server/routes/__qarpeo/tenants/list.get.d.ts +15 -0
- package/dist/runtime/server/routes/__qarpeo/tenants/list.get.mjs +22 -0
- package/dist/runtime/server/routes/agents/[agent]/chat.post.d.ts +2 -0
- package/dist/runtime/server/routes/agents/[agent]/chat.post.mjs +35 -0
- package/dist/runtime/server/routes/agents/[agent]/clear.post.d.ts +4 -0
- package/dist/runtime/server/routes/agents/[agent]/clear.post.mjs +27 -0
- package/dist/runtime/server/routes/agents/[agent]/history.get.d.ts +4 -0
- package/dist/runtime/server/routes/agents/[agent]/history.get.mjs +27 -0
- package/dist/runtime/server/routes/analytics/events.get.d.ts +3 -0
- package/dist/runtime/server/routes/analytics/events.get.mjs +17 -0
- package/dist/runtime/server/routes/analytics/pageviews.get.d.ts +3 -0
- package/dist/runtime/server/routes/analytics/pageviews.get.mjs +15 -0
- package/dist/runtime/server/routes/analytics/summary.get.d.ts +6 -0
- package/dist/runtime/server/routes/analytics/summary.get.mjs +15 -0
- package/dist/runtime/server/routes/atom.xml.get.d.ts +2 -0
- package/dist/runtime/server/routes/atom.xml.get.mjs +76 -0
- package/dist/runtime/server/routes/auth/2fa/disable.post.d.ts +4 -0
- package/dist/runtime/server/routes/auth/2fa/disable.post.mjs +44 -0
- package/dist/runtime/server/routes/auth/2fa/setup.post.d.ts +6 -0
- package/dist/runtime/server/routes/auth/2fa/setup.post.mjs +32 -0
- package/dist/runtime/server/routes/auth/2fa/verify.post.d.ts +6 -0
- package/dist/runtime/server/routes/auth/2fa/verify.post.mjs +92 -0
- package/dist/runtime/server/routes/auth/[provider]/callback.d.ts +1 -0
- package/dist/runtime/server/routes/auth/[provider]/callback.mjs +1 -0
- package/dist/runtime/server/routes/auth/[provider].d.ts +3 -0
- package/dist/runtime/server/routes/auth/[provider].mjs +95 -0
- package/dist/runtime/server/routes/auth/account.delete.d.ts +5 -0
- package/dist/runtime/server/routes/auth/account.delete.mjs +52 -0
- package/dist/runtime/server/routes/auth/impersonate/start.post.d.ts +5 -0
- package/dist/runtime/server/routes/auth/impersonate/start.post.mjs +14 -0
- package/dist/runtime/server/routes/auth/impersonate/stop.post.d.ts +5 -0
- package/dist/runtime/server/routes/auth/impersonate/stop.post.mjs +5 -0
- package/dist/runtime/server/routes/auth/logout-all.post.d.ts +4 -0
- package/dist/runtime/server/routes/auth/logout-all.post.mjs +16 -0
- package/dist/runtime/server/routes/auth/logout-others.post.d.ts +4 -0
- package/dist/runtime/server/routes/auth/logout-others.post.mjs +11 -0
- package/dist/runtime/server/routes/auth/logout.post.d.ts +4 -0
- package/dist/runtime/server/routes/auth/logout.post.mjs +17 -0
- package/dist/runtime/server/routes/auth/magic-link/send.post.d.ts +10 -0
- package/dist/runtime/server/routes/auth/magic-link/send.post.mjs +29 -0
- package/dist/runtime/server/routes/auth/magic-link/verify.get.d.ts +2 -0
- package/dist/runtime/server/routes/auth/magic-link/verify.get.mjs +81 -0
- package/dist/runtime/server/routes/auth/organization/create.post.d.ts +5 -0
- package/dist/runtime/server/routes/auth/organization/create.post.mjs +10 -0
- package/dist/runtime/server/routes/auth/organization/invite.post.d.ts +9 -0
- package/dist/runtime/server/routes/auth/organization/invite.post.mjs +27 -0
- package/dist/runtime/server/routes/auth/organization/join.post.d.ts +6 -0
- package/dist/runtime/server/routes/auth/organization/join.post.mjs +15 -0
- package/dist/runtime/server/routes/auth/organization/list.get.d.ts +5 -0
- package/dist/runtime/server/routes/auth/organization/list.get.mjs +7 -0
- package/dist/runtime/server/routes/auth/organization/members/[id].delete.d.ts +4 -0
- package/dist/runtime/server/routes/auth/organization/members/[id].delete.mjs +33 -0
- package/dist/runtime/server/routes/auth/organization/members/index.get.d.ts +6 -0
- package/dist/runtime/server/routes/auth/organization/members/index.get.mjs +18 -0
- package/dist/runtime/server/routes/auth/organization/mfa.post.d.ts +6 -0
- package/dist/runtime/server/routes/auth/organization/mfa.post.mjs +33 -0
- package/dist/runtime/server/routes/auth/organization/sso/[id].delete.d.ts +4 -0
- package/dist/runtime/server/routes/auth/organization/sso/[id].delete.mjs +28 -0
- package/dist/runtime/server/routes/auth/organization/sso/index.get.d.ts +2 -0
- package/dist/runtime/server/routes/auth/organization/sso/index.get.mjs +23 -0
- package/dist/runtime/server/routes/auth/organization/sso/index.post.d.ts +5 -0
- package/dist/runtime/server/routes/auth/organization/sso/index.post.mjs +84 -0
- package/dist/runtime/server/routes/auth/organization/switch.post.d.ts +6 -0
- package/dist/runtime/server/routes/auth/organization/switch.post.mjs +14 -0
- package/dist/runtime/server/routes/auth/otp/send.post.d.ts +10 -0
- package/dist/runtime/server/routes/auth/otp/send.post.mjs +29 -0
- package/dist/runtime/server/routes/auth/otp/verify.post.d.ts +6 -0
- package/dist/runtime/server/routes/auth/otp/verify.post.mjs +95 -0
- package/dist/runtime/server/routes/auth/sessions/[id].delete.d.ts +5 -0
- package/dist/runtime/server/routes/auth/sessions/[id].delete.mjs +24 -0
- package/dist/runtime/server/routes/auth/sessions.get.d.ts +2 -0
- package/dist/runtime/server/routes/auth/sessions.get.mjs +11 -0
- package/dist/runtime/server/routes/auth/sso/login.get.d.ts +2 -0
- package/dist/runtime/server/routes/auth/sso/login.get.mjs +94 -0
- package/dist/runtime/server/routes/auth/sso/oidc/callback.get.d.ts +2 -0
- package/dist/runtime/server/routes/auth/sso/oidc/callback.get.mjs +113 -0
- package/dist/runtime/server/routes/auth/sso/saml/acs.post.d.ts +2 -0
- package/dist/runtime/server/routes/auth/sso/saml/acs.post.mjs +95 -0
- package/dist/runtime/server/routes/auth/tokens/[id].delete.d.ts +4 -0
- package/dist/runtime/server/routes/auth/tokens/[id].delete.mjs +13 -0
- package/dist/runtime/server/routes/auth/tokens/create.post.d.ts +9 -0
- package/dist/runtime/server/routes/auth/tokens/create.post.mjs +17 -0
- package/dist/runtime/server/routes/auth/tokens/index.get.d.ts +9 -0
- package/dist/runtime/server/routes/auth/tokens/index.get.mjs +5 -0
- package/dist/runtime/server/routes/auth/turnstile/verify.post.d.ts +2 -0
- package/dist/runtime/server/routes/auth/turnstile/verify.post.mjs +15 -0
- package/dist/runtime/server/routes/auth/user.get.d.ts +2 -0
- package/dist/runtime/server/routes/auth/user.get.mjs +6 -0
- package/dist/runtime/server/routes/auth/webauthn/login/options.post.d.ts +2 -0
- package/dist/runtime/server/routes/auth/webauthn/login/options.post.mjs +17 -0
- package/dist/runtime/server/routes/auth/webauthn/login/verify.post.d.ts +6 -0
- package/dist/runtime/server/routes/auth/webauthn/login/verify.post.mjs +127 -0
- package/dist/runtime/server/routes/auth/webauthn/register/options.post.d.ts +2 -0
- package/dist/runtime/server/routes/auth/webauthn/register/options.post.mjs +47 -0
- package/dist/runtime/server/routes/auth/webauthn/register/verify.post.d.ts +5 -0
- package/dist/runtime/server/routes/auth/webauthn/register/verify.post.mjs +88 -0
- package/dist/runtime/server/routes/cms/[collection]/[id]/preview-token.post.d.ts +8 -0
- package/dist/runtime/server/routes/cms/[collection]/[id]/preview-token.post.mjs +27 -0
- package/dist/runtime/server/routes/cms/[collection]/[id]/publish.post.d.ts +6 -0
- package/dist/runtime/server/routes/cms/[collection]/[id]/publish.post.mjs +19 -0
- package/dist/runtime/server/routes/cms/[collection]/[id]/review.post.d.ts +6 -0
- package/dist/runtime/server/routes/cms/[collection]/[id]/review.post.mjs +33 -0
- package/dist/runtime/server/routes/cms/[collection]/[id].delete.d.ts +4 -0
- package/dist/runtime/server/routes/cms/[collection]/[id].delete.mjs +17 -0
- package/dist/runtime/server/routes/cms/[collection]/[id].put.d.ts +4 -0
- package/dist/runtime/server/routes/cms/[collection]/[id].put.mjs +18 -0
- package/dist/runtime/server/routes/cms/[collection]/[slug].get.d.ts +4 -0
- package/dist/runtime/server/routes/cms/[collection]/[slug].get.mjs +19 -0
- package/dist/runtime/server/routes/cms/[collection]/atom.xml.get.d.ts +2 -0
- package/dist/runtime/server/routes/cms/[collection]/atom.xml.get.mjs +69 -0
- package/dist/runtime/server/routes/cms/[collection]/by-path.get.d.ts +8 -0
- package/dist/runtime/server/routes/cms/[collection]/by-path.get.mjs +23 -0
- package/dist/runtime/server/routes/cms/[collection]/feed.xml.get.d.ts +2 -0
- package/dist/runtime/server/routes/cms/[collection]/feed.xml.get.mjs +65 -0
- package/dist/runtime/server/routes/cms/[collection]/index.get.d.ts +7 -0
- package/dist/runtime/server/routes/cms/[collection]/index.get.mjs +15 -0
- package/dist/runtime/server/routes/cms/[collection]/index.post.d.ts +4 -0
- package/dist/runtime/server/routes/cms/[collection]/index.post.mjs +23 -0
- package/dist/runtime/server/routes/cms/[collection]/references.get.d.ts +19 -0
- package/dist/runtime/server/routes/cms/[collection]/references.get.mjs +47 -0
- package/dist/runtime/server/routes/cms/[collection]/surroundings.get.d.ts +10 -0
- package/dist/runtime/server/routes/cms/[collection]/surroundings.get.mjs +12 -0
- package/dist/runtime/server/routes/cms/collections/[id].delete.d.ts +4 -0
- package/dist/runtime/server/routes/cms/collections/[id].delete.mjs +10 -0
- package/dist/runtime/server/routes/cms/collections/[id].put.d.ts +4 -0
- package/dist/runtime/server/routes/cms/collections/[id].put.mjs +11 -0
- package/dist/runtime/server/routes/cms/collections/index.get.d.ts +4 -0
- package/dist/runtime/server/routes/cms/collections/index.get.mjs +6 -0
- package/dist/runtime/server/routes/cms/collections/index.post.d.ts +4 -0
- package/dist/runtime/server/routes/cms/collections/index.post.mjs +19 -0
- package/dist/runtime/server/routes/cms/components/index.get.d.ts +17 -0
- package/dist/runtime/server/routes/cms/components/index.get.mjs +16 -0
- package/dist/runtime/server/routes/cms/deploy.post.d.ts +4 -0
- package/dist/runtime/server/routes/cms/deploy.post.mjs +46 -0
- package/dist/runtime/server/routes/cms/export.post.d.ts +10 -0
- package/dist/runtime/server/routes/cms/export.post.mjs +55 -0
- package/dist/runtime/server/routes/cms/navigation.get.d.ts +8 -0
- package/dist/runtime/server/routes/cms/navigation.get.mjs +36 -0
- package/dist/runtime/server/routes/cms/preview/disable.get.d.ts +9 -0
- package/dist/runtime/server/routes/cms/preview/disable.get.mjs +9 -0
- package/dist/runtime/server/routes/cms/preview/enable.get.d.ts +14 -0
- package/dist/runtime/server/routes/cms/preview/enable.get.mjs +42 -0
- package/dist/runtime/server/routes/cms/publish-scheduled.post.d.ts +11 -0
- package/dist/runtime/server/routes/cms/publish-scheduled.post.mjs +35 -0
- package/dist/runtime/server/routes/cms/search.get.d.ts +13 -0
- package/dist/runtime/server/routes/cms/search.get.mjs +137 -0
- package/dist/runtime/server/routes/cms/sync.post.d.ts +7 -0
- package/dist/runtime/server/routes/cms/sync.post.mjs +18 -0
- package/dist/runtime/server/routes/cms/webhooks/[provider].post.d.ts +150 -0
- package/dist/runtime/server/routes/cms/webhooks/[provider].post.mjs +213 -0
- package/dist/runtime/server/routes/docs/search.get.d.ts +15 -0
- package/dist/runtime/server/routes/docs/search.get.mjs +20 -0
- package/dist/runtime/server/routes/feed.xml.get.d.ts +2 -0
- package/dist/runtime/server/routes/feed.xml.get.mjs +73 -0
- package/dist/runtime/server/routes/mail/bounce.post.d.ts +14 -0
- package/dist/runtime/server/routes/mail/bounce.post.mjs +56 -0
- package/dist/runtime/server/routes/mail/inbox/[id].get.d.ts +2 -0
- package/dist/runtime/server/routes/mail/inbox/[id].get.mjs +9 -0
- package/dist/runtime/server/routes/mail/inbox.get.d.ts +4 -0
- package/dist/runtime/server/routes/mail/inbox.get.mjs +7 -0
- package/dist/runtime/server/routes/mail/suppressions/[email].delete.d.ts +11 -0
- package/dist/runtime/server/routes/mail/suppressions/[email].delete.mjs +18 -0
- package/dist/runtime/server/routes/mail/suppressions/index.get.d.ts +12 -0
- package/dist/runtime/server/routes/mail/suppressions/index.get.mjs +23 -0
- package/dist/runtime/server/routes/mail/suppressions/index.post.d.ts +10 -0
- package/dist/runtime/server/routes/mail/suppressions/index.post.mjs +23 -0
- package/dist/runtime/server/routes/mail/unsubscribe.d.ts +13 -0
- package/dist/runtime/server/routes/mail/unsubscribe.mjs +91 -0
- package/dist/runtime/server/routes/mail/webhooks.post.d.ts +12 -0
- package/dist/runtime/server/routes/mail/webhooks.post.mjs +71 -0
- package/dist/runtime/server/routes/notifications/[id]/read.post.d.ts +4 -0
- package/dist/runtime/server/routes/notifications/[id]/read.post.mjs +13 -0
- package/dist/runtime/server/routes/notifications/[id].delete.d.ts +4 -0
- package/dist/runtime/server/routes/notifications/[id].delete.mjs +13 -0
- package/dist/runtime/server/routes/notifications/[id].get.d.ts +2 -0
- package/dist/runtime/server/routes/notifications/[id].get.mjs +15 -0
- package/dist/runtime/server/routes/notifications/index.get.d.ts +6 -0
- package/dist/runtime/server/routes/notifications/index.get.mjs +18 -0
- package/dist/runtime/server/routes/notifications/push/subscribe.post.d.ts +4 -0
- package/dist/runtime/server/routes/notifications/push/subscribe.post.mjs +20 -0
- package/dist/runtime/server/routes/notifications/push/unsubscribe.post.d.ts +4 -0
- package/dist/runtime/server/routes/notifications/push/unsubscribe.post.mjs +15 -0
- package/dist/runtime/server/routes/notifications/read-all.post.d.ts +4 -0
- package/dist/runtime/server/routes/notifications/read-all.post.mjs +11 -0
- package/dist/runtime/server/routes/payments/cancel.post.d.ts +7 -0
- package/dist/runtime/server/routes/payments/cancel.post.mjs +9 -0
- package/dist/runtime/server/routes/payments/change-plan.post.d.ts +7 -0
- package/dist/runtime/server/routes/payments/change-plan.post.mjs +12 -0
- package/dist/runtime/server/routes/payments/checkout.post.d.ts +9 -0
- package/dist/runtime/server/routes/payments/checkout.post.mjs +16 -0
- package/dist/runtime/server/routes/payments/pause.post.d.ts +7 -0
- package/dist/runtime/server/routes/payments/pause.post.mjs +9 -0
- package/dist/runtime/server/routes/payments/portal.post.d.ts +5 -0
- package/dist/runtime/server/routes/payments/portal.post.mjs +9 -0
- package/dist/runtime/server/routes/payments/subscription.get.d.ts +6 -0
- package/dist/runtime/server/routes/payments/subscription.get.mjs +9 -0
- package/dist/runtime/server/routes/payments/usage.get.d.ts +12 -0
- package/dist/runtime/server/routes/payments/usage.get.mjs +18 -0
- package/dist/runtime/server/routes/payments/usage.post.d.ts +6 -0
- package/dist/runtime/server/routes/payments/usage.post.mjs +24 -0
- package/dist/runtime/server/routes/payments/webhook.post.d.ts +14 -0
- package/dist/runtime/server/routes/payments/webhook.post.mjs +21 -0
- package/dist/runtime/server/routes/realtime/broadcast.post.d.ts +4 -0
- package/dist/runtime/server/routes/realtime/broadcast.post.mjs +26 -0
- package/dist/runtime/server/routes/realtime/history.delete.d.ts +13 -0
- package/dist/runtime/server/routes/realtime/history.delete.mjs +12 -0
- package/dist/runtime/server/routes/realtime/history.get.d.ts +16 -0
- package/dist/runtime/server/routes/realtime/history.get.mjs +15 -0
- package/dist/runtime/server/routes/realtime/presence.get.d.ts +6 -0
- package/dist/runtime/server/routes/realtime/presence.get.mjs +27 -0
- package/dist/runtime/server/routes/realtime/state.get.d.ts +5 -0
- package/dist/runtime/server/routes/realtime/state.get.mjs +26 -0
- package/dist/runtime/server/routes/realtime/state.post.d.ts +6 -0
- package/dist/runtime/server/routes/realtime/state.post.mjs +37 -0
- package/dist/runtime/server/routes/realtime/ws.get.d.ts +2 -0
- package/dist/runtime/server/routes/realtime/ws.get.mjs +73 -0
- package/dist/runtime/server/routes/robots.txt.get.d.ts +2 -0
- package/dist/runtime/server/routes/robots.txt.get.mjs +41 -0
- package/dist/runtime/server/routes/rss.xml.get.d.ts +2 -0
- package/dist/runtime/server/routes/rss.xml.get.mjs +2 -0
- package/dist/runtime/server/routes/sitemap.xml.get.d.ts +2 -0
- package/dist/runtime/server/routes/sitemap.xml.get.mjs +84 -0
- package/dist/runtime/server/routes/storage/file/[...key].delete.d.ts +4 -0
- package/dist/runtime/server/routes/storage/file/[...key].delete.mjs +23 -0
- package/dist/runtime/server/routes/storage/file/[...key].get.d.ts +2 -0
- package/dist/runtime/server/routes/storage/file/[...key].get.mjs +23 -0
- package/dist/runtime/server/routes/storage/files.get.d.ts +14 -0
- package/dist/runtime/server/routes/storage/files.get.mjs +11 -0
- package/dist/runtime/server/routes/storage/presigned.post.d.ts +8 -0
- package/dist/runtime/server/routes/storage/presigned.post.mjs +39 -0
- package/dist/runtime/server/routes/storage/sign.post.d.ts +6 -0
- package/dist/runtime/server/routes/storage/sign.post.mjs +24 -0
- package/dist/runtime/server/routes/storage/upload.post.d.ts +22 -0
- package/dist/runtime/server/routes/storage/upload.post.mjs +96 -0
- package/dist/runtime/server/routes/tenants/[tenant]/domains/[domain]/index.delete.d.ts +8 -0
- package/dist/runtime/server/routes/tenants/[tenant]/domains/[domain]/index.delete.mjs +39 -0
- package/dist/runtime/server/routes/tenants/[tenant]/domains/[domain]/verify.post.d.ts +8 -0
- package/dist/runtime/server/routes/tenants/[tenant]/domains/[domain]/verify.post.mjs +39 -0
- package/dist/runtime/server/routes/tenants/[tenant]/domains/index.get.d.ts +8 -0
- package/dist/runtime/server/routes/tenants/[tenant]/domains/index.get.mjs +20 -0
- package/dist/runtime/server/routes/tenants/[tenant]/domains/index.post.d.ts +8 -0
- package/dist/runtime/server/routes/tenants/[tenant]/domains/index.post.mjs +44 -0
- package/dist/runtime/server/routes/tenants/current.get.d.ts +8 -0
- package/dist/runtime/server/routes/tenants/current.get.mjs +6 -0
- package/dist/runtime/server/tasks/cms/publish.d.ts +4 -0
- package/dist/runtime/server/tasks/cms/publish.mjs +18 -0
- package/dist/runtime/server/utils/agent-store.d.ts +24 -0
- package/dist/runtime/server/utils/agent-store.mjs +53 -0
- package/dist/runtime/server/utils/agents-registry-fallback.d.ts +1 -0
- package/dist/runtime/server/utils/agents-registry-fallback.mjs +1 -0
- package/dist/runtime/server/utils/ai.d.ts +119 -0
- package/dist/runtime/server/utils/ai.mjs +607 -0
- package/dist/runtime/server/utils/analytics-query.d.ts +109 -0
- package/dist/runtime/server/utils/analytics-query.mjs +234 -0
- package/dist/runtime/server/utils/auth.d.ts +60 -0
- package/dist/runtime/server/utils/auth.mjs +361 -0
- package/dist/runtime/server/utils/blob-store.d.ts +13 -0
- package/dist/runtime/server/utils/blob-store.mjs +60 -0
- package/dist/runtime/server/utils/bots.d.ts +21 -0
- package/dist/runtime/server/utils/bots.mjs +491 -0
- package/dist/runtime/server/utils/cache.d.ts +33 -0
- package/dist/runtime/server/utils/cache.mjs +128 -0
- package/dist/runtime/server/utils/cms-events.d.ts +17 -0
- package/dist/runtime/server/utils/cms-events.mjs +80 -0
- package/dist/runtime/server/utils/cms-filter.d.ts +3 -0
- package/dist/runtime/server/utils/cms-filter.mjs +34 -0
- package/dist/runtime/server/utils/cms.d.ts +278 -0
- package/dist/runtime/server/utils/cms.mjs +3268 -0
- package/dist/runtime/server/utils/config.d.ts +27 -0
- package/dist/runtime/server/utils/config.mjs +38 -0
- package/dist/runtime/server/utils/context.d.ts +13 -0
- package/dist/runtime/server/utils/context.mjs +98 -0
- package/dist/runtime/server/utils/crypto.d.ts +16 -0
- package/dist/runtime/server/utils/crypto.mjs +56 -0
- package/dist/runtime/server/utils/dev-logs.d.ts +21 -0
- package/dist/runtime/server/utils/dev-logs.mjs +41 -0
- package/dist/runtime/server/utils/dev-proxy.d.ts +1 -0
- package/dist/runtime/server/utils/dev-proxy.mjs +69 -0
- package/dist/runtime/server/utils/domains.d.ts +46 -0
- package/dist/runtime/server/utils/domains.mjs +318 -0
- package/dist/runtime/server/utils/drizzle.d.ts +10 -0
- package/dist/runtime/server/utils/drizzle.mjs +36 -0
- package/dist/runtime/server/utils/email-templates.d.ts +44 -0
- package/dist/runtime/server/utils/email-templates.mjs +373 -0
- package/dist/runtime/server/utils/feed.d.ts +42 -0
- package/dist/runtime/server/utils/feed.mjs +161 -0
- package/dist/runtime/server/utils/impersonation.d.ts +67 -0
- package/dist/runtime/server/utils/impersonation.mjs +298 -0
- package/dist/runtime/server/utils/jobs.d.ts +70 -0
- package/dist/runtime/server/utils/jobs.mjs +125 -0
- package/dist/runtime/server/utils/kv-store.d.ts +9 -0
- package/dist/runtime/server/utils/kv-store.mjs +32 -0
- package/dist/runtime/server/utils/mail-suppression.d.ts +62 -0
- package/dist/runtime/server/utils/mail-suppression.mjs +328 -0
- package/dist/runtime/server/utils/mail.d.ts +90 -0
- package/dist/runtime/server/utils/mail.mjs +366 -0
- package/dist/runtime/server/utils/notifications.d.ts +51 -0
- package/dist/runtime/server/utils/notifications.mjs +215 -0
- package/dist/runtime/server/utils/organization.d.ts +54 -0
- package/dist/runtime/server/utils/organization.mjs +354 -0
- package/dist/runtime/server/utils/passwordless.d.ts +48 -0
- package/dist/runtime/server/utils/passwordless.mjs +179 -0
- package/dist/runtime/server/utils/payments.d.ts +121 -0
- package/dist/runtime/server/utils/payments.mjs +1067 -0
- package/dist/runtime/server/utils/queue-fallback.d.ts +2 -0
- package/dist/runtime/server/utils/queue-fallback.mjs +2 -0
- package/dist/runtime/server/utils/queue.d.ts +4 -0
- package/dist/runtime/server/utils/queue.mjs +3 -0
- package/dist/runtime/server/utils/rag.d.ts +25 -0
- package/dist/runtime/server/utils/rag.mjs +333 -0
- package/dist/runtime/server/utils/ratelimit.d.ts +45 -0
- package/dist/runtime/server/utils/ratelimit.mjs +182 -0
- package/dist/runtime/server/utils/realtime.d.ts +110 -0
- package/dist/runtime/server/utils/realtime.mjs +197 -0
- package/dist/runtime/server/utils/schema-fallback.d.ts +3 -0
- package/dist/runtime/server/utils/schema-fallback.mjs +2 -0
- package/dist/runtime/server/utils/session.d.ts +72 -0
- package/dist/runtime/server/utils/session.mjs +287 -0
- package/dist/runtime/server/utils/sso.d.ts +49 -0
- package/dist/runtime/server/utils/sso.mjs +131 -0
- package/dist/runtime/server/utils/storage.d.ts +111 -0
- package/dist/runtime/server/utils/storage.mjs +654 -0
- package/dist/runtime/server/utils/tenant.d.ts +44 -0
- package/dist/runtime/server/utils/tenant.mjs +285 -0
- package/dist/runtime/server/utils/totp.d.ts +33 -0
- package/dist/runtime/server/utils/totp.mjs +112 -0
- package/dist/runtime/server/utils/tracker.d.ts +72 -0
- package/dist/runtime/server/utils/tracker.mjs +139 -0
- package/dist/runtime/server/utils/turnstile.d.ts +17 -0
- package/dist/runtime/server/utils/turnstile.mjs +68 -0
- package/dist/runtime/server/utils/vapid.d.ts +35 -0
- package/dist/runtime/server/utils/vapid.mjs +211 -0
- package/dist/runtime/storage.d.ts +1 -0
- package/dist/runtime/storage.mjs +0 -0
- package/dist/runtime/types/ai.d.ts +68 -0
- package/dist/runtime/types/ai.mjs +0 -0
- package/dist/runtime/types/analytics.d.ts +30 -0
- package/dist/runtime/types/analytics.mjs +0 -0
- package/dist/runtime/types/auth-globals.d.ts +14 -0
- package/dist/runtime/types/auth.d.ts +153 -0
- package/dist/runtime/types/auth.mjs +0 -0
- package/dist/runtime/types/browser.d.ts +29 -0
- package/dist/runtime/types/browser.mjs +0 -0
- package/dist/runtime/types/d1.d.ts +44 -0
- package/dist/runtime/types/d1.mjs +0 -0
- package/dist/runtime/types/drizzle.d.ts +13 -0
- package/dist/runtime/types/drizzle.mjs +0 -0
- package/dist/runtime/types/durable-object.d.ts +51 -0
- package/dist/runtime/types/durable-object.mjs +0 -0
- package/dist/runtime/types/email.d.ts +66 -0
- package/dist/runtime/types/email.mjs +0 -0
- package/dist/runtime/types/hyperdrive.d.ts +18 -0
- package/dist/runtime/types/hyperdrive.mjs +0 -0
- package/dist/runtime/types/imports.d.ts +58 -0
- package/dist/runtime/types/index.d.ts +156 -0
- package/dist/runtime/types/index.mjs +13 -0
- package/dist/runtime/types/queue.d.ts +67 -0
- package/dist/runtime/types/queue.mjs +0 -0
- package/dist/runtime/types/r2.d.ts +108 -0
- package/dist/runtime/types/r2.mjs +0 -0
- package/dist/runtime/types/ratelimit.d.ts +21 -0
- package/dist/runtime/types/ratelimit.mjs +0 -0
- package/dist/runtime/types/vectorize.d.ts +74 -0
- package/dist/runtime/types/vectorize.mjs +0 -0
- package/dist/runtime/vectorize.d.ts +21 -0
- package/dist/runtime/vectorize.mjs +53 -0
- package/dist/types.d.ts +2750 -0
- package/dist/types.mjs +1 -0
- package/dist/utils/agents.d.ts +8 -0
- package/dist/utils/auth-schema.d.ts +11 -0
- package/dist/utils/bindings.d.ts +16 -0
- package/dist/utils/cms-schema.d.ts +1 -0
- package/dist/utils/cms-sources.d.ts +62 -0
- package/dist/utils/drizzle.d.ts +42 -0
- package/dist/utils/jobs.d.ts +8 -0
- package/dist/utils/local-db.d.ts +28 -0
- package/dist/utils/notifications-schema.d.ts +15 -0
- package/dist/utils/payments-schema.d.ts +11 -0
- package/dist/utils/pkg.d.ts +15 -0
- package/dist/utils/queue.d.ts +8 -0
- package/dist/utils/tenants-schema.d.ts +11 -0
- package/package.json +104 -0
|
@@ -0,0 +1,560 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { computed, onMounted, ref } from "vue"
|
|
3
|
+
|
|
4
|
+
definePageMeta({ layout: false })
|
|
5
|
+
|
|
6
|
+
const {
|
|
7
|
+
data: settingsData,
|
|
8
|
+
status: settingsStatus,
|
|
9
|
+
pending: settingsPending,
|
|
10
|
+
execute: executeLoadSettings,
|
|
11
|
+
} = useFetch<any>("/_qarpeo/api/settings", {
|
|
12
|
+
immediate: false,
|
|
13
|
+
lazy: true,
|
|
14
|
+
default: () => ({
|
|
15
|
+
system: {},
|
|
16
|
+
bindings: {},
|
|
17
|
+
modules: {},
|
|
18
|
+
devSandbox: {},
|
|
19
|
+
securityGateway: {},
|
|
20
|
+
}),
|
|
21
|
+
})
|
|
22
|
+
|
|
23
|
+
const loading = computed(
|
|
24
|
+
() =>
|
|
25
|
+
settingsPending.value || settingsStatus.value === "idle" || settingsStatus.value === "pending",
|
|
26
|
+
)
|
|
27
|
+
|
|
28
|
+
const activeTab = ref<"bindings" | "modules" | "sandbox" | "security">("bindings")
|
|
29
|
+
|
|
30
|
+
const system = computed(() => settingsData.value?.system || {})
|
|
31
|
+
const bindings = computed(() => settingsData.value?.bindings || {})
|
|
32
|
+
const modules = computed(() => settingsData.value?.modules || {})
|
|
33
|
+
const devSandbox = computed(() => settingsData.value?.devSandbox || {})
|
|
34
|
+
const security = computed(() => settingsData.value?.securityGateway || {})
|
|
35
|
+
|
|
36
|
+
// Reset dev sandbox state
|
|
37
|
+
const resetting = ref(false)
|
|
38
|
+
const showResetModal = ref(false)
|
|
39
|
+
const resetTarget = ref<"all" | "kv" | "blob">("all")
|
|
40
|
+
const resetSuccessMessage = ref("")
|
|
41
|
+
|
|
42
|
+
async function loadSettings() {
|
|
43
|
+
await executeLoadSettings()
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
async function handleResetData() {
|
|
47
|
+
resetting.value = true
|
|
48
|
+
try {
|
|
49
|
+
const res = await $fetch<any>("/_qarpeo/api/settings/reset-dev-data", {
|
|
50
|
+
method: "POST",
|
|
51
|
+
body: { target: resetTarget.value },
|
|
52
|
+
})
|
|
53
|
+
resetSuccessMessage.value = res.message || "Dev sandbox reset successfully."
|
|
54
|
+
showResetModal.value = false
|
|
55
|
+
await loadSettings()
|
|
56
|
+
setTimeout(() => {
|
|
57
|
+
resetSuccessMessage.value = ""
|
|
58
|
+
}, 4000)
|
|
59
|
+
} catch (err: any) {
|
|
60
|
+
console.error("Failed to reset sandbox:", err)
|
|
61
|
+
} finally {
|
|
62
|
+
resetting.value = false
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
function openResetModal(target: "all" | "kv" | "blob") {
|
|
67
|
+
resetTarget.value = target
|
|
68
|
+
showResetModal.value = true
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
onMounted(() => {
|
|
72
|
+
loadSettings()
|
|
73
|
+
})
|
|
74
|
+
</script>
|
|
75
|
+
|
|
76
|
+
<template>
|
|
77
|
+
<UDashboardPanel id="devtools-settings">
|
|
78
|
+
<template #header>
|
|
79
|
+
<UDashboardNavbar>
|
|
80
|
+
<template #title>
|
|
81
|
+
<div class="flex items-center gap-2">
|
|
82
|
+
<UIcon name="i-lucide-settings" class="w-4 h-4 text-primary" />
|
|
83
|
+
<span class="font-bold text-sm text-highlighted">DevTools Settings & Runtime</span>
|
|
84
|
+
<UBadge size="xs" color="neutral" variant="subtle">Diagnostics</UBadge>
|
|
85
|
+
</div>
|
|
86
|
+
</template>
|
|
87
|
+
|
|
88
|
+
<template #right>
|
|
89
|
+
<div class="flex items-center gap-1.5">
|
|
90
|
+
<UButton
|
|
91
|
+
icon="i-lucide-refresh-cw"
|
|
92
|
+
size="xs"
|
|
93
|
+
color="neutral"
|
|
94
|
+
variant="ghost"
|
|
95
|
+
title="Refresh settings"
|
|
96
|
+
:loading="loading"
|
|
97
|
+
@click="loadSettings"
|
|
98
|
+
/>
|
|
99
|
+
</div>
|
|
100
|
+
</template>
|
|
101
|
+
</UDashboardNavbar>
|
|
102
|
+
|
|
103
|
+
<!-- Subheader Category Tabs -->
|
|
104
|
+
<UDashboardToolbar>
|
|
105
|
+
<div class="flex items-center gap-1 bg-muted p-0.5 rounded border border-default">
|
|
106
|
+
<UButton
|
|
107
|
+
label="Edge Bindings"
|
|
108
|
+
icon="i-lucide-cpu"
|
|
109
|
+
size="xs"
|
|
110
|
+
:color="activeTab === 'bindings' ? 'primary' : 'neutral'"
|
|
111
|
+
:variant="activeTab === 'bindings' ? 'subtle' : 'ghost'"
|
|
112
|
+
@click="activeTab = 'bindings'"
|
|
113
|
+
/>
|
|
114
|
+
<UButton
|
|
115
|
+
label="Modules & Tiers"
|
|
116
|
+
icon="i-lucide-layers"
|
|
117
|
+
size="xs"
|
|
118
|
+
:color="activeTab === 'modules' ? 'primary' : 'neutral'"
|
|
119
|
+
:variant="activeTab === 'modules' ? 'subtle' : 'ghost'"
|
|
120
|
+
@click="activeTab = 'modules'"
|
|
121
|
+
/>
|
|
122
|
+
<UButton
|
|
123
|
+
label="Dev Sandbox"
|
|
124
|
+
icon="i-lucide-flask-conical"
|
|
125
|
+
size="xs"
|
|
126
|
+
:color="activeTab === 'sandbox' ? 'primary' : 'neutral'"
|
|
127
|
+
:variant="activeTab === 'sandbox' ? 'subtle' : 'ghost'"
|
|
128
|
+
@click="activeTab = 'sandbox'"
|
|
129
|
+
>
|
|
130
|
+
<template #trailing>
|
|
131
|
+
<UBadge
|
|
132
|
+
size="xs"
|
|
133
|
+
:color="activeTab === 'sandbox' ? 'primary' : 'neutral'"
|
|
134
|
+
variant="subtle"
|
|
135
|
+
>
|
|
136
|
+
Mock
|
|
137
|
+
</UBadge>
|
|
138
|
+
</template>
|
|
139
|
+
</UButton>
|
|
140
|
+
<UButton
|
|
141
|
+
label="Security & Gateway"
|
|
142
|
+
icon="i-lucide-shield-check"
|
|
143
|
+
size="xs"
|
|
144
|
+
:color="activeTab === 'security' ? 'primary' : 'neutral'"
|
|
145
|
+
:variant="activeTab === 'security' ? 'subtle' : 'ghost'"
|
|
146
|
+
@click="activeTab = 'security'"
|
|
147
|
+
/>
|
|
148
|
+
</div>
|
|
149
|
+
</UDashboardToolbar>
|
|
150
|
+
</template>
|
|
151
|
+
|
|
152
|
+
<template #body>
|
|
153
|
+
<!-- Success Toast / Notification Banner -->
|
|
154
|
+
<div
|
|
155
|
+
v-if="resetSuccessMessage"
|
|
156
|
+
class="bg-success/10 border border-success/30 text-success rounded-lg p-3 text-xs flex items-center justify-between mb-4"
|
|
157
|
+
>
|
|
158
|
+
<div class="flex items-center gap-2">
|
|
159
|
+
<UIcon name="i-lucide-check-circle" class="w-4 h-4 shrink-0" />
|
|
160
|
+
<span>{{ resetSuccessMessage }}</span>
|
|
161
|
+
</div>
|
|
162
|
+
<UButton color="success" variant="ghost" size="xs" @click="resetSuccessMessage = ''">
|
|
163
|
+
Dismiss
|
|
164
|
+
</UButton>
|
|
165
|
+
</div>
|
|
166
|
+
|
|
167
|
+
<!-- Loading Skeleton State -->
|
|
168
|
+
<div v-if="loading" class="space-y-6">
|
|
169
|
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-4">
|
|
170
|
+
<div
|
|
171
|
+
v-for="i in 4"
|
|
172
|
+
:key="i"
|
|
173
|
+
class="bg-elevated/40 border border-default rounded-xl p-4 h-24 animate-pulse flex flex-col justify-between"
|
|
174
|
+
>
|
|
175
|
+
<div class="h-3 w-1/2 bg-muted rounded"></div>
|
|
176
|
+
<div class="h-6 w-3/4 bg-muted rounded"></div>
|
|
177
|
+
</div>
|
|
178
|
+
</div>
|
|
179
|
+
<div class="border border-default rounded-xl p-6 h-64 bg-elevated/40 animate-pulse"></div>
|
|
180
|
+
</div>
|
|
181
|
+
|
|
182
|
+
<div v-else class="space-y-6">
|
|
183
|
+
<!-- ── System Overview KPI Cards ──────────────────────────────── -->
|
|
184
|
+
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-3.5">
|
|
185
|
+
<div
|
|
186
|
+
class="bg-elevated/40 border border-default rounded-xl p-4 flex flex-col justify-between shadow-xs"
|
|
187
|
+
>
|
|
188
|
+
<div class="flex items-center justify-between text-muted text-xs">
|
|
189
|
+
<span>Environment</span>
|
|
190
|
+
<UIcon name="i-lucide-globe" class="w-4 h-4 text-primary" />
|
|
191
|
+
</div>
|
|
192
|
+
<div class="mt-2 flex items-center gap-2">
|
|
193
|
+
<span class="text-base font-bold text-highlighted capitalize">{{
|
|
194
|
+
system.environment
|
|
195
|
+
}}</span>
|
|
196
|
+
<UBadge :color="system.devMode ? 'warning' : 'success'" variant="subtle" size="xs">
|
|
197
|
+
{{ system.devMode ? "Dev Mode" : "Production" }}
|
|
198
|
+
</UBadge>
|
|
199
|
+
</div>
|
|
200
|
+
<div class="text-[11px] text-muted mt-1 font-mono">Node {{ system.nodeVersion }}</div>
|
|
201
|
+
</div>
|
|
202
|
+
|
|
203
|
+
<div
|
|
204
|
+
class="bg-elevated/40 border border-default rounded-xl p-4 flex flex-col justify-between shadow-xs"
|
|
205
|
+
>
|
|
206
|
+
<div class="flex items-center justify-between text-muted text-xs">
|
|
207
|
+
<span>Runtime Engine</span>
|
|
208
|
+
<UIcon name="i-lucide-server" class="w-4 h-4 text-primary" />
|
|
209
|
+
</div>
|
|
210
|
+
<div class="mt-2 text-base font-bold text-highlighted">Cloudflare Edge</div>
|
|
211
|
+
<div class="text-[11px] text-muted mt-1 font-mono truncate">Nuxt 5 + Nitro Engine</div>
|
|
212
|
+
</div>
|
|
213
|
+
|
|
214
|
+
<div
|
|
215
|
+
class="bg-elevated/40 border border-default rounded-xl p-4 flex flex-col justify-between shadow-xs"
|
|
216
|
+
>
|
|
217
|
+
<div class="flex items-center justify-between text-muted text-xs">
|
|
218
|
+
<span>Framework Version</span>
|
|
219
|
+
<UIcon name="i-lucide-tag" class="w-4 h-4 text-primary" />
|
|
220
|
+
</div>
|
|
221
|
+
<div class="mt-2 text-base font-bold text-highlighted font-mono">
|
|
222
|
+
v{{ system.version }}
|
|
223
|
+
</div>
|
|
224
|
+
<div class="text-[11px] text-muted mt-1">@qarpeo/core</div>
|
|
225
|
+
</div>
|
|
226
|
+
|
|
227
|
+
<div
|
|
228
|
+
class="bg-elevated/40 border border-default rounded-xl p-4 flex flex-col justify-between shadow-xs"
|
|
229
|
+
>
|
|
230
|
+
<div class="flex items-center justify-between text-muted text-xs">
|
|
231
|
+
<span>Dev Mock Sandbox</span>
|
|
232
|
+
<UIcon name="i-lucide-flask-conical" class="w-4 h-4 text-primary" />
|
|
233
|
+
</div>
|
|
234
|
+
<div class="mt-2 flex items-center gap-2">
|
|
235
|
+
<span class="text-base font-bold text-highlighted">
|
|
236
|
+
{{ devSandbox.kvItems }} KV / {{ devSandbox.blobFiles }} Blob
|
|
237
|
+
</span>
|
|
238
|
+
</div>
|
|
239
|
+
<div class="text-[11px] text-muted mt-1">In-Memory Active</div>
|
|
240
|
+
</div>
|
|
241
|
+
</div>
|
|
242
|
+
|
|
243
|
+
<!-- ── TAB 1: EDGE BINDINGS ───────────────────────────────────── -->
|
|
244
|
+
<div v-if="activeTab === 'bindings'" class="space-y-4">
|
|
245
|
+
<div class="flex items-center justify-between">
|
|
246
|
+
<div>
|
|
247
|
+
<h3 class="text-sm font-bold text-highlighted">Cloudflare Edge Bindings</h3>
|
|
248
|
+
<p class="text-xs text-muted">
|
|
249
|
+
Runtime infrastructure bindings attached to Cloudflare Workers and Nitro context.
|
|
250
|
+
</p>
|
|
251
|
+
</div>
|
|
252
|
+
</div>
|
|
253
|
+
|
|
254
|
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-3.5">
|
|
255
|
+
<div
|
|
256
|
+
v-for="(binding, key) in bindings"
|
|
257
|
+
:key="key"
|
|
258
|
+
class="bg-elevated/40 border border-default rounded-xl p-4 flex flex-col justify-between space-y-3"
|
|
259
|
+
>
|
|
260
|
+
<div class="flex items-start justify-between">
|
|
261
|
+
<div class="flex items-center gap-2.5">
|
|
262
|
+
<div
|
|
263
|
+
class="w-8 h-8 rounded-lg bg-primary/10 border border-primary/20 flex items-center justify-center text-primary shrink-0"
|
|
264
|
+
>
|
|
265
|
+
<UIcon
|
|
266
|
+
:name="
|
|
267
|
+
key === 'db'
|
|
268
|
+
? 'i-lucide-database'
|
|
269
|
+
: key === 'kv'
|
|
270
|
+
? 'i-lucide-zap'
|
|
271
|
+
: key === 'blob'
|
|
272
|
+
? 'i-lucide-box'
|
|
273
|
+
: key === 'agents'
|
|
274
|
+
? 'i-lucide-bot'
|
|
275
|
+
: key === 'analytics'
|
|
276
|
+
? 'i-lucide-bar-chart'
|
|
277
|
+
: 'i-lucide-cpu'
|
|
278
|
+
"
|
|
279
|
+
class="w-4 h-4"
|
|
280
|
+
/>
|
|
281
|
+
</div>
|
|
282
|
+
<div>
|
|
283
|
+
<div class="text-xs font-bold text-highlighted uppercase tracking-wide">
|
|
284
|
+
{{ key }}
|
|
285
|
+
</div>
|
|
286
|
+
<div class="text-[11px] text-muted">{{ binding.type }}</div>
|
|
287
|
+
</div>
|
|
288
|
+
</div>
|
|
289
|
+
|
|
290
|
+
<UBadge size="xs" :color="binding.enabled ? 'success' : 'neutral'" variant="subtle">
|
|
291
|
+
{{ binding.enabled ? "Configured" : "Disabled" }}
|
|
292
|
+
</UBadge>
|
|
293
|
+
</div>
|
|
294
|
+
|
|
295
|
+
<div class="divide-y divide-default/50 text-xs font-mono pt-1">
|
|
296
|
+
<div class="flex justify-between py-1.5">
|
|
297
|
+
<span class="text-muted">Binding Name</span>
|
|
298
|
+
<span class="text-highlighted font-bold">{{ binding.name }}</span>
|
|
299
|
+
</div>
|
|
300
|
+
<div class="flex justify-between py-1.5">
|
|
301
|
+
<span class="text-muted">Dev Fallback</span>
|
|
302
|
+
<span class="text-default">In-Memory Mock</span>
|
|
303
|
+
</div>
|
|
304
|
+
</div>
|
|
305
|
+
</div>
|
|
306
|
+
</div>
|
|
307
|
+
</div>
|
|
308
|
+
|
|
309
|
+
<!-- ── TAB 2: MODULES & TIERS ─────────────────────────────────── -->
|
|
310
|
+
<div v-else-if="activeTab === 'modules'" class="space-y-4">
|
|
311
|
+
<div>
|
|
312
|
+
<h3 class="text-sm font-bold text-highlighted">Active Framework Modules</h3>
|
|
313
|
+
<p class="text-xs text-muted">
|
|
314
|
+
Tier 1 infrastructure primitives and Tier 2 integrated business solutions.
|
|
315
|
+
</p>
|
|
316
|
+
</div>
|
|
317
|
+
|
|
318
|
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-3.5">
|
|
319
|
+
<div
|
|
320
|
+
v-for="(mod, key) in modules"
|
|
321
|
+
:key="key"
|
|
322
|
+
class="bg-elevated/40 border border-default rounded-xl p-4 flex flex-col justify-between space-y-2"
|
|
323
|
+
>
|
|
324
|
+
<div class="flex items-center justify-between">
|
|
325
|
+
<div class="flex items-center gap-2">
|
|
326
|
+
<UIcon name="i-lucide-check-circle" class="w-4 h-4 text-primary" />
|
|
327
|
+
<span class="text-xs font-bold text-highlighted">{{ mod.label }}</span>
|
|
328
|
+
</div>
|
|
329
|
+
<UBadge size="xs" :color="mod.enabled ? 'primary' : 'neutral'" variant="subtle">
|
|
330
|
+
{{ mod.enabled ? "Enabled" : "Optional" }}
|
|
331
|
+
</UBadge>
|
|
332
|
+
</div>
|
|
333
|
+
|
|
334
|
+
<p class="text-xs text-muted leading-relaxed">
|
|
335
|
+
{{ mod.description }}
|
|
336
|
+
</p>
|
|
337
|
+
|
|
338
|
+
<div
|
|
339
|
+
v-if="key === 'multitenant' && mod.enabled"
|
|
340
|
+
class="pt-2 text-[11px] font-mono text-muted space-y-0.5"
|
|
341
|
+
>
|
|
342
|
+
<div>
|
|
343
|
+
Root: <span class="text-highlighted">{{ mod.rootDomains?.join(", ") }}</span>
|
|
344
|
+
</div>
|
|
345
|
+
<div>
|
|
346
|
+
Custom Domains:
|
|
347
|
+
<span class="text-highlighted">{{ mod.customDomains ? "Active" : "Off" }}</span>
|
|
348
|
+
</div>
|
|
349
|
+
</div>
|
|
350
|
+
</div>
|
|
351
|
+
</div>
|
|
352
|
+
</div>
|
|
353
|
+
|
|
354
|
+
<!-- ── TAB 3: DEV SANDBOX MANAGEMENT ──────────────────────────── -->
|
|
355
|
+
<div v-else-if="activeTab === 'sandbox'" class="space-y-4">
|
|
356
|
+
<div class="flex items-center justify-between">
|
|
357
|
+
<div>
|
|
358
|
+
<h3 class="text-sm font-bold text-highlighted">Development Mock Sandbox</h3>
|
|
359
|
+
<p class="text-xs text-muted">
|
|
360
|
+
Manage and reset temporary in-memory mock data across DevTools panels.
|
|
361
|
+
</p>
|
|
362
|
+
</div>
|
|
363
|
+
<UButton
|
|
364
|
+
label="Reset All Sandbox Data"
|
|
365
|
+
icon="i-lucide-rotate-ccw"
|
|
366
|
+
color="error"
|
|
367
|
+
size="xs"
|
|
368
|
+
variant="subtle"
|
|
369
|
+
@click="openResetModal('all')"
|
|
370
|
+
/>
|
|
371
|
+
</div>
|
|
372
|
+
|
|
373
|
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-4">
|
|
374
|
+
<!-- KV Sandbox Card -->
|
|
375
|
+
<div
|
|
376
|
+
class="bg-elevated/40 border border-default rounded-xl p-4 flex flex-col justify-between space-y-4"
|
|
377
|
+
>
|
|
378
|
+
<div class="flex items-start justify-between">
|
|
379
|
+
<div class="flex items-center gap-2">
|
|
380
|
+
<UIcon name="i-lucide-zap" class="w-5 h-5 text-primary" />
|
|
381
|
+
<div>
|
|
382
|
+
<div class="text-xs font-bold text-highlighted">KV Store Sandbox</div>
|
|
383
|
+
<div class="text-[11px] text-muted">
|
|
384
|
+
{{ devSandbox.kvItems }} keys currently stored
|
|
385
|
+
</div>
|
|
386
|
+
</div>
|
|
387
|
+
</div>
|
|
388
|
+
<UBadge size="xs" color="neutral" variant="subtle">In-Memory</UBadge>
|
|
389
|
+
</div>
|
|
390
|
+
<p class="text-xs text-muted">
|
|
391
|
+
Stores mock session tokens, cache tags, rate limit windows, and domain mapping
|
|
392
|
+
records.
|
|
393
|
+
</p>
|
|
394
|
+
<div class="flex justify-end pt-2">
|
|
395
|
+
<UButton
|
|
396
|
+
label="Reset KV Store"
|
|
397
|
+
size="xs"
|
|
398
|
+
color="neutral"
|
|
399
|
+
variant="subtle"
|
|
400
|
+
icon="i-lucide-rotate-ccw"
|
|
401
|
+
@click="openResetModal('kv')"
|
|
402
|
+
/>
|
|
403
|
+
</div>
|
|
404
|
+
</div>
|
|
405
|
+
|
|
406
|
+
<!-- Blob Sandbox Card -->
|
|
407
|
+
<div
|
|
408
|
+
class="bg-elevated/40 border border-default rounded-xl p-4 flex flex-col justify-between space-y-4"
|
|
409
|
+
>
|
|
410
|
+
<div class="flex items-start justify-between">
|
|
411
|
+
<div class="flex items-center gap-2">
|
|
412
|
+
<UIcon name="i-lucide-box" class="w-5 h-5 text-primary" />
|
|
413
|
+
<div>
|
|
414
|
+
<div class="text-xs font-bold text-highlighted">Blob / R2 Sandbox</div>
|
|
415
|
+
<div class="text-[11px] text-muted">
|
|
416
|
+
{{ devSandbox.blobFiles }} files uploaded
|
|
417
|
+
</div>
|
|
418
|
+
</div>
|
|
419
|
+
</div>
|
|
420
|
+
<UBadge size="xs" color="neutral" variant="subtle">In-Memory</UBadge>
|
|
421
|
+
</div>
|
|
422
|
+
<p class="text-xs text-muted">
|
|
423
|
+
Stores uploaded mock avatars, documents, and media buffers with live serve
|
|
424
|
+
endpoints.
|
|
425
|
+
</p>
|
|
426
|
+
<div class="flex justify-end pt-2">
|
|
427
|
+
<UButton
|
|
428
|
+
label="Reset Blob Store"
|
|
429
|
+
size="xs"
|
|
430
|
+
color="neutral"
|
|
431
|
+
variant="subtle"
|
|
432
|
+
icon="i-lucide-rotate-ccw"
|
|
433
|
+
@click="openResetModal('blob')"
|
|
434
|
+
/>
|
|
435
|
+
</div>
|
|
436
|
+
</div>
|
|
437
|
+
|
|
438
|
+
<!-- Tenants Sandbox Card -->
|
|
439
|
+
<div
|
|
440
|
+
class="bg-elevated/40 border border-default rounded-xl p-4 flex flex-col justify-between space-y-4"
|
|
441
|
+
>
|
|
442
|
+
<div class="flex items-start justify-between">
|
|
443
|
+
<div class="flex items-center gap-2">
|
|
444
|
+
<UIcon name="i-lucide-globe" class="w-5 h-5 text-primary" />
|
|
445
|
+
<div>
|
|
446
|
+
<div class="text-xs font-bold text-highlighted">Tenants & Domains</div>
|
|
447
|
+
<div class="text-[11px] text-muted">
|
|
448
|
+
{{ devSandbox.tenantsCount }} organizations registered
|
|
449
|
+
</div>
|
|
450
|
+
</div>
|
|
451
|
+
</div>
|
|
452
|
+
<UBadge size="xs" color="neutral" variant="subtle">In-Memory</UBadge>
|
|
453
|
+
</div>
|
|
454
|
+
<p class="text-xs text-muted">
|
|
455
|
+
Simulates multi-tenant organization directories, subdomains, and CNAME custom
|
|
456
|
+
hostnames.
|
|
457
|
+
</p>
|
|
458
|
+
<div class="flex justify-end pt-2">
|
|
459
|
+
<UButton
|
|
460
|
+
label="Manage Tenants"
|
|
461
|
+
size="xs"
|
|
462
|
+
color="neutral"
|
|
463
|
+
variant="subtle"
|
|
464
|
+
to="/devtools/domains"
|
|
465
|
+
/>
|
|
466
|
+
</div>
|
|
467
|
+
</div>
|
|
468
|
+
</div>
|
|
469
|
+
</div>
|
|
470
|
+
|
|
471
|
+
<!-- ── TAB 4: SECURITY GATEWAY ────────────────────────────────── -->
|
|
472
|
+
<div v-else-if="activeTab === 'security'" class="space-y-4">
|
|
473
|
+
<div>
|
|
474
|
+
<h3 class="text-sm font-bold text-highlighted">DevTools Security Gateway</h3>
|
|
475
|
+
<p class="text-xs text-muted">
|
|
476
|
+
Access control policies safeguarding DevTools endpoints from unauthorized external
|
|
477
|
+
access.
|
|
478
|
+
</p>
|
|
479
|
+
</div>
|
|
480
|
+
|
|
481
|
+
<div class="bg-elevated/40 border border-default rounded-xl p-5 space-y-4 max-w-2xl">
|
|
482
|
+
<div class="divide-y divide-default text-xs">
|
|
483
|
+
<div class="flex items-center justify-between py-3">
|
|
484
|
+
<div>
|
|
485
|
+
<div class="font-bold text-highlighted">Authentication Required</div>
|
|
486
|
+
<div class="text-muted text-[11px]">
|
|
487
|
+
Enforce Bearer token verification on /_qarpeo/api/* endpoints
|
|
488
|
+
</div>
|
|
489
|
+
</div>
|
|
490
|
+
<UBadge :color="security.tokenRequired ? 'warning' : 'success'" variant="subtle">
|
|
491
|
+
{{ security.tokenRequired ? "Token Enforced" : "Local Dev Open" }}
|
|
492
|
+
</UBadge>
|
|
493
|
+
</div>
|
|
494
|
+
|
|
495
|
+
<div class="flex items-center justify-between py-3">
|
|
496
|
+
<div>
|
|
497
|
+
<div class="font-bold text-highlighted">Allowed Local IP Addresses</div>
|
|
498
|
+
<div class="text-muted text-[11px]">
|
|
499
|
+
Whitelisted loopback addresses for embedded DevTools dock
|
|
500
|
+
</div>
|
|
501
|
+
</div>
|
|
502
|
+
<div class="font-mono text-[11px] text-default">
|
|
503
|
+
{{ security.allowedIps?.join(", ") || "127.0.0.1, ::1" }}
|
|
504
|
+
</div>
|
|
505
|
+
</div>
|
|
506
|
+
|
|
507
|
+
<div class="flex items-center justify-between py-3">
|
|
508
|
+
<div>
|
|
509
|
+
<div class="font-bold text-highlighted">Nuxt DevTools Dock Path</div>
|
|
510
|
+
<div class="text-muted text-[11px]">
|
|
511
|
+
Embedded iframe mount path inside Nuxt DevTools
|
|
512
|
+
</div>
|
|
513
|
+
</div>
|
|
514
|
+
<div class="font-mono text-[11px] text-primary">
|
|
515
|
+
{{ security.dockRoute || "/_qarpeo/devtools" }}
|
|
516
|
+
</div>
|
|
517
|
+
</div>
|
|
518
|
+
</div>
|
|
519
|
+
</div>
|
|
520
|
+
</div>
|
|
521
|
+
</div>
|
|
522
|
+
</template>
|
|
523
|
+
</UDashboardPanel>
|
|
524
|
+
|
|
525
|
+
<!-- Reset Dev Data Confirmation Modal -->
|
|
526
|
+
<UModal v-model:open="showResetModal" title="Reset Dev Sandbox">
|
|
527
|
+
<template #body>
|
|
528
|
+
<div class="space-y-3">
|
|
529
|
+
<p class="text-xs text-default">
|
|
530
|
+
Are you sure you want to reset
|
|
531
|
+
<span class="font-bold text-highlighted uppercase">{{ resetTarget }}</span>
|
|
532
|
+
in-memory sandbox data?
|
|
533
|
+
</p>
|
|
534
|
+
<p class="text-xs text-muted">
|
|
535
|
+
All mock items created in this development session will be erased and restored to their
|
|
536
|
+
original seed fixtures.
|
|
537
|
+
</p>
|
|
538
|
+
</div>
|
|
539
|
+
</template>
|
|
540
|
+
<template #footer>
|
|
541
|
+
<div class="flex justify-end gap-2">
|
|
542
|
+
<UButton
|
|
543
|
+
label="Cancel"
|
|
544
|
+
color="neutral"
|
|
545
|
+
variant="ghost"
|
|
546
|
+
size="xs"
|
|
547
|
+
@click="showResetModal = false"
|
|
548
|
+
/>
|
|
549
|
+
<UButton
|
|
550
|
+
label="Confirm Reset"
|
|
551
|
+
color="error"
|
|
552
|
+
size="xs"
|
|
553
|
+
icon="i-lucide-rotate-ccw"
|
|
554
|
+
:loading="resetting"
|
|
555
|
+
@click="handleResetData"
|
|
556
|
+
/>
|
|
557
|
+
</div>
|
|
558
|
+
</template>
|
|
559
|
+
</UModal>
|
|
560
|
+
</template>
|