@7365admin1/core 2.74.0 → 2.76.0
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 +4 -0
- package/dist/index.js +580 -487
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +580 -487
- package/dist/index.mjs.map +1 -1
- package/dist/public/handlebars/registration-pending.hbs +131 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @iservice365/core
|
|
2
2
|
|
|
3
|
+
## 2.76.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 1875fe7: release latest changes for subcategory api, user api, person api, and etc.
|
|
8
|
+
|
|
9
|
+
## 2.75.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- ba3e599: release latest changes for person API, preloved API, etc.
|
|
14
|
+
|
|
3
15
|
## 2.74.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -171,6 +171,7 @@ declare function useUserRepo(): {
|
|
|
171
171
|
password: string;
|
|
172
172
|
sid: string;
|
|
173
173
|
}, session?: ClientSession) => Promise<mongodb.UpdateResult<bson.Document>>;
|
|
174
|
+
updateUserOrgById: (id: string | ObjectId, org: string | ObjectId, session?: ClientSession) => Promise<string>;
|
|
174
175
|
};
|
|
175
176
|
|
|
176
177
|
declare function useUserController(): {
|
|
@@ -2612,6 +2613,7 @@ declare enum PersonStatus {
|
|
|
2612
2613
|
type TFiles = {
|
|
2613
2614
|
id: string | ObjectId;
|
|
2614
2615
|
name: string;
|
|
2616
|
+
mimeType?: string;
|
|
2615
2617
|
};
|
|
2616
2618
|
type TApprover = {
|
|
2617
2619
|
id: string | ObjectId;
|
|
@@ -7066,11 +7068,13 @@ declare function useSubcategoryPrelovedRepo(): {
|
|
|
7066
7068
|
category_id?: string | ObjectId | undefined;
|
|
7067
7069
|
}) => Promise<mongodb.WithId<bson.Document>[]>;
|
|
7068
7070
|
getById: (_id: string | ObjectId) => Promise<mongodb.WithId<bson.Document>>;
|
|
7071
|
+
addSubcategory: (item: TSubcategoryPreloved, session?: any) => Promise<ObjectId>;
|
|
7069
7072
|
};
|
|
7070
7073
|
|
|
7071
7074
|
declare function useSubcategoryPrelovedController(): {
|
|
7072
7075
|
getAll: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
7073
7076
|
getById: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
7077
|
+
addSubcategory: (req: Request, res: Response, next: NextFunction) => Promise<void>;
|
|
7074
7078
|
};
|
|
7075
7079
|
|
|
7076
7080
|
declare enum FormEntryStatus {
|