Advanced

API Surface

Generated reference of auto-imported composables, server helpers, and global auth components.

This page is generated from module entrypoints and runtime component files.

Source of truth:

This reference answers:

  • Which APIs are auto-imported?
  • What is each API for?
  • Where is the best guide for examples and deeper usage?

Regenerate this page with:

node scripts/generate-api-surface.mjs

Composable Auto-Imports

NameKindPurposeLearn More
createPermissionsFactoryBuilds a typed permission API for route/UI guards and capability checks.Guide
defineSharedConvexQueryHelperAuto-imported runtime API provided by this module.Guide
deleteFromPaginatedQueryHelperOptimistically removes an item from a paginated query cache.Guide
deleteFromQueryHelperOptimistically removes an item from a regular query cache.Guide
insertAtBottomIfLoadedHelperOptimistically inserts an item at the end of paginated data when loaded.Guide
insertAtPositionHelperOptimistically inserts an item at a custom position in paginated data.Guide
insertAtTopHelperOptimistically inserts an item at the top of paginated data.Guide
setQueryDataHelperReplaces cached query data with a new value.Guide
updateAllQueriesHelperApplies an updater across multiple cached query results.Guide
updateInPaginatedQueryHelperAuto-imported runtime API provided by this module.Guide
updateQueryHelperApplies an updater to one cached query result.Guide
useConvexComposableGives direct access to the underlying Convex client.Guide
useConvexActionComposableRuns Convex actions with reactive status and error handling.Guide
useConvexAuthComposableTracks auth state and user/session information in Nuxt.Guide
useConvexCallComposableAuto-imported runtime API provided by this module.Guide
useConvexConnectionStateComposableObserves live WebSocket connection state to Convex.Guide
useConvexFileUploadComposableUploads files to Convex storage with progress tracking.Guide
useConvexMutationComposableRuns Convex mutations with status, errors, and optimistic hooks.Guide
useConvexPaginatedQueryComposableFetches and paginates query results with real-time updates.Guide
useConvexQueryComposableFetches reactive query data with SSR and subscription support.Guide
useConvexStorageUrlComposableResolves Convex file storage IDs to usable URLs.Guide
useConvexUploadQueueComposableQueues and coordinates concurrent file uploads.Guide

Server Auto-Imports

NameKindPurposeLearn More
serverConvexActionServer helperRuns a Convex action from server routes/handlers.Guide
serverConvexClearAuthCacheServer helperClears cached auth token state used by server calls.Guide
serverConvexMutationServer helperRuns a Convex mutation from server routes/handlers.Guide
serverConvexQueryServer helperRuns a Convex query from server routes/handlers.Guide

Global Auth Components

NameKindPurposeLearn More
<ConvexAuthenticated>ComponentRenders slot content only for authenticated users.Guide
<ConvexAuthError>ComponentRenders slot content when auth resolves with an error.Guide
<ConvexAuthLoading>ComponentRenders slot content while auth state is still loading.Guide
<ConvexUnauthenticated>ComponentRenders slot content only for signed-out users.Guide