mario-core 2.9.238-layout → 2.9.239-release

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.
@@ -4,6 +4,8 @@ export declare const setModal: import("@reduxjs/toolkit").ActionCreatorWithPaylo
4
4
  export declare const setUser: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
5
5
  export declare const setSidebar: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
6
6
  export declare const setAlert: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
7
+ export declare const setIsLoginGoogle: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
8
+ export declare const setInforUserGoogle: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
7
9
  export declare const reset: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<undefined, string>;
8
10
  export declare const showMenuBar: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
9
11
  export declare const showFontSize: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
@@ -45,5 +45,10 @@ declare const rootReducer: import("redux").Reducer<import("redux").CombinedState
45
45
  bandScores: any;
46
46
  schoolBlankDays: any;
47
47
  navMobileReducer: any;
48
+ weeklyQuests: {
49
+ isOpenModelCongratulation: boolean;
50
+ lastQuest: undefined;
51
+ weeklyQuests: never[];
52
+ };
48
53
  }>, import("redux").AnyAction>;
49
54
  export default rootReducer;
@@ -9,7 +9,7 @@ export declare const checkResetToken: (token: string, key: string) => Promise<im
9
9
  export declare const resetPassword: (data: any) => Promise<import("axios").AxiosResponse<any>>;
10
10
  export declare const getStudentProfile: () => Promise<import("axios").AxiosResponse<any>>;
11
11
  export declare const logInTwoFactor: (data: any) => Promise<import("axios").AxiosResponse<any>>;
12
- export declare const checkUserGoogle: (body: any) => Promise<import("axios").AxiosResponse<any>>;
12
+ export declare const checkUserGoogle: (type: any, body: any) => Promise<import("axios").AxiosResponse<any>>;
13
13
  export declare const getAllLoginTeacher: (param: any) => Promise<import("axios").AxiosResponse<any>>;
14
14
  export declare const getGoogleClientId: () => Promise<import("axios").AxiosResponse<any>>;
15
15
  export declare const registerUserStudent: (body: any) => Promise<import("axios").AxiosResponse<any>>;
@@ -0,0 +1 @@
1
+ export declare const getWeeklyQuestsApi: () => Promise<import("axios").AxiosResponse<any>>;
@@ -0,0 +1,37 @@
1
+ export interface IWeeklyQuest {
2
+ id: number;
3
+ isActive: boolean;
4
+ challenge: IChallenge;
5
+ title: string;
6
+ source: SourceWeeklyQuests;
7
+ request: IRequest;
8
+ status: StatusWeeklyQuest;
9
+ order: number;
10
+ }
11
+ export declare enum IChallenge {
12
+ Challenge1 = 0,
13
+ Challenge2 = 1,
14
+ Challenge3 = 2,
15
+ Challenge4 = 3,
16
+ Challenge5 = 4
17
+ }
18
+ export declare enum SourceWeeklyQuests {
19
+ CheckIn = 0,
20
+ ClassReflection = 1,
21
+ Conference = 2,
22
+ Goal = 3,
23
+ Interests = 4,
24
+ ChallengesSection = 5,
25
+ LearningStrategies = 6,
26
+ SupportNetwork = 7
27
+ }
28
+ export declare enum IRequest {
29
+ View = 0,
30
+ Complete = 1,
31
+ Update = 2
32
+ }
33
+ export declare enum StatusWeeklyQuest {
34
+ Pending = 0,
35
+ Completed = 1,
36
+ NotCompleted = 2
37
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mario-core",
3
- "version": "2.9.238-layout",
3
+ "version": "2.9.239-release",
4
4
  "description": "Contains core components && functions for Mario project",
5
5
  "author": "brss",
6
6
  "license": "MIT",
@@ -69,6 +69,9 @@
69
69
  "dist"
70
70
  ],
71
71
  "dependencies": {
72
+ "@azure/msal-browser": "2.30.0",
73
+ "@azure/msal-common": "14.6.0",
74
+ "@azure/msal-react": "2.0.2",
72
75
  "@coreui/icons": "2.0.0-rc.0",
73
76
  "@coreui/icons-react": "1.0.2",
74
77
  "@coreui/react": "3.4.0",