/** * Base Types * * Common types shared across Edubridge resources. */ /** * Resource status. */ export type Status = 'active' | 'tobedeleted'; /** * User roles in the system. */ export type Role = 'administrator' | 'aide' | 'guardian' | 'parent' | 'proctor' | 'relative' | 'student' | 'teacher'; /** * Enrollment-specific roles. */ export type EnrollmentRole = 'administrator' | 'proctor' | 'student' | 'teacher'; /** * Grade level, mirroring the server's `GradeEnum`. * * Re-exported from the shared Timeback primitives as `TimebackGradeString`. * `-1` is Pre-K, `0` is Kindergarten, `1`–`12` are grades 1–12, and `13` is AP. * Values are strings because the Edubridge `synthesizeUser` API emits them as * strings after validation by the server's `GradeInputSchema`. */ export type { TimebackGradeString as Grade } from '../../primitives'; /** * Full reference to another entity, including the sourcedId. * * Use this when the API returns the complete reference with sourcedId. */ export interface GUIDRef { href: string; sourcedId: string; type: string; } /** * Base reference with minimal fields. * * Some API responses (e.g., user role orgs) only return `href` and `type` * without the `sourcedId`. Use this type for those contexts. */ export interface GUIDRefBase { href: string; type: string; } /** * Standard Edubridge API response wrapper. */ export interface DataResponse { data: T; } /** * Paginated list response with optional metadata. */ export interface ListResponse { data: T[]; } //# sourceMappingURL=base.d.ts.map