iptdevs-design-system 2.2.6 → 2.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,213 @@
1
+ export interface Exam {
2
+ token: string;
3
+ english_levels: number;
4
+ academic_unit: number;
5
+ user_author?: number;
6
+ name: string;
7
+ timing_hour: number;
8
+ timing_min: number;
9
+ state: number;
10
+ stateBool?: boolean;
11
+ code?: number;
12
+ }
13
+ export interface SectionRq {
14
+ code: number;
15
+ token?: number;
16
+ exam: number;
17
+ type_section: number;
18
+ title: string;
19
+ statement: string;
20
+ ordered: number;
21
+ state: number;
22
+ questions?: [];
23
+ media_url: string;
24
+ stateBool?: boolean;
25
+ }
26
+ export interface CreateSectionWithAllRq {
27
+ code?: number;
28
+ token?: string;
29
+ exam: number;
30
+ type_section: number;
31
+ title: string;
32
+ statement: string;
33
+ ordered: number;
34
+ state: number;
35
+ questions?: [];
36
+ stateBool?: boolean;
37
+ first_paragraph: string;
38
+ second_paragraph: string;
39
+ third_paragraph: string;
40
+ media_url: number;
41
+ answers: CreateAnswerRq[];
42
+ }
43
+ export interface GetAllSectionsRq {
44
+ token: string;
45
+ }
46
+ export interface UpdateExamRq {
47
+ code: number;
48
+ token: string;
49
+ user_author: number;
50
+ english_levels: number;
51
+ academic_unit: number;
52
+ name: string;
53
+ timing_hour: number;
54
+ timing_min: number;
55
+ state: number;
56
+ }
57
+ export interface UpdateExamStatusRq {
58
+ code: number;
59
+ token: string;
60
+ state: number;
61
+ }
62
+ export interface CopyExamRq {
63
+ token: string;
64
+ teachers: number[];
65
+ exam_code: number;
66
+ }
67
+ export interface requestForObtainTeachersRq {
68
+ token: string;
69
+ }
70
+ export interface Section {
71
+ title: string;
72
+ statement: string;
73
+ type_section?: number;
74
+ firstp: string;
75
+ secondp?: string;
76
+ thirdp?: string;
77
+ multimedia: Multimedia;
78
+ media_title: string;
79
+ text: string;
80
+ media_url: string;
81
+ questions: Questions;
82
+ sectionABCD?: SectionABCD;
83
+ sectionABC?: SectionABC;
84
+ sectionTOF?: SectionTOF;
85
+ relationship?: string;
86
+ relationshipValue?: number;
87
+ complete?: string;
88
+ completeValue?: number;
89
+ sectionCOI?: SectionCOI;
90
+ conversation?: string;
91
+ conversationValue?: number;
92
+ }
93
+ export interface CreateSectionRq {
94
+ token?: string;
95
+ title: string;
96
+ statement: string;
97
+ exam: number;
98
+ type_section: string;
99
+ ordered: number;
100
+ state: number;
101
+ code?: number;
102
+ media_url?: string;
103
+ }
104
+ export interface UpdateSectionRq {
105
+ token?: string;
106
+ section_code: number;
107
+ title: string;
108
+ statement: string;
109
+ }
110
+ export interface UpdateSectionStateRq {
111
+ token: string;
112
+ section_code: number;
113
+ state: number;
114
+ }
115
+ export interface getQuestionsBySectionsRq {
116
+ token: string;
117
+ sections: number[];
118
+ }
119
+ export interface Multimedia {
120
+ media_title: string;
121
+ text: string;
122
+ media: any;
123
+ }
124
+ export interface Questions {
125
+ code: number;
126
+ content: any[];
127
+ }
128
+ export interface UpdateQuestionRq {
129
+ question_code: number;
130
+ exam_section: number;
131
+ token: string;
132
+ first_paragraph: string;
133
+ second_paragraph: string;
134
+ third_paragraph: string;
135
+ }
136
+ export interface CreateQuestionRq {
137
+ token?: string;
138
+ code?: number;
139
+ exam_section: number;
140
+ state: number;
141
+ first_paragraph: string;
142
+ second_paragraph?: string;
143
+ third_paragraph?: string;
144
+ media_url?: number;
145
+ answers: CreateAnswerRq[];
146
+ }
147
+ export interface Answer {
148
+ code: number;
149
+ exam_question: number;
150
+ content: string;
151
+ score: number;
152
+ state: number;
153
+ }
154
+ export interface UpdateAnswerRq {
155
+ answer_code: number;
156
+ token: string;
157
+ exam_question: number;
158
+ content: string;
159
+ score: number;
160
+ }
161
+ export interface UpdateQuestionStateRq {
162
+ question_code: number;
163
+ token: string;
164
+ state: number;
165
+ }
166
+ export interface SectionABCD {
167
+ optionA: string;
168
+ optionB: string;
169
+ optionC: string;
170
+ optionD: string;
171
+ valueA: number;
172
+ ValueB: number;
173
+ valueC: number;
174
+ valueD: number;
175
+ }
176
+ export interface SectionABC {
177
+ optionA: string;
178
+ optionB: string;
179
+ optionC: string;
180
+ valueA: number;
181
+ ValueB: number;
182
+ valueC: number;
183
+ }
184
+ export interface SectionTOF {
185
+ optionTrue: string;
186
+ optionTrueValue: number;
187
+ optionFalse: string;
188
+ optionFalseValue: number;
189
+ }
190
+ export interface SectionCOI {
191
+ optionCorrect: string;
192
+ optionCorrectValue: number;
193
+ optionIncorrect: string;
194
+ optionIncorrectValue: number;
195
+ }
196
+ export interface GetAllExamsRq {
197
+ token: string;
198
+ }
199
+ export interface CreateAnswerRq {
200
+ token?: string;
201
+ exam_question?: number;
202
+ content: string;
203
+ score: number;
204
+ state: number;
205
+ code?: number;
206
+ }
207
+ export interface UpdateSectionMediaRq {
208
+ token: string;
209
+ section_code: number;
210
+ title?: string;
211
+ text?: string;
212
+ media_url: any;
213
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iptdevs-design-system",
3
- "version": "2.2.6",
3
+ "version": "2.2.7",
4
4
  "description": "Library common elements into IPT Plattform.",
5
5
  "keywords": [
6
6
  "IPT",
package/public-api.d.ts CHANGED
@@ -27,3 +27,6 @@ export * from "./lib/core/models/table/table-rs.model";
27
27
  export * from "./lib/core/models/url/url.model";
28
28
  export * from "./lib/core/models/user/user-rq.model";
29
29
  export * from "./lib/core/models/user/user-rs.model";
30
+ export * from "./lib/core/models/test/test.model";
31
+ export * from "./lib/core/models/marketing/marketing.modal";
32
+ export * from "./lib/core/models/budget/budget.model";