analytica-frontend-lib 1.2.36 → 1.2.37

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,47 @@
1
+ import { QUESTION_TYPE } from '../components/Quiz/useQuizStore';
2
+ /**
3
+ * Question interface
4
+ */
5
+ export interface Question {
6
+ id: string;
7
+ statement: string;
8
+ questionType: QUESTION_TYPE;
9
+ [key: string]: unknown;
10
+ }
11
+ /**
12
+ * Pagination interface
13
+ */
14
+ export interface Pagination {
15
+ page: number;
16
+ pageSize: number;
17
+ total: number;
18
+ totalPages: number;
19
+ hasNext: boolean;
20
+ hasPrevious: boolean;
21
+ }
22
+ /**
23
+ * Questions filter body interface
24
+ */
25
+ export interface QuestionsFilterBody {
26
+ types?: QUESTION_TYPE[];
27
+ bankIds?: string[];
28
+ yearIds?: string[];
29
+ knowledgeIds?: string[];
30
+ topicIds?: string[];
31
+ subtopicIds?: string[];
32
+ contentIds?: string[];
33
+ page?: number;
34
+ pageSize?: number;
35
+ [key: string]: unknown;
36
+ }
37
+ /**
38
+ * Questions list response interface
39
+ */
40
+ export interface QuestionsListResponse {
41
+ message: string;
42
+ data: {
43
+ questions: Question[];
44
+ pagination: Pagination;
45
+ };
46
+ }
47
+ //# sourceMappingURL=questions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"questions.d.ts","sourceRoot":"","sources":["../../src/types/questions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAEhE;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,aAAa,CAAC;IAC5B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,OAAO,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,aAAa,EAAE,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE;QACJ,SAAS,EAAE,QAAQ,EAAE,CAAC;QACtB,UAAU,EAAE,UAAU,CAAC;KACxB,CAAC;CACH"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "analytica-frontend-lib",
3
- "version": "1.2.36",
3
+ "version": "1.2.37",
4
4
  "description": "Repositório público dos componentes utilizados nas plataformas da Analytica Ensino",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "./dist/index.js",