nuxt-backend 0.1.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +261 -657
- package/dist/analyze/types.js +4 -0
- package/dist/capabilities/detect.js +217 -0
- package/dist/capabilities/health.js +29 -0
- package/dist/capabilities/registry.js +205 -0
- package/dist/capabilities/status.js +61 -0
- package/dist/capabilities/types.js +19 -0
- package/dist/chunks/catalog.mjs +39 -0
- package/dist/chunks/doctor.mjs +3024 -0
- package/dist/chunks/email-previews.mjs +77 -0
- package/dist/chunks/health.mjs +35 -0
- package/dist/chunks/index.mjs +234 -0
- package/dist/chunks/install.mjs +63 -0
- package/dist/chunks/report.mjs +150 -0
- package/dist/chunks/run.mjs +318 -0
- package/dist/chunks/server.mjs +1012 -0
- package/dist/cli.d.mts +1 -0
- package/dist/cli.mjs +3649 -0
- package/dist/convex/access-tickets.d.ts +134 -0
- package/dist/convex/access-tickets.d.ts.map +1 -0
- package/dist/convex/access-tickets.js +104 -0
- package/dist/convex/access-tickets.js.map +1 -0
- package/dist/convex/account-data.d.ts +455 -0
- package/dist/convex/account-data.d.ts.map +1 -0
- package/dist/convex/account-data.js +454 -0
- package/dist/convex/account-data.js.map +1 -0
- package/dist/convex/activation-rules.d.ts +89 -0
- package/dist/convex/activation-rules.d.ts.map +1 -0
- package/dist/convex/activation-rules.js +85 -0
- package/dist/convex/activation-rules.js.map +1 -0
- package/dist/convex/announcements.d.ts +50 -0
- package/dist/convex/announcements.d.ts.map +1 -0
- package/dist/convex/announcements.js +26 -0
- package/dist/convex/announcements.js.map +1 -0
- package/dist/convex/app.d.ts +107 -0
- package/dist/convex/app.d.ts.map +1 -0
- package/dist/convex/app.js +130 -0
- package/dist/convex/app.js.map +1 -0
- package/dist/convex/auth-secrets.d.ts +70 -0
- package/dist/convex/auth-secrets.d.ts.map +1 -0
- package/dist/convex/auth-secrets.js +102 -0
- package/dist/convex/auth-secrets.js.map +1 -0
- package/dist/convex/auth.config.d.ts +25 -1
- package/dist/convex/auth.config.d.ts.map +1 -1
- package/dist/convex/auth.config.js +20 -2
- package/dist/convex/auth.config.js.map +1 -1
- package/dist/convex/bytes.d.ts +3 -0
- package/dist/convex/bytes.d.ts.map +1 -0
- package/dist/convex/bytes.js +11 -0
- package/dist/convex/bytes.js.map +1 -0
- package/dist/convex/c2pa/cbor.d.ts +12 -0
- package/dist/convex/c2pa/cbor.d.ts.map +1 -0
- package/dist/convex/c2pa/cbor.js +81 -0
- package/dist/convex/c2pa/cbor.js.map +1 -0
- package/dist/convex/c2pa/der.d.ts +23 -0
- package/dist/convex/c2pa/der.d.ts.map +1 -0
- package/dist/convex/c2pa/der.js +88 -0
- package/dist/convex/c2pa/der.js.map +1 -0
- package/dist/convex/c2pa/formats.d.ts +25 -0
- package/dist/convex/c2pa/formats.d.ts.map +1 -0
- package/dist/convex/c2pa/formats.js +276 -0
- package/dist/convex/c2pa/formats.js.map +1 -0
- package/dist/convex/c2pa/jumbf.d.ts +16 -0
- package/dist/convex/c2pa/jumbf.d.ts.map +1 -0
- package/dist/convex/c2pa/jumbf.js +41 -0
- package/dist/convex/c2pa/jumbf.js.map +1 -0
- package/dist/convex/c2pa/manifest.d.ts +39 -0
- package/dist/convex/c2pa/manifest.d.ts.map +1 -0
- package/dist/convex/c2pa/manifest.js +161 -0
- package/dist/convex/c2pa/manifest.js.map +1 -0
- package/dist/convex/catalog.d.ts +481 -0
- package/dist/convex/catalog.d.ts.map +1 -0
- package/dist/convex/catalog.js +341 -0
- package/dist/convex/catalog.js.map +1 -0
- package/dist/convex/client/age-gate.d.ts +38 -0
- package/dist/convex/client/age-gate.d.ts.map +1 -0
- package/dist/convex/client/age-gate.js +129 -0
- package/dist/convex/client/age-gate.js.map +1 -0
- package/dist/convex/client/audit.d.ts +36 -0
- package/dist/convex/client/audit.d.ts.map +1 -0
- package/dist/convex/client/audit.js +278 -0
- package/dist/convex/client/audit.js.map +1 -0
- package/dist/convex/client/auth-types.d.ts +342 -0
- package/dist/convex/client/auth-types.d.ts.map +1 -0
- package/dist/convex/client/auth-types.js +2 -0
- package/dist/convex/client/auth-types.js.map +1 -0
- package/dist/convex/client/better-auth-options.d.ts +21 -0
- package/dist/convex/client/better-auth-options.d.ts.map +1 -0
- package/dist/convex/client/better-auth-options.js +478 -0
- package/dist/convex/client/better-auth-options.js.map +1 -0
- package/dist/convex/client/client-address.d.ts +21 -0
- package/dist/convex/client/client-address.d.ts.map +1 -0
- package/dist/convex/client/client-address.js +37 -0
- package/dist/convex/client/client-address.js.map +1 -0
- package/dist/convex/client/code-binding.d.ts +23 -0
- package/dist/convex/client/code-binding.d.ts.map +1 -0
- package/dist/convex/client/code-binding.js +100 -0
- package/dist/convex/client/code-binding.js.map +1 -0
- package/dist/convex/client/codes.d.ts +26 -0
- package/dist/convex/client/codes.d.ts.map +1 -0
- package/dist/convex/client/codes.js +46 -0
- package/dist/convex/client/codes.js.map +1 -0
- package/dist/convex/client/component.d.ts +185 -0
- package/dist/convex/client/component.d.ts.map +1 -0
- package/dist/convex/client/component.js +139 -0
- package/dist/convex/client/component.js.map +1 -0
- package/dist/convex/client/devices.d.ts +2 -0
- package/dist/convex/client/devices.d.ts.map +1 -0
- package/dist/convex/client/devices.js +188 -0
- package/dist/convex/client/devices.js.map +1 -0
- package/dist/convex/client/email.d.ts +10 -0
- package/dist/convex/client/email.d.ts.map +1 -0
- package/dist/convex/client/email.js +78 -0
- package/dist/convex/client/email.js.map +1 -0
- package/dist/convex/client/entities.d.ts +22 -0
- package/dist/convex/client/entities.d.ts.map +1 -0
- package/dist/convex/client/entities.js +82 -0
- package/dist/convex/client/entities.js.map +1 -0
- package/dist/convex/client/guards.d.ts +121 -0
- package/dist/convex/client/guards.d.ts.map +1 -0
- package/dist/convex/client/guards.js +874 -0
- package/dist/convex/client/guards.js.map +1 -0
- package/dist/convex/client/guest-claim.d.ts +21 -0
- package/dist/convex/client/guest-claim.d.ts.map +1 -0
- package/dist/convex/client/guest-claim.js +45 -0
- package/dist/convex/client/guest-claim.js.map +1 -0
- package/dist/convex/client/hooks.d.ts +23 -0
- package/dist/convex/client/hooks.d.ts.map +1 -0
- package/dist/convex/client/hooks.js +69 -0
- package/dist/convex/client/hooks.js.map +1 -0
- package/dist/convex/client/identity.d.ts +3 -0
- package/dist/convex/client/identity.d.ts.map +1 -0
- package/dist/convex/client/identity.js +8 -0
- package/dist/convex/client/identity.js.map +1 -0
- package/dist/convex/client/index.d.ts +1847 -11538
- package/dist/convex/client/index.d.ts.map +1 -1
- package/dist/convex/client/index.js +226 -200
- package/dist/convex/client/index.js.map +1 -1
- package/dist/convex/client/launch-gate.d.ts +69 -0
- package/dist/convex/client/launch-gate.d.ts.map +1 -0
- package/dist/convex/client/launch-gate.js +212 -0
- package/dist/convex/client/launch-gate.js.map +1 -0
- package/dist/convex/client/notices.d.ts +11 -0
- package/dist/convex/client/notices.d.ts.map +1 -0
- package/dist/convex/client/notices.js +38 -0
- package/dist/convex/client/notices.js.map +1 -0
- package/dist/convex/client/passkey-only.d.ts +86 -0
- package/dist/convex/client/passkey-only.d.ts.map +1 -0
- package/dist/convex/client/passkey-only.js +339 -0
- package/dist/convex/client/passkey-only.js.map +1 -0
- package/dist/convex/client/plugins.d.ts +1686 -0
- package/dist/convex/client/plugins.d.ts.map +1 -0
- package/dist/convex/client/plugins.js +185 -0
- package/dist/convex/client/plugins.js.map +1 -0
- package/dist/convex/client/refusals.d.ts +16 -0
- package/dist/convex/client/refusals.d.ts.map +1 -0
- package/dist/convex/client/refusals.js +32 -0
- package/dist/convex/client/refusals.js.map +1 -0
- package/dist/convex/client/request-origin.d.ts +13 -0
- package/dist/convex/client/request-origin.d.ts.map +1 -0
- package/dist/convex/client/request-origin.js +99 -0
- package/dist/convex/client/request-origin.js.map +1 -0
- package/dist/convex/client/request-session.d.ts +33 -0
- package/dist/convex/client/request-session.d.ts.map +1 -0
- package/dist/convex/client/request-session.js +62 -0
- package/dist/convex/client/request-session.js.map +1 -0
- package/dist/convex/client/runtime.d.ts +93 -0
- package/dist/convex/client/runtime.d.ts.map +1 -0
- package/dist/convex/client/runtime.js +10 -0
- package/dist/convex/client/runtime.js.map +1 -0
- package/dist/convex/client/secret-rotation.d.ts +16 -0
- package/dist/convex/client/secret-rotation.d.ts.map +1 -0
- package/dist/convex/client/secret-rotation.js +113 -0
- package/dist/convex/client/secret-rotation.js.map +1 -0
- package/dist/convex/client/sessions.d.ts +28 -0
- package/dist/convex/client/sessions.d.ts.map +1 -0
- package/dist/convex/client/sessions.js +36 -0
- package/dist/convex/client/sessions.js.map +1 -0
- package/dist/convex/client/workspaces.d.ts +40 -0
- package/dist/convex/client/workspaces.d.ts.map +1 -0
- package/dist/convex/client/workspaces.js +110 -0
- package/dist/convex/client/workspaces.js.map +1 -0
- package/dist/convex/components/backend/_generated/api.d.ts +116 -0
- package/dist/convex/components/backend/_generated/api.d.ts.map +1 -0
- package/dist/convex/components/backend/_generated/api.js.map +1 -0
- package/dist/convex/components/backend/_generated/component.d.ts +3881 -0
- package/dist/convex/components/backend/_generated/component.d.ts.map +1 -0
- package/dist/convex/components/backend/_generated/component.js.map +1 -0
- package/dist/convex/components/backend/_generated/dataModel.d.ts.map +1 -0
- package/dist/convex/components/backend/_generated/dataModel.js.map +1 -0
- package/dist/convex/components/backend/_generated/server.d.ts +138 -0
- package/dist/convex/components/backend/_generated/server.d.ts.map +1 -0
- package/dist/convex/components/backend/_generated/server.js +80 -0
- package/dist/convex/components/backend/_generated/server.js.map +1 -0
- package/dist/convex/components/backend/access.d.ts +188 -0
- package/dist/convex/components/backend/access.d.ts.map +1 -0
- package/dist/convex/components/backend/access.js +428 -0
- package/dist/convex/components/backend/access.js.map +1 -0
- package/dist/convex/components/backend/account.d.ts +626 -0
- package/dist/convex/components/backend/account.d.ts.map +1 -0
- package/dist/convex/components/backend/account.js +1017 -0
- package/dist/convex/components/backend/account.js.map +1 -0
- package/dist/convex/components/backend/adapter.d.ts.map +1 -0
- package/dist/convex/components/backend/adapter.js +45 -0
- package/dist/convex/components/backend/adapter.js.map +1 -0
- package/dist/convex/components/backend/ai.d.ts +218 -0
- package/dist/convex/components/backend/ai.d.ts.map +1 -0
- package/dist/convex/components/backend/ai.js +348 -0
- package/dist/convex/components/backend/ai.js.map +1 -0
- package/dist/convex/components/backend/alerts.d.ts +87 -0
- package/dist/convex/components/backend/alerts.d.ts.map +1 -0
- package/dist/convex/components/backend/alerts.js +182 -0
- package/dist/convex/components/backend/alerts.js.map +1 -0
- package/dist/convex/components/backend/announcements.d.ts +155 -0
- package/dist/convex/components/backend/announcements.d.ts.map +1 -0
- package/dist/convex/components/backend/announcements.js +253 -0
- package/dist/convex/components/backend/announcements.js.map +1 -0
- package/dist/convex/components/backend/audit.d.ts +185 -0
- package/dist/convex/components/backend/audit.d.ts.map +1 -0
- package/dist/convex/components/backend/audit.js +315 -0
- package/dist/convex/components/backend/audit.js.map +1 -0
- package/dist/convex/components/backend/billing.d.ts +345 -0
- package/dist/convex/components/backend/billing.d.ts.map +1 -0
- package/dist/convex/components/backend/billing.js +720 -0
- package/dist/convex/components/backend/billing.js.map +1 -0
- package/dist/convex/components/backend/consents.d.ts +121 -0
- package/dist/convex/components/backend/consents.d.ts.map +1 -0
- package/dist/convex/components/backend/consents.js +149 -0
- package/dist/convex/components/backend/consents.js.map +1 -0
- package/dist/convex/components/backend/convex.config.d.ts +60 -0
- package/dist/convex/components/backend/convex.config.d.ts.map +1 -0
- package/dist/convex/components/backend/convex.config.js +73 -0
- package/dist/convex/components/backend/convex.config.js.map +1 -0
- package/dist/convex/components/backend/costs.d.ts +130 -0
- package/dist/convex/components/backend/costs.d.ts.map +1 -0
- package/dist/convex/components/backend/costs.js +260 -0
- package/dist/convex/components/backend/costs.js.map +1 -0
- package/dist/convex/components/backend/crons.d.ts +3 -0
- package/dist/convex/components/backend/crons.d.ts.map +1 -0
- package/dist/convex/components/backend/crons.js +22 -0
- package/dist/convex/components/backend/crons.js.map +1 -0
- package/dist/convex/components/backend/devices.d.ts +67 -0
- package/dist/convex/components/backend/devices.d.ts.map +1 -0
- package/dist/convex/components/backend/devices.js +184 -0
- package/dist/convex/components/backend/devices.js.map +1 -0
- package/dist/convex/components/backend/email.d.ts +304 -0
- package/dist/convex/components/backend/email.d.ts.map +1 -0
- package/dist/convex/components/backend/email.js +628 -0
- package/dist/convex/components/backend/email.js.map +1 -0
- package/dist/convex/components/backend/erasures.d.ts +41 -0
- package/dist/convex/components/backend/erasures.d.ts.map +1 -0
- package/dist/convex/components/backend/erasures.js +70 -0
- package/dist/convex/components/backend/erasures.js.map +1 -0
- package/dist/convex/components/backend/flags.d.ts +56 -0
- package/dist/convex/components/backend/flags.d.ts.map +1 -0
- package/dist/convex/components/backend/flags.js +81 -0
- package/dist/convex/components/backend/flags.js.map +1 -0
- package/dist/convex/components/backend/funnel.d.ts +452 -0
- package/dist/convex/components/backend/funnel.d.ts.map +1 -0
- package/dist/convex/components/backend/funnel.js +525 -0
- package/dist/convex/components/backend/funnel.js.map +1 -0
- package/dist/convex/components/backend/gifts.d.ts +438 -0
- package/dist/convex/components/backend/gifts.d.ts.map +1 -0
- package/dist/convex/components/backend/gifts.js +716 -0
- package/dist/convex/components/backend/gifts.js.map +1 -0
- package/dist/convex/components/backend/inbound.d.ts +121 -0
- package/dist/convex/components/backend/inbound.d.ts.map +1 -0
- package/dist/convex/components/backend/inbound.js +367 -0
- package/dist/convex/components/backend/inbound.js.map +1 -0
- package/dist/convex/components/backend/jobs.d.ts +785 -0
- package/dist/convex/components/backend/jobs.d.ts.map +1 -0
- package/dist/convex/components/backend/jobs.js +912 -0
- package/dist/convex/components/backend/jobs.js.map +1 -0
- package/dist/convex/components/backend/keys.d.ts +9 -0
- package/dist/convex/components/backend/keys.d.ts.map +1 -0
- package/dist/convex/components/backend/keys.js +49 -0
- package/dist/convex/components/backend/keys.js.map +1 -0
- package/dist/convex/components/backend/lifecycle.d.ts +123 -0
- package/dist/convex/components/backend/lifecycle.d.ts.map +1 -0
- package/dist/convex/components/backend/lifecycle.js +341 -0
- package/dist/convex/components/backend/lifecycle.js.map +1 -0
- package/dist/convex/components/backend/lifecycleActivity.d.ts +9 -0
- package/dist/convex/components/backend/lifecycleActivity.d.ts.map +1 -0
- package/dist/convex/components/backend/lifecycleActivity.js +31 -0
- package/dist/convex/components/backend/lifecycleActivity.js.map +1 -0
- package/dist/convex/components/backend/maintenance.d.ts +115 -0
- package/dist/convex/components/backend/maintenance.d.ts.map +1 -0
- package/dist/convex/components/backend/maintenance.js +428 -0
- package/dist/convex/components/backend/maintenance.js.map +1 -0
- package/dist/convex/components/backend/migrations.d.ts +47 -0
- package/dist/convex/components/backend/migrations.d.ts.map +1 -0
- package/dist/convex/components/backend/migrations.js +115 -0
- package/dist/convex/components/backend/migrations.js.map +1 -0
- package/dist/convex/components/backend/monitoring.d.ts +29 -0
- package/dist/convex/components/backend/monitoring.d.ts.map +1 -0
- package/dist/convex/components/backend/monitoring.js +56 -0
- package/dist/convex/components/backend/monitoring.js.map +1 -0
- package/dist/convex/components/backend/notifications.d.ts +270 -0
- package/dist/convex/components/backend/notifications.d.ts.map +1 -0
- package/dist/convex/components/backend/notifications.js +460 -0
- package/dist/convex/components/backend/notifications.js.map +1 -0
- package/dist/convex/components/backend/onboarding.d.ts +16 -0
- package/dist/convex/components/backend/onboarding.d.ts.map +1 -0
- package/dist/convex/components/backend/onboarding.js +51 -0
- package/dist/convex/components/backend/onboarding.js.map +1 -0
- package/dist/convex/components/backend/parties.d.ts +39 -0
- package/dist/convex/components/backend/parties.d.ts.map +1 -0
- package/dist/convex/components/backend/parties.js +66 -0
- package/dist/convex/components/backend/parties.js.map +1 -0
- package/dist/convex/components/backend/posture.d.ts +3 -0
- package/dist/convex/components/backend/posture.d.ts.map +1 -0
- package/dist/convex/components/backend/posture.js +33 -0
- package/dist/convex/components/backend/posture.js.map +1 -0
- package/dist/convex/components/backend/preferences.d.ts +343 -0
- package/dist/convex/components/backend/preferences.d.ts.map +1 -0
- package/dist/convex/components/backend/preferences.js +684 -0
- package/dist/convex/components/backend/preferences.js.map +1 -0
- package/dist/convex/components/backend/push.d.ts +56 -0
- package/dist/convex/components/backend/push.d.ts.map +1 -0
- package/dist/convex/components/backend/push.js +91 -0
- package/dist/convex/components/backend/push.js.map +1 -0
- package/dist/convex/components/backend/referrals.d.ts +277 -0
- package/dist/convex/components/backend/referrals.d.ts.map +1 -0
- package/dist/convex/components/backend/referrals.js +708 -0
- package/dist/convex/components/backend/referrals.js.map +1 -0
- package/dist/convex/components/backend/reports.d.ts +218 -0
- package/dist/convex/components/backend/reports.d.ts.map +1 -0
- package/dist/convex/components/backend/reports.js +598 -0
- package/dist/convex/components/backend/reports.js.map +1 -0
- package/dist/convex/components/backend/schema.d.ts +7078 -0
- package/dist/convex/components/backend/schema.d.ts.map +1 -0
- package/dist/convex/components/backend/schema.js +2091 -0
- package/dist/convex/components/backend/schema.js.map +1 -0
- package/dist/convex/components/backend/storage.d.ts +236 -0
- package/dist/convex/components/backend/storage.d.ts.map +1 -0
- package/dist/convex/components/backend/storage.js +679 -0
- package/dist/convex/components/backend/storage.js.map +1 -0
- package/dist/convex/components/backend/subscriptions.d.ts +185 -0
- package/dist/convex/components/backend/subscriptions.d.ts.map +1 -0
- package/dist/convex/components/backend/subscriptions.js +230 -0
- package/dist/convex/components/backend/subscriptions.js.map +1 -0
- package/dist/convex/components/backend/suppressions.d.ts +68 -0
- package/dist/convex/components/backend/suppressions.d.ts.map +1 -0
- package/dist/convex/components/backend/suppressions.js +107 -0
- package/dist/convex/components/backend/suppressions.js.map +1 -0
- package/dist/convex/components/backend/waitlist.d.ts +202 -0
- package/dist/convex/components/backend/waitlist.d.ts.map +1 -0
- package/dist/convex/components/backend/waitlist.js +693 -0
- package/dist/convex/components/backend/waitlist.js.map +1 -0
- package/dist/convex/components/backend/wake.d.ts +2 -0
- package/dist/convex/components/backend/wake.d.ts.map +1 -0
- package/dist/convex/components/backend/wake.js +14 -0
- package/dist/convex/components/backend/wake.js.map +1 -0
- package/dist/convex/components/backend/webhooks.d.ts +63 -0
- package/dist/convex/components/backend/webhooks.d.ts.map +1 -0
- package/dist/convex/components/backend/webhooks.js +265 -0
- package/dist/convex/components/backend/webhooks.js.map +1 -0
- package/dist/convex/consent-rules.d.ts +70 -0
- package/dist/convex/consent-rules.d.ts.map +1 -0
- package/dist/convex/consent-rules.js +108 -0
- package/dist/convex/consent-rules.js.map +1 -0
- package/dist/convex/constants.d.ts +176 -0
- package/dist/convex/constants.d.ts.map +1 -0
- package/dist/convex/constants.js +184 -0
- package/dist/convex/constants.js.map +1 -0
- package/dist/convex/delivery.d.ts +39 -0
- package/dist/convex/delivery.d.ts.map +1 -0
- package/dist/convex/delivery.js +71 -0
- package/dist/convex/delivery.js.map +1 -0
- package/dist/convex/email-blocks.d.ts +35 -0
- package/dist/convex/email-blocks.d.ts.map +1 -0
- package/dist/convex/email-blocks.js +79 -0
- package/dist/convex/email-blocks.js.map +1 -0
- package/dist/convex/email-helpers.d.ts +44 -0
- package/dist/convex/email-helpers.d.ts.map +1 -0
- package/dist/convex/email-helpers.js +87 -0
- package/dist/convex/email-helpers.js.map +1 -0
- package/dist/convex/email-html.d.ts +14 -0
- package/dist/convex/email-html.d.ts.map +1 -0
- package/dist/convex/email-html.js +18 -0
- package/dist/convex/email-html.js.map +1 -0
- package/dist/convex/email-posture.d.ts +78 -0
- package/dist/convex/email-posture.d.ts.map +1 -0
- package/dist/convex/email-posture.js +151 -0
- package/dist/convex/email-posture.js.map +1 -0
- package/dist/convex/email-preferences.d.ts +163 -0
- package/dist/convex/email-preferences.d.ts.map +1 -0
- package/dist/convex/email-preferences.js +230 -0
- package/dist/convex/email-preferences.js.map +1 -0
- package/dist/convex/email-scheme.d.ts +12 -0
- package/dist/convex/email-scheme.d.ts.map +1 -0
- package/dist/convex/email-scheme.js +17 -0
- package/dist/convex/email-scheme.js.map +1 -0
- package/dist/convex/email-templates.d.ts +533 -0
- package/dist/convex/email-templates.d.ts.map +1 -0
- package/dist/convex/email-templates.js +480 -0
- package/dist/convex/email-templates.js.map +1 -0
- package/dist/convex/email-theme.d.ts +63 -0
- package/dist/convex/email-theme.d.ts.map +1 -0
- package/dist/convex/email-theme.js +130 -0
- package/dist/convex/email-theme.js.map +1 -0
- package/dist/convex/email-validators.d.ts +37 -0
- package/dist/convex/email-validators.d.ts.map +1 -0
- package/dist/convex/email-validators.js +26 -0
- package/dist/convex/email-validators.js.map +1 -0
- package/dist/convex/emails/appeal-decided.d.ts +4 -0
- package/dist/convex/emails/appeal-decided.d.ts.map +1 -0
- package/dist/convex/emails/appeal-decided.js +15 -0
- package/dist/convex/emails/appeal-decided.js.map +1 -0
- package/dist/convex/emails/content-restricted.d.ts +9 -0
- package/dist/convex/emails/content-restricted.d.ts.map +1 -0
- package/dist/convex/emails/content-restricted.js +28 -0
- package/dist/convex/emails/content-restricted.js.map +1 -0
- package/dist/convex/emails/deletion-canceled.d.ts +4 -0
- package/dist/convex/emails/deletion-canceled.d.ts.map +1 -0
- package/dist/convex/emails/deletion-canceled.js +7 -0
- package/dist/convex/emails/deletion-canceled.js.map +1 -0
- package/dist/convex/emails/deletion-scheduled.d.ts +4 -0
- package/dist/convex/emails/deletion-scheduled.d.ts.map +1 -0
- package/dist/convex/emails/deletion-scheduled.js +17 -0
- package/dist/convex/emails/deletion-scheduled.js.map +1 -0
- package/dist/convex/emails/email-changed.d.ts +4 -0
- package/dist/convex/emails/email-changed.d.ts.map +1 -0
- package/dist/convex/emails/email-changed.js +12 -0
- package/dist/convex/emails/email-changed.js.map +1 -0
- package/dist/convex/emails/gift-pass-ending.d.ts +4 -0
- package/dist/convex/emails/gift-pass-ending.d.ts.map +1 -0
- package/dist/convex/emails/gift-pass-ending.js +17 -0
- package/dist/convex/emails/gift-pass-ending.js.map +1 -0
- package/dist/convex/emails/gift.d.ts +4 -0
- package/dist/convex/emails/gift.d.ts.map +1 -0
- package/dist/convex/emails/gift.js +17 -0
- package/dist/convex/emails/gift.js.map +1 -0
- package/dist/convex/emails/invite.d.ts +9 -0
- package/dist/convex/emails/invite.d.ts.map +1 -0
- package/dist/convex/emails/invite.js +26 -0
- package/dist/convex/emails/invite.js.map +1 -0
- package/dist/convex/emails/new-device.d.ts +8 -0
- package/dist/convex/emails/new-device.d.ts.map +1 -0
- package/dist/convex/emails/new-device.js +20 -0
- package/dist/convex/emails/new-device.js.map +1 -0
- package/dist/convex/emails/notice-decided.d.ts +4 -0
- package/dist/convex/emails/notice-decided.d.ts.map +1 -0
- package/dist/convex/emails/notice-decided.js +15 -0
- package/dist/convex/emails/notice-decided.js.map +1 -0
- package/dist/convex/emails/notice-received.d.ts +4 -0
- package/dist/convex/emails/notice-received.d.ts.map +1 -0
- package/dist/convex/emails/notice-received.js +14 -0
- package/dist/convex/emails/notice-received.js.map +1 -0
- package/dist/convex/emails/otp.d.ts +10 -0
- package/dist/convex/emails/otp.d.ts.map +1 -0
- package/dist/convex/emails/otp.js +47 -0
- package/dist/convex/emails/otp.js.map +1 -0
- package/dist/convex/emails/passkey-recovered.d.ts +8 -0
- package/dist/convex/emails/passkey-recovered.d.ts.map +1 -0
- package/dist/convex/emails/passkey-recovered.js +20 -0
- package/dist/convex/emails/passkey-recovered.js.map +1 -0
- package/dist/convex/emails/renewal-reminder.d.ts +4 -0
- package/dist/convex/emails/renewal-reminder.d.ts.map +1 -0
- package/dist/convex/emails/renewal-reminder.js +19 -0
- package/dist/convex/emails/renewal-reminder.js.map +1 -0
- package/dist/convex/emails/topic-confirmation.d.ts +4 -0
- package/dist/convex/emails/topic-confirmation.d.ts.map +1 -0
- package/dist/convex/emails/topic-confirmation.js +16 -0
- package/dist/convex/emails/topic-confirmation.js.map +1 -0
- package/dist/convex/emails/waitlist-admitted.d.ts +4 -0
- package/dist/convex/emails/waitlist-admitted.d.ts.map +1 -0
- package/dist/convex/emails/waitlist-admitted.js +15 -0
- package/dist/convex/emails/waitlist-admitted.js.map +1 -0
- package/dist/convex/emails/waitlist-confirmation.d.ts +4 -0
- package/dist/convex/emails/waitlist-confirmation.d.ts.map +1 -0
- package/dist/convex/emails/waitlist-confirmation.js +18 -0
- package/dist/convex/emails/waitlist-confirmation.js.map +1 -0
- package/dist/convex/emails/welcome.d.ts +4 -0
- package/dist/convex/emails/welcome.d.ts.map +1 -0
- package/dist/convex/emails/welcome.js +14 -0
- package/dist/convex/emails/welcome.js.map +1 -0
- package/dist/convex/emails/withdrawal-receipt.d.ts +4 -0
- package/dist/convex/emails/withdrawal-receipt.d.ts.map +1 -0
- package/dist/convex/emails/withdrawal-receipt.js +15 -0
- package/dist/convex/emails/withdrawal-receipt.js.map +1 -0
- package/dist/convex/environment.d.ts +43 -0
- package/dist/convex/environment.d.ts.map +1 -0
- package/dist/convex/environment.js +64 -0
- package/dist/convex/environment.js.map +1 -0
- package/dist/convex/errors.d.ts +297 -0
- package/dist/convex/errors.d.ts.map +1 -0
- package/dist/convex/errors.js +382 -0
- package/dist/convex/errors.js.map +1 -0
- package/dist/convex/events.d.ts +875 -0
- package/dist/convex/events.d.ts.map +1 -0
- package/dist/convex/events.js +717 -0
- package/dist/convex/events.js.map +1 -0
- package/dist/convex/files.d.ts +57 -0
- package/dist/convex/files.d.ts.map +1 -0
- package/dist/convex/files.js +415 -0
- package/dist/convex/files.js.map +1 -0
- package/dist/convex/flags.d.ts +171 -0
- package/dist/convex/flags.d.ts.map +1 -0
- package/dist/convex/flags.js +270 -0
- package/dist/convex/flags.js.map +1 -0
- package/dist/convex/funnel-rules.d.ts +151 -0
- package/dist/convex/funnel-rules.d.ts.map +1 -0
- package/dist/convex/funnel-rules.js +163 -0
- package/dist/convex/funnel-rules.js.map +1 -0
- package/dist/convex/inbound-rules.d.ts +128 -0
- package/dist/convex/inbound-rules.d.ts.map +1 -0
- package/dist/convex/inbound-rules.js +175 -0
- package/dist/convex/inbound-rules.js.map +1 -0
- package/dist/convex/integrations/access.d.ts +163 -0
- package/dist/convex/integrations/access.d.ts.map +1 -0
- package/dist/convex/integrations/access.js +199 -0
- package/dist/convex/integrations/access.js.map +1 -0
- package/dist/convex/integrations/account.d.ts +458 -0
- package/dist/convex/integrations/account.d.ts.map +1 -0
- package/dist/convex/integrations/account.js +587 -0
- package/dist/convex/integrations/account.js.map +1 -0
- package/dist/convex/integrations/admin.d.ts +273 -0
- package/dist/convex/integrations/admin.d.ts.map +1 -0
- package/dist/convex/integrations/admin.js +198 -0
- package/dist/convex/integrations/admin.js.map +1 -0
- package/dist/convex/integrations/ai/account-export.d.ts +11 -0
- package/dist/convex/integrations/ai/account-export.d.ts.map +1 -0
- package/dist/convex/integrations/ai/account-export.js +44 -0
- package/dist/convex/integrations/ai/account-export.js.map +1 -0
- package/dist/convex/integrations/ai/chat.d.ts +104 -0
- package/dist/convex/integrations/ai/chat.d.ts.map +1 -0
- package/dist/convex/integrations/ai/chat.js +385 -0
- package/dist/convex/integrations/ai/chat.js.map +1 -0
- package/dist/convex/integrations/ai/config.d.ts +746 -0
- package/dist/convex/integrations/ai/config.d.ts.map +1 -0
- package/dist/convex/integrations/ai/config.js +2 -0
- package/dist/convex/integrations/ai/config.js.map +1 -0
- package/dist/convex/integrations/ai/context.d.ts +40 -0
- package/dist/convex/integrations/ai/context.d.ts.map +1 -0
- package/dist/convex/integrations/ai/context.js +53 -0
- package/dist/convex/integrations/ai/context.js.map +1 -0
- package/dist/convex/integrations/ai/costs.d.ts +40 -0
- package/dist/convex/integrations/ai/costs.d.ts.map +1 -0
- package/dist/convex/integrations/ai/costs.js +72 -0
- package/dist/convex/integrations/ai/costs.js.map +1 -0
- package/dist/convex/integrations/ai/embeddings.d.ts +23 -0
- package/dist/convex/integrations/ai/embeddings.d.ts.map +1 -0
- package/dist/convex/integrations/ai/embeddings.js +75 -0
- package/dist/convex/integrations/ai/embeddings.js.map +1 -0
- package/dist/convex/integrations/ai/job-errors.d.ts +57 -0
- package/dist/convex/integrations/ai/job-errors.d.ts.map +1 -0
- package/dist/convex/integrations/ai/job-errors.js +122 -0
- package/dist/convex/integrations/ai/job-errors.js.map +1 -0
- package/dist/convex/integrations/ai/jobs.d.ts +286 -0
- package/dist/convex/integrations/ai/jobs.d.ts.map +1 -0
- package/dist/convex/integrations/ai/jobs.js +973 -0
- package/dist/convex/integrations/ai/jobs.js.map +1 -0
- package/dist/convex/integrations/ai/knowledge.d.ts +120 -0
- package/dist/convex/integrations/ai/knowledge.d.ts.map +1 -0
- package/dist/convex/integrations/ai/knowledge.js +336 -0
- package/dist/convex/integrations/ai/knowledge.js.map +1 -0
- package/dist/convex/integrations/ai/metering.d.ts +59 -0
- package/dist/convex/integrations/ai/metering.d.ts.map +1 -0
- package/dist/convex/integrations/ai/metering.js +370 -0
- package/dist/convex/integrations/ai/metering.js.map +1 -0
- package/dist/convex/integrations/ai/model-id.d.ts +8 -0
- package/dist/convex/integrations/ai/model-id.d.ts.map +1 -0
- package/dist/convex/integrations/ai/model-id.js +15 -0
- package/dist/convex/integrations/ai/model-id.js.map +1 -0
- package/dist/convex/integrations/ai/models.d.ts +162 -0
- package/dist/convex/integrations/ai/models.d.ts.map +1 -0
- package/dist/convex/integrations/ai/models.js +385 -0
- package/dist/convex/integrations/ai/models.js.map +1 -0
- package/dist/convex/integrations/ai/moderation.d.ts +59 -0
- package/dist/convex/integrations/ai/moderation.d.ts.map +1 -0
- package/dist/convex/integrations/ai/moderation.js +199 -0
- package/dist/convex/integrations/ai/moderation.js.map +1 -0
- package/dist/convex/integrations/ai/pricing.d.ts +88 -0
- package/dist/convex/integrations/ai/pricing.d.ts.map +1 -0
- package/dist/convex/integrations/ai/pricing.js +135 -0
- package/dist/convex/integrations/ai/pricing.js.map +1 -0
- package/dist/convex/integrations/ai/provenance.d.ts +87 -0
- package/dist/convex/integrations/ai/provenance.d.ts.map +1 -0
- package/dist/convex/integrations/ai/provenance.js +137 -0
- package/dist/convex/integrations/ai/provenance.js.map +1 -0
- package/dist/convex/integrations/ai/setup.d.ts +20 -0
- package/dist/convex/integrations/ai/setup.d.ts.map +1 -0
- package/dist/convex/integrations/ai/setup.js +53 -0
- package/dist/convex/integrations/ai/setup.js.map +1 -0
- package/dist/convex/integrations/ai/stream.d.ts +10 -0
- package/dist/convex/integrations/ai/stream.d.ts.map +1 -0
- package/dist/convex/integrations/ai/stream.js +151 -0
- package/dist/convex/integrations/ai/stream.js.map +1 -0
- package/dist/convex/integrations/ai.d.ts +37 -0
- package/dist/convex/integrations/ai.d.ts.map +1 -0
- package/dist/convex/integrations/ai.js +4 -0
- package/dist/convex/integrations/ai.js.map +1 -0
- package/dist/convex/integrations/announcements.d.ts +239 -0
- package/dist/convex/integrations/announcements.d.ts.map +1 -0
- package/dist/convex/integrations/announcements.js +313 -0
- package/dist/convex/integrations/announcements.js.map +1 -0
- package/dist/convex/integrations/audit.d.ts +272 -0
- package/dist/convex/integrations/audit.d.ts.map +1 -0
- package/dist/convex/integrations/audit.js +268 -0
- package/dist/convex/integrations/audit.js.map +1 -0
- package/dist/convex/integrations/authorization.d.ts +147 -0
- package/dist/convex/integrations/authorization.d.ts.map +1 -0
- package/dist/convex/integrations/authorization.js +210 -0
- package/dist/convex/integrations/authorization.js.map +1 -0
- package/dist/convex/integrations/billing/activity.d.ts +24 -0
- package/dist/convex/integrations/billing/activity.d.ts.map +1 -0
- package/dist/convex/integrations/billing/activity.js +40 -0
- package/dist/convex/integrations/billing/activity.js.map +1 -0
- package/dist/convex/integrations/billing/checkout.d.ts +78 -0
- package/dist/convex/integrations/billing/checkout.d.ts.map +1 -0
- package/dist/convex/integrations/billing/checkout.js +484 -0
- package/dist/convex/integrations/billing/checkout.js.map +1 -0
- package/dist/convex/integrations/billing/claim-discount.d.ts +17 -0
- package/dist/convex/integrations/billing/claim-discount.d.ts.map +1 -0
- package/dist/convex/integrations/billing/claim-discount.js +40 -0
- package/dist/convex/integrations/billing/claim-discount.js.map +1 -0
- package/dist/convex/integrations/billing/context.d.ts +156 -0
- package/dist/convex/integrations/billing/context.d.ts.map +1 -0
- package/dist/convex/integrations/billing/context.js +397 -0
- package/dist/convex/integrations/billing/context.js.map +1 -0
- package/dist/convex/integrations/billing/credits.d.ts +40 -0
- package/dist/convex/integrations/billing/credits.d.ts.map +1 -0
- package/dist/convex/integrations/billing/credits.js +215 -0
- package/dist/convex/integrations/billing/credits.js.map +1 -0
- package/dist/convex/integrations/billing/customers.d.ts +60 -0
- package/dist/convex/integrations/billing/customers.d.ts.map +1 -0
- package/dist/convex/integrations/billing/customers.js +322 -0
- package/dist/convex/integrations/billing/customers.js.map +1 -0
- package/dist/convex/integrations/billing/discounts.d.ts +26 -0
- package/dist/convex/integrations/billing/discounts.d.ts.map +1 -0
- package/dist/convex/integrations/billing/discounts.js +71 -0
- package/dist/convex/integrations/billing/discounts.js.map +1 -0
- package/dist/convex/integrations/billing/entitlements.d.ts +16 -0
- package/dist/convex/integrations/billing/entitlements.d.ts.map +1 -0
- package/dist/convex/integrations/billing/entitlements.js +180 -0
- package/dist/convex/integrations/billing/entitlements.js.map +1 -0
- package/dist/convex/integrations/billing/erasure.d.ts +10 -0
- package/dist/convex/integrations/billing/erasure.d.ts.map +1 -0
- package/dist/convex/integrations/billing/erasure.js +90 -0
- package/dist/convex/integrations/billing/erasure.js.map +1 -0
- package/dist/convex/integrations/billing/events.d.ts +80 -0
- package/dist/convex/integrations/billing/events.d.ts.map +1 -0
- package/dist/convex/integrations/billing/events.js +209 -0
- package/dist/convex/integrations/billing/events.js.map +1 -0
- package/dist/convex/integrations/billing/features.d.ts +32 -0
- package/dist/convex/integrations/billing/features.d.ts.map +1 -0
- package/dist/convex/integrations/billing/features.js +79 -0
- package/dist/convex/integrations/billing/features.js.map +1 -0
- package/dist/convex/integrations/billing/free-plan.d.ts +53 -0
- package/dist/convex/integrations/billing/free-plan.d.ts.map +1 -0
- package/dist/convex/integrations/billing/free-plan.js +233 -0
- package/dist/convex/integrations/billing/free-plan.js.map +1 -0
- package/dist/convex/integrations/billing/functions.d.ts +353 -0
- package/dist/convex/integrations/billing/functions.d.ts.map +1 -0
- package/dist/convex/integrations/billing/functions.js +445 -0
- package/dist/convex/integrations/billing/functions.js.map +1 -0
- package/dist/convex/integrations/billing/gift-access.d.ts +39 -0
- package/dist/convex/integrations/billing/gift-access.d.ts.map +1 -0
- package/dist/convex/integrations/billing/gift-access.js +39 -0
- package/dist/convex/integrations/billing/gift-access.js.map +1 -0
- package/dist/convex/integrations/billing/gift-manage.d.ts +66 -0
- package/dist/convex/integrations/billing/gift-manage.d.ts.map +1 -0
- package/dist/convex/integrations/billing/gift-manage.js +261 -0
- package/dist/convex/integrations/billing/gift-manage.js.map +1 -0
- package/dist/convex/integrations/billing/gift-rules.d.ts +19 -0
- package/dist/convex/integrations/billing/gift-rules.d.ts.map +1 -0
- package/dist/convex/integrations/billing/gift-rules.js +49 -0
- package/dist/convex/integrations/billing/gift-rules.js.map +1 -0
- package/dist/convex/integrations/billing/gifts.d.ts +123 -0
- package/dist/convex/integrations/billing/gifts.d.ts.map +1 -0
- package/dist/convex/integrations/billing/gifts.js +712 -0
- package/dist/convex/integrations/billing/gifts.js.map +1 -0
- package/dist/convex/integrations/billing/history.d.ts +22 -0
- package/dist/convex/integrations/billing/history.d.ts.map +1 -0
- package/dist/convex/integrations/billing/history.js +214 -0
- package/dist/convex/integrations/billing/history.js.map +1 -0
- package/dist/convex/integrations/billing/lifecycle.d.ts +105 -0
- package/dist/convex/integrations/billing/lifecycle.d.ts.map +1 -0
- package/dist/convex/integrations/billing/lifecycle.js +526 -0
- package/dist/convex/integrations/billing/lifecycle.js.map +1 -0
- package/dist/convex/integrations/billing/passes.d.ts +68 -0
- package/dist/convex/integrations/billing/passes.d.ts.map +1 -0
- package/dist/convex/integrations/billing/passes.js +407 -0
- package/dist/convex/integrations/billing/passes.js.map +1 -0
- package/dist/convex/integrations/billing/pricing.d.ts +54 -0
- package/dist/convex/integrations/billing/pricing.d.ts.map +1 -0
- package/dist/convex/integrations/billing/pricing.js +322 -0
- package/dist/convex/integrations/billing/pricing.js.map +1 -0
- package/dist/convex/integrations/billing/provider-client.d.ts +11 -0
- package/dist/convex/integrations/billing/provider-client.d.ts.map +1 -0
- package/dist/convex/integrations/billing/provider-client.js +9 -0
- package/dist/convex/integrations/billing/provider-client.js.map +1 -0
- package/dist/convex/integrations/billing/provider-events.d.ts +26 -0
- package/dist/convex/integrations/billing/provider-events.d.ts.map +1 -0
- package/dist/convex/integrations/billing/provider-events.js +194 -0
- package/dist/convex/integrations/billing/provider-events.js.map +1 -0
- package/dist/convex/integrations/billing/purchase.d.ts +63 -0
- package/dist/convex/integrations/billing/purchase.d.ts.map +1 -0
- package/dist/convex/integrations/billing/purchase.js +287 -0
- package/dist/convex/integrations/billing/purchase.js.map +1 -0
- package/dist/convex/integrations/billing/quotas.d.ts +47 -0
- package/dist/convex/integrations/billing/quotas.d.ts.map +1 -0
- package/dist/convex/integrations/billing/quotas.js +162 -0
- package/dist/convex/integrations/billing/quotas.js.map +1 -0
- package/dist/convex/integrations/billing/referral-orders.d.ts +26 -0
- package/dist/convex/integrations/billing/referral-orders.d.ts.map +1 -0
- package/dist/convex/integrations/billing/referral-orders.js +33 -0
- package/dist/convex/integrations/billing/referral-orders.js.map +1 -0
- package/dist/convex/integrations/billing/revenue.d.ts +12 -0
- package/dist/convex/integrations/billing/revenue.d.ts.map +1 -0
- package/dist/convex/integrations/billing/revenue.js +175 -0
- package/dist/convex/integrations/billing/revenue.js.map +1 -0
- package/dist/convex/integrations/billing/rewards.d.ts +78 -0
- package/dist/convex/integrations/billing/rewards.d.ts.map +1 -0
- package/dist/convex/integrations/billing/rewards.js +113 -0
- package/dist/convex/integrations/billing/rewards.js.map +1 -0
- package/dist/convex/integrations/billing/subscriptions.d.ts +79 -0
- package/dist/convex/integrations/billing/subscriptions.d.ts.map +1 -0
- package/dist/convex/integrations/billing/subscriptions.js +331 -0
- package/dist/convex/integrations/billing/subscriptions.js.map +1 -0
- package/dist/convex/integrations/billing/types/base.d.ts +78 -0
- package/dist/convex/integrations/billing/types/base.d.ts.map +1 -0
- package/dist/convex/integrations/billing/types/base.js +2 -0
- package/dist/convex/integrations/billing/types/base.js.map +1 -0
- package/dist/convex/integrations/billing/types/lifecycle.d.ts +159 -0
- package/dist/convex/integrations/billing/types/lifecycle.d.ts.map +1 -0
- package/dist/convex/integrations/billing/types/lifecycle.js +2 -0
- package/dist/convex/integrations/billing/types/lifecycle.js.map +1 -0
- package/dist/convex/integrations/billing/types/options.d.ts +372 -0
- package/dist/convex/integrations/billing/types/options.d.ts.map +1 -0
- package/dist/convex/integrations/billing/types/options.js +2 -0
- package/dist/convex/integrations/billing/types/options.js.map +1 -0
- package/dist/convex/integrations/billing/types/records.d.ts +523 -0
- package/dist/convex/integrations/billing/types/records.d.ts.map +1 -0
- package/dist/convex/integrations/billing/types/records.js +3 -0
- package/dist/convex/integrations/billing/types/records.js.map +1 -0
- package/dist/convex/integrations/billing/types/revenue.d.ts +94 -0
- package/dist/convex/integrations/billing/types/revenue.d.ts.map +1 -0
- package/dist/convex/integrations/billing/types/revenue.js +34 -0
- package/dist/convex/integrations/billing/types/revenue.js.map +1 -0
- package/dist/convex/integrations/billing/types/setup.d.ts +891 -0
- package/dist/convex/integrations/billing/types/setup.d.ts.map +1 -0
- package/dist/convex/integrations/billing/types/setup.js +2 -0
- package/dist/convex/integrations/billing/types/setup.js.map +1 -0
- package/dist/convex/integrations/billing/types/surface.d.ts +665 -0
- package/dist/convex/integrations/billing/types/surface.d.ts.map +1 -0
- package/dist/convex/integrations/billing/types/surface.js +2 -0
- package/dist/convex/integrations/billing/types/surface.js.map +1 -0
- package/dist/convex/integrations/billing/webhooks.d.ts +16 -0
- package/dist/convex/integrations/billing/webhooks.d.ts.map +1 -0
- package/dist/convex/integrations/billing/webhooks.js +317 -0
- package/dist/convex/integrations/billing/webhooks.js.map +1 -0
- package/dist/convex/integrations/billing.d.ts +48 -0
- package/dist/convex/integrations/billing.d.ts.map +1 -0
- package/dist/convex/integrations/billing.js +193 -0
- package/dist/convex/integrations/billing.js.map +1 -0
- package/dist/convex/integrations/email-lifecycle.d.ts +57 -0
- package/dist/convex/integrations/email-lifecycle.d.ts.map +1 -0
- package/dist/convex/integrations/email-lifecycle.js +180 -0
- package/dist/convex/integrations/email-lifecycle.js.map +1 -0
- package/dist/convex/integrations/email-preferences.d.ts +227 -0
- package/dist/convex/integrations/email-preferences.d.ts.map +1 -0
- package/dist/convex/integrations/email-preferences.js +287 -0
- package/dist/convex/integrations/email-preferences.js.map +1 -0
- package/dist/convex/integrations/email-suppressions.d.ts +63 -0
- package/dist/convex/integrations/email-suppressions.d.ts.map +1 -0
- package/dist/convex/integrations/email-suppressions.js +120 -0
- package/dist/convex/integrations/email-suppressions.js.map +1 -0
- package/dist/convex/integrations/email-sync.d.ts +131 -0
- package/dist/convex/integrations/email-sync.d.ts.map +1 -0
- package/dist/convex/integrations/email-sync.js +464 -0
- package/dist/convex/integrations/email-sync.js.map +1 -0
- package/dist/convex/integrations/email.d.ts +756 -0
- package/dist/convex/integrations/email.d.ts.map +1 -0
- package/dist/convex/integrations/email.js +463 -0
- package/dist/convex/integrations/email.js.map +1 -0
- package/dist/convex/integrations/flags.d.ts +200 -0
- package/dist/convex/integrations/flags.d.ts.map +1 -0
- package/dist/convex/integrations/flags.js +295 -0
- package/dist/convex/integrations/flags.js.map +1 -0
- package/dist/convex/integrations/functions.d.ts +298 -0
- package/dist/convex/integrations/functions.d.ts.map +1 -0
- package/dist/convex/integrations/functions.js +380 -0
- package/dist/convex/integrations/functions.js.map +1 -0
- package/dist/convex/integrations/health.d.ts +2 -0
- package/dist/convex/integrations/health.d.ts.map +1 -0
- package/dist/convex/integrations/health.js +145 -0
- package/dist/convex/integrations/health.js.map +1 -0
- package/dist/convex/integrations/http.d.ts +102 -0
- package/dist/convex/integrations/http.d.ts.map +1 -0
- package/dist/convex/integrations/http.js +108 -0
- package/dist/convex/integrations/http.js.map +1 -0
- package/dist/convex/integrations/inbound.d.ts +194 -0
- package/dist/convex/integrations/inbound.d.ts.map +1 -0
- package/dist/convex/integrations/inbound.js +502 -0
- package/dist/convex/integrations/inbound.js.map +1 -0
- package/dist/convex/integrations/launch.d.ts +240 -0
- package/dist/convex/integrations/launch.d.ts.map +1 -0
- package/dist/convex/integrations/launch.js +360 -0
- package/dist/convex/integrations/launch.js.map +1 -0
- package/dist/convex/integrations/monitoring.d.ts +135 -0
- package/dist/convex/integrations/monitoring.d.ts.map +1 -0
- package/dist/convex/integrations/monitoring.js +226 -0
- package/dist/convex/integrations/monitoring.js.map +1 -0
- package/dist/convex/integrations/notifications.d.ts +225 -0
- package/dist/convex/integrations/notifications.d.ts.map +1 -0
- package/dist/convex/integrations/notifications.js +306 -0
- package/dist/convex/integrations/notifications.js.map +1 -0
- package/dist/convex/integrations/rate-limit.d.ts +429 -0
- package/dist/convex/integrations/rate-limit.d.ts.map +1 -0
- package/dist/convex/integrations/rate-limit.js +295 -0
- package/dist/convex/integrations/rate-limit.js.map +1 -0
- package/dist/convex/integrations/referrals.d.ts +340 -0
- package/dist/convex/integrations/referrals.d.ts.map +1 -0
- package/dist/convex/integrations/referrals.js +304 -0
- package/dist/convex/integrations/referrals.js.map +1 -0
- package/dist/convex/integrations/reports.d.ts +231 -0
- package/dist/convex/integrations/reports.d.ts.map +1 -0
- package/dist/convex/integrations/reports.js +480 -0
- package/dist/convex/integrations/reports.js.map +1 -0
- package/dist/convex/integrations/retention.d.ts +88 -0
- package/dist/convex/integrations/retention.d.ts.map +1 -0
- package/dist/convex/integrations/retention.js +117 -0
- package/dist/convex/integrations/retention.js.map +1 -0
- package/dist/convex/integrations/search.d.ts +91 -0
- package/dist/convex/integrations/search.d.ts.map +1 -0
- package/dist/convex/integrations/search.js +117 -0
- package/dist/convex/integrations/search.js.map +1 -0
- package/dist/convex/integrations/storage.d.ts +207 -0
- package/dist/convex/integrations/storage.d.ts.map +1 -0
- package/dist/convex/integrations/storage.js +373 -0
- package/dist/convex/integrations/storage.js.map +1 -0
- package/dist/convex/integrations/waitlist.d.ts +213 -0
- package/dist/convex/integrations/waitlist.d.ts.map +1 -0
- package/dist/convex/integrations/waitlist.js +260 -0
- package/dist/convex/integrations/waitlist.js.map +1 -0
- package/dist/convex/integrations/webhook-guard.d.ts +179 -0
- package/dist/convex/integrations/webhook-guard.d.ts.map +1 -0
- package/dist/convex/integrations/webhook-guard.js +183 -0
- package/dist/convex/integrations/webhook-guard.js.map +1 -0
- package/dist/convex/integrations/webhooks.d.ts +68 -0
- package/dist/convex/integrations/webhooks.d.ts.map +1 -0
- package/dist/convex/integrations/webhooks.js +109 -0
- package/dist/convex/integrations/webhooks.js.map +1 -0
- package/dist/convex/integrations/workflows.d.ts +130 -0
- package/dist/convex/integrations/workflows.d.ts.map +1 -0
- package/dist/convex/integrations/workflows.js +142 -0
- package/dist/convex/integrations/workflows.js.map +1 -0
- package/dist/convex/jobs-policy.d.ts +191 -0
- package/dist/convex/jobs-policy.d.ts.map +1 -0
- package/dist/convex/jobs-policy.js +291 -0
- package/dist/convex/jobs-policy.js.map +1 -0
- package/dist/convex/label-format.d.ts +29 -0
- package/dist/convex/label-format.d.ts.map +1 -0
- package/dist/convex/label-format.js +60 -0
- package/dist/convex/label-format.js.map +1 -0
- package/dist/convex/label-groups/access.d.ts +19 -0
- package/dist/convex/label-groups/access.d.ts.map +1 -0
- package/dist/convex/label-groups/access.js +21 -0
- package/dist/convex/label-groups/access.js.map +1 -0
- package/dist/convex/label-groups/account.d.ts +27 -0
- package/dist/convex/label-groups/account.d.ts.map +1 -0
- package/dist/convex/label-groups/account.js +27 -0
- package/dist/convex/label-groups/account.js.map +1 -0
- package/dist/convex/label-groups/activation.d.ts +19 -0
- package/dist/convex/label-groups/activation.d.ts.map +1 -0
- package/dist/convex/label-groups/activation.js +22 -0
- package/dist/convex/label-groups/activation.js.map +1 -0
- package/dist/convex/label-groups/admin.d.ts +823 -0
- package/dist/convex/label-groups/admin.d.ts.map +1 -0
- package/dist/convex/label-groups/admin.js +858 -0
- package/dist/convex/label-groups/admin.js.map +1 -0
- package/dist/convex/label-groups/ai.d.ts +14 -0
- package/dist/convex/label-groups/ai.d.ts.map +1 -0
- package/dist/convex/label-groups/ai.js +15 -0
- package/dist/convex/label-groups/ai.js.map +1 -0
- package/dist/convex/label-groups/announcement.d.ts +12 -0
- package/dist/convex/label-groups/announcement.d.ts.map +1 -0
- package/dist/convex/label-groups/announcement.js +14 -0
- package/dist/convex/label-groups/announcement.js.map +1 -0
- package/dist/convex/label-groups/audit.d.ts +169 -0
- package/dist/convex/label-groups/audit.d.ts.map +1 -0
- package/dist/convex/label-groups/audit.js +172 -0
- package/dist/convex/label-groups/audit.js.map +1 -0
- package/dist/convex/label-groups/auth.d.ts +61 -0
- package/dist/convex/label-groups/auth.d.ts.map +1 -0
- package/dist/convex/label-groups/auth.js +76 -0
- package/dist/convex/label-groups/auth.js.map +1 -0
- package/dist/convex/label-groups/cancelFlow.d.ts +47 -0
- package/dist/convex/label-groups/cancelFlow.d.ts.map +1 -0
- package/dist/convex/label-groups/cancelFlow.js +52 -0
- package/dist/convex/label-groups/cancelFlow.js.map +1 -0
- package/dist/convex/label-groups/connection.d.ts +11 -0
- package/dist/convex/label-groups/connection.d.ts.map +1 -0
- package/dist/convex/label-groups/connection.js +13 -0
- package/dist/convex/label-groups/connection.js.map +1 -0
- package/dist/convex/label-groups/consent.d.ts +36 -0
- package/dist/convex/label-groups/consent.d.ts.map +1 -0
- package/dist/convex/label-groups/consent.js +42 -0
- package/dist/convex/label-groups/consent.js.map +1 -0
- package/dist/convex/label-groups/contact.d.ts +21 -0
- package/dist/convex/label-groups/contact.d.ts.map +1 -0
- package/dist/convex/label-groups/contact.js +24 -0
- package/dist/convex/label-groups/contact.js.map +1 -0
- package/dist/convex/label-groups/credits.d.ts +24 -0
- package/dist/convex/label-groups/credits.d.ts.map +1 -0
- package/dist/convex/label-groups/credits.js +27 -0
- package/dist/convex/label-groups/credits.js.map +1 -0
- package/dist/convex/label-groups/deletion.d.ts +18 -0
- package/dist/convex/label-groups/deletion.d.ts.map +1 -0
- package/dist/convex/label-groups/deletion.js +19 -0
- package/dist/convex/label-groups/deletion.js.map +1 -0
- package/dist/convex/label-groups/email.d.ts +237 -0
- package/dist/convex/label-groups/email.d.ts.map +1 -0
- package/dist/convex/label-groups/email.js +207 -0
- package/dist/convex/label-groups/email.js.map +1 -0
- package/dist/convex/label-groups/errors.d.ts +100 -0
- package/dist/convex/label-groups/errors.d.ts.map +1 -0
- package/dist/convex/label-groups/errors.js +117 -0
- package/dist/convex/label-groups/errors.js.map +1 -0
- package/dist/convex/label-groups/feedback.d.ts +17 -0
- package/dist/convex/label-groups/feedback.d.ts.map +1 -0
- package/dist/convex/label-groups/feedback.js +17 -0
- package/dist/convex/label-groups/feedback.js.map +1 -0
- package/dist/convex/label-groups/gift.d.ts +54 -0
- package/dist/convex/label-groups/gift.d.ts.map +1 -0
- package/dist/convex/label-groups/gift.js +59 -0
- package/dist/convex/label-groups/gift.js.map +1 -0
- package/dist/convex/label-groups/history.d.ts +23 -0
- package/dist/convex/label-groups/history.d.ts.map +1 -0
- package/dist/convex/label-groups/history.js +25 -0
- package/dist/convex/label-groups/history.js.map +1 -0
- package/dist/convex/label-groups/impersonation.d.ts +13 -0
- package/dist/convex/label-groups/impersonation.d.ts.map +1 -0
- package/dist/convex/label-groups/impersonation.js +14 -0
- package/dist/convex/label-groups/impersonation.js.map +1 -0
- package/dist/convex/label-groups/invitation.d.ts +23 -0
- package/dist/convex/label-groups/invitation.d.ts.map +1 -0
- package/dist/convex/label-groups/invitation.js +25 -0
- package/dist/convex/label-groups/invitation.js.map +1 -0
- package/dist/convex/label-groups/legal.d.ts +139 -0
- package/dist/convex/label-groups/legal.d.ts.map +1 -0
- package/dist/convex/label-groups/legal.js +144 -0
- package/dist/convex/label-groups/legal.js.map +1 -0
- package/dist/convex/label-groups/maintenance.d.ts +11 -0
- package/dist/convex/label-groups/maintenance.d.ts.map +1 -0
- package/dist/convex/label-groups/maintenance.js +12 -0
- package/dist/convex/label-groups/maintenance.js.map +1 -0
- package/dist/convex/label-groups/notifications.d.ts +186 -0
- package/dist/convex/label-groups/notifications.d.ts.map +1 -0
- package/dist/convex/label-groups/notifications.js +89 -0
- package/dist/convex/label-groups/notifications.js.map +1 -0
- package/dist/convex/label-groups/onboarding.d.ts +57 -0
- package/dist/convex/label-groups/onboarding.d.ts.map +1 -0
- package/dist/convex/label-groups/onboarding.js +59 -0
- package/dist/convex/label-groups/onboarding.js.map +1 -0
- package/dist/convex/label-groups/pastDue.d.ts +9 -0
- package/dist/convex/label-groups/pastDue.d.ts.map +1 -0
- package/dist/convex/label-groups/pastDue.js +10 -0
- package/dist/convex/label-groups/pastDue.js.map +1 -0
- package/dist/convex/label-groups/preferences.d.ts +46 -0
- package/dist/convex/label-groups/preferences.d.ts.map +1 -0
- package/dist/convex/label-groups/preferences.js +46 -0
- package/dist/convex/label-groups/preferences.js.map +1 -0
- package/dist/convex/label-groups/pricing.d.ts +73 -0
- package/dist/convex/label-groups/pricing.d.ts.map +1 -0
- package/dist/convex/label-groups/pricing.js +95 -0
- package/dist/convex/label-groups/pricing.js.map +1 -0
- package/dist/convex/label-groups/profile.d.ts +34 -0
- package/dist/convex/label-groups/profile.d.ts.map +1 -0
- package/dist/convex/label-groups/profile.js +39 -0
- package/dist/convex/label-groups/profile.js.map +1 -0
- package/dist/convex/label-groups/quota.d.ts +19 -0
- package/dist/convex/label-groups/quota.d.ts.map +1 -0
- package/dist/convex/label-groups/quota.js +25 -0
- package/dist/convex/label-groups/quota.js.map +1 -0
- package/dist/convex/label-groups/reauthenticate.d.ts +21 -0
- package/dist/convex/label-groups/reauthenticate.d.ts.map +1 -0
- package/dist/convex/label-groups/reauthenticate.js +22 -0
- package/dist/convex/label-groups/reauthenticate.js.map +1 -0
- package/dist/convex/label-groups/referral.d.ts +50 -0
- package/dist/convex/label-groups/referral.d.ts.map +1 -0
- package/dist/convex/label-groups/referral.js +53 -0
- package/dist/convex/label-groups/referral.js.map +1 -0
- package/dist/convex/label-groups/report.d.ts +56 -0
- package/dist/convex/label-groups/report.d.ts.map +1 -0
- package/dist/convex/label-groups/report.js +56 -0
- package/dist/convex/label-groups/report.js.map +1 -0
- package/dist/convex/label-groups/security.d.ts +54 -0
- package/dist/convex/label-groups/security.d.ts.map +1 -0
- package/dist/convex/label-groups/security.js +63 -0
- package/dist/convex/label-groups/security.js.map +1 -0
- package/dist/convex/label-groups/settings.d.ts +79 -0
- package/dist/convex/label-groups/settings.d.ts.map +1 -0
- package/dist/convex/label-groups/settings.js +90 -0
- package/dist/convex/label-groups/settings.js.map +1 -0
- package/dist/convex/label-groups/shell.d.ts +48 -0
- package/dist/convex/label-groups/shell.d.ts.map +1 -0
- package/dist/convex/label-groups/shell.js +54 -0
- package/dist/convex/label-groups/shell.js.map +1 -0
- package/dist/convex/label-groups/source.d.ts +28 -0
- package/dist/convex/label-groups/source.d.ts.map +1 -0
- package/dist/convex/label-groups/source.js +32 -0
- package/dist/convex/label-groups/source.js.map +1 -0
- package/dist/convex/label-groups/upgrade.d.ts +16 -0
- package/dist/convex/label-groups/upgrade.d.ts.map +1 -0
- package/dist/convex/label-groups/upgrade.js +20 -0
- package/dist/convex/label-groups/upgrade.js.map +1 -0
- package/dist/convex/label-groups/upload.d.ts +18 -0
- package/dist/convex/label-groups/upload.d.ts.map +1 -0
- package/dist/convex/label-groups/upload.js +19 -0
- package/dist/convex/label-groups/upload.js.map +1 -0
- package/dist/convex/label-groups/usage.d.ts +12 -0
- package/dist/convex/label-groups/usage.d.ts.map +1 -0
- package/dist/convex/label-groups/usage.js +12 -0
- package/dist/convex/label-groups/usage.js.map +1 -0
- package/dist/convex/label-groups/waitlist.d.ts +44 -0
- package/dist/convex/label-groups/waitlist.d.ts.map +1 -0
- package/dist/convex/label-groups/waitlist.js +45 -0
- package/dist/convex/label-groups/waitlist.js.map +1 -0
- package/dist/convex/label-groups/withdrawal.d.ts +18 -0
- package/dist/convex/label-groups/withdrawal.d.ts.map +1 -0
- package/dist/convex/label-groups/withdrawal.js +18 -0
- package/dist/convex/label-groups/withdrawal.js.map +1 -0
- package/dist/convex/label-translations.d.ts +4 -0
- package/dist/convex/label-translations.d.ts.map +1 -0
- package/dist/convex/label-translations.js +1834 -0
- package/dist/convex/label-translations.js.map +1 -0
- package/dist/convex/labels.d.ts +2543 -0
- package/dist/convex/labels.d.ts.map +1 -0
- package/dist/convex/labels.js +114 -0
- package/dist/convex/labels.js.map +1 -0
- package/dist/convex/legal.d.ts +309 -0
- package/dist/convex/legal.d.ts.map +1 -0
- package/dist/convex/legal.js +270 -0
- package/dist/convex/legal.js.map +1 -0
- package/dist/convex/lifecycle-flows.d.ts +75 -0
- package/dist/convex/lifecycle-flows.d.ts.map +1 -0
- package/dist/convex/lifecycle-flows.js +56 -0
- package/dist/convex/lifecycle-flows.js.map +1 -0
- package/dist/convex/local-origins.d.ts +3 -0
- package/dist/convex/local-origins.d.ts.map +1 -0
- package/dist/convex/local-origins.js +25 -0
- package/dist/convex/local-origins.js.map +1 -0
- package/dist/convex/locale.d.ts +26 -0
- package/dist/convex/locale.d.ts.map +1 -0
- package/dist/convex/locale.js +99 -0
- package/dist/convex/locale.js.map +1 -0
- package/dist/convex/log.d.ts +2 -0
- package/dist/convex/log.d.ts.map +1 -0
- package/dist/convex/log.js +149 -0
- package/dist/convex/log.js.map +1 -0
- package/dist/convex/loopback.d.ts +5 -0
- package/dist/convex/loopback.d.ts.map +1 -0
- package/dist/convex/loopback.js +20 -0
- package/dist/convex/loopback.js.map +1 -0
- package/dist/convex/monitoring.d.ts +226 -0
- package/dist/convex/monitoring.d.ts.map +1 -0
- package/dist/convex/monitoring.js +419 -0
- package/dist/convex/monitoring.js.map +1 -0
- package/dist/convex/notifications.d.ts +404 -0
- package/dist/convex/notifications.d.ts.map +1 -0
- package/dist/convex/notifications.js +231 -0
- package/dist/convex/notifications.js.map +1 -0
- package/dist/convex/package-migrations.d.ts +44 -0
- package/dist/convex/package-migrations.d.ts.map +1 -0
- package/dist/convex/package-migrations.js +32 -0
- package/dist/convex/package-migrations.js.map +1 -0
- package/dist/convex/paths.d.ts +35 -0
- package/dist/convex/paths.d.ts.map +1 -0
- package/dist/convex/paths.js +34 -0
- package/dist/convex/paths.js.map +1 -0
- package/dist/convex/pauses.d.ts +27 -0
- package/dist/convex/pauses.d.ts.map +1 -0
- package/dist/convex/pauses.js +36 -0
- package/dist/convex/pauses.js.map +1 -0
- package/dist/convex/proof.d.ts +177 -0
- package/dist/convex/proof.d.ts.map +1 -0
- package/dist/convex/proof.js +311 -0
- package/dist/convex/proof.js.map +1 -0
- package/dist/convex/referral-rules.d.ts +81 -0
- package/dist/convex/referral-rules.d.ts.map +1 -0
- package/dist/convex/referral-rules.js +108 -0
- package/dist/convex/referral-rules.js.map +1 -0
- package/dist/convex/report-rules.d.ts +9 -0
- package/dist/convex/report-rules.d.ts.map +1 -0
- package/dist/convex/report-rules.js +10 -0
- package/dist/convex/report-rules.js.map +1 -0
- package/dist/convex/sandbox-inbox.d.ts +56 -0
- package/dist/convex/sandbox-inbox.d.ts.map +1 -0
- package/dist/convex/sandbox-inbox.js +125 -0
- package/dist/convex/sandbox-inbox.js.map +1 -0
- package/dist/convex/sensitive-actions.d.ts +40 -0
- package/dist/convex/sensitive-actions.d.ts.map +1 -0
- package/dist/convex/sensitive-actions.js +220 -0
- package/dist/convex/sensitive-actions.js.map +1 -0
- package/dist/convex/test-models.d.ts +34 -0
- package/dist/convex/test-models.d.ts.map +1 -0
- package/dist/convex/test-models.js +121 -0
- package/dist/convex/test-models.js.map +1 -0
- package/dist/convex/tokens.d.ts +69 -0
- package/dist/convex/tokens.d.ts.map +1 -0
- package/dist/convex/tokens.js +101 -0
- package/dist/convex/tokens.js.map +1 -0
- package/dist/convex/urls.d.ts +9 -0
- package/dist/convex/urls.d.ts.map +1 -0
- package/dist/convex/urls.js +15 -0
- package/dist/convex/urls.js.map +1 -0
- package/dist/convex/visitor.d.ts +2 -0
- package/dist/convex/visitor.d.ts.map +1 -0
- package/dist/convex/visitor.js +51 -0
- package/dist/convex/visitor.js.map +1 -0
- package/dist/convex/waitlist-rules.d.ts +60 -0
- package/dist/convex/waitlist-rules.d.ts.map +1 -0
- package/dist/convex/waitlist-rules.js +107 -0
- package/dist/convex/waitlist-rules.js.map +1 -0
- package/dist/convex/web-push.d.ts +105 -0
- package/dist/convex/web-push.d.ts.map +1 -0
- package/dist/convex/web-push.js +192 -0
- package/dist/convex/web-push.js.map +1 -0
- package/dist/convex/webhook-signatures.d.ts +39 -0
- package/dist/convex/webhook-signatures.d.ts.map +1 -0
- package/dist/convex/webhook-signatures.js +140 -0
- package/dist/convex/webhook-signatures.js.map +1 -0
- package/dist/devtools/rpc-types.js +23 -0
- package/dist/devtools-client/_nuxt/CfQg3BRt.js +5 -0
- package/dist/devtools-client/_nuxt/entry.DsMplBp-.css +1 -0
- package/dist/devtools-client/icon.svg +11 -0
- package/dist/devtools-client/index.html +1 -0
- package/dist/env-registry.js +217 -0
- package/dist/eslint.d.mts +33 -0
- package/dist/eslint.mjs +39 -0
- package/dist/findings/types.js +1 -0
- package/dist/module.d.ts +128 -32
- package/dist/module.js +15 -275
- package/dist/module.json +6 -2
- package/dist/runtime/config.d.ts +172 -0
- package/dist/runtime/config.js +65 -0
- package/dist/runtime/devtools/bridge.d.ts +12 -0
- package/dist/runtime/devtools/bridge.js +70 -0
- package/dist/runtime/devtools/events.d.ts +11 -0
- package/dist/runtime/devtools/events.js +116 -0
- package/dist/runtime/devtools/on-demand.d.ts +11 -0
- package/dist/runtime/devtools/on-demand.js +101 -0
- package/dist/runtime/devtools/plugin.client.d.ts +8 -0
- package/dist/runtime/devtools/plugin.client.js +201 -0
- package/dist/runtime/devtools/types.d.ts +248 -0
- package/dist/runtime/devtools/types.js +0 -0
- package/dist/runtime/devtools/webhook-feed.d.ts +15 -0
- package/dist/runtime/devtools/webhook-feed.js +26 -0
- package/dist/runtime/image/provider.d.ts +25 -0
- package/dist/runtime/image/provider.js +9 -0
- package/dist/runtime/locales/de.json +2747 -0
- package/dist/runtime/locales/en.json +2747 -0
- package/dist/runtime/locales/es.json +2747 -0
- package/dist/runtime/locales/fr.json +2747 -0
- package/dist/runtime/locales/ru.json +2747 -0
- package/dist/runtime/monitoring/report.d.ts +35 -0
- package/dist/runtime/monitoring/report.js +23 -0
- package/dist/runtime/monitoring/sdk/capture.client.d.ts +11 -0
- package/dist/runtime/monitoring/sdk/capture.client.js +14 -0
- package/dist/runtime/monitoring/sdk/capture.server.d.ts +9 -0
- package/dist/runtime/monitoring/sdk/capture.server.js +9 -0
- package/dist/runtime/monitoring/sdk/feedback.d.ts +5 -0
- package/dist/runtime/monitoring/sdk/feedback.js +21 -0
- package/dist/runtime/monitoring/sdk/observe.client.d.ts +32 -0
- package/dist/runtime/monitoring/sdk/observe.client.js +42 -0
- package/dist/runtime/monitoring/sdk/preset.d.ts +74 -0
- package/dist/runtime/monitoring/sdk/preset.js +49 -0
- package/dist/runtime/monitoring/sdk/replay.d.ts +1 -0
- package/dist/runtime/monitoring/sdk/replay.js +1 -0
- package/dist/runtime/monitoring/sdk/sentry.client.config.d.ts +1 -0
- package/dist/runtime/monitoring/sdk/sentry.client.config.js +13 -0
- package/dist/runtime/monitoring/sdk/sentry.server.config.d.ts +1 -0
- package/dist/runtime/monitoring/sdk/sentry.server.config.js +12 -0
- package/dist/runtime/protection/botid-absent.d.ts +4 -0
- package/dist/runtime/protection/botid-absent.js +5 -0
- package/dist/runtime/server/backend-url.d.ts +17 -0
- package/dist/runtime/server/backend-url.js +9 -0
- package/dist/runtime/server/manifest.d.ts +2 -0
- package/dist/runtime/server/manifest.js +6 -0
- package/dist/runtime/server/monitoring/backend-calls.d.ts +9 -0
- package/dist/runtime/server/monitoring/backend-calls.js +17 -0
- package/dist/runtime/server/monitoring/capture.d.ts +15 -0
- package/dist/runtime/server/monitoring/capture.js +24 -0
- package/dist/runtime/server/monitoring/health.d.ts +15 -0
- package/dist/runtime/server/monitoring/health.js +48 -0
- package/dist/runtime/server/monitoring/local-log-route.d.ts +5 -0
- package/dist/runtime/server/monitoring/local-log-route.js +32 -0
- package/dist/runtime/server/monitoring/local-log.d.ts +19 -0
- package/dist/runtime/server/monitoring/local-log.js +38 -0
- package/dist/runtime/server/protection/csp.d.ts +17 -0
- package/dist/runtime/server/protection/csp.js +28 -0
- package/dist/runtime/server/protection/gate.d.ts +39 -0
- package/dist/runtime/server/protection/gate.js +104 -0
- package/dist/runtime/server/push-worker-source.d.ts +2 -0
- package/dist/runtime/server/push-worker-source.js +25 -0
- package/dist/runtime/server/push-worker.d.ts +2 -0
- package/dist/runtime/server/push-worker.js +9 -0
- package/dist/runtime/server/site-url.d.ts +5 -0
- package/dist/runtime/server/site-url.js +5 -0
- package/dist/runtime/server/tsconfig.json +6 -0
- package/dist/runtime/server/visitor-ip.d.ts +4 -0
- package/dist/runtime/server/visitor-ip.js +5 -0
- package/dist/runtime/test-utils/aliases.d.ts +39 -0
- package/dist/runtime/test-utils/aliases.js +26 -0
- package/dist/runtime/test-utils/auth-answers.d.ts +85 -0
- package/dist/runtime/test-utils/auth-answers.js +194 -0
- package/dist/runtime/test-utils/auth-client.d.ts +3 -0
- package/dist/runtime/test-utils/auth-client.js +69 -0
- package/dist/runtime/test-utils/base-modules.d.ts +17 -0
- package/dist/runtime/test-utils/client.d.ts +24 -0
- package/dist/runtime/test-utils/client.js +29 -0
- package/dist/runtime/test-utils/email.d.ts +29 -0
- package/dist/runtime/test-utils/email.js +7 -0
- package/dist/runtime/test-utils/index.d.ts +20 -0
- package/dist/runtime/test-utils/index.js +7 -0
- package/dist/runtime/test-utils/install.d.ts +58 -0
- package/dist/runtime/test-utils/install.js +114 -0
- package/dist/runtime/test-utils/mock.d.ts +245 -0
- package/dist/runtime/test-utils/mock.js +130 -0
- package/dist/runtime/vue/a11y.d.ts +74 -0
- package/dist/runtime/vue/a11y.js +94 -0
- package/dist/runtime/vue/admin-client.d.ts +18 -0
- package/dist/runtime/vue/admin-client.js +32 -0
- package/dist/runtime/vue/auth-client.d.ts +45 -0
- package/dist/runtime/vue/auth-client.js +9 -0
- package/dist/runtime/vue/components/account/AccountData.css +1 -0
- package/dist/runtime/vue/components/account/AccountData.d.vue.ts +55 -0
- package/dist/runtime/vue/components/account/AccountData.vue +150 -0
- package/dist/runtime/vue/components/account/AccountData.vue.d.ts +55 -0
- package/dist/runtime/vue/components/account/AccountDeletion.css +1 -0
- package/dist/runtime/vue/components/account/AccountDeletion.d.vue.ts +3 -0
- package/dist/runtime/vue/components/account/AccountDeletion.vue +95 -0
- package/dist/runtime/vue/components/account/AccountDeletion.vue.d.ts +3 -0
- package/dist/runtime/vue/components/account/AccountExport.css +1 -0
- package/dist/runtime/vue/components/account/AccountExport.d.vue.ts +3 -0
- package/dist/runtime/vue/components/account/AccountExport.vue +65 -0
- package/dist/runtime/vue/components/account/AccountExport.vue.d.ts +3 -0
- package/dist/runtime/vue/components/account/ActivationChecklist.css +1 -0
- package/dist/runtime/vue/components/account/ActivationChecklist.d.vue.ts +22 -0
- package/dist/runtime/vue/components/account/ActivationChecklist.vue +121 -0
- package/dist/runtime/vue/components/account/ActivationChecklist.vue.d.ts +22 -0
- package/dist/runtime/vue/components/account/ConsentPrompt.css +1 -0
- package/dist/runtime/vue/components/account/ConsentPrompt.d.vue.ts +53 -0
- package/dist/runtime/vue/components/account/ConsentPrompt.vue +106 -0
- package/dist/runtime/vue/components/account/ConsentPrompt.vue.d.ts +53 -0
- package/dist/runtime/vue/components/account/ConsentPromptAge.d.vue.ts +16 -0
- package/dist/runtime/vue/components/account/ConsentPromptAge.vue +26 -0
- package/dist/runtime/vue/components/account/ConsentPromptAge.vue.d.ts +16 -0
- package/dist/runtime/vue/components/account/ConsentPromptDialog.d.vue.ts +49 -0
- package/dist/runtime/vue/components/account/ConsentPromptDialog.vue +116 -0
- package/dist/runtime/vue/components/account/ConsentPromptDialog.vue.d.ts +49 -0
- package/dist/runtime/vue/components/account/ConsentPromptItem.d.vue.ts +28 -0
- package/dist/runtime/vue/components/account/ConsentPromptItem.vue +44 -0
- package/dist/runtime/vue/components/account/ConsentPromptItem.vue.d.ts +28 -0
- package/dist/runtime/vue/components/account/ConsentPromptStorage.d.vue.ts +15 -0
- package/dist/runtime/vue/components/account/ConsentPromptStorage.vue +67 -0
- package/dist/runtime/vue/components/account/ConsentPromptStorage.vue.d.ts +15 -0
- package/dist/runtime/vue/components/account/EmailUnsubscribe.css +1 -0
- package/dist/runtime/vue/components/account/EmailUnsubscribe.d.vue.ts +13 -0
- package/dist/runtime/vue/components/account/EmailUnsubscribe.vue +107 -0
- package/dist/runtime/vue/components/account/EmailUnsubscribe.vue.d.ts +13 -0
- package/dist/runtime/vue/components/account/HowDidYouHear.css +1 -0
- package/dist/runtime/vue/components/account/HowDidYouHear.d.vue.ts +24 -0
- package/dist/runtime/vue/components/account/HowDidYouHear.vue +149 -0
- package/dist/runtime/vue/components/account/HowDidYouHear.vue.d.ts +24 -0
- package/dist/runtime/vue/components/account/KeepAccount.css +1 -0
- package/dist/runtime/vue/components/account/KeepAccount.d.vue.ts +10 -0
- package/dist/runtime/vue/components/account/KeepAccount.vue +54 -0
- package/dist/runtime/vue/components/account/KeepAccount.vue.d.ts +10 -0
- package/dist/runtime/vue/components/account/OnboardingFlow.css +1 -0
- package/dist/runtime/vue/components/account/OnboardingFlow.d.vue.ts +77 -0
- package/dist/runtime/vue/components/account/OnboardingFlow.vue +138 -0
- package/dist/runtime/vue/components/account/OnboardingFlow.vue.d.ts +77 -0
- package/dist/runtime/vue/components/account/OnboardingPlan.d.vue.ts +3 -0
- package/dist/runtime/vue/components/account/OnboardingPlan.vue +36 -0
- package/dist/runtime/vue/components/account/OnboardingPlan.vue.d.ts +3 -0
- package/dist/runtime/vue/components/account/OnboardingProfile.d.vue.ts +3 -0
- package/dist/runtime/vue/components/account/OnboardingProfile.vue +111 -0
- package/dist/runtime/vue/components/account/OnboardingProfile.vue.d.ts +3 -0
- package/dist/runtime/vue/components/account/OnboardingStepActions.d.vue.ts +10 -0
- package/dist/runtime/vue/components/account/OnboardingStepActions.vue +38 -0
- package/dist/runtime/vue/components/account/OnboardingStepActions.vue.d.ts +10 -0
- package/dist/runtime/vue/components/account/OnboardingTeammates.d.vue.ts +3 -0
- package/dist/runtime/vue/components/account/OnboardingTeammates.vue +102 -0
- package/dist/runtime/vue/components/account/OnboardingTeammates.vue.d.ts +3 -0
- package/dist/runtime/vue/components/account/OnboardingWorkspace.d.vue.ts +3 -0
- package/dist/runtime/vue/components/account/OnboardingWorkspace.vue +154 -0
- package/dist/runtime/vue/components/account/OnboardingWorkspace.vue.d.ts +3 -0
- package/dist/runtime/vue/components/account/ProfileEmailSection.d.vue.ts +4 -0
- package/dist/runtime/vue/components/account/ProfileEmailSection.vue +97 -0
- package/dist/runtime/vue/components/account/ProfileEmailSection.vue.d.ts +4 -0
- package/dist/runtime/vue/components/account/ProfileIdentity.css +1 -0
- package/dist/runtime/vue/components/account/ProfileIdentity.d.vue.ts +3 -0
- package/dist/runtime/vue/components/account/ProfileIdentity.vue +50 -0
- package/dist/runtime/vue/components/account/ProfileIdentity.vue.d.ts +3 -0
- package/dist/runtime/vue/components/account/ProfileLanguageSection.d.vue.ts +3 -0
- package/dist/runtime/vue/components/account/ProfileLanguageSection.vue +43 -0
- package/dist/runtime/vue/components/account/ProfileLanguageSection.vue.d.ts +3 -0
- package/dist/runtime/vue/components/account/ProfileNameSection.d.vue.ts +3 -0
- package/dist/runtime/vue/components/account/ProfileNameSection.vue +35 -0
- package/dist/runtime/vue/components/account/ProfileNameSection.vue.d.ts +3 -0
- package/dist/runtime/vue/components/account/ProfilePreferencesSection.css +1 -0
- package/dist/runtime/vue/components/account/ProfilePreferencesSection.d.vue.ts +4 -0
- package/dist/runtime/vue/components/account/ProfilePreferencesSection.vue +155 -0
- package/dist/runtime/vue/components/account/ProfilePreferencesSection.vue.d.ts +4 -0
- package/dist/runtime/vue/components/account/ProfileSettings.css +1 -0
- package/dist/runtime/vue/components/account/ProfileSettings.d.vue.ts +61 -0
- package/dist/runtime/vue/components/account/ProfileSettings.vue +201 -0
- package/dist/runtime/vue/components/account/ProfileSettings.vue.d.ts +61 -0
- package/dist/runtime/vue/components/account/SecurityAlerts.css +1 -0
- package/dist/runtime/vue/components/account/SecurityAlerts.d.vue.ts +4 -0
- package/dist/runtime/vue/components/account/SecurityAlerts.vue +70 -0
- package/dist/runtime/vue/components/account/SecurityAlerts.vue.d.ts +4 -0
- package/dist/runtime/vue/components/account/SecurityPasskeys.css +1 -0
- package/dist/runtime/vue/components/account/SecurityPasskeys.d.vue.ts +4 -0
- package/dist/runtime/vue/components/account/SecurityPasskeys.vue +152 -0
- package/dist/runtime/vue/components/account/SecurityPasskeys.vue.d.ts +4 -0
- package/dist/runtime/vue/components/account/SecuritySessions.css +1 -0
- package/dist/runtime/vue/components/account/SecuritySessions.d.vue.ts +4 -0
- package/dist/runtime/vue/components/account/SecuritySessions.vue +84 -0
- package/dist/runtime/vue/components/account/SecuritySessions.vue.d.ts +4 -0
- package/dist/runtime/vue/components/account/SecuritySettings.css +1 -0
- package/dist/runtime/vue/components/account/SecuritySettings.d.vue.ts +87 -0
- package/dist/runtime/vue/components/account/SecuritySettings.vue +225 -0
- package/dist/runtime/vue/components/account/SecuritySettings.vue.d.ts +87 -0
- package/dist/runtime/vue/components/account/account-data.d.ts +49 -0
- package/dist/runtime/vue/components/account/account-data.js +10 -0
- package/dist/runtime/vue/components/account/activation-checklist.d.ts +10 -0
- package/dist/runtime/vue/components/account/activation-checklist.js +0 -0
- package/dist/runtime/vue/components/account/consent-prompt.d.ts +28 -0
- package/dist/runtime/vue/components/account/consent-prompt.js +0 -0
- package/dist/runtime/vue/components/account/how-did-you-hear.d.ts +10 -0
- package/dist/runtime/vue/components/account/how-did-you-hear.js +3 -0
- package/dist/runtime/vue/components/account/onboarding-flow.d.ts +30 -0
- package/dist/runtime/vue/components/account/onboarding-flow.js +0 -0
- package/dist/runtime/vue/components/account/profile-settings.d.ts +68 -0
- package/dist/runtime/vue/components/account/profile-settings.js +10 -0
- package/dist/runtime/vue/components/account/security-alerts.d.ts +13 -0
- package/dist/runtime/vue/components/account/security-alerts.js +20 -0
- package/dist/runtime/vue/components/account/security-settings.d.ts +69 -0
- package/dist/runtime/vue/components/account/security-settings.js +10 -0
- package/dist/runtime/vue/components/admin/AdminAccess.css +1 -0
- package/dist/runtime/vue/components/admin/AdminAccess.d.vue.ts +7 -0
- package/dist/runtime/vue/components/admin/AdminAccess.vue +46 -0
- package/dist/runtime/vue/components/admin/AdminAccess.vue.d.ts +7 -0
- package/dist/runtime/vue/components/admin/AdminAccessAdmissions.d.vue.ts +7 -0
- package/dist/runtime/vue/components/admin/AdminAccessAdmissions.vue +51 -0
- package/dist/runtime/vue/components/admin/AdminAccessAdmissions.vue.d.ts +7 -0
- package/dist/runtime/vue/components/admin/AdminAccessAdmit.d.vue.ts +6 -0
- package/dist/runtime/vue/components/admin/AdminAccessAdmit.vue +65 -0
- package/dist/runtime/vue/components/admin/AdminAccessAdmit.vue.d.ts +6 -0
- package/dist/runtime/vue/components/admin/AdminAccessCreate.d.vue.ts +6 -0
- package/dist/runtime/vue/components/admin/AdminAccessCreate.vue +78 -0
- package/dist/runtime/vue/components/admin/AdminAccessCreate.vue.d.ts +6 -0
- package/dist/runtime/vue/components/admin/AdminAccessInvites.d.vue.ts +7 -0
- package/dist/runtime/vue/components/admin/AdminAccessInvites.vue +47 -0
- package/dist/runtime/vue/components/admin/AdminAccessInvites.vue.d.ts +7 -0
- package/dist/runtime/vue/components/admin/AdminAccessPhase.d.vue.ts +7 -0
- package/dist/runtime/vue/components/admin/AdminAccessPhase.vue +43 -0
- package/dist/runtime/vue/components/admin/AdminAccessPhase.vue.d.ts +7 -0
- package/dist/runtime/vue/components/admin/AdminAccessRevoke.d.vue.ts +10 -0
- package/dist/runtime/vue/components/admin/AdminAccessRevoke.vue +18 -0
- package/dist/runtime/vue/components/admin/AdminAccessRevoke.vue.d.ts +10 -0
- package/dist/runtime/vue/components/admin/AdminAccessTable.d.vue.ts +18 -0
- package/dist/runtime/vue/components/admin/AdminAccessTable.vue +50 -0
- package/dist/runtime/vue/components/admin/AdminAccessTable.vue.d.ts +18 -0
- package/dist/runtime/vue/components/admin/AdminAnalytics.css +1 -0
- package/dist/runtime/vue/components/admin/AdminAnalytics.d.vue.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminAnalytics.vue +34 -0
- package/dist/runtime/vue/components/admin/AdminAnalytics.vue.d.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminAnnouncements.css +1 -0
- package/dist/runtime/vue/components/admin/AdminAnnouncements.d.vue.ts +7 -0
- package/dist/runtime/vue/components/admin/AdminAnnouncements.vue +79 -0
- package/dist/runtime/vue/components/admin/AdminAnnouncements.vue.d.ts +7 -0
- package/dist/runtime/vue/components/admin/AdminAnnouncementsCompose.d.vue.ts +6 -0
- package/dist/runtime/vue/components/admin/AdminAnnouncementsCompose.vue +132 -0
- package/dist/runtime/vue/components/admin/AdminAnnouncementsCompose.vue.d.ts +6 -0
- package/dist/runtime/vue/components/admin/AdminAnnouncementsItem.d.vue.ts +8 -0
- package/dist/runtime/vue/components/admin/AdminAnnouncementsItem.vue +81 -0
- package/dist/runtime/vue/components/admin/AdminAnnouncementsItem.vue.d.ts +8 -0
- package/dist/runtime/vue/components/admin/AdminBilling.css +1 -0
- package/dist/runtime/vue/components/admin/AdminBilling.d.vue.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminBilling.vue +200 -0
- package/dist/runtime/vue/components/admin/AdminBilling.vue.d.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminChart.css +1 -0
- package/dist/runtime/vue/components/admin/AdminChart.d.vue.ts +10 -0
- package/dist/runtime/vue/components/admin/AdminChart.vue +31 -0
- package/dist/runtime/vue/components/admin/AdminChart.vue.d.ts +10 -0
- package/dist/runtime/vue/components/admin/AdminConsole.css +1 -0
- package/dist/runtime/vue/components/admin/AdminConsole.d.vue.ts +38 -0
- package/dist/runtime/vue/components/admin/AdminConsole.vue +131 -0
- package/dist/runtime/vue/components/admin/AdminConsole.vue.d.ts +38 -0
- package/dist/runtime/vue/components/admin/AdminCosts.css +1 -0
- package/dist/runtime/vue/components/admin/AdminCosts.d.vue.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminCosts.vue +120 -0
- package/dist/runtime/vue/components/admin/AdminCosts.vue.d.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminDrawerFrame.d.vue.ts +24 -0
- package/dist/runtime/vue/components/admin/AdminDrawerFrame.vue +71 -0
- package/dist/runtime/vue/components/admin/AdminDrawerFrame.vue.d.ts +24 -0
- package/dist/runtime/vue/components/admin/AdminExperiments.css +1 -0
- package/dist/runtime/vue/components/admin/AdminExperiments.d.vue.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminExperiments.vue +159 -0
- package/dist/runtime/vue/components/admin/AdminExperiments.vue.d.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminFlags.css +1 -0
- package/dist/runtime/vue/components/admin/AdminFlags.d.vue.ts +9 -0
- package/dist/runtime/vue/components/admin/AdminFlags.vue +429 -0
- package/dist/runtime/vue/components/admin/AdminFlags.vue.d.ts +9 -0
- package/dist/runtime/vue/components/admin/AdminGrowth.css +1 -0
- package/dist/runtime/vue/components/admin/AdminGrowth.d.vue.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminGrowth.vue +204 -0
- package/dist/runtime/vue/components/admin/AdminGrowth.vue.d.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminInbox.css +1 -0
- package/dist/runtime/vue/components/admin/AdminInbox.d.vue.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminInbox.vue +81 -0
- package/dist/runtime/vue/components/admin/AdminInbox.vue.d.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminInboxMessage.d.vue.ts +8 -0
- package/dist/runtime/vue/components/admin/AdminInboxMessage.vue +107 -0
- package/dist/runtime/vue/components/admin/AdminInboxMessage.vue.d.ts +8 -0
- package/dist/runtime/vue/components/admin/AdminListFrame.d.vue.ts +29 -0
- package/dist/runtime/vue/components/admin/AdminListFrame.vue +77 -0
- package/dist/runtime/vue/components/admin/AdminListFrame.vue.d.ts +29 -0
- package/dist/runtime/vue/components/admin/AdminListTail.d.vue.ts +14 -0
- package/dist/runtime/vue/components/admin/AdminListTail.vue +38 -0
- package/dist/runtime/vue/components/admin/AdminListTail.vue.d.ts +14 -0
- package/dist/runtime/vue/components/admin/AdminQueue.css +1 -0
- package/dist/runtime/vue/components/admin/AdminQueue.d.vue.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminQueue.vue +90 -0
- package/dist/runtime/vue/components/admin/AdminQueue.vue.d.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminQueueControls.d.vue.ts +10 -0
- package/dist/runtime/vue/components/admin/AdminQueueControls.vue +56 -0
- package/dist/runtime/vue/components/admin/AdminQueueControls.vue.d.ts +10 -0
- package/dist/runtime/vue/components/admin/AdminQueueJob.d.vue.ts +10 -0
- package/dist/runtime/vue/components/admin/AdminQueueJob.vue +49 -0
- package/dist/runtime/vue/components/admin/AdminQueueJob.vue.d.ts +10 -0
- package/dist/runtime/vue/components/admin/AdminQueueJobs.d.vue.ts +8 -0
- package/dist/runtime/vue/components/admin/AdminQueueJobs.vue +82 -0
- package/dist/runtime/vue/components/admin/AdminQueueJobs.vue.d.ts +8 -0
- package/dist/runtime/vue/components/admin/AdminQueueModels.d.vue.ts +10 -0
- package/dist/runtime/vue/components/admin/AdminQueueModels.vue +84 -0
- package/dist/runtime/vue/components/admin/AdminQueueModels.vue.d.ts +10 -0
- package/dist/runtime/vue/components/admin/AdminQueueTier.d.vue.ts +10 -0
- package/dist/runtime/vue/components/admin/AdminQueueTier.vue +83 -0
- package/dist/runtime/vue/components/admin/AdminQueueTier.vue.d.ts +10 -0
- package/dist/runtime/vue/components/admin/AdminQueueTiers.d.vue.ts +10 -0
- package/dist/runtime/vue/components/admin/AdminQueueTiers.vue +40 -0
- package/dist/runtime/vue/components/admin/AdminQueueTiers.vue.d.ts +10 -0
- package/dist/runtime/vue/components/admin/AdminReferrals.css +1 -0
- package/dist/runtime/vue/components/admin/AdminReferrals.d.vue.ts +7 -0
- package/dist/runtime/vue/components/admin/AdminReferrals.vue +245 -0
- package/dist/runtime/vue/components/admin/AdminReferrals.vue.d.ts +7 -0
- package/dist/runtime/vue/components/admin/AdminReports.css +1 -0
- package/dist/runtime/vue/components/admin/AdminReports.d.vue.ts +7 -0
- package/dist/runtime/vue/components/admin/AdminReports.vue +122 -0
- package/dist/runtime/vue/components/admin/AdminReports.vue.d.ts +7 -0
- package/dist/runtime/vue/components/admin/AdminReportsAppeal.d.vue.ts +9 -0
- package/dist/runtime/vue/components/admin/AdminReportsAppeal.vue +55 -0
- package/dist/runtime/vue/components/admin/AdminReportsAppeal.vue.d.ts +9 -0
- package/dist/runtime/vue/components/admin/AdminReportsDecision.d.vue.ts +14 -0
- package/dist/runtime/vue/components/admin/AdminReportsDecision.vue +72 -0
- package/dist/runtime/vue/components/admin/AdminReportsDecision.vue.d.ts +14 -0
- package/dist/runtime/vue/components/admin/AdminReportsNotice.d.vue.ts +8 -0
- package/dist/runtime/vue/components/admin/AdminReportsNotice.vue +47 -0
- package/dist/runtime/vue/components/admin/AdminReportsNotice.vue.d.ts +8 -0
- package/dist/runtime/vue/components/admin/AdminReportsSubject.d.vue.ts +8 -0
- package/dist/runtime/vue/components/admin/AdminReportsSubject.vue +76 -0
- package/dist/runtime/vue/components/admin/AdminReportsSubject.vue.d.ts +8 -0
- package/dist/runtime/vue/components/admin/AdminRevenue.css +1 -0
- package/dist/runtime/vue/components/admin/AdminRevenue.d.vue.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminRevenue.vue +197 -0
- package/dist/runtime/vue/components/admin/AdminRevenue.vue.d.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminSuppressions.css +1 -0
- package/dist/runtime/vue/components/admin/AdminSuppressions.d.vue.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminSuppressions.vue +98 -0
- package/dist/runtime/vue/components/admin/AdminSuppressions.vue.d.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminSystem.d.vue.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminSystem.vue +125 -0
- package/dist/runtime/vue/components/admin/AdminSystem.vue.d.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminTabDialogs.d.vue.ts +8 -0
- package/dist/runtime/vue/components/admin/AdminTabDialogs.vue +18 -0
- package/dist/runtime/vue/components/admin/AdminTabDialogs.vue.d.ts +8 -0
- package/dist/runtime/vue/components/admin/AdminTabStatus.d.vue.ts +7 -0
- package/dist/runtime/vue/components/admin/AdminTabStatus.vue +26 -0
- package/dist/runtime/vue/components/admin/AdminTabStatus.vue.d.ts +7 -0
- package/dist/runtime/vue/components/admin/AdminUserDrawer.d.vue.ts +4 -0
- package/dist/runtime/vue/components/admin/AdminUserDrawer.vue +294 -0
- package/dist/runtime/vue/components/admin/AdminUserDrawer.vue.d.ts +4 -0
- package/dist/runtime/vue/components/admin/AdminUsers.d.vue.ts +863 -0
- package/dist/runtime/vue/components/admin/AdminUsers.vue +157 -0
- package/dist/runtime/vue/components/admin/AdminUsers.vue.d.ts +863 -0
- package/dist/runtime/vue/components/admin/AdminUsersTable.d.vue.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminUsersTable.vue +108 -0
- package/dist/runtime/vue/components/admin/AdminUsersTable.vue.d.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminWaitlist.css +1 -0
- package/dist/runtime/vue/components/admin/AdminWaitlist.d.vue.ts +7 -0
- package/dist/runtime/vue/components/admin/AdminWaitlist.vue +63 -0
- package/dist/runtime/vue/components/admin/AdminWaitlist.vue.d.ts +7 -0
- package/dist/runtime/vue/components/admin/AdminWaitlistActions.d.vue.ts +6 -0
- package/dist/runtime/vue/components/admin/AdminWaitlistActions.vue +58 -0
- package/dist/runtime/vue/components/admin/AdminWaitlistActions.vue.d.ts +6 -0
- package/dist/runtime/vue/components/admin/AdminWaitlistFilter.d.vue.ts +6 -0
- package/dist/runtime/vue/components/admin/AdminWaitlistFilter.vue +86 -0
- package/dist/runtime/vue/components/admin/AdminWaitlistFilter.vue.d.ts +6 -0
- package/dist/runtime/vue/components/admin/AdminWaitlistSummary.d.vue.ts +8 -0
- package/dist/runtime/vue/components/admin/AdminWaitlistSummary.vue +63 -0
- package/dist/runtime/vue/components/admin/AdminWaitlistSummary.vue.d.ts +8 -0
- package/dist/runtime/vue/components/admin/AdminWaitlistTable.d.vue.ts +6 -0
- package/dist/runtime/vue/components/admin/AdminWaitlistTable.vue +75 -0
- package/dist/runtime/vue/components/admin/AdminWaitlistTable.vue.d.ts +6 -0
- package/dist/runtime/vue/components/admin/AdminWebhooks.css +1 -0
- package/dist/runtime/vue/components/admin/AdminWebhooks.d.vue.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminWebhooks.vue +141 -0
- package/dist/runtime/vue/components/admin/AdminWebhooks.vue.d.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminWorkspaceDrawer.d.vue.ts +4 -0
- package/dist/runtime/vue/components/admin/AdminWorkspaceDrawer.vue +99 -0
- package/dist/runtime/vue/components/admin/AdminWorkspaceDrawer.vue.d.ts +4 -0
- package/dist/runtime/vue/components/admin/AdminWorkspaces.d.vue.ts +846 -0
- package/dist/runtime/vue/components/admin/AdminWorkspaces.vue +90 -0
- package/dist/runtime/vue/components/admin/AdminWorkspaces.vue.d.ts +846 -0
- package/dist/runtime/vue/components/admin/AdminWorkspacesTable.d.vue.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminWorkspacesTable.vue +81 -0
- package/dist/runtime/vue/components/admin/AdminWorkspacesTable.vue.d.ts +3 -0
- package/dist/runtime/vue/components/admin/admin-access-tab.d.ts +2 -0
- package/dist/runtime/vue/components/admin/admin-access-tab.js +88 -0
- package/dist/runtime/vue/components/admin/admin-analytics-tab.d.ts +1 -0
- package/dist/runtime/vue/components/admin/admin-analytics-tab.js +19 -0
- package/dist/runtime/vue/components/admin/admin-announcements-tab.d.ts +2 -0
- package/dist/runtime/vue/components/admin/admin-announcements-tab.js +97 -0
- package/dist/runtime/vue/components/admin/admin-billing-tab.d.ts +1 -0
- package/dist/runtime/vue/components/admin/admin-billing-tab.js +43 -0
- package/dist/runtime/vue/components/admin/admin-costs-tab.d.ts +1 -0
- package/dist/runtime/vue/components/admin/admin-costs-tab.js +23 -0
- package/dist/runtime/vue/components/admin/admin-experiments-tab.d.ts +1 -0
- package/dist/runtime/vue/components/admin/admin-experiments-tab.js +60 -0
- package/dist/runtime/vue/components/admin/admin-growth-tab.d.ts +1 -0
- package/dist/runtime/vue/components/admin/admin-growth-tab.js +58 -0
- package/dist/runtime/vue/components/admin/admin-inbox-tab.d.ts +4 -0
- package/dist/runtime/vue/components/admin/admin-inbox-tab.js +44 -0
- package/dist/runtime/vue/components/admin/admin-reports-tab.d.ts +21 -0
- package/dist/runtime/vue/components/admin/admin-reports-tab.js +89 -0
- package/dist/runtime/vue/components/admin/admin-revenue-tab.d.ts +12 -0
- package/dist/runtime/vue/components/admin/admin-revenue-tab.js +81 -0
- package/dist/runtime/vue/components/admin/admin-suppressions-tab.d.ts +1 -0
- package/dist/runtime/vue/components/admin/admin-suppressions-tab.js +27 -0
- package/dist/runtime/vue/components/admin/admin-tabs.d.ts +86 -0
- package/dist/runtime/vue/components/admin/admin-tabs.js +69 -0
- package/dist/runtime/vue/components/admin/admin-views.d.ts +34 -0
- package/dist/runtime/vue/components/admin/admin-views.js +22 -0
- package/dist/runtime/vue/components/admin/admin-waitlist-tab.d.ts +2 -0
- package/dist/runtime/vue/components/admin/admin-waitlist-tab.js +93 -0
- package/dist/runtime/vue/components/admin/admin-webhooks-tab.d.ts +5 -0
- package/dist/runtime/vue/components/admin/admin-webhooks-tab.js +35 -0
- package/dist/runtime/vue/components/admin/admin.css +1 -0
- package/dist/runtime/vue/components/admin/admin.d.ts +132 -0
- package/dist/runtime/vue/components/admin/admin.js +96 -0
- package/dist/runtime/vue/components/auth/AuthForm.css +1 -0
- package/dist/runtime/vue/components/auth/AuthForm.d.vue.ts +90 -0
- package/dist/runtime/vue/components/auth/AuthForm.vue +192 -0
- package/dist/runtime/vue/components/auth/AuthForm.vue.d.ts +90 -0
- package/dist/runtime/vue/components/auth/AuthFormAge.css +1 -0
- package/dist/runtime/vue/components/auth/AuthFormAge.d.vue.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormAge.vue +42 -0
- package/dist/runtime/vue/components/auth/AuthFormAge.vue.d.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormAgreement.css +1 -0
- package/dist/runtime/vue/components/auth/AuthFormAgreement.d.vue.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormAgreement.vue +31 -0
- package/dist/runtime/vue/components/auth/AuthFormAgreement.vue.d.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormChoose.css +1 -0
- package/dist/runtime/vue/components/auth/AuthFormChoose.d.vue.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormChoose.vue +44 -0
- package/dist/runtime/vue/components/auth/AuthFormChoose.vue.d.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormCode.d.vue.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormCode.vue +46 -0
- package/dist/runtime/vue/components/auth/AuthFormCode.vue.d.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormEmail.d.vue.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormEmail.vue +40 -0
- package/dist/runtime/vue/components/auth/AuthFormEmail.vue.d.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormError.css +1 -0
- package/dist/runtime/vue/components/auth/AuthFormError.d.vue.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormError.vue +18 -0
- package/dist/runtime/vue/components/auth/AuthFormError.vue.d.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormHeader.css +1 -0
- package/dist/runtime/vue/components/auth/AuthFormHeader.d.vue.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormHeader.vue +25 -0
- package/dist/runtime/vue/components/auth/AuthFormHeader.vue.d.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormInviteCode.css +1 -0
- package/dist/runtime/vue/components/auth/AuthFormInviteCode.d.vue.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormInviteCode.vue +48 -0
- package/dist/runtime/vue/components/auth/AuthFormInviteCode.vue.d.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormPasskey.d.vue.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormPasskey.vue +26 -0
- package/dist/runtime/vue/components/auth/AuthFormPasskey.vue.d.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormPasskeyOffer.css +1 -0
- package/dist/runtime/vue/components/auth/AuthFormPasskeyOffer.d.vue.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormPasskeyOffer.vue +46 -0
- package/dist/runtime/vue/components/auth/AuthFormPasskeyOffer.vue.d.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormRecover.css +1 -0
- package/dist/runtime/vue/components/auth/AuthFormRecover.d.vue.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormRecover.vue +52 -0
- package/dist/runtime/vue/components/auth/AuthFormRecover.vue.d.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormUndeliverable.css +1 -0
- package/dist/runtime/vue/components/auth/AuthFormUndeliverable.d.vue.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormUndeliverable.vue +29 -0
- package/dist/runtime/vue/components/auth/AuthFormUndeliverable.vue.d.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormWaitlisted.css +1 -0
- package/dist/runtime/vue/components/auth/AuthFormWaitlisted.d.vue.ts +3 -0
- package/dist/runtime/vue/components/auth/AuthFormWaitlisted.vue +36 -0
- package/dist/runtime/vue/components/auth/AuthFormWaitlisted.vue.d.ts +3 -0
- package/dist/runtime/vue/components/auth/InviteRedeem.css +1 -0
- package/dist/runtime/vue/components/auth/InviteRedeem.d.vue.ts +3 -0
- package/dist/runtime/vue/components/auth/InviteRedeem.vue +47 -0
- package/dist/runtime/vue/components/auth/InviteRedeem.vue.d.ts +3 -0
- package/dist/runtime/vue/components/auth/ReauthenticateCode.css +1 -0
- package/dist/runtime/vue/components/auth/ReauthenticateCode.d.vue.ts +3 -0
- package/dist/runtime/vue/components/auth/ReauthenticateCode.vue +57 -0
- package/dist/runtime/vue/components/auth/ReauthenticateCode.vue.d.ts +3 -0
- package/dist/runtime/vue/components/auth/ReauthenticateDialog.css +1 -0
- package/dist/runtime/vue/components/auth/ReauthenticateDialog.d.vue.ts +43 -0
- package/dist/runtime/vue/components/auth/ReauthenticateDialog.vue +136 -0
- package/dist/runtime/vue/components/auth/ReauthenticateDialog.vue.d.ts +43 -0
- package/dist/runtime/vue/components/auth/ReauthenticatePasskey.css +1 -0
- package/dist/runtime/vue/components/auth/ReauthenticatePasskey.d.vue.ts +3 -0
- package/dist/runtime/vue/components/auth/ReauthenticatePasskey.vue +36 -0
- package/dist/runtime/vue/components/auth/ReauthenticatePasskey.vue.d.ts +3 -0
- package/dist/runtime/vue/components/auth/WaitlistCode.css +1 -0
- package/dist/runtime/vue/components/auth/WaitlistCode.d.vue.ts +3 -0
- package/dist/runtime/vue/components/auth/WaitlistCode.vue +55 -0
- package/dist/runtime/vue/components/auth/WaitlistCode.vue.d.ts +3 -0
- package/dist/runtime/vue/components/auth/WaitlistForm.css +1 -0
- package/dist/runtime/vue/components/auth/WaitlistForm.d.vue.ts +74 -0
- package/dist/runtime/vue/components/auth/WaitlistForm.vue +81 -0
- package/dist/runtime/vue/components/auth/WaitlistForm.vue.d.ts +74 -0
- package/dist/runtime/vue/components/auth/WaitlistJoin.css +1 -0
- package/dist/runtime/vue/components/auth/WaitlistJoin.d.vue.ts +3 -0
- package/dist/runtime/vue/components/auth/WaitlistJoin.vue +97 -0
- package/dist/runtime/vue/components/auth/WaitlistJoin.vue.d.ts +3 -0
- package/dist/runtime/vue/components/auth/WaitlistPlace.css +1 -0
- package/dist/runtime/vue/components/auth/WaitlistPlace.d.vue.ts +3 -0
- package/dist/runtime/vue/components/auth/WaitlistPlace.vue +68 -0
- package/dist/runtime/vue/components/auth/WaitlistPlace.vue.d.ts +3 -0
- package/dist/runtime/vue/components/auth/WaitlistShare.css +1 -0
- package/dist/runtime/vue/components/auth/WaitlistShare.d.vue.ts +3 -0
- package/dist/runtime/vue/components/auth/WaitlistShare.vue +65 -0
- package/dist/runtime/vue/components/auth/WaitlistShare.vue.d.ts +3 -0
- package/dist/runtime/vue/components/auth/WaitlistStatus.css +1 -0
- package/dist/runtime/vue/components/auth/WaitlistStatus.d.vue.ts +3 -0
- package/dist/runtime/vue/components/auth/WaitlistStatus.vue +58 -0
- package/dist/runtime/vue/components/auth/WaitlistStatus.vue.d.ts +3 -0
- package/dist/runtime/vue/components/auth/auth-form.d.ts +52 -0
- package/dist/runtime/vue/components/auth/auth-form.js +31 -0
- package/dist/runtime/vue/components/auth/reauthenticate.d.ts +31 -0
- package/dist/runtime/vue/components/auth/reauthenticate.js +10 -0
- package/dist/runtime/vue/components/auth/waitlist-form.d.ts +10 -0
- package/dist/runtime/vue/components/auth/waitlist-form.js +9 -0
- package/dist/runtime/vue/components/billing/BillingCheckoutLink.d.vue.ts +50 -0
- package/dist/runtime/vue/components/billing/BillingCheckoutLink.vue +63 -0
- package/dist/runtime/vue/components/billing/BillingCheckoutLink.vue.d.ts +50 -0
- package/dist/runtime/vue/components/billing/BillingHistory.css +1 -0
- package/dist/runtime/vue/components/billing/BillingHistory.d.vue.ts +51 -0
- package/dist/runtime/vue/components/billing/BillingHistory.vue +98 -0
- package/dist/runtime/vue/components/billing/BillingHistory.vue.d.ts +51 -0
- package/dist/runtime/vue/components/billing/BillingHistoryOrder.css +1 -0
- package/dist/runtime/vue/components/billing/BillingHistoryOrder.d.vue.ts +4 -0
- package/dist/runtime/vue/components/billing/BillingHistoryOrder.vue +49 -0
- package/dist/runtime/vue/components/billing/BillingHistoryOrder.vue.d.ts +4 -0
- package/dist/runtime/vue/components/billing/BillingPortalLink.d.vue.ts +31 -0
- package/dist/runtime/vue/components/billing/BillingPortalLink.vue +39 -0
- package/dist/runtime/vue/components/billing/BillingPortalLink.vue.d.ts +31 -0
- package/dist/runtime/vue/components/billing/CancelConfirmGroup.d.vue.ts +7 -0
- package/dist/runtime/vue/components/billing/CancelConfirmGroup.vue +47 -0
- package/dist/runtime/vue/components/billing/CancelConfirmGroup.vue.d.ts +7 -0
- package/dist/runtime/vue/components/billing/CancelFlow.css +1 -0
- package/dist/runtime/vue/components/billing/CancelFlow.d.vue.ts +69 -0
- package/dist/runtime/vue/components/billing/CancelFlow.vue +104 -0
- package/dist/runtime/vue/components/billing/CancelFlow.vue.d.ts +69 -0
- package/dist/runtime/vue/components/billing/CancelFlowConfirm.d.vue.ts +3 -0
- package/dist/runtime/vue/components/billing/CancelFlowConfirm.vue +34 -0
- package/dist/runtime/vue/components/billing/CancelFlowConfirm.vue.d.ts +3 -0
- package/dist/runtime/vue/components/billing/CancelFlowEnd.d.vue.ts +3 -0
- package/dist/runtime/vue/components/billing/CancelFlowEnd.vue +42 -0
- package/dist/runtime/vue/components/billing/CancelFlowEnd.vue.d.ts +3 -0
- package/dist/runtime/vue/components/billing/CancelFlowOffer.d.vue.ts +3 -0
- package/dist/runtime/vue/components/billing/CancelFlowOffer.vue +29 -0
- package/dist/runtime/vue/components/billing/CancelFlowOffer.vue.d.ts +3 -0
- package/dist/runtime/vue/components/billing/CancelFlowQuestion.d.vue.ts +3 -0
- package/dist/runtime/vue/components/billing/CancelFlowQuestion.vue +52 -0
- package/dist/runtime/vue/components/billing/CancelFlowQuestion.vue.d.ts +3 -0
- package/dist/runtime/vue/components/billing/GiftList.css +1 -0
- package/dist/runtime/vue/components/billing/GiftList.d.vue.ts +8 -0
- package/dist/runtime/vue/components/billing/GiftList.vue +118 -0
- package/dist/runtime/vue/components/billing/GiftList.vue.d.ts +8 -0
- package/dist/runtime/vue/components/billing/GiftReceived.d.vue.ts +28 -0
- package/dist/runtime/vue/components/billing/GiftReceived.vue +62 -0
- package/dist/runtime/vue/components/billing/GiftReceived.vue.d.ts +28 -0
- package/dist/runtime/vue/components/billing/GiftSent.d.vue.ts +27 -0
- package/dist/runtime/vue/components/billing/GiftSent.vue +121 -0
- package/dist/runtime/vue/components/billing/GiftSent.vue.d.ts +27 -0
- package/dist/runtime/vue/components/billing/PricingCancelConfirm.d.vue.ts +3 -0
- package/dist/runtime/vue/components/billing/PricingCancelConfirm.vue +13 -0
- package/dist/runtime/vue/components/billing/PricingCancelConfirm.vue.d.ts +3 -0
- package/dist/runtime/vue/components/billing/PricingCurrencySelect.d.vue.ts +3 -0
- package/dist/runtime/vue/components/billing/PricingCurrencySelect.vue +45 -0
- package/dist/runtime/vue/components/billing/PricingCurrencySelect.vue.d.ts +3 -0
- package/dist/runtime/vue/components/billing/PricingEmailOptOut.css +1 -0
- package/dist/runtime/vue/components/billing/PricingEmailOptOut.d.vue.ts +10 -0
- package/dist/runtime/vue/components/billing/PricingEmailOptOut.vue +23 -0
- package/dist/runtime/vue/components/billing/PricingEmailOptOut.vue.d.ts +10 -0
- package/dist/runtime/vue/components/billing/PricingPackCard.css +1 -0
- package/dist/runtime/vue/components/billing/PricingPackCard.d.vue.ts +4 -0
- package/dist/runtime/vue/components/billing/PricingPackCard.vue +78 -0
- package/dist/runtime/vue/components/billing/PricingPackCard.vue.d.ts +4 -0
- package/dist/runtime/vue/components/billing/PricingPeriodSwitch.d.vue.ts +3 -0
- package/dist/runtime/vue/components/billing/PricingPeriodSwitch.vue +46 -0
- package/dist/runtime/vue/components/billing/PricingPeriodSwitch.vue.d.ts +3 -0
- package/dist/runtime/vue/components/billing/PricingPlanCard.css +1 -0
- package/dist/runtime/vue/components/billing/PricingPlanCard.d.vue.ts +4 -0
- package/dist/runtime/vue/components/billing/PricingPlanCard.vue +136 -0
- package/dist/runtime/vue/components/billing/PricingPlanCard.vue.d.ts +4 -0
- package/dist/runtime/vue/components/billing/PricingPromotion.d.vue.ts +7 -0
- package/dist/runtime/vue/components/billing/PricingPromotion.vue +20 -0
- package/dist/runtime/vue/components/billing/PricingPromotion.vue.d.ts +7 -0
- package/dist/runtime/vue/components/billing/PricingTable.css +1 -0
- package/dist/runtime/vue/components/billing/PricingTable.d.vue.ts +145 -0
- package/dist/runtime/vue/components/billing/PricingTable.vue +543 -0
- package/dist/runtime/vue/components/billing/PricingTable.vue.d.ts +145 -0
- package/dist/runtime/vue/components/billing/ReferralCard.css +1 -0
- package/dist/runtime/vue/components/billing/ReferralCard.d.vue.ts +67 -0
- package/dist/runtime/vue/components/billing/ReferralCard.vue +178 -0
- package/dist/runtime/vue/components/billing/ReferralCard.vue.d.ts +67 -0
- package/dist/runtime/vue/components/billing/ReferralLanding.css +1 -0
- package/dist/runtime/vue/components/billing/ReferralLanding.d.vue.ts +3 -0
- package/dist/runtime/vue/components/billing/ReferralLanding.vue +100 -0
- package/dist/runtime/vue/components/billing/ReferralLanding.vue.d.ts +3 -0
- package/dist/runtime/vue/components/billing/UpgradePrompt.css +1 -0
- package/dist/runtime/vue/components/billing/UpgradePrompt.d.vue.ts +45 -0
- package/dist/runtime/vue/components/billing/UpgradePrompt.vue +96 -0
- package/dist/runtime/vue/components/billing/UpgradePrompt.vue.d.ts +45 -0
- package/dist/runtime/vue/components/billing/UsageHistory.css +1 -0
- package/dist/runtime/vue/components/billing/UsageHistory.d.vue.ts +34 -0
- package/dist/runtime/vue/components/billing/UsageHistory.vue +76 -0
- package/dist/runtime/vue/components/billing/UsageHistory.vue.d.ts +34 -0
- package/dist/runtime/vue/components/billing/UsageHistoryEvent.css +1 -0
- package/dist/runtime/vue/components/billing/UsageHistoryEvent.d.vue.ts +4 -0
- package/dist/runtime/vue/components/billing/UsageHistoryEvent.vue +24 -0
- package/dist/runtime/vue/components/billing/UsageHistoryEvent.vue.d.ts +4 -0
- package/dist/runtime/vue/components/billing/WithdrawalButton.css +1 -0
- package/dist/runtime/vue/components/billing/WithdrawalButton.d.vue.ts +33 -0
- package/dist/runtime/vue/components/billing/WithdrawalButton.vue +93 -0
- package/dist/runtime/vue/components/billing/WithdrawalButton.vue.d.ts +33 -0
- package/dist/runtime/vue/components/billing/billing-history.d.ts +43 -0
- package/dist/runtime/vue/components/billing/billing-history.js +10 -0
- package/dist/runtime/vue/components/billing/billing-links.d.ts +9 -0
- package/dist/runtime/vue/components/billing/billing-links.js +17 -0
- package/dist/runtime/vue/components/billing/cancel-flow.d.ts +102 -0
- package/dist/runtime/vue/components/billing/cancel-flow.js +120 -0
- package/dist/runtime/vue/components/billing/pricing-table.d.ts +195 -0
- package/dist/runtime/vue/components/billing/pricing-table.js +10 -0
- package/dist/runtime/vue/components/billing/upgrade-prompt.d.ts +38 -0
- package/dist/runtime/vue/components/billing/upgrade-prompt.js +30 -0
- package/dist/runtime/vue/components/billing/usage-history.d.ts +28 -0
- package/dist/runtime/vue/components/billing/usage-history.js +8 -0
- package/dist/runtime/vue/components/billing/withdrawal-button.d.ts +44 -0
- package/dist/runtime/vue/components/billing/withdrawal-button.js +71 -0
- package/dist/runtime/vue/components/renamed-billing-links.d.ts +1 -0
- package/dist/runtime/vue/components/renamed-billing-links.js +4 -0
- package/dist/runtime/vue/components/renamed-storage-image.d.ts +1 -0
- package/dist/runtime/vue/components/renamed-storage-image.js +3 -0
- package/dist/runtime/vue/components/shared.css +1 -0
- package/dist/runtime/vue/components/shell/AccessDenied.css +1 -0
- package/dist/runtime/vue/components/shell/AccessDenied.d.vue.ts +54 -0
- package/dist/runtime/vue/components/shell/AccessDenied.vue +158 -0
- package/dist/runtime/vue/components/shell/AccessDenied.vue.d.ts +54 -0
- package/dist/runtime/vue/components/shell/AccessDeniedPage.d.vue.ts +10 -0
- package/dist/runtime/vue/components/shell/AccessDeniedPage.vue +16 -0
- package/dist/runtime/vue/components/shell/AccessDeniedPage.vue.d.ts +10 -0
- package/dist/runtime/vue/components/shell/AccountMenu.css +1 -0
- package/dist/runtime/vue/components/shell/AccountMenu.d.vue.ts +3 -0
- package/dist/runtime/vue/components/shell/AccountMenu.vue +85 -0
- package/dist/runtime/vue/components/shell/AccountMenu.vue.d.ts +3 -0
- package/dist/runtime/vue/components/shell/AiLabel.css +1 -0
- package/dist/runtime/vue/components/shell/AiLabel.d.vue.ts +31 -0
- package/dist/runtime/vue/components/shell/AiLabel.vue +39 -0
- package/dist/runtime/vue/components/shell/AiLabel.vue.d.ts +31 -0
- package/dist/runtime/vue/components/shell/AppShell.css +1 -0
- package/dist/runtime/vue/components/shell/AppShell.d.vue.ts +61 -0
- package/dist/runtime/vue/components/shell/AppShell.vue +90 -0
- package/dist/runtime/vue/components/shell/AppShell.vue.d.ts +61 -0
- package/dist/runtime/vue/components/shell/BackendNotices.d.vue.ts +17 -0
- package/dist/runtime/vue/components/shell/BackendNotices.vue +34 -0
- package/dist/runtime/vue/components/shell/BackendNotices.vue.d.ts +17 -0
- package/dist/runtime/vue/components/shell/ConfirmDialog.css +1 -0
- package/dist/runtime/vue/components/shell/ConfirmDialog.d.vue.ts +11 -0
- package/dist/runtime/vue/components/shell/ConfirmDialog.vue +55 -0
- package/dist/runtime/vue/components/shell/ConfirmDialog.vue.d.ts +11 -0
- package/dist/runtime/vue/components/shell/ConnectionStatus.css +1 -0
- package/dist/runtime/vue/components/shell/ConnectionStatus.d.vue.ts +25 -0
- package/dist/runtime/vue/components/shell/ConnectionStatus.vue +66 -0
- package/dist/runtime/vue/components/shell/ConnectionStatus.vue.d.ts +25 -0
- package/dist/runtime/vue/components/shell/ContactForm.css +1 -0
- package/dist/runtime/vue/components/shell/ContactForm.d.vue.ts +23 -0
- package/dist/runtime/vue/components/shell/ContactForm.vue +108 -0
- package/dist/runtime/vue/components/shell/ContactForm.vue.d.ts +23 -0
- package/dist/runtime/vue/components/shell/ErrorPage.d.vue.ts +8 -0
- package/dist/runtime/vue/components/shell/ErrorPage.vue +21 -0
- package/dist/runtime/vue/components/shell/ErrorPage.vue.d.ts +8 -0
- package/dist/runtime/vue/components/shell/FrameConnectionStatus.d.vue.ts +3 -0
- package/dist/runtime/vue/components/shell/FrameConnectionStatus.vue +10 -0
- package/dist/runtime/vue/components/shell/FrameConnectionStatus.vue.d.ts +3 -0
- package/dist/runtime/vue/components/shell/FrameMain.d.vue.ts +22 -0
- package/dist/runtime/vue/components/shell/FrameMain.vue +51 -0
- package/dist/runtime/vue/components/shell/FrameMain.vue.d.ts +22 -0
- package/dist/runtime/vue/components/shell/Gate.css +1 -0
- package/dist/runtime/vue/components/shell/Gate.d.vue.ts +49 -0
- package/dist/runtime/vue/components/shell/Gate.vue +148 -0
- package/dist/runtime/vue/components/shell/Gate.vue.d.ts +49 -0
- package/dist/runtime/vue/components/shell/GateQuota.d.vue.ts +34 -0
- package/dist/runtime/vue/components/shell/GateQuota.vue +74 -0
- package/dist/runtime/vue/components/shell/GateQuota.vue.d.ts +34 -0
- package/dist/runtime/vue/components/shell/LegalDataMap.d.vue.ts +7 -0
- package/dist/runtime/vue/components/shell/LegalDataMap.vue +34 -0
- package/dist/runtime/vue/components/shell/LegalDataMap.vue.d.ts +7 -0
- package/dist/runtime/vue/components/shell/LegalDocument.css +1 -0
- package/dist/runtime/vue/components/shell/LegalDocument.d.vue.ts +7 -0
- package/dist/runtime/vue/components/shell/LegalDocument.vue +248 -0
- package/dist/runtime/vue/components/shell/LegalDocument.vue.d.ts +7 -0
- package/dist/runtime/vue/components/shell/LegalProcessors.d.vue.ts +7 -0
- package/dist/runtime/vue/components/shell/LegalProcessors.vue +49 -0
- package/dist/runtime/vue/components/shell/LegalProcessors.vue.d.ts +7 -0
- package/dist/runtime/vue/components/shell/LegalStorage.d.vue.ts +7 -0
- package/dist/runtime/vue/components/shell/LegalStorage.vue +47 -0
- package/dist/runtime/vue/components/shell/LegalStorage.vue.d.ts +7 -0
- package/dist/runtime/vue/components/shell/ListPager.d.vue.ts +8 -0
- package/dist/runtime/vue/components/shell/ListPager.vue +38 -0
- package/dist/runtime/vue/components/shell/ListPager.vue.d.ts +8 -0
- package/dist/runtime/vue/components/shell/NoticeAnnouncement.css +1 -0
- package/dist/runtime/vue/components/shell/NoticeAnnouncement.d.vue.ts +8 -0
- package/dist/runtime/vue/components/shell/NoticeAnnouncement.vue +108 -0
- package/dist/runtime/vue/components/shell/NoticeAnnouncement.vue.d.ts +8 -0
- package/dist/runtime/vue/components/shell/NoticeDeletion.css +1 -0
- package/dist/runtime/vue/components/shell/NoticeDeletion.d.vue.ts +7 -0
- package/dist/runtime/vue/components/shell/NoticeDeletion.vue +68 -0
- package/dist/runtime/vue/components/shell/NoticeDeletion.vue.d.ts +7 -0
- package/dist/runtime/vue/components/shell/NoticeGift.css +1 -0
- package/dist/runtime/vue/components/shell/NoticeGift.d.vue.ts +14 -0
- package/dist/runtime/vue/components/shell/NoticeGift.vue +138 -0
- package/dist/runtime/vue/components/shell/NoticeGift.vue.d.ts +14 -0
- package/dist/runtime/vue/components/shell/NoticeImpersonation.css +1 -0
- package/dist/runtime/vue/components/shell/NoticeImpersonation.d.vue.ts +14 -0
- package/dist/runtime/vue/components/shell/NoticeImpersonation.vue +90 -0
- package/dist/runtime/vue/components/shell/NoticeImpersonation.vue.d.ts +14 -0
- package/dist/runtime/vue/components/shell/NoticeLowCredits.css +1 -0
- package/dist/runtime/vue/components/shell/NoticeLowCredits.d.vue.ts +50 -0
- package/dist/runtime/vue/components/shell/NoticeLowCredits.vue +170 -0
- package/dist/runtime/vue/components/shell/NoticeLowCredits.vue.d.ts +50 -0
- package/dist/runtime/vue/components/shell/NoticeMaintenance.css +1 -0
- package/dist/runtime/vue/components/shell/NoticeMaintenance.d.vue.ts +7 -0
- package/dist/runtime/vue/components/shell/NoticeMaintenance.vue +35 -0
- package/dist/runtime/vue/components/shell/NoticeMaintenance.vue.d.ts +7 -0
- package/dist/runtime/vue/components/shell/NoticePastDue.css +1 -0
- package/dist/runtime/vue/components/shell/NoticePastDue.d.vue.ts +7 -0
- package/dist/runtime/vue/components/shell/NoticePastDue.vue +64 -0
- package/dist/runtime/vue/components/shell/NoticePastDue.vue.d.ts +7 -0
- package/dist/runtime/vue/components/shell/NotificationInbox.css +1 -0
- package/dist/runtime/vue/components/shell/NotificationInbox.d.vue.ts +18 -0
- package/dist/runtime/vue/components/shell/NotificationInbox.vue +78 -0
- package/dist/runtime/vue/components/shell/NotificationInbox.vue.d.ts +18 -0
- package/dist/runtime/vue/components/shell/NotificationInboxBell.d.vue.ts +3 -0
- package/dist/runtime/vue/components/shell/NotificationInboxBell.vue +37 -0
- package/dist/runtime/vue/components/shell/NotificationInboxBell.vue.d.ts +3 -0
- package/dist/runtime/vue/components/shell/NotificationInboxItem.d.vue.ts +4 -0
- package/dist/runtime/vue/components/shell/NotificationInboxItem.vue +48 -0
- package/dist/runtime/vue/components/shell/NotificationInboxItem.vue.d.ts +4 -0
- package/dist/runtime/vue/components/shell/PageFrame.d.vue.ts +35 -0
- package/dist/runtime/vue/components/shell/PageFrame.vue +79 -0
- package/dist/runtime/vue/components/shell/PageFrame.vue.d.ts +35 -0
- package/dist/runtime/vue/components/shell/PagedList.d.vue.ts +46 -0
- package/dist/runtime/vue/components/shell/PagedList.vue +98 -0
- package/dist/runtime/vue/components/shell/PagedList.vue.d.ts +46 -0
- package/dist/runtime/vue/components/shell/ReportAppeal.d.vue.ts +7 -0
- package/dist/runtime/vue/components/shell/ReportAppeal.vue +90 -0
- package/dist/runtime/vue/components/shell/ReportAppeal.vue.d.ts +7 -0
- package/dist/runtime/vue/components/shell/ReportNotice.css +1 -0
- package/dist/runtime/vue/components/shell/ReportNotice.d.vue.ts +3 -0
- package/dist/runtime/vue/components/shell/ReportNotice.vue +158 -0
- package/dist/runtime/vue/components/shell/ReportNotice.vue.d.ts +3 -0
- package/dist/runtime/vue/components/shell/UploadField.css +1 -0
- package/dist/runtime/vue/components/shell/UploadField.d.vue.ts +29 -0
- package/dist/runtime/vue/components/shell/UploadField.vue +74 -0
- package/dist/runtime/vue/components/shell/UploadField.vue.d.ts +29 -0
- package/dist/runtime/vue/components/shell/WorkspaceSwitcher.css +1 -0
- package/dist/runtime/vue/components/shell/WorkspaceSwitcher.d.vue.ts +3 -0
- package/dist/runtime/vue/components/shell/WorkspaceSwitcher.vue +126 -0
- package/dist/runtime/vue/components/shell/WorkspaceSwitcher.vue.d.ts +3 -0
- package/dist/runtime/vue/components/shell/access-denied.d.ts +27 -0
- package/dist/runtime/vue/components/shell/access-denied.js +1 -0
- package/dist/runtime/vue/components/shell/ai-label.d.ts +5 -0
- package/dist/runtime/vue/components/shell/ai-label.js +0 -0
- package/dist/runtime/vue/components/shell/app-shell.d.ts +11 -0
- package/dist/runtime/vue/components/shell/app-shell.js +1 -0
- package/dist/runtime/vue/components/shell/connection-status.d.ts +24 -0
- package/dist/runtime/vue/components/shell/connection-status.js +31 -0
- package/dist/runtime/vue/components/shell/contact-form.d.ts +15 -0
- package/dist/runtime/vue/components/shell/contact-form.js +0 -0
- package/dist/runtime/vue/components/shell/gate.d.ts +76 -0
- package/dist/runtime/vue/components/shell/gate.js +0 -0
- package/dist/runtime/vue/components/shell/legal.d.ts +24 -0
- package/dist/runtime/vue/components/shell/legal.js +69 -0
- package/dist/runtime/vue/components/shell/notices.d.ts +99 -0
- package/dist/runtime/vue/components/shell/notices.js +6 -0
- package/dist/runtime/vue/components/shell/notification-inbox.d.ts +11 -0
- package/dist/runtime/vue/components/shell/notification-inbox.js +0 -0
- package/dist/runtime/vue/components/shell/report-form.d.ts +1 -0
- package/dist/runtime/vue/components/shell/report-form.js +117 -0
- package/dist/runtime/vue/components/shell/upload-field.d.ts +16 -0
- package/dist/runtime/vue/components/shell/upload-field.js +0 -0
- package/dist/runtime/vue/components/tokens.css +1 -0
- package/dist/runtime/vue/components/workspaces/AcceptInvitation.css +1 -0
- package/dist/runtime/vue/components/workspaces/AcceptInvitation.d.vue.ts +52 -0
- package/dist/runtime/vue/components/workspaces/AcceptInvitation.vue +156 -0
- package/dist/runtime/vue/components/workspaces/AcceptInvitation.vue.d.ts +52 -0
- package/dist/runtime/vue/components/workspaces/AcceptInvitationActions.css +1 -0
- package/dist/runtime/vue/components/workspaces/AcceptInvitationActions.d.vue.ts +4 -0
- package/dist/runtime/vue/components/workspaces/AcceptInvitationActions.vue +30 -0
- package/dist/runtime/vue/components/workspaces/AcceptInvitationActions.vue.d.ts +4 -0
- package/dist/runtime/vue/components/workspaces/AuditLog.css +1 -0
- package/dist/runtime/vue/components/workspaces/AuditLog.d.vue.ts +185 -0
- package/dist/runtime/vue/components/workspaces/AuditLog.vue +77 -0
- package/dist/runtime/vue/components/workspaces/AuditLog.vue.d.ts +185 -0
- package/dist/runtime/vue/components/workspaces/AuditLogEvent.css +1 -0
- package/dist/runtime/vue/components/workspaces/AuditLogEvent.d.vue.ts +4 -0
- package/dist/runtime/vue/components/workspaces/AuditLogEvent.vue +30 -0
- package/dist/runtime/vue/components/workspaces/AuditLogEvent.vue.d.ts +4 -0
- package/dist/runtime/vue/components/workspaces/WorkspaceBilling.css +1 -0
- package/dist/runtime/vue/components/workspaces/WorkspaceBilling.d.vue.ts +4 -0
- package/dist/runtime/vue/components/workspaces/WorkspaceBilling.vue +236 -0
- package/dist/runtime/vue/components/workspaces/WorkspaceBilling.vue.d.ts +4 -0
- package/dist/runtime/vue/components/workspaces/WorkspaceCredits.css +1 -0
- package/dist/runtime/vue/components/workspaces/WorkspaceCredits.d.vue.ts +4 -0
- package/dist/runtime/vue/components/workspaces/WorkspaceCredits.vue +56 -0
- package/dist/runtime/vue/components/workspaces/WorkspaceCredits.vue.d.ts +4 -0
- package/dist/runtime/vue/components/workspaces/WorkspaceList.css +1 -0
- package/dist/runtime/vue/components/workspaces/WorkspaceList.d.vue.ts +4 -0
- package/dist/runtime/vue/components/workspaces/WorkspaceList.vue +92 -0
- package/dist/runtime/vue/components/workspaces/WorkspaceList.vue.d.ts +4 -0
- package/dist/runtime/vue/components/workspaces/WorkspaceSettings.css +1 -0
- package/dist/runtime/vue/components/workspaces/WorkspaceSettings.d.vue.ts +117 -0
- package/dist/runtime/vue/components/workspaces/WorkspaceSettings.vue +216 -0
- package/dist/runtime/vue/components/workspaces/WorkspaceSettings.vue.d.ts +117 -0
- package/dist/runtime/vue/components/workspaces/accept-invitation.d.ts +21 -0
- package/dist/runtime/vue/components/workspaces/accept-invitation.js +10 -0
- package/dist/runtime/vue/components/workspaces/audit-log.d.ts +29 -0
- package/dist/runtime/vue/components/workspaces/audit-log.js +33 -0
- package/dist/runtime/vue/components/workspaces/workspace-billing.d.ts +77 -0
- package/dist/runtime/vue/components/workspaces/workspace-billing.js +74 -0
- package/dist/runtime/vue/components/workspaces/workspace-settings.d.ts +81 -0
- package/dist/runtime/vue/components/workspaces/workspace-settings.js +10 -0
- package/dist/runtime/vue/composables/base-aliases.d.ts +8 -0
- package/dist/runtime/vue/composables/base-aliases.js +2 -0
- package/dist/runtime/vue/composables/billing-format.d.ts +14 -0
- package/dist/runtime/vue/composables/billing-format.js +40 -0
- package/dist/runtime/vue/composables/billing-provider.d.ts +38 -0
- package/dist/runtime/vue/composables/billing-provider.js +160 -0
- package/dist/runtime/vue/composables/use-access.d.ts +154 -0
- package/dist/runtime/vue/composables/use-access.js +100 -0
- package/dist/runtime/vue/composables/use-account.d.ts +120 -0
- package/dist/runtime/vue/composables/use-account.js +60 -0
- package/dist/runtime/vue/composables/use-activation.d.ts +89 -0
- package/dist/runtime/vue/composables/use-activation.js +74 -0
- package/dist/runtime/vue/composables/use-admin.d.ts +149 -0
- package/dist/runtime/vue/composables/use-admin.js +97 -0
- package/dist/runtime/vue/composables/use-ai-costs.d.ts +42 -0
- package/dist/runtime/vue/composables/use-ai-costs.js +38 -0
- package/dist/runtime/vue/composables/use-ai-label.d.ts +62 -0
- package/dist/runtime/vue/composables/use-ai-label.js +47 -0
- package/dist/runtime/vue/composables/use-ai-stream.d.ts +71 -0
- package/dist/runtime/vue/composables/use-ai-stream.js +126 -0
- package/dist/runtime/vue/composables/use-announcements.d.ts +110 -0
- package/dist/runtime/vue/composables/use-announcements.js +78 -0
- package/dist/runtime/vue/composables/use-app-shell.d.ts +131 -0
- package/dist/runtime/vue/composables/use-app-shell.js +206 -0
- package/dist/runtime/vue/composables/use-audit-log.d.ts +90 -0
- package/dist/runtime/vue/composables/use-audit-log.js +44 -0
- package/dist/runtime/vue/composables/use-auth.d.ts +71 -0
- package/dist/runtime/vue/composables/use-auth.js +18 -0
- package/dist/runtime/vue/composables/use-backend-config.d.ts +8 -0
- package/dist/runtime/vue/composables/use-backend-config.js +17 -0
- package/dist/runtime/vue/composables/use-backend-page-path.d.ts +18 -0
- package/dist/runtime/vue/composables/use-backend-page-path.js +33 -0
- package/dist/runtime/vue/composables/use-billing.d.ts +795 -0
- package/dist/runtime/vue/composables/use-billing.js +144 -0
- package/dist/runtime/vue/composables/use-campaign.d.ts +40 -0
- package/dist/runtime/vue/composables/use-campaign.js +31 -0
- package/dist/runtime/vue/composables/use-chat.d.ts +72 -0
- package/dist/runtime/vue/composables/use-chat.js +69 -0
- package/dist/runtime/vue/composables/use-consents.d.ts +144 -0
- package/dist/runtime/vue/composables/use-consents.js +109 -0
- package/dist/runtime/vue/composables/use-contact-form.d.ts +104 -0
- package/dist/runtime/vue/composables/use-contact-form.js +141 -0
- package/dist/runtime/vue/composables/use-credits.d.ts +95 -0
- package/dist/runtime/vue/composables/use-credits.js +68 -0
- package/dist/runtime/vue/composables/use-deletion-notice.d.ts +45 -0
- package/dist/runtime/vue/composables/use-deletion-notice.js +38 -0
- package/dist/runtime/vue/composables/use-email-change.d.ts +57 -0
- package/dist/runtime/vue/composables/use-email-change.js +71 -0
- package/dist/runtime/vue/composables/use-email-link.d.ts +26 -0
- package/dist/runtime/vue/composables/use-email-link.js +62 -0
- package/dist/runtime/vue/composables/use-email-preferences.d.ts +90 -0
- package/dist/runtime/vue/composables/use-email-preferences.js +40 -0
- package/dist/runtime/vue/composables/use-email-status.d.ts +59 -0
- package/dist/runtime/vue/composables/use-email-status.js +20 -0
- package/dist/runtime/vue/composables/use-experiment.d.ts +75 -0
- package/dist/runtime/vue/composables/use-experiment.js +60 -0
- package/dist/runtime/vue/composables/use-features.d.ts +74 -0
- package/dist/runtime/vue/composables/use-features.js +31 -0
- package/dist/runtime/vue/composables/use-flags.d.ts +98 -0
- package/dist/runtime/vue/composables/use-flags.js +50 -0
- package/dist/runtime/vue/composables/use-funnel.d.ts +32 -0
- package/dist/runtime/vue/composables/use-funnel.js +20 -0
- package/dist/runtime/vue/composables/use-gift-list.d.ts +60 -0
- package/dist/runtime/vue/composables/use-gift-list.js +104 -0
- package/dist/runtime/vue/composables/use-gifts.d.ts +90 -0
- package/dist/runtime/vue/composables/use-gifts.js +68 -0
- package/dist/runtime/vue/composables/use-how-did-you-hear.d.ts +46 -0
- package/dist/runtime/vue/composables/use-how-did-you-hear.js +51 -0
- package/dist/runtime/vue/composables/use-human-check.d.ts +57 -0
- package/dist/runtime/vue/composables/use-human-check.js +14 -0
- package/dist/runtime/vue/composables/use-inbox-admin.d.ts +43 -0
- package/dist/runtime/vue/composables/use-inbox-admin.js +31 -0
- package/dist/runtime/vue/composables/use-job-queue.d.ts +108 -0
- package/dist/runtime/vue/composables/use-job-queue.js +47 -0
- package/dist/runtime/vue/composables/use-job.d.ts +68 -0
- package/dist/runtime/vue/composables/use-job.js +30 -0
- package/dist/runtime/vue/composables/use-keep-account.d.ts +20 -0
- package/dist/runtime/vue/composables/use-keep-account.js +38 -0
- package/dist/runtime/vue/composables/use-labels.d.ts +67 -0
- package/dist/runtime/vue/composables/use-labels.js +114 -0
- package/dist/runtime/vue/composables/use-login-flow.d.ts +167 -0
- package/dist/runtime/vue/composables/use-login-flow.js +284 -0
- package/dist/runtime/vue/composables/use-notification-inbox.d.ts +81 -0
- package/dist/runtime/vue/composables/use-notification-inbox.js +96 -0
- package/dist/runtime/vue/composables/use-notifications.d.ts +111 -0
- package/dist/runtime/vue/composables/use-notifications.js +108 -0
- package/dist/runtime/vue/composables/use-onboarding.d.ts +87 -0
- package/dist/runtime/vue/composables/use-onboarding.js +86 -0
- package/dist/runtime/vue/composables/use-orders.d.ts +83 -0
- package/dist/runtime/vue/composables/use-orders.js +44 -0
- package/dist/runtime/vue/composables/use-passkeys.d.ts +76 -0
- package/dist/runtime/vue/composables/use-passkeys.js +66 -0
- package/dist/runtime/vue/composables/use-pricing.d.ts +136 -0
- package/dist/runtime/vue/composables/use-pricing.js +135 -0
- package/dist/runtime/vue/composables/use-push-subscription.d.ts +67 -0
- package/dist/runtime/vue/composables/use-push-subscription.js +85 -0
- package/dist/runtime/vue/composables/use-reauthentication.d.ts +105 -0
- package/dist/runtime/vue/composables/use-reauthentication.js +168 -0
- package/dist/runtime/vue/composables/use-referral-admin.d.ts +30 -0
- package/dist/runtime/vue/composables/use-referral-admin.js +30 -0
- package/dist/runtime/vue/composables/use-referral-invite.d.ts +29 -0
- package/dist/runtime/vue/composables/use-referral-invite.js +61 -0
- package/dist/runtime/vue/composables/use-referrals.d.ts +87 -0
- package/dist/runtime/vue/composables/use-referrals.js +109 -0
- package/dist/runtime/vue/composables/use-return-path.d.ts +21 -0
- package/dist/runtime/vue/composables/use-return-path.js +8 -0
- package/dist/runtime/vue/composables/use-revenue.d.ts +45 -0
- package/dist/runtime/vue/composables/use-revenue.js +42 -0
- package/dist/runtime/vue/composables/use-sandbox-inbox.d.ts +64 -0
- package/dist/runtime/vue/composables/use-sandbox-inbox.js +55 -0
- package/dist/runtime/vue/composables/use-search.d.ts +39 -0
- package/dist/runtime/vue/composables/use-search.js +30 -0
- package/dist/runtime/vue/composables/use-sessions.d.ts +79 -0
- package/dist/runtime/vue/composables/use-sessions.js +55 -0
- package/dist/runtime/vue/composables/use-share-link.d.ts +59 -0
- package/dist/runtime/vue/composables/use-share-link.js +51 -0
- package/dist/runtime/vue/composables/use-suppressions-admin.d.ts +38 -0
- package/dist/runtime/vue/composables/use-suppressions-admin.js +32 -0
- package/dist/runtime/vue/composables/use-upload-field.d.ts +85 -0
- package/dist/runtime/vue/composables/use-upload-field.js +129 -0
- package/dist/runtime/vue/composables/use-usage.d.ts +68 -0
- package/dist/runtime/vue/composables/use-usage.js +44 -0
- package/dist/runtime/vue/composables/use-waitlist-admin.d.ts +56 -0
- package/dist/runtime/vue/composables/use-waitlist-admin.js +43 -0
- package/dist/runtime/vue/composables/use-waitlist-step.d.ts +1 -0
- package/dist/runtime/vue/composables/use-waitlist-step.js +11 -0
- package/dist/runtime/vue/composables/use-waitlist.d.ts +184 -0
- package/dist/runtime/vue/composables/use-waitlist.js +178 -0
- package/dist/runtime/vue/composables/use-webhook-log.d.ts +34 -0
- package/dist/runtime/vue/composables/use-webhook-log.js +30 -0
- package/dist/runtime/vue/composables/use-workflow.d.ts +37 -0
- package/dist/runtime/vue/composables/use-workflow.js +10 -0
- package/dist/runtime/vue/composables/use-workspace.d.ts +149 -0
- package/dist/runtime/vue/composables/use-workspace.js +126 -0
- package/dist/runtime/vue/middleware/page-access.d.ts +13 -0
- package/dist/runtime/vue/middleware/page-access.js +18 -0
- package/dist/runtime/vue/organization-client.d.ts +15 -0
- package/dist/runtime/vue/organization-client.js +65 -0
- package/dist/runtime/vue/pages/accept-invitation.d.vue.ts +3 -0
- package/dist/runtime/vue/pages/accept-invitation.vue +16 -0
- package/dist/runtime/vue/pages/accept-invitation.vue.d.ts +3 -0
- package/dist/runtime/vue/pages/accessibility.d.vue.ts +3 -0
- package/dist/runtime/vue/pages/accessibility.vue +17 -0
- package/dist/runtime/vue/pages/accessibility.vue.d.ts +3 -0
- package/dist/runtime/vue/pages/admin.d.vue.ts +3 -0
- package/dist/runtime/vue/pages/admin.vue +45 -0
- package/dist/runtime/vue/pages/admin.vue.d.ts +3 -0
- package/dist/runtime/vue/pages/gifts.d.vue.ts +3 -0
- package/dist/runtime/vue/pages/gifts.vue +17 -0
- package/dist/runtime/vue/pages/gifts.vue.d.ts +3 -0
- package/dist/runtime/vue/pages/invite.d.vue.ts +3 -0
- package/dist/runtime/vue/pages/invite.vue +18 -0
- package/dist/runtime/vue/pages/invite.vue.d.ts +3 -0
- package/dist/runtime/vue/pages/keep-account.d.vue.ts +3 -0
- package/dist/runtime/vue/pages/keep-account.vue +22 -0
- package/dist/runtime/vue/pages/keep-account.vue.d.ts +3 -0
- package/dist/runtime/vue/pages/login.d.vue.ts +3 -0
- package/dist/runtime/vue/pages/login.vue +44 -0
- package/dist/runtime/vue/pages/login.vue.d.ts +3 -0
- package/dist/runtime/vue/pages/pricing.d.vue.ts +3 -0
- package/dist/runtime/vue/pages/pricing.vue +39 -0
- package/dist/runtime/vue/pages/pricing.vue.d.ts +3 -0
- package/dist/runtime/vue/pages/privacy.d.vue.ts +3 -0
- package/dist/runtime/vue/pages/privacy.vue +17 -0
- package/dist/runtime/vue/pages/privacy.vue.d.ts +3 -0
- package/dist/runtime/vue/pages/profile.d.vue.ts +3 -0
- package/dist/runtime/vue/pages/profile.vue +16 -0
- package/dist/runtime/vue/pages/profile.vue.d.ts +3 -0
- package/dist/runtime/vue/pages/referral.d.vue.ts +3 -0
- package/dist/runtime/vue/pages/referral.vue +18 -0
- package/dist/runtime/vue/pages/referral.vue.d.ts +3 -0
- package/dist/runtime/vue/pages/report.d.vue.ts +3 -0
- package/dist/runtime/vue/pages/report.vue +29 -0
- package/dist/runtime/vue/pages/report.vue.d.ts +3 -0
- package/dist/runtime/vue/pages/security.d.vue.ts +3 -0
- package/dist/runtime/vue/pages/security.vue +22 -0
- package/dist/runtime/vue/pages/security.vue.d.ts +3 -0
- package/dist/runtime/vue/pages/settings.d.vue.ts +3 -0
- package/dist/runtime/vue/pages/settings.vue +26 -0
- package/dist/runtime/vue/pages/settings.vue.d.ts +3 -0
- package/dist/runtime/vue/pages/subprocessors.d.vue.ts +3 -0
- package/dist/runtime/vue/pages/subprocessors.vue +17 -0
- package/dist/runtime/vue/pages/subprocessors.vue.d.ts +3 -0
- package/dist/runtime/vue/pages/terms.d.vue.ts +3 -0
- package/dist/runtime/vue/pages/terms.vue +17 -0
- package/dist/runtime/vue/pages/terms.vue.d.ts +3 -0
- package/dist/runtime/vue/pages/unsubscribe.d.vue.ts +3 -0
- package/dist/runtime/vue/pages/unsubscribe.vue +28 -0
- package/dist/runtime/vue/pages/unsubscribe.vue.d.ts +3 -0
- package/dist/runtime/vue/pages/waitlist.d.vue.ts +3 -0
- package/dist/runtime/vue/pages/waitlist.vue +18 -0
- package/dist/runtime/vue/pages/waitlist.vue.d.ts +3 -0
- package/dist/runtime/vue/pages/welcome.d.vue.ts +3 -0
- package/dist/runtime/vue/pages/welcome.vue +20 -0
- package/dist/runtime/vue/pages/welcome.vue.d.ts +3 -0
- package/dist/runtime/vue/parts.d.ts +204 -0
- package/dist/runtime/vue/parts.js +0 -0
- package/dist/runtime/vue/passkey-client.d.ts +65 -0
- package/dist/runtime/vue/passkey-client.js +119 -0
- package/dist/runtime/vue/plugins/checkout-return.d.ts +15 -0
- package/dist/runtime/vue/plugins/checkout-return.js +21 -0
- package/dist/runtime/vue/plugins/email-presence.d.ts +12 -0
- package/dist/runtime/vue/plugins/email-presence.js +14 -0
- package/dist/runtime/vue/plugins/first-touch.d.ts +9 -0
- package/dist/runtime/vue/plugins/first-touch.js +17 -0
- package/dist/runtime/vue/plugins/locale-sync.d.ts +10 -0
- package/dist/runtime/vue/plugins/locale-sync.js +20 -0
- package/dist/runtime/vue/plugins/monitoring-log.client.d.ts +10 -0
- package/dist/runtime/vue/plugins/monitoring-log.client.js +26 -0
- package/dist/runtime/vue/plugins/noindex.d.ts +13 -0
- package/dist/runtime/vue/plugins/noindex.js +11 -0
- package/dist/runtime/vue/plugins/onboarding-redirect.d.ts +14 -0
- package/dist/runtime/vue/plugins/onboarding-redirect.js +23 -0
- package/dist/runtime/vue/plugins/passkey-ceremony.d.ts +9 -0
- package/dist/runtime/vue/plugins/passkey-ceremony.js +8 -0
- package/dist/runtime/vue/plugins/protection.client.d.ts +9 -0
- package/dist/runtime/vue/plugins/protection.client.js +22 -0
- package/dist/runtime/vue/plugins/session-ended.d.ts +14 -0
- package/dist/runtime/vue/plugins/session-ended.js +22 -0
- package/dist/runtime/vue/plugins/trusted-types.client.d.ts +8 -0
- package/dist/runtime/vue/plugins/trusted-types.client.js +9 -0
- package/dist/runtime/vue/protection/challenge.d.ts +9 -0
- package/dist/runtime/vue/protection/challenge.js +93 -0
- package/dist/runtime/vue/protection/state.d.ts +172 -0
- package/dist/runtime/vue/protection/state.js +74 -0
- package/dist/runtime/vue/trusted-types.d.ts +27 -0
- package/dist/runtime/vue/trusted-types.js +46 -0
- package/dist/runtime/vue/utils/access-rules.d.ts +45 -0
- package/dist/runtime/vue/utils/access-rules.js +2 -0
- package/dist/runtime/vue/utils/action-state.d.ts +65 -0
- package/dist/runtime/vue/utils/action-state.js +46 -0
- package/dist/runtime/vue/utils/active-locale.d.ts +30 -0
- package/dist/runtime/vue/utils/active-locale.js +28 -0
- package/dist/runtime/vue/utils/admin-changes.d.ts +1 -0
- package/dist/runtime/vue/utils/admin-changes.js +41 -0
- package/dist/runtime/vue/utils/auth-read.d.ts +15 -0
- package/dist/runtime/vue/utils/auth-read.js +8 -0
- package/dist/runtime/vue/utils/auth-result.d.ts +8 -0
- package/dist/runtime/vue/utils/auth-result.js +7 -0
- package/dist/runtime/vue/utils/auth-session.d.ts +48 -0
- package/dist/runtime/vue/utils/auth-session.js +122 -0
- package/dist/runtime/vue/utils/auth-steps.d.ts +30 -0
- package/dist/runtime/vue/utils/auth-steps.js +44 -0
- package/dist/runtime/vue/utils/backend-error.d.ts +22 -0
- package/dist/runtime/vue/utils/backend-error.js +38 -0
- package/dist/runtime/vue/utils/billing-access.d.ts +33 -0
- package/dist/runtime/vue/utils/billing-access.js +20 -0
- package/dist/runtime/vue/utils/cancel-confirm.d.ts +38 -0
- package/dist/runtime/vue/utils/cancel-confirm.js +20 -0
- package/dist/runtime/vue/utils/challenge-caption.d.ts +2 -0
- package/dist/runtime/vue/utils/challenge-caption.js +2 -0
- package/dist/runtime/vue/utils/checkout-return.d.ts +40 -0
- package/dist/runtime/vue/utils/checkout-return.js +40 -0
- package/dist/runtime/vue/utils/confirmation.d.ts +19 -0
- package/dist/runtime/vue/utils/confirmation.js +23 -0
- package/dist/runtime/vue/utils/currency.d.ts +4 -0
- package/dist/runtime/vue/utils/currency.js +60 -0
- package/dist/runtime/vue/utils/cursor-pages.d.ts +37 -0
- package/dist/runtime/vue/utils/cursor-pages.js +42 -0
- package/dist/runtime/vue/utils/email-presence.d.ts +1 -0
- package/dist/runtime/vue/utils/email-presence.js +31 -0
- package/dist/runtime/vue/utils/every-page.d.ts +10 -0
- package/dist/runtime/vue/utils/every-page.js +6 -0
- package/dist/runtime/vue/utils/first-touch.d.ts +1 -0
- package/dist/runtime/vue/utils/first-touch.js +22 -0
- package/dist/runtime/vue/utils/focus-return.d.ts +41 -0
- package/dist/runtime/vue/utils/focus-return.js +60 -0
- package/dist/runtime/vue/utils/frame-notices.d.ts +8 -0
- package/dist/runtime/vue/utils/frame-notices.js +10 -0
- package/dist/runtime/vue/utils/hydrated.d.ts +12 -0
- package/dist/runtime/vue/utils/hydrated.js +11 -0
- package/dist/runtime/vue/utils/intl.d.ts +6 -0
- package/dist/runtime/vue/utils/intl.js +9 -0
- package/dist/runtime/vue/utils/kept-invite.d.ts +12 -0
- package/dist/runtime/vue/utils/kept-invite.js +37 -0
- package/dist/runtime/vue/utils/label-fallback.d.ts +3 -0
- package/dist/runtime/vue/utils/label-fallback.js +2 -0
- package/dist/runtime/vue/utils/label-registry.d.ts +1 -0
- package/dist/runtime/vue/utils/label-registry.js +15 -0
- package/dist/runtime/vue/utils/last-sign-in.d.ts +23 -0
- package/dist/runtime/vue/utils/last-sign-in.js +45 -0
- package/dist/runtime/vue/utils/live-query.d.ts +36 -0
- package/dist/runtime/vue/utils/live-query.js +37 -0
- package/dist/runtime/vue/utils/local-sign-out.d.ts +19 -0
- package/dist/runtime/vue/utils/local-sign-out.js +18 -0
- package/dist/runtime/vue/utils/login-bindings.d.ts +52 -0
- package/dist/runtime/vue/utils/login-bindings.js +78 -0
- package/dist/runtime/vue/utils/meter-unit.d.ts +14 -0
- package/dist/runtime/vue/utils/meter-unit.js +18 -0
- package/dist/runtime/vue/utils/namespace.d.ts +9 -0
- package/dist/runtime/vue/utils/namespace.js +22 -0
- package/dist/runtime/vue/utils/onboarding-redirect.d.ts +25 -0
- package/dist/runtime/vue/utils/onboarding-redirect.js +49 -0
- package/dist/runtime/vue/utils/open-url.d.ts +13 -0
- package/dist/runtime/vue/utils/open-url.js +12 -0
- package/dist/runtime/vue/utils/page-access.d.ts +64 -0
- package/dist/runtime/vue/utils/page-access.js +56 -0
- package/dist/runtime/vue/utils/page-guard.d.ts +30 -0
- package/dist/runtime/vue/utils/page-guard.js +84 -0
- package/dist/runtime/vue/utils/page-rules.d.ts +34 -0
- package/dist/runtime/vue/utils/page-rules.js +35 -0
- package/dist/runtime/vue/utils/page-turns.d.ts +36 -0
- package/dist/runtime/vue/utils/page-turns.js +24 -0
- package/dist/runtime/vue/utils/passkey-signals.d.ts +32 -0
- package/dist/runtime/vue/utils/passkey-signals.js +58 -0
- package/dist/runtime/vue/utils/pricing-bindings.d.ts +51 -0
- package/dist/runtime/vue/utils/pricing-bindings.js +39 -0
- package/dist/runtime/vue/utils/pricing-seo.d.ts +1 -0
- package/dist/runtime/vue/utils/pricing-seo.js +26 -0
- package/dist/runtime/vue/utils/push-device.d.ts +55 -0
- package/dist/runtime/vue/utils/push-device.js +77 -0
- package/dist/runtime/vue/utils/reader.d.ts +1 -0
- package/dist/runtime/vue/utils/reader.js +9 -0
- package/dist/runtime/vue/utils/renamed-component.d.ts +1 -0
- package/dist/runtime/vue/utils/renamed-component.js +17 -0
- package/dist/runtime/vue/utils/roles.d.ts +4 -0
- package/dist/runtime/vue/utils/roles.js +11 -0
- package/dist/runtime/vue/utils/sandbox-code.d.ts +11 -0
- package/dist/runtime/vue/utils/sandbox-code.js +16 -0
- package/dist/runtime/vue/utils/session-end.d.ts +49 -0
- package/dist/runtime/vue/utils/session-end.js +41 -0
- package/dist/runtime/vue/utils/settings-message.d.ts +21 -0
- package/dist/runtime/vue/utils/settings-message.js +6 -0
- package/dist/runtime/vue/utils/shown-first.d.ts +1 -0
- package/dist/runtime/vue/utils/shown-first.js +23 -0
- package/dist/runtime/vue/utils/slug.d.ts +1 -0
- package/dist/runtime/vue/utils/slug.js +7 -0
- package/dist/runtime/vue/utils/storage-choice.d.ts +23 -0
- package/dist/runtime/vue/utils/storage-choice.js +43 -0
- package/dist/runtime/vue/utils/upgrade-offer.d.ts +25 -0
- package/dist/runtime/vue/utils/upgrade-offer.js +18 -0
- package/dist/runtime/vue/utils/vnodes.d.ts +1 -0
- package/dist/runtime/vue/utils/vnodes.js +15 -0
- package/dist/shared/nuxt-backend.2m535CLS.mjs +171 -0
- package/dist/shared/nuxt-backend.C62dpRH3.mjs +27 -0
- package/dist/shared/nuxt-backend.DXEf0rrv.mjs +571 -0
- package/dist/shared/nuxt-backend.Dm1NkY7v.mjs +1154 -0
- package/dist/shared/nuxt-backend.KEzfHO2K.mjs +3562 -0
- package/dist/shared/nuxt-backend.ikObmtHs.mjs +143 -0
- package/dist/types.d.ts +8 -2
- package/package.json +375 -90
- package/skills/nuxt-backend/SKILL.md +142 -0
- package/skills/nuxt-backend/references/api.md +769 -0
- package/skills/nuxt-backend/references/install.md +188 -0
- package/skills/nuxt-backend/references/renames.json +2129 -0
- package/skills/nuxt-backend/references/surface.json +1436 -0
- package/skills/nuxt-backend-ai/SKILL.md +79 -0
- package/skills/nuxt-backend-ai/references/api.md +56 -0
- package/skills/nuxt-backend-auth/SKILL.md +169 -0
- package/skills/nuxt-backend-auth/references/api.md +159 -0
- package/skills/nuxt-backend-billing/SKILL.md +181 -0
- package/skills/nuxt-backend-billing/references/api.md +114 -0
- package/skills/nuxt-backend-data/SKILL.md +91 -0
- package/skills/nuxt-backend-data/references/api.md +79 -0
- package/skills/nuxt-backend-email/SKILL.md +115 -0
- package/skills/nuxt-backend-email/references/api.md +127 -0
- package/skills/nuxt-backend-growth/SKILL.md +47 -0
- package/skills/nuxt-backend-growth/references/api.md +38 -0
- package/skills/nuxt-backend-ship/SKILL.md +187 -0
- package/skills/nuxt-backend-ship/references/api.md +215 -0
- package/skills/nuxt-backend-ui/SKILL.md +84 -0
- package/skills/nuxt-backend-ui/references/api.md +39 -0
- package/skills/nuxt-backend-upgrade/SKILL.md +73 -0
- package/skills/nuxt-backend-upgrade/references/api.md +23 -0
- package/skills/nuxt-backend-upgrade/references/upgrade.md +512 -0
- package/src/convex/access-tickets.ts +188 -0
- package/src/convex/account-data.ts +496 -0
- package/src/convex/activation-rules.ts +149 -0
- package/src/convex/announcements.ts +31 -0
- package/src/convex/app.ts +138 -0
- package/src/convex/auth-secrets.ts +124 -0
- package/src/convex/auth.config.ts +30 -3
- package/src/convex/bytes.ts +10 -0
- package/src/convex/c2pa/cbor.ts +88 -0
- package/src/convex/c2pa/der.ts +108 -0
- package/src/convex/c2pa/formats.ts +309 -0
- package/src/convex/c2pa/jumbf.ts +46 -0
- package/src/convex/c2pa/manifest.ts +195 -0
- package/src/convex/catalog.ts +771 -0
- package/src/convex/client/age-gate.ts +129 -0
- package/src/convex/client/audit.ts +332 -0
- package/src/convex/client/auth-types.ts +387 -0
- package/src/convex/client/better-auth-options.ts +498 -0
- package/src/convex/client/client-address.ts +37 -0
- package/src/convex/client/code-binding.ts +107 -0
- package/src/convex/client/codes.ts +48 -0
- package/src/convex/client/component.ts +181 -0
- package/src/convex/client/devices.ts +205 -0
- package/src/convex/client/email.ts +80 -0
- package/src/convex/client/entities.ts +117 -0
- package/src/convex/client/guards.ts +956 -0
- package/src/convex/client/guest-claim.ts +63 -0
- package/src/convex/client/hooks.ts +79 -0
- package/src/convex/client/identity.ts +8 -0
- package/src/convex/client/index.ts +268 -276
- package/src/convex/client/launch-gate.ts +223 -0
- package/src/convex/client/notices.ts +39 -0
- package/src/convex/client/passkey-only.ts +398 -0
- package/src/convex/client/plugins.ts +211 -0
- package/src/convex/client/refusals.ts +39 -0
- package/src/convex/client/request-origin.ts +109 -0
- package/src/convex/client/request-session.ts +73 -0
- package/src/convex/client/runtime.ts +95 -0
- package/src/convex/client/secret-rotation.ts +113 -0
- package/src/convex/client/sessions.ts +55 -0
- package/src/convex/client/workspaces.ts +150 -0
- package/src/convex/components/backend/_generated/api.ts +132 -0
- package/src/convex/components/backend/_generated/component.ts +5839 -0
- package/src/convex/components/backend/_generated/server.ts +175 -0
- package/src/convex/components/backend/access.ts +441 -0
- package/src/convex/components/backend/account.ts +1069 -0
- package/src/convex/components/backend/adapter.ts +64 -0
- package/src/convex/components/backend/ai.ts +378 -0
- package/src/convex/components/backend/alerts.ts +208 -0
- package/src/convex/components/backend/announcements.ts +275 -0
- package/src/convex/components/backend/audit.ts +341 -0
- package/src/convex/components/backend/billing.ts +756 -0
- package/src/convex/components/backend/consents.ts +168 -0
- package/src/convex/components/backend/convex.config.ts +75 -0
- package/src/convex/components/backend/costs.ts +286 -0
- package/src/convex/components/backend/crons.ts +26 -0
- package/src/convex/components/backend/devices.ts +198 -0
- package/src/convex/components/backend/email.ts +660 -0
- package/src/convex/components/backend/erasures.ts +72 -0
- package/src/convex/components/backend/flags.ts +85 -0
- package/src/convex/components/backend/funnel.ts +596 -0
- package/src/convex/components/backend/gifts.ts +734 -0
- package/src/convex/components/backend/inbound.ts +391 -0
- package/src/convex/components/backend/jobs.ts +944 -0
- package/src/convex/components/backend/keys.ts +50 -0
- package/src/convex/components/backend/lifecycle.ts +355 -0
- package/src/convex/components/backend/lifecycleActivity.ts +29 -0
- package/src/convex/components/backend/maintenance.ts +495 -0
- package/src/convex/components/backend/migrations.ts +120 -0
- package/src/convex/components/backend/monitoring.ts +63 -0
- package/src/convex/components/backend/notifications.ts +532 -0
- package/src/convex/components/backend/onboarding.ts +54 -0
- package/src/convex/components/backend/parties.ts +75 -0
- package/src/convex/components/backend/posture.ts +37 -0
- package/src/convex/components/backend/preferences.ts +690 -0
- package/src/convex/components/backend/push.ts +95 -0
- package/src/convex/components/backend/referrals.ts +761 -0
- package/src/convex/components/backend/reports.ts +609 -0
- package/src/convex/components/backend/schema.ts +2165 -0
- package/src/convex/components/backend/storage.ts +700 -0
- package/src/convex/components/backend/subscriptions.ts +240 -0
- package/src/convex/components/backend/suppressions.ts +115 -0
- package/src/convex/components/backend/waitlist.ts +727 -0
- package/src/convex/components/backend/wake.ts +13 -0
- package/src/convex/components/backend/webhooks.ts +287 -0
- package/src/convex/consent-rules.ts +156 -0
- package/src/convex/constants.ts +191 -0
- package/src/convex/delivery.ts +81 -0
- package/src/convex/email-blocks.ts +119 -0
- package/src/convex/email-helpers.ts +91 -0
- package/src/convex/email-html.ts +20 -0
- package/src/convex/email-posture.ts +233 -0
- package/src/convex/email-preferences.ts +310 -0
- package/src/convex/email-scheme.ts +18 -0
- package/src/convex/email-templates.ts +1020 -0
- package/src/convex/email-theme.ts +201 -0
- package/src/convex/email-validators.ts +27 -0
- package/src/convex/emails/appeal-decided.ts +16 -0
- package/src/convex/emails/content-restricted.ts +29 -0
- package/src/convex/emails/deletion-canceled.ts +8 -0
- package/src/convex/emails/deletion-scheduled.ts +18 -0
- package/src/convex/emails/email-changed.ts +13 -0
- package/src/convex/emails/gift-pass-ending.ts +18 -0
- package/src/convex/emails/gift.ts +18 -0
- package/src/convex/emails/invite.ts +28 -0
- package/src/convex/emails/new-device.ts +21 -0
- package/src/convex/emails/notice-decided.ts +16 -0
- package/src/convex/emails/notice-received.ts +15 -0
- package/src/convex/emails/otp.ts +48 -0
- package/src/convex/emails/passkey-recovered.ts +21 -0
- package/src/convex/emails/renewal-reminder.ts +20 -0
- package/src/convex/emails/topic-confirmation.ts +17 -0
- package/src/convex/emails/waitlist-admitted.ts +16 -0
- package/src/convex/emails/waitlist-confirmation.ts +19 -0
- package/src/convex/emails/welcome.ts +15 -0
- package/src/convex/emails/withdrawal-receipt.ts +16 -0
- package/src/convex/environment.ts +75 -0
- package/src/convex/errors.ts +418 -0
- package/src/convex/events.ts +840 -0
- package/src/convex/files.ts +420 -0
- package/src/convex/flags.ts +344 -0
- package/src/convex/funnel-rules.ts +273 -0
- package/src/convex/inbound-rules.ts +212 -0
- package/src/convex/integrations/access.ts +278 -0
- package/src/convex/integrations/account.ts +1044 -0
- package/src/convex/integrations/admin.ts +510 -0
- package/src/convex/integrations/ai/account-export.ts +53 -0
- package/src/convex/integrations/ai/chat.ts +530 -0
- package/src/convex/integrations/ai/config.ts +747 -0
- package/src/convex/integrations/ai/context.ts +93 -0
- package/src/convex/integrations/ai/costs.ts +80 -0
- package/src/convex/integrations/ai/embeddings.ts +109 -0
- package/src/convex/integrations/ai/job-errors.ts +152 -0
- package/src/convex/integrations/ai/jobs.ts +1268 -0
- package/src/convex/integrations/ai/knowledge.ts +489 -0
- package/src/convex/integrations/ai/metering.ts +408 -0
- package/src/convex/integrations/ai/model-id.ts +16 -0
- package/src/convex/integrations/ai/models.ts +467 -0
- package/src/convex/integrations/ai/moderation.ts +253 -0
- package/src/convex/integrations/ai/pricing.ts +170 -0
- package/src/convex/integrations/ai/provenance.ts +213 -0
- package/src/convex/integrations/ai/setup.ts +58 -0
- package/src/convex/integrations/ai/stream.ts +170 -0
- package/src/convex/integrations/ai.ts +84 -0
- package/src/convex/integrations/announcements.ts +442 -0
- package/src/convex/integrations/audit.ts +523 -0
- package/src/convex/integrations/authorization.ts +366 -0
- package/src/convex/integrations/billing/activity.ts +70 -0
- package/src/convex/integrations/billing/checkout.ts +501 -0
- package/src/convex/integrations/billing/claim-discount.ts +45 -0
- package/src/convex/integrations/billing/context.ts +484 -0
- package/src/convex/integrations/billing/credits.ts +237 -0
- package/src/convex/integrations/billing/customers.ts +369 -0
- package/src/convex/integrations/billing/discounts.ts +96 -0
- package/src/convex/integrations/billing/entitlements.ts +218 -0
- package/src/convex/integrations/billing/erasure.ts +99 -0
- package/src/convex/integrations/billing/events.ts +225 -0
- package/src/convex/integrations/billing/features.ts +91 -0
- package/src/convex/integrations/billing/free-plan.ts +257 -0
- package/src/convex/integrations/billing/functions.ts +506 -0
- package/src/convex/integrations/billing/gift-access.ts +44 -0
- package/src/convex/integrations/billing/gift-manage.ts +281 -0
- package/src/convex/integrations/billing/gift-rules.ts +49 -0
- package/src/convex/integrations/billing/gifts.ts +741 -0
- package/src/convex/integrations/billing/history.ts +233 -0
- package/src/convex/integrations/billing/lifecycle.ts +537 -0
- package/src/convex/integrations/billing/passes.ts +428 -0
- package/src/convex/integrations/billing/pricing.ts +387 -0
- package/src/convex/integrations/billing/provider-client.ts +15 -0
- package/src/convex/integrations/billing/provider-events.ts +220 -0
- package/src/convex/integrations/billing/purchase.ts +346 -0
- package/src/convex/integrations/billing/quotas.ts +205 -0
- package/src/convex/integrations/billing/referral-orders.ts +45 -0
- package/src/convex/integrations/billing/revenue.ts +194 -0
- package/src/convex/integrations/billing/rewards.ts +171 -0
- package/src/convex/integrations/billing/subscriptions.ts +421 -0
- package/src/convex/integrations/billing/types/base.ts +99 -0
- package/src/convex/integrations/billing/types/lifecycle.ts +152 -0
- package/src/convex/integrations/billing/types/options.ts +389 -0
- package/src/convex/integrations/billing/types/records.ts +549 -0
- package/src/convex/integrations/billing/types/revenue.ts +123 -0
- package/src/convex/integrations/billing/types/setup.ts +576 -0
- package/src/convex/integrations/billing/types/surface.ts +626 -0
- package/src/convex/integrations/billing/webhooks.ts +330 -0
- package/src/convex/integrations/billing.ts +263 -0
- package/src/convex/integrations/email-lifecycle.ts +265 -0
- package/src/convex/integrations/email-preferences.ts +417 -0
- package/src/convex/integrations/email-suppressions.ts +176 -0
- package/src/convex/integrations/email-sync.ts +560 -0
- package/src/convex/integrations/email.ts +1224 -0
- package/src/convex/integrations/flags.ts +492 -0
- package/src/convex/integrations/functions.ts +485 -0
- package/src/convex/integrations/health.ts +180 -0
- package/src/convex/integrations/http.ts +198 -0
- package/src/convex/integrations/inbound.ts +712 -0
- package/src/convex/integrations/launch.ts +614 -0
- package/src/convex/integrations/monitoring.ts +259 -0
- package/src/convex/integrations/notifications.ts +590 -0
- package/src/convex/integrations/rate-limit.ts +319 -0
- package/src/convex/integrations/referrals.ts +504 -0
- package/src/convex/integrations/reports.ts +719 -0
- package/src/convex/integrations/retention.ts +196 -0
- package/src/convex/integrations/search.ts +188 -0
- package/src/convex/integrations/storage.ts +595 -0
- package/src/convex/integrations/waitlist.ts +429 -0
- package/src/convex/integrations/webhook-guard.ts +348 -0
- package/src/convex/integrations/webhooks.ts +173 -0
- package/src/convex/integrations/workflows.ts +218 -0
- package/src/convex/jobs-policy.ts +390 -0
- package/src/convex/label-format.ts +73 -0
- package/src/convex/label-groups/access.ts +23 -0
- package/src/convex/label-groups/account.ts +29 -0
- package/src/convex/label-groups/activation.ts +24 -0
- package/src/convex/label-groups/admin.ts +860 -0
- package/src/convex/label-groups/ai.ts +17 -0
- package/src/convex/label-groups/announcement.ts +16 -0
- package/src/convex/label-groups/audit.ts +174 -0
- package/src/convex/label-groups/auth.ts +78 -0
- package/src/convex/label-groups/cancelFlow.ts +54 -0
- package/src/convex/label-groups/connection.ts +15 -0
- package/src/convex/label-groups/consent.ts +44 -0
- package/src/convex/label-groups/contact.ts +26 -0
- package/src/convex/label-groups/credits.ts +29 -0
- package/src/convex/label-groups/deletion.ts +21 -0
- package/src/convex/label-groups/email.ts +209 -0
- package/src/convex/label-groups/errors.ts +119 -0
- package/src/convex/label-groups/feedback.ts +19 -0
- package/src/convex/label-groups/gift.ts +62 -0
- package/src/convex/label-groups/history.ts +27 -0
- package/src/convex/label-groups/impersonation.ts +16 -0
- package/src/convex/label-groups/invitation.ts +27 -0
- package/src/convex/label-groups/legal.ts +147 -0
- package/src/convex/label-groups/maintenance.ts +14 -0
- package/src/convex/label-groups/notifications.ts +91 -0
- package/src/convex/label-groups/onboarding.ts +61 -0
- package/src/convex/label-groups/pastDue.ts +12 -0
- package/src/convex/label-groups/preferences.ts +48 -0
- package/src/convex/label-groups/pricing.ts +97 -0
- package/src/convex/label-groups/profile.ts +41 -0
- package/src/convex/label-groups/quota.ts +27 -0
- package/src/convex/label-groups/reauthenticate.ts +24 -0
- package/src/convex/label-groups/referral.ts +55 -0
- package/src/convex/label-groups/report.ts +58 -0
- package/src/convex/label-groups/security.ts +65 -0
- package/src/convex/label-groups/settings.ts +92 -0
- package/src/convex/label-groups/shell.ts +56 -0
- package/src/convex/label-groups/source.ts +34 -0
- package/src/convex/label-groups/upgrade.ts +22 -0
- package/src/convex/label-groups/upload.ts +21 -0
- package/src/convex/label-groups/usage.ts +14 -0
- package/src/convex/label-groups/waitlist.ts +47 -0
- package/src/convex/label-groups/withdrawal.ts +20 -0
- package/src/convex/label-translations.ts +1836 -0
- package/src/convex/labels.ts +134 -0
- package/src/convex/legal.ts +351 -0
- package/src/convex/lifecycle-flows.ts +91 -0
- package/src/convex/local-origins.ts +25 -0
- package/src/convex/locale.ts +96 -0
- package/src/convex/log.ts +150 -0
- package/src/convex/loopback.ts +20 -0
- package/src/convex/monitoring.ts +550 -0
- package/src/convex/notifications.ts +377 -0
- package/src/convex/package-migrations.ts +49 -0
- package/src/convex/paths.ts +78 -0
- package/src/convex/pauses.ts +56 -0
- package/src/convex/proof.ts +366 -0
- package/src/convex/referral-rules.ts +145 -0
- package/src/convex/report-rules.ts +15 -0
- package/src/convex/sandbox-inbox.ts +176 -0
- package/src/convex/sensitive-actions.ts +276 -0
- package/src/convex/test-models.ts +129 -0
- package/src/convex/test.ts +325 -14
- package/src/convex/tokens.ts +106 -0
- package/src/convex/urls.ts +15 -0
- package/src/convex/visitor.ts +54 -0
- package/src/convex/waitlist-rules.ts +131 -0
- package/src/convex/web-push.ts +243 -0
- package/src/convex/webhook-signatures.ts +167 -0
- package/src/runtime/vue/components/account/AccountData.css +46 -0
- package/src/runtime/vue/components/account/AccountData.vue +185 -0
- package/src/runtime/vue/components/account/AccountDeletion.css +45 -0
- package/src/runtime/vue/components/account/AccountDeletion.vue +102 -0
- package/src/runtime/vue/components/account/AccountExport.css +38 -0
- package/src/runtime/vue/components/account/AccountExport.vue +66 -0
- package/src/runtime/vue/components/account/ActivationChecklist.css +131 -0
- package/src/runtime/vue/components/account/ActivationChecklist.vue +150 -0
- package/src/runtime/vue/components/account/ConsentPrompt.css +181 -0
- package/src/runtime/vue/components/account/ConsentPrompt.vue +149 -0
- package/src/runtime/vue/components/account/ConsentPromptAge.vue +40 -0
- package/src/runtime/vue/components/account/ConsentPromptDialog.vue +151 -0
- package/src/runtime/vue/components/account/ConsentPromptItem.vue +60 -0
- package/src/runtime/vue/components/account/ConsentPromptStorage.vue +82 -0
- package/src/runtime/vue/components/account/EmailUnsubscribe.css +70 -0
- package/src/runtime/vue/components/account/EmailUnsubscribe.vue +118 -0
- package/src/runtime/vue/components/account/HowDidYouHear.css +115 -0
- package/src/runtime/vue/components/account/HowDidYouHear.vue +183 -0
- package/src/runtime/vue/components/account/KeepAccount.css +43 -0
- package/src/runtime/vue/components/account/KeepAccount.vue +63 -0
- package/src/runtime/vue/components/account/OnboardingFlow.css +200 -0
- package/src/runtime/vue/components/account/OnboardingFlow.vue +172 -0
- package/src/runtime/vue/components/account/OnboardingPlan.vue +42 -0
- package/src/runtime/vue/components/account/OnboardingProfile.vue +119 -0
- package/src/runtime/vue/components/account/OnboardingStepActions.vue +45 -0
- package/src/runtime/vue/components/account/OnboardingTeammates.vue +107 -0
- package/src/runtime/vue/components/account/OnboardingWorkspace.vue +174 -0
- package/src/runtime/vue/components/account/ProfileEmailSection.vue +104 -0
- package/src/runtime/vue/components/account/ProfileIdentity.css +57 -0
- package/src/runtime/vue/components/account/ProfileIdentity.vue +51 -0
- package/src/runtime/vue/components/account/ProfileLanguageSection.vue +44 -0
- package/src/runtime/vue/components/account/ProfileNameSection.vue +36 -0
- package/src/runtime/vue/components/account/ProfilePreferencesSection.css +127 -0
- package/src/runtime/vue/components/account/ProfilePreferencesSection.vue +168 -0
- package/src/runtime/vue/components/account/ProfileSettings.css +64 -0
- package/src/runtime/vue/components/account/ProfileSettings.vue +255 -0
- package/src/runtime/vue/components/account/SecurityAlerts.css +47 -0
- package/src/runtime/vue/components/account/SecurityAlerts.vue +79 -0
- package/src/runtime/vue/components/account/SecurityPasskeys.css +79 -0
- package/src/runtime/vue/components/account/SecurityPasskeys.vue +160 -0
- package/src/runtime/vue/components/account/SecuritySessions.css +21 -0
- package/src/runtime/vue/components/account/SecuritySessions.vue +88 -0
- package/src/runtime/vue/components/account/SecuritySettings.css +80 -0
- package/src/runtime/vue/components/account/SecuritySettings.vue +283 -0
- package/src/runtime/vue/components/admin/AdminAccess.css +77 -0
- package/src/runtime/vue/components/admin/AdminAccess.vue +62 -0
- package/src/runtime/vue/components/admin/AdminAccessAdmissions.vue +59 -0
- package/src/runtime/vue/components/admin/AdminAccessAdmit.vue +73 -0
- package/src/runtime/vue/components/admin/AdminAccessCreate.vue +86 -0
- package/src/runtime/vue/components/admin/AdminAccessInvites.vue +56 -0
- package/src/runtime/vue/components/admin/AdminAccessPhase.vue +51 -0
- package/src/runtime/vue/components/admin/AdminAccessRevoke.vue +25 -0
- package/src/runtime/vue/components/admin/AdminAccessTable.vue +65 -0
- package/src/runtime/vue/components/admin/AdminAnalytics.css +24 -0
- package/src/runtime/vue/components/admin/AdminAnalytics.vue +45 -0
- package/src/runtime/vue/components/admin/AdminAnnouncements.css +94 -0
- package/src/runtime/vue/components/admin/AdminAnnouncements.vue +97 -0
- package/src/runtime/vue/components/admin/AdminAnnouncementsCompose.vue +140 -0
- package/src/runtime/vue/components/admin/AdminAnnouncementsItem.vue +89 -0
- package/src/runtime/vue/components/admin/AdminBilling.css +74 -0
- package/src/runtime/vue/components/admin/AdminBilling.vue +214 -0
- package/src/runtime/vue/components/admin/AdminChart.css +57 -0
- package/src/runtime/vue/components/admin/AdminChart.vue +45 -0
- package/src/runtime/vue/components/admin/AdminConsole.css +30 -0
- package/src/runtime/vue/components/admin/AdminConsole.vue +179 -0
- package/src/runtime/vue/components/admin/AdminCosts.css +64 -0
- package/src/runtime/vue/components/admin/AdminCosts.vue +133 -0
- package/src/runtime/vue/components/admin/AdminDrawerFrame.vue +83 -0
- package/src/runtime/vue/components/admin/AdminExperiments.css +99 -0
- package/src/runtime/vue/components/admin/AdminExperiments.vue +174 -0
- package/src/runtime/vue/components/admin/AdminFlags.css +77 -0
- package/src/runtime/vue/components/admin/AdminFlags.vue +486 -0
- package/src/runtime/vue/components/admin/AdminGrowth.css +98 -0
- package/src/runtime/vue/components/admin/AdminGrowth.vue +218 -0
- package/src/runtime/vue/components/admin/AdminInbox.css +98 -0
- package/src/runtime/vue/components/admin/AdminInbox.vue +96 -0
- package/src/runtime/vue/components/admin/AdminInboxMessage.vue +116 -0
- package/src/runtime/vue/components/admin/AdminListFrame.vue +88 -0
- package/src/runtime/vue/components/admin/AdminListTail.vue +50 -0
- package/src/runtime/vue/components/admin/AdminQueue.css +91 -0
- package/src/runtime/vue/components/admin/AdminQueue.vue +108 -0
- package/src/runtime/vue/components/admin/AdminQueueControls.vue +64 -0
- package/src/runtime/vue/components/admin/AdminQueueJob.vue +62 -0
- package/src/runtime/vue/components/admin/AdminQueueJobs.vue +90 -0
- package/src/runtime/vue/components/admin/AdminQueueModels.vue +96 -0
- package/src/runtime/vue/components/admin/AdminQueueTier.vue +97 -0
- package/src/runtime/vue/components/admin/AdminQueueTiers.vue +47 -0
- package/src/runtime/vue/components/admin/AdminReferrals.css +76 -0
- package/src/runtime/vue/components/admin/AdminReferrals.vue +262 -0
- package/src/runtime/vue/components/admin/AdminReports.css +88 -0
- package/src/runtime/vue/components/admin/AdminReports.vue +141 -0
- package/src/runtime/vue/components/admin/AdminReportsAppeal.vue +64 -0
- package/src/runtime/vue/components/admin/AdminReportsDecision.vue +83 -0
- package/src/runtime/vue/components/admin/AdminReportsNotice.vue +57 -0
- package/src/runtime/vue/components/admin/AdminReportsSubject.vue +86 -0
- package/src/runtime/vue/components/admin/AdminRevenue.css +92 -0
- package/src/runtime/vue/components/admin/AdminRevenue.vue +212 -0
- package/src/runtime/vue/components/admin/AdminSuppressions.css +44 -0
- package/src/runtime/vue/components/admin/AdminSuppressions.vue +111 -0
- package/src/runtime/vue/components/admin/AdminSystem.vue +150 -0
- package/src/runtime/vue/components/admin/AdminTabDialogs.vue +30 -0
- package/src/runtime/vue/components/admin/AdminTabStatus.vue +38 -0
- package/src/runtime/vue/components/admin/AdminUserDrawer.vue +309 -0
- package/src/runtime/vue/components/admin/AdminUsers.vue +200 -0
- package/src/runtime/vue/components/admin/AdminUsersTable.vue +109 -0
- package/src/runtime/vue/components/admin/AdminWaitlist.css +71 -0
- package/src/runtime/vue/components/admin/AdminWaitlist.vue +80 -0
- package/src/runtime/vue/components/admin/AdminWaitlistActions.vue +68 -0
- package/src/runtime/vue/components/admin/AdminWaitlistFilter.vue +94 -0
- package/src/runtime/vue/components/admin/AdminWaitlistSummary.vue +72 -0
- package/src/runtime/vue/components/admin/AdminWaitlistTable.vue +84 -0
- package/src/runtime/vue/components/admin/AdminWebhooks.css +68 -0
- package/src/runtime/vue/components/admin/AdminWebhooks.vue +155 -0
- package/src/runtime/vue/components/admin/AdminWorkspaceDrawer.vue +106 -0
- package/src/runtime/vue/components/admin/AdminWorkspaces.vue +121 -0
- package/src/runtime/vue/components/admin/AdminWorkspacesTable.vue +82 -0
- package/src/runtime/vue/components/admin/admin.css +281 -0
- package/src/runtime/vue/components/auth/AuthForm.css +142 -0
- package/src/runtime/vue/components/auth/AuthForm.vue +239 -0
- package/src/runtime/vue/components/auth/AuthFormAge.css +12 -0
- package/src/runtime/vue/components/auth/AuthFormAge.vue +46 -0
- package/src/runtime/vue/components/auth/AuthFormAgreement.css +17 -0
- package/src/runtime/vue/components/auth/AuthFormAgreement.vue +43 -0
- package/src/runtime/vue/components/auth/AuthFormChoose.css +36 -0
- package/src/runtime/vue/components/auth/AuthFormChoose.vue +50 -0
- package/src/runtime/vue/components/auth/AuthFormCode.vue +47 -0
- package/src/runtime/vue/components/auth/AuthFormEmail.vue +41 -0
- package/src/runtime/vue/components/auth/AuthFormError.css +15 -0
- package/src/runtime/vue/components/auth/AuthFormError.vue +19 -0
- package/src/runtime/vue/components/auth/AuthFormHeader.css +18 -0
- package/src/runtime/vue/components/auth/AuthFormHeader.vue +28 -0
- package/src/runtime/vue/components/auth/AuthFormInviteCode.css +17 -0
- package/src/runtime/vue/components/auth/AuthFormInviteCode.vue +49 -0
- package/src/runtime/vue/components/auth/AuthFormPasskey.vue +27 -0
- package/src/runtime/vue/components/auth/AuthFormPasskeyOffer.css +29 -0
- package/src/runtime/vue/components/auth/AuthFormPasskeyOffer.vue +52 -0
- package/src/runtime/vue/components/auth/AuthFormRecover.css +19 -0
- package/src/runtime/vue/components/auth/AuthFormRecover.vue +57 -0
- package/src/runtime/vue/components/auth/AuthFormUndeliverable.css +21 -0
- package/src/runtime/vue/components/auth/AuthFormUndeliverable.vue +35 -0
- package/src/runtime/vue/components/auth/AuthFormWaitlisted.css +25 -0
- package/src/runtime/vue/components/auth/AuthFormWaitlisted.vue +42 -0
- package/src/runtime/vue/components/auth/InviteRedeem.css +34 -0
- package/src/runtime/vue/components/auth/InviteRedeem.vue +63 -0
- package/src/runtime/vue/components/auth/ReauthenticateCode.css +21 -0
- package/src/runtime/vue/components/auth/ReauthenticateCode.vue +59 -0
- package/src/runtime/vue/components/auth/ReauthenticateDialog.css +95 -0
- package/src/runtime/vue/components/auth/ReauthenticateDialog.vue +180 -0
- package/src/runtime/vue/components/auth/ReauthenticatePasskey.css +24 -0
- package/src/runtime/vue/components/auth/ReauthenticatePasskey.vue +37 -0
- package/src/runtime/vue/components/auth/WaitlistCode.css +24 -0
- package/src/runtime/vue/components/auth/WaitlistCode.vue +57 -0
- package/src/runtime/vue/components/auth/WaitlistForm.css +80 -0
- package/src/runtime/vue/components/auth/WaitlistForm.vue +119 -0
- package/src/runtime/vue/components/auth/WaitlistJoin.css +46 -0
- package/src/runtime/vue/components/auth/WaitlistJoin.vue +99 -0
- package/src/runtime/vue/components/auth/WaitlistPlace.css +53 -0
- package/src/runtime/vue/components/auth/WaitlistPlace.vue +78 -0
- package/src/runtime/vue/components/auth/WaitlistShare.css +68 -0
- package/src/runtime/vue/components/auth/WaitlistShare.vue +76 -0
- package/src/runtime/vue/components/auth/WaitlistStatus.css +19 -0
- package/src/runtime/vue/components/auth/WaitlistStatus.vue +75 -0
- package/src/runtime/vue/components/billing/BillingCheckoutLink.vue +103 -0
- package/src/runtime/vue/components/billing/BillingHistory.css +71 -0
- package/src/runtime/vue/components/billing/BillingHistory.vue +131 -0
- package/src/runtime/vue/components/billing/BillingHistoryOrder.css +63 -0
- package/src/runtime/vue/components/billing/BillingHistoryOrder.vue +52 -0
- package/src/runtime/vue/components/billing/BillingPortalLink.vue +65 -0
- package/src/runtime/vue/components/billing/CancelConfirmGroup.vue +55 -0
- package/src/runtime/vue/components/billing/CancelFlow.css +110 -0
- package/src/runtime/vue/components/billing/CancelFlow.vue +133 -0
- package/src/runtime/vue/components/billing/CancelFlowConfirm.vue +35 -0
- package/src/runtime/vue/components/billing/CancelFlowEnd.vue +43 -0
- package/src/runtime/vue/components/billing/CancelFlowOffer.vue +30 -0
- package/src/runtime/vue/components/billing/CancelFlowQuestion.vue +58 -0
- package/src/runtime/vue/components/billing/GiftList.css +101 -0
- package/src/runtime/vue/components/billing/GiftList.vue +125 -0
- package/src/runtime/vue/components/billing/GiftReceived.vue +71 -0
- package/src/runtime/vue/components/billing/GiftSent.vue +138 -0
- package/src/runtime/vue/components/billing/PricingCancelConfirm.vue +14 -0
- package/src/runtime/vue/components/billing/PricingCurrencySelect.vue +53 -0
- package/src/runtime/vue/components/billing/PricingEmailOptOut.css +34 -0
- package/src/runtime/vue/components/billing/PricingEmailOptOut.vue +32 -0
- package/src/runtime/vue/components/billing/PricingPackCard.css +25 -0
- package/src/runtime/vue/components/billing/PricingPackCard.vue +78 -0
- package/src/runtime/vue/components/billing/PricingPeriodSwitch.vue +52 -0
- package/src/runtime/vue/components/billing/PricingPlanCard.css +106 -0
- package/src/runtime/vue/components/billing/PricingPlanCard.vue +142 -0
- package/src/runtime/vue/components/billing/PricingPromotion.vue +24 -0
- package/src/runtime/vue/components/billing/PricingTable.css +94 -0
- package/src/runtime/vue/components/billing/PricingTable.vue +712 -0
- package/src/runtime/vue/components/billing/ReferralCard.css +100 -0
- package/src/runtime/vue/components/billing/ReferralCard.vue +203 -0
- package/src/runtime/vue/components/billing/ReferralLanding.css +52 -0
- package/src/runtime/vue/components/billing/ReferralLanding.vue +112 -0
- package/src/runtime/vue/components/billing/UpgradePrompt.css +55 -0
- package/src/runtime/vue/components/billing/UpgradePrompt.vue +144 -0
- package/src/runtime/vue/components/billing/UsageHistory.css +61 -0
- package/src/runtime/vue/components/billing/UsageHistory.vue +98 -0
- package/src/runtime/vue/components/billing/UsageHistoryEvent.css +39 -0
- package/src/runtime/vue/components/billing/UsageHistoryEvent.vue +25 -0
- package/src/runtime/vue/components/billing/WithdrawalButton.css +59 -0
- package/src/runtime/vue/components/billing/WithdrawalButton.vue +111 -0
- package/src/runtime/vue/components/shared.css +131 -0
- package/src/runtime/vue/components/shell/AccessDenied.css +77 -0
- package/src/runtime/vue/components/shell/AccessDenied.vue +207 -0
- package/src/runtime/vue/components/shell/AccessDeniedPage.vue +25 -0
- package/src/runtime/vue/components/shell/AccountMenu.css +87 -0
- package/src/runtime/vue/components/shell/AccountMenu.vue +92 -0
- package/src/runtime/vue/components/shell/AiLabel.css +68 -0
- package/src/runtime/vue/components/shell/AiLabel.vue +65 -0
- package/src/runtime/vue/components/shell/AppShell.css +188 -0
- package/src/runtime/vue/components/shell/AppShell.vue +122 -0
- package/src/runtime/vue/components/shell/BackendNotices.vue +67 -0
- package/src/runtime/vue/components/shell/ConfirmDialog.css +67 -0
- package/src/runtime/vue/components/shell/ConfirmDialog.vue +76 -0
- package/src/runtime/vue/components/shell/ConnectionStatus.css +36 -0
- package/src/runtime/vue/components/shell/ConnectionStatus.vue +102 -0
- package/src/runtime/vue/components/shell/ContactForm.css +94 -0
- package/src/runtime/vue/components/shell/ContactForm.vue +133 -0
- package/src/runtime/vue/components/shell/ErrorPage.vue +33 -0
- package/src/runtime/vue/components/shell/FrameConnectionStatus.vue +18 -0
- package/src/runtime/vue/components/shell/FrameMain.vue +54 -0
- package/src/runtime/vue/components/shell/Gate.css +51 -0
- package/src/runtime/vue/components/shell/Gate.vue +207 -0
- package/src/runtime/vue/components/shell/GateQuota.vue +87 -0
- package/src/runtime/vue/components/shell/LegalDataMap.vue +46 -0
- package/src/runtime/vue/components/shell/LegalDocument.css +126 -0
- package/src/runtime/vue/components/shell/LegalDocument.vue +266 -0
- package/src/runtime/vue/components/shell/LegalProcessors.vue +61 -0
- package/src/runtime/vue/components/shell/LegalStorage.vue +60 -0
- package/src/runtime/vue/components/shell/ListPager.vue +46 -0
- package/src/runtime/vue/components/shell/NoticeAnnouncement.css +54 -0
- package/src/runtime/vue/components/shell/NoticeAnnouncement.vue +128 -0
- package/src/runtime/vue/components/shell/NoticeDeletion.css +57 -0
- package/src/runtime/vue/components/shell/NoticeDeletion.vue +83 -0
- package/src/runtime/vue/components/shell/NoticeGift.css +51 -0
- package/src/runtime/vue/components/shell/NoticeGift.vue +172 -0
- package/src/runtime/vue/components/shell/NoticeImpersonation.css +44 -0
- package/src/runtime/vue/components/shell/NoticeImpersonation.vue +107 -0
- package/src/runtime/vue/components/shell/NoticeLowCredits.css +62 -0
- package/src/runtime/vue/components/shell/NoticeLowCredits.vue +221 -0
- package/src/runtime/vue/components/shell/NoticeMaintenance.css +30 -0
- package/src/runtime/vue/components/shell/NoticeMaintenance.vue +42 -0
- package/src/runtime/vue/components/shell/NoticePastDue.css +46 -0
- package/src/runtime/vue/components/shell/NoticePastDue.vue +76 -0
- package/src/runtime/vue/components/shell/NotificationInbox.css +220 -0
- package/src/runtime/vue/components/shell/NotificationInbox.vue +104 -0
- package/src/runtime/vue/components/shell/NotificationInboxBell.vue +38 -0
- package/src/runtime/vue/components/shell/NotificationInboxItem.vue +51 -0
- package/src/runtime/vue/components/shell/PageFrame.vue +121 -0
- package/src/runtime/vue/components/shell/PagedList.vue +114 -0
- package/src/runtime/vue/components/shell/ReportAppeal.vue +103 -0
- package/src/runtime/vue/components/shell/ReportNotice.css +58 -0
- package/src/runtime/vue/components/shell/ReportNotice.vue +170 -0
- package/src/runtime/vue/components/shell/UploadField.css +79 -0
- package/src/runtime/vue/components/shell/UploadField.vue +99 -0
- package/src/runtime/vue/components/shell/WorkspaceSwitcher.css +128 -0
- package/src/runtime/vue/components/shell/WorkspaceSwitcher.vue +136 -0
- package/src/runtime/vue/components/tokens.css +100 -0
- package/src/runtime/vue/components/workspaces/AcceptInvitation.css +35 -0
- package/src/runtime/vue/components/workspaces/AcceptInvitation.vue +199 -0
- package/src/runtime/vue/components/workspaces/AcceptInvitationActions.css +21 -0
- package/src/runtime/vue/components/workspaces/AcceptInvitationActions.vue +31 -0
- package/src/runtime/vue/components/workspaces/AuditLog.css +61 -0
- package/src/runtime/vue/components/workspaces/AuditLog.vue +103 -0
- package/src/runtime/vue/components/workspaces/AuditLogEvent.css +53 -0
- package/src/runtime/vue/components/workspaces/AuditLogEvent.vue +31 -0
- package/src/runtime/vue/components/workspaces/WorkspaceBilling.css +112 -0
- package/src/runtime/vue/components/workspaces/WorkspaceBilling.vue +267 -0
- package/src/runtime/vue/components/workspaces/WorkspaceCredits.css +30 -0
- package/src/runtime/vue/components/workspaces/WorkspaceCredits.vue +60 -0
- package/src/runtime/vue/components/workspaces/WorkspaceList.css +77 -0
- package/src/runtime/vue/components/workspaces/WorkspaceList.vue +95 -0
- package/src/runtime/vue/components/workspaces/WorkspaceSettings.css +58 -0
- package/src/runtime/vue/components/workspaces/WorkspaceSettings.vue +268 -0
- package/src/runtime/vue/pages/accept-invitation.vue +24 -0
- package/src/runtime/vue/pages/accessibility.vue +26 -0
- package/src/runtime/vue/pages/admin.vue +63 -0
- package/src/runtime/vue/pages/gifts.vue +27 -0
- package/src/runtime/vue/pages/invite.vue +26 -0
- package/src/runtime/vue/pages/keep-account.vue +31 -0
- package/src/runtime/vue/pages/login.vue +65 -0
- package/src/runtime/vue/pages/pricing.vue +54 -0
- package/src/runtime/vue/pages/privacy.vue +27 -0
- package/src/runtime/vue/pages/profile.vue +22 -0
- package/src/runtime/vue/pages/referral.vue +28 -0
- package/src/runtime/vue/pages/report.vue +44 -0
- package/src/runtime/vue/pages/security.vue +32 -0
- package/src/runtime/vue/pages/settings.vue +38 -0
- package/src/runtime/vue/pages/subprocessors.vue +26 -0
- package/src/runtime/vue/pages/terms.vue +27 -0
- package/src/runtime/vue/pages/unsubscribe.vue +38 -0
- package/src/runtime/vue/pages/waitlist.vue +28 -0
- package/src/runtime/vue/pages/welcome.vue +31 -0
- package/dist/convex/component/_generated/api.d.ts +0 -36
- package/dist/convex/component/_generated/api.d.ts.map +0 -1
- package/dist/convex/component/_generated/api.js.map +0 -1
- package/dist/convex/component/_generated/component.d.ts +0 -549
- package/dist/convex/component/_generated/component.d.ts.map +0 -1
- package/dist/convex/component/_generated/component.js.map +0 -1
- package/dist/convex/component/_generated/dataModel.d.ts.map +0 -1
- package/dist/convex/component/_generated/dataModel.js.map +0 -1
- package/dist/convex/component/_generated/server.d.ts +0 -121
- package/dist/convex/component/_generated/server.d.ts.map +0 -1
- package/dist/convex/component/_generated/server.js +0 -78
- package/dist/convex/component/_generated/server.js.map +0 -1
- package/dist/convex/component/adapter.d.ts.map +0 -1
- package/dist/convex/component/adapter.js +0 -23
- package/dist/convex/component/adapter.js.map +0 -1
- package/dist/convex/component/constants.d.ts +0 -3
- package/dist/convex/component/constants.d.ts.map +0 -1
- package/dist/convex/component/constants.js +0 -3
- package/dist/convex/component/constants.js.map +0 -1
- package/dist/convex/component/convex.config.d.ts +0 -14
- package/dist/convex/component/convex.config.d.ts.map +0 -1
- package/dist/convex/component/convex.config.js +0 -15
- package/dist/convex/component/convex.config.js.map +0 -1
- package/dist/convex/component/schema.d.ts +0 -278
- package/dist/convex/component/schema.d.ts.map +0 -1
- package/dist/convex/component/schema.js +0 -91
- package/dist/convex/component/schema.js.map +0 -1
- package/dist/runtime/nuxt/auth/middleware.d.ts +0 -12
- package/dist/runtime/nuxt/auth/middleware.js +0 -31
- package/dist/runtime/nuxt/auth/proxy.d.ts +0 -6
- package/dist/runtime/nuxt/auth/proxy.js +0 -11
- package/dist/runtime/nuxt/auth/server.d.ts +0 -86
- package/dist/runtime/nuxt/auth/server.js +0 -110
- package/dist/runtime/nuxt/config.d.ts +0 -7
- package/dist/runtime/nuxt/config.js +0 -12
- package/dist/runtime/nuxt/index.d.ts +0 -102
- package/dist/runtime/nuxt/index.js +0 -77
- package/dist/runtime/vue/auth/client.d.ts +0 -14
- package/dist/runtime/vue/auth/client.js +0 -7
- package/dist/runtime/vue/auth/cross-domain.d.ts +0 -8
- package/dist/runtime/vue/auth/cross-domain.js +0 -34
- package/dist/runtime/vue/auth/helpers.d.ts +0 -52
- package/dist/runtime/vue/auth/helpers.js +0 -35
- package/dist/runtime/vue/auth/hydration.d.ts +0 -14
- package/dist/runtime/vue/auth/hydration.js +0 -23
- package/dist/runtime/vue/auth/index.d.ts +0 -79
- package/dist/runtime/vue/auth/index.js +0 -81
- package/dist/runtime/vue/auth/plugin.client.d.ts +0 -6
- package/dist/runtime/vue/auth/plugin.client.js +0 -30
- package/dist/runtime/vue/auth/plugin.server.d.ts +0 -17
- package/dist/runtime/vue/auth/plugin.server.js +0 -29
- package/dist/runtime/vue/auth/use-auth.d.ts +0 -84
- package/dist/runtime/vue/auth/use-auth.js +0 -77
- package/dist/runtime/vue/client.d.ts +0 -245
- package/dist/runtime/vue/client.js +0 -341
- package/dist/runtime/vue/composables/use-action.d.ts +0 -45
- package/dist/runtime/vue/composables/use-action.js +0 -10
- package/dist/runtime/vue/composables/use-connection-state.d.ts +0 -25
- package/dist/runtime/vue/composables/use-connection-state.js +0 -13
- package/dist/runtime/vue/composables/use-mutation.d.ts +0 -60
- package/dist/runtime/vue/composables/use-mutation.js +0 -36
- package/dist/runtime/vue/composables/use-paginated-query.d.ts +0 -101
- package/dist/runtime/vue/composables/use-paginated-query.js +0 -508
- package/dist/runtime/vue/composables/use-queries.d.ts +0 -45
- package/dist/runtime/vue/composables/use-queries.js +0 -32
- package/dist/runtime/vue/composables/use-query.d.ts +0 -82
- package/dist/runtime/vue/composables/use-query.js +0 -63
- package/dist/runtime/vue/composables/use-subscription.d.ts +0 -14
- package/dist/runtime/vue/composables/use-subscription.js +0 -15
- package/dist/runtime/vue/hydration.d.ts +0 -42
- package/dist/runtime/vue/hydration.js +0 -18
- package/dist/runtime/vue/index.d.ts +0 -29
- package/dist/runtime/vue/index.js +0 -38
- package/dist/runtime/vue/queries-observer.d.ts +0 -38
- package/dist/runtime/vue/queries-observer.js +0 -127
- package/src/convex/component/_generated/api.ts +0 -52
- package/src/convex/component/_generated/component.ts +0 -1338
- package/src/convex/component/_generated/server.ts +0 -156
- package/src/convex/component/adapter.ts +0 -42
- package/src/convex/component/constants.ts +0 -2
- package/src/convex/component/convex.config.ts +0 -16
- package/src/convex/component/schema.ts +0 -93
- /package/dist/convex/{component → components/backend}/_generated/api.js +0 -0
- /package/dist/convex/{component → components/backend}/_generated/component.js +0 -0
- /package/dist/convex/{component → components/backend}/_generated/dataModel.d.ts +0 -0
- /package/dist/convex/{component → components/backend}/_generated/dataModel.js +0 -0
- /package/dist/convex/{component → components/backend}/adapter.d.ts +0 -0
- /package/src/convex/{component → components/backend}/_generated/dataModel.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugins.d.ts","sourceRoot":"","sources":["../../../src/convex/client/plugins.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAI5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAE/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAMzD;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAAG,WAAW,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAA;AAsFjF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,cAAc;;;;;;;;;;;;;;;iCAqEoB,CAAC;iCACzB,CAAC;;;;;;;;;6BAKH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAgBynO,CAAC;iCAAkD,CAAC;;;;;;;;;6BAA8Q,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAovD,CAAC;yBAA8C,CAAC;;;;;;;;;qBAAoN,CAAC;;;;;;;;;;;;;;iCAAyjB,CAAC;iCAAkD,CAAC;;;;;;;;;6BAA8Q,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAAguC,CAAC;iCAAkD,CAAC;;;;;;;;;6BAA8Q,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAAmiD,CAAC;iCAAkD,CAAC;;;;;;;;;6BAA8Q,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAzFltb;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,MAAM,GAAG,IAAI,CAEzE;AAED;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,CAAC,GAAG,EAAE;IAAE,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAAC,OAAO,CAAC,EAAE;QAAE,OAAO,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI,CAAA;CAAE,GAAG,OAAO,CAGxH;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,sBAAsB;;;;;;;;;;;;;;;iCA5HS,CAAC;;;;;;;;;;qCAUzC,CAAA;;;;;;;;;;;;;;qCAMuB,CAAC;qCAE3B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4GJ;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,kBAAkB,GAAG,SAAS,GAAG,MAAM,CAGpF;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,kBAAkB,GAAG,SAAS;;;;;;;;;;;;;;;iCAhLxC,CAAC;;;;;;;;;qCAIuB,CAAC;;;;;;;;;;;;;;;qCAO1B,CAAC;qCACpB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA2BW,CAAC;iCAAkD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAgDvE,CAAA;iCAC+C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCA0DhD,CAAC;iCAEG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAqB8C,CAAC;iCAER,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAkBwoE,CAAC;iCAAkD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAAwhD,CAAC;iCAAkD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAA05C,CAAC;iCAAkD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAAyzC,CAAC;iCAAkD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAAo6B,CAAC;yBAA8C,CAAC;;;;;;;;;;;;;;;yBAAuY,CAAC;yBAA8C,CAAC;;;;;;;;;qBAA0O,CAAC;;;;;;;;;;;;;;;;;;iCAAksB,CAAC;iCAAkD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAAi0C,CAAC;iCAAkD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAAgzC,CAAC;iCAAkD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCAAi2C,CAAC;iCAAkD,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iCApLtia,CAAC;;;;;EAyKrC;AAED,uHAAuH;AACvH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,kBAAkB,GAAG,SAAS,GAAG,cAAc,CAOxF"}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { passkey } from '@better-auth/passkey';
|
|
2
|
+
import { admin, lastLoginMethod } from 'better-auth/plugins';
|
|
3
|
+
import { storageAllows, storageFromCookieHeader } from '../consent-rules.js';
|
|
4
|
+
import { DEFAULT_ADMIN_ROLES, IMPERSONATION_SESSION_SECONDS, LAST_SIGN_IN_COOKIE } from '../constants.js';
|
|
5
|
+
import { LOCALE_SCHEMA } from '../locale.js';
|
|
6
|
+
/**
|
|
7
|
+
* The account fields the package adds to Better Auth's user: `locale`, the
|
|
8
|
+
* language the person reads in, which every email the package sends them
|
|
9
|
+
* is written in. Set when the account is created (from the request's
|
|
10
|
+
* `Accept-Language`, which `useLoginFlow` sets to the app's language), and
|
|
11
|
+
* by the person on `/update-user` (`useAccount().updateProfile({ locale })`, sent
|
|
12
|
+
* on every language switch). Stored as a language tag (`de`, `pt-BR`), or
|
|
13
|
+
* refused. Returned with the user, and the OpenID `locale` claim of the
|
|
14
|
+
* session's token (`sessionClaims`).
|
|
15
|
+
*
|
|
16
|
+
* `onboardedAt` and `activationDismissedAt` are the app shell's marks
|
|
17
|
+
* (epoch ms): when the account finished or skipped the first run at
|
|
18
|
+
* `/welcome`, and when it dismissed the activation checklist. Only the
|
|
19
|
+
* component's own functions write them (`input: false`), and they are
|
|
20
|
+
* returned to nobody: the shell reads them through its live queries.
|
|
21
|
+
*
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
24
|
+
export const ACCOUNT_FIELDS = {
|
|
25
|
+
locale: { type: 'string', required: false, input: true, validator: { input: LOCALE_SCHEMA } },
|
|
26
|
+
onboardedAt: { type: 'number', required: false, input: false, returned: false },
|
|
27
|
+
activationDismissedAt: { type: 'number', required: false, input: false, returned: false },
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* The session fields the package adds to Better Auth's session:
|
|
31
|
+
* `signInMethod`, how the person signed in to this session (`passkey`,
|
|
32
|
+
* `email-otp`), set once when it is created and never by a request
|
|
33
|
+
* (`input: false`). The session's token carries it as the
|
|
34
|
+
* `signInMethod` claim, which `ctx.user.signInMethod` reads: unlike the
|
|
35
|
+
* account's `lastLoginMethod`, another browser's later sign-in never
|
|
36
|
+
* changes it.
|
|
37
|
+
*
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
export const SESSION_FIELDS = {
|
|
41
|
+
signInMethod: { type: 'string', required: false, input: false },
|
|
42
|
+
};
|
|
43
|
+
/** The routes that open a session a person signed in to, by how they signed in. */
|
|
44
|
+
const SESSION_SIGN_IN_ROUTES = {
|
|
45
|
+
'/sign-in/email-otp': 'email-otp',
|
|
46
|
+
'/email-otp/verify-email': 'email-otp',
|
|
47
|
+
'/passkey/verify-authentication': 'passkey',
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* How a new session was signed in to, by the route that opens it: a code
|
|
51
|
+
* (`email-otp`) or a passkey (`passkey`); `null` for every other session
|
|
52
|
+
* (an administrator's visit, a recovery code's, an email change's).
|
|
53
|
+
*
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
export function sessionSignInMethod(path) {
|
|
57
|
+
return (path && Object.hasOwn(SESSION_SIGN_IN_ROUTES, path) ? SESSION_SIGN_IN_ROUTES[path] : undefined) ?? null;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* The passkey-only plugin's id and fields (passkey-only.ts builds the plugin
|
|
61
|
+
* around them): on the account, whether it refuses sign-in codes and the
|
|
62
|
+
* hash of its recovery code, which is never returned; on a session, the mark
|
|
63
|
+
* of a recovery session, which may only save a passkey. Apart from the
|
|
64
|
+
* routes, so the component's adapter derives its schema from them without
|
|
65
|
+
* the routes' imports.
|
|
66
|
+
*
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
export const PASSKEY_ONLY_PLUGIN = {
|
|
70
|
+
id: 'passkey-only',
|
|
71
|
+
schema: {
|
|
72
|
+
user: {
|
|
73
|
+
fields: {
|
|
74
|
+
passkeyOnly: { type: 'boolean', required: false, input: false },
|
|
75
|
+
recoveryCodeHash: { type: 'string', required: false, input: false, returned: false },
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
session: {
|
|
79
|
+
fields: {
|
|
80
|
+
passkeyRecovery: { type: 'boolean', required: false, input: false },
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Default passkey plugin. Registration requires an authenticated session (the
|
|
87
|
+
* plugin's default), so a passkey can only be added to an account whose email
|
|
88
|
+
* has already been proven via the OTP sign-in flow.
|
|
89
|
+
*
|
|
90
|
+
* This deliberately omits passkey-first (pre-auth) account creation: minting an
|
|
91
|
+
* account + session from a WebAuthn ceremony over an unverified, client-typed
|
|
92
|
+
* email lets an attacker squat on or pre-hijack a victim's email (they plant a
|
|
93
|
+
* passkey before the victim signs up, then the victim's later OTP sign-in
|
|
94
|
+
* verifies the email while the attacker's passkey persists — account takeover).
|
|
95
|
+
* New users sign up with OTP, then add a passkey from their authenticated
|
|
96
|
+
* session (the `passkey-offer` step of `useLoginFlow`).
|
|
97
|
+
*
|
|
98
|
+
* Override by passing your own `passkey(...)` plugin in `authOptions.plugins`.
|
|
99
|
+
*/
|
|
100
|
+
export function defaultPasskey() {
|
|
101
|
+
return passkey();
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* The `customResolveMethod` of Better Auth's `lastLoginMethod` plugin that
|
|
105
|
+
* names a sign-in its own resolver does not know: a code sign-in
|
|
106
|
+
* (`/sign-in/email-otp`, which also signs a new account up) is `email-otp`.
|
|
107
|
+
* Everything else is left to Better Auth's resolver, which names a passkey
|
|
108
|
+
* sign-in (`/passkey/verify-authentication`) `passkey` and returns nothing
|
|
109
|
+
* for the sessions no person signed in for (an impersonation, an email
|
|
110
|
+
* change). The package's own plugin uses it; pass it to one of your own:
|
|
111
|
+
*
|
|
112
|
+
* ```ts
|
|
113
|
+
* lastLoginMethod({ storeInDatabase: true, customResolveMethod: resolveSignInMethod, beforeStoreCookie })
|
|
114
|
+
* ```
|
|
115
|
+
*/
|
|
116
|
+
export function resolveSignInMethod(ctx) {
|
|
117
|
+
return ctx.path === '/sign-in/email-otp' ? 'email-otp' : null;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* Whether the browser that signs in allowed the `preferences` purpose of
|
|
121
|
+
* optional storage: its choice rides in a first-party cookie of the consent
|
|
122
|
+
* manager (`backend.storage`), which the request carries. Without that
|
|
123
|
+
* cookie, nothing was allowed. The `beforeStoreCookie` of the package's
|
|
124
|
+
* `lastLoginMethod`; pass it to one of your own to tie the cookie to the
|
|
125
|
+
* same choice.
|
|
126
|
+
*/
|
|
127
|
+
export function storesLastSignInCookie(ctx) {
|
|
128
|
+
const header = ctx.headers?.get('cookie') ?? ctx.request?.headers.get('cookie');
|
|
129
|
+
return storageAllows(storageFromCookieHeader(header), 'preferences');
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Better Auth's `lastLoginMethod`: every sign-in records how it was made, on
|
|
133
|
+
* the account (`user.lastLoginMethod`) and, once the browser allowed it
|
|
134
|
+
* (the consent manager's `preferences` purpose), in a cookie of this
|
|
135
|
+
* browser (`LAST_SIGN_IN_COOKIE`, 30 days, readable by the page). The
|
|
136
|
+
* sign-in form marks that method "Last used" and opens on it. The cookie
|
|
137
|
+
* holds the method's name and nothing else; it is not strictly necessary, so
|
|
138
|
+
* it is never set before the person agrees.
|
|
139
|
+
*
|
|
140
|
+
* Override by passing your own `lastLoginMethod(...)` in
|
|
141
|
+
* `authOptions.plugins` — keep `storeInDatabase: true`, the default
|
|
142
|
+
* `cookieName`, `customResolveMethod: resolveSignInMethod` and
|
|
143
|
+
* `beforeStoreCookie: storesLastSignInCookie`, or a code sign-in records
|
|
144
|
+
* nothing, or the cookie is set unasked. `beforeStoreCookie: () => false`
|
|
145
|
+
* keeps the cookie off and the record on.
|
|
146
|
+
*/
|
|
147
|
+
export function defaultLastLoginMethod() {
|
|
148
|
+
return lastLoginMethod({ storeInDatabase: true, cookieName: LAST_SIGN_IN_COOKIE, customResolveMethod: resolveSignInMethod, beforeStoreCookie: ctx => storesLastSignInCookie(ctx) });
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* How long an impersonation lasts, in seconds: the app's own
|
|
152
|
+
* `impersonationSessionDuration` when it is shorter, else
|
|
153
|
+
* `IMPERSONATION_SESSION_SECONDS` (thirty minutes). An administrator's
|
|
154
|
+
* visit is short by design: it ends on its own, and the administrator signs
|
|
155
|
+
* in again as themselves.
|
|
156
|
+
*/
|
|
157
|
+
export function impersonationSeconds(options) {
|
|
158
|
+
const asked = options?.impersonationSessionDuration;
|
|
159
|
+
return typeof asked === 'number' && Number.isFinite(asked) && asked > 0 ? Math.min(asked, IMPERSONATION_SESSION_SECONDS) : IMPERSONATION_SESSION_SECONDS;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Better Auth's admin plugin with the app's options, its impersonations
|
|
163
|
+
* held to {@link impersonationSeconds}. Who counts as an administrator stays
|
|
164
|
+
* the plugin's (`adminRoles`, `adminUserIds`); the session hook refuses a
|
|
165
|
+
* visit of any of them, whoever asks and whatever the app's roles grant
|
|
166
|
+
* (`impersonate-admins`, `allowImpersonatingAdmins`).
|
|
167
|
+
*
|
|
168
|
+
* Override by passing your own `admin(...)` in `authOptions.plugins`: the
|
|
169
|
+
* hook still refuses an administrator's account (by your plugin's
|
|
170
|
+
* `adminRoles` and `adminUserIds`), and the duration is then yours to keep
|
|
171
|
+
* short.
|
|
172
|
+
*/
|
|
173
|
+
export function defaultAdmin(options) {
|
|
174
|
+
return admin({ ...options, impersonationSessionDuration: impersonationSeconds(options) });
|
|
175
|
+
}
|
|
176
|
+
/** The administrators an app's admin options name: `adminRoles` (default `DEFAULT_ADMIN_ROLES`) and `adminUserIds`. */
|
|
177
|
+
export function administratorsOf(options) {
|
|
178
|
+
const roles = options?.adminRoles;
|
|
179
|
+
const listed = Array.isArray(roles) ? roles : typeof roles === 'string' ? roles.split(',') : DEFAULT_ADMIN_ROLES;
|
|
180
|
+
return {
|
|
181
|
+
roles: listed.map(role => role.trim()).filter(Boolean),
|
|
182
|
+
userIds: options?.adminUserIds ?? [],
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
//# sourceMappingURL=plugins.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugins.js","sourceRoot":"","sources":["../../../src/convex/client/plugins.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { APIError } from 'better-auth/api';
|
|
2
|
+
import { type BackendErrorCode, type BackendErrorData } from '../errors.js';
|
|
3
|
+
/** What `authRefusal` takes after the code: the code's data, optional for a code whose fields are all optional. */
|
|
4
|
+
type AuthRefusalArgs<C extends BackendErrorCode> = Record<string, never> extends BackendErrorData<C> ? [data?: BackendErrorData<C>] : [data: BackendErrorData<C>];
|
|
5
|
+
/**
|
|
6
|
+
* The `APIError` for a refusal on an auth route, by catalog code: the code's
|
|
7
|
+
* status, and a body with the code and its fields. The fields are checked
|
|
8
|
+
* against the catalog like `backendError`'s. Better Auth's client reads the
|
|
9
|
+
* body's `message`: a sentence written for the person (`data.message`, an
|
|
10
|
+
* app's own `canSignIn` refusal, say) when there is one, else the code's
|
|
11
|
+
* English label, which `getBackendError` recognizes as the label and the
|
|
12
|
+
* `errors` labels translate. The package's own refusals pass none.
|
|
13
|
+
*/
|
|
14
|
+
export declare function authRefusal<C extends BackendErrorCode>(code: C, ...[data]: AuthRefusalArgs<C>): APIError;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=refusals.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refusals.d.ts","sourceRoot":"","sources":["../../../src/convex/client/refusals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAC1C,OAAO,EAAgC,KAAK,gBAAgB,EAAE,KAAK,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAmBzG,mHAAmH;AACnH,KAAK,eAAe,CAAC,CAAC,SAAS,gBAAgB,IAAI,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,gBAAgB,CAAC,CAAC,CAAC,GAChG,CAAC,IAAI,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC,GAC5B,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAA;AAE/B;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,gBAAgB,EAAE,IAAI,EAAE,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC,GAAG,QAAQ,CAIxG"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { APIError } from 'better-auth/api';
|
|
2
|
+
import { BACKEND_ERRORS, backendError } from '../errors.js';
|
|
3
|
+
// An auth route refuses with an `APIError`, not a `ConvexError`: Better Auth
|
|
4
|
+
// answers it as the HTTP status and spreads the body into the client's
|
|
5
|
+
// `{ error }`. The body carries the catalog code and its fields, so
|
|
6
|
+
// `getBackendError(result)` reads an auth refusal the way it reads a
|
|
7
|
+
// function's.
|
|
8
|
+
/** The status names `APIError` takes, for the catalog's statuses. */
|
|
9
|
+
const STATUS_NAMES = {
|
|
10
|
+
400: 'BAD_REQUEST',
|
|
11
|
+
401: 'UNAUTHORIZED',
|
|
12
|
+
402: 'PAYMENT_REQUIRED',
|
|
13
|
+
403: 'FORBIDDEN',
|
|
14
|
+
409: 'CONFLICT',
|
|
15
|
+
429: 'TOO_MANY_REQUESTS',
|
|
16
|
+
503: 'SERVICE_UNAVAILABLE',
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* The `APIError` for a refusal on an auth route, by catalog code: the code's
|
|
20
|
+
* status, and a body with the code and its fields. The fields are checked
|
|
21
|
+
* against the catalog like `backendError`'s. Better Auth's client reads the
|
|
22
|
+
* body's `message`: a sentence written for the person (`data.message`, an
|
|
23
|
+
* app's own `canSignIn` refusal, say) when there is one, else the code's
|
|
24
|
+
* English label, which `getBackendError` recognizes as the label and the
|
|
25
|
+
* `errors` labels translate. The package's own refusals pass none.
|
|
26
|
+
*/
|
|
27
|
+
export function authRefusal(code, ...[data]) {
|
|
28
|
+
const error = backendError(code, ...[data]);
|
|
29
|
+
const payload = error.data;
|
|
30
|
+
return new APIError(STATUS_NAMES[BACKEND_ERRORS[code].status], { ...payload, message: typeof payload.message === 'string' ? payload.message : error.message });
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=refusals.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refusals.js","sourceRoot":"","sources":["../../../src/convex/client/refusals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAC1C,OAAO,EAAE,cAAc,EAAE,YAAY,EAAgD,MAAM,cAAc,CAAA;AAEzG,6EAA6E;AAC7E,uEAAuE;AACvE,oEAAoE;AACpE,qEAAqE;AACrE,cAAc;AAEd,qEAAqE;AACrE,MAAM,YAAY,GAAG;IACnB,GAAG,EAAE,aAAa;IAClB,GAAG,EAAE,cAAc;IACnB,GAAG,EAAE,kBAAkB;IACvB,GAAG,EAAE,WAAW;IAChB,GAAG,EAAE,UAAU;IACf,GAAG,EAAE,mBAAmB;IACxB,GAAG,EAAE,qBAAqB;CAClB,CAAA;AAOV;;;;;;;;GAQG;AACH,MAAM,UAAU,WAAW,CAA6B,IAAO,EAAE,GAAG,CAAC,IAAI,CAAqB;IAC5F,MAAM,KAAK,GAAG,YAAY,CAAC,IAAI,EAAE,GAAI,CAAC,IAAI,CAAW,CAAC,CAAA;IACtD,MAAM,OAAO,GAAG,KAAK,CAAC,IAA+B,CAAA;IACrD,OAAO,IAAI,QAAQ,CAAC,YAAY,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,EAAE,EAAE,GAAG,OAAO,EAAE,OAAO,EAAE,OAAO,OAAO,CAAC,OAAO,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAA;AAChK,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { RequestOrigin } from '../email-templates.js';
|
|
2
|
+
/**
|
|
3
|
+
* The origin of the request a hook runs for, now. Every part but the time is
|
|
4
|
+
* left out when the request does not give it in a form the email may show.
|
|
5
|
+
*/
|
|
6
|
+
export declare function requestOrigin(endpoint: unknown, now?: number): RequestOrigin;
|
|
7
|
+
/**
|
|
8
|
+
* The language the request that asked for a code reads in, from its
|
|
9
|
+
* `Accept-Language` (`useLoginFlow` sets it to the app's language): what a
|
|
10
|
+
* code to an address without an account is written in.
|
|
11
|
+
*/
|
|
12
|
+
export declare function requestLocale(endpoint: unknown): string | null;
|
|
13
|
+
//# sourceMappingURL=request-origin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-origin.d.ts","sourceRoot":"","sources":["../../../src/convex/client/request-origin.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AA+E1D;;;GAGG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,OAAO,EAAE,GAAG,SAAa,GAAG,aAAa,CAMhF;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,QAAQ,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAI9D"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
// Who asked for a code, as the email names it: the device, an approximate
|
|
2
|
+
// place and the time. Read from the request's own headers: the user agent,
|
|
3
|
+
// and the IP geolocation the host in front of the app adds (Vercel's
|
|
4
|
+
// `x-vercel-ip-*`, which the auth proxy forwards). A request that reaches the
|
|
5
|
+
// deployment some other way can send any header it likes, so nothing it
|
|
6
|
+
// says reaches an email as it came: the device is one of a few known names,
|
|
7
|
+
// the place letters only, the time zone one the runtime knows.
|
|
8
|
+
import { preferredLocale } from '../locale.js';
|
|
9
|
+
/** Browsers by the token their user agent carries, most specific first: Edge and Opera also say Chrome. */
|
|
10
|
+
const BROWSERS = [
|
|
11
|
+
[/\bEdg(?:e|A|iOS)?\//, 'Edge'],
|
|
12
|
+
[/\bOPR\//, 'Opera'],
|
|
13
|
+
[/\b(?:Firefox|FxiOS)\//, 'Firefox'],
|
|
14
|
+
[/\b(?:Chrome|CriOS)\//, 'Chrome'],
|
|
15
|
+
[/\bVersion\/\d[^ ]* .*Safari\//, 'Safari'],
|
|
16
|
+
];
|
|
17
|
+
/** Systems, most specific first: an iPhone's user agent also says `like Mac OS X`. */
|
|
18
|
+
const SYSTEMS = [
|
|
19
|
+
[/\b(?:iPhone|iPad|iPod)\b/, 'iOS'],
|
|
20
|
+
[/\bAndroid\b/, 'Android'],
|
|
21
|
+
[/\bCrOS\b/, 'ChromeOS'],
|
|
22
|
+
[/\bMac OS X\b|\bMacintosh\b/, 'macOS'],
|
|
23
|
+
[/\bWindows\b/, 'Windows'],
|
|
24
|
+
[/\bLinux\b/, 'Linux'],
|
|
25
|
+
];
|
|
26
|
+
function firstMatch(table, value) {
|
|
27
|
+
return table.find(([pattern]) => pattern.test(value))?.[1];
|
|
28
|
+
}
|
|
29
|
+
/** A city as a geolocation header names it (URL-encoded on Vercel): letters, marks, spaces, dots, apostrophes and hyphens, or nothing. */
|
|
30
|
+
function cityOf(raw) {
|
|
31
|
+
if (!raw)
|
|
32
|
+
return undefined;
|
|
33
|
+
let city;
|
|
34
|
+
try {
|
|
35
|
+
city = decodeURIComponent(raw).trim();
|
|
36
|
+
}
|
|
37
|
+
catch {
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
return /^[\p{L}\p{M}][\p{L}\p{M} .'-]{0,59}$/u.test(city) ? city : undefined;
|
|
41
|
+
}
|
|
42
|
+
/** A country as an ISO 3166-1 alpha-2 code, or nothing. */
|
|
43
|
+
function countryOf(raw) {
|
|
44
|
+
const code = raw?.trim().toUpperCase();
|
|
45
|
+
return code && /^[A-Z]{2}$/.test(code) ? code : undefined;
|
|
46
|
+
}
|
|
47
|
+
/** A time zone the runtime knows, or nothing. */
|
|
48
|
+
function timeZoneOf(raw) {
|
|
49
|
+
const zone = raw?.trim();
|
|
50
|
+
if (!zone || !/^[\w+\-/]{1,64}$/.test(zone))
|
|
51
|
+
return undefined;
|
|
52
|
+
try {
|
|
53
|
+
new Intl.DateTimeFormat('en', { timeZone: zone });
|
|
54
|
+
return zone;
|
|
55
|
+
}
|
|
56
|
+
catch {
|
|
57
|
+
return undefined;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
/** The headers a hook's context carries of its request. */
|
|
61
|
+
function headersOf(endpoint) {
|
|
62
|
+
const context = endpoint;
|
|
63
|
+
const headers = context?.headers ?? context?.request?.headers;
|
|
64
|
+
return typeof headers?.get === 'function' ? headers : undefined;
|
|
65
|
+
}
|
|
66
|
+
/** The browser and the system a user agent names, each left out when unknown. */
|
|
67
|
+
function deviceOf(agent) {
|
|
68
|
+
const browser = firstMatch(BROWSERS, agent);
|
|
69
|
+
const os = firstMatch(SYSTEMS, agent);
|
|
70
|
+
return browser || os ? { ...(browser ? { browser } : {}), ...(os ? { os } : {}) } : undefined;
|
|
71
|
+
}
|
|
72
|
+
/** The city and country the host's geolocation names, each left out when unusable. */
|
|
73
|
+
function placeOf(headers) {
|
|
74
|
+
const city = cityOf(headers?.get('x-vercel-ip-city') ?? null);
|
|
75
|
+
const country = countryOf(headers?.get('x-vercel-ip-country') ?? null);
|
|
76
|
+
return city || country ? { ...(city ? { city } : {}), ...(country ? { country } : {}) } : undefined;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* The origin of the request a hook runs for, now. Every part but the time is
|
|
80
|
+
* left out when the request does not give it in a form the email may show.
|
|
81
|
+
*/
|
|
82
|
+
export function requestOrigin(endpoint, now = Date.now()) {
|
|
83
|
+
const headers = headersOf(endpoint);
|
|
84
|
+
const device = deviceOf(headers?.get('user-agent') ?? '');
|
|
85
|
+
const place = placeOf(headers);
|
|
86
|
+
const timeZone = timeZoneOf(headers?.get('x-vercel-ip-timezone') ?? null);
|
|
87
|
+
return { ...(device ? { device } : {}), ...(place ? { place } : {}), at: now, ...(timeZone ? { timeZone } : {}) };
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* The language the request that asked for a code reads in, from its
|
|
91
|
+
* `Accept-Language` (`useLoginFlow` sets it to the app's language): what a
|
|
92
|
+
* code to an address without an account is written in.
|
|
93
|
+
*/
|
|
94
|
+
export function requestLocale(endpoint) {
|
|
95
|
+
const context = endpoint;
|
|
96
|
+
const headers = context?.headers ?? context?.request?.headers;
|
|
97
|
+
return preferredLocale(typeof headers?.get === 'function' ? headers.get('accept-language') : null);
|
|
98
|
+
}
|
|
99
|
+
//# sourceMappingURL=request-origin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-origin.js","sourceRoot":"","sources":["../../../src/convex/client/request-origin.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { type createAuthMiddleware } from 'better-auth/api';
|
|
2
|
+
/** The context Better Auth hands a before-hook. */
|
|
3
|
+
export type AuthHookCtx = Parameters<Parameters<typeof createAuthMiddleware>[0]>[0];
|
|
4
|
+
/** The parts of the route's session the guards read. */
|
|
5
|
+
export interface RequestSession {
|
|
6
|
+
user: {
|
|
7
|
+
id: string;
|
|
8
|
+
email: string;
|
|
9
|
+
};
|
|
10
|
+
session: {
|
|
11
|
+
id: string;
|
|
12
|
+
impersonatedBy?: string | null;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The session the route will run with, resolved the way the route resolves
|
|
17
|
+
* it: from the session cookie, or from a Bearer token, which the bearer
|
|
18
|
+
* plugin turns into that cookie. Better Auth caches it on the context, so the
|
|
19
|
+
* route's own session middleware reuses it instead of reading it again, and
|
|
20
|
+
* a session already cached there is the one the route will use.
|
|
21
|
+
*
|
|
22
|
+
* `null` when the request carries no credential, without a lookup: the
|
|
23
|
+
* route answers 401 itself, or serves an anonymous caller. A credential that
|
|
24
|
+
* resolves to no session is refused here with 401, so a lookup that failed
|
|
25
|
+
* in this hook can never let the route run without the checks keyed on its
|
|
26
|
+
* caller — unless `lenient`, where it is `null` too: a check that only
|
|
27
|
+
* looks for an impersonated session leaves a stale credential to the route.
|
|
28
|
+
* Any other failure of the lookup is thrown either way.
|
|
29
|
+
*/
|
|
30
|
+
export declare function requestSession(ctx: AuthHookCtx, { lenient }?: {
|
|
31
|
+
lenient?: boolean | undefined;
|
|
32
|
+
}): Promise<RequestSession | null>;
|
|
33
|
+
//# sourceMappingURL=request-session.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-session.d.ts","sourceRoot":"","sources":["../../../src/convex/client/request-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAqB,MAAM,iBAAiB,CAAA;AAO9E,mDAAmD;AACnD,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;AAEnF,wDAAwD;AACxD,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACnC,OAAO,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAA;CACxD;AAmCD;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,cAAc,CAAC,GAAG,EAAE,WAAW,EAAE,EAAE,OAAe,EAAE;;CAAK,GAAG,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC,CAQ/G"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { getSessionFromCtx } from 'better-auth/api';
|
|
2
|
+
import { bearer } from 'better-auth/plugins/bearer';
|
|
3
|
+
import { authRefusal } from './refusals.js';
|
|
4
|
+
/**
|
|
5
|
+
* The bearer plugin's before-hook, which the convex plugin embeds: it moves
|
|
6
|
+
* an `Authorization: Bearer` session token into the session cookie.
|
|
7
|
+
*/
|
|
8
|
+
const bearerToCookie = bearer().hooks.before[0];
|
|
9
|
+
/**
|
|
10
|
+
* The headers the route will authenticate with. The bearer hook returns the
|
|
11
|
+
* rewritten cookie, and Better Auth applies what a before-hook returns only
|
|
12
|
+
* once every before-hook has run — so a hook that reads the cookie sees the
|
|
13
|
+
* request as it arrived, without the Bearer token's session. Running the same
|
|
14
|
+
* hook here yields the headers the route will see: a token it verifies
|
|
15
|
+
* replaces the session cookie, one it rejects changes nothing.
|
|
16
|
+
*/
|
|
17
|
+
async function routeHeaders(ctx) {
|
|
18
|
+
if (!bearerToCookie.matcher(ctx))
|
|
19
|
+
return ctx.headers;
|
|
20
|
+
const result = await bearerToCookie.handler({ ...ctx, returnHeaders: false });
|
|
21
|
+
return result?.context?.headers ?? ctx.headers;
|
|
22
|
+
}
|
|
23
|
+
/** Whether the request carries a credential: a Bearer token, or the session cookie. */
|
|
24
|
+
function carriesCredential(ctx, headers) {
|
|
25
|
+
const authorization = ctx.request?.headers.get('authorization') || ctx.headers?.get('authorization') || '';
|
|
26
|
+
if (/^bearer\s+\S/i.test(authorization))
|
|
27
|
+
return true;
|
|
28
|
+
// Any session-token cookie counts when the context names none: fail closed.
|
|
29
|
+
const name = ctx.context?.authCookies?.sessionToken?.name;
|
|
30
|
+
return (headers?.get('cookie') ?? '').split(';').some((cookie) => {
|
|
31
|
+
const key = cookie.trim().split('=')[0] ?? '';
|
|
32
|
+
return name ? key === name : key.endsWith('session_token');
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* The session the route will run with, resolved the way the route resolves
|
|
37
|
+
* it: from the session cookie, or from a Bearer token, which the bearer
|
|
38
|
+
* plugin turns into that cookie. Better Auth caches it on the context, so the
|
|
39
|
+
* route's own session middleware reuses it instead of reading it again, and
|
|
40
|
+
* a session already cached there is the one the route will use.
|
|
41
|
+
*
|
|
42
|
+
* `null` when the request carries no credential, without a lookup: the
|
|
43
|
+
* route answers 401 itself, or serves an anonymous caller. A credential that
|
|
44
|
+
* resolves to no session is refused here with 401, so a lookup that failed
|
|
45
|
+
* in this hook can never let the route run without the checks keyed on its
|
|
46
|
+
* caller — unless `lenient`, where it is `null` too: a check that only
|
|
47
|
+
* looks for an impersonated session leaves a stale credential to the route.
|
|
48
|
+
* Any other failure of the lookup is thrown either way.
|
|
49
|
+
*/
|
|
50
|
+
export async function requestSession(ctx, { lenient = false } = {}) {
|
|
51
|
+
const headers = await routeHeaders(ctx);
|
|
52
|
+
// No credential and no session the context already holds: nobody to read.
|
|
53
|
+
if (!carriesCredential(ctx, headers) && !ctx.context?.session)
|
|
54
|
+
return null;
|
|
55
|
+
const resolved = await getSessionFromCtx({ ...ctx, headers });
|
|
56
|
+
if (resolved)
|
|
57
|
+
return resolved;
|
|
58
|
+
if (!lenient)
|
|
59
|
+
throw authRefusal('unauthenticated');
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=request-session.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-session.js","sourceRoot":"","sources":["../../../src/convex/client/request-session.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAC9E,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAc3C;;;GAGG;AACH,MAAM,cAAc,GAAG,MAAM,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAE,CAAA;AAEhD;;;;;;;GAOG;AACH,KAAK,UAAU,YAAY,CAAC,GAAgB;IAC1C,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,GAAY,CAAC;QAAE,OAAO,GAAG,CAAC,OAAO,CAAA;IAC7D,MAAM,MAAM,GAAG,MAAM,cAAc,CAAC,OAAO,CAAC,EAAE,GAAG,GAAG,EAAE,aAAa,EAAE,KAAK,EAAW,CACpC,CAAA;IACjD,OAAO,MAAM,EAAE,OAAO,EAAE,OAAO,IAAI,GAAG,CAAC,OAAO,CAAA;AAChD,CAAC;AAED,uFAAuF;AACvF,SAAS,iBAAiB,CAAC,GAAgB,EAAE,OAA4B;IACvE,MAAM,aAAa,GAAG,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,IAAI,GAAG,CAAC,OAAO,EAAE,GAAG,CAAC,eAAe,CAAC,IAAI,EAAE,CAAA;IAC1G,IAAI,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC;QAAE,OAAO,IAAI,CAAA;IACpD,4EAA4E;IAC5E,MAAM,IAAI,GAAG,GAAG,CAAC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,IAAI,CAAA;IACzD,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE;QAC/D,MAAM,GAAG,GAAG,MAAM,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAA;QAC7C,OAAO,IAAI,CAAC,CAAC,CAAC,GAAG,KAAK,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAA;IAC5D,CAAC,CAAC,CAAA;AACJ,CAAC;AAED;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,KAAK,UAAU,cAAc,CAAC,GAAgB,EAAE,EAAE,OAAO,GAAG,KAAK,EAAE,GAAG,EAAE;IAC7E,MAAM,OAAO,GAAG,MAAM,YAAY,CAAC,GAAG,CAAC,CAAA;IACvC,0EAA0E;IAC1E,IAAI,CAAC,iBAAiB,CAAC,GAAG,EAAE,OAAO,CAAC,IAAI,CAAE,GAAG,CAAC,OAA6C,EAAE,OAAO;QAAE,OAAO,IAAI,CAAA;IACjH,MAAM,QAAQ,GAAG,MAAM,iBAAiB,CAAC,EAAE,GAAG,GAAG,EAAE,OAAO,EAAW,CAA0B,CAAA;IAC/F,IAAI,QAAQ;QAAE,OAAO,QAAQ,CAAA;IAC7B,IAAI,CAAC,OAAO;QAAE,MAAM,WAAW,CAAC,iBAAiB,CAAC,CAAA;IAClD,OAAO,IAAI,CAAA;AACb,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { GenericCtx } from '@convex-dev/better-auth';
|
|
2
|
+
import type { GenericActionCtx, GenericDataModel, GenericMutationCtx } from 'convex/server';
|
|
3
|
+
import type { AuthAccount, AuthAudit, AuthEmail, AuthMutationCtx, AuthRateLimiter, CanSignIn, OnUserCreated, OnUserDeleted } from './auth-types.js';
|
|
4
|
+
import type { PauseCheck } from '../pauses.js';
|
|
5
|
+
import type { EntityCreatedListener, EntityDeletionGuard } from './entities.js';
|
|
6
|
+
import type { AccessGate } from '../access-tickets.js';
|
|
7
|
+
import type { BackendPaths } from '../paths.js';
|
|
8
|
+
import type { AuthGuests } from './guest-claim.js';
|
|
9
|
+
export { readEnv } from '../delivery.js';
|
|
10
|
+
/** Whether an account exists for an email — the adapter read behind `canSignIn`'s `isNewUser`. */
|
|
11
|
+
export type UserExists = (ctx: AuthMutationCtx, email: string) => Promise<boolean>;
|
|
12
|
+
/** Whether the email provider suppressed an address, as the backend component's copy of its list knows it: one indexed read. */
|
|
13
|
+
export type SuppressionCheck = (ctx: AuthMutationCtx, email: string) => Promise<boolean>;
|
|
14
|
+
/** A sign-in's device, as the new-device check notes it. */
|
|
15
|
+
export interface SeenDevice {
|
|
16
|
+
userId: string;
|
|
17
|
+
/** HMAC of the browser, the system and the network range, bound to the account. */
|
|
18
|
+
fingerprint: string;
|
|
19
|
+
/** HMAC of the browser and the system alone. */
|
|
20
|
+
device: string;
|
|
21
|
+
browser?: string;
|
|
22
|
+
os?: string;
|
|
23
|
+
recovery?: boolean;
|
|
24
|
+
sessionId?: string;
|
|
25
|
+
/** The same hashes under the older live secrets, newest first, while a rotation's window runs. */
|
|
26
|
+
previous?: Array<{
|
|
27
|
+
fingerprint: string;
|
|
28
|
+
device: string;
|
|
29
|
+
}>;
|
|
30
|
+
}
|
|
31
|
+
/** Note a sign-in's device on the account's known devices, and answer whether it is news (`alert`) and claims the day's email (`email`). */
|
|
32
|
+
export type DeviceCheck = (ctx: AuthMutationCtx, device: SeenDevice) => Promise<{
|
|
33
|
+
alert: boolean;
|
|
34
|
+
email: boolean;
|
|
35
|
+
}>;
|
|
36
|
+
/** Whether a person's channel choices let one kind through one channel: the notifications' gates, for an email the auth layer sends itself. */
|
|
37
|
+
export type ChannelOpen = (ctx: AuthMutationCtx, userId: string, type: string, channel: 'app' | 'email' | 'push') => Promise<boolean>;
|
|
38
|
+
/** Per-request runtime carrying the ctx and resolved integrations. */
|
|
39
|
+
export interface AuthRuntime<DM extends GenericDataModel = GenericDataModel> {
|
|
40
|
+
ctx?: GenericCtx<DM>;
|
|
41
|
+
email?: AuthEmail;
|
|
42
|
+
rateLimiter?: AuthRateLimiter;
|
|
43
|
+
onUserCreated?: OnUserCreated<DM>;
|
|
44
|
+
canSignIn?: CanSignIn<DM>;
|
|
45
|
+
onUserDeleted?: OnUserDeleted<DM>;
|
|
46
|
+
userExists?: UserExists;
|
|
47
|
+
/** Where the auth layer records its events: the app's audit instance, else one of its own over the component. */
|
|
48
|
+
audit?: AuthAudit;
|
|
49
|
+
/** Whether a service is paused by its kill switch: `signups` refuses every new account. */
|
|
50
|
+
paused?: PauseCheck;
|
|
51
|
+
/** What erases a deleted account and refuses deleting a workspace's only owner: the app's account instance, else one of its own over the component. */
|
|
52
|
+
account?: AuthAccount;
|
|
53
|
+
/** The launch gate: the phase and the ticket a new address signs up with (`setupAuth({ access })`). */
|
|
54
|
+
access?: AccessGate;
|
|
55
|
+
/** Who hears of each workspace or account made: billing, once `registerBackendRoutes` connects it. */
|
|
56
|
+
entityCreated?: () => readonly EntityCreatedListener[];
|
|
57
|
+
/** What may refuse the deletion of a workspace: billing, while it holds a paid subscription, once `registerBackendRoutes` connects it. */
|
|
58
|
+
entityDeleting?: () => readonly EntityDeletionGuard[];
|
|
59
|
+
/** The app's paths the auth emails link to (`setupAuth({ paths })`, resolved). */
|
|
60
|
+
paths?: BackendPaths;
|
|
61
|
+
/** What claims a visitor's guest jobs for the account created in their browser: the component's job queue. */
|
|
62
|
+
guests?: AuthGuests;
|
|
63
|
+
/** The email provider's suppression list, mirrored: a sign-in code to a suppressed address is refused before it is minted. */
|
|
64
|
+
suppressed?: SuppressionCheck;
|
|
65
|
+
/** The account's known devices: a new one is alerted. */
|
|
66
|
+
devices?: DeviceCheck;
|
|
67
|
+
/** The person's notification channel choices: the new-device email asks them before it goes. */
|
|
68
|
+
channelOpen?: ChannelOpen;
|
|
69
|
+
}
|
|
70
|
+
/** Narrow the request ctx to one that can run mutations, or `undefined`. */
|
|
71
|
+
export declare function asMutationCtx<DM extends GenericDataModel>(ctx?: GenericCtx<DM>): GenericMutationCtx<DM> | GenericActionCtx<DM> | undefined;
|
|
72
|
+
type AdapterWhere = Array<{
|
|
73
|
+
field: string;
|
|
74
|
+
value: unknown;
|
|
75
|
+
}>;
|
|
76
|
+
/** The part of the Better Auth adapter the package's database hooks use. */
|
|
77
|
+
export interface AuthHookAdapter {
|
|
78
|
+
findOne: (args: {
|
|
79
|
+
model: string;
|
|
80
|
+
where: AdapterWhere;
|
|
81
|
+
}) => Promise<unknown>;
|
|
82
|
+
create: (args: {
|
|
83
|
+
model: string;
|
|
84
|
+
data: Record<string, unknown>;
|
|
85
|
+
}) => Promise<unknown>;
|
|
86
|
+
deleteMany: (args: {
|
|
87
|
+
model: string;
|
|
88
|
+
where: AdapterWhere;
|
|
89
|
+
}) => Promise<unknown>;
|
|
90
|
+
}
|
|
91
|
+
/** The adapter a database hook's endpoint context carries (`undefined` outside a request). */
|
|
92
|
+
export declare function hookAdapter(hookCtx: unknown): AuthHookAdapter | undefined;
|
|
93
|
+
//# sourceMappingURL=runtime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../../../src/convex/client/runtime.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { readEnv } from '../delivery.js';
|
|
2
|
+
/** Narrow the request ctx to one that can run mutations, or `undefined`. */
|
|
3
|
+
export function asMutationCtx(ctx) {
|
|
4
|
+
return ctx && 'runMutation' in ctx ? ctx : undefined;
|
|
5
|
+
}
|
|
6
|
+
/** The adapter a database hook's endpoint context carries (`undefined` outside a request). */
|
|
7
|
+
export function hookAdapter(hookCtx) {
|
|
8
|
+
return hookCtx?.context?.adapter;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=runtime.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../../src/convex/client/runtime.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAkExC,4EAA4E;AAC5E,MAAM,UAAU,aAAa,CAC3B,GAAoB;IAEpB,OAAO,GAAG,IAAI,aAAa,IAAI,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAA;AACtD,CAAC;AAWD,8FAA8F;AAC9F,MAAM,UAAU,WAAW,CAAC,OAAgB;IAC1C,OAAQ,OAAmE,EAAE,OAAO,EAAE,OAAO,CAAA;AAC/F,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { DefaultAuthPlugin } from './plugins.js';
|
|
2
|
+
/**
|
|
3
|
+
* A signed value (`<value>.<signature>`, URL-encoded or not) re-signed with
|
|
4
|
+
* `current` when a previous secret signed it; `null` when it is no signed
|
|
5
|
+
* value, the current secret signed it, or no live secret did.
|
|
6
|
+
*/
|
|
7
|
+
export declare function resignedValue(raw: string, [current, ...previous]: readonly string[]): Promise<string | null>;
|
|
8
|
+
/** The plugin's id: the component adapter lists it too, so both plugin sets stay one. */
|
|
9
|
+
export declare const SECRET_ROTATION_PLUGIN_ID = "nuxt-backend-secret-rotation";
|
|
10
|
+
/**
|
|
11
|
+
* The plugin that keeps sessions signed before a rotation working until the
|
|
12
|
+
* previous secret retires. It does nothing while `AUTH_SECRET` holds one
|
|
13
|
+
* secret.
|
|
14
|
+
*/
|
|
15
|
+
export declare function secretRotationPlugin(): DefaultAuthPlugin;
|
|
16
|
+
//# sourceMappingURL=secret-rotation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secret-rotation.d.ts","sourceRoot":"","sources":["../../../src/convex/client/secret-rotation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AA2CrD;;;;GAIG;AACH,wBAAsB,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC,OAAO,EAAE,GAAG,QAAQ,CAAC,EAAE,SAAS,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAalH;AAgBD,yFAAyF;AACzF,eAAO,MAAM,yBAAyB,iCAAiC,CAAA;AAEvE;;;;GAIG;AACH,wBAAgB,oBAAoB,IAAI,iBAAiB,CA0BxD"}
|