mario-core 2.9.161-level → 2.9.162-level

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.
@@ -1,4 +1,4 @@
1
- import { Filter, StudentFilter } from "../types/Filter";
1
+ import { Filter, UserRosterFilter } from "../types/Filter";
2
2
  import { UserFilter, UserFilterField } from "../containers/User/constants/types";
3
3
  export declare const get: (filter: Filter) => Promise<import("axios").AxiosResponse<any>>;
4
4
  export declare const getRosterUser: (filter: UserFilter) => Promise<import("axios").AxiosResponse<any>>;
@@ -12,6 +12,6 @@ export declare const getAllStudent: (filter?: Filter | undefined) => Promise<imp
12
12
  export declare const changePassword: (formData: any) => Promise<import("axios").AxiosResponse<any>>;
13
13
  export declare const forgotChangePassword: (data: any) => Promise<import("axios").AxiosResponse<any>>;
14
14
  export declare const switchAccountUser: (id: string) => Promise<import("axios").AxiosResponse<any>>;
15
- export declare const getRosterStudentsApi: (filter: StudentFilter) => Promise<import("axios").AxiosResponse<any>>;
16
- export declare const getRosterStudentBySourcedIdApi: (sourcedId: string) => Promise<import("axios").AxiosResponse<any>>;
17
- export declare const syncRosterStudentsApi: () => Promise<import("axios").AxiosResponse<any>>;
15
+ export declare const getRosterUsersApi: (filter: UserRosterFilter) => Promise<import("axios").AxiosResponse<any>>;
16
+ export declare const getRosterUserBySourcedIdApi: (sourcedId: string) => Promise<import("axios").AxiosResponse<any>>;
17
+ export declare const syncRosterUsersApi: () => Promise<import("axios").AxiosResponse<any>>;
@@ -8,9 +8,9 @@ export declare type Filter = {
8
8
  name: string;
9
9
  queryTypes?: MediaType[];
10
10
  };
11
- export declare type StudentFilter = {
12
- currentPage: number;
13
- pageSize: number;
11
+ export declare type UserRosterFilter = {
12
+ currentPage?: number;
13
+ pageSize?: number;
14
14
  searchString?: string;
15
- role?: string;
15
+ roles?: string[];
16
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mario-core",
3
- "version": "2.9.161-level",
3
+ "version": "2.9.162-level",
4
4
  "description": "Contains core components && functions for Mario project",
5
5
  "author": "brss",
6
6
  "license": "MIT",