Reference
API Reference
Complete API reference for QUESTPIE — all builders, factories, types, and configuration options.
Comprehensive reference for every QUESTPIE API surface. Each page covers function signatures, all options, and code examples.
| Page | Description |
|---|
| Collection API | collection() builder — fields, hooks, access, search, indexes |
| Global API | global() builder — singleton data models |
| Field API | All field constructors (f.text(), f.number(), etc.) and chainable options |
| Routes API | route() builder — HTTP methods, schema, handler |
| Hooks API | Lifecycle hooks — execution order, context, all hook types |
| Page | Description |
|---|
| Config API | runtimeConfig() — database, storage, email, queue, realtime, KV |
| CRUD API | Collection CRUD operations — find, findById, create, update, delete |
| Query Operators | All where operators per field type — equals, contains, gt, lt, between, etc. |
| Page | Description |
|---|
| Plugin API | CodegenPlugin interface — categories, discovery, scaffolds |
| Admin API | Admin conventions — field(), view(), page(), widget() client factories |
| Infrastructure API | Service adapter interfaces — email, queue, search, storage, KV, realtime |
| Page | Description |
|---|
| Error Codes | All error codes and their meanings |
| CLI | CLI commands — generate, migrate, seed, add |