@7365admin1/core 3.10.0 → 3.11.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @iservice365/core
2
2
 
3
+ ## 3.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 8a0805d: release changes in preloved api, forms api, etc.
8
+
3
9
  ## 3.10.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -2816,6 +2816,7 @@ type TVisitorTransaction = {
2816
2816
  purpose?: string;
2817
2817
  inviterId?: string | ObjectId;
2818
2818
  createdBy?: string | ObjectId;
2819
+ updatedBy?: string | ObjectId;
2819
2820
  };
2820
2821
  declare const schemaVisitorTransaction: Joi.ObjectSchema<any>;
2821
2822
  declare const schemaUpdateVisTrans: Joi.ObjectSchema<any>;
@@ -7466,17 +7467,25 @@ declare function useFormEntryRepo(): {
7466
7467
  items: any[];
7467
7468
  pages: number;
7468
7469
  pageRange: string;
7469
- } | TFormEntry>;
7470
+ }>;
7470
7471
  getFormEntryById: (_id: string | ObjectId) => Promise<bson.Document>;
7471
7472
  updateFormEntryById: (_id: string | ObjectId, value: residentFormEntry) => Promise<number>;
7472
7473
  createTextIndex: () => Promise<void>;
7473
7474
  deleteOnlineFormById: (_id: string | ObjectId, session?: ClientSession) => Promise<number>;
7474
7475
  addResidentForm: (value: residentFormEntry, session?: ClientSession) => Promise<ObjectId>;
7475
- residentForm: ({ userId, site, org, }: {
7476
+ residentForm: ({ userId, site, org, search, page, limit, sort, }: {
7476
7477
  userId: string;
7477
7478
  site: string | ObjectId;
7478
7479
  org: string | ObjectId;
7479
- }) => Promise<bson.Document[]>;
7480
+ search?: string | undefined;
7481
+ page?: number | undefined;
7482
+ limit?: number | undefined;
7483
+ sort?: Record<string, any> | undefined;
7484
+ }) => Promise<{
7485
+ items: any[];
7486
+ pages: number;
7487
+ pageRange: string;
7488
+ } | TFormEntry>;
7480
7489
  };
7481
7490
 
7482
7491
  declare function useFormEntryController(): {