@classflow-api/registry-client
v0.1.1
Published
Official TypeScript client for the ClassFlow Resource Registry — persons, spaces, academic units, courses, sections, memberships and SIS sync for the universal scheduling engine.
Readme
Install
npm install @classflow-api/registry-clientUsage
import { createHttpRegistryClient } from '@classflow-api/registry-client';
const registry = createHttpRegistryClient({
baseUrl: 'https://api.classflow.example',
sessionToken: 'eyJ...',
organizationId: 'org_123',
});
const persons = await registry.persons.list({ kind: 'student', limit: 50 });
const created = await registry.spaces.create({
kind: 'classroom',
displayName: 'Room 101',
capacity: 32,
});The package also exports the underlying interface (RegistryClient) and
all resource shapes (ResourcePerson, ResourceCourse, etc.) so you can
write your own in-process or mock adapters.
