UNPKG

anonymous-student

Version:

Anonymous student is used to retrieve and save information from our website users.

11 lines (8 loc) 456 B
import { IStudent, StudentField } from '@studyportals/studentdomain'; export type LastStateChangeHash = string; export interface StudentClient { getData(studentFields: StudentField[]): Promise<IStudent>; setData(studentData: IStudent): Promise<LastStateChangeHash|void>; addToCollection(type: StudentField, items: any[]): Promise<LastStateChangeHash|void>; removeFromCollection(type: StudentField, items: any[]): Promise<LastStateChangeHash|void>; }