nuxt-backend 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -6
- package/dist/capabilities/detect.js +16 -7
- package/dist/capabilities/gateway-route.js +24 -0
- package/dist/capabilities/registry.js +3 -2
- package/dist/capabilities/status.js +3 -1
- package/dist/chunks/catalog.mjs +1 -1
- package/dist/chunks/doctor.mjs +498 -67
- package/dist/chunks/email-previews.mjs +1 -1
- package/dist/chunks/health.mjs +2 -2
- package/dist/chunks/index.mjs +3 -3
- package/dist/chunks/install.mjs +4 -4
- package/dist/chunks/run.mjs +1 -1
- package/dist/chunks/server.mjs +8 -6
- package/dist/cli.mjs +394 -39
- package/dist/convex/access-tickets.d.ts +20 -1
- package/dist/convex/access-tickets.d.ts.map +1 -1
- package/dist/convex/access-tickets.js +28 -0
- package/dist/convex/access-tickets.js.map +1 -1
- package/dist/convex/account-data.d.ts +25 -3
- package/dist/convex/account-data.d.ts.map +1 -1
- package/dist/convex/account-data.js +26 -3
- package/dist/convex/account-data.js.map +1 -1
- package/dist/convex/app.d.ts +15 -2
- package/dist/convex/app.d.ts.map +1 -1
- package/dist/convex/app.js +16 -2
- package/dist/convex/app.js.map +1 -1
- package/dist/convex/billing-launch.d.ts +36 -0
- package/dist/convex/billing-launch.d.ts.map +1 -0
- package/dist/convex/billing-launch.js +18 -0
- package/dist/convex/billing-launch.js.map +1 -0
- package/dist/convex/catalog.d.ts +16 -2
- package/dist/convex/catalog.d.ts.map +1 -1
- package/dist/convex/catalog.js.map +1 -1
- package/dist/convex/client/code-binding.js +1 -1
- package/dist/convex/client/component.d.ts.map +1 -1
- package/dist/convex/client/guards.js +3 -3
- package/dist/convex/client/guards.js.map +1 -1
- package/dist/convex/client/index.d.ts +94 -40
- package/dist/convex/client/index.d.ts.map +1 -1
- package/dist/convex/client/index.js +4 -3
- package/dist/convex/client/index.js.map +1 -1
- package/dist/convex/client/plugins.d.ts +67 -30
- package/dist/convex/client/plugins.d.ts.map +1 -1
- package/dist/convex/client/plugins.js +43 -19
- package/dist/convex/client/plugins.js.map +1 -1
- package/dist/convex/components/backend/_generated/api.d.ts +2 -0
- package/dist/convex/components/backend/_generated/api.d.ts.map +1 -1
- package/dist/convex/components/backend/_generated/api.js.map +1 -1
- package/dist/convex/components/backend/_generated/component.d.ts +454 -4
- package/dist/convex/components/backend/_generated/component.d.ts.map +1 -1
- package/dist/convex/components/backend/access.d.ts +47 -6
- package/dist/convex/components/backend/access.d.ts.map +1 -1
- package/dist/convex/components/backend/access.js +108 -16
- package/dist/convex/components/backend/access.js.map +1 -1
- package/dist/convex/components/backend/account.d.ts +6 -0
- package/dist/convex/components/backend/account.d.ts.map +1 -1
- package/dist/convex/components/backend/account.js +49 -2
- package/dist/convex/components/backend/account.js.map +1 -1
- package/dist/convex/components/backend/adapter.d.ts +1 -1
- package/dist/convex/components/backend/adapter.d.ts.map +1 -1
- package/dist/convex/components/backend/adapter.js +1 -1
- package/dist/convex/components/backend/adapter.js.map +1 -1
- package/dist/convex/components/backend/billing.d.ts +22 -1
- package/dist/convex/components/backend/billing.d.ts.map +1 -1
- package/dist/convex/components/backend/billing.js +77 -12
- package/dist/convex/components/backend/billing.js.map +1 -1
- package/dist/convex/components/backend/costs.d.ts +1 -1
- package/dist/convex/components/backend/crons.d.ts.map +1 -1
- package/dist/convex/components/backend/crons.js +3 -0
- package/dist/convex/components/backend/crons.js.map +1 -1
- package/dist/convex/components/backend/funnel.d.ts +2 -2
- package/dist/convex/components/backend/gifts.d.ts +2 -2
- package/dist/convex/components/backend/gifts.js +2 -2
- package/dist/convex/components/backend/jobs.d.ts +53 -10
- package/dist/convex/components/backend/jobs.d.ts.map +1 -1
- package/dist/convex/components/backend/jobs.js +58 -13
- package/dist/convex/components/backend/jobs.js.map +1 -1
- package/dist/convex/components/backend/maintenance.d.ts +2 -2
- package/dist/convex/components/backend/maintenance.d.ts.map +1 -1
- package/dist/convex/components/backend/maintenance.js +11 -1
- package/dist/convex/components/backend/maintenance.js.map +1 -1
- package/dist/convex/components/backend/moderation.d.ts +94 -0
- package/dist/convex/components/backend/moderation.d.ts.map +1 -0
- package/dist/convex/components/backend/moderation.js +53 -0
- package/dist/convex/components/backend/moderation.js.map +1 -0
- package/dist/convex/components/backend/schema.d.ts +397 -24
- package/dist/convex/components/backend/schema.d.ts.map +1 -1
- package/dist/convex/components/backend/schema.js +108 -4
- package/dist/convex/components/backend/schema.js.map +1 -1
- package/dist/convex/components/backend/storage.d.ts +19 -0
- package/dist/convex/components/backend/storage.d.ts.map +1 -1
- package/dist/convex/components/backend/storage.js +57 -0
- package/dist/convex/components/backend/storage.js.map +1 -1
- package/dist/convex/components/backend/subscriptions.d.ts +1 -1
- package/dist/convex/components/backend/subscriptions.js +1 -1
- package/dist/convex/components/backend/subscriptions.js.map +1 -1
- package/dist/convex/constants.d.ts +19 -4
- package/dist/convex/constants.d.ts.map +1 -1
- package/dist/convex/constants.js +19 -4
- package/dist/convex/constants.js.map +1 -1
- package/dist/convex/email-templates.d.ts +56 -6
- package/dist/convex/email-templates.d.ts.map +1 -1
- package/dist/convex/email-templates.js +69 -14
- package/dist/convex/email-templates.js.map +1 -1
- package/dist/convex/emails/notification.d.ts +9 -0
- package/dist/convex/emails/notification.d.ts.map +1 -0
- package/dist/convex/emails/notification.js +21 -0
- package/dist/convex/emails/notification.js.map +1 -0
- package/dist/convex/errors.d.ts +8 -3
- package/dist/convex/errors.d.ts.map +1 -1
- package/dist/convex/errors.js +55 -7
- package/dist/convex/errors.js.map +1 -1
- package/dist/convex/events.d.ts +4 -4
- package/dist/convex/events.js +4 -4
- package/dist/convex/events.js.map +1 -1
- package/dist/convex/files.d.ts +30 -4
- package/dist/convex/files.d.ts.map +1 -1
- package/dist/convex/files.js +44 -6
- package/dist/convex/files.js.map +1 -1
- package/dist/convex/integrations/account.d.ts +7 -0
- package/dist/convex/integrations/account.d.ts.map +1 -1
- package/dist/convex/integrations/account.js +2 -0
- package/dist/convex/integrations/account.js.map +1 -1
- package/dist/convex/integrations/ai/chat.js +9 -9
- package/dist/convex/integrations/ai/chat.js.map +1 -1
- package/dist/convex/integrations/ai/config.d.ts +157 -37
- package/dist/convex/integrations/ai/config.d.ts.map +1 -1
- package/dist/convex/integrations/ai/context.d.ts +3 -0
- package/dist/convex/integrations/ai/context.d.ts.map +1 -1
- package/dist/convex/integrations/ai/context.js +4 -3
- package/dist/convex/integrations/ai/context.js.map +1 -1
- package/dist/convex/integrations/ai/costs.d.ts.map +1 -1
- package/dist/convex/integrations/ai/costs.js +49 -2
- package/dist/convex/integrations/ai/costs.js.map +1 -1
- package/dist/convex/integrations/ai/embeddings.d.ts +6 -6
- package/dist/convex/integrations/ai/embeddings.d.ts.map +1 -1
- package/dist/convex/integrations/ai/embeddings.js +17 -30
- package/dist/convex/integrations/ai/embeddings.js.map +1 -1
- package/dist/convex/integrations/ai/images.d.ts +25 -0
- package/dist/convex/integrations/ai/images.d.ts.map +1 -0
- package/dist/convex/integrations/ai/images.js +104 -0
- package/dist/convex/integrations/ai/images.js.map +1 -0
- package/dist/convex/integrations/ai/job-errors.d.ts +12 -0
- package/dist/convex/integrations/ai/job-errors.d.ts.map +1 -1
- package/dist/convex/integrations/ai/job-errors.js +18 -2
- package/dist/convex/integrations/ai/job-errors.js.map +1 -1
- package/dist/convex/integrations/ai/jobs.d.ts +176 -10
- package/dist/convex/integrations/ai/jobs.d.ts.map +1 -1
- package/dist/convex/integrations/ai/jobs.js +336 -70
- package/dist/convex/integrations/ai/jobs.js.map +1 -1
- package/dist/convex/integrations/ai/knowledge.d.ts.map +1 -1
- package/dist/convex/integrations/ai/knowledge.js +10 -11
- package/dist/convex/integrations/ai/knowledge.js.map +1 -1
- package/dist/convex/integrations/ai/metering.d.ts +15 -5
- package/dist/convex/integrations/ai/metering.d.ts.map +1 -1
- package/dist/convex/integrations/ai/metering.js +73 -26
- package/dist/convex/integrations/ai/metering.js.map +1 -1
- package/dist/convex/integrations/ai/model-id.d.ts +14 -1
- package/dist/convex/integrations/ai/model-id.d.ts.map +1 -1
- package/dist/convex/integrations/ai/model-id.js +24 -2
- package/dist/convex/integrations/ai/model-id.js.map +1 -1
- package/dist/convex/integrations/ai/models.d.ts +103 -20
- package/dist/convex/integrations/ai/models.d.ts.map +1 -1
- package/dist/convex/integrations/ai/models.js +220 -45
- package/dist/convex/integrations/ai/models.js.map +1 -1
- package/dist/convex/integrations/ai/moderation-providers.d.ts +136 -0
- package/dist/convex/integrations/ai/moderation-providers.d.ts.map +1 -0
- package/dist/convex/integrations/ai/moderation-providers.js +277 -0
- package/dist/convex/integrations/ai/moderation-providers.js.map +1 -0
- package/dist/convex/integrations/ai/moderation-taxonomy.d.ts +54 -0
- package/dist/convex/integrations/ai/moderation-taxonomy.d.ts.map +1 -0
- package/dist/convex/integrations/ai/moderation-taxonomy.js +141 -0
- package/dist/convex/integrations/ai/moderation-taxonomy.js.map +1 -0
- package/dist/convex/integrations/ai/moderation.d.ts +218 -19
- package/dist/convex/integrations/ai/moderation.d.ts.map +1 -1
- package/dist/convex/integrations/ai/moderation.js +359 -37
- package/dist/convex/integrations/ai/moderation.js.map +1 -1
- package/dist/convex/integrations/ai/provenance.d.ts +6 -0
- package/dist/convex/integrations/ai/provenance.d.ts.map +1 -1
- package/dist/convex/integrations/ai/provenance.js +4 -1
- package/dist/convex/integrations/ai/provenance.js.map +1 -1
- package/dist/convex/integrations/ai/setup.js +5 -5
- package/dist/convex/integrations/ai/setup.js.map +1 -1
- package/dist/convex/integrations/ai/stream.d.ts +1 -1
- package/dist/convex/integrations/ai/stream.d.ts.map +1 -1
- package/dist/convex/integrations/ai/stream.js +4 -2
- package/dist/convex/integrations/ai/stream.js.map +1 -1
- package/dist/convex/integrations/ai.d.ts +15 -8
- package/dist/convex/integrations/ai.d.ts.map +1 -1
- package/dist/convex/integrations/ai.js +4 -1
- package/dist/convex/integrations/ai.js.map +1 -1
- package/dist/convex/integrations/billing/checkout.d.ts +1 -1
- package/dist/convex/integrations/billing/checkout.d.ts.map +1 -1
- package/dist/convex/integrations/billing/checkout.js +4 -4
- package/dist/convex/integrations/billing/checkout.js.map +1 -1
- package/dist/convex/integrations/billing/context.d.ts +8 -0
- package/dist/convex/integrations/billing/context.d.ts.map +1 -1
- package/dist/convex/integrations/billing/context.js +20 -1
- package/dist/convex/integrations/billing/context.js.map +1 -1
- package/dist/convex/integrations/billing/credits.d.ts +6 -0
- package/dist/convex/integrations/billing/credits.d.ts.map +1 -1
- package/dist/convex/integrations/billing/credits.js +21 -6
- package/dist/convex/integrations/billing/credits.js.map +1 -1
- package/dist/convex/integrations/billing/features.d.ts.map +1 -1
- package/dist/convex/integrations/billing/free-plan.d.ts +41 -1
- package/dist/convex/integrations/billing/free-plan.d.ts.map +1 -1
- package/dist/convex/integrations/billing/free-plan.js +92 -29
- package/dist/convex/integrations/billing/free-plan.js.map +1 -1
- package/dist/convex/integrations/billing/functions.d.ts +7 -3
- package/dist/convex/integrations/billing/functions.d.ts.map +1 -1
- package/dist/convex/integrations/billing/functions.js +18 -8
- package/dist/convex/integrations/billing/functions.js.map +1 -1
- package/dist/convex/integrations/billing/gifts.d.ts +4 -0
- package/dist/convex/integrations/billing/gifts.d.ts.map +1 -1
- package/dist/convex/integrations/billing/gifts.js +37 -6
- package/dist/convex/integrations/billing/gifts.js.map +1 -1
- package/dist/convex/integrations/billing/history.d.ts.map +1 -1
- package/dist/convex/integrations/billing/lifecycle.d.ts +9 -3
- package/dist/convex/integrations/billing/lifecycle.d.ts.map +1 -1
- package/dist/convex/integrations/billing/lifecycle.js +15 -6
- package/dist/convex/integrations/billing/lifecycle.js.map +1 -1
- package/dist/convex/integrations/billing/passes.js +2 -2
- package/dist/convex/integrations/billing/pricing.d.ts +9 -2
- package/dist/convex/integrations/billing/pricing.d.ts.map +1 -1
- package/dist/convex/integrations/billing/pricing.js +38 -4
- package/dist/convex/integrations/billing/pricing.js.map +1 -1
- package/dist/convex/integrations/billing/quotas.d.ts.map +1 -1
- package/dist/convex/integrations/billing/rate-limit.d.ts +16 -0
- package/dist/convex/integrations/billing/rate-limit.d.ts.map +1 -0
- package/dist/convex/integrations/billing/rate-limit.js +45 -0
- package/dist/convex/integrations/billing/rate-limit.js.map +1 -0
- package/dist/convex/integrations/billing/referral-orders.d.ts +1 -1
- package/dist/convex/integrations/billing/referral-orders.js +1 -1
- package/dist/convex/integrations/billing/resync.d.ts +28 -0
- package/dist/convex/integrations/billing/resync.d.ts.map +1 -0
- package/dist/convex/integrations/billing/resync.js +139 -0
- package/dist/convex/integrations/billing/resync.js.map +1 -0
- package/dist/convex/integrations/billing/subscriptions.d.ts +1 -1
- package/dist/convex/integrations/billing/subscriptions.d.ts.map +1 -1
- package/dist/convex/integrations/billing/subscriptions.js +6 -2
- package/dist/convex/integrations/billing/subscriptions.js.map +1 -1
- package/dist/convex/integrations/billing/types/lifecycle.d.ts +1 -1
- package/dist/convex/integrations/billing/types/records.d.ts +68 -3
- package/dist/convex/integrations/billing/types/records.d.ts.map +1 -1
- package/dist/convex/integrations/billing/types/setup.d.ts +9 -4
- package/dist/convex/integrations/billing/types/setup.d.ts.map +1 -1
- package/dist/convex/integrations/billing/types/surface.d.ts +38 -5
- package/dist/convex/integrations/billing/types/surface.d.ts.map +1 -1
- package/dist/convex/integrations/billing/webhooks.js +2 -2
- package/dist/convex/integrations/billing/welcome.d.ts +16 -0
- package/dist/convex/integrations/billing/welcome.d.ts.map +1 -0
- package/dist/convex/integrations/billing/welcome.js +93 -0
- package/dist/convex/integrations/billing/welcome.js.map +1 -0
- package/dist/convex/integrations/billing.d.ts +3 -2
- package/dist/convex/integrations/billing.d.ts.map +1 -1
- package/dist/convex/integrations/billing.js +17 -5
- package/dist/convex/integrations/billing.js.map +1 -1
- package/dist/convex/integrations/email.d.ts +17 -3
- package/dist/convex/integrations/email.d.ts.map +1 -1
- package/dist/convex/integrations/email.js.map +1 -1
- package/dist/convex/integrations/functions.d.ts +2 -2
- package/dist/convex/integrations/functions.d.ts.map +1 -1
- package/dist/convex/integrations/functions.js +1 -1
- package/dist/convex/integrations/functions.js.map +1 -1
- package/dist/convex/integrations/launch.d.ts +108 -3
- package/dist/convex/integrations/launch.d.ts.map +1 -1
- package/dist/convex/integrations/launch.js +143 -22
- package/dist/convex/integrations/launch.js.map +1 -1
- package/dist/convex/integrations/notifications.d.ts +6 -2
- package/dist/convex/integrations/notifications.d.ts.map +1 -1
- package/dist/convex/integrations/notifications.js +13 -15
- package/dist/convex/integrations/notifications.js.map +1 -1
- package/dist/convex/integrations/rate-limit.d.ts +18 -0
- package/dist/convex/integrations/rate-limit.d.ts.map +1 -1
- package/dist/convex/integrations/rate-limit.js +18 -3
- package/dist/convex/integrations/rate-limit.js.map +1 -1
- package/dist/convex/integrations/reports.d.ts +4 -1
- package/dist/convex/integrations/reports.d.ts.map +1 -1
- package/dist/convex/integrations/reports.js +14 -3
- package/dist/convex/integrations/reports.js.map +1 -1
- package/dist/convex/integrations/retention.d.ts +42 -4
- package/dist/convex/integrations/retention.d.ts.map +1 -1
- package/dist/convex/integrations/retention.js +62 -4
- package/dist/convex/integrations/retention.js.map +1 -1
- package/dist/convex/integrations/storage.d.ts +71 -3
- package/dist/convex/integrations/storage.d.ts.map +1 -1
- package/dist/convex/integrations/storage.js +22 -4
- package/dist/convex/integrations/storage.js.map +1 -1
- package/dist/convex/label-format.d.ts +2 -2
- package/dist/convex/label-format.d.ts.map +1 -1
- package/dist/convex/label-format.js +2 -2
- package/dist/convex/label-format.js.map +1 -1
- package/dist/convex/label-groups/admin.d.ts +27 -0
- package/dist/convex/label-groups/admin.d.ts.map +1 -1
- package/dist/convex/label-groups/admin.js +28 -0
- package/dist/convex/label-groups/admin.js.map +1 -1
- package/dist/convex/label-groups/cancelFlow.d.ts +1 -1
- package/dist/convex/label-groups/cancelFlow.js +2 -2
- package/dist/convex/label-groups/cancelFlow.js.map +1 -1
- package/dist/convex/label-groups/email.d.ts.map +1 -1
- package/dist/convex/label-groups/email.js +2 -1
- package/dist/convex/label-groups/email.js.map +1 -1
- package/dist/convex/label-groups/errors.d.ts +4 -0
- package/dist/convex/label-groups/errors.d.ts.map +1 -1
- package/dist/convex/label-groups/errors.js +6 -1
- package/dist/convex/label-groups/errors.js.map +1 -1
- package/dist/convex/label-groups/gift.d.ts +2 -0
- package/dist/convex/label-groups/gift.d.ts.map +1 -1
- package/dist/convex/label-groups/gift.js +5 -2
- package/dist/convex/label-groups/gift.js.map +1 -1
- package/dist/convex/label-groups/legal.d.ts +27 -1
- package/dist/convex/label-groups/legal.d.ts.map +1 -1
- package/dist/convex/label-groups/legal.js +31 -0
- package/dist/convex/label-groups/legal.js.map +1 -1
- package/dist/convex/label-groups/notifications.d.ts +3 -1
- package/dist/convex/label-groups/notifications.d.ts.map +1 -1
- package/dist/convex/label-groups/notifications.js +5 -3
- package/dist/convex/label-groups/notifications.js.map +1 -1
- package/dist/convex/label-groups/pastDue.d.ts +1 -1
- package/dist/convex/label-groups/pastDue.d.ts.map +1 -1
- package/dist/convex/label-groups/pastDue.js +1 -1
- package/dist/convex/label-groups/pastDue.js.map +1 -1
- package/dist/convex/label-groups/pricing.d.ts +2 -0
- package/dist/convex/label-groups/pricing.d.ts.map +1 -1
- package/dist/convex/label-groups/pricing.js +4 -0
- package/dist/convex/label-groups/pricing.js.map +1 -1
- package/dist/convex/label-groups/referral.d.ts +2 -2
- package/dist/convex/label-groups/referral.js +2 -2
- package/dist/convex/label-groups/report.d.ts +8 -1
- package/dist/convex/label-groups/report.d.ts.map +1 -1
- package/dist/convex/label-groups/report.js +10 -1
- package/dist/convex/label-groups/report.js.map +1 -1
- package/dist/convex/label-groups/upload.d.ts +1 -0
- package/dist/convex/label-groups/upload.d.ts.map +1 -1
- package/dist/convex/label-groups/upload.js +2 -0
- package/dist/convex/label-groups/upload.js.map +1 -1
- package/dist/convex/label-groups/withdrawal.d.ts +1 -1
- package/dist/convex/label-groups/withdrawal.js +1 -1
- package/dist/convex/label-translations.d.ts.map +1 -1
- package/dist/convex/label-translations.js +94 -34
- package/dist/convex/label-translations.js.map +1 -1
- package/dist/convex/labels.d.ts +100 -1
- package/dist/convex/labels.d.ts.map +1 -1
- package/dist/convex/legal.d.ts +12 -2
- package/dist/convex/legal.d.ts.map +1 -1
- package/dist/convex/legal.js +2 -2
- package/dist/convex/legal.js.map +1 -1
- package/dist/convex/log.js +12 -1
- package/dist/convex/log.js.map +1 -1
- package/dist/convex/monitoring.d.ts +6 -4
- package/dist/convex/monitoring.d.ts.map +1 -1
- package/dist/convex/monitoring.js +6 -4
- package/dist/convex/monitoring.js.map +1 -1
- package/dist/convex/report-rules.d.ts +2 -0
- package/dist/convex/report-rules.d.ts.map +1 -1
- package/dist/convex/report-rules.js +2 -0
- package/dist/convex/report-rules.js.map +1 -1
- package/dist/convex/sensitive-actions.d.ts.map +1 -1
- package/dist/convex/sensitive-actions.js +1 -0
- package/dist/convex/sensitive-actions.js.map +1 -1
- package/dist/convex/test-models.d.ts +7 -0
- package/dist/convex/test-models.d.ts.map +1 -1
- package/dist/convex/test-models.js +25 -2
- package/dist/convex/test-models.js.map +1 -1
- package/dist/convex/test-moderation.d.ts +24 -0
- package/dist/convex/test-moderation.d.ts.map +1 -0
- package/dist/convex/test-moderation.js +114 -0
- package/dist/convex/test-moderation.js.map +1 -0
- package/dist/devtools-client/_nuxt/CiCAOwUc.js +5 -0
- package/dist/devtools-client/index.html +1 -1
- package/dist/env-registry.js +37 -5
- package/dist/module.d.ts +51 -1
- package/dist/module.js +2 -2
- package/dist/module.json +1 -1
- package/dist/runtime/config.d.ts +95 -14
- package/dist/runtime/config.js +13 -1
- package/dist/runtime/locales/de.json +95 -19
- package/dist/runtime/locales/en.json +93 -17
- package/dist/runtime/locales/es.json +93 -17
- package/dist/runtime/locales/fr.json +93 -17
- package/dist/runtime/locales/ru.json +93 -17
- package/dist/runtime/monitoring/sdk/sentry.client.config.js +2 -1
- package/dist/runtime/monitoring/sdk/sentry.server.config.js +6 -1
- package/dist/runtime/server/content-wasm.d.ts +13 -0
- package/dist/runtime/server/content-wasm.js +9 -0
- package/dist/runtime/server/csp.d.ts +17 -0
- package/dist/runtime/server/csp.js +18 -0
- package/dist/runtime/server/monitoring/csp.d.ts +12 -0
- package/dist/runtime/server/monitoring/csp.js +19 -0
- package/dist/runtime/server/protection/csp.d.ts +1 -7
- package/dist/runtime/server/protection/csp.js +4 -17
- package/dist/runtime/test-utils/aliases.d.ts +6 -4
- package/dist/runtime/test-utils/aliases.js +3 -9
- package/dist/runtime/test-utils/base-modules.d.ts +9 -13
- package/dist/runtime/test-utils/install.js +4 -2
- package/dist/runtime/vue/a11y.js +1 -1
- package/dist/runtime/vue/auth-client.d.ts +8 -5
- package/dist/runtime/vue/components/account/AccountData.vue +2 -0
- package/dist/runtime/vue/components/account/AccountDeletion.css +1 -1
- package/dist/runtime/vue/components/account/ActivationChecklist.css +1 -1
- package/dist/runtime/vue/components/account/ActivationChecklist.vue +1 -0
- package/dist/runtime/vue/components/account/ConsentPrompt.css +1 -1
- package/dist/runtime/vue/components/account/ConsentPromptDialog.vue +1 -0
- package/dist/runtime/vue/components/account/ConsentPromptStorage.vue +1 -0
- package/dist/runtime/vue/components/account/EmailUnsubscribe.css +1 -1
- package/dist/runtime/vue/components/account/EmailUnsubscribe.vue +2 -2
- package/dist/runtime/vue/components/account/HowDidYouHear.css +1 -1
- package/dist/runtime/vue/components/account/HowDidYouHear.vue +1 -0
- package/dist/runtime/vue/components/account/KeepAccount.css +1 -1
- package/dist/runtime/vue/components/account/OnboardingFlow.css +1 -1
- package/dist/runtime/vue/components/account/OnboardingFlow.vue +1 -0
- package/dist/runtime/vue/components/account/ProfileIdentity.css +1 -1
- package/dist/runtime/vue/components/account/ProfilePreferencesSection.css +1 -1
- package/dist/runtime/vue/components/account/ProfilePreferencesSection.vue +3 -1
- package/dist/runtime/vue/components/account/ProfileSettings.css +1 -1
- package/dist/runtime/vue/components/account/ProfileSettings.vue +1 -0
- package/dist/runtime/vue/components/account/SecurityAlerts.css +1 -1
- package/dist/runtime/vue/components/account/SecurityAlerts.vue +2 -1
- package/dist/runtime/vue/components/account/SecurityPasskeys.css +1 -1
- package/dist/runtime/vue/components/account/SecuritySettings.css +1 -1
- package/dist/runtime/vue/components/account/SecuritySettings.vue +1 -0
- package/dist/runtime/vue/components/account/security-alerts.d.ts +7 -0
- package/dist/runtime/vue/components/account/security-alerts.js +6 -2
- package/dist/runtime/vue/components/admin/AdminAccess.css +1 -1
- package/dist/runtime/vue/components/admin/AdminAccess.vue +2 -0
- package/dist/runtime/vue/components/admin/AdminAccessMemberTickets.d.vue.ts +7 -0
- package/dist/runtime/vue/components/admin/AdminAccessMemberTickets.vue +42 -0
- package/dist/runtime/vue/components/admin/AdminAccessMemberTickets.vue.d.ts +7 -0
- package/dist/runtime/vue/components/admin/AdminAnnouncements.css +1 -1
- package/dist/runtime/vue/components/admin/AdminBilling.css +1 -1
- package/dist/runtime/vue/components/admin/AdminChart.css +1 -1
- package/dist/runtime/vue/components/admin/AdminConsole.css +1 -1
- package/dist/runtime/vue/components/admin/AdminExperiments.css +1 -1
- package/dist/runtime/vue/components/admin/AdminFlags.css +1 -1
- package/dist/runtime/vue/components/admin/AdminModeration.d.vue.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminModeration.vue +135 -0
- package/dist/runtime/vue/components/admin/AdminModeration.vue.d.ts +3 -0
- package/dist/runtime/vue/components/admin/AdminQueue.css +1 -1
- package/dist/runtime/vue/components/admin/AdminReferrals.css +1 -1
- package/dist/runtime/vue/components/admin/AdminReports.css +1 -1
- package/dist/runtime/vue/components/admin/AdminRevenue.css +1 -1
- package/dist/runtime/vue/components/admin/AdminUsers.d.vue.ts +27 -0
- package/dist/runtime/vue/components/admin/AdminUsers.vue +1 -0
- package/dist/runtime/vue/components/admin/AdminUsers.vue.d.ts +27 -0
- package/dist/runtime/vue/components/admin/AdminWorkspaces.d.vue.ts +27 -0
- package/dist/runtime/vue/components/admin/AdminWorkspaces.vue +1 -0
- package/dist/runtime/vue/components/admin/AdminWorkspaces.vue.d.ts +27 -0
- package/dist/runtime/vue/components/admin/admin-moderation-tab.d.ts +1 -0
- package/dist/runtime/vue/components/admin/admin-moderation-tab.js +34 -0
- package/dist/runtime/vue/components/admin/admin-tabs.js +2 -0
- package/dist/runtime/vue/components/admin/admin.css +1 -1
- package/dist/runtime/vue/components/auth/AuthForm.css +1 -1
- package/dist/runtime/vue/components/auth/AuthForm.vue +3 -2
- package/dist/runtime/vue/components/auth/AuthFormChoose.css +1 -1
- package/dist/runtime/vue/components/auth/AuthFormPasskeyOffer.css +1 -1
- package/dist/runtime/vue/components/auth/InviteRedeem.css +1 -1
- package/dist/runtime/vue/components/auth/ReauthenticateCode.css +1 -1
- package/dist/runtime/vue/components/auth/ReauthenticateDialog.css +1 -1
- package/dist/runtime/vue/components/auth/ReauthenticateDialog.vue +3 -2
- package/dist/runtime/vue/components/auth/WaitlistForm.css +1 -1
- package/dist/runtime/vue/components/auth/WaitlistForm.vue +1 -0
- package/dist/runtime/vue/components/auth/WaitlistPlace.css +1 -1
- package/dist/runtime/vue/components/auth/WaitlistShare.css +1 -1
- package/dist/runtime/vue/components/billing/BillingCheckoutLink.vue +2 -0
- package/dist/runtime/vue/components/billing/BillingHistory.css +1 -1
- package/dist/runtime/vue/components/billing/BillingHistory.vue +1 -0
- package/dist/runtime/vue/components/billing/BillingPortalLink.vue +1 -0
- package/dist/runtime/vue/components/billing/CancelFlow.css +1 -1
- package/dist/runtime/vue/components/billing/CancelFlow.vue +1 -0
- package/dist/runtime/vue/components/billing/CancelFlowEnd.vue +3 -1
- package/dist/runtime/vue/components/billing/GiftList.css +1 -1
- package/dist/runtime/vue/components/billing/PricingPackCard.css +1 -1
- package/dist/runtime/vue/components/billing/PricingPlanCard.css +1 -1
- package/dist/runtime/vue/components/billing/PricingPlanCard.vue +8 -1
- package/dist/runtime/vue/components/billing/PricingTable.css +1 -1
- package/dist/runtime/vue/components/billing/PricingTable.d.vue.ts +2 -0
- package/dist/runtime/vue/components/billing/PricingTable.vue +22 -3
- package/dist/runtime/vue/components/billing/PricingTable.vue.d.ts +2 -0
- package/dist/runtime/vue/components/billing/ReferralCard.css +1 -1
- package/dist/runtime/vue/components/billing/ReferralCard.vue +1 -0
- package/dist/runtime/vue/components/billing/ReferralLanding.css +1 -1
- package/dist/runtime/vue/components/billing/UpgradePrompt.css +1 -1
- package/dist/runtime/vue/components/billing/UpgradePrompt.vue +1 -0
- package/dist/runtime/vue/components/billing/UsageHistory.css +1 -1
- package/dist/runtime/vue/components/billing/UsageHistory.vue +1 -0
- package/dist/runtime/vue/components/billing/WithdrawalButton.css +1 -1
- package/dist/runtime/vue/components/billing/WithdrawalButton.vue +1 -0
- package/dist/runtime/vue/components/billing/pricing-table.d.ts +6 -0
- package/dist/runtime/vue/components/billing/withdrawal-button.d.ts +1 -1
- package/dist/runtime/vue/components/shared.css +1 -1
- package/dist/runtime/vue/components/shell/AccessDenied.css +1 -1
- package/dist/runtime/vue/components/shell/AccessDenied.vue +1 -0
- package/dist/runtime/vue/components/shell/AccountMenu.vue +1 -0
- package/dist/runtime/vue/components/shell/AiLabel.css +1 -1
- package/dist/runtime/vue/components/shell/AiLabel.vue +4 -1
- package/dist/runtime/vue/components/shell/AppShell.css +1 -1
- package/dist/runtime/vue/components/shell/AppShell.vue +3 -0
- package/dist/runtime/vue/components/shell/BackendNotices.vue +1 -0
- package/dist/runtime/vue/components/shell/ConfirmDialog.css +1 -1
- package/dist/runtime/vue/components/shell/ConnectionStatus.css +1 -1
- package/dist/runtime/vue/components/shell/ConnectionStatus.vue +1 -0
- package/dist/runtime/vue/components/shell/ContactForm.css +1 -1
- package/dist/runtime/vue/components/shell/ContactForm.vue +1 -0
- package/dist/runtime/vue/components/shell/FrameMain.vue +2 -0
- package/dist/runtime/vue/components/shell/Gate.css +1 -1
- package/dist/runtime/vue/components/shell/Gate.vue +2 -0
- package/dist/runtime/vue/components/shell/GateQuota.vue +1 -0
- package/dist/runtime/vue/components/shell/LegalCompany.d.vue.ts +3 -0
- package/dist/runtime/vue/components/shell/LegalCompany.vue +23 -0
- package/dist/runtime/vue/components/shell/LegalCompany.vue.d.ts +3 -0
- package/dist/runtime/vue/components/shell/LegalContactPoints.d.vue.ts +10 -0
- package/dist/runtime/vue/components/shell/LegalContactPoints.vue +51 -0
- package/dist/runtime/vue/components/shell/LegalContactPoints.vue.d.ts +10 -0
- package/dist/runtime/vue/components/shell/LegalDetail.d.vue.ts +11 -0
- package/dist/runtime/vue/components/shell/LegalDetail.vue +30 -0
- package/dist/runtime/vue/components/shell/LegalDetail.vue.d.ts +11 -0
- package/dist/runtime/vue/components/shell/LegalDocument.css +1 -1
- package/dist/runtime/vue/components/shell/LegalDocument.vue +49 -13
- package/dist/runtime/vue/components/shell/LegalModeration.d.vue.ts +8 -0
- package/dist/runtime/vue/components/shell/LegalModeration.vue +72 -0
- package/dist/runtime/vue/components/shell/LegalModeration.vue.d.ts +8 -0
- package/dist/runtime/vue/components/shell/LegalProcessors.d.vue.ts +3 -2
- package/dist/runtime/vue/components/shell/LegalProcessors.vue +46 -15
- package/dist/runtime/vue/components/shell/LegalProcessors.vue.d.ts +3 -2
- package/dist/runtime/vue/components/shell/LegalStorage.d.vue.ts +3 -2
- package/dist/runtime/vue/components/shell/LegalStorage.vue +49 -16
- package/dist/runtime/vue/components/shell/LegalStorage.vue.d.ts +3 -2
- package/dist/runtime/vue/components/shell/LegalVersion.d.vue.ts +10 -0
- package/dist/runtime/vue/components/shell/LegalVersion.vue +24 -0
- package/dist/runtime/vue/components/shell/LegalVersion.vue.d.ts +10 -0
- package/dist/runtime/vue/components/shell/NoticeAnnouncement.css +1 -1
- package/dist/runtime/vue/components/shell/NoticeDeletion.css +1 -1
- package/dist/runtime/vue/components/shell/NoticeGift.css +1 -1
- package/dist/runtime/vue/components/shell/NoticeGift.vue +7 -4
- package/dist/runtime/vue/components/shell/NoticeImpersonation.css +1 -1
- package/dist/runtime/vue/components/shell/NoticeLowCredits.css +1 -1
- package/dist/runtime/vue/components/shell/NoticeMaintenance.css +1 -1
- package/dist/runtime/vue/components/shell/NoticePastDue.css +1 -1
- package/dist/runtime/vue/components/shell/NotificationInbox.css +1 -1
- package/dist/runtime/vue/components/shell/NotificationInbox.vue +1 -0
- package/dist/runtime/vue/components/shell/ReportNotice.css +1 -1
- package/dist/runtime/vue/components/shell/UploadField.css +1 -1
- package/dist/runtime/vue/components/shell/UploadField.d.vue.ts +2 -0
- package/dist/runtime/vue/components/shell/UploadField.vue +16 -3
- package/dist/runtime/vue/components/shell/UploadField.vue.d.ts +2 -0
- package/dist/runtime/vue/components/shell/WorkspaceSwitcher.css +1 -1
- package/dist/runtime/vue/components/shell/WorkspaceSwitcher.vue +1 -0
- package/dist/runtime/vue/components/shell/legal.d.ts +35 -4
- package/dist/runtime/vue/components/shell/legal.js +126 -13
- package/dist/runtime/vue/components/shell/upload-field.d.ts +3 -1
- package/dist/runtime/vue/components/tokens.css +1 -1
- package/dist/runtime/vue/components/workspaces/AcceptInvitation.vue +1 -0
- package/dist/runtime/vue/components/workspaces/AuditLog.css +1 -1
- package/dist/runtime/vue/components/workspaces/AuditLog.vue +1 -0
- package/dist/runtime/vue/components/workspaces/WorkspaceBilling.css +1 -1
- package/dist/runtime/vue/components/workspaces/WorkspaceCredits.css +1 -1
- package/dist/runtime/vue/components/workspaces/WorkspaceList.css +1 -1
- package/dist/runtime/vue/components/workspaces/WorkspaceSettings.d.vue.ts +2 -2
- package/dist/runtime/vue/components/workspaces/WorkspaceSettings.vue +1 -0
- package/dist/runtime/vue/components/workspaces/WorkspaceSettings.vue.d.ts +2 -2
- package/dist/runtime/vue/composables/use-access.d.ts +51 -6
- package/dist/runtime/vue/composables/use-access.js +36 -0
- package/dist/runtime/vue/composables/use-billing.d.ts +6 -5
- package/dist/runtime/vue/composables/use-email-link.d.ts +55 -4
- package/dist/runtime/vue/composables/use-email-link.js +9 -9
- package/dist/runtime/vue/composables/use-gift-list.js +3 -1
- package/dist/runtime/vue/composables/use-labels.js +13 -8
- package/dist/runtime/vue/composables/use-login-flow.js +1 -1
- package/dist/runtime/vue/composables/use-notifications.js +3 -0
- package/dist/runtime/vue/composables/use-passkeys.js +2 -2
- package/dist/runtime/vue/composables/use-pricing.d.ts +15 -0
- package/dist/runtime/vue/composables/use-pricing.js +4 -0
- package/dist/runtime/vue/composables/use-referral-invite.d.ts +33 -4
- package/dist/runtime/vue/composables/use-referral-invite.js +20 -9
- package/dist/runtime/vue/composables/use-report-form.d.ts +178 -0
- package/dist/runtime/vue/composables/use-report-form.js +278 -0
- package/dist/runtime/vue/composables/use-sign-in-alerts.d.ts +85 -0
- package/dist/runtime/vue/composables/use-sign-in-alerts.js +70 -0
- package/dist/runtime/vue/composables/use-upload-field.d.ts +32 -6
- package/dist/runtime/vue/composables/use-upload-field.js +75 -36
- package/dist/runtime/vue/composables/use-waitlist.d.ts +8 -1
- package/dist/runtime/vue/composables/use-waitlist.js +14 -1
- package/dist/runtime/vue/pages/gifts.vue +9 -0
- package/dist/runtime/vue/passkey-ceremony.d.ts +42 -0
- package/dist/runtime/vue/passkey-ceremony.js +37 -0
- package/dist/runtime/vue/passkey-client.d.ts +11 -49
- package/dist/runtime/vue/passkey-client.js +2 -34
- package/dist/runtime/vue/plugins/checkout-return.d.ts +5 -4
- package/dist/runtime/vue/plugins/checkout-return.js +1 -1
- package/dist/runtime/vue/plugins/passkey-ceremony.d.ts +3 -1
- package/dist/runtime/vue/plugins/passkey-ceremony.js +1 -1
- package/dist/runtime/vue/protection/state.d.ts +6 -0
- package/dist/runtime/vue/utils/auth-session.js +1 -1
- package/dist/runtime/vue/utils/billing-access.d.ts +1 -1
- package/dist/runtime/vue/utils/checkout-return.d.ts +5 -4
- package/dist/runtime/vue/utils/checkout-return.js +3 -3
- package/dist/runtime/vue/utils/login-bindings.js +1 -1
- package/dist/runtime/vue/utils/page-guard.js +6 -5
- package/dist/runtime/vue/utils/passkey-prompt.d.ts +12 -0
- package/dist/runtime/vue/utils/passkey-prompt.js +8 -0
- package/dist/runtime/vue/utils/renamed-component.js +1 -1
- package/dist/shared/{nuxt-backend.KEzfHO2K.mjs → nuxt-backend.Bq_mhlky.mjs} +578 -60
- package/dist/shared/{nuxt-backend.DXEf0rrv.mjs → nuxt-backend.D9qXcOOI.mjs} +1 -1
- package/dist/shared/{nuxt-backend.ikObmtHs.mjs → nuxt-backend.DmZI-QSO.mjs} +2 -2
- package/dist/shared/{nuxt-backend.Dm1NkY7v.mjs → nuxt-backend.G4JryO1q.mjs} +144 -32
- package/dist/shared/{nuxt-backend.2m535CLS.mjs → nuxt-backend.Lk2MQI2u.mjs} +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +13 -13
- package/skills/nuxt-backend/SKILL.md +3 -3
- package/skills/nuxt-backend/references/api.md +95 -25
- package/skills/nuxt-backend/references/renames.json +114 -2054
- package/skills/nuxt-backend/references/surface.json +112 -3
- package/skills/nuxt-backend-ai/SKILL.md +13 -6
- package/skills/nuxt-backend-ai/references/api.md +21 -3
- package/skills/nuxt-backend-auth/references/api.md +20 -3
- package/skills/nuxt-backend-billing/references/api.md +20 -5
- package/skills/nuxt-backend-data/SKILL.md +3 -3
- package/skills/nuxt-backend-data/references/api.md +4 -3
- package/skills/nuxt-backend-email/references/api.md +2 -1
- package/skills/nuxt-backend-growth/references/api.md +1 -0
- package/skills/nuxt-backend-ship/SKILL.md +14 -22
- package/skills/nuxt-backend-ship/references/api.md +25 -2
- package/skills/nuxt-backend-ship/references/operate.md +28 -0
- package/skills/nuxt-backend-ui/SKILL.md +6 -2
- package/skills/nuxt-backend-upgrade/SKILL.md +16 -11
- package/skills/nuxt-backend-upgrade/references/api.md +2 -2
- package/skills/nuxt-backend-upgrade/references/upgrade.md +37 -438
- package/src/convex/access-tickets.ts +30 -1
- package/src/convex/account-data.ts +26 -3
- package/src/convex/app.ts +16 -2
- package/src/convex/billing-launch.ts +42 -0
- package/src/convex/catalog.ts +16 -2
- package/src/convex/client/code-binding.ts +1 -1
- package/src/convex/client/guards.ts +3 -3
- package/src/convex/client/index.ts +4 -3
- package/src/convex/client/plugins.ts +43 -19
- package/src/convex/components/backend/_generated/api.ts +2 -0
- package/src/convex/components/backend/_generated/component.ts +1255 -242
- package/src/convex/components/backend/access.ts +109 -16
- package/src/convex/components/backend/account.ts +48 -2
- package/src/convex/components/backend/adapter.ts +4 -0
- package/src/convex/components/backend/billing.ts +75 -12
- package/src/convex/components/backend/crons.ts +4 -0
- package/src/convex/components/backend/gifts.ts +2 -2
- package/src/convex/components/backend/jobs.ts +58 -13
- package/src/convex/components/backend/maintenance.ts +14 -1
- package/src/convex/components/backend/moderation.ts +57 -0
- package/src/convex/components/backend/schema.ts +110 -4
- package/src/convex/components/backend/storage.ts +56 -0
- package/src/convex/components/backend/subscriptions.ts +1 -1
- package/src/convex/constants.ts +20 -4
- package/src/convex/email-templates.ts +124 -21
- package/src/convex/emails/notification.ts +22 -0
- package/src/convex/errors.ts +64 -8
- package/src/convex/events.ts +4 -4
- package/src/convex/files.ts +48 -6
- package/src/convex/integrations/account.ts +4 -0
- package/src/convex/integrations/ai/chat.ts +9 -9
- package/src/convex/integrations/ai/config.ts +147 -37
- package/src/convex/integrations/ai/context.ts +7 -4
- package/src/convex/integrations/ai/costs.ts +45 -2
- package/src/convex/integrations/ai/embeddings.ts +24 -39
- package/src/convex/integrations/ai/images.ts +141 -0
- package/src/convex/integrations/ai/job-errors.ts +19 -2
- package/src/convex/integrations/ai/jobs.ts +466 -72
- package/src/convex/integrations/ai/knowledge.ts +9 -10
- package/src/convex/integrations/ai/metering.ts +83 -28
- package/src/convex/integrations/ai/model-id.ts +24 -2
- package/src/convex/integrations/ai/models.ts +273 -58
- package/src/convex/integrations/ai/moderation-providers.ts +373 -0
- package/src/convex/integrations/ai/moderation-taxonomy.ts +174 -0
- package/src/convex/integrations/ai/moderation.ts +530 -47
- package/src/convex/integrations/ai/provenance.ts +10 -1
- package/src/convex/integrations/ai/setup.ts +5 -5
- package/src/convex/integrations/ai/stream.ts +4 -3
- package/src/convex/integrations/ai.ts +19 -6
- package/src/convex/integrations/billing/checkout.ts +4 -4
- package/src/convex/integrations/billing/context.ts +34 -2
- package/src/convex/integrations/billing/credits.ts +23 -6
- package/src/convex/integrations/billing/free-plan.ts +120 -24
- package/src/convex/integrations/billing/functions.ts +20 -8
- package/src/convex/integrations/billing/gifts.ts +34 -6
- package/src/convex/integrations/billing/lifecycle.ts +14 -6
- package/src/convex/integrations/billing/passes.ts +2 -2
- package/src/convex/integrations/billing/pricing.ts +43 -5
- package/src/convex/integrations/billing/rate-limit.ts +46 -0
- package/src/convex/integrations/billing/referral-orders.ts +1 -1
- package/src/convex/integrations/billing/resync.ts +187 -0
- package/src/convex/integrations/billing/rewards.ts +1 -1
- package/src/convex/integrations/billing/subscriptions.ts +4 -2
- package/src/convex/integrations/billing/types/lifecycle.ts +1 -1
- package/src/convex/integrations/billing/types/records.ts +67 -3
- package/src/convex/integrations/billing/types/setup.ts +6 -5
- package/src/convex/integrations/billing/types/surface.ts +38 -5
- package/src/convex/integrations/billing/webhooks.ts +2 -2
- package/src/convex/integrations/billing/welcome.ts +103 -0
- package/src/convex/integrations/billing.ts +20 -5
- package/src/convex/integrations/email.ts +17 -2
- package/src/convex/integrations/functions.ts +2 -2
- package/src/convex/integrations/launch.ts +247 -28
- package/src/convex/integrations/notifications.ts +16 -17
- package/src/convex/integrations/rate-limit.ts +18 -3
- package/src/convex/integrations/reports.ts +18 -5
- package/src/convex/integrations/retention.ts +73 -5
- package/src/convex/integrations/storage.ts +91 -6
- package/src/convex/label-format.ts +2 -2
- package/src/convex/label-groups/admin.ts +28 -0
- package/src/convex/label-groups/cancelFlow.ts +2 -2
- package/src/convex/label-groups/email.ts +2 -1
- package/src/convex/label-groups/errors.ts +6 -1
- package/src/convex/label-groups/gift.ts +5 -2
- package/src/convex/label-groups/legal.ts +31 -0
- package/src/convex/label-groups/notifications.ts +5 -3
- package/src/convex/label-groups/pastDue.ts +1 -1
- package/src/convex/label-groups/pricing.ts +4 -0
- package/src/convex/label-groups/referral.ts +2 -2
- package/src/convex/label-groups/report.ts +10 -1
- package/src/convex/label-groups/upload.ts +2 -0
- package/src/convex/label-groups/withdrawal.ts +1 -1
- package/src/convex/label-translations.ts +94 -34
- package/src/convex/labels.ts +25 -0
- package/src/convex/legal.ts +12 -2
- package/src/convex/log.ts +12 -1
- package/src/convex/monitoring.ts +6 -4
- package/src/convex/report-rules.ts +3 -0
- package/src/convex/sensitive-actions.ts +1 -0
- package/src/convex/test-models.ts +26 -2
- package/src/convex/test-moderation.ts +122 -0
- package/src/convex/test.ts +405 -8
- package/src/runtime/vue/components/account/AccountData.vue +2 -0
- package/src/runtime/vue/components/account/AccountDeletion.css +2 -1
- package/src/runtime/vue/components/account/ActivationChecklist.css +5 -2
- package/src/runtime/vue/components/account/ActivationChecklist.vue +1 -0
- package/src/runtime/vue/components/account/ConsentPrompt.css +8 -5
- package/src/runtime/vue/components/account/ConsentPromptDialog.vue +1 -0
- package/src/runtime/vue/components/account/ConsentPromptStorage.vue +1 -0
- package/src/runtime/vue/components/account/EmailUnsubscribe.css +6 -2
- package/src/runtime/vue/components/account/EmailUnsubscribe.vue +2 -2
- package/src/runtime/vue/components/account/HowDidYouHear.css +8 -3
- package/src/runtime/vue/components/account/HowDidYouHear.vue +1 -0
- package/src/runtime/vue/components/account/KeepAccount.css +3 -1
- package/src/runtime/vue/components/account/OnboardingFlow.css +6 -3
- package/src/runtime/vue/components/account/OnboardingFlow.vue +1 -0
- package/src/runtime/vue/components/account/ProfileIdentity.css +1 -1
- package/src/runtime/vue/components/account/ProfilePreferencesSection.css +3 -1
- package/src/runtime/vue/components/account/ProfilePreferencesSection.vue +4 -2
- package/src/runtime/vue/components/account/ProfileSettings.css +3 -1
- package/src/runtime/vue/components/account/ProfileSettings.vue +1 -0
- package/src/runtime/vue/components/account/SecurityAlerts.css +2 -1
- package/src/runtime/vue/components/account/SecurityAlerts.vue +2 -2
- package/src/runtime/vue/components/account/SecurityPasskeys.css +5 -3
- package/src/runtime/vue/components/account/SecuritySettings.css +2 -1
- package/src/runtime/vue/components/account/SecuritySettings.vue +1 -0
- package/src/runtime/vue/components/admin/AdminAccess.css +1 -1
- package/src/runtime/vue/components/admin/AdminAccess.vue +3 -1
- package/src/runtime/vue/components/admin/AdminAccessMemberTickets.vue +51 -0
- package/src/runtime/vue/components/admin/AdminAnnouncements.css +4 -2
- package/src/runtime/vue/components/admin/AdminBilling.css +1 -1
- package/src/runtime/vue/components/admin/AdminChart.css +2 -1
- package/src/runtime/vue/components/admin/AdminConsole.css +1 -0
- package/src/runtime/vue/components/admin/AdminExperiments.css +2 -1
- package/src/runtime/vue/components/admin/AdminFlags.css +4 -2
- package/src/runtime/vue/components/admin/AdminModeration.vue +148 -0
- package/src/runtime/vue/components/admin/AdminQueue.css +4 -2
- package/src/runtime/vue/components/admin/AdminReferrals.css +3 -1
- package/src/runtime/vue/components/admin/AdminReports.css +2 -1
- package/src/runtime/vue/components/admin/AdminRevenue.css +2 -1
- package/src/runtime/vue/components/admin/AdminUsers.vue +1 -0
- package/src/runtime/vue/components/admin/AdminWorkspaces.vue +1 -0
- package/src/runtime/vue/components/admin/admin.css +2 -1
- package/src/runtime/vue/components/auth/AuthForm.css +6 -3
- package/src/runtime/vue/components/auth/AuthForm.vue +4 -3
- package/src/runtime/vue/components/auth/AuthFormChoose.css +1 -0
- package/src/runtime/vue/components/auth/AuthFormPasskeyOffer.css +2 -1
- package/src/runtime/vue/components/auth/InviteRedeem.css +2 -0
- package/src/runtime/vue/components/auth/ReauthenticateCode.css +1 -1
- package/src/runtime/vue/components/auth/ReauthenticateDialog.css +6 -2
- package/src/runtime/vue/components/auth/ReauthenticateDialog.vue +3 -2
- package/src/runtime/vue/components/auth/WaitlistForm.css +3 -1
- package/src/runtime/vue/components/auth/WaitlistForm.vue +1 -0
- package/src/runtime/vue/components/auth/WaitlistPlace.css +3 -1
- package/src/runtime/vue/components/auth/WaitlistShare.css +6 -3
- package/src/runtime/vue/components/billing/BillingCheckoutLink.vue +2 -0
- package/src/runtime/vue/components/billing/BillingHistory.css +2 -1
- package/src/runtime/vue/components/billing/BillingHistory.vue +1 -0
- package/src/runtime/vue/components/billing/BillingPortalLink.vue +1 -0
- package/src/runtime/vue/components/billing/CancelFlow.css +8 -4
- package/src/runtime/vue/components/billing/CancelFlow.vue +2 -1
- package/src/runtime/vue/components/billing/CancelFlowEnd.vue +3 -1
- package/src/runtime/vue/components/billing/GiftList.css +5 -2
- package/src/runtime/vue/components/billing/PricingPackCard.css +2 -1
- package/src/runtime/vue/components/billing/PricingPlanCard.css +5 -3
- package/src/runtime/vue/components/billing/PricingPlanCard.vue +8 -1
- package/src/runtime/vue/components/billing/PricingTable.css +1 -1
- package/src/runtime/vue/components/billing/PricingTable.vue +23 -3
- package/src/runtime/vue/components/billing/ReferralCard.css +6 -3
- package/src/runtime/vue/components/billing/ReferralCard.vue +1 -0
- package/src/runtime/vue/components/billing/ReferralLanding.css +5 -2
- package/src/runtime/vue/components/billing/UpgradePrompt.css +6 -3
- package/src/runtime/vue/components/billing/UpgradePrompt.vue +1 -0
- package/src/runtime/vue/components/billing/UsageHistory.css +2 -1
- package/src/runtime/vue/components/billing/UsageHistory.vue +1 -0
- package/src/runtime/vue/components/billing/WithdrawalButton.css +6 -2
- package/src/runtime/vue/components/billing/WithdrawalButton.vue +2 -1
- package/src/runtime/vue/components/shared.css +24 -3
- package/src/runtime/vue/components/shell/AccessDenied.css +4 -1
- package/src/runtime/vue/components/shell/AccessDenied.vue +1 -0
- package/src/runtime/vue/components/shell/AccountMenu.vue +1 -0
- package/src/runtime/vue/components/shell/AiLabel.css +3 -2
- package/src/runtime/vue/components/shell/AiLabel.vue +4 -1
- package/src/runtime/vue/components/shell/AppShell.css +5 -3
- package/src/runtime/vue/components/shell/AppShell.vue +3 -0
- package/src/runtime/vue/components/shell/BackendNotices.vue +3 -2
- package/src/runtime/vue/components/shell/ConfirmDialog.css +5 -2
- package/src/runtime/vue/components/shell/ConnectionStatus.css +1 -1
- package/src/runtime/vue/components/shell/ConnectionStatus.vue +1 -0
- package/src/runtime/vue/components/shell/ContactForm.css +8 -1
- package/src/runtime/vue/components/shell/ContactForm.vue +1 -0
- package/src/runtime/vue/components/shell/FrameMain.vue +2 -0
- package/src/runtime/vue/components/shell/Gate.css +5 -2
- package/src/runtime/vue/components/shell/Gate.vue +2 -0
- package/src/runtime/vue/components/shell/GateQuota.vue +1 -0
- package/src/runtime/vue/components/shell/LegalCompany.vue +38 -0
- package/src/runtime/vue/components/shell/LegalContactPoints.vue +74 -0
- package/src/runtime/vue/components/shell/LegalDetail.vue +54 -0
- package/src/runtime/vue/components/shell/LegalDocument.css +21 -4
- package/src/runtime/vue/components/shell/LegalDocument.vue +54 -15
- package/src/runtime/vue/components/shell/LegalModeration.vue +94 -0
- package/src/runtime/vue/components/shell/LegalProcessors.vue +64 -22
- package/src/runtime/vue/components/shell/LegalStorage.vue +64 -23
- package/src/runtime/vue/components/shell/LegalVersion.vue +44 -0
- package/src/runtime/vue/components/shell/NoticeAnnouncement.css +2 -1
- package/src/runtime/vue/components/shell/NoticeDeletion.css +5 -2
- package/src/runtime/vue/components/shell/NoticeGift.css +2 -1
- package/src/runtime/vue/components/shell/NoticeGift.vue +8 -5
- package/src/runtime/vue/components/shell/NoticeImpersonation.css +2 -1
- package/src/runtime/vue/components/shell/NoticeLowCredits.css +6 -2
- package/src/runtime/vue/components/shell/NoticeMaintenance.css +2 -1
- package/src/runtime/vue/components/shell/NoticePastDue.css +6 -2
- package/src/runtime/vue/components/shell/NoticePastDue.vue +1 -1
- package/src/runtime/vue/components/shell/NotificationInbox.css +6 -4
- package/src/runtime/vue/components/shell/NotificationInbox.vue +1 -0
- package/src/runtime/vue/components/shell/ReportNotice.css +2 -1
- package/src/runtime/vue/components/shell/UploadField.css +4 -2
- package/src/runtime/vue/components/shell/UploadField.vue +21 -5
- package/src/runtime/vue/components/shell/WorkspaceSwitcher.css +4 -1
- package/src/runtime/vue/components/shell/WorkspaceSwitcher.vue +1 -0
- package/src/runtime/vue/components/tokens.css +21 -1
- package/src/runtime/vue/components/workspaces/AcceptInvitation.vue +1 -0
- package/src/runtime/vue/components/workspaces/AuditLog.css +2 -1
- package/src/runtime/vue/components/workspaces/AuditLog.vue +1 -0
- package/src/runtime/vue/components/workspaces/WorkspaceBilling.css +2 -1
- package/src/runtime/vue/components/workspaces/WorkspaceCredits.css +1 -0
- package/src/runtime/vue/components/workspaces/WorkspaceList.css +2 -1
- package/src/runtime/vue/components/workspaces/WorkspaceSettings.vue +1 -0
- package/src/runtime/vue/pages/gifts.vue +13 -2
- package/src/runtime/vue/pages/referral.vue +1 -2
- package/dist/devtools-client/_nuxt/CfQg3BRt.js +0 -5
|
@@ -27,7 +27,12 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
27
27
|
admission: FunctionReference<
|
|
28
28
|
"query",
|
|
29
29
|
"internal",
|
|
30
|
-
{
|
|
30
|
+
{
|
|
31
|
+
email?: string;
|
|
32
|
+
members?: { chain: boolean };
|
|
33
|
+
tokenHash?: string;
|
|
34
|
+
workspaceInvitations?: number;
|
|
35
|
+
},
|
|
31
36
|
{
|
|
32
37
|
invite: null | {
|
|
33
38
|
kind?: "code" | "link";
|
|
@@ -101,6 +106,16 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
101
106
|
status: "valid" | "expired" | "used-up" | "revoked" | "unknown";
|
|
102
107
|
uses: number;
|
|
103
108
|
}>;
|
|
109
|
+
memberTickets: Array<{
|
|
110
|
+
createdAt: number;
|
|
111
|
+
email: null | string;
|
|
112
|
+
expiresAt: number;
|
|
113
|
+
holder: string;
|
|
114
|
+
id: string;
|
|
115
|
+
maxUses: number;
|
|
116
|
+
status: "valid" | "expired" | "used-up" | "revoked" | "unknown";
|
|
117
|
+
uses: number;
|
|
118
|
+
}>;
|
|
104
119
|
},
|
|
105
120
|
Name
|
|
106
121
|
>;
|
|
@@ -110,6 +125,7 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
110
125
|
{
|
|
111
126
|
createdBy?: string;
|
|
112
127
|
expiresAt?: number;
|
|
128
|
+
holder?: string;
|
|
113
129
|
keyVersion?: number;
|
|
114
130
|
kind: "code" | "link";
|
|
115
131
|
label: string;
|
|
@@ -120,6 +136,20 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
120
136
|
Name
|
|
121
137
|
>;
|
|
122
138
|
getPhase: FunctionReference<"query", "internal", {}, null | string, Name>;
|
|
139
|
+
memberTicket: FunctionReference<
|
|
140
|
+
"query",
|
|
141
|
+
"internal",
|
|
142
|
+
{ holder: string },
|
|
143
|
+
null | {
|
|
144
|
+
expiresAt: number;
|
|
145
|
+
id: string;
|
|
146
|
+
maxUses: number;
|
|
147
|
+
status: "valid" | "expired" | "used-up" | "revoked" | "unknown";
|
|
148
|
+
tokenHash: string;
|
|
149
|
+
uses: number;
|
|
150
|
+
},
|
|
151
|
+
Name
|
|
152
|
+
>;
|
|
123
153
|
recordTicket: FunctionReference<
|
|
124
154
|
"mutation",
|
|
125
155
|
"internal",
|
|
@@ -130,7 +160,12 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
130
160
|
redeem: FunctionReference<
|
|
131
161
|
"mutation",
|
|
132
162
|
"internal",
|
|
133
|
-
{
|
|
163
|
+
{
|
|
164
|
+
email: string;
|
|
165
|
+
members?: { chain: boolean };
|
|
166
|
+
tokenHash?: string;
|
|
167
|
+
workspaceInvitations?: number;
|
|
168
|
+
},
|
|
134
169
|
| { label?: string; ticket: string }
|
|
135
170
|
| { refused: "valid" | "expired" | "used-up" | "revoked" | "unknown" },
|
|
136
171
|
Name
|
|
@@ -284,142 +319,7 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
284
319
|
>;
|
|
285
320
|
};
|
|
286
321
|
adapter: {
|
|
287
|
-
|
|
288
|
-
"mutation",
|
|
289
|
-
"internal",
|
|
290
|
-
{
|
|
291
|
-
input:
|
|
292
|
-
| {
|
|
293
|
-
data: {
|
|
294
|
-
activationDismissedAt?: null | number;
|
|
295
|
-
banExpires?: null | number;
|
|
296
|
-
banReason?: null | string;
|
|
297
|
-
banned?: null | boolean;
|
|
298
|
-
createdAt: number;
|
|
299
|
-
email: string;
|
|
300
|
-
emailVerified: boolean;
|
|
301
|
-
image?: null | string;
|
|
302
|
-
lastLoginMethod?: null | string;
|
|
303
|
-
locale?: null | string;
|
|
304
|
-
name: string;
|
|
305
|
-
onboardedAt?: null | number;
|
|
306
|
-
passkeyOnly?: null | boolean;
|
|
307
|
-
recoveryCodeHash?: null | string;
|
|
308
|
-
role?: null | string;
|
|
309
|
-
updatedAt: number;
|
|
310
|
-
userId?: null | string;
|
|
311
|
-
};
|
|
312
|
-
model: "user";
|
|
313
|
-
}
|
|
314
|
-
| {
|
|
315
|
-
data: {
|
|
316
|
-
activeOrganizationId?: null | string;
|
|
317
|
-
createdAt: number;
|
|
318
|
-
expiresAt: number;
|
|
319
|
-
impersonatedBy?: null | string;
|
|
320
|
-
ipAddress?: null | string;
|
|
321
|
-
passkeyRecovery?: null | boolean;
|
|
322
|
-
signInMethod?: null | string;
|
|
323
|
-
token: string;
|
|
324
|
-
updatedAt: number;
|
|
325
|
-
userAgent?: null | string;
|
|
326
|
-
userId: string;
|
|
327
|
-
};
|
|
328
|
-
model: "session";
|
|
329
|
-
}
|
|
330
|
-
| {
|
|
331
|
-
data: {
|
|
332
|
-
accessToken?: null | string;
|
|
333
|
-
accessTokenExpiresAt?: null | number;
|
|
334
|
-
accountId: string;
|
|
335
|
-
createdAt: number;
|
|
336
|
-
idToken?: null | string;
|
|
337
|
-
password?: null | string;
|
|
338
|
-
providerId: string;
|
|
339
|
-
refreshToken?: null | string;
|
|
340
|
-
refreshTokenExpiresAt?: null | number;
|
|
341
|
-
scope?: null | string;
|
|
342
|
-
updatedAt: number;
|
|
343
|
-
userId: string;
|
|
344
|
-
};
|
|
345
|
-
model: "account";
|
|
346
|
-
}
|
|
347
|
-
| {
|
|
348
|
-
data: {
|
|
349
|
-
createdAt: number;
|
|
350
|
-
expiresAt: number;
|
|
351
|
-
identifier: string;
|
|
352
|
-
updatedAt: number;
|
|
353
|
-
value: string;
|
|
354
|
-
};
|
|
355
|
-
model: "verification";
|
|
356
|
-
}
|
|
357
|
-
| {
|
|
358
|
-
data: { count: number; key: string; lastRequest: number };
|
|
359
|
-
model: "rateLimit";
|
|
360
|
-
}
|
|
361
|
-
| {
|
|
362
|
-
data: {
|
|
363
|
-
aaguid?: null | string;
|
|
364
|
-
backedUp: boolean;
|
|
365
|
-
counter: number;
|
|
366
|
-
createdAt?: null | number;
|
|
367
|
-
credentialID: string;
|
|
368
|
-
deviceType: string;
|
|
369
|
-
name?: null | string;
|
|
370
|
-
publicKey: string;
|
|
371
|
-
transports?: null | string;
|
|
372
|
-
userId: string;
|
|
373
|
-
};
|
|
374
|
-
model: "passkey";
|
|
375
|
-
}
|
|
376
|
-
| {
|
|
377
|
-
data: {
|
|
378
|
-
createdAt: number;
|
|
379
|
-
expiresAt?: null | number;
|
|
380
|
-
privateKey: string;
|
|
381
|
-
publicKey: string;
|
|
382
|
-
};
|
|
383
|
-
model: "jwks";
|
|
384
|
-
}
|
|
385
|
-
| {
|
|
386
|
-
data: {
|
|
387
|
-
createdAt: number;
|
|
388
|
-
logo?: null | string;
|
|
389
|
-
metadata?: null | string;
|
|
390
|
-
name: string;
|
|
391
|
-
slug: string;
|
|
392
|
-
};
|
|
393
|
-
model: "organization";
|
|
394
|
-
}
|
|
395
|
-
| {
|
|
396
|
-
data: {
|
|
397
|
-
createdAt: number;
|
|
398
|
-
organizationId: string;
|
|
399
|
-
role: string;
|
|
400
|
-
userId: string;
|
|
401
|
-
};
|
|
402
|
-
model: "member";
|
|
403
|
-
}
|
|
404
|
-
| {
|
|
405
|
-
data: {
|
|
406
|
-
createdAt: number;
|
|
407
|
-
email: string;
|
|
408
|
-
expiresAt: number;
|
|
409
|
-
inviterId: string;
|
|
410
|
-
organizationId: string;
|
|
411
|
-
role?: null | string;
|
|
412
|
-
status: string;
|
|
413
|
-
};
|
|
414
|
-
model: "invitation";
|
|
415
|
-
};
|
|
416
|
-
onCreateHandle?: string;
|
|
417
|
-
select?: Array<string>;
|
|
418
|
-
},
|
|
419
|
-
any,
|
|
420
|
-
Name
|
|
421
|
-
>;
|
|
422
|
-
deleteMany: FunctionReference<
|
|
322
|
+
consumeOne: FunctionReference<
|
|
423
323
|
"mutation",
|
|
424
324
|
"internal",
|
|
425
325
|
{
|
|
@@ -655,6 +555,8 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
655
555
|
| "privateKey"
|
|
656
556
|
| "createdAt"
|
|
657
557
|
| "expiresAt"
|
|
558
|
+
| "alg"
|
|
559
|
+
| "crv"
|
|
658
560
|
| "_id";
|
|
659
561
|
mode?: "sensitive" | "insensitive";
|
|
660
562
|
operator?:
|
|
@@ -770,25 +672,988 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
770
672
|
}>;
|
|
771
673
|
};
|
|
772
674
|
onDeleteHandle?: string;
|
|
773
|
-
paginationOpts: {
|
|
774
|
-
cursor: string | null;
|
|
775
|
-
endCursor?: string | null;
|
|
776
|
-
id?: number;
|
|
777
|
-
maximumBytesRead?: number;
|
|
778
|
-
maximumRowsRead?: number;
|
|
779
|
-
numItems: number;
|
|
780
|
-
};
|
|
781
675
|
},
|
|
782
676
|
any,
|
|
783
677
|
Name
|
|
784
678
|
>;
|
|
785
|
-
|
|
679
|
+
create: FunctionReference<
|
|
786
680
|
"mutation",
|
|
787
681
|
"internal",
|
|
788
682
|
{
|
|
789
683
|
input:
|
|
790
684
|
| {
|
|
685
|
+
data: {
|
|
686
|
+
activationDismissedAt?: null | number;
|
|
687
|
+
banExpires?: null | number;
|
|
688
|
+
banReason?: null | string;
|
|
689
|
+
banned?: null | boolean;
|
|
690
|
+
createdAt: number;
|
|
691
|
+
email: string;
|
|
692
|
+
emailVerified: boolean;
|
|
693
|
+
image?: null | string;
|
|
694
|
+
lastLoginMethod?: null | string;
|
|
695
|
+
locale?: null | string;
|
|
696
|
+
name: string;
|
|
697
|
+
onboardedAt?: null | number;
|
|
698
|
+
passkeyOnly?: null | boolean;
|
|
699
|
+
recoveryCodeHash?: null | string;
|
|
700
|
+
role?: null | string;
|
|
701
|
+
updatedAt: number;
|
|
702
|
+
userId?: null | string;
|
|
703
|
+
};
|
|
791
704
|
model: "user";
|
|
705
|
+
}
|
|
706
|
+
| {
|
|
707
|
+
data: {
|
|
708
|
+
activeOrganizationId?: null | string;
|
|
709
|
+
createdAt: number;
|
|
710
|
+
expiresAt: number;
|
|
711
|
+
impersonatedBy?: null | string;
|
|
712
|
+
ipAddress?: null | string;
|
|
713
|
+
passkeyRecovery?: null | boolean;
|
|
714
|
+
signInMethod?: null | string;
|
|
715
|
+
token: string;
|
|
716
|
+
updatedAt: number;
|
|
717
|
+
userAgent?: null | string;
|
|
718
|
+
userId: string;
|
|
719
|
+
};
|
|
720
|
+
model: "session";
|
|
721
|
+
}
|
|
722
|
+
| {
|
|
723
|
+
data: {
|
|
724
|
+
accessToken?: null | string;
|
|
725
|
+
accessTokenExpiresAt?: null | number;
|
|
726
|
+
accountId: string;
|
|
727
|
+
createdAt: number;
|
|
728
|
+
idToken?: null | string;
|
|
729
|
+
password?: null | string;
|
|
730
|
+
providerId: string;
|
|
731
|
+
refreshToken?: null | string;
|
|
732
|
+
refreshTokenExpiresAt?: null | number;
|
|
733
|
+
scope?: null | string;
|
|
734
|
+
updatedAt: number;
|
|
735
|
+
userId: string;
|
|
736
|
+
};
|
|
737
|
+
model: "account";
|
|
738
|
+
}
|
|
739
|
+
| {
|
|
740
|
+
data: {
|
|
741
|
+
createdAt: number;
|
|
742
|
+
expiresAt: number;
|
|
743
|
+
identifier: string;
|
|
744
|
+
updatedAt: number;
|
|
745
|
+
value: string;
|
|
746
|
+
};
|
|
747
|
+
model: "verification";
|
|
748
|
+
}
|
|
749
|
+
| {
|
|
750
|
+
data: { count: number; key: string; lastRequest: number };
|
|
751
|
+
model: "rateLimit";
|
|
752
|
+
}
|
|
753
|
+
| {
|
|
754
|
+
data: {
|
|
755
|
+
aaguid?: null | string;
|
|
756
|
+
backedUp: boolean;
|
|
757
|
+
counter: number;
|
|
758
|
+
createdAt?: null | number;
|
|
759
|
+
credentialID: string;
|
|
760
|
+
deviceType: string;
|
|
761
|
+
name?: null | string;
|
|
762
|
+
publicKey: string;
|
|
763
|
+
transports?: null | string;
|
|
764
|
+
userId: string;
|
|
765
|
+
};
|
|
766
|
+
model: "passkey";
|
|
767
|
+
}
|
|
768
|
+
| {
|
|
769
|
+
data: {
|
|
770
|
+
alg?: null | string;
|
|
771
|
+
createdAt: number;
|
|
772
|
+
crv?: null | string;
|
|
773
|
+
expiresAt?: null | number;
|
|
774
|
+
privateKey: string;
|
|
775
|
+
publicKey: string;
|
|
776
|
+
};
|
|
777
|
+
model: "jwks";
|
|
778
|
+
}
|
|
779
|
+
| {
|
|
780
|
+
data: {
|
|
781
|
+
createdAt: number;
|
|
782
|
+
logo?: null | string;
|
|
783
|
+
metadata?: null | string;
|
|
784
|
+
name: string;
|
|
785
|
+
slug: string;
|
|
786
|
+
};
|
|
787
|
+
model: "organization";
|
|
788
|
+
}
|
|
789
|
+
| {
|
|
790
|
+
data: {
|
|
791
|
+
createdAt: number;
|
|
792
|
+
organizationId: string;
|
|
793
|
+
role: string;
|
|
794
|
+
userId: string;
|
|
795
|
+
};
|
|
796
|
+
model: "member";
|
|
797
|
+
}
|
|
798
|
+
| {
|
|
799
|
+
data: {
|
|
800
|
+
createdAt: number;
|
|
801
|
+
email: string;
|
|
802
|
+
expiresAt: number;
|
|
803
|
+
inviterId: string;
|
|
804
|
+
organizationId: string;
|
|
805
|
+
role?: null | string;
|
|
806
|
+
status: string;
|
|
807
|
+
};
|
|
808
|
+
model: "invitation";
|
|
809
|
+
};
|
|
810
|
+
onCreateHandle?: string;
|
|
811
|
+
select?: Array<string>;
|
|
812
|
+
unique?: Array<string>;
|
|
813
|
+
},
|
|
814
|
+
any,
|
|
815
|
+
Name
|
|
816
|
+
>;
|
|
817
|
+
deleteMany: FunctionReference<
|
|
818
|
+
"mutation",
|
|
819
|
+
"internal",
|
|
820
|
+
{
|
|
821
|
+
input:
|
|
822
|
+
| {
|
|
823
|
+
model: "user";
|
|
824
|
+
where?: Array<{
|
|
825
|
+
connector?: "AND" | "OR";
|
|
826
|
+
field:
|
|
827
|
+
| "name"
|
|
828
|
+
| "email"
|
|
829
|
+
| "emailVerified"
|
|
830
|
+
| "image"
|
|
831
|
+
| "createdAt"
|
|
832
|
+
| "updatedAt"
|
|
833
|
+
| "role"
|
|
834
|
+
| "banned"
|
|
835
|
+
| "banReason"
|
|
836
|
+
| "banExpires"
|
|
837
|
+
| "lastLoginMethod"
|
|
838
|
+
| "locale"
|
|
839
|
+
| "passkeyOnly"
|
|
840
|
+
| "recoveryCodeHash"
|
|
841
|
+
| "onboardedAt"
|
|
842
|
+
| "activationDismissedAt"
|
|
843
|
+
| "userId"
|
|
844
|
+
| "_id";
|
|
845
|
+
mode?: "sensitive" | "insensitive";
|
|
846
|
+
operator?:
|
|
847
|
+
| "lt"
|
|
848
|
+
| "lte"
|
|
849
|
+
| "gt"
|
|
850
|
+
| "gte"
|
|
851
|
+
| "eq"
|
|
852
|
+
| "in"
|
|
853
|
+
| "not_in"
|
|
854
|
+
| "ne"
|
|
855
|
+
| "contains"
|
|
856
|
+
| "starts_with"
|
|
857
|
+
| "ends_with";
|
|
858
|
+
value:
|
|
859
|
+
| string
|
|
860
|
+
| number
|
|
861
|
+
| boolean
|
|
862
|
+
| Array<string>
|
|
863
|
+
| Array<number>
|
|
864
|
+
| null;
|
|
865
|
+
}>;
|
|
866
|
+
}
|
|
867
|
+
| {
|
|
868
|
+
model: "session";
|
|
869
|
+
where?: Array<{
|
|
870
|
+
connector?: "AND" | "OR";
|
|
871
|
+
field:
|
|
872
|
+
| "expiresAt"
|
|
873
|
+
| "token"
|
|
874
|
+
| "createdAt"
|
|
875
|
+
| "updatedAt"
|
|
876
|
+
| "ipAddress"
|
|
877
|
+
| "userAgent"
|
|
878
|
+
| "userId"
|
|
879
|
+
| "impersonatedBy"
|
|
880
|
+
| "activeOrganizationId"
|
|
881
|
+
| "passkeyRecovery"
|
|
882
|
+
| "signInMethod"
|
|
883
|
+
| "_id";
|
|
884
|
+
mode?: "sensitive" | "insensitive";
|
|
885
|
+
operator?:
|
|
886
|
+
| "lt"
|
|
887
|
+
| "lte"
|
|
888
|
+
| "gt"
|
|
889
|
+
| "gte"
|
|
890
|
+
| "eq"
|
|
891
|
+
| "in"
|
|
892
|
+
| "not_in"
|
|
893
|
+
| "ne"
|
|
894
|
+
| "contains"
|
|
895
|
+
| "starts_with"
|
|
896
|
+
| "ends_with";
|
|
897
|
+
value:
|
|
898
|
+
| string
|
|
899
|
+
| number
|
|
900
|
+
| boolean
|
|
901
|
+
| Array<string>
|
|
902
|
+
| Array<number>
|
|
903
|
+
| null;
|
|
904
|
+
}>;
|
|
905
|
+
}
|
|
906
|
+
| {
|
|
907
|
+
model: "account";
|
|
908
|
+
where?: Array<{
|
|
909
|
+
connector?: "AND" | "OR";
|
|
910
|
+
field:
|
|
911
|
+
| "accountId"
|
|
912
|
+
| "providerId"
|
|
913
|
+
| "userId"
|
|
914
|
+
| "accessToken"
|
|
915
|
+
| "refreshToken"
|
|
916
|
+
| "idToken"
|
|
917
|
+
| "accessTokenExpiresAt"
|
|
918
|
+
| "refreshTokenExpiresAt"
|
|
919
|
+
| "scope"
|
|
920
|
+
| "password"
|
|
921
|
+
| "createdAt"
|
|
922
|
+
| "updatedAt"
|
|
923
|
+
| "_id";
|
|
924
|
+
mode?: "sensitive" | "insensitive";
|
|
925
|
+
operator?:
|
|
926
|
+
| "lt"
|
|
927
|
+
| "lte"
|
|
928
|
+
| "gt"
|
|
929
|
+
| "gte"
|
|
930
|
+
| "eq"
|
|
931
|
+
| "in"
|
|
932
|
+
| "not_in"
|
|
933
|
+
| "ne"
|
|
934
|
+
| "contains"
|
|
935
|
+
| "starts_with"
|
|
936
|
+
| "ends_with";
|
|
937
|
+
value:
|
|
938
|
+
| string
|
|
939
|
+
| number
|
|
940
|
+
| boolean
|
|
941
|
+
| Array<string>
|
|
942
|
+
| Array<number>
|
|
943
|
+
| null;
|
|
944
|
+
}>;
|
|
945
|
+
}
|
|
946
|
+
| {
|
|
947
|
+
model: "verification";
|
|
948
|
+
where?: Array<{
|
|
949
|
+
connector?: "AND" | "OR";
|
|
950
|
+
field:
|
|
951
|
+
| "identifier"
|
|
952
|
+
| "value"
|
|
953
|
+
| "expiresAt"
|
|
954
|
+
| "createdAt"
|
|
955
|
+
| "updatedAt"
|
|
956
|
+
| "_id";
|
|
957
|
+
mode?: "sensitive" | "insensitive";
|
|
958
|
+
operator?:
|
|
959
|
+
| "lt"
|
|
960
|
+
| "lte"
|
|
961
|
+
| "gt"
|
|
962
|
+
| "gte"
|
|
963
|
+
| "eq"
|
|
964
|
+
| "in"
|
|
965
|
+
| "not_in"
|
|
966
|
+
| "ne"
|
|
967
|
+
| "contains"
|
|
968
|
+
| "starts_with"
|
|
969
|
+
| "ends_with";
|
|
970
|
+
value:
|
|
971
|
+
| string
|
|
972
|
+
| number
|
|
973
|
+
| boolean
|
|
974
|
+
| Array<string>
|
|
975
|
+
| Array<number>
|
|
976
|
+
| null;
|
|
977
|
+
}>;
|
|
978
|
+
}
|
|
979
|
+
| {
|
|
980
|
+
model: "rateLimit";
|
|
981
|
+
where?: Array<{
|
|
982
|
+
connector?: "AND" | "OR";
|
|
983
|
+
field: "key" | "count" | "lastRequest" | "_id";
|
|
984
|
+
mode?: "sensitive" | "insensitive";
|
|
985
|
+
operator?:
|
|
986
|
+
| "lt"
|
|
987
|
+
| "lte"
|
|
988
|
+
| "gt"
|
|
989
|
+
| "gte"
|
|
990
|
+
| "eq"
|
|
991
|
+
| "in"
|
|
992
|
+
| "not_in"
|
|
993
|
+
| "ne"
|
|
994
|
+
| "contains"
|
|
995
|
+
| "starts_with"
|
|
996
|
+
| "ends_with";
|
|
997
|
+
value:
|
|
998
|
+
| string
|
|
999
|
+
| number
|
|
1000
|
+
| boolean
|
|
1001
|
+
| Array<string>
|
|
1002
|
+
| Array<number>
|
|
1003
|
+
| null;
|
|
1004
|
+
}>;
|
|
1005
|
+
}
|
|
1006
|
+
| {
|
|
1007
|
+
model: "passkey";
|
|
1008
|
+
where?: Array<{
|
|
1009
|
+
connector?: "AND" | "OR";
|
|
1010
|
+
field:
|
|
1011
|
+
| "name"
|
|
1012
|
+
| "publicKey"
|
|
1013
|
+
| "userId"
|
|
1014
|
+
| "credentialID"
|
|
1015
|
+
| "counter"
|
|
1016
|
+
| "deviceType"
|
|
1017
|
+
| "backedUp"
|
|
1018
|
+
| "transports"
|
|
1019
|
+
| "createdAt"
|
|
1020
|
+
| "aaguid"
|
|
1021
|
+
| "_id";
|
|
1022
|
+
mode?: "sensitive" | "insensitive";
|
|
1023
|
+
operator?:
|
|
1024
|
+
| "lt"
|
|
1025
|
+
| "lte"
|
|
1026
|
+
| "gt"
|
|
1027
|
+
| "gte"
|
|
1028
|
+
| "eq"
|
|
1029
|
+
| "in"
|
|
1030
|
+
| "not_in"
|
|
1031
|
+
| "ne"
|
|
1032
|
+
| "contains"
|
|
1033
|
+
| "starts_with"
|
|
1034
|
+
| "ends_with";
|
|
1035
|
+
value:
|
|
1036
|
+
| string
|
|
1037
|
+
| number
|
|
1038
|
+
| boolean
|
|
1039
|
+
| Array<string>
|
|
1040
|
+
| Array<number>
|
|
1041
|
+
| null;
|
|
1042
|
+
}>;
|
|
1043
|
+
}
|
|
1044
|
+
| {
|
|
1045
|
+
model: "jwks";
|
|
1046
|
+
where?: Array<{
|
|
1047
|
+
connector?: "AND" | "OR";
|
|
1048
|
+
field:
|
|
1049
|
+
| "publicKey"
|
|
1050
|
+
| "privateKey"
|
|
1051
|
+
| "createdAt"
|
|
1052
|
+
| "expiresAt"
|
|
1053
|
+
| "alg"
|
|
1054
|
+
| "crv"
|
|
1055
|
+
| "_id";
|
|
1056
|
+
mode?: "sensitive" | "insensitive";
|
|
1057
|
+
operator?:
|
|
1058
|
+
| "lt"
|
|
1059
|
+
| "lte"
|
|
1060
|
+
| "gt"
|
|
1061
|
+
| "gte"
|
|
1062
|
+
| "eq"
|
|
1063
|
+
| "in"
|
|
1064
|
+
| "not_in"
|
|
1065
|
+
| "ne"
|
|
1066
|
+
| "contains"
|
|
1067
|
+
| "starts_with"
|
|
1068
|
+
| "ends_with";
|
|
1069
|
+
value:
|
|
1070
|
+
| string
|
|
1071
|
+
| number
|
|
1072
|
+
| boolean
|
|
1073
|
+
| Array<string>
|
|
1074
|
+
| Array<number>
|
|
1075
|
+
| null;
|
|
1076
|
+
}>;
|
|
1077
|
+
}
|
|
1078
|
+
| {
|
|
1079
|
+
model: "organization";
|
|
1080
|
+
where?: Array<{
|
|
1081
|
+
connector?: "AND" | "OR";
|
|
1082
|
+
field:
|
|
1083
|
+
"name" | "slug" | "logo" | "createdAt" | "metadata" | "_id";
|
|
1084
|
+
mode?: "sensitive" | "insensitive";
|
|
1085
|
+
operator?:
|
|
1086
|
+
| "lt"
|
|
1087
|
+
| "lte"
|
|
1088
|
+
| "gt"
|
|
1089
|
+
| "gte"
|
|
1090
|
+
| "eq"
|
|
1091
|
+
| "in"
|
|
1092
|
+
| "not_in"
|
|
1093
|
+
| "ne"
|
|
1094
|
+
| "contains"
|
|
1095
|
+
| "starts_with"
|
|
1096
|
+
| "ends_with";
|
|
1097
|
+
value:
|
|
1098
|
+
| string
|
|
1099
|
+
| number
|
|
1100
|
+
| boolean
|
|
1101
|
+
| Array<string>
|
|
1102
|
+
| Array<number>
|
|
1103
|
+
| null;
|
|
1104
|
+
}>;
|
|
1105
|
+
}
|
|
1106
|
+
| {
|
|
1107
|
+
model: "member";
|
|
1108
|
+
where?: Array<{
|
|
1109
|
+
connector?: "AND" | "OR";
|
|
1110
|
+
field:
|
|
1111
|
+
"organizationId" | "userId" | "role" | "createdAt" | "_id";
|
|
1112
|
+
mode?: "sensitive" | "insensitive";
|
|
1113
|
+
operator?:
|
|
1114
|
+
| "lt"
|
|
1115
|
+
| "lte"
|
|
1116
|
+
| "gt"
|
|
1117
|
+
| "gte"
|
|
1118
|
+
| "eq"
|
|
1119
|
+
| "in"
|
|
1120
|
+
| "not_in"
|
|
1121
|
+
| "ne"
|
|
1122
|
+
| "contains"
|
|
1123
|
+
| "starts_with"
|
|
1124
|
+
| "ends_with";
|
|
1125
|
+
value:
|
|
1126
|
+
| string
|
|
1127
|
+
| number
|
|
1128
|
+
| boolean
|
|
1129
|
+
| Array<string>
|
|
1130
|
+
| Array<number>
|
|
1131
|
+
| null;
|
|
1132
|
+
}>;
|
|
1133
|
+
}
|
|
1134
|
+
| {
|
|
1135
|
+
model: "invitation";
|
|
1136
|
+
where?: Array<{
|
|
1137
|
+
connector?: "AND" | "OR";
|
|
1138
|
+
field:
|
|
1139
|
+
| "organizationId"
|
|
1140
|
+
| "email"
|
|
1141
|
+
| "role"
|
|
1142
|
+
| "status"
|
|
1143
|
+
| "expiresAt"
|
|
1144
|
+
| "createdAt"
|
|
1145
|
+
| "inviterId"
|
|
1146
|
+
| "_id";
|
|
1147
|
+
mode?: "sensitive" | "insensitive";
|
|
1148
|
+
operator?:
|
|
1149
|
+
| "lt"
|
|
1150
|
+
| "lte"
|
|
1151
|
+
| "gt"
|
|
1152
|
+
| "gte"
|
|
1153
|
+
| "eq"
|
|
1154
|
+
| "in"
|
|
1155
|
+
| "not_in"
|
|
1156
|
+
| "ne"
|
|
1157
|
+
| "contains"
|
|
1158
|
+
| "starts_with"
|
|
1159
|
+
| "ends_with";
|
|
1160
|
+
value:
|
|
1161
|
+
| string
|
|
1162
|
+
| number
|
|
1163
|
+
| boolean
|
|
1164
|
+
| Array<string>
|
|
1165
|
+
| Array<number>
|
|
1166
|
+
| null;
|
|
1167
|
+
}>;
|
|
1168
|
+
};
|
|
1169
|
+
onDeleteHandle?: string;
|
|
1170
|
+
paginationOpts: {
|
|
1171
|
+
cursor: string | null;
|
|
1172
|
+
endCursor?: string | null;
|
|
1173
|
+
id?: number;
|
|
1174
|
+
maximumBytesRead?: number;
|
|
1175
|
+
maximumRowsRead?: number;
|
|
1176
|
+
numItems: number;
|
|
1177
|
+
};
|
|
1178
|
+
},
|
|
1179
|
+
any,
|
|
1180
|
+
Name
|
|
1181
|
+
>;
|
|
1182
|
+
deleteOne: FunctionReference<
|
|
1183
|
+
"mutation",
|
|
1184
|
+
"internal",
|
|
1185
|
+
{
|
|
1186
|
+
input:
|
|
1187
|
+
| {
|
|
1188
|
+
model: "user";
|
|
1189
|
+
where?: Array<{
|
|
1190
|
+
connector?: "AND" | "OR";
|
|
1191
|
+
field:
|
|
1192
|
+
| "name"
|
|
1193
|
+
| "email"
|
|
1194
|
+
| "emailVerified"
|
|
1195
|
+
| "image"
|
|
1196
|
+
| "createdAt"
|
|
1197
|
+
| "updatedAt"
|
|
1198
|
+
| "role"
|
|
1199
|
+
| "banned"
|
|
1200
|
+
| "banReason"
|
|
1201
|
+
| "banExpires"
|
|
1202
|
+
| "lastLoginMethod"
|
|
1203
|
+
| "locale"
|
|
1204
|
+
| "passkeyOnly"
|
|
1205
|
+
| "recoveryCodeHash"
|
|
1206
|
+
| "onboardedAt"
|
|
1207
|
+
| "activationDismissedAt"
|
|
1208
|
+
| "userId"
|
|
1209
|
+
| "_id";
|
|
1210
|
+
mode?: "sensitive" | "insensitive";
|
|
1211
|
+
operator?:
|
|
1212
|
+
| "lt"
|
|
1213
|
+
| "lte"
|
|
1214
|
+
| "gt"
|
|
1215
|
+
| "gte"
|
|
1216
|
+
| "eq"
|
|
1217
|
+
| "in"
|
|
1218
|
+
| "not_in"
|
|
1219
|
+
| "ne"
|
|
1220
|
+
| "contains"
|
|
1221
|
+
| "starts_with"
|
|
1222
|
+
| "ends_with";
|
|
1223
|
+
value:
|
|
1224
|
+
| string
|
|
1225
|
+
| number
|
|
1226
|
+
| boolean
|
|
1227
|
+
| Array<string>
|
|
1228
|
+
| Array<number>
|
|
1229
|
+
| null;
|
|
1230
|
+
}>;
|
|
1231
|
+
}
|
|
1232
|
+
| {
|
|
1233
|
+
model: "session";
|
|
1234
|
+
where?: Array<{
|
|
1235
|
+
connector?: "AND" | "OR";
|
|
1236
|
+
field:
|
|
1237
|
+
| "expiresAt"
|
|
1238
|
+
| "token"
|
|
1239
|
+
| "createdAt"
|
|
1240
|
+
| "updatedAt"
|
|
1241
|
+
| "ipAddress"
|
|
1242
|
+
| "userAgent"
|
|
1243
|
+
| "userId"
|
|
1244
|
+
| "impersonatedBy"
|
|
1245
|
+
| "activeOrganizationId"
|
|
1246
|
+
| "passkeyRecovery"
|
|
1247
|
+
| "signInMethod"
|
|
1248
|
+
| "_id";
|
|
1249
|
+
mode?: "sensitive" | "insensitive";
|
|
1250
|
+
operator?:
|
|
1251
|
+
| "lt"
|
|
1252
|
+
| "lte"
|
|
1253
|
+
| "gt"
|
|
1254
|
+
| "gte"
|
|
1255
|
+
| "eq"
|
|
1256
|
+
| "in"
|
|
1257
|
+
| "not_in"
|
|
1258
|
+
| "ne"
|
|
1259
|
+
| "contains"
|
|
1260
|
+
| "starts_with"
|
|
1261
|
+
| "ends_with";
|
|
1262
|
+
value:
|
|
1263
|
+
| string
|
|
1264
|
+
| number
|
|
1265
|
+
| boolean
|
|
1266
|
+
| Array<string>
|
|
1267
|
+
| Array<number>
|
|
1268
|
+
| null;
|
|
1269
|
+
}>;
|
|
1270
|
+
}
|
|
1271
|
+
| {
|
|
1272
|
+
model: "account";
|
|
1273
|
+
where?: Array<{
|
|
1274
|
+
connector?: "AND" | "OR";
|
|
1275
|
+
field:
|
|
1276
|
+
| "accountId"
|
|
1277
|
+
| "providerId"
|
|
1278
|
+
| "userId"
|
|
1279
|
+
| "accessToken"
|
|
1280
|
+
| "refreshToken"
|
|
1281
|
+
| "idToken"
|
|
1282
|
+
| "accessTokenExpiresAt"
|
|
1283
|
+
| "refreshTokenExpiresAt"
|
|
1284
|
+
| "scope"
|
|
1285
|
+
| "password"
|
|
1286
|
+
| "createdAt"
|
|
1287
|
+
| "updatedAt"
|
|
1288
|
+
| "_id";
|
|
1289
|
+
mode?: "sensitive" | "insensitive";
|
|
1290
|
+
operator?:
|
|
1291
|
+
| "lt"
|
|
1292
|
+
| "lte"
|
|
1293
|
+
| "gt"
|
|
1294
|
+
| "gte"
|
|
1295
|
+
| "eq"
|
|
1296
|
+
| "in"
|
|
1297
|
+
| "not_in"
|
|
1298
|
+
| "ne"
|
|
1299
|
+
| "contains"
|
|
1300
|
+
| "starts_with"
|
|
1301
|
+
| "ends_with";
|
|
1302
|
+
value:
|
|
1303
|
+
| string
|
|
1304
|
+
| number
|
|
1305
|
+
| boolean
|
|
1306
|
+
| Array<string>
|
|
1307
|
+
| Array<number>
|
|
1308
|
+
| null;
|
|
1309
|
+
}>;
|
|
1310
|
+
}
|
|
1311
|
+
| {
|
|
1312
|
+
model: "verification";
|
|
1313
|
+
where?: Array<{
|
|
1314
|
+
connector?: "AND" | "OR";
|
|
1315
|
+
field:
|
|
1316
|
+
| "identifier"
|
|
1317
|
+
| "value"
|
|
1318
|
+
| "expiresAt"
|
|
1319
|
+
| "createdAt"
|
|
1320
|
+
| "updatedAt"
|
|
1321
|
+
| "_id";
|
|
1322
|
+
mode?: "sensitive" | "insensitive";
|
|
1323
|
+
operator?:
|
|
1324
|
+
| "lt"
|
|
1325
|
+
| "lte"
|
|
1326
|
+
| "gt"
|
|
1327
|
+
| "gte"
|
|
1328
|
+
| "eq"
|
|
1329
|
+
| "in"
|
|
1330
|
+
| "not_in"
|
|
1331
|
+
| "ne"
|
|
1332
|
+
| "contains"
|
|
1333
|
+
| "starts_with"
|
|
1334
|
+
| "ends_with";
|
|
1335
|
+
value:
|
|
1336
|
+
| string
|
|
1337
|
+
| number
|
|
1338
|
+
| boolean
|
|
1339
|
+
| Array<string>
|
|
1340
|
+
| Array<number>
|
|
1341
|
+
| null;
|
|
1342
|
+
}>;
|
|
1343
|
+
}
|
|
1344
|
+
| {
|
|
1345
|
+
model: "rateLimit";
|
|
1346
|
+
where?: Array<{
|
|
1347
|
+
connector?: "AND" | "OR";
|
|
1348
|
+
field: "key" | "count" | "lastRequest" | "_id";
|
|
1349
|
+
mode?: "sensitive" | "insensitive";
|
|
1350
|
+
operator?:
|
|
1351
|
+
| "lt"
|
|
1352
|
+
| "lte"
|
|
1353
|
+
| "gt"
|
|
1354
|
+
| "gte"
|
|
1355
|
+
| "eq"
|
|
1356
|
+
| "in"
|
|
1357
|
+
| "not_in"
|
|
1358
|
+
| "ne"
|
|
1359
|
+
| "contains"
|
|
1360
|
+
| "starts_with"
|
|
1361
|
+
| "ends_with";
|
|
1362
|
+
value:
|
|
1363
|
+
| string
|
|
1364
|
+
| number
|
|
1365
|
+
| boolean
|
|
1366
|
+
| Array<string>
|
|
1367
|
+
| Array<number>
|
|
1368
|
+
| null;
|
|
1369
|
+
}>;
|
|
1370
|
+
}
|
|
1371
|
+
| {
|
|
1372
|
+
model: "passkey";
|
|
1373
|
+
where?: Array<{
|
|
1374
|
+
connector?: "AND" | "OR";
|
|
1375
|
+
field:
|
|
1376
|
+
| "name"
|
|
1377
|
+
| "publicKey"
|
|
1378
|
+
| "userId"
|
|
1379
|
+
| "credentialID"
|
|
1380
|
+
| "counter"
|
|
1381
|
+
| "deviceType"
|
|
1382
|
+
| "backedUp"
|
|
1383
|
+
| "transports"
|
|
1384
|
+
| "createdAt"
|
|
1385
|
+
| "aaguid"
|
|
1386
|
+
| "_id";
|
|
1387
|
+
mode?: "sensitive" | "insensitive";
|
|
1388
|
+
operator?:
|
|
1389
|
+
| "lt"
|
|
1390
|
+
| "lte"
|
|
1391
|
+
| "gt"
|
|
1392
|
+
| "gte"
|
|
1393
|
+
| "eq"
|
|
1394
|
+
| "in"
|
|
1395
|
+
| "not_in"
|
|
1396
|
+
| "ne"
|
|
1397
|
+
| "contains"
|
|
1398
|
+
| "starts_with"
|
|
1399
|
+
| "ends_with";
|
|
1400
|
+
value:
|
|
1401
|
+
| string
|
|
1402
|
+
| number
|
|
1403
|
+
| boolean
|
|
1404
|
+
| Array<string>
|
|
1405
|
+
| Array<number>
|
|
1406
|
+
| null;
|
|
1407
|
+
}>;
|
|
1408
|
+
}
|
|
1409
|
+
| {
|
|
1410
|
+
model: "jwks";
|
|
1411
|
+
where?: Array<{
|
|
1412
|
+
connector?: "AND" | "OR";
|
|
1413
|
+
field:
|
|
1414
|
+
| "publicKey"
|
|
1415
|
+
| "privateKey"
|
|
1416
|
+
| "createdAt"
|
|
1417
|
+
| "expiresAt"
|
|
1418
|
+
| "alg"
|
|
1419
|
+
| "crv"
|
|
1420
|
+
| "_id";
|
|
1421
|
+
mode?: "sensitive" | "insensitive";
|
|
1422
|
+
operator?:
|
|
1423
|
+
| "lt"
|
|
1424
|
+
| "lte"
|
|
1425
|
+
| "gt"
|
|
1426
|
+
| "gte"
|
|
1427
|
+
| "eq"
|
|
1428
|
+
| "in"
|
|
1429
|
+
| "not_in"
|
|
1430
|
+
| "ne"
|
|
1431
|
+
| "contains"
|
|
1432
|
+
| "starts_with"
|
|
1433
|
+
| "ends_with";
|
|
1434
|
+
value:
|
|
1435
|
+
| string
|
|
1436
|
+
| number
|
|
1437
|
+
| boolean
|
|
1438
|
+
| Array<string>
|
|
1439
|
+
| Array<number>
|
|
1440
|
+
| null;
|
|
1441
|
+
}>;
|
|
1442
|
+
}
|
|
1443
|
+
| {
|
|
1444
|
+
model: "organization";
|
|
1445
|
+
where?: Array<{
|
|
1446
|
+
connector?: "AND" | "OR";
|
|
1447
|
+
field:
|
|
1448
|
+
"name" | "slug" | "logo" | "createdAt" | "metadata" | "_id";
|
|
1449
|
+
mode?: "sensitive" | "insensitive";
|
|
1450
|
+
operator?:
|
|
1451
|
+
| "lt"
|
|
1452
|
+
| "lte"
|
|
1453
|
+
| "gt"
|
|
1454
|
+
| "gte"
|
|
1455
|
+
| "eq"
|
|
1456
|
+
| "in"
|
|
1457
|
+
| "not_in"
|
|
1458
|
+
| "ne"
|
|
1459
|
+
| "contains"
|
|
1460
|
+
| "starts_with"
|
|
1461
|
+
| "ends_with";
|
|
1462
|
+
value:
|
|
1463
|
+
| string
|
|
1464
|
+
| number
|
|
1465
|
+
| boolean
|
|
1466
|
+
| Array<string>
|
|
1467
|
+
| Array<number>
|
|
1468
|
+
| null;
|
|
1469
|
+
}>;
|
|
1470
|
+
}
|
|
1471
|
+
| {
|
|
1472
|
+
model: "member";
|
|
1473
|
+
where?: Array<{
|
|
1474
|
+
connector?: "AND" | "OR";
|
|
1475
|
+
field:
|
|
1476
|
+
"organizationId" | "userId" | "role" | "createdAt" | "_id";
|
|
1477
|
+
mode?: "sensitive" | "insensitive";
|
|
1478
|
+
operator?:
|
|
1479
|
+
| "lt"
|
|
1480
|
+
| "lte"
|
|
1481
|
+
| "gt"
|
|
1482
|
+
| "gte"
|
|
1483
|
+
| "eq"
|
|
1484
|
+
| "in"
|
|
1485
|
+
| "not_in"
|
|
1486
|
+
| "ne"
|
|
1487
|
+
| "contains"
|
|
1488
|
+
| "starts_with"
|
|
1489
|
+
| "ends_with";
|
|
1490
|
+
value:
|
|
1491
|
+
| string
|
|
1492
|
+
| number
|
|
1493
|
+
| boolean
|
|
1494
|
+
| Array<string>
|
|
1495
|
+
| Array<number>
|
|
1496
|
+
| null;
|
|
1497
|
+
}>;
|
|
1498
|
+
}
|
|
1499
|
+
| {
|
|
1500
|
+
model: "invitation";
|
|
1501
|
+
where?: Array<{
|
|
1502
|
+
connector?: "AND" | "OR";
|
|
1503
|
+
field:
|
|
1504
|
+
| "organizationId"
|
|
1505
|
+
| "email"
|
|
1506
|
+
| "role"
|
|
1507
|
+
| "status"
|
|
1508
|
+
| "expiresAt"
|
|
1509
|
+
| "createdAt"
|
|
1510
|
+
| "inviterId"
|
|
1511
|
+
| "_id";
|
|
1512
|
+
mode?: "sensitive" | "insensitive";
|
|
1513
|
+
operator?:
|
|
1514
|
+
| "lt"
|
|
1515
|
+
| "lte"
|
|
1516
|
+
| "gt"
|
|
1517
|
+
| "gte"
|
|
1518
|
+
| "eq"
|
|
1519
|
+
| "in"
|
|
1520
|
+
| "not_in"
|
|
1521
|
+
| "ne"
|
|
1522
|
+
| "contains"
|
|
1523
|
+
| "starts_with"
|
|
1524
|
+
| "ends_with";
|
|
1525
|
+
value:
|
|
1526
|
+
| string
|
|
1527
|
+
| number
|
|
1528
|
+
| boolean
|
|
1529
|
+
| Array<string>
|
|
1530
|
+
| Array<number>
|
|
1531
|
+
| null;
|
|
1532
|
+
}>;
|
|
1533
|
+
};
|
|
1534
|
+
onDeleteHandle?: string;
|
|
1535
|
+
},
|
|
1536
|
+
any,
|
|
1537
|
+
Name
|
|
1538
|
+
>;
|
|
1539
|
+
findMany: FunctionReference<
|
|
1540
|
+
"query",
|
|
1541
|
+
"internal",
|
|
1542
|
+
{
|
|
1543
|
+
join?: any;
|
|
1544
|
+
limit?: number;
|
|
1545
|
+
model:
|
|
1546
|
+
| "user"
|
|
1547
|
+
| "session"
|
|
1548
|
+
| "account"
|
|
1549
|
+
| "verification"
|
|
1550
|
+
| "rateLimit"
|
|
1551
|
+
| "passkey"
|
|
1552
|
+
| "jwks"
|
|
1553
|
+
| "organization"
|
|
1554
|
+
| "member"
|
|
1555
|
+
| "invitation";
|
|
1556
|
+
offset?: number;
|
|
1557
|
+
paginationOpts: {
|
|
1558
|
+
cursor: string | null;
|
|
1559
|
+
endCursor?: string | null;
|
|
1560
|
+
id?: number;
|
|
1561
|
+
maximumBytesRead?: number;
|
|
1562
|
+
maximumRowsRead?: number;
|
|
1563
|
+
numItems: number;
|
|
1564
|
+
};
|
|
1565
|
+
select?: Array<string>;
|
|
1566
|
+
sortBy?: { direction: "asc" | "desc"; field: string };
|
|
1567
|
+
where?: Array<{
|
|
1568
|
+
connector?: "AND" | "OR";
|
|
1569
|
+
field: string;
|
|
1570
|
+
mode?: "sensitive" | "insensitive";
|
|
1571
|
+
operator?:
|
|
1572
|
+
| "lt"
|
|
1573
|
+
| "lte"
|
|
1574
|
+
| "gt"
|
|
1575
|
+
| "gte"
|
|
1576
|
+
| "eq"
|
|
1577
|
+
| "in"
|
|
1578
|
+
| "not_in"
|
|
1579
|
+
| "ne"
|
|
1580
|
+
| "contains"
|
|
1581
|
+
| "starts_with"
|
|
1582
|
+
| "ends_with";
|
|
1583
|
+
value:
|
|
1584
|
+
string | number | boolean | Array<string> | Array<number> | null;
|
|
1585
|
+
}>;
|
|
1586
|
+
},
|
|
1587
|
+
any,
|
|
1588
|
+
Name
|
|
1589
|
+
>;
|
|
1590
|
+
findOne: FunctionReference<
|
|
1591
|
+
"query",
|
|
1592
|
+
"internal",
|
|
1593
|
+
{
|
|
1594
|
+
join?: any;
|
|
1595
|
+
model:
|
|
1596
|
+
| "user"
|
|
1597
|
+
| "session"
|
|
1598
|
+
| "account"
|
|
1599
|
+
| "verification"
|
|
1600
|
+
| "rateLimit"
|
|
1601
|
+
| "passkey"
|
|
1602
|
+
| "jwks"
|
|
1603
|
+
| "organization"
|
|
1604
|
+
| "member"
|
|
1605
|
+
| "invitation";
|
|
1606
|
+
select?: Array<string>;
|
|
1607
|
+
where?: Array<{
|
|
1608
|
+
connector?: "AND" | "OR";
|
|
1609
|
+
field: string;
|
|
1610
|
+
mode?: "sensitive" | "insensitive";
|
|
1611
|
+
operator?:
|
|
1612
|
+
| "lt"
|
|
1613
|
+
| "lte"
|
|
1614
|
+
| "gt"
|
|
1615
|
+
| "gte"
|
|
1616
|
+
| "eq"
|
|
1617
|
+
| "in"
|
|
1618
|
+
| "not_in"
|
|
1619
|
+
| "ne"
|
|
1620
|
+
| "contains"
|
|
1621
|
+
| "starts_with"
|
|
1622
|
+
| "ends_with";
|
|
1623
|
+
value:
|
|
1624
|
+
string | number | boolean | Array<string> | Array<number> | null;
|
|
1625
|
+
}>;
|
|
1626
|
+
},
|
|
1627
|
+
any,
|
|
1628
|
+
Name
|
|
1629
|
+
>;
|
|
1630
|
+
incrementOne: FunctionReference<
|
|
1631
|
+
"mutation",
|
|
1632
|
+
"internal",
|
|
1633
|
+
{
|
|
1634
|
+
input:
|
|
1635
|
+
| {
|
|
1636
|
+
increment: Record<string, number>;
|
|
1637
|
+
model: "user";
|
|
1638
|
+
set?: {
|
|
1639
|
+
activationDismissedAt?: null | number;
|
|
1640
|
+
banExpires?: null | number;
|
|
1641
|
+
banReason?: null | string;
|
|
1642
|
+
banned?: null | boolean;
|
|
1643
|
+
createdAt?: number;
|
|
1644
|
+
email?: string;
|
|
1645
|
+
emailVerified?: boolean;
|
|
1646
|
+
image?: null | string;
|
|
1647
|
+
lastLoginMethod?: null | string;
|
|
1648
|
+
locale?: null | string;
|
|
1649
|
+
name?: string;
|
|
1650
|
+
onboardedAt?: null | number;
|
|
1651
|
+
passkeyOnly?: null | boolean;
|
|
1652
|
+
recoveryCodeHash?: null | string;
|
|
1653
|
+
role?: null | string;
|
|
1654
|
+
updatedAt?: number;
|
|
1655
|
+
userId?: null | string;
|
|
1656
|
+
};
|
|
792
1657
|
where?: Array<{
|
|
793
1658
|
connector?: "AND" | "OR";
|
|
794
1659
|
field:
|
|
@@ -833,7 +1698,21 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
833
1698
|
}>;
|
|
834
1699
|
}
|
|
835
1700
|
| {
|
|
1701
|
+
increment: Record<string, number>;
|
|
836
1702
|
model: "session";
|
|
1703
|
+
set?: {
|
|
1704
|
+
activeOrganizationId?: null | string;
|
|
1705
|
+
createdAt?: number;
|
|
1706
|
+
expiresAt?: number;
|
|
1707
|
+
impersonatedBy?: null | string;
|
|
1708
|
+
ipAddress?: null | string;
|
|
1709
|
+
passkeyRecovery?: null | boolean;
|
|
1710
|
+
signInMethod?: null | string;
|
|
1711
|
+
token?: string;
|
|
1712
|
+
updatedAt?: number;
|
|
1713
|
+
userAgent?: null | string;
|
|
1714
|
+
userId?: string;
|
|
1715
|
+
};
|
|
837
1716
|
where?: Array<{
|
|
838
1717
|
connector?: "AND" | "OR";
|
|
839
1718
|
field:
|
|
@@ -872,7 +1751,22 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
872
1751
|
}>;
|
|
873
1752
|
}
|
|
874
1753
|
| {
|
|
1754
|
+
increment: Record<string, number>;
|
|
875
1755
|
model: "account";
|
|
1756
|
+
set?: {
|
|
1757
|
+
accessToken?: null | string;
|
|
1758
|
+
accessTokenExpiresAt?: null | number;
|
|
1759
|
+
accountId?: string;
|
|
1760
|
+
createdAt?: number;
|
|
1761
|
+
idToken?: null | string;
|
|
1762
|
+
password?: null | string;
|
|
1763
|
+
providerId?: string;
|
|
1764
|
+
refreshToken?: null | string;
|
|
1765
|
+
refreshTokenExpiresAt?: null | number;
|
|
1766
|
+
scope?: null | string;
|
|
1767
|
+
updatedAt?: number;
|
|
1768
|
+
userId?: string;
|
|
1769
|
+
};
|
|
876
1770
|
where?: Array<{
|
|
877
1771
|
connector?: "AND" | "OR";
|
|
878
1772
|
field:
|
|
@@ -912,7 +1806,15 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
912
1806
|
}>;
|
|
913
1807
|
}
|
|
914
1808
|
| {
|
|
1809
|
+
increment: Record<string, number>;
|
|
915
1810
|
model: "verification";
|
|
1811
|
+
set?: {
|
|
1812
|
+
createdAt?: number;
|
|
1813
|
+
expiresAt?: number;
|
|
1814
|
+
identifier?: string;
|
|
1815
|
+
updatedAt?: number;
|
|
1816
|
+
value?: string;
|
|
1817
|
+
};
|
|
916
1818
|
where?: Array<{
|
|
917
1819
|
connector?: "AND" | "OR";
|
|
918
1820
|
field:
|
|
@@ -945,7 +1847,9 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
945
1847
|
}>;
|
|
946
1848
|
}
|
|
947
1849
|
| {
|
|
1850
|
+
increment: Record<string, number>;
|
|
948
1851
|
model: "rateLimit";
|
|
1852
|
+
set?: { count?: number; key?: string; lastRequest?: number };
|
|
949
1853
|
where?: Array<{
|
|
950
1854
|
connector?: "AND" | "OR";
|
|
951
1855
|
field: "key" | "count" | "lastRequest" | "_id";
|
|
@@ -972,7 +1876,20 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
972
1876
|
}>;
|
|
973
1877
|
}
|
|
974
1878
|
| {
|
|
1879
|
+
increment: Record<string, number>;
|
|
975
1880
|
model: "passkey";
|
|
1881
|
+
set?: {
|
|
1882
|
+
aaguid?: null | string;
|
|
1883
|
+
backedUp?: boolean;
|
|
1884
|
+
counter?: number;
|
|
1885
|
+
createdAt?: null | number;
|
|
1886
|
+
credentialID?: string;
|
|
1887
|
+
deviceType?: string;
|
|
1888
|
+
name?: null | string;
|
|
1889
|
+
publicKey?: string;
|
|
1890
|
+
transports?: null | string;
|
|
1891
|
+
userId?: string;
|
|
1892
|
+
};
|
|
976
1893
|
where?: Array<{
|
|
977
1894
|
connector?: "AND" | "OR";
|
|
978
1895
|
field:
|
|
@@ -1010,7 +1927,16 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
1010
1927
|
}>;
|
|
1011
1928
|
}
|
|
1012
1929
|
| {
|
|
1930
|
+
increment: Record<string, number>;
|
|
1013
1931
|
model: "jwks";
|
|
1932
|
+
set?: {
|
|
1933
|
+
alg?: null | string;
|
|
1934
|
+
createdAt?: number;
|
|
1935
|
+
crv?: null | string;
|
|
1936
|
+
expiresAt?: null | number;
|
|
1937
|
+
privateKey?: string;
|
|
1938
|
+
publicKey?: string;
|
|
1939
|
+
};
|
|
1014
1940
|
where?: Array<{
|
|
1015
1941
|
connector?: "AND" | "OR";
|
|
1016
1942
|
field:
|
|
@@ -1018,6 +1944,8 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
1018
1944
|
| "privateKey"
|
|
1019
1945
|
| "createdAt"
|
|
1020
1946
|
| "expiresAt"
|
|
1947
|
+
| "alg"
|
|
1948
|
+
| "crv"
|
|
1021
1949
|
| "_id";
|
|
1022
1950
|
mode?: "sensitive" | "insensitive";
|
|
1023
1951
|
operator?:
|
|
@@ -1042,7 +1970,15 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
1042
1970
|
}>;
|
|
1043
1971
|
}
|
|
1044
1972
|
| {
|
|
1973
|
+
increment: Record<string, number>;
|
|
1045
1974
|
model: "organization";
|
|
1975
|
+
set?: {
|
|
1976
|
+
createdAt?: number;
|
|
1977
|
+
logo?: null | string;
|
|
1978
|
+
metadata?: null | string;
|
|
1979
|
+
name?: string;
|
|
1980
|
+
slug?: string;
|
|
1981
|
+
};
|
|
1046
1982
|
where?: Array<{
|
|
1047
1983
|
connector?: "AND" | "OR";
|
|
1048
1984
|
field:
|
|
@@ -1070,7 +2006,14 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
1070
2006
|
}>;
|
|
1071
2007
|
}
|
|
1072
2008
|
| {
|
|
2009
|
+
increment: Record<string, number>;
|
|
1073
2010
|
model: "member";
|
|
2011
|
+
set?: {
|
|
2012
|
+
createdAt?: number;
|
|
2013
|
+
organizationId?: string;
|
|
2014
|
+
role?: string;
|
|
2015
|
+
userId?: string;
|
|
2016
|
+
};
|
|
1074
2017
|
where?: Array<{
|
|
1075
2018
|
connector?: "AND" | "OR";
|
|
1076
2019
|
field:
|
|
@@ -1098,7 +2041,17 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
1098
2041
|
}>;
|
|
1099
2042
|
}
|
|
1100
2043
|
| {
|
|
2044
|
+
increment: Record<string, number>;
|
|
1101
2045
|
model: "invitation";
|
|
2046
|
+
set?: {
|
|
2047
|
+
createdAt?: number;
|
|
2048
|
+
email?: string;
|
|
2049
|
+
expiresAt?: number;
|
|
2050
|
+
inviterId?: string;
|
|
2051
|
+
organizationId?: string;
|
|
2052
|
+
role?: null | string;
|
|
2053
|
+
status?: string;
|
|
2054
|
+
};
|
|
1102
2055
|
where?: Array<{
|
|
1103
2056
|
connector?: "AND" | "OR";
|
|
1104
2057
|
field:
|
|
@@ -1132,98 +2085,7 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
1132
2085
|
| null;
|
|
1133
2086
|
}>;
|
|
1134
2087
|
};
|
|
1135
|
-
|
|
1136
|
-
},
|
|
1137
|
-
any,
|
|
1138
|
-
Name
|
|
1139
|
-
>;
|
|
1140
|
-
findMany: FunctionReference<
|
|
1141
|
-
"query",
|
|
1142
|
-
"internal",
|
|
1143
|
-
{
|
|
1144
|
-
join?: any;
|
|
1145
|
-
limit?: number;
|
|
1146
|
-
model:
|
|
1147
|
-
| "user"
|
|
1148
|
-
| "session"
|
|
1149
|
-
| "account"
|
|
1150
|
-
| "verification"
|
|
1151
|
-
| "rateLimit"
|
|
1152
|
-
| "passkey"
|
|
1153
|
-
| "jwks"
|
|
1154
|
-
| "organization"
|
|
1155
|
-
| "member"
|
|
1156
|
-
| "invitation";
|
|
1157
|
-
offset?: number;
|
|
1158
|
-
paginationOpts: {
|
|
1159
|
-
cursor: string | null;
|
|
1160
|
-
endCursor?: string | null;
|
|
1161
|
-
id?: number;
|
|
1162
|
-
maximumBytesRead?: number;
|
|
1163
|
-
maximumRowsRead?: number;
|
|
1164
|
-
numItems: number;
|
|
1165
|
-
};
|
|
1166
|
-
select?: Array<string>;
|
|
1167
|
-
sortBy?: { direction: "asc" | "desc"; field: string };
|
|
1168
|
-
where?: Array<{
|
|
1169
|
-
connector?: "AND" | "OR";
|
|
1170
|
-
field: string;
|
|
1171
|
-
mode?: "sensitive" | "insensitive";
|
|
1172
|
-
operator?:
|
|
1173
|
-
| "lt"
|
|
1174
|
-
| "lte"
|
|
1175
|
-
| "gt"
|
|
1176
|
-
| "gte"
|
|
1177
|
-
| "eq"
|
|
1178
|
-
| "in"
|
|
1179
|
-
| "not_in"
|
|
1180
|
-
| "ne"
|
|
1181
|
-
| "contains"
|
|
1182
|
-
| "starts_with"
|
|
1183
|
-
| "ends_with";
|
|
1184
|
-
value:
|
|
1185
|
-
string | number | boolean | Array<string> | Array<number> | null;
|
|
1186
|
-
}>;
|
|
1187
|
-
},
|
|
1188
|
-
any,
|
|
1189
|
-
Name
|
|
1190
|
-
>;
|
|
1191
|
-
findOne: FunctionReference<
|
|
1192
|
-
"query",
|
|
1193
|
-
"internal",
|
|
1194
|
-
{
|
|
1195
|
-
join?: any;
|
|
1196
|
-
model:
|
|
1197
|
-
| "user"
|
|
1198
|
-
| "session"
|
|
1199
|
-
| "account"
|
|
1200
|
-
| "verification"
|
|
1201
|
-
| "rateLimit"
|
|
1202
|
-
| "passkey"
|
|
1203
|
-
| "jwks"
|
|
1204
|
-
| "organization"
|
|
1205
|
-
| "member"
|
|
1206
|
-
| "invitation";
|
|
1207
|
-
select?: Array<string>;
|
|
1208
|
-
where?: Array<{
|
|
1209
|
-
connector?: "AND" | "OR";
|
|
1210
|
-
field: string;
|
|
1211
|
-
mode?: "sensitive" | "insensitive";
|
|
1212
|
-
operator?:
|
|
1213
|
-
| "lt"
|
|
1214
|
-
| "lte"
|
|
1215
|
-
| "gt"
|
|
1216
|
-
| "gte"
|
|
1217
|
-
| "eq"
|
|
1218
|
-
| "in"
|
|
1219
|
-
| "not_in"
|
|
1220
|
-
| "ne"
|
|
1221
|
-
| "contains"
|
|
1222
|
-
| "starts_with"
|
|
1223
|
-
| "ends_with";
|
|
1224
|
-
value:
|
|
1225
|
-
string | number | boolean | Array<string> | Array<number> | null;
|
|
1226
|
-
}>;
|
|
2088
|
+
onUpdateHandle?: string;
|
|
1227
2089
|
},
|
|
1228
2090
|
any,
|
|
1229
2091
|
Name
|
|
@@ -1524,7 +2386,9 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
1524
2386
|
| {
|
|
1525
2387
|
model: "jwks";
|
|
1526
2388
|
update: {
|
|
2389
|
+
alg?: null | string;
|
|
1527
2390
|
createdAt?: number;
|
|
2391
|
+
crv?: null | string;
|
|
1528
2392
|
expiresAt?: null | number;
|
|
1529
2393
|
privateKey?: string;
|
|
1530
2394
|
publicKey?: string;
|
|
@@ -1536,6 +2400,8 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
1536
2400
|
| "privateKey"
|
|
1537
2401
|
| "createdAt"
|
|
1538
2402
|
| "expiresAt"
|
|
2403
|
+
| "alg"
|
|
2404
|
+
| "crv"
|
|
1539
2405
|
| "_id";
|
|
1540
2406
|
mode?: "sensitive" | "insensitive";
|
|
1541
2407
|
operator?:
|
|
@@ -1981,7 +2847,9 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
1981
2847
|
| {
|
|
1982
2848
|
model: "jwks";
|
|
1983
2849
|
update: {
|
|
2850
|
+
alg?: null | string;
|
|
1984
2851
|
createdAt?: number;
|
|
2852
|
+
crv?: null | string;
|
|
1985
2853
|
expiresAt?: null | number;
|
|
1986
2854
|
privateKey?: string;
|
|
1987
2855
|
publicKey?: string;
|
|
@@ -1993,6 +2861,8 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
1993
2861
|
| "privateKey"
|
|
1994
2862
|
| "createdAt"
|
|
1995
2863
|
| "expiresAt"
|
|
2864
|
+
| "alg"
|
|
2865
|
+
| "crv"
|
|
1996
2866
|
| "_id";
|
|
1997
2867
|
mode?: "sensitive" | "insensitive";
|
|
1998
2868
|
operator?:
|
|
@@ -2622,6 +3492,13 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
2622
3492
|
boolean,
|
|
2623
3493
|
Name
|
|
2624
3494
|
>;
|
|
3495
|
+
claimWelcome: FunctionReference<
|
|
3496
|
+
"mutation",
|
|
3497
|
+
"internal",
|
|
3498
|
+
{ address: string; entityId: string },
|
|
3499
|
+
boolean,
|
|
3500
|
+
Name
|
|
3501
|
+
>;
|
|
2625
3502
|
clear: FunctionReference<"mutation", "internal", {}, null, Name>;
|
|
2626
3503
|
clearPendingSpends: FunctionReference<
|
|
2627
3504
|
"mutation",
|
|
@@ -2633,7 +3510,12 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
2633
3510
|
credit: FunctionReference<
|
|
2634
3511
|
"mutation",
|
|
2635
3512
|
"internal",
|
|
2636
|
-
{
|
|
3513
|
+
{
|
|
3514
|
+
amount: number;
|
|
3515
|
+
externalId?: string;
|
|
3516
|
+
meterId: string;
|
|
3517
|
+
userId: string;
|
|
3518
|
+
},
|
|
2637
3519
|
null,
|
|
2638
3520
|
Name
|
|
2639
3521
|
>;
|
|
@@ -4019,6 +4901,22 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
4019
4901
|
Name
|
|
4020
4902
|
>;
|
|
4021
4903
|
get: FunctionReference<"query", "internal", { jobId: string }, any, Name>;
|
|
4904
|
+
holdTaken: FunctionReference<
|
|
4905
|
+
"mutation",
|
|
4906
|
+
"internal",
|
|
4907
|
+
{
|
|
4908
|
+
hold: {
|
|
4909
|
+
externalId: string;
|
|
4910
|
+
meter?: string;
|
|
4911
|
+
meterId?: string;
|
|
4912
|
+
reserved: boolean;
|
|
4913
|
+
value: number;
|
|
4914
|
+
};
|
|
4915
|
+
jobId: string;
|
|
4916
|
+
},
|
|
4917
|
+
boolean,
|
|
4918
|
+
Name
|
|
4919
|
+
>;
|
|
4022
4920
|
join: FunctionReference<
|
|
4023
4921
|
"mutation",
|
|
4024
4922
|
"internal",
|
|
@@ -4027,6 +4925,7 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
4027
4925
|
budgetCounted: number;
|
|
4028
4926
|
budgetWindow?: number;
|
|
4029
4927
|
cost: number;
|
|
4928
|
+
free?: boolean;
|
|
4030
4929
|
hold?: {
|
|
4031
4930
|
externalId: string;
|
|
4032
4931
|
meter?: string;
|
|
@@ -4077,7 +4976,7 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
4077
4976
|
mark: FunctionReference<
|
|
4078
4977
|
"mutation",
|
|
4079
4978
|
"internal",
|
|
4080
|
-
{ charged: true; jobId: string },
|
|
4979
|
+
{ charged: true; jobId: string; price?: number },
|
|
4081
4980
|
{ refund: boolean },
|
|
4082
4981
|
Name
|
|
4083
4982
|
>;
|
|
@@ -4125,6 +5024,13 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
4125
5024
|
any,
|
|
4126
5025
|
Name
|
|
4127
5026
|
>;
|
|
5027
|
+
oweRefund: FunctionReference<
|
|
5028
|
+
"mutation",
|
|
5029
|
+
"internal",
|
|
5030
|
+
{ jobId: string },
|
|
5031
|
+
boolean,
|
|
5032
|
+
Name
|
|
5033
|
+
>;
|
|
4128
5034
|
ownerState: FunctionReference<
|
|
4129
5035
|
"query",
|
|
4130
5036
|
"internal",
|
|
@@ -4183,7 +5089,7 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
4183
5089
|
recordError: FunctionReference<
|
|
4184
5090
|
"mutation",
|
|
4185
5091
|
"internal",
|
|
4186
|
-
{ error: any; jobId: string; lastError?: string },
|
|
5092
|
+
{ error: any; jobId: string; lastError?: string; replace?: boolean },
|
|
4187
5093
|
null,
|
|
4188
5094
|
Name
|
|
4189
5095
|
>;
|
|
@@ -4419,6 +5325,105 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
4419
5325
|
Name
|
|
4420
5326
|
>;
|
|
4421
5327
|
};
|
|
5328
|
+
moderation: {
|
|
5329
|
+
get: FunctionReference<
|
|
5330
|
+
"query",
|
|
5331
|
+
"internal",
|
|
5332
|
+
{ id: string },
|
|
5333
|
+
null | {
|
|
5334
|
+
at: number;
|
|
5335
|
+
automated?: boolean;
|
|
5336
|
+
blocked: boolean;
|
|
5337
|
+
categories: Array<string>;
|
|
5338
|
+
codes?: Array<string>;
|
|
5339
|
+
escalate: boolean;
|
|
5340
|
+
hash?: string;
|
|
5341
|
+
id: string;
|
|
5342
|
+
legalHold?: boolean;
|
|
5343
|
+
model: string;
|
|
5344
|
+
owner?: string;
|
|
5345
|
+
playbook?: "csam";
|
|
5346
|
+
policy?: string;
|
|
5347
|
+
policyVersion?: string;
|
|
5348
|
+
providers?: Array<string>;
|
|
5349
|
+
scores?: Record<string, { score: number; supported: boolean }>;
|
|
5350
|
+
stage?: string;
|
|
5351
|
+
subject?: string;
|
|
5352
|
+
thresholds?: Record<string, number>;
|
|
5353
|
+
userId?: string;
|
|
5354
|
+
},
|
|
5355
|
+
Name
|
|
5356
|
+
>;
|
|
5357
|
+
list: FunctionReference<
|
|
5358
|
+
"query",
|
|
5359
|
+
"internal",
|
|
5360
|
+
{
|
|
5361
|
+
escalated?: boolean;
|
|
5362
|
+
paginationOpts: {
|
|
5363
|
+
cursor: string | null;
|
|
5364
|
+
endCursor?: string | null;
|
|
5365
|
+
id?: number;
|
|
5366
|
+
maximumBytesRead?: number;
|
|
5367
|
+
maximumRowsRead?: number;
|
|
5368
|
+
numItems: number;
|
|
5369
|
+
};
|
|
5370
|
+
},
|
|
5371
|
+
{
|
|
5372
|
+
continueCursor: string;
|
|
5373
|
+
isDone: boolean;
|
|
5374
|
+
page: Array<{
|
|
5375
|
+
at: number;
|
|
5376
|
+
automated?: boolean;
|
|
5377
|
+
blocked: boolean;
|
|
5378
|
+
categories: Array<string>;
|
|
5379
|
+
codes?: Array<string>;
|
|
5380
|
+
escalate: boolean;
|
|
5381
|
+
hash?: string;
|
|
5382
|
+
id: string;
|
|
5383
|
+
legalHold?: boolean;
|
|
5384
|
+
model: string;
|
|
5385
|
+
owner?: string;
|
|
5386
|
+
playbook?: "csam";
|
|
5387
|
+
policy?: string;
|
|
5388
|
+
policyVersion?: string;
|
|
5389
|
+
providers?: Array<string>;
|
|
5390
|
+
scores?: Record<string, { score: number; supported: boolean }>;
|
|
5391
|
+
stage?: string;
|
|
5392
|
+
subject?: string;
|
|
5393
|
+
thresholds?: Record<string, number>;
|
|
5394
|
+
userId?: string;
|
|
5395
|
+
}>;
|
|
5396
|
+
},
|
|
5397
|
+
Name
|
|
5398
|
+
>;
|
|
5399
|
+
record: FunctionReference<
|
|
5400
|
+
"mutation",
|
|
5401
|
+
"internal",
|
|
5402
|
+
{
|
|
5403
|
+
automated?: boolean;
|
|
5404
|
+
blocked: boolean;
|
|
5405
|
+
categories: Array<string>;
|
|
5406
|
+
codes?: Array<string>;
|
|
5407
|
+
days: number;
|
|
5408
|
+
escalate: boolean;
|
|
5409
|
+
hash?: string;
|
|
5410
|
+
legalHold?: boolean;
|
|
5411
|
+
model: string;
|
|
5412
|
+
owner?: string;
|
|
5413
|
+
playbook?: "csam";
|
|
5414
|
+
policy?: string;
|
|
5415
|
+
policyVersion?: string;
|
|
5416
|
+
providers?: Array<string>;
|
|
5417
|
+
scores?: Record<string, { score: number; supported: boolean }>;
|
|
5418
|
+
stage?: string;
|
|
5419
|
+
subject?: string;
|
|
5420
|
+
thresholds?: Record<string, number>;
|
|
5421
|
+
userId?: string;
|
|
5422
|
+
},
|
|
5423
|
+
string,
|
|
5424
|
+
Name
|
|
5425
|
+
>;
|
|
5426
|
+
};
|
|
4422
5427
|
notifications: {
|
|
4423
5428
|
channelOpen: FunctionReference<
|
|
4424
5429
|
"mutation",
|
|
@@ -5267,6 +6272,13 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
5267
6272
|
{ sharedAt: number; sharedBy: string },
|
|
5268
6273
|
Name
|
|
5269
6274
|
>;
|
|
6275
|
+
expire: FunctionReference<
|
|
6276
|
+
"mutation",
|
|
6277
|
+
"internal",
|
|
6278
|
+
{ at: number | null; storageId: string },
|
|
6279
|
+
boolean,
|
|
6280
|
+
Name
|
|
6281
|
+
>;
|
|
5270
6282
|
generateUploadUrl: FunctionReference<
|
|
5271
6283
|
"mutation",
|
|
5272
6284
|
"internal",
|
|
@@ -5360,6 +6372,7 @@ export type ComponentApi<Name extends string | undefined = string | undefined> =
|
|
|
5360
6372
|
string | null,
|
|
5361
6373
|
Name
|
|
5362
6374
|
>;
|
|
6375
|
+
urlClock: FunctionReference<"query", "internal", {}, number | null, Name>;
|
|
5363
6376
|
};
|
|
5364
6377
|
subscriptions: {
|
|
5365
6378
|
confirmConsent: FunctionReference<
|