server
server
Type Aliases
| Type Alias | Description |
|---|---|
| MdKitCreateCheckpointInput | - |
| MdKitBackendStore | Application-owned persistence contract consumed by createMdKitBackend. Implement it with your database; mdkit calls createCheckpoint when the configured CheckpointPolicy triggers — the store never interprets the policy itself. |
| CreateMdKitBackendOptions | - |
Functions
| Function | Description |
|---|---|
| createMdKitBackend | Wraps an application MdKitBackendStore with checkpoint-policy orchestration, producing the transport-ready surface the Fastify and tRPC helpers mount. The store owns persistence, auth, and metadata; this owns checkpoint timing and restore ordering. |