qarpeo 0.1.8 → 0.1.9
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/dist/module.mjs +30 -14
- package/dist/runtime/app/components/QarpeoWelcome.vue +84 -0
- package/package.json +1 -1
- package/dist/dev/env.d.ts +0 -12
- package/dist/dev/wrangler.d.ts +0 -18
- package/dist/module.d.ts +0 -17
- package/dist/runtime/ai.d.ts +0 -25
- package/dist/runtime/analytics.d.ts +0 -24
- package/dist/runtime/app/composables/analytics.d.ts +0 -125
- package/dist/runtime/app/composables/api-tokens.d.ts +0 -49
- package/dist/runtime/app/composables/auth.d.ts +0 -58
- package/dist/runtime/app/composables/chat.d.ts +0 -69
- package/dist/runtime/app/composables/cms-preview.d.ts +0 -33
- package/dist/runtime/app/composables/cms.d.ts +0 -307
- package/dist/runtime/app/composables/docs-version.d.ts +0 -35
- package/dist/runtime/app/composables/impersonation.d.ts +0 -14
- package/dist/runtime/app/composables/notifications.d.ts +0 -35
- package/dist/runtime/app/composables/organization.d.ts +0 -127
- package/dist/runtime/app/composables/passkey.d.ts +0 -6
- package/dist/runtime/app/composables/passwordless.d.ts +0 -7
- package/dist/runtime/app/composables/payments.d.ts +0 -43
- package/dist/runtime/app/composables/realtime.d.ts +0 -96
- package/dist/runtime/app/composables/site.d.ts +0 -35
- package/dist/runtime/app/composables/storage.d.ts +0 -60
- package/dist/runtime/app/composables/tenant.d.ts +0 -82
- package/dist/runtime/app/composables/turnstile.d.ts +0 -3
- package/dist/runtime/app/composables/two-factor.d.ts +0 -12
- package/dist/runtime/app/middleware/auth.global.d.ts +0 -2
- package/dist/runtime/app/plugins/seo.d.ts +0 -2
- package/dist/runtime/app/plugins/shortcuts.client.d.ts +0 -6
- package/dist/runtime/auth.d.ts +0 -25
- package/dist/runtime/bindings.d.ts +0 -27
- package/dist/runtime/blob.d.ts +0 -26
- package/dist/runtime/bots.d.ts +0 -1
- package/dist/runtime/browser.d.ts +0 -21
- package/dist/runtime/cache.d.ts +0 -19
- package/dist/runtime/cms.d.ts +0 -2
- package/dist/runtime/db.d.ts +0 -21
- package/dist/runtime/drizzle.d.ts +0 -11
- package/dist/runtime/email.d.ts +0 -51
- package/dist/runtime/hyperdrive.d.ts +0 -21
- package/dist/runtime/index.d.ts +0 -22
- package/dist/runtime/kv.d.ts +0 -16
- package/dist/runtime/payments.d.ts +0 -2
- package/dist/runtime/queue.d.ts +0 -21
- package/dist/runtime/rag.d.ts +0 -1
- package/dist/runtime/ratelimit.d.ts +0 -21
- package/dist/runtime/realtime.d.ts +0 -6
- package/dist/runtime/server/db/cms-schema.d.ts +0 -651
- package/dist/runtime/server/durable-objects/agent.d.ts +0 -14
- package/dist/runtime/server/durable-objects/room.d.ts +0 -34
- package/dist/runtime/server/middleware/auth.d.ts +0 -2
- package/dist/runtime/server/middleware/devtools.d.ts +0 -2
- package/dist/runtime/server/middleware/ratelimit.d.ts +0 -2
- package/dist/runtime/server/middleware/tenancy.d.ts +0 -6
- package/dist/runtime/server/middleware/tracker.d.ts +0 -7
- package/dist/runtime/server/plugins/agents.d.ts +0 -7
- package/dist/runtime/server/plugins/cms.d.ts +0 -8
- package/dist/runtime/server/plugins/dev-logs.d.ts +0 -1
- package/dist/runtime/server/plugins/dev-proxy.d.ts +0 -3
- package/dist/runtime/server/plugins/env.d.ts +0 -6
- package/dist/runtime/server/plugins/queue.d.ts +0 -6
- package/dist/runtime/server/routes/__qarpeo/agents/chat.post.d.ts +0 -20
- package/dist/runtime/server/routes/__qarpeo/agents/clear.post.d.ts +0 -7
- package/dist/runtime/server/routes/__qarpeo/agents/create.post.d.ts +0 -17
- package/dist/runtime/server/routes/__qarpeo/agents/history.get.d.ts +0 -15
- package/dist/runtime/server/routes/__qarpeo/agents/list.get.d.ts +0 -5
- package/dist/runtime/server/routes/__qarpeo/analytics/events.get.d.ts +0 -64
- package/dist/runtime/server/routes/__qarpeo/analytics/summary.get.d.ts +0 -30
- package/dist/runtime/server/routes/__qarpeo/auth/revoke-session.post.d.ts +0 -6
- package/dist/runtime/server/routes/__qarpeo/auth/sessions.get.d.ts +0 -6
- package/dist/runtime/server/routes/__qarpeo/auth/users.get.d.ts +0 -7
- package/dist/runtime/server/routes/__qarpeo/blob/files.get.d.ts +0 -22
- package/dist/runtime/server/routes/__qarpeo/db/query.post.d.ts +0 -23
- package/dist/runtime/server/routes/__qarpeo/db/tables.get.d.ts +0 -31
- package/dist/runtime/server/routes/__qarpeo/kv/delete.post.d.ts +0 -11
- package/dist/runtime/server/routes/__qarpeo/kv/get.get.d.ts +0 -11
- package/dist/runtime/server/routes/__qarpeo/kv/keys.get.d.ts +0 -8
- package/dist/runtime/server/routes/__qarpeo/kv/set.post.d.ts +0 -14
- package/dist/runtime/server/routes/__qarpeo/logs.delete.d.ts +0 -5
- package/dist/runtime/server/routes/__qarpeo/logs.get.d.ts +0 -5
- package/dist/runtime/server/routes/__qarpeo/logs.post.d.ts +0 -6
- package/dist/runtime/server/routes/__qarpeo/mail/bounce.post.d.ts +0 -5
- package/dist/runtime/server/routes/__qarpeo/mail/clear.post.d.ts +0 -4
- package/dist/runtime/server/routes/__qarpeo/mail/inbox.get.d.ts +0 -5
- package/dist/runtime/server/routes/__qarpeo/mail/send-test.post.d.ts +0 -4
- package/dist/runtime/server/routes/__qarpeo/mail/track/click/[id].get.d.ts +0 -2
- package/dist/runtime/server/routes/__qarpeo/mail/track/open/[id].get.d.ts +0 -2
- package/dist/runtime/server/routes/__qarpeo/overview/health.get.d.ts +0 -8
- package/dist/runtime/server/routes/__qarpeo/overview.get.d.ts +0 -32
- package/dist/runtime/server/routes/__qarpeo/settings/reset-dev-data.post.d.ts +0 -11
- package/dist/runtime/server/routes/__qarpeo/settings.get.d.ts +0 -124
- package/dist/runtime/server/routes/__qarpeo/tenants/create.post.d.ts +0 -7
- package/dist/runtime/server/routes/__qarpeo/tenants/domain-add.post.d.ts +0 -6
- package/dist/runtime/server/routes/__qarpeo/tenants/domain-delete.post.d.ts +0 -7
- package/dist/runtime/server/routes/__qarpeo/tenants/domain-verify.post.d.ts +0 -9
- package/dist/runtime/server/routes/__qarpeo/tenants/list.get.d.ts +0 -15
- package/dist/runtime/server/routes/agents/[agent]/chat.post.d.ts +0 -2
- package/dist/runtime/server/routes/agents/[agent]/clear.post.d.ts +0 -4
- package/dist/runtime/server/routes/agents/[agent]/history.get.d.ts +0 -4
- package/dist/runtime/server/routes/analytics/events.get.d.ts +0 -3
- package/dist/runtime/server/routes/analytics/pageviews.get.d.ts +0 -3
- package/dist/runtime/server/routes/analytics/summary.get.d.ts +0 -6
- package/dist/runtime/server/routes/atom.xml.get.d.ts +0 -2
- package/dist/runtime/server/routes/auth/2fa/disable.post.d.ts +0 -4
- package/dist/runtime/server/routes/auth/2fa/setup.post.d.ts +0 -6
- package/dist/runtime/server/routes/auth/2fa/verify.post.d.ts +0 -6
- package/dist/runtime/server/routes/auth/[provider]/callback.d.ts +0 -1
- package/dist/runtime/server/routes/auth/[provider].d.ts +0 -3
- package/dist/runtime/server/routes/auth/account.delete.d.ts +0 -5
- package/dist/runtime/server/routes/auth/impersonate/start.post.d.ts +0 -5
- package/dist/runtime/server/routes/auth/impersonate/stop.post.d.ts +0 -5
- package/dist/runtime/server/routes/auth/logout-all.post.d.ts +0 -4
- package/dist/runtime/server/routes/auth/logout-others.post.d.ts +0 -4
- package/dist/runtime/server/routes/auth/logout.post.d.ts +0 -4
- package/dist/runtime/server/routes/auth/magic-link/send.post.d.ts +0 -10
- package/dist/runtime/server/routes/auth/magic-link/verify.get.d.ts +0 -2
- package/dist/runtime/server/routes/auth/organization/create.post.d.ts +0 -5
- package/dist/runtime/server/routes/auth/organization/invite.post.d.ts +0 -9
- package/dist/runtime/server/routes/auth/organization/join.post.d.ts +0 -6
- package/dist/runtime/server/routes/auth/organization/list.get.d.ts +0 -5
- package/dist/runtime/server/routes/auth/organization/members/[id].delete.d.ts +0 -4
- package/dist/runtime/server/routes/auth/organization/members/index.get.d.ts +0 -6
- package/dist/runtime/server/routes/auth/organization/mfa.post.d.ts +0 -6
- package/dist/runtime/server/routes/auth/organization/sso/[id].delete.d.ts +0 -4
- package/dist/runtime/server/routes/auth/organization/sso/index.get.d.ts +0 -2
- package/dist/runtime/server/routes/auth/organization/sso/index.post.d.ts +0 -5
- package/dist/runtime/server/routes/auth/organization/switch.post.d.ts +0 -6
- package/dist/runtime/server/routes/auth/otp/send.post.d.ts +0 -10
- package/dist/runtime/server/routes/auth/otp/verify.post.d.ts +0 -6
- package/dist/runtime/server/routes/auth/sessions/[id].delete.d.ts +0 -5
- package/dist/runtime/server/routes/auth/sessions.get.d.ts +0 -2
- package/dist/runtime/server/routes/auth/sso/login.get.d.ts +0 -2
- package/dist/runtime/server/routes/auth/sso/oidc/callback.get.d.ts +0 -2
- package/dist/runtime/server/routes/auth/sso/saml/acs.post.d.ts +0 -2
- package/dist/runtime/server/routes/auth/tokens/[id].delete.d.ts +0 -4
- package/dist/runtime/server/routes/auth/tokens/create.post.d.ts +0 -9
- package/dist/runtime/server/routes/auth/tokens/index.get.d.ts +0 -9
- package/dist/runtime/server/routes/auth/turnstile/verify.post.d.ts +0 -2
- package/dist/runtime/server/routes/auth/user.get.d.ts +0 -2
- package/dist/runtime/server/routes/auth/webauthn/login/options.post.d.ts +0 -2
- package/dist/runtime/server/routes/auth/webauthn/login/verify.post.d.ts +0 -6
- package/dist/runtime/server/routes/auth/webauthn/register/options.post.d.ts +0 -2
- package/dist/runtime/server/routes/auth/webauthn/register/verify.post.d.ts +0 -5
- package/dist/runtime/server/routes/cms/[collection]/[id]/preview-token.post.d.ts +0 -8
- package/dist/runtime/server/routes/cms/[collection]/[id]/publish.post.d.ts +0 -6
- package/dist/runtime/server/routes/cms/[collection]/[id]/review.post.d.ts +0 -6
- package/dist/runtime/server/routes/cms/[collection]/[id].delete.d.ts +0 -4
- package/dist/runtime/server/routes/cms/[collection]/[id].put.d.ts +0 -4
- package/dist/runtime/server/routes/cms/[collection]/[slug].get.d.ts +0 -4
- package/dist/runtime/server/routes/cms/[collection]/atom.xml.get.d.ts +0 -2
- package/dist/runtime/server/routes/cms/[collection]/by-path.get.d.ts +0 -8
- package/dist/runtime/server/routes/cms/[collection]/feed.xml.get.d.ts +0 -2
- package/dist/runtime/server/routes/cms/[collection]/index.get.d.ts +0 -7
- package/dist/runtime/server/routes/cms/[collection]/index.post.d.ts +0 -4
- package/dist/runtime/server/routes/cms/[collection]/references.get.d.ts +0 -19
- package/dist/runtime/server/routes/cms/[collection]/surroundings.get.d.ts +0 -10
- package/dist/runtime/server/routes/cms/collections/[id].delete.d.ts +0 -4
- package/dist/runtime/server/routes/cms/collections/[id].put.d.ts +0 -4
- package/dist/runtime/server/routes/cms/collections/index.get.d.ts +0 -4
- package/dist/runtime/server/routes/cms/collections/index.post.d.ts +0 -4
- package/dist/runtime/server/routes/cms/components/index.get.d.ts +0 -17
- package/dist/runtime/server/routes/cms/deploy.post.d.ts +0 -4
- package/dist/runtime/server/routes/cms/export.post.d.ts +0 -10
- package/dist/runtime/server/routes/cms/navigation.get.d.ts +0 -8
- package/dist/runtime/server/routes/cms/preview/disable.get.d.ts +0 -9
- package/dist/runtime/server/routes/cms/preview/enable.get.d.ts +0 -14
- package/dist/runtime/server/routes/cms/publish-scheduled.post.d.ts +0 -11
- package/dist/runtime/server/routes/cms/search.get.d.ts +0 -13
- package/dist/runtime/server/routes/cms/sync.post.d.ts +0 -7
- package/dist/runtime/server/routes/cms/webhooks/[provider].post.d.ts +0 -150
- package/dist/runtime/server/routes/docs/search.get.d.ts +0 -15
- package/dist/runtime/server/routes/feed.xml.get.d.ts +0 -2
- package/dist/runtime/server/routes/mail/bounce.post.d.ts +0 -14
- package/dist/runtime/server/routes/mail/inbox/[id].get.d.ts +0 -2
- package/dist/runtime/server/routes/mail/inbox.get.d.ts +0 -4
- package/dist/runtime/server/routes/mail/suppressions/[email].delete.d.ts +0 -11
- package/dist/runtime/server/routes/mail/suppressions/index.get.d.ts +0 -12
- package/dist/runtime/server/routes/mail/suppressions/index.post.d.ts +0 -10
- package/dist/runtime/server/routes/mail/unsubscribe.d.ts +0 -13
- package/dist/runtime/server/routes/mail/webhooks.post.d.ts +0 -12
- package/dist/runtime/server/routes/notifications/[id]/read.post.d.ts +0 -4
- package/dist/runtime/server/routes/notifications/[id].delete.d.ts +0 -4
- package/dist/runtime/server/routes/notifications/[id].get.d.ts +0 -2
- package/dist/runtime/server/routes/notifications/index.get.d.ts +0 -6
- package/dist/runtime/server/routes/notifications/push/subscribe.post.d.ts +0 -4
- package/dist/runtime/server/routes/notifications/push/unsubscribe.post.d.ts +0 -4
- package/dist/runtime/server/routes/notifications/read-all.post.d.ts +0 -4
- package/dist/runtime/server/routes/payments/cancel.post.d.ts +0 -7
- package/dist/runtime/server/routes/payments/change-plan.post.d.ts +0 -7
- package/dist/runtime/server/routes/payments/checkout.post.d.ts +0 -9
- package/dist/runtime/server/routes/payments/pause.post.d.ts +0 -7
- package/dist/runtime/server/routes/payments/portal.post.d.ts +0 -5
- package/dist/runtime/server/routes/payments/subscription.get.d.ts +0 -6
- package/dist/runtime/server/routes/payments/usage.get.d.ts +0 -12
- package/dist/runtime/server/routes/payments/usage.post.d.ts +0 -6
- package/dist/runtime/server/routes/payments/webhook.post.d.ts +0 -14
- package/dist/runtime/server/routes/realtime/broadcast.post.d.ts +0 -4
- package/dist/runtime/server/routes/realtime/history.delete.d.ts +0 -13
- package/dist/runtime/server/routes/realtime/history.get.d.ts +0 -16
- package/dist/runtime/server/routes/realtime/presence.get.d.ts +0 -6
- package/dist/runtime/server/routes/realtime/state.get.d.ts +0 -5
- package/dist/runtime/server/routes/realtime/state.post.d.ts +0 -6
- package/dist/runtime/server/routes/realtime/ws.get.d.ts +0 -2
- package/dist/runtime/server/routes/robots.txt.get.d.ts +0 -2
- package/dist/runtime/server/routes/rss.xml.get.d.ts +0 -2
- package/dist/runtime/server/routes/sitemap.xml.get.d.ts +0 -2
- package/dist/runtime/server/routes/storage/file/[...key].delete.d.ts +0 -4
- package/dist/runtime/server/routes/storage/file/[...key].get.d.ts +0 -2
- package/dist/runtime/server/routes/storage/files.get.d.ts +0 -14
- package/dist/runtime/server/routes/storage/presigned.post.d.ts +0 -8
- package/dist/runtime/server/routes/storage/sign.post.d.ts +0 -6
- package/dist/runtime/server/routes/storage/upload.post.d.ts +0 -22
- package/dist/runtime/server/routes/tenants/[tenant]/domains/[domain]/index.delete.d.ts +0 -8
- package/dist/runtime/server/routes/tenants/[tenant]/domains/[domain]/verify.post.d.ts +0 -8
- package/dist/runtime/server/routes/tenants/[tenant]/domains/index.get.d.ts +0 -8
- package/dist/runtime/server/routes/tenants/[tenant]/domains/index.post.d.ts +0 -8
- package/dist/runtime/server/routes/tenants/current.get.d.ts +0 -8
- package/dist/runtime/server/tasks/cms/publish.d.ts +0 -4
- package/dist/runtime/server/utils/agent-store.d.ts +0 -24
- package/dist/runtime/server/utils/agents-registry-fallback.d.ts +0 -1
- package/dist/runtime/server/utils/ai.d.ts +0 -119
- package/dist/runtime/server/utils/analytics-query.d.ts +0 -109
- package/dist/runtime/server/utils/auth.d.ts +0 -60
- package/dist/runtime/server/utils/blob-store.d.ts +0 -13
- package/dist/runtime/server/utils/bots.d.ts +0 -21
- package/dist/runtime/server/utils/cache.d.ts +0 -33
- package/dist/runtime/server/utils/cms-events.d.ts +0 -17
- package/dist/runtime/server/utils/cms-filter.d.ts +0 -3
- package/dist/runtime/server/utils/cms.d.ts +0 -287
- package/dist/runtime/server/utils/config.d.ts +0 -27
- package/dist/runtime/server/utils/context.d.ts +0 -13
- package/dist/runtime/server/utils/crypto.d.ts +0 -16
- package/dist/runtime/server/utils/dev-logs.d.ts +0 -21
- package/dist/runtime/server/utils/dev-proxy.d.ts +0 -1
- package/dist/runtime/server/utils/domains.d.ts +0 -46
- package/dist/runtime/server/utils/drizzle.d.ts +0 -10
- package/dist/runtime/server/utils/email-templates.d.ts +0 -44
- package/dist/runtime/server/utils/feed.d.ts +0 -42
- package/dist/runtime/server/utils/impersonation.d.ts +0 -67
- package/dist/runtime/server/utils/jobs.d.ts +0 -70
- package/dist/runtime/server/utils/kv-store.d.ts +0 -9
- package/dist/runtime/server/utils/mail-suppression.d.ts +0 -62
- package/dist/runtime/server/utils/mail.d.ts +0 -90
- package/dist/runtime/server/utils/notifications.d.ts +0 -51
- package/dist/runtime/server/utils/organization.d.ts +0 -54
- package/dist/runtime/server/utils/passwordless.d.ts +0 -48
- package/dist/runtime/server/utils/payments.d.ts +0 -121
- package/dist/runtime/server/utils/queue-fallback.d.ts +0 -2
- package/dist/runtime/server/utils/queue.d.ts +0 -4
- package/dist/runtime/server/utils/rag.d.ts +0 -25
- package/dist/runtime/server/utils/ratelimit.d.ts +0 -45
- package/dist/runtime/server/utils/realtime.d.ts +0 -110
- package/dist/runtime/server/utils/schema-fallback.d.ts +0 -3
- package/dist/runtime/server/utils/session.d.ts +0 -72
- package/dist/runtime/server/utils/sso.d.ts +0 -49
- package/dist/runtime/server/utils/storage.d.ts +0 -111
- package/dist/runtime/server/utils/tenant.d.ts +0 -44
- package/dist/runtime/server/utils/totp.d.ts +0 -33
- package/dist/runtime/server/utils/tracker.d.ts +0 -72
- package/dist/runtime/server/utils/turnstile.d.ts +0 -17
- package/dist/runtime/server/utils/vapid.d.ts +0 -35
- package/dist/runtime/storage.d.ts +0 -1
- package/dist/runtime/types/ai.d.ts +0 -68
- package/dist/runtime/types/analytics.d.ts +0 -30
- package/dist/runtime/types/auth.d.ts +0 -153
- package/dist/runtime/types/browser.d.ts +0 -29
- package/dist/runtime/types/d1.d.ts +0 -44
- package/dist/runtime/types/drizzle.d.ts +0 -13
- package/dist/runtime/types/durable-object.d.ts +0 -51
- package/dist/runtime/types/email.d.ts +0 -66
- package/dist/runtime/types/hyperdrive.d.ts +0 -18
- package/dist/runtime/types/index.d.ts +0 -156
- package/dist/runtime/types/queue.d.ts +0 -67
- package/dist/runtime/types/r2.d.ts +0 -108
- package/dist/runtime/types/ratelimit.d.ts +0 -21
- package/dist/runtime/types/vectorize.d.ts +0 -74
- package/dist/runtime/vectorize.d.ts +0 -21
- package/dist/types.d.ts +0 -2752
- package/dist/utils/agents.d.ts +0 -8
- package/dist/utils/auth-schema.d.ts +0 -11
- package/dist/utils/bindings.d.ts +0 -16
- package/dist/utils/cms-scan.d.ts +0 -36
- package/dist/utils/cms-schema.d.ts +0 -1
- package/dist/utils/cms-sources.d.ts +0 -67
- package/dist/utils/drizzle.d.ts +0 -42
- package/dist/utils/jobs.d.ts +0 -8
- package/dist/utils/local-db.d.ts +0 -28
- package/dist/utils/notifications-schema.d.ts +0 -15
- package/dist/utils/payments-schema.d.ts +0 -11
- package/dist/utils/pkg.d.ts +0 -15
- package/dist/utils/queue.d.ts +0 -8
- package/dist/utils/tenants-schema.d.ts +0 -11
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @file Middleware/tenancy.ts Edge Multi-Tenancy Middleware. Resolves the active tenant for every
|
|
3
|
-
* incoming request and attaches it to `event.context.tenant`.
|
|
4
|
-
*/
|
|
5
|
-
declare const _default: import("nuxt/server").EventHandler<Promise<void>>;
|
|
6
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @file Middleware/tracker.ts Auto-pageview tracking middleware. Registered when
|
|
3
|
-
* `analytics.autoTrack !== false`. Fires trackPageview() in the background after every non-API
|
|
4
|
-
* SSR request.
|
|
5
|
-
*/
|
|
6
|
-
declare const _default: import("nuxt/server").EventHandler<void>;
|
|
7
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { NitroApp } from "nitro/types";
|
|
2
|
-
import "#qarpeo/agents-registry";
|
|
3
|
-
/**
|
|
4
|
-
* Nitro server plugin for Qarpeo Agents. Automatically imports and registers all discovered
|
|
5
|
-
* `server/agents/*.ts` definition modules into the in-memory agent runtime registry on startup.
|
|
6
|
-
*/
|
|
7
|
-
export default function (_nitroApp?: NitroApp): void;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { NitroApp } from "nitro/types";
|
|
2
|
-
/**
|
|
3
|
-
* Nitro server plugin for Qarpeo CMS.
|
|
4
|
-
*
|
|
5
|
-
* - In development: creates CMS tables and synchronizes local `content/` files and `nuxt.config.ts` collections into D1 on startup.
|
|
6
|
-
* - In production: creates CMS tables and seeds collections and pre-compiled manifest entries into D1 on startup.
|
|
7
|
-
*/
|
|
8
|
-
export default function (_nitroApp?: NitroApp): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function (nitroApp: any): void;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* POST /_qarpeo/api/agents/chat Body: { agent: string, message: string, model?: string } Executes
|
|
3
|
-
* a chat interaction with an agent and stores the response in the session history.
|
|
4
|
-
*/
|
|
5
|
-
declare const _default: import("nuxt/server").EventHandler<Promise<{
|
|
6
|
-
id: any;
|
|
7
|
-
reply: any;
|
|
8
|
-
role: string;
|
|
9
|
-
model: any;
|
|
10
|
-
timestamp: string;
|
|
11
|
-
latencyMs?: undefined;
|
|
12
|
-
} | {
|
|
13
|
-
id: string;
|
|
14
|
-
reply: string;
|
|
15
|
-
role: string;
|
|
16
|
-
model: any;
|
|
17
|
-
latencyMs: number;
|
|
18
|
-
timestamp: string;
|
|
19
|
-
}>>;
|
|
20
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* POST /_qarpeo/api/agents/create Body: { id?: string, name: string, description?: string, model?:
|
|
3
|
-
* string, systemPrompt?: string, tools?: string[] } Creates a new edge agent session.
|
|
4
|
-
*/
|
|
5
|
-
declare const _default: import("nuxt/server").EventHandler<Promise<{
|
|
6
|
-
ok: boolean;
|
|
7
|
-
agent: {
|
|
8
|
-
id: any;
|
|
9
|
-
name: any;
|
|
10
|
-
description: any;
|
|
11
|
-
model: any;
|
|
12
|
-
systemPrompt: any;
|
|
13
|
-
tools: any;
|
|
14
|
-
createdAt: number;
|
|
15
|
-
};
|
|
16
|
-
}>>;
|
|
17
|
-
export default _default;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/** GET /_qarpeo/api/agents/history?agent=<id> Returns message history for an agent. */
|
|
2
|
-
declare const _default: import("nuxt/server").EventHandler<{
|
|
3
|
-
messages: never[];
|
|
4
|
-
agent?: undefined;
|
|
5
|
-
} | {
|
|
6
|
-
agent: {
|
|
7
|
-
id: string;
|
|
8
|
-
name: string;
|
|
9
|
-
model: string;
|
|
10
|
-
systemPrompt: string;
|
|
11
|
-
tools: string[];
|
|
12
|
-
};
|
|
13
|
-
messages: import("../../../utils/agent-store").AgentMessageRecord[];
|
|
14
|
-
}>;
|
|
15
|
-
export default _default;
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GET /_qarpeo/api/analytics/events?range=7d
|
|
3
|
-
* DevTools Analytics events endpoint.
|
|
4
|
-
*/
|
|
5
|
-
declare const _default: import("nuxt/server").EventHandler<Promise<{
|
|
6
|
-
events: import("../../../../../types").AnalyticsEventRecord[];
|
|
7
|
-
preview: boolean;
|
|
8
|
-
} | {
|
|
9
|
-
events: ({
|
|
10
|
-
name: string;
|
|
11
|
-
count: number;
|
|
12
|
-
lastSeen: string;
|
|
13
|
-
sampleMetadata: {
|
|
14
|
-
method: string;
|
|
15
|
-
authenticator: string;
|
|
16
|
-
tags?: undefined;
|
|
17
|
-
collection?: undefined;
|
|
18
|
-
id?: undefined;
|
|
19
|
-
agent?: undefined;
|
|
20
|
-
stream?: undefined;
|
|
21
|
-
};
|
|
22
|
-
} | {
|
|
23
|
-
name: string;
|
|
24
|
-
count: number;
|
|
25
|
-
lastSeen: string;
|
|
26
|
-
sampleMetadata: {
|
|
27
|
-
tags: string[];
|
|
28
|
-
method?: undefined;
|
|
29
|
-
authenticator?: undefined;
|
|
30
|
-
collection?: undefined;
|
|
31
|
-
id?: undefined;
|
|
32
|
-
agent?: undefined;
|
|
33
|
-
stream?: undefined;
|
|
34
|
-
};
|
|
35
|
-
} | {
|
|
36
|
-
name: string;
|
|
37
|
-
count: number;
|
|
38
|
-
lastSeen: string;
|
|
39
|
-
sampleMetadata: {
|
|
40
|
-
collection: string;
|
|
41
|
-
id: string;
|
|
42
|
-
method?: undefined;
|
|
43
|
-
authenticator?: undefined;
|
|
44
|
-
tags?: undefined;
|
|
45
|
-
agent?: undefined;
|
|
46
|
-
stream?: undefined;
|
|
47
|
-
};
|
|
48
|
-
} | {
|
|
49
|
-
name: string;
|
|
50
|
-
count: number;
|
|
51
|
-
lastSeen: string;
|
|
52
|
-
sampleMetadata: {
|
|
53
|
-
agent: string;
|
|
54
|
-
stream: boolean;
|
|
55
|
-
method?: undefined;
|
|
56
|
-
authenticator?: undefined;
|
|
57
|
-
tags?: undefined;
|
|
58
|
-
collection?: undefined;
|
|
59
|
-
id?: undefined;
|
|
60
|
-
};
|
|
61
|
-
})[];
|
|
62
|
-
preview: boolean;
|
|
63
|
-
}>>;
|
|
64
|
-
export default _default;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GET /_qarpeo/api/analytics/summary?range=7d
|
|
3
|
-
* DevTools Analytics summary endpoint. Returns live AE summary or dev preview data with preview: true flag.
|
|
4
|
-
*/
|
|
5
|
-
declare const _default: import("nuxt/server").EventHandler<Promise<{
|
|
6
|
-
totalPageviews: number;
|
|
7
|
-
uniqueVisitors: number;
|
|
8
|
-
customEventsCount: number;
|
|
9
|
-
avgDurationMs: number;
|
|
10
|
-
topPages: {
|
|
11
|
-
path: string;
|
|
12
|
-
views: number;
|
|
13
|
-
}[];
|
|
14
|
-
topReferrers: {
|
|
15
|
-
referrer: string;
|
|
16
|
-
count: number;
|
|
17
|
-
}[];
|
|
18
|
-
countries: {
|
|
19
|
-
country: string;
|
|
20
|
-
code: string;
|
|
21
|
-
count: number;
|
|
22
|
-
}[];
|
|
23
|
-
devices: {
|
|
24
|
-
name: string;
|
|
25
|
-
count: number;
|
|
26
|
-
percent: number;
|
|
27
|
-
}[];
|
|
28
|
-
preview: boolean;
|
|
29
|
-
}>>;
|
|
30
|
-
export default _default;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/** GET /_qarpeo/api/blob/files?prefix=&limit=50 Lists R2/Blob files with metadata. */
|
|
2
|
-
declare const _default: import("nuxt/server").EventHandler<Promise<{
|
|
3
|
-
files: {
|
|
4
|
-
key: string;
|
|
5
|
-
size: number;
|
|
6
|
-
contentType: any;
|
|
7
|
-
uploaded: string;
|
|
8
|
-
etag: string;
|
|
9
|
-
}[];
|
|
10
|
-
truncated: boolean;
|
|
11
|
-
notice?: undefined;
|
|
12
|
-
} | {
|
|
13
|
-
files: {
|
|
14
|
-
key: string;
|
|
15
|
-
size: number;
|
|
16
|
-
contentType: string;
|
|
17
|
-
uploaded: string;
|
|
18
|
-
}[];
|
|
19
|
-
truncated: boolean;
|
|
20
|
-
notice: string;
|
|
21
|
-
}>>;
|
|
22
|
-
export default _default;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* POST /_qarpeo/api/db/query Executes an arbitrary SQL query against D1/SQLite with execution
|
|
3
|
-
* timing.
|
|
4
|
-
*/
|
|
5
|
-
declare const _default: import("nuxt/server").EventHandler<Promise<{
|
|
6
|
-
success: boolean;
|
|
7
|
-
durationMs: number;
|
|
8
|
-
rows: Record<string, unknown>[];
|
|
9
|
-
changes: {};
|
|
10
|
-
lastRowId: {} | null;
|
|
11
|
-
notice?: undefined;
|
|
12
|
-
} | {
|
|
13
|
-
success: boolean;
|
|
14
|
-
durationMs: number;
|
|
15
|
-
rows: {
|
|
16
|
-
message: string;
|
|
17
|
-
sql: any;
|
|
18
|
-
}[];
|
|
19
|
-
notice: any;
|
|
20
|
-
changes?: undefined;
|
|
21
|
-
lastRowId?: undefined;
|
|
22
|
-
}>>;
|
|
23
|
-
export default _default;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GET /_qarpeo/api/db/tables Lists all database tables, columns, and estimated row counts from D1
|
|
3
|
-
* / SQLite.
|
|
4
|
-
*/
|
|
5
|
-
declare const _default: import("nuxt/server").EventHandler<Promise<{
|
|
6
|
-
tables: {
|
|
7
|
-
name: string;
|
|
8
|
-
rows: number;
|
|
9
|
-
columns: {
|
|
10
|
-
name: string;
|
|
11
|
-
type: string;
|
|
12
|
-
notNull: boolean;
|
|
13
|
-
primaryKey: boolean;
|
|
14
|
-
defaultValue: any;
|
|
15
|
-
}[];
|
|
16
|
-
}[];
|
|
17
|
-
notice?: undefined;
|
|
18
|
-
} | {
|
|
19
|
-
tables: {
|
|
20
|
-
name: string;
|
|
21
|
-
rows: number;
|
|
22
|
-
columns: {
|
|
23
|
-
name: string;
|
|
24
|
-
type: string;
|
|
25
|
-
notNull: boolean;
|
|
26
|
-
primaryKey: boolean;
|
|
27
|
-
}[];
|
|
28
|
-
}[];
|
|
29
|
-
notice: string;
|
|
30
|
-
}>>;
|
|
31
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/** POST /_qarpeo/api/kv/delete Body: { key: string } Deletes a KV key. */
|
|
2
|
-
declare const _default: import("nuxt/server").EventHandler<Promise<{
|
|
3
|
-
ok: boolean;
|
|
4
|
-
key: any;
|
|
5
|
-
preview?: undefined;
|
|
6
|
-
} | {
|
|
7
|
-
ok: boolean;
|
|
8
|
-
key: any;
|
|
9
|
-
preview: boolean;
|
|
10
|
-
}>>;
|
|
11
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/** GET /_qarpeo/api/kv/get?key=<name> Returns a single KV value + metadata. */
|
|
2
|
-
declare const _default: import("nuxt/server").EventHandler<Promise<{
|
|
3
|
-
key: string;
|
|
4
|
-
value: any;
|
|
5
|
-
expiration?: undefined;
|
|
6
|
-
} | {
|
|
7
|
-
key: string;
|
|
8
|
-
value: string;
|
|
9
|
-
expiration: number | undefined;
|
|
10
|
-
}>>;
|
|
11
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* POST /_qarpeo/api/kv/set Body: { key: string, value: string, ttl?: number } Creates or updates a
|
|
3
|
-
* KV entry.
|
|
4
|
-
*/
|
|
5
|
-
declare const _default: import("nuxt/server").EventHandler<Promise<{
|
|
6
|
-
ok: boolean;
|
|
7
|
-
key: any;
|
|
8
|
-
preview?: undefined;
|
|
9
|
-
} | {
|
|
10
|
-
ok: boolean;
|
|
11
|
-
key: any;
|
|
12
|
-
preview: boolean;
|
|
13
|
-
}>>;
|
|
14
|
-
export default _default;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GET /_qarpeo/api/overview Returns system overview, active Cloudflare primitives, and enabled
|
|
3
|
-
* Tier 2 solutions.
|
|
4
|
-
*/
|
|
5
|
-
declare const _default: import("nuxt/server").EventHandler<{
|
|
6
|
-
environment: string;
|
|
7
|
-
version: string;
|
|
8
|
-
engine: string;
|
|
9
|
-
modules: {
|
|
10
|
-
db: boolean;
|
|
11
|
-
kv: boolean;
|
|
12
|
-
blob: boolean;
|
|
13
|
-
cache: boolean;
|
|
14
|
-
auth: boolean;
|
|
15
|
-
cms: boolean;
|
|
16
|
-
payments: boolean;
|
|
17
|
-
jobs: boolean;
|
|
18
|
-
ratelimit: boolean;
|
|
19
|
-
agents: boolean;
|
|
20
|
-
mail: boolean;
|
|
21
|
-
analytics: boolean;
|
|
22
|
-
multitenant: boolean;
|
|
23
|
-
};
|
|
24
|
-
bindings: {
|
|
25
|
-
d1: any;
|
|
26
|
-
kv: any;
|
|
27
|
-
r2: any;
|
|
28
|
-
agents: any;
|
|
29
|
-
analytics: any;
|
|
30
|
-
};
|
|
31
|
-
}>;
|
|
32
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* POST /_qarpeo/api/settings/reset-dev-data Body: { target: 'all' | 'kv' | 'blob' } Resets
|
|
3
|
-
* in-memory dev sandbox data back to factory defaults.
|
|
4
|
-
*/
|
|
5
|
-
declare const _default: import("nuxt/server").EventHandler<Promise<{
|
|
6
|
-
ok: boolean;
|
|
7
|
-
resetKv: boolean;
|
|
8
|
-
resetBlob: boolean;
|
|
9
|
-
message: string;
|
|
10
|
-
}>>;
|
|
11
|
-
export default _default;
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GET /_qarpeo/api/settings Returns comprehensive runtime configuration, binding diagnostics,
|
|
3
|
-
* module flags, dev mock store counts, and security gateway settings.
|
|
4
|
-
*/
|
|
5
|
-
declare const _default: import("nuxt/server").EventHandler<Promise<{
|
|
6
|
-
system: {
|
|
7
|
-
version: string;
|
|
8
|
-
name: string;
|
|
9
|
-
engine: string;
|
|
10
|
-
environment: string;
|
|
11
|
-
nodeVersion: string;
|
|
12
|
-
devMode: boolean;
|
|
13
|
-
};
|
|
14
|
-
bindings: {
|
|
15
|
-
db: {
|
|
16
|
-
name: any;
|
|
17
|
-
type: string;
|
|
18
|
-
enabled: boolean;
|
|
19
|
-
};
|
|
20
|
-
kv: {
|
|
21
|
-
name: any;
|
|
22
|
-
type: string;
|
|
23
|
-
enabled: boolean;
|
|
24
|
-
};
|
|
25
|
-
blob: {
|
|
26
|
-
name: any;
|
|
27
|
-
type: string;
|
|
28
|
-
enabled: boolean;
|
|
29
|
-
};
|
|
30
|
-
agents: {
|
|
31
|
-
name: any;
|
|
32
|
-
type: string;
|
|
33
|
-
enabled: boolean;
|
|
34
|
-
};
|
|
35
|
-
analytics: {
|
|
36
|
-
name: any;
|
|
37
|
-
type: string;
|
|
38
|
-
enabled: boolean;
|
|
39
|
-
};
|
|
40
|
-
queue: {
|
|
41
|
-
name: any;
|
|
42
|
-
type: string;
|
|
43
|
-
enabled: boolean;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
modules: {
|
|
47
|
-
db: {
|
|
48
|
-
label: string;
|
|
49
|
-
enabled: boolean;
|
|
50
|
-
description: string;
|
|
51
|
-
};
|
|
52
|
-
kv: {
|
|
53
|
-
label: string;
|
|
54
|
-
enabled: boolean;
|
|
55
|
-
description: string;
|
|
56
|
-
};
|
|
57
|
-
blob: {
|
|
58
|
-
label: string;
|
|
59
|
-
enabled: boolean;
|
|
60
|
-
description: string;
|
|
61
|
-
};
|
|
62
|
-
cache: {
|
|
63
|
-
label: string;
|
|
64
|
-
enabled: boolean;
|
|
65
|
-
description: string;
|
|
66
|
-
};
|
|
67
|
-
auth: {
|
|
68
|
-
label: string;
|
|
69
|
-
enabled: boolean;
|
|
70
|
-
description: string;
|
|
71
|
-
};
|
|
72
|
-
cms: {
|
|
73
|
-
label: string;
|
|
74
|
-
enabled: boolean;
|
|
75
|
-
description: string;
|
|
76
|
-
};
|
|
77
|
-
payments: {
|
|
78
|
-
label: string;
|
|
79
|
-
enabled: boolean;
|
|
80
|
-
description: string;
|
|
81
|
-
};
|
|
82
|
-
realtime: {
|
|
83
|
-
label: string;
|
|
84
|
-
enabled: boolean;
|
|
85
|
-
description: string;
|
|
86
|
-
};
|
|
87
|
-
mail: {
|
|
88
|
-
label: string;
|
|
89
|
-
enabled: boolean;
|
|
90
|
-
description: string;
|
|
91
|
-
};
|
|
92
|
-
agents: {
|
|
93
|
-
label: string;
|
|
94
|
-
enabled: boolean;
|
|
95
|
-
description: string;
|
|
96
|
-
};
|
|
97
|
-
analytics: {
|
|
98
|
-
label: string;
|
|
99
|
-
enabled: boolean;
|
|
100
|
-
description: string;
|
|
101
|
-
};
|
|
102
|
-
multitenant: {
|
|
103
|
-
label: string;
|
|
104
|
-
enabled: boolean;
|
|
105
|
-
description: string;
|
|
106
|
-
rootDomains: any;
|
|
107
|
-
customDomains: boolean;
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
devSandbox: {
|
|
111
|
-
isDev: boolean;
|
|
112
|
-
kvItems: number;
|
|
113
|
-
blobFiles: number;
|
|
114
|
-
tenantsCount: number;
|
|
115
|
-
mailDevMode: boolean;
|
|
116
|
-
};
|
|
117
|
-
securityGateway: {
|
|
118
|
-
tokenRequired: boolean;
|
|
119
|
-
allowedIps: any;
|
|
120
|
-
allowAnyIp: boolean;
|
|
121
|
-
dockRoute: string;
|
|
122
|
-
};
|
|
123
|
-
}>>;
|
|
124
|
-
export default _default;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/** POST /_qarpeo/api/tenants/create Creates a new tenant organization from DevTools. */
|
|
2
|
-
import type { TenantRecord } from "../../../../../types";
|
|
3
|
-
declare const _default: import("nuxt/server").EventHandler<Promise<{
|
|
4
|
-
success: boolean;
|
|
5
|
-
tenant: TenantRecord;
|
|
6
|
-
}>>;
|
|
7
|
-
export default _default;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/** POST /_qarpeo/api/tenants/domain-add Registers a custom domain for a tenant from DevTools. */
|
|
2
|
-
declare const _default: import("nuxt/server").EventHandler<Promise<{
|
|
3
|
-
success: boolean;
|
|
4
|
-
domain: import("../../../../../types").CustomDomainRecord;
|
|
5
|
-
}>>;
|
|
6
|
-
export default _default;
|