mario-core 2.9.210-release → 2.9.211-plp

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>;
@@ -0,0 +1,2 @@
1
+ export declare const setWeeklyQuestList: import("@reduxjs/toolkit").ActionCreatorWithPayload<any, string>;
2
+ export declare const setOpenModelCongratulation: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>;
@@ -0,0 +1,6 @@
1
+ declare const weeklyQuestReducer: import("redux").Reducer<{
2
+ isOpenModelCongratulation: boolean;
3
+ lastQuest: undefined;
4
+ weeklyQuests: never[];
5
+ }, import("redux").AnyAction>;
6
+ export default weeklyQuestReducer;
@@ -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,8 +9,10 @@ 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>>;
16
16
  export declare const createPassword: (data: ICreatePassword) => Promise<import("axios").AxiosResponse<any>>;
17
+ export declare const checkStudentAssign: () => Promise<import("axios").AxiosResponse<any>>;
18
+ export declare const assignTeacherByCode: (teacherCode: string) => Promise<import("axios").AxiosResponse<any>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mario-core",
3
- "version": "2.9.210-release",
3
+ "version": "2.9.211-plp",
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",