orm-public

Installation
SKILL.md

orm-public

ORM client for the public API — provides typed CRUD operations for 129 tables and 71 custom operations

Usage

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

// Available models: orgGetManagersRecord, orgGetSubordinatesRecord, getAllRecord, appPermission, orgPermission, object, appLevelRequirement, database, ...
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-public — constructive-io/constructive