@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 +12 -0
- package/dist/index.d.ts +6 -7
- package/dist/index.js +163 -180
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +334 -349
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -2
package/CHANGELOG.md
CHANGED
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
|
-
|
|
281
|
-
|
|
282
|
-
id: bson.ObjectId | undefined;
|
|
280
|
+
sid: string;
|
|
281
|
+
user: string;
|
|
283
282
|
}>;
|
|
284
283
|
refreshToken: (token: string) => Promise<string>;
|
|
285
|
-
logout: (
|
|
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,
|
|
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
|
-
|
|
2393
|
-
|
|
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>>;
|