@eeplatform/core 1.0.1 → 1.0.3

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @eeplatform/core
2
2
 
3
+ ## 1.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 7a92d16: Update dependencies
8
+
9
+ ## 1.0.2
10
+
11
+ ### Patch Changes
12
+
13
+ - 77ac8e2: Revise schools, members and role queries
14
+
3
15
  ## 1.0.1
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -277,12 +277,11 @@ declare function useAuthService(): {
277
277
  email: string;
278
278
  password: string;
279
279
  }) => Promise<{
280
- accessToken: string;
281
- refreshToken: string;
282
- id: bson.ObjectId | undefined;
280
+ sid: string;
281
+ user: string;
283
282
  }>;
284
283
  refreshToken: (token: string) => Promise<string>;
285
- logout: (token: string) => Promise<string>;
284
+ logout: (sid: string) => Promise<string>;
286
285
  };
287
286
 
288
287
  declare function useAuthController(): {
@@ -2384,13 +2383,13 @@ declare function MSchool(value: TSchool): TSchool;
2384
2383
  declare function useSchoolRepo(): {
2385
2384
  createIndex: () => Promise<void>;
2386
2385
  add: (value: TSchool, session?: ClientSession) => Promise<ObjectId>;
2387
- getAll: ({ page, limit, sort, status, region, division, search, }?: {
2386
+ getAll: ({ page, limit, sort, status, org, app, search, }?: {
2388
2387
  page?: number | undefined;
2389
2388
  limit?: number | undefined;
2390
2389
  sort?: Record<string, number> | undefined;
2391
2390
  status?: string | undefined;
2392
- region?: string | undefined;
2393
- division?: string | undefined;
2391
+ org?: string | undefined;
2392
+ app?: string | undefined;
2394
2393
  search?: string | undefined;
2395
2394
  }) => Promise<{}>;
2396
2395
  updateStatusById: (_id: string | ObjectId, status: string, session?: ClientSession) => Promise<mongodb.UpdateResult<bson.Document>>;