UNPKG

iptdevs-design-system

Version:

Library common elements into IPT Plattform.

220 lines (219 loc) 4.73 kB
export interface Exam { token: string; english_levels: number; academic_unit: number; user_author?: number; name: string; timing_hour: number; timing_min: number; state: number; stateBool?: boolean; code?: number; } export interface SectionRq { code: number; token?: number; exam: number; type_section: number; title: string; statement: string; ordered: number; state: number; questions?: []; media_url: string; stateBool?: boolean; } export interface CreateSectionWithAllRq { code?: number; token?: string; exam: number; type_section: number; title: string; statement: string; ordered: number; state: number; questions?: []; stateBool?: boolean; first_paragraph: string; second_paragraph: string; third_paragraph: string; media_url: number; answers: CreateAnswerRq[]; } export interface GetAllSectionsRq { token: string; } export interface UpdateExamRq { code: number; token: string; user_author: number; english_levels: number; academic_unit: number; name: string; timing_hour: number; timing_min: number; state: number; } export interface UpdateExamStatusRq { code: number; token: string; state: number; } export interface CopyExamRq { token: string; teachers: number[]; exam_code: number; } export interface requestForObtainTeachersRq { token: string; } export interface Section { title: string; statement: string; type_section?: number; firstp: string; secondp?: string; thirdp?: string; multimedia: Multimedia; media_title: string; text: string; media_url: string; questions: Questions; sectionABCD?: SectionABCD; sectionABC?: SectionABC; sectionTOF?: SectionTOF; relationship?: string; relationshipValue?: number; complete?: string; completeValue?: number; sectionCOI?: SectionCOI; conversation?: string; conversationValue?: number; } export interface CreateSectionRq { token?: string; title: string; statement: string; exam: number; type_section: string; ordered: number; state: number; code?: number; media_url?: string; } export interface UpdateSectionRq { token?: string; section_code: number; title: string; statement: string; } export interface UpdateSectionStateRq { token: string; section_code: number; state: number; } export interface getQuestionsBySectionsRq { token: string; sections: number[]; } export interface Multimedia { media_title: string; text: string; media: any; } export interface Questions { code: number; content: any[]; } export interface UpdateQuestionRq { question_code: number; exam_section: number; token: string; first_paragraph: string; second_paragraph: string; third_paragraph: string; } export interface CreateQuestionRq { token?: string; code?: number; exam_section: number; state: number; first_paragraph: string; second_paragraph?: string; third_paragraph?: string; media_url?: number; answers: CreateAnswerRq[]; } export interface GetQuestionsBySectionRq { token: string; record: number; page: number; section_code: number; } export interface Answer { code: number; exam_question: number; content: string; score: number; state: number; } export interface UpdateAnswerRq { answer_code: number; token: string; exam_question: number; content: string; score: number; } export interface UpdateQuestionStateRq { question_code: number; token: string; state: number; } export interface SectionABCD { optionA: string; optionB: string; optionC: string; optionD: string; valueA: number; ValueB: number; valueC: number; valueD: number; } export interface SectionABC { optionA: string; optionB: string; optionC: string; valueA: number; ValueB: number; valueC: number; } export interface SectionTOF { optionTrue: string; optionTrueValue: number; optionFalse: string; optionFalseValue: number; } export interface SectionCOI { optionCorrect: string; optionCorrectValue: number; optionIncorrect: string; optionIncorrectValue: number; } export interface GetAllExamsRq { token: string; } export interface CreateAnswerRq { token?: string; exam_question?: number; content: string; score: number; state: number; code?: number; } export interface UpdateSectionMediaRq { token: string; section_code: number; title?: string; text?: string; media_url: any; }