Apiagex Database

JSON →
library 0.6.1 ·javascript
verified Jun 4, 2026

Apiagex Database is the database adapter contract package for the Apiagex headless CMS, currently at version 0.6.1. It provides placeholder adapters for SQLite, PostgreSQL, and MySQL, along with a selector function that chooses the correct adapter based on configuration. Designed for use within Apiagex projects, it uses Kysely under the hood and stores role metadata with roleKind, admin permissions in admin_permissions, content API permissions in permissions, hashed API tokens in api_tokens, and webhook data in webhooks, webhook_events, and webhook_deliveries. It is still in MVP stage, with evolving schemas and adapter implementations.