mario-core 2.9.205-release → 2.9.206-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.
@@ -0,0 +1,38 @@
1
+ import { LogLevel } from "@azure/msal-browser";
2
+ /**
3
+ * Configuration object to be passed to MSAL instance on creation.
4
+ * For a full list of MSAL.js configuration parameters, visit:
5
+ * https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/configuration.md
6
+ */
7
+ export declare const msalConfig: {
8
+ auth: {
9
+ clientId: string;
10
+ authority: string;
11
+ redirectUri: string;
12
+ };
13
+ cache: {
14
+ cacheLocation: string;
15
+ storeAuthStateInCookie: boolean;
16
+ };
17
+ system: {
18
+ loggerOptions: {
19
+ loggerCallback: (level: LogLevel, message: string, containsPii: any) => void;
20
+ };
21
+ };
22
+ };
23
+ /**
24
+ * Scopes you add here will be prompted for user consent during sign-in.
25
+ * By default, MSAL.js will add OIDC scopes (openid, profile, email) to any login request.
26
+ * For more information about OIDC scopes, visit:
27
+ * https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-permissions-and-consent#openid-connect-scopes
28
+ */
29
+ export declare const loginRequest: {
30
+ scopes: string[];
31
+ };
32
+ /**
33
+ * Add here the scopes to request when obtaining an access token for MS Graph API. For more information, see:
34
+ * https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-browser/docs/resources-and-scopes.md
35
+ */
36
+ export declare const graphConfig: {
37
+ graphMeEndpoint: string;
38
+ };
@@ -20,5 +20,8 @@ declare const useLogin: () => {
20
20
  setIsLoginGoogle: import("react").Dispatch<import("react").SetStateAction<boolean>>;
21
21
  googleClientId: string;
22
22
  googleRecaptchaId: string;
23
+ handleCancelModelAssign: () => void;
24
+ openModelAssign: boolean;
25
+ handleAssignTeacherByCode: (teacherCode: string, setIsError: Function) => Promise<void>;
23
26
  };
24
27
  export default useLogin;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface Props {
3
+ open: boolean;
4
+ onClose: Function;
5
+ onConfirm: Function;
6
+ }
7
+ declare const BlockAssignTeacherByCode: ({ open, onClose, onConfirm }: Props) => JSX.Element;
8
+ export default BlockAssignTeacherByCode;
@@ -2,6 +2,9 @@ import { FC } from "react";
2
2
  interface Props {
3
3
  defaultInfo?: any;
4
4
  userLogin?: any;
5
+ onCancelModelAssign: Function;
6
+ openModelAssign: boolean;
7
+ onAssignTeacherByCode: Function;
5
8
  }
6
9
  declare const BlockLogin: FC<Props>;
7
10
  export default BlockLogin;
@@ -13,6 +13,7 @@ export declare type User = {
13
13
  fullName: string;
14
14
  sourcedId: string;
15
15
  rosterUser: RosterUser;
16
+ grade: string;
16
17
  };
17
18
  export declare type RosterUser = {
18
19
  sourcedId: string;