Topic index for flintfire. New to the library? Start with
Getting Started, then follow the Guides pillar in order (the
sidebar gives you prev/next). Reach for the Reference pillar when you need an exact signature.
The docs split into two pillars:
- Guides — learn the library in a sensible order: get started, the core concepts (the mental
model), working with data day to day, designing your data model, advanced features, framework
integrations, and upgrading.
- Reference — look up exact signatures and contracts: the repository and query-builder classes,
exported types, runtime helpers, error classes, scope, and troubleshooting.
| Page |
What it covers |
| Core Concepts |
Repository pattern, the four generics, delete behavior |
| Document Identity |
Virtual identity, no top-level id, repo.id(), whereId |
| Schema Validation |
Zod validation lifecycle, derived create/update schemas |
| Read Converters |
Read-only readConverter, required storedSchema, id overlay |
| Per-Field Sentinel Approval |
Write combinators and sentinelPolicy: 'strict' |
| Timestamps ↔ Millis |
createMillisTimestampConverter and the timestamp pattern |
| Lifecycle Hooks |
before*/after* hooks, payloads, and ordering |
| Page |
What it covers |
| CRUD Operations |
Create, read, update, delete, and bulk variants |
| Queries |
Query builder, composite filters, collection groups, aggregations, streaming, real-time |
| Transactions |
runInTransaction and the transaction-scoped methods |
| Subcollections |
Nested collections, collection-group reads, per-instance converters |
| Dot Notation |
Field-path updates, merge/patch, and FieldValue sentinels |
| Page |
What it covers |
| FirestoreRepository |
Construction, reads, writes, identity, hooks, txns |
| FirestoreQueryBuilder |
Filtering, projection, aggregation, pagination, collection-group builder |
| Exported Types |
FirestoreDocument, DataOf, FieldPaths, … |
| Helpers & Utilities |
Validation combinators, timestamp & dot-notation |
| Error Handling |
Error classes and parseFirestoreError |
| Scope & Capabilities |
Supported surface and deferred capabilities |
| Troubleshooting |
Common errors and their fixes |