UNPKG

phx-react

Version:

PHX REACT

57 lines (56 loc) 1.34 kB
export interface SendMailData { to: string; subject: string; text: string; } export interface ISchoolCourse { id: number; code: string; course_name: string; } export interface ISchoolMonth { id: number; name: string; start_date: string; end_date: string; } export interface ISchoolTerm { id: number; code: string; name: string; school_months: Array<ISchoolMonth>; } export interface ISchoolYear { code: string; end_at: string; id: number; name: string; start_at: string; school_course: ISchoolCourse; school_terms: Array<ISchoolTerm>; } export type Variables = Record<string, unknown>; export type BaseOptions = { hostname?: string; variables?: Variables; isDelay?: boolean; }; export type QueryOrPersistedId = { query: string; persistedId?: never; } | { query?: never; persistedId: string; }; type SchemaGroup = 'core-shared' | 'core-academic' | 'core-student' | 'core-finance' | 'core-admin' | 'core-lab'; export type GrpcQueryParams = QueryOrPersistedId & BaseOptions & { isQuery: boolean; }; export type GrpcQueryV5Params = QueryOrPersistedId & BaseOptions & { schemaGroup: SchemaGroup; isQuery: boolean; }; export type GrpcQueryV5 = QueryOrPersistedId & BaseOptions & { schemaGroup: SchemaGroup; }; export {};