Composables
All composables are auto-imported.
| Composable | Purpose |
|---|---|
useMongocampAdmin | User and role CRUD |
useMongocampCollection | Reactive state for paginated collection queries |
useMongocampDocument | Document-level helpers (metadata stamping, partial updates) |
useMongocampSchema | Infers a schema from sampled documents; generates a matching TS interface |
useMongocampBucket | GridFS bucket detection, file-id resolution, upload/download |
useMongocampIndex | Create/list/delete MongoDB indexes (standard, unique, text, expiring) |
useMongocampJobs | List/register/update/execute/delete scheduled background jobs |
useMongocampAccount | Account self-service: profile, password change, API key regeneration |
useMongocampSystem | Read-only database viewer (list, per-database info, collections) |
useMongocampQuery | High-level Lucene query helpers (equals, like, inRange, and, or, …) |
useMongocampQueryBuilder | Low-level Lucene syntax builder used by useMongocampQuery |
useMongocampExtendedJson | Converts MongoDB extended-JSON documents to/from the plain values FUAutoForm binds to |
useMongocampRoles | Role/route-pattern access checks (isAdmin, isManager, isAllowedPathForRoute); powers the global nav guard |
useMongocampClientApi | Mode-switching drop-in for useMongocampApi() — session or server proxy mode |
useMongocampProxyApi | The server-proxy-mode branch useMongocampClientApi switches to |
@sfxcode/nuxt-mongocamp-server additionally provides useMongocampApi() (raw API clients: adminApi, collectionApi, documentApi, fileApi, bucketApi, informationApi, …) and useMongocampAuth() (login, logout, isLoggedIn) — this module's composables are built on top of those.