orm-auth

Installation
SKILL.md

orm-auth

ORM client for the auth API — provides typed CRUD operations for 9 tables and 28 custom operations

Usage

// Import the ORM client
import { db } from './orm';

// Available models: email, phoneNumber, cryptoAddress, webauthnCredential, auditLog, identityProvider, roleType, userConnectedAccount, ...
db.<model>.findMany({ select: { id: true } }).execute()
db.<model>.findOne({ id: '<UUID>', select: { id: true } }).execute()
db.<model>.create({ data: { ... }, select: { id: true } }).execute()
db.<model>.update({ where: { id: '<UUID>' }, data: { ... }, select: { id: true } }).execute()
db.<model>.delete({ where: { id: '<UUID>' } }).execute()
Installs
1
GitHub Stars
46
First Seen
May 9, 2026
orm-auth — constructive-io/constructive