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,35 +0,0 @@
|
|
|
1
|
-
import { type ComputedRef } from "vue";
|
|
2
|
-
import type { QarpeoSiteConfig } from "../../../types";
|
|
3
|
-
/**
|
|
4
|
-
* Access the project's site metadata (name, canonical URL, description, SEO defaults).
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* const site = useSite()
|
|
8
|
-
* console.log(site.name, site.url)
|
|
9
|
-
*/
|
|
10
|
-
export declare function useSite(): QarpeoSiteConfig;
|
|
11
|
-
/** Alias for useSite() */
|
|
12
|
-
export declare const useSiteConfig: typeof useSite;
|
|
13
|
-
/**
|
|
14
|
-
* Returns a reactive computed reference to the current page's absolute canonical URL.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* const canonicalUrl = useCanonicalUrl()
|
|
18
|
-
* // Returns "https://myapp.com/docs/getting-started"
|
|
19
|
-
*/
|
|
20
|
-
export declare function useCanonicalUrl(): ComputedRef<string>;
|
|
21
|
-
export interface BreadcrumbItem {
|
|
22
|
-
name: string;
|
|
23
|
-
item: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Injects a Schema.org `BreadcrumbList` structured data script into the head.
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* defineBreadcrumbs([
|
|
30
|
-
* { name: "Home", item: "/" },
|
|
31
|
-
* { name: "Docs", item: "/docs" },
|
|
32
|
-
* { name: "Getting Started", item: "/docs/getting-started" },
|
|
33
|
-
* ])
|
|
34
|
-
*/
|
|
35
|
-
export declare function defineBreadcrumbs(items: BreadcrumbItem[]): void;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { type Ref, type ComputedRef } from "vue";
|
|
2
|
-
import type { StorageImagePreset, BlobAccessTier } from "../../../types";
|
|
3
|
-
export interface UploadedFile {
|
|
4
|
-
key: string;
|
|
5
|
-
pathname: string;
|
|
6
|
-
url: string;
|
|
7
|
-
size: number;
|
|
8
|
-
type: string;
|
|
9
|
-
etag: string;
|
|
10
|
-
access?: BlobAccessTier;
|
|
11
|
-
customMetadata?: Record<string, string>;
|
|
12
|
-
}
|
|
13
|
-
export interface UploadOptions {
|
|
14
|
-
filename?: string;
|
|
15
|
-
customMetadata?: Record<string, string>;
|
|
16
|
-
/** Access tier for file: 'public' | 'unlisted' | 'private' */
|
|
17
|
-
access?: BlobAccessTier;
|
|
18
|
-
/** Use presigned URL upload directly to R2 */
|
|
19
|
-
presigned?: boolean;
|
|
20
|
-
}
|
|
21
|
-
export declare function useStorage(): {
|
|
22
|
-
isUploading: Ref<boolean, boolean>;
|
|
23
|
-
progress: Ref<number, number>;
|
|
24
|
-
error: Ref<Error | null, Error | null>;
|
|
25
|
-
upload: (file: File | Blob, options?: UploadOptions) => Promise<UploadedFile>;
|
|
26
|
-
uploadMultiple: (files: FileList | File[], options?: {
|
|
27
|
-
customMetadata?: Record<string, string>;
|
|
28
|
-
access?: BlobAccessTier;
|
|
29
|
-
}) => Promise<UploadedFile[]>;
|
|
30
|
-
deleteFile: (key: string) => Promise<{
|
|
31
|
-
success: boolean;
|
|
32
|
-
}>;
|
|
33
|
-
getDownloadUrl: (key: string, options?: {
|
|
34
|
-
expiresIn?: string | number;
|
|
35
|
-
download?: boolean;
|
|
36
|
-
filename?: string;
|
|
37
|
-
}) => Promise<string>;
|
|
38
|
-
getOptimizedImageUrl: (key: string, transform?: StorageImagePreset & {
|
|
39
|
-
preset?: string;
|
|
40
|
-
}) => string;
|
|
41
|
-
reset: () => void;
|
|
42
|
-
abort: () => void;
|
|
43
|
-
};
|
|
44
|
-
/** Primary composable for file uploads. */
|
|
45
|
-
export declare const useUpload: typeof useStorage;
|
|
46
|
-
/**
|
|
47
|
-
* Composable to resolve an R2 blob URL with optional image transforms or presets. Accepts string,
|
|
48
|
-
* ref, or getter for full Vue reactivity.
|
|
49
|
-
*/
|
|
50
|
-
export declare function useBlobUrl(key: string | Ref<string> | (() => string), transform?: (StorageImagePreset & {
|
|
51
|
-
preset?: string;
|
|
52
|
-
}) | Ref<(StorageImagePreset & {
|
|
53
|
-
preset?: string;
|
|
54
|
-
}) | undefined> | (() => (StorageImagePreset & {
|
|
55
|
-
preset?: string;
|
|
56
|
-
}) | undefined)): ComputedRef<string>;
|
|
57
|
-
/** Helper to get a direct URL from an R2 key or pathname. */
|
|
58
|
-
export declare function getBlobUrl(key: string, transform?: StorageImagePreset & {
|
|
59
|
-
preset?: string;
|
|
60
|
-
}): string;
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @file Composables/tenant.ts Client-side multi-tenancy and custom domains composable. Provides
|
|
3
|
-
* reactive access to the active tenant and domain management functions.
|
|
4
|
-
*/
|
|
5
|
-
import type { TenantRecord, CustomDomainRecord } from "../../../types";
|
|
6
|
-
/**
|
|
7
|
-
* Reactive Multi-Tenancy & Custom Domains Composable.
|
|
8
|
-
*
|
|
9
|
-
* @param basePath API prefix for tenant endpoints (default: '/api/tenants')
|
|
10
|
-
*/
|
|
11
|
-
export declare function useTenant(basePath?: string): {
|
|
12
|
-
loading: Readonly<import("vue").Ref<boolean, boolean>>;
|
|
13
|
-
error: Readonly<import("vue").Ref<Error | null, Error | null>>;
|
|
14
|
-
tenant: Readonly<import("vue").Ref<{
|
|
15
|
-
readonly id: string;
|
|
16
|
-
readonly slug: string;
|
|
17
|
-
readonly name: string;
|
|
18
|
-
readonly plan?: string | undefined;
|
|
19
|
-
readonly organizationId?: string | undefined;
|
|
20
|
-
readonly customDomain?: string | undefined;
|
|
21
|
-
readonly logoUrl?: string | undefined;
|
|
22
|
-
readonly metadata?: {
|
|
23
|
-
readonly [x: string]: any;
|
|
24
|
-
} | undefined;
|
|
25
|
-
readonly createdAt: number;
|
|
26
|
-
readonly updatedAt: number;
|
|
27
|
-
} | null, {
|
|
28
|
-
readonly id: string;
|
|
29
|
-
readonly slug: string;
|
|
30
|
-
readonly name: string;
|
|
31
|
-
readonly plan?: string | undefined;
|
|
32
|
-
readonly organizationId?: string | undefined;
|
|
33
|
-
readonly customDomain?: string | undefined;
|
|
34
|
-
readonly logoUrl?: string | undefined;
|
|
35
|
-
readonly metadata?: {
|
|
36
|
-
readonly [x: string]: any;
|
|
37
|
-
} | undefined;
|
|
38
|
-
readonly createdAt: number;
|
|
39
|
-
readonly updatedAt: number;
|
|
40
|
-
} | null>>;
|
|
41
|
-
domains: Readonly<import("vue").Ref<readonly {
|
|
42
|
-
readonly id: string;
|
|
43
|
-
readonly tenantId: string;
|
|
44
|
-
readonly domain: string;
|
|
45
|
-
readonly status: import("../../../types").DomainStatus;
|
|
46
|
-
readonly sslStatus: import("../../../types").DomainSslStatus;
|
|
47
|
-
readonly verificationRecords?: readonly {
|
|
48
|
-
readonly type: "cname" | "txt";
|
|
49
|
-
readonly name: string;
|
|
50
|
-
readonly value: string;
|
|
51
|
-
readonly target?: string | undefined;
|
|
52
|
-
}[] | undefined;
|
|
53
|
-
readonly cnameTarget?: string | undefined;
|
|
54
|
-
readonly cloudflareHostnameId?: string | undefined;
|
|
55
|
-
readonly errorMessage?: string | undefined;
|
|
56
|
-
readonly createdAt: number;
|
|
57
|
-
readonly updatedAt: number;
|
|
58
|
-
}[], readonly {
|
|
59
|
-
readonly id: string;
|
|
60
|
-
readonly tenantId: string;
|
|
61
|
-
readonly domain: string;
|
|
62
|
-
readonly status: import("../../../types").DomainStatus;
|
|
63
|
-
readonly sslStatus: import("../../../types").DomainSslStatus;
|
|
64
|
-
readonly verificationRecords?: readonly {
|
|
65
|
-
readonly type: "cname" | "txt";
|
|
66
|
-
readonly name: string;
|
|
67
|
-
readonly value: string;
|
|
68
|
-
readonly target?: string | undefined;
|
|
69
|
-
}[] | undefined;
|
|
70
|
-
readonly cnameTarget?: string | undefined;
|
|
71
|
-
readonly cloudflareHostnameId?: string | undefined;
|
|
72
|
-
readonly errorMessage?: string | undefined;
|
|
73
|
-
readonly createdAt: number;
|
|
74
|
-
readonly updatedAt: number;
|
|
75
|
-
}[]>>;
|
|
76
|
-
isCustomDomain: import("vue").ComputedRef<boolean>;
|
|
77
|
-
fetchCurrentTenant: () => Promise<TenantRecord | null>;
|
|
78
|
-
fetchDomains: (targetTenant?: string) => Promise<CustomDomainRecord[]>;
|
|
79
|
-
addDomain: (domain: string, targetTenant?: string) => Promise<CustomDomainRecord | null>;
|
|
80
|
-
verifyDomain: (domain: string, targetTenant?: string) => Promise<CustomDomainRecord | null>;
|
|
81
|
-
removeDomain: (domain: string, targetTenant?: string) => Promise<boolean>;
|
|
82
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface TwoFactorSetupResult {
|
|
2
|
-
secret: string;
|
|
3
|
-
otpauthUrl: string;
|
|
4
|
-
backupCodes: string[];
|
|
5
|
-
}
|
|
6
|
-
export declare function useTwoFactor(): {
|
|
7
|
-
loading: import("vue").Ref<boolean, boolean>;
|
|
8
|
-
error: import("vue").Ref<string | null, string | null>;
|
|
9
|
-
setup2FA: () => Promise<TwoFactorSetupResult>;
|
|
10
|
-
verify2FA: (code: string, secret?: string) => Promise<any>;
|
|
11
|
-
disable2FA: (code: string) => Promise<any>;
|
|
12
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Qarpeo keyboard shortcuts plugin. Alt+Q -> Open /_qarpeo/devtools (Qarpeo DevTools) Alt+C ->
|
|
3
|
-
* Navigate to /cms (CMS)
|
|
4
|
-
*/
|
|
5
|
-
declare const _default: import("nuxt/app").Plugin<Record<string, unknown>> & import("nuxt/app").ObjectPlugin<Record<string, unknown>>;
|
|
6
|
-
export default _default;
|
package/dist/runtime/auth.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Standard auth user columns mixin for Tier 3 custom schema declarations.
|
|
3
|
-
*
|
|
4
|
-
* @example
|
|
5
|
-
* ;```ts
|
|
6
|
-
* import { sqliteTable, text } from "drizzle-orm/sqlite-core"
|
|
7
|
-
* import { authUserFields } from "qarpeo/auth"
|
|
8
|
-
*
|
|
9
|
-
* export const users = sqliteTable("users", {
|
|
10
|
-
* ...authUserFields,
|
|
11
|
-
* bio: text("bio"),
|
|
12
|
-
* customField: text("custom_field"),
|
|
13
|
-
* })
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
export declare const authUserFields: {
|
|
17
|
-
id: import("drizzle-orm").IsPrimaryKey<import("drizzle-orm/sqlite-core").SQLiteTextBuilder<[string, ...string[]]>>;
|
|
18
|
-
email: import("drizzle-orm").NotNull<import("drizzle-orm/sqlite-core").SQLiteTextBuilder<[string, ...string[]]>>;
|
|
19
|
-
emailVerified: import("drizzle-orm").HasDefault<import("drizzle-orm/sqlite-core").SQLiteIntegerBuilder>;
|
|
20
|
-
name: import("drizzle-orm/sqlite-core").SQLiteTextBuilder<[string, ...string[]]>;
|
|
21
|
-
avatarUrl: import("drizzle-orm/sqlite-core").SQLiteTextBuilder<[string, ...string[]]>;
|
|
22
|
-
role: import("drizzle-orm").HasDefault<import("drizzle-orm/sqlite-core").SQLiteTextBuilder<[string, ...string[]]>>;
|
|
23
|
-
createdAt: import("drizzle-orm").NotNull<import("drizzle-orm/sqlite-core").SQLiteIntegerBuilder>;
|
|
24
|
-
updatedAt: import("drizzle-orm").NotNull<import("drizzle-orm/sqlite-core").SQLiteIntegerBuilder>;
|
|
25
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { CFEvent } from "./types";
|
|
2
|
-
/**
|
|
3
|
-
* Returns the active Cloudflare environment bindings for the current context. Resolves across 7
|
|
4
|
-
* execution tiers:
|
|
5
|
-
*
|
|
6
|
-
* 1. Event context: event.context.cloudflare.env (Nitro/H3, modern Nuxt RequestEvent)
|
|
7
|
-
* 2. Event context: event.env (Hono, SvelteKit platform.env)
|
|
8
|
-
* 3. Cached Cloudflare env from request plugin
|
|
9
|
-
* 4. Nitro 3 event.req.runtime.cloudflare.env
|
|
10
|
-
* 5. Dev proxy cache (**QARPEO_DEV_ENV**)
|
|
11
|
-
* 6. Cloudflare workerd globals (**env**, env)
|
|
12
|
-
* 7. Process env fallback
|
|
13
|
-
*/
|
|
14
|
-
export declare function getCloudflareEnv(event?: CFEvent): Record<string, any>;
|
|
15
|
-
/**
|
|
16
|
-
* Manually set or override the active Cloudflare environment. Useful in custom middleware or
|
|
17
|
-
* testing setups.
|
|
18
|
-
*/
|
|
19
|
-
export declare function setCloudflareEnv(env: Record<string, any>): void;
|
|
20
|
-
/**
|
|
21
|
-
* Resolves a runtime binding name with standard environment variable fallbacks.
|
|
22
|
-
*
|
|
23
|
-
* @param service Service name (e.g. "kv", "blob", "db", "analytics", etc.)
|
|
24
|
-
* @param override Explicit binding override from the caller
|
|
25
|
-
* @param defaultName Default binding name fallback
|
|
26
|
-
*/
|
|
27
|
-
export declare function resolveRuntimeBinding(service: string, override?: string, defaultName?: string): string;
|
package/dist/runtime/blob.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { CFEvent } from "./types/index";
|
|
2
|
-
import type { QarpeoBlob, R2Bucket, BlobEnsureOptions } from "./types/r2";
|
|
3
|
-
/** Returns the raw Cloudflare R2Bucket binding from the active environment. */
|
|
4
|
-
export declare function getR2Binding(bindingName?: string, event?: CFEvent): R2Bucket;
|
|
5
|
-
/** Parses size strings like '2MB', '500KB', '1GB' into integer bytes. */
|
|
6
|
-
export declare function parseByteSize(size: string | number): number;
|
|
7
|
-
/**
|
|
8
|
-
* Validates a file against size and MIME type constraints. Throws HTTP 413 (Payload Too Large) or
|
|
9
|
-
* 415 (Unsupported Media Type).
|
|
10
|
-
*/
|
|
11
|
-
export declare function ensureBlob(file: {
|
|
12
|
-
size?: number;
|
|
13
|
-
type?: string;
|
|
14
|
-
name?: string;
|
|
15
|
-
}, options: BlobEnsureOptions): void;
|
|
16
|
-
/** Creates a typed Blob/R2 interface for a specific binding and optional event. */
|
|
17
|
-
export declare function createBlob(bindingName?: string, event?: CFEvent): QarpeoBlob;
|
|
18
|
-
/**
|
|
19
|
-
* Access a typed Cloudflare R2 Blob instance.
|
|
20
|
-
*
|
|
21
|
-
* @param bindingName Optional R2 binding name (defaults to configured binding or 'BLOB')
|
|
22
|
-
* @param event Optional event context
|
|
23
|
-
*/
|
|
24
|
-
export declare const useBlob: (bindingName?: string, event?: CFEvent) => QarpeoBlob;
|
|
25
|
-
/** Auto-imported `blob` instance for direct Cloudflare R2 Blob operations. */
|
|
26
|
-
export declare const blob: QarpeoBlob;
|
package/dist/runtime/bots.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./server/utils/bots";
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { QarpeoBrowser, BrowserBinding } from "./types/browser";
|
|
2
|
-
import type { CFEvent } from "./types/index";
|
|
3
|
-
export type * from "./types/browser";
|
|
4
|
-
/**
|
|
5
|
-
* Returns the raw Cloudflare Browser Rendering binding from the active environment.
|
|
6
|
-
*
|
|
7
|
-
* @param bindingName Optional Cloudflare Browser binding name (defaults to 'BROWSER')
|
|
8
|
-
* @param event Optional event context
|
|
9
|
-
*/
|
|
10
|
-
export declare function getBrowserBinding(bindingName?: string, event?: CFEvent): BrowserBinding;
|
|
11
|
-
/** Creates a typed Browser Rendering client for a specific binding and optional event. */
|
|
12
|
-
export declare function createBrowser(bindingName?: string, event?: CFEvent): QarpeoBrowser;
|
|
13
|
-
/**
|
|
14
|
-
* Access a typed Cloudflare Browser Rendering client.
|
|
15
|
-
*
|
|
16
|
-
* @param bindingName Optional Browser binding name (defaults to 'BROWSER')
|
|
17
|
-
* @param event Optional event context
|
|
18
|
-
*/
|
|
19
|
-
export declare const useBrowser: (bindingName?: string, event?: CFEvent) => QarpeoBrowser;
|
|
20
|
-
/** Auto-imported `browser` instance for Cloudflare Browser Rendering operations. */
|
|
21
|
-
export declare const browser: QarpeoBrowser;
|
package/dist/runtime/cache.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export interface EdgeCacheInterface {
|
|
2
|
-
/** The raw Cloudflare Cache instance (`caches.default`). */
|
|
3
|
-
raw: any;
|
|
4
|
-
/** Matches a cached Response for a Request or URL string. */
|
|
5
|
-
match: (request: Request | string) => Promise<Response | undefined>;
|
|
6
|
-
/** Puts a Response into the edge cache keyed by Request or URL string. */
|
|
7
|
-
put: (request: Request | string, response: Response) => Promise<void>;
|
|
8
|
-
/** Deletes a cached entry by Request or URL string. */
|
|
9
|
-
delete: (request: Request | string) => Promise<boolean>;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Access the native Cloudflare Workers Edge Cache (`caches.default`).
|
|
13
|
-
*
|
|
14
|
-
* Provides direct access to Cloudflare's Cache API for caching Response objects by Request at the
|
|
15
|
-
* edge with typed match, put, and delete helpers. Returns `undefined` if running outside a Cloudflare Workers environment.
|
|
16
|
-
*
|
|
17
|
-
* @see https://developers.cloudflare.com/workers/runtime-apis/cache/
|
|
18
|
-
*/
|
|
19
|
-
export declare function useEdgeCache(): EdgeCacheInterface | undefined;
|
package/dist/runtime/cms.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export type * from "./app/composables/cms";
|
|
2
|
-
export type { CMSFieldType, CMSFieldDefinition, CMSBlockDefinition, CMSBlockData, CMSCollectionConfig, CMSRevisionsConfig, CMSOptions, CMSHeadingLink, CMSNavigationItem, CMSEntry, CMSCollection, CMSQueryOptions, CMSCreateInput, CMSUpdateInput, } from "../types";
|
package/dist/runtime/db.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { QarpeoDB, D1Database } from "./types/d1";
|
|
2
|
-
import type { CFEvent } from "./types/index";
|
|
3
|
-
/** Returns the raw Cloudflare D1Database binding from the active environment. */
|
|
4
|
-
export declare function getD1Binding(bindingName?: string, event?: CFEvent): D1Database;
|
|
5
|
-
/** Creates a typed D1 database interface for a specific binding and optional event. */
|
|
6
|
-
export declare function createDB(bindingName?: string, event?: CFEvent): QarpeoDB;
|
|
7
|
-
/**
|
|
8
|
-
* Access a typed Cloudflare D1 instance.
|
|
9
|
-
*
|
|
10
|
-
* @param bindingName Optional Cloudflare D1 binding name (defaults to configured binding or 'DB')
|
|
11
|
-
* @param event Optional event context
|
|
12
|
-
*/
|
|
13
|
-
export declare const useDB: (bindingName?: string, event?: CFEvent) => QarpeoDB;
|
|
14
|
-
export declare const useD1: (bindingName?: string, event?: CFEvent) => QarpeoDB;
|
|
15
|
-
/** Auto-imported `db` instance for direct Cloudflare D1 operations. */
|
|
16
|
-
export declare const db: QarpeoDB;
|
|
17
|
-
/**
|
|
18
|
-
* Auto-imported `d1` instance for direct Cloudflare D1 operations. Always points directly to native
|
|
19
|
-
* D1 SQL operations even when `db` is mapped to an ORM.
|
|
20
|
-
*/
|
|
21
|
-
export declare const d1: QarpeoDB;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { QarpeoDrizzleDB, InferDrizzleRelations } from "./types/drizzle";
|
|
2
|
-
import type { CFEvent } from "./types/index";
|
|
3
|
-
export type { QarpeoDrizzleDB, InferDrizzleRelations } from "./types/drizzle";
|
|
4
|
-
/**
|
|
5
|
-
* Creates or accesses a typed Drizzle ORM client connected to Cloudflare D1.
|
|
6
|
-
*
|
|
7
|
-
* @param schema The database schema containing tables
|
|
8
|
-
* @param bindingName Optional Cloudflare D1 binding name (defaults to configured binding or 'DB')
|
|
9
|
-
* @param event Optional event context
|
|
10
|
-
*/
|
|
11
|
-
export declare function createDrizzle<TSchema extends Record<string, unknown>>(schema: TSchema, bindingName?: string, event?: CFEvent): QarpeoDrizzleDB<InferDrizzleRelations<TSchema>>;
|
package/dist/runtime/email.d.ts
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import type { EmailSenderIdentity, QarpeoEmail, SendEmailBinding, SendEmailOptions, SendEmailResult } from "./types/email";
|
|
2
|
-
import type { CFEvent } from "./types/index";
|
|
3
|
-
export type { EmailSenderIdentity, QarpeoEmail, SendEmailBinding, SendEmailOptions, SendEmailResult, } from "./types/email";
|
|
4
|
-
/**
|
|
5
|
-
* Parses an email address label like "Support Team [support@myapp.com](mailto:support@myapp.com)"
|
|
6
|
-
* into an EmailSenderIdentity.
|
|
7
|
-
*/
|
|
8
|
-
export declare function parseSenderIdentity(key: string, raw: string): EmailSenderIdentity;
|
|
9
|
-
/**
|
|
10
|
-
* Universal composable to access configured sender identities / inboxes. Available in Vue
|
|
11
|
-
* components, pages, composables, and Nitro server handlers.
|
|
12
|
-
*/
|
|
13
|
-
export declare function useEmailSenders(): {
|
|
14
|
-
senders: EmailSenderIdentity[];
|
|
15
|
-
defaultSender: EmailSenderIdentity | null;
|
|
16
|
-
getSender: (keyOrAddress: string) => EmailSenderIdentity | undefined;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Accesses the raw Cloudflare `send_email` Workers binding from the active environment.
|
|
20
|
-
*
|
|
21
|
-
* @param bindingName Optional Cloudflare binding name (defaults to "EMAIL")
|
|
22
|
-
* @param event Optional event context
|
|
23
|
-
*/
|
|
24
|
-
export declare function getEmailBinding(bindingName?: string, event?: CFEvent): SendEmailBinding;
|
|
25
|
-
/** Builds an RFC 2822 compliant MIME message string. */
|
|
26
|
-
export declare function buildMimeMessage(options: {
|
|
27
|
-
from: string;
|
|
28
|
-
to: string | string[];
|
|
29
|
-
subject: string;
|
|
30
|
-
text?: string;
|
|
31
|
-
html?: string;
|
|
32
|
-
cc?: string | string[];
|
|
33
|
-
bcc?: string | string[];
|
|
34
|
-
replyTo?: string;
|
|
35
|
-
headers?: Record<string, string>;
|
|
36
|
-
messageId?: string;
|
|
37
|
-
}): string;
|
|
38
|
-
/**
|
|
39
|
-
* Sends a transactional email using Cloudflare's native `send_email` Workers binding in production,
|
|
40
|
-
* or intercepts and displays the email in the terminal console during local development.
|
|
41
|
-
*
|
|
42
|
-
* @param options Email details (to, from, subject, text, html, etc.)
|
|
43
|
-
* @param event Optional event context
|
|
44
|
-
*/
|
|
45
|
-
export declare function sendEmail(options: SendEmailOptions, event?: CFEvent): Promise<SendEmailResult>;
|
|
46
|
-
/** Creates a typed email client connected to Cloudflare `send_email`. */
|
|
47
|
-
export declare function createEmail(bindingName?: string, event?: CFEvent): QarpeoEmail;
|
|
48
|
-
/** Access a typed Cloudflare email client. */
|
|
49
|
-
export declare const useEmail: (bindingName?: string, event?: CFEvent) => QarpeoEmail;
|
|
50
|
-
/** Auto-imported `email` instance for sending transactional emails. */
|
|
51
|
-
export declare const email: QarpeoEmail;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { QarpeoHyperdrive, HyperdriveBinding } from "./types/hyperdrive";
|
|
2
|
-
import type { CFEvent } from "./types/index";
|
|
3
|
-
export type * from "./types/hyperdrive";
|
|
4
|
-
/**
|
|
5
|
-
* Returns the raw Cloudflare Hyperdrive binding from the active environment.
|
|
6
|
-
*
|
|
7
|
-
* @param bindingName Optional Cloudflare Hyperdrive binding name (defaults to 'HYPERDRIVE')
|
|
8
|
-
* @param event Optional event context
|
|
9
|
-
*/
|
|
10
|
-
export declare function getHyperdriveBinding(bindingName?: string, event?: CFEvent): HyperdriveBinding;
|
|
11
|
-
/** Creates a typed Hyperdrive client for a specific binding and optional event. */
|
|
12
|
-
export declare function createHyperdrive(bindingName?: string, event?: CFEvent): QarpeoHyperdrive;
|
|
13
|
-
/**
|
|
14
|
-
* Access a typed Cloudflare Hyperdrive client.
|
|
15
|
-
*
|
|
16
|
-
* @param bindingName Optional Hyperdrive binding name (defaults to 'HYPERDRIVE')
|
|
17
|
-
* @param event Optional event context
|
|
18
|
-
*/
|
|
19
|
-
export declare const useHyperdrive: (bindingName?: string, event?: CFEvent) => QarpeoHyperdrive;
|
|
20
|
-
/** Auto-imported `hyperdrive` instance for direct Cloudflare Hyperdrive connection properties. */
|
|
21
|
-
export declare const hyperdrive: QarpeoHyperdrive;
|
package/dist/runtime/index.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export * from "./types/index";
|
|
2
|
-
export * from "./bindings";
|
|
3
|
-
export * from "./kv";
|
|
4
|
-
export * from "./blob";
|
|
5
|
-
export * from "./db";
|
|
6
|
-
export * from "./drizzle";
|
|
7
|
-
export * from "./email";
|
|
8
|
-
export * from "./cache";
|
|
9
|
-
export * from "./ai";
|
|
10
|
-
export * from "./vectorize";
|
|
11
|
-
export * from "./queue";
|
|
12
|
-
export * from "./analytics";
|
|
13
|
-
export * from "./ratelimit";
|
|
14
|
-
export * from "./hyperdrive";
|
|
15
|
-
export * from "./browser";
|
|
16
|
-
export * from "./auth";
|
|
17
|
-
export * from "./realtime";
|
|
18
|
-
export * from "./cms";
|
|
19
|
-
export * from "./payments";
|
|
20
|
-
export * from "./storage";
|
|
21
|
-
export * from "./bots";
|
|
22
|
-
export * from "./rag";
|
package/dist/runtime/kv.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { CFEvent, QarpeoKV, KVNamespace } from "./types";
|
|
2
|
-
/** Returns the raw Cloudflare KVNamespace binding from the active environment. */
|
|
3
|
-
export declare function getKVBinding(bindingName?: string, event?: CFEvent): KVNamespace;
|
|
4
|
-
/** Creates a typed KV interface for a specific binding and optional event. */
|
|
5
|
-
export declare function createKV(bindingName?: string, event?: CFEvent): QarpeoKV;
|
|
6
|
-
/**
|
|
7
|
-
* Access a typed Cloudflare KV instance.
|
|
8
|
-
*
|
|
9
|
-
* @param bindingName Optional KV binding name (defaults to configured binding or 'KV')
|
|
10
|
-
* @param event Optional event context
|
|
11
|
-
*/
|
|
12
|
-
export declare const useKV: (bindingName?: string, event?: CFEvent) => QarpeoKV;
|
|
13
|
-
/** Auto-imported `kv` instance for direct Cloudflare KV operations. */
|
|
14
|
-
export declare const kv: QarpeoKV;
|
|
15
|
-
/** Alias for getKVBinding for compatibility with nitro storage naming conventions. */
|
|
16
|
-
export declare const getKVStorage: (bindingName?: string, event?: CFEvent) => KVNamespace;
|
package/dist/runtime/queue.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { CFEvent } from "./types/index";
|
|
2
|
-
import type { QarpeoQueue, Queue } from "./types/queue";
|
|
3
|
-
export type * from "./types/queue";
|
|
4
|
-
/**
|
|
5
|
-
* Returns the raw Cloudflare Queue binding from the active environment.
|
|
6
|
-
*
|
|
7
|
-
* @param bindingName Optional Cloudflare Queue binding name (defaults to 'QUEUE')
|
|
8
|
-
* @param event Optional event context
|
|
9
|
-
*/
|
|
10
|
-
export declare function getQueueBinding<T = any>(bindingName?: string, event?: CFEvent): Queue<T>;
|
|
11
|
-
/** Creates a typed Queue client for a specific binding and optional event. */
|
|
12
|
-
export declare function createQueue<T = any>(bindingName?: string, event?: CFEvent): QarpeoQueue<T>;
|
|
13
|
-
/**
|
|
14
|
-
* Access a typed Cloudflare Queue client.
|
|
15
|
-
*
|
|
16
|
-
* @param bindingName Optional Cloudflare Queue binding name (defaults to 'QUEUE')
|
|
17
|
-
* @param event Optional event context
|
|
18
|
-
*/
|
|
19
|
-
export declare const useQueue: <T = any>(bindingName?: string, event?: CFEvent) => QarpeoQueue<T>;
|
|
20
|
-
/** Auto-imported `queue` instance for direct Cloudflare Queue operations. */
|
|
21
|
-
export declare const queue: QarpeoQueue<any>;
|
package/dist/runtime/rag.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./server/utils/rag";
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { CFEvent } from "./types/index";
|
|
2
|
-
import type { QarpeoRateLimit, RateLimiterBinding } from "./types/ratelimit";
|
|
3
|
-
export type * from "./types/ratelimit";
|
|
4
|
-
/**
|
|
5
|
-
* Returns the raw Cloudflare RateLimiter binding from the active environment.
|
|
6
|
-
*
|
|
7
|
-
* @param bindingName Optional Cloudflare RateLimiter binding name (defaults to 'RATE_LIMITER')
|
|
8
|
-
* @param event Optional event context
|
|
9
|
-
*/
|
|
10
|
-
export declare function getRateLimitBinding(bindingName?: string, event?: CFEvent): RateLimiterBinding;
|
|
11
|
-
/** Creates a typed RateLimiter client for a specific binding and optional event. */
|
|
12
|
-
export declare function createRateLimit(bindingName?: string, event?: CFEvent): QarpeoRateLimit;
|
|
13
|
-
/**
|
|
14
|
-
* Access a typed Cloudflare RateLimiter client.
|
|
15
|
-
*
|
|
16
|
-
* @param bindingName Optional RateLimiter binding name (defaults to 'RATE_LIMITER')
|
|
17
|
-
* @param event Optional event context
|
|
18
|
-
*/
|
|
19
|
-
export declare const useRateLimit: (bindingName?: string, event?: CFEvent) => QarpeoRateLimit;
|
|
20
|
-
/** Auto-imported `rateLimit` instance for direct Cloudflare RateLimiter operations. */
|
|
21
|
-
export declare const rateLimit: QarpeoRateLimit;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { QarpeoRoomDO } from "./server/durable-objects/room";
|
|
2
|
-
export { useRealtime, usePresence, useRoomState } from "./app/composables/realtime";
|
|
3
|
-
export { broadcastToRoom, getRoomPresence, getRoomHistory, getRoomState, setRoomState, patchRoomState, disconnectRoomUser, getRoomDurableObject, defineRealtimeHandler, } from "./server/utils/realtime";
|
|
4
|
-
export type { RealtimeOptions, RealtimeUser, RealtimeMessage, RealtimePeer, RealtimeHandlerOptions, RealtimeHandlerRegistration, UsePresenceOptions, UsePresenceReturn, UseRoomStateReturn, } from "../types";
|
|
5
|
-
export type { DurableObjectId, DurableObjectStub, DurableObjectNamespace, DurableObjectState, DurableObjectStorage, } from "./types";
|
|
6
|
-
export type { UseRealtimeOptions, UseRealtimeReturn } from "./app/composables/realtime";
|