Skip to content
Snippets Groups Projects
relation.model.ts 307 B
Newer Older
  • Learn to ignore specific revisions
  • export interface Relation {
      _id: string
      _type: string
    
      data?: Relation
    }
    
    export interface RelationEntitiesObject {
      duelEntityRelation: Relation
      quizEntityRelation: Relation
      explorationEntityRelation: Relation[]
    }
    
    export interface GetRelationshipsReturn {
      [relName: string]: Array<Relation>