@7365admin1/core 3.10.0 → 3.12.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 +14 -3
- package/dist/index.js +623 -403
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +511 -291
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -2742,6 +2742,7 @@ declare function MPerson(value: TPerson): {
|
|
|
2742
2742
|
declare enum KeyStatus {
|
|
2743
2743
|
AVAILABLE = "Available",
|
|
2744
2744
|
RETURNED = "Returned",
|
|
2745
|
+
REMOVED = "Removed",
|
|
2745
2746
|
NOT_RETURNED = "Not Returned",
|
|
2746
2747
|
LOST = "Lost",
|
|
2747
2748
|
DAMAGED = "Damaged",
|
|
@@ -2765,6 +2766,7 @@ type TKeyRef = {
|
|
|
2765
2766
|
remarks?: string;
|
|
2766
2767
|
receivedDate?: Date;
|
|
2767
2768
|
lastUpdate?: Date | null;
|
|
2769
|
+
add?: boolean;
|
|
2768
2770
|
};
|
|
2769
2771
|
type TVisitorTransaction = {
|
|
2770
2772
|
_id?: ObjectId;
|
|
@@ -2816,6 +2818,7 @@ type TVisitorTransaction = {
|
|
|
2816
2818
|
purpose?: string;
|
|
2817
2819
|
inviterId?: string | ObjectId;
|
|
2818
2820
|
createdBy?: string | ObjectId;
|
|
2821
|
+
updatedBy?: string | ObjectId;
|
|
2819
2822
|
};
|
|
2820
2823
|
declare const schemaVisitorTransaction: Joi.ObjectSchema<any>;
|
|
2821
2824
|
declare const schemaUpdateVisTrans: Joi.ObjectSchema<any>;
|
|
@@ -7466,17 +7469,25 @@ declare function useFormEntryRepo(): {
|
|
|
7466
7469
|
items: any[];
|
|
7467
7470
|
pages: number;
|
|
7468
7471
|
pageRange: string;
|
|
7469
|
-
}
|
|
7472
|
+
}>;
|
|
7470
7473
|
getFormEntryById: (_id: string | ObjectId) => Promise<bson.Document>;
|
|
7471
7474
|
updateFormEntryById: (_id: string | ObjectId, value: residentFormEntry) => Promise<number>;
|
|
7472
7475
|
createTextIndex: () => Promise<void>;
|
|
7473
7476
|
deleteOnlineFormById: (_id: string | ObjectId, session?: ClientSession) => Promise<number>;
|
|
7474
7477
|
addResidentForm: (value: residentFormEntry, session?: ClientSession) => Promise<ObjectId>;
|
|
7475
|
-
residentForm: ({ userId, site, org, }: {
|
|
7478
|
+
residentForm: ({ userId, site, org, search, page, limit, sort, }: {
|
|
7476
7479
|
userId: string;
|
|
7477
7480
|
site: string | ObjectId;
|
|
7478
7481
|
org: string | ObjectId;
|
|
7479
|
-
|
|
7482
|
+
search?: string | undefined;
|
|
7483
|
+
page?: number | undefined;
|
|
7484
|
+
limit?: number | undefined;
|
|
7485
|
+
sort?: Record<string, any> | undefined;
|
|
7486
|
+
}) => Promise<{
|
|
7487
|
+
items: any[];
|
|
7488
|
+
pages: number;
|
|
7489
|
+
pageRange: string;
|
|
7490
|
+
} | TFormEntry>;
|
|
7480
7491
|
};
|
|
7481
7492
|
|
|
7482
7493
|
declare function useFormEntryController(): {
|