qarpeo 0.1.34 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +114 -26
- package/dist/apps/cms.d.ts +4 -0
- package/dist/apps/comments.d.ts +4 -0
- package/dist/apps/payments.d.ts +4 -0
- package/dist/apps/store.d.ts +4 -0
- package/dist/chunks/auth-schema.mjs +169 -30
- package/dist/chunks/tools.mjs +1680 -0
- package/dist/cli/index.mjs +1256 -221
- package/dist/core/aliases.d.ts +5 -0
- package/dist/core/context.d.ts +10 -0
- package/dist/core/cross-drive.d.ts +2 -0
- package/dist/core/d1-migrate.d.ts +4 -0
- package/dist/core/devtools.d.ts +4 -0
- package/dist/core/nitro.d.ts +4 -0
- package/dist/core/schema.d.ts +4 -0
- package/dist/core/server-utils.d.ts +4 -0
- package/dist/core/wrangler.d.ts +4 -0
- package/dist/dev/wrangler.d.ts +1 -0
- package/dist/fate/index.d.ts +8 -8
- package/dist/features/agents.d.ts +4 -0
- package/dist/features/auth.d.ts +4 -0
- package/dist/features/bots.d.ts +4 -0
- package/dist/features/fate.d.ts +4 -0
- package/dist/features/mail.d.ts +4 -0
- package/dist/features/mcp.d.ts +4 -0
- package/dist/features/multitenant.d.ts +4 -0
- package/dist/features/notifications.d.ts +4 -0
- package/dist/features/realtime.d.ts +4 -0
- package/dist/module.d.ts +10 -2
- package/dist/module.mjs +6313 -5114
- package/dist/primitives/ai.d.ts +4 -0
- package/dist/primitives/analytics.d.ts +4 -0
- package/dist/primitives/blob.d.ts +4 -0
- package/dist/primitives/browser.d.ts +4 -0
- package/dist/primitives/cache.d.ts +4 -0
- package/dist/primitives/d1.d.ts +4 -0
- package/dist/primitives/do.d.ts +4 -0
- package/dist/primitives/email.d.ts +4 -0
- package/dist/primitives/hyperdrive.d.ts +4 -0
- package/dist/primitives/kv.d.ts +4 -0
- package/dist/primitives/queue.d.ts +4 -0
- package/dist/primitives/ratelimit.d.ts +4 -0
- package/dist/primitives/vectorize.d.ts +4 -0
- package/dist/primitives/workflows.d.ts +4 -0
- package/dist/runtime/ai.d.ts +3 -3
- package/dist/runtime/ai.mjs +8 -1
- package/dist/runtime/app/components/RealtimeCursors.vue +2 -2
- package/dist/runtime/app/composables/ai.d.ts +56 -29
- package/dist/runtime/app/composables/analytics.d.ts +26 -106
- package/dist/runtime/app/composables/api-tokens.d.ts +31 -34
- package/dist/runtime/app/composables/auth.d.ts +147 -51
- package/dist/runtime/app/composables/auth.mjs +0 -7
- package/dist/runtime/app/composables/chat.d.ts +38 -35
- package/dist/runtime/app/composables/cms-preview.d.ts +30 -25
- package/dist/runtime/app/composables/cms.d.ts +57 -282
- package/dist/runtime/app/composables/cms.mjs +0 -35
- package/dist/runtime/app/composables/comments.d.ts +32 -5
- package/dist/runtime/app/composables/comments.mjs +29 -1
- package/dist/runtime/app/composables/docs-version.d.ts +25 -28
- package/dist/runtime/app/composables/impersonation.d.ts +22 -5
- package/dist/runtime/app/composables/organization.d.ts +38 -91
- package/dist/runtime/app/composables/passkey.d.ts +22 -6
- package/dist/runtime/app/composables/passwordless.d.ts +24 -7
- package/dist/runtime/app/composables/payments.d.ts +50 -34
- package/dist/runtime/app/composables/payments.mjs +1 -0
- package/dist/runtime/app/composables/sse.d.ts +76 -0
- package/dist/runtime/app/composables/sse.mjs +152 -0
- package/dist/runtime/app/composables/storage.d.ts +53 -65
- package/dist/runtime/app/composables/storage.mjs +17 -0
- package/dist/runtime/app/composables/store.d.ts +198 -0
- package/dist/runtime/app/composables/store.mjs +414 -0
- package/dist/runtime/app/composables/tenant.d.ts +31 -72
- package/dist/runtime/app/composables/turnstile.d.ts +16 -3
- package/dist/runtime/app/composables/two-factor.d.ts +23 -6
- package/dist/runtime/app/pages/devtools/notifications.vue +30 -27
- package/dist/runtime/app/pages/devtools/realtime.vue +19 -31
- package/dist/runtime/app/pages/devtools.vue +0 -7
- package/dist/runtime/auth.d.ts +9 -9
- package/dist/runtime/blob.d.ts +10 -1
- package/dist/runtime/blob.mjs +83 -0
- package/dist/runtime/cache.d.ts +48 -0
- package/dist/runtime/cache.mjs +92 -0
- package/dist/runtime/comments.d.ts +4 -0
- package/dist/runtime/comments.mjs +2 -0
- package/dist/runtime/db.d.ts +21 -1
- package/dist/runtime/db.mjs +54 -0
- package/dist/runtime/drizzle.d.ts +4 -2
- package/dist/runtime/drizzle.mjs +68 -1
- package/dist/runtime/durable-object.d.ts +2 -0
- package/dist/runtime/durable-object.mjs +2 -0
- package/dist/runtime/email.d.ts +1 -1
- package/dist/runtime/email.mjs +1 -1
- package/dist/runtime/kv.mjs +50 -1
- package/dist/runtime/mcp.d.ts +2 -0
- package/dist/runtime/mcp.mjs +2 -0
- package/dist/runtime/queue.d.ts +12 -2
- package/dist/runtime/queue.mjs +19 -1
- package/dist/runtime/ratelimit.d.ts +1 -0
- package/dist/runtime/ratelimit.mjs +7 -0
- package/dist/runtime/schema.d.ts +313 -0
- package/dist/runtime/schema.mjs +259 -0
- package/dist/runtime/server/db/cms-schema.d.ts +1225 -171
- package/dist/runtime/server/db/cms-schema.mjs +69 -70
- package/dist/runtime/server/db/store-schema.d.ts +4344 -0
- package/dist/runtime/server/db/store-schema.mjs +266 -0
- package/dist/runtime/server/durable-objects/agent.mjs +35 -0
- package/dist/runtime/server/durable-objects/room.mjs +0 -1
- package/dist/runtime/server/middleware/ratelimit.mjs +10 -8
- package/dist/runtime/server/plugins/comments.d.ts +7 -0
- package/dist/runtime/server/plugins/comments.mjs +7 -0
- package/dist/runtime/server/plugins/email-inbound.d.ts +5 -0
- package/dist/runtime/server/plugins/email-inbound.mjs +17 -0
- package/dist/runtime/server/plugins/store.d.ts +7 -0
- package/dist/runtime/server/plugins/store.mjs +7 -0
- package/dist/runtime/server/routes/__qarpeo/db/tables.get.mjs +2 -2
- package/dist/runtime/server/routes/atom.xml.get.mjs +3 -1
- package/dist/runtime/server/routes/auth/2fa/disable.post.mjs +13 -2
- package/dist/runtime/server/routes/auth/2fa/setup.post.mjs +9 -3
- package/dist/runtime/server/routes/auth/2fa/verify.post.mjs +11 -3
- package/dist/runtime/server/routes/auth/account.delete.mjs +2 -1
- package/dist/runtime/server/routes/auth/audit-logs.get.mjs +1 -1
- package/dist/runtime/server/routes/auth/magic-link/send.post.d.ts +1 -9
- package/dist/runtime/server/routes/auth/magic-link/send.post.mjs +8 -0
- package/dist/runtime/server/routes/auth/organization/sso/[id].delete.mjs +1 -1
- package/dist/runtime/server/routes/auth/organization/sso/index.get.mjs +1 -1
- package/dist/runtime/server/routes/auth/organization/sso/index.post.mjs +1 -1
- package/dist/runtime/server/routes/auth/otp/send.post.d.ts +1 -9
- package/dist/runtime/server/routes/auth/otp/send.post.mjs +8 -0
- package/dist/runtime/server/routes/auth/sso/login.get.mjs +3 -3
- package/dist/runtime/server/routes/auth/sso/oidc/callback.get.mjs +1 -1
- package/dist/runtime/server/routes/auth/sso/saml/acs.post.mjs +2 -2
- package/dist/runtime/server/routes/auth/webauthn/login/options.post.mjs +1 -1
- package/dist/runtime/server/routes/auth/webauthn/login/verify.post.mjs +1 -1
- package/dist/runtime/server/routes/auth/webauthn/register/options.post.mjs +2 -2
- package/dist/runtime/server/routes/auth/webauthn/register/verify.post.mjs +1 -1
- package/dist/runtime/server/routes/cms/[collection]/[id]/preview-token.post.mjs +1 -1
- package/dist/runtime/server/routes/cms/[collection]/atom.xml.get.mjs +3 -1
- package/dist/runtime/server/routes/cms/[collection]/feed.xml.get.mjs +3 -1
- package/dist/runtime/server/routes/cms/bookmarks/[id].delete.mjs +1 -1
- package/dist/runtime/server/routes/cms/bookmarks/check.post.mjs +1 -1
- package/dist/runtime/server/routes/cms/bookmarks/index.get.mjs +1 -1
- package/dist/runtime/server/routes/cms/bookmarks/index.post.mjs +1 -1
- package/dist/runtime/server/routes/cms/deploy.post.mjs +1 -1
- package/dist/runtime/server/routes/cms/export.post.mjs +4 -3
- package/dist/runtime/server/routes/cms/search.get.mjs +7 -5
- package/dist/runtime/server/routes/cms/sync.post.mjs +2 -1
- package/dist/runtime/server/routes/comments/[id]/react.post.mjs +1 -2
- package/dist/runtime/server/routes/comments/[id]/report.post.d.ts +1 -1
- package/dist/runtime/server/routes/comments/[id]/report.post.mjs +0 -2
- package/dist/runtime/server/routes/comments/[id].delete.mjs +8 -4
- package/dist/runtime/server/routes/comments/[id].get.d.ts +1 -1
- package/dist/runtime/server/routes/comments/[id].get.mjs +1 -2
- package/dist/runtime/server/routes/comments/[id].patch.d.ts +1 -1
- package/dist/runtime/server/routes/comments/[id].patch.mjs +6 -3
- package/dist/runtime/server/routes/comments/batch.post.d.ts +2 -0
- package/dist/runtime/server/routes/comments/batch.post.mjs +33 -0
- package/dist/runtime/server/routes/comments/index.get.d.ts +1 -1
- package/dist/runtime/server/routes/comments/index.get.mjs +6 -4
- package/dist/runtime/server/routes/comments/index.post.d.ts +1 -1
- package/dist/runtime/server/routes/comments/index.post.mjs +6 -2
- package/dist/runtime/server/routes/feed.xml.get.mjs +3 -1
- package/dist/runtime/server/routes/sitemap.xml.get.mjs +3 -1
- package/dist/runtime/server/routes/storage/presigned-r2.post.d.ts +17 -0
- package/dist/runtime/server/routes/storage/presigned-r2.post.mjs +29 -0
- package/dist/runtime/server/routes/store/cart/index.delete.d.ts +6 -0
- package/dist/runtime/server/routes/store/cart/index.delete.mjs +11 -0
- package/dist/runtime/server/routes/store/cart/index.get.d.ts +5 -0
- package/dist/runtime/server/routes/store/cart/index.get.mjs +14 -0
- package/dist/runtime/server/routes/store/cart/items/[id].delete.d.ts +6 -0
- package/dist/runtime/server/routes/store/cart/items/[id].delete.mjs +25 -0
- package/dist/runtime/server/routes/store/cart/items/[id].patch.d.ts +6 -0
- package/dist/runtime/server/routes/store/cart/items/[id].patch.mjs +29 -0
- package/dist/runtime/server/routes/store/cart/items.post.d.ts +6 -0
- package/dist/runtime/server/routes/store/cart/items.post.mjs +36 -0
- package/dist/runtime/server/routes/store/categories/index.get.d.ts +2 -0
- package/dist/runtime/server/routes/store/categories/index.get.mjs +8 -0
- package/dist/runtime/server/routes/store/checkout.post.d.ts +6 -0
- package/dist/runtime/server/routes/store/checkout.post.mjs +21 -0
- package/dist/runtime/server/routes/store/coupons/apply.post.d.ts +7 -0
- package/dist/runtime/server/routes/store/coupons/apply.post.mjs +18 -0
- package/dist/runtime/server/routes/store/currencies.get.d.ts +15 -0
- package/dist/runtime/server/routes/store/currencies.get.mjs +13 -0
- package/dist/runtime/server/routes/store/orders/[id].get.d.ts +2 -0
- package/dist/runtime/server/routes/store/orders/[id].get.mjs +26 -0
- package/dist/runtime/server/routes/store/orders/download/[token].get.d.ts +7 -0
- package/dist/runtime/server/routes/store/orders/download/[token].get.mjs +57 -0
- package/dist/runtime/server/routes/store/orders/index.get.d.ts +5 -0
- package/dist/runtime/server/routes/store/orders/index.get.mjs +30 -0
- package/dist/runtime/server/routes/store/products/[slug].get.d.ts +2 -0
- package/dist/runtime/server/routes/store/products/[slug].get.mjs +18 -0
- package/dist/runtime/server/routes/store/products/index.get.d.ts +5 -0
- package/dist/runtime/server/routes/store/products/index.get.mjs +33 -0
- package/dist/runtime/server/routes/store/tax/calculate.post.d.ts +9 -0
- package/dist/runtime/server/routes/store/tax/calculate.post.mjs +18 -0
- package/dist/runtime/server/routes/tenants/[tenant]/domains/[domain]/index.delete.mjs +14 -1
- package/dist/runtime/server/routes/tenants/[tenant]/domains/[domain]/verify.post.mjs +14 -1
- package/dist/runtime/server/routes/tenants/[tenant]/domains/index.get.mjs +24 -1
- package/dist/runtime/server/routes/tenants/[tenant]/domains/index.post.mjs +6 -0
- package/dist/runtime/server/utils/ai.d.ts +146 -21
- package/dist/runtime/server/utils/ai.mjs +406 -11
- package/dist/runtime/server/utils/analytics-query.d.ts +13 -58
- package/dist/runtime/server/utils/audit.d.ts +5 -4
- package/dist/runtime/server/utils/audit.mjs +25 -14
- package/dist/runtime/server/utils/auth.d.ts +29 -12
- package/dist/runtime/server/utils/auth.mjs +88 -70
- package/dist/runtime/server/utils/bots.d.ts +20 -4
- package/dist/runtime/server/utils/bots.mjs +7 -3
- package/dist/runtime/server/utils/browser-utils.d.ts +23 -23
- package/dist/runtime/server/utils/cache.d.ts +31 -10
- package/dist/runtime/server/utils/cache.mjs +130 -53
- package/dist/runtime/server/utils/cms/collections.d.ts +23 -0
- package/dist/runtime/server/utils/cms/collections.mjs +143 -0
- package/dist/runtime/server/utils/cms/common.d.ts +9 -0
- package/dist/runtime/server/utils/cms/common.mjs +28 -0
- package/dist/runtime/server/utils/cms/git.mjs +2 -2
- package/dist/runtime/server/utils/cms/navigation.d.ts +46 -0
- package/dist/runtime/server/utils/cms/navigation.mjs +683 -0
- package/dist/runtime/server/utils/cms/preview.d.ts +11 -0
- package/dist/runtime/server/utils/cms/preview.mjs +50 -0
- package/dist/runtime/server/utils/cms/search.d.ts +1 -1
- package/dist/runtime/server/utils/cms/search.mjs +11 -7
- package/dist/runtime/server/utils/cms/sync.d.ts +34 -0
- package/dist/runtime/server/utils/cms/sync.mjs +1082 -0
- package/dist/runtime/server/utils/cms/taxonomy.d.ts +103 -0
- package/dist/runtime/server/utils/cms/taxonomy.mjs +348 -0
- package/dist/runtime/server/utils/cms.d.ts +13 -249
- package/dist/runtime/server/utils/cms.mjs +108 -2350
- package/dist/runtime/server/utils/comments-filter.d.ts +45 -0
- package/dist/runtime/server/utils/comments-filter.mjs +541 -0
- package/dist/runtime/server/utils/comments.d.ts +71 -0
- package/dist/runtime/server/utils/comments.mjs +137 -61
- package/dist/runtime/server/utils/config.d.ts +4 -3
- package/dist/runtime/server/utils/config.mjs +7 -6
- package/dist/runtime/server/utils/context.d.ts +14 -0
- package/dist/runtime/server/utils/context.mjs +2 -2
- package/dist/runtime/server/utils/crypto.d.ts +44 -5
- package/dist/runtime/server/utils/crypto.mjs +18 -0
- package/dist/runtime/server/utils/domains.mjs +9 -5
- package/dist/runtime/server/utils/drizzle.d.ts +35 -3
- package/dist/runtime/server/utils/drizzle.mjs +115 -6
- package/dist/runtime/server/utils/durable-object.d.ts +106 -0
- package/dist/runtime/server/utils/durable-object.mjs +628 -0
- package/dist/runtime/server/utils/email-inbound.d.ts +29 -0
- package/dist/runtime/server/utils/email-inbound.mjs +76 -0
- package/dist/runtime/server/utils/impersonation.d.ts +32 -2
- package/dist/runtime/server/utils/impersonation.mjs +16 -13
- package/dist/runtime/server/utils/lock.d.ts +71 -0
- package/dist/runtime/server/utils/lock.mjs +139 -0
- package/dist/runtime/server/utils/mail-suppression.mjs +7 -7
- package/dist/runtime/server/utils/mail.d.ts +30 -19
- package/dist/runtime/server/utils/mcp.d.ts +44 -0
- package/dist/runtime/server/utils/mcp.mjs +308 -0
- package/dist/runtime/server/utils/notifications.d.ts +72 -7
- package/dist/runtime/server/utils/notifications.mjs +67 -55
- package/dist/runtime/server/utils/oauth.d.ts +27 -4
- package/dist/runtime/server/utils/organization.d.ts +63 -7
- package/dist/runtime/server/utils/organization.mjs +26 -21
- package/dist/runtime/server/utils/passwordless.d.ts +62 -33
- package/dist/runtime/server/utils/payments.d.ts +51 -12
- package/dist/runtime/server/utils/payments.mjs +472 -282
- package/dist/runtime/server/utils/queue.d.ts +106 -13
- package/dist/runtime/server/utils/queue.mjs +313 -28
- package/dist/runtime/server/utils/rag.d.ts +42 -14
- package/dist/runtime/server/utils/rag.mjs +169 -4
- package/dist/runtime/server/utils/ratelimit.d.ts +34 -5
- package/dist/runtime/server/utils/ratelimit.mjs +95 -14
- package/dist/runtime/server/utils/realtime.d.ts +68 -52
- package/dist/runtime/server/utils/scheduled-task.d.ts +42 -1
- package/dist/runtime/server/utils/scheduled-task.mjs +29 -0
- package/dist/runtime/server/utils/schema-fallback.d.ts +1 -1
- package/dist/runtime/server/utils/schema-fallback.mjs +1 -1
- package/dist/runtime/server/utils/session.d.ts +84 -10
- package/dist/runtime/server/utils/session.mjs +12 -10
- package/dist/runtime/server/utils/sse.d.ts +75 -0
- package/dist/runtime/server/utils/sse.mjs +147 -0
- package/dist/runtime/server/utils/sso.d.ts +1 -1
- package/dist/runtime/server/utils/storage.d.ts +53 -4
- package/dist/runtime/server/utils/storage.mjs +15 -11
- package/dist/runtime/server/utils/store-localization.d.ts +51 -0
- package/dist/runtime/server/utils/store-localization.mjs +417 -0
- package/dist/runtime/server/utils/store.d.ts +207 -0
- package/dist/runtime/server/utils/store.mjs +2227 -0
- package/dist/runtime/server/utils/table-names.d.ts +51 -0
- package/dist/runtime/server/utils/table-names.mjs +69 -0
- package/dist/runtime/server/utils/tenant.d.ts +26 -2
- package/dist/runtime/server/utils/tenant.mjs +16 -12
- package/dist/runtime/server/utils/tools-registry-fallback.d.ts +1 -0
- package/dist/runtime/server/utils/tools-registry-fallback.mjs +1 -0
- package/dist/runtime/server/utils/totp.d.ts +45 -2
- package/dist/runtime/server/utils/tracker.d.ts +10 -11
- package/dist/runtime/server/utils/turnstile.d.ts +16 -1
- package/dist/runtime/server/utils/workflows.d.ts +92 -0
- package/dist/runtime/server/utils/workflows.mjs +299 -0
- package/dist/runtime/server.d.ts +8 -1
- package/dist/runtime/server.mjs +8 -5
- package/dist/runtime/service.d.ts +10 -10
- package/dist/runtime/storage.d.ts +1 -0
- package/dist/runtime/storage.mjs +1 -0
- package/dist/runtime/store.d.ts +4 -0
- package/dist/runtime/store.mjs +2 -0
- package/dist/runtime/test-utils.d.ts +11 -10
- package/dist/runtime/test-utils.mjs +64 -4
- package/dist/runtime/types/ai.d.ts +21 -2
- package/dist/runtime/types/d1.d.ts +17 -0
- package/dist/runtime/types/drizzle.d.ts +2 -2
- package/dist/runtime/types/durable-object.d.ts +62 -2
- package/dist/runtime/types/email.d.ts +46 -0
- package/dist/runtime/types/imports.d.ts +6 -1
- package/dist/runtime/types/index.d.ts +58 -0
- package/dist/runtime/types/index.mjs +3 -0
- package/dist/runtime/types/mcp.d.ts +83 -0
- package/dist/runtime/types/mcp.mjs +0 -0
- package/dist/runtime/types/queue.d.ts +36 -0
- package/dist/runtime/types/r2.d.ts +41 -0
- package/dist/runtime/types/store.d.ts +313 -0
- package/dist/runtime/types/store.mjs +0 -0
- package/dist/runtime/types/workflows.d.ts +98 -0
- package/dist/runtime/types/workflows.mjs +0 -0
- package/dist/runtime/workflows.d.ts +5 -0
- package/dist/runtime/workflows.mjs +2 -0
- package/dist/types/ai.d.ts +721 -0
- package/dist/types/cms.d.ts +710 -0
- package/dist/types.d.ts +430 -1292
- package/dist/utils/auth-schema.d.ts +3 -2
- package/dist/utils/bots.d.ts +20 -0
- package/dist/utils/comments-schema.d.ts +5 -4
- package/dist/utils/drizzle.d.ts +83 -3
- package/dist/utils/durable-objects.d.ts +10 -0
- package/dist/utils/email-inbound.d.ts +10 -0
- package/dist/utils/local-db.d.ts +1 -3
- package/dist/utils/mcp.d.ts +24 -0
- package/dist/utils/notifications-schema.d.ts +5 -4
- package/dist/utils/payments-schema.d.ts +4 -3
- package/dist/utils/store-schema.d.ts +14 -0
- package/dist/utils/table-names.d.ts +1 -0
- package/dist/utils/tenants-schema.d.ts +4 -3
- package/dist/utils/tools.d.ts +20 -0
- package/dist/utils/workflows.d.ts +8 -0
- package/package.json +34 -4
- package/dist/chunks/wrangler.mjs +0 -897
- package/dist/runtime/app/components/AuthRegister.vue +0 -306
- package/dist/runtime/app/components/AuthSessionsList.vue +0 -137
- package/dist/runtime/app/components/AuthSignIn.vue +0 -298
- package/dist/runtime/app/components/CMSBookmarkButton.vue +0 -59
- package/dist/runtime/app/components/CMSImage.vue +0 -47
- package/dist/runtime/app/components/CMSLocaleSwitcher.vue +0 -110
- package/dist/runtime/app/components/CMSNewsletter.vue +0 -81
- package/dist/runtime/app/components/CMSPreviewBanner.vue +0 -83
- package/dist/runtime/app/components/CMSTableOfContents.vue +0 -84
- package/dist/runtime/app/components/CMSVersionBanner.vue +0 -53
- package/dist/runtime/app/components/CMSVersionSwitcher.vue +0 -140
- package/dist/runtime/app/components/Comments.vue +0 -411
- package/dist/runtime/app/components/FileUpload.vue +0 -200
- package/dist/runtime/app/components/ImpersonationBanner.vue +0 -61
- package/dist/runtime/app/components/NotificationBell.vue +0 -263
- package/dist/runtime/app/components/NotificationList.vue +0 -205
- package/dist/runtime/app/components/NotificationPrompt.vue +0 -133
- package/dist/runtime/app/components/PricingGated.vue +0 -81
- package/dist/runtime/app/components/PricingTable.vue +0 -274
- package/dist/runtime/app/components/RealtimeChat.vue +0 -164
- package/dist/runtime/app/components/RealtimePresence.vue +0 -129
- package/dist/runtime/app/components/RealtimeStatus.vue +0 -79
- package/dist/runtime/app/components/SubscriptionCard.vue +0 -207
- package/dist/runtime/app/components/UserProfile.vue +0 -558
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { AuthOptions } from "../types";
|
|
2
|
+
import { type TableResolveOptions } from "./table-names";
|
|
2
3
|
export declare const ALL_AUTH_TABLE_NAMES: readonly ["user", "account", "session", "verification", "twoFactor", "passkey", "organization", "member", "invitation", "auditLogs"];
|
|
3
4
|
/** Returns the list of active auth table names based on enabled feature flags in `auth`. */
|
|
4
|
-
export declare function getActiveAuthTableNames(auth?: boolean | AuthOptions): string[];
|
|
5
|
+
export declare function getActiveAuthTableNames(auth?: boolean | AuthOptions, prefixOrOptions?: boolean | string | TableResolveOptions): string[];
|
|
5
6
|
/**
|
|
6
7
|
* Composes Drizzle SQLite schema conforming to the official Better Auth specifications. Merged at
|
|
7
8
|
* build time into `#qarpeo/auth/schema` and virtual `@schema`.
|
|
8
9
|
*/
|
|
9
|
-
export declare function generateAuthSchema(auth?: boolean | AuthOptions): string;
|
|
10
|
+
export declare function generateAuthSchema(auth?: boolean | AuthOptions, prefixOrOptions?: boolean | string | TableResolveOptions): string;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { LayerLike } from "./drizzle.js";
|
|
2
|
+
export interface DiscoveredBot {
|
|
3
|
+
/** Name of the bot derived from the filename e.g. "telegram" from "telegram.ts" or "telegram.post.ts" */
|
|
4
|
+
name: string;
|
|
5
|
+
/** Absolute path to the source file */
|
|
6
|
+
file: string;
|
|
7
|
+
/** Importable path without extension */
|
|
8
|
+
importPath: string;
|
|
9
|
+
/** Webhook route URL, e.g. "/api/bots/telegram" */
|
|
10
|
+
route: string;
|
|
11
|
+
}
|
|
12
|
+
export interface BotDiscoveryOptions {
|
|
13
|
+
dir?: string;
|
|
14
|
+
path?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Searches across all Nuxt layers for edge bot & webhook definition files inside `server/bots/` or `server/bot/`.
|
|
18
|
+
* Automatically registers each file as a webhook handler mounted at `/api/bots/<name>`.
|
|
19
|
+
*/
|
|
20
|
+
export declare function findBotFiles(layers: readonly LayerLike[], options?: BotDiscoveryOptions): DiscoveredBot[];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { CommentsOptions } from "../types";
|
|
2
|
-
|
|
3
|
-
export declare
|
|
2
|
+
import { type TableResolveOptions } from "./table-names";
|
|
3
|
+
export declare const ALL_COMMENTS_TABLE_NAMES: readonly ["comment", "comment_report", "comment_reaction"];
|
|
4
|
+
export declare function getActiveCommentsTableNames(comments?: boolean | CommentsOptions, prefixOrOptions?: boolean | string | TableResolveOptions): string[];
|
|
4
5
|
/**
|
|
5
6
|
* Generates the Drizzle ORM schema string for Qarpeo Comments. Uses `snakeCase.table` from
|
|
6
7
|
* drizzle-orm/sqlite-core so camelCase property names automatically map to snake_case column
|
|
@@ -8,6 +9,6 @@ export declare function getActiveCommentsTableNames(comments?: boolean | Comment
|
|
|
8
9
|
*
|
|
9
10
|
* Stores threaded comments, community reports, and per-comment reactions in Cloudflare D1.
|
|
10
11
|
*/
|
|
11
|
-
export declare function generateCommentsSchema(comments?: boolean | CommentsOptions): string;
|
|
12
|
+
export declare function generateCommentsSchema(comments?: boolean | CommentsOptions, prefixOrOptions?: boolean | string | TableResolveOptions): string;
|
|
12
13
|
/** Returns raw SQL DDL for all three comments tables. */
|
|
13
|
-
export declare function generateCommentsSql(
|
|
14
|
+
export declare function generateCommentsSql(comments?: boolean | CommentsOptions, prefix?: boolean | string): string;
|
package/dist/utils/drizzle.d.ts
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
export interface SchemaTableInfo {
|
|
2
|
+
/** The variable name in the schema file (e.g. 'users', 'posts', 'orderItems') */
|
|
3
|
+
name: string;
|
|
4
|
+
/** Singular PascalCase model name (e.g. 'User', 'Post', 'OrderItem') */
|
|
5
|
+
modelName: string;
|
|
6
|
+
/** Singular camelCase name (e.g. 'user', 'post', 'orderItem') */
|
|
7
|
+
camelName: string;
|
|
8
|
+
/** File where the table is defined */
|
|
9
|
+
file: string;
|
|
10
|
+
}
|
|
1
11
|
export interface SchemaExports {
|
|
2
12
|
/** Names exported as `export type Foo = ...` — erased at runtime, safe anywhere */
|
|
3
13
|
types: Array<{
|
|
@@ -9,12 +19,29 @@ export interface SchemaExports {
|
|
|
9
19
|
name: string;
|
|
10
20
|
file: string;
|
|
11
21
|
}>;
|
|
22
|
+
/** Scanned Drizzle table definitions (e.g. `export const users = snakeCase.table(...)`) */
|
|
23
|
+
tables: SchemaTableInfo[];
|
|
12
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Converts a plural table name to its singular form.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* users -> user
|
|
30
|
+
* posts -> post
|
|
31
|
+
* categories -> category
|
|
32
|
+
* addresses -> address
|
|
33
|
+
* orderItems -> orderItem
|
|
34
|
+
* usersTable -> user
|
|
35
|
+
*/
|
|
36
|
+
export declare function singularize(name: string): string;
|
|
37
|
+
export declare function toPascalCase(str: string): string;
|
|
38
|
+
export declare function toCamelCase(str: string): string;
|
|
13
39
|
/**
|
|
14
40
|
* Scans schema source files with a lightweight regex pass to collect:
|
|
15
41
|
*
|
|
16
42
|
* - `export type <Name>` declarations → SchemaExports.types
|
|
17
43
|
* - `export const <name>Schema` declarations → SchemaExports.zod
|
|
44
|
+
* - `export const <name> = snakeCase.table(...)` declarations → SchemaExports.tables
|
|
18
45
|
*/
|
|
19
46
|
export declare function scanSchemaExports(schemaFiles: string[]): SchemaExports;
|
|
20
47
|
export interface LayerLike {
|
|
@@ -35,8 +62,61 @@ export interface DrizzleCheckResult {
|
|
|
35
62
|
* newer.
|
|
36
63
|
*/
|
|
37
64
|
export declare function checkDrizzleVersion(rootDir: string): DrizzleCheckResult;
|
|
65
|
+
export interface DatabaseIdentifiers {
|
|
66
|
+
/** Auto-imported schema object name e.g. "d1Schema", "d1AnalyticsSchema", "pgOrdersSchema" */
|
|
67
|
+
schema: string;
|
|
68
|
+
/** Auto-imported DB client instance e.g. "d1Db", "d1AnalyticsDb", "pgOrdersDb" */
|
|
69
|
+
db: string;
|
|
70
|
+
/** Auto-imported Zod schemas object e.g. "d1Zod", "d1AnalyticsZod", "pgOrdersZod" */
|
|
71
|
+
zod: string;
|
|
72
|
+
/** Global types namespace e.g. "D1Types", "D1AnalyticsTypes", "PgOrdersTypes" */
|
|
73
|
+
types: string;
|
|
74
|
+
/** Whether this is the primary database */
|
|
75
|
+
isPrimary: boolean;
|
|
76
|
+
/** Database engine */
|
|
77
|
+
engine: "d1" | "pg" | "ms" | "other";
|
|
78
|
+
}
|
|
79
|
+
export declare function getDatabaseIdentifiers(dirName: string, isPrimary?: boolean): DatabaseIdentifiers;
|
|
80
|
+
export interface DiscoveredDatabase {
|
|
81
|
+
/** Normalized identifier e.g. "default", "analytics", "warehouse" */
|
|
82
|
+
name: string;
|
|
83
|
+
/** Directory name under db/ e.g. "d1", "d1-analytics", "postgres" */
|
|
84
|
+
dirName: string;
|
|
85
|
+
/** Whether this is the default/primary database */
|
|
86
|
+
isPrimary: boolean;
|
|
87
|
+
/** D1/Hyperdrive binding name e.g. "DB", "ANALYTICS_DB", "WAREHOUSE_HD" */
|
|
88
|
+
binding: string;
|
|
89
|
+
/** Optional custom Cloudflare database name (defaults to binding) */
|
|
90
|
+
databaseName?: string;
|
|
91
|
+
/** Database ID (for Cloudflare Wrangler) */
|
|
92
|
+
databaseId: string;
|
|
93
|
+
/** Full directory path to this database */
|
|
94
|
+
dir: string;
|
|
95
|
+
/** Directory where migrations are placed */
|
|
96
|
+
migrationsDir: string;
|
|
97
|
+
/** Schema files belonging strictly to this database */
|
|
98
|
+
schemaFiles: string[];
|
|
99
|
+
/** Dialect: "sqlite" | "postgres" | "mysql" */
|
|
100
|
+
dialect: "sqlite" | "postgres" | "mysql";
|
|
101
|
+
/** Auto-import and virtual module identifiers */
|
|
102
|
+
identifiers: DatabaseIdentifiers;
|
|
103
|
+
}
|
|
104
|
+
/** Checks if a directory contains any valid schema files. */
|
|
105
|
+
export declare function hasDatabaseSchema(dirPath: string): boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Discovers all databases configured or present across Nuxt layers.
|
|
108
|
+
* Follows the strict rule: every database must have a folder with valid schema files,
|
|
109
|
+
* or be configured in options.db.databases.
|
|
110
|
+
*/
|
|
111
|
+
export declare function discoverDatabases(layers: readonly LayerLike[], options?: any): DiscoveredDatabase[];
|
|
112
|
+
/**
|
|
113
|
+
* Resolves a specific database target by name, dirName, or binding.
|
|
114
|
+
* If targetDbName is omitted, returns the primary database.
|
|
115
|
+
*/
|
|
116
|
+
export declare function resolveDatabaseTarget(layers: readonly LayerLike[], targetDbName?: string, options?: any): DiscoveredDatabase;
|
|
38
117
|
/**
|
|
39
|
-
* Searches across all Nuxt layers for Drizzle database schema files.
|
|
40
|
-
*
|
|
118
|
+
* Searches across all Nuxt layers for Drizzle database schema files.
|
|
119
|
+
* If targetDb is passed, returns schemas only for that target database.
|
|
120
|
+
* If targetDb is omitted, returns all discovered schema files across all databases.
|
|
41
121
|
*/
|
|
42
|
-
export declare function findSchemaFiles(layers: readonly LayerLike[]): string[];
|
|
122
|
+
export declare function findSchemaFiles(layers: readonly LayerLike[], targetDb?: string): string[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { LayerLike } from "./drizzle.js";
|
|
2
|
+
export interface DiscoveredDurableObject {
|
|
3
|
+
name: string;
|
|
4
|
+
className: string;
|
|
5
|
+
bindingName: string;
|
|
6
|
+
file: string;
|
|
7
|
+
importPath: string;
|
|
8
|
+
}
|
|
9
|
+
/** Searches across all Nuxt layers for Durable Object definition files. */
|
|
10
|
+
export declare function findDurableObjectFiles(layers: readonly LayerLike[], customDir?: string): DiscoveredDurableObject[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { LayerLike } from "./drizzle.js";
|
|
2
|
+
/**
|
|
3
|
+
* Searches across all Nuxt layers for inbound email handler files:
|
|
4
|
+
*
|
|
5
|
+
* - server/email.ts
|
|
6
|
+
* - server/email/index.ts
|
|
7
|
+
* - server/email/incoming.ts
|
|
8
|
+
* - server/email/*.ts
|
|
9
|
+
*/
|
|
10
|
+
export declare function findEmailHandlerFiles(layers: readonly LayerLike[], customDir?: string): string[];
|
package/dist/utils/local-db.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare function findLocalD1Database(cwd: string): string | null;
|
|
|
10
10
|
/** Dynamically resolves and creates a Jiti instance for executing TS files. */
|
|
11
11
|
export declare function getJiti(cwd: string): Promise<any>;
|
|
12
12
|
/** Loads the project schema and initializes a local Drizzle database instance connected to local D1. */
|
|
13
|
-
export declare function getLocalDatabaseContext(cwd: string, nuxtConfig: any): Promise<LocalDatabaseContext>;
|
|
13
|
+
export declare function getLocalDatabaseContext(cwd: string, nuxtConfig: any, targetDb?: string): Promise<LocalDatabaseContext>;
|
|
14
14
|
export interface ApplyD1MigrationsOptions {
|
|
15
15
|
wranglerConfigPath?: string;
|
|
16
16
|
dbName?: string;
|
|
@@ -24,5 +24,3 @@ export interface ApplyD1MigrationsOptions {
|
|
|
24
24
|
* non-interactive confirmation automatically.
|
|
25
25
|
*/
|
|
26
26
|
export declare function applyD1Migrations(cwd: string, options?: ApplyD1MigrationsOptions): boolean;
|
|
27
|
-
/** Legacy alias for backward compatibility. */
|
|
28
|
-
export declare const autoMigrateLocalD1: (cwd: string, options?: ApplyD1MigrationsOptions) => boolean;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { LayerLike } from "./drizzle.js";
|
|
2
|
+
export interface DiscoveredMcpServer {
|
|
3
|
+
/** Name of the MCP server, e.g. "default" for index/mcp.ts, or "db" from "db.ts" */
|
|
4
|
+
name: string;
|
|
5
|
+
/** Absolute path to the source file */
|
|
6
|
+
file: string;
|
|
7
|
+
/** Importable path without extension */
|
|
8
|
+
importPath: string;
|
|
9
|
+
/** Webhook route URL, e.g. "/mcp" or "/mcp/db" */
|
|
10
|
+
route: string;
|
|
11
|
+
}
|
|
12
|
+
export interface McpDiscoveryOptions {
|
|
13
|
+
dir?: string;
|
|
14
|
+
path?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Searches across all Nuxt layers for Model Context Protocol (MCP) server definition files.
|
|
18
|
+
*
|
|
19
|
+
* Supported conventions:
|
|
20
|
+
* - `server/mcp.ts` -> `/mcp`
|
|
21
|
+
* - `server/mcp/index.ts` -> `/mcp`
|
|
22
|
+
* - `server/mcp/<name>.ts` -> `/mcp/<name>`
|
|
23
|
+
*/
|
|
24
|
+
export declare function findMcpFiles(layers: readonly LayerLike[], options?: McpDiscoveryOptions): DiscoveredMcpServer[];
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { NotificationsOptions } from "../types";
|
|
2
|
-
|
|
3
|
-
export declare
|
|
2
|
+
import { type TableResolveOptions } from "./table-names";
|
|
3
|
+
export declare const ALL_NOTIFICATIONS_TABLE_NAMES: readonly ["notification", "push_subscription"];
|
|
4
|
+
export declare function getActiveNotificationsTableNames(notifications?: boolean | NotificationsOptions, prefixOrOptions?: boolean | string | TableResolveOptions): string[];
|
|
4
5
|
/**
|
|
5
6
|
* Generates the Drizzle ORM schema string for Qarpeo Notifications. Uses `snakeCase.table` from
|
|
6
7
|
* drizzle-orm/sqlite-core so camelCase property names automatically map to snake_case column
|
|
@@ -8,6 +9,6 @@ export declare function getActiveNotificationsTableNames(notifications?: boolean
|
|
|
8
9
|
*
|
|
9
10
|
* Stores in-app notification records and Web Push subscriptions in Cloudflare D1.
|
|
10
11
|
*/
|
|
11
|
-
export declare function generateNotificationsSchema(notifications?: boolean | NotificationsOptions): string;
|
|
12
|
+
export declare function generateNotificationsSchema(notifications?: boolean | NotificationsOptions, prefixOrOptions?: boolean | string | TableResolveOptions): string;
|
|
12
13
|
/** Returns raw SQL DDL for table creation. */
|
|
13
|
-
export declare function generateNotificationsSql(options?: boolean | NotificationsOptions): string;
|
|
14
|
+
export declare function generateNotificationsSql(options?: boolean | NotificationsOptions, prefix?: boolean | string): string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { PaymentsOptions } from "../types";
|
|
2
|
-
|
|
3
|
-
export declare
|
|
2
|
+
import { type TableResolveOptions } from "./table-names";
|
|
3
|
+
export declare const ALL_PAYMENTS_TABLE_NAMES: readonly ["customer", "subscription", "webhook_event", "usage_record"];
|
|
4
|
+
export declare function getActivePaymentsTableNames(payments?: boolean | PaymentsOptions, prefixOrOptions?: boolean | string | TableResolveOptions): string[];
|
|
4
5
|
/**
|
|
5
6
|
* Generates the Drizzle ORM schema string for Qarpeo Edge Payments. Uses `snakeCase.table` from
|
|
6
7
|
* drizzle-orm/sqlite-core so camelCase property names automatically map to snake_case column
|
|
@@ -8,4 +9,4 @@ export declare function getActivePaymentsTableNames(payments?: boolean | Payment
|
|
|
8
9
|
*
|
|
9
10
|
* Stores customer records, subscription state, and metered usage records in Cloudflare D1.
|
|
10
11
|
*/
|
|
11
|
-
export declare function generatePaymentsSchema(payments?: boolean | PaymentsOptions): string;
|
|
12
|
+
export declare function generatePaymentsSchema(payments?: boolean | PaymentsOptions, prefixOrOptions?: boolean | string | TableResolveOptions): string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { StoreOptions } from "../types";
|
|
2
|
+
import { type TableResolveOptions } from "./table-names";
|
|
3
|
+
export declare const ALL_STORE_TABLE_NAMES: readonly ["store_product", "store_product_variant", "store_inventory", "store_category", "store_cart", "store_cart_item", "store_order", "store_order_item", "store_discount", "store_customer_address"];
|
|
4
|
+
export declare function getActiveStoreTableNames(store?: boolean | StoreOptions, prefixOrOptions?: boolean | string | TableResolveOptions): string[];
|
|
5
|
+
/**
|
|
6
|
+
* Generates the Drizzle ORM schema string for the Qarpeo Store App.
|
|
7
|
+
* Uses `snakeCase.table` from drizzle-orm/sqlite-core so camelCase property names
|
|
8
|
+
* map to snake_case column names automatically.
|
|
9
|
+
*/
|
|
10
|
+
export declare function generateStoreSchema(store?: boolean | StoreOptions, prefixOrOptions?: boolean | string | TableResolveOptions): string;
|
|
11
|
+
/**
|
|
12
|
+
* Generates raw SQLite DDL statements for initializing Store tables and indexes in Cloudflare D1.
|
|
13
|
+
*/
|
|
14
|
+
export declare function generateStoreDDL(store?: boolean | StoreOptions, prefixOrOptions?: boolean | string | TableResolveOptions): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../runtime/server/utils/table-names";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { MultitenantOptions } from "../types";
|
|
2
|
-
|
|
3
|
-
export declare
|
|
2
|
+
import { type TableResolveOptions } from "./table-names";
|
|
3
|
+
export declare const ALL_TENANTS_TABLE_NAMES: readonly ["tenant", "domain"];
|
|
4
|
+
export declare function getActiveTenantsTableNames(multitenant?: boolean | MultitenantOptions, prefixOrOptions?: boolean | string | TableResolveOptions): string[];
|
|
4
5
|
/**
|
|
5
6
|
* Generates the Drizzle ORM schema string for Qarpeo Multi-Tenancy & Custom Domains. Uses
|
|
6
7
|
* `snakeCase.table` from drizzle-orm/sqlite-core so camelCase property names automatically map to
|
|
@@ -8,4 +9,4 @@ export declare function getActiveTenantsTableNames(multitenant?: boolean | Multi
|
|
|
8
9
|
*
|
|
9
10
|
* Stores tenant records and custom domain routing state in Cloudflare D1.
|
|
10
11
|
*/
|
|
11
|
-
export declare function generateTenantsSchema(multitenant?: boolean | MultitenantOptions): string;
|
|
12
|
+
export declare function generateTenantsSchema(multitenant?: boolean | MultitenantOptions, prefixOrOptions?: boolean | string | TableResolveOptions): string;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { LayerLike } from "./drizzle.js";
|
|
2
|
+
export interface DiscoveredTool {
|
|
3
|
+
/** Export name derived from the filename, e.g. `search-docs` → `searchDocs` */
|
|
4
|
+
name: string;
|
|
5
|
+
/** Absolute path to the source file */
|
|
6
|
+
file: string;
|
|
7
|
+
/** Importable path without extension (backslashes replaced with forward slashes) */
|
|
8
|
+
importPath: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Searches across all Nuxt layers for tool definition files inside `server/tools/`.
|
|
12
|
+
* Each `.ts` / `.js` / `.mjs` file should export one or more `defineTool(...)` calls as
|
|
13
|
+
* named exports. All named exports are automatically registered in the global tool registry.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* // server/tools/search.ts
|
|
17
|
+
* export const searchDocs = defineTool({ ... })
|
|
18
|
+
* export const searchUsers = defineTool({ ... })
|
|
19
|
+
*/
|
|
20
|
+
export declare function findToolFiles(layers: readonly LayerLike[], customDir?: string): DiscoveredTool[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { LayerLike } from "./drizzle.js";
|
|
2
|
+
export interface DiscoveredWorkflow {
|
|
3
|
+
name: string;
|
|
4
|
+
file: string;
|
|
5
|
+
importPath: string;
|
|
6
|
+
}
|
|
7
|
+
/** Searches across all Nuxt layers for workflow definition files inside `server/workflows/`. */
|
|
8
|
+
export declare function findWorkflowFiles(layers: readonly LayerLike[], dirName?: string): DiscoveredWorkflow[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qarpeo",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Zero-config Cloudflare Edge Platform for Nuxt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"analytics-engine",
|
|
@@ -63,6 +63,18 @@
|
|
|
63
63
|
"types": "./dist/runtime/cms.d.ts",
|
|
64
64
|
"import": "./dist/runtime/cms.mjs"
|
|
65
65
|
},
|
|
66
|
+
"./comments": {
|
|
67
|
+
"types": "./dist/runtime/comments.d.ts",
|
|
68
|
+
"import": "./dist/runtime/comments.mjs"
|
|
69
|
+
},
|
|
70
|
+
"./store": {
|
|
71
|
+
"types": "./dist/runtime/store.d.ts",
|
|
72
|
+
"import": "./dist/runtime/store.mjs"
|
|
73
|
+
},
|
|
74
|
+
"./store/server": {
|
|
75
|
+
"types": "./dist/runtime/server/utils/store.d.ts",
|
|
76
|
+
"import": "./dist/runtime/server/utils/store.mjs"
|
|
77
|
+
},
|
|
66
78
|
"./realtime": {
|
|
67
79
|
"types": "./dist/runtime/realtime.d.ts",
|
|
68
80
|
"import": "./dist/runtime/realtime.mjs"
|
|
@@ -86,6 +98,22 @@
|
|
|
86
98
|
"./test-utils": {
|
|
87
99
|
"types": "./dist/runtime/test-utils.d.ts",
|
|
88
100
|
"import": "./dist/runtime/test-utils.mjs"
|
|
101
|
+
},
|
|
102
|
+
"./schema": {
|
|
103
|
+
"types": "./dist/runtime/schema.d.ts",
|
|
104
|
+
"import": "./dist/runtime/schema.mjs"
|
|
105
|
+
},
|
|
106
|
+
"./workflows": {
|
|
107
|
+
"types": "./dist/runtime/workflows.d.ts",
|
|
108
|
+
"import": "./dist/runtime/workflows.mjs"
|
|
109
|
+
},
|
|
110
|
+
"./durable-object": {
|
|
111
|
+
"types": "./dist/runtime/durable-object.d.ts",
|
|
112
|
+
"import": "./dist/runtime/durable-object.mjs"
|
|
113
|
+
},
|
|
114
|
+
"./mcp": {
|
|
115
|
+
"types": "./dist/runtime/mcp.d.ts",
|
|
116
|
+
"import": "./dist/runtime/mcp.mjs"
|
|
89
117
|
}
|
|
90
118
|
},
|
|
91
119
|
"publishConfig": {
|
|
@@ -108,6 +136,7 @@
|
|
|
108
136
|
"giget": "^3.3.1",
|
|
109
137
|
"nypm": "^0.6.12",
|
|
110
138
|
"pathe": "^2.0.3",
|
|
139
|
+
"postgres": "^4.1.1",
|
|
111
140
|
"shiki": "^4.6.0",
|
|
112
141
|
"uqr": "0.1.3",
|
|
113
142
|
"wrangler": "4.160.0",
|
|
@@ -126,7 +155,8 @@
|
|
|
126
155
|
"unbuild": "^3.6.1",
|
|
127
156
|
"vite-plus": "1.7.0",
|
|
128
157
|
"vue": "^3.6.0-rc.15",
|
|
129
|
-
"vue-sfc-transformer": "^0.3.3"
|
|
158
|
+
"vue-sfc-transformer": "^0.3.3",
|
|
159
|
+
"vue-tsc": "^3.3.14"
|
|
130
160
|
},
|
|
131
161
|
"peerDependencies": {
|
|
132
162
|
"@cloudflare/puppeteer": ">=1.0.0",
|
|
@@ -162,8 +192,8 @@
|
|
|
162
192
|
"docs:dev": "nuxt dev docs",
|
|
163
193
|
"docs:generate": "nuxt generate docs",
|
|
164
194
|
"docs:prepare": "nuxt prepare docs",
|
|
165
|
-
"init": "node ./dist/cli/index.mjs init docs",
|
|
166
195
|
"qp": "node ./dist/cli/index.mjs",
|
|
167
|
-
"test": "vp test run"
|
|
196
|
+
"test": "vp test run",
|
|
197
|
+
"typecheck": "vue-tsc --noEmit -p tsconfig.json"
|
|
168
198
|
}
|
|
169
199
|
}
|