chore: Initial commit.

This commit is contained in:
Tera << 8 2025-02-19 16:32:24 -05:00
commit 0219b23c4e
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
84 changed files with 15995 additions and 0 deletions

34
src/models/recivi.ts Normal file
View file

@ -0,0 +1,34 @@
import type {
Epic as RcvEpic,
Org as RcvOrg,
Project as RcvProject,
Role as RcvRole,
Institute as RcvInstitute,
Cert as RcvCert,
} from '@recivi/schema'
export interface Cert extends RcvCert {
institute: Institute
}
export interface Institute extends Omit<RcvInstitute, 'certs'> {
certs: Cert[]
}
export interface Role extends RcvRole {
org: Org
epics: Epic[]
}
export interface Org extends Omit<RcvOrg, 'roles'> {
roles: Role[]
}
export interface Project extends RcvProject {
epic: Epic
}
export interface Epic extends Omit<RcvEpic, 'projects'> {
role: Role | null
projects: Project[]
}