@point-hub/papi 0.5.48 → 0.5.49

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/lib/index.js CHANGED
@@ -70320,8 +70320,8 @@ class DatabaseTestUtil {
70320
70320
  static async retrieve(collection, _id) {
70321
70321
  return await DatabaseTestUtil.dbConnection.collection(collection).retrieve(_id);
70322
70322
  }
70323
- static async retrieveAll(collection, query = {}) {
70324
- return await DatabaseTestUtil.dbConnection.collection(collection).retrieveAll(query);
70323
+ static async retrieveMany(collection, query = {}) {
70324
+ return await DatabaseTestUtil.dbConnection.collection(collection).retrieveMany(query);
70325
70325
  }
70326
70326
  }
70327
70327
  // src/database/mongodb/mongodb-query-filters.ts
@@ -8,6 +8,6 @@ export declare class DatabaseTestUtil {
8
8
  static dropAllCollections(): Promise<void>;
9
9
  static reset(): Promise<void>;
10
10
  static retrieve<TOutput extends object>(collection: string, _id: string): Promise<TOutput | null>;
11
- static retrieveAll<TData>(collection: string, query?: IQuery): Promise<import("../index").IRetrieveAllOutput<TData>>;
11
+ static retrieveMany<TData>(collection: string, query?: IQuery): Promise<import("../index").IRetrieveManyOutput<TData>>;
12
12
  }
13
13
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/test/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjD,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAElC,qBAAa,gBAAgB;IAC3B,OAAc,YAAY,EAAE,SAAS,CAAA;WAExB,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,SAAa;WAKnC,KAAK;WAIL,iBAAiB,CAAC,UAAU,EAAE,OAAO,EAAE,EAAE;WAoCzC,kBAAkB;WASlB,KAAK;WAOL,QAAQ,CAAC,OAAO,SAAS,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM;WAIhE,WAAW,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,GAAE,MAAW;CAGvE"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/test/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjD,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA;AAElC,qBAAa,gBAAgB;IAC3B,OAAc,YAAY,EAAE,SAAS,CAAA;WAExB,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,SAAa;WAKnC,KAAK;WAIL,iBAAiB,CAAC,UAAU,EAAE,OAAO,EAAE,EAAE;WAoCzC,kBAAkB;WASlB,KAAK;WAOL,QAAQ,CAAC,OAAO,SAAS,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM;WAIhE,YAAY,CAAC,KAAK,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,GAAE,MAAW;CAGxE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@point-hub/papi",
3
- "version": "0.5.48",
3
+ "version": "0.5.49",
4
4
  "description": "Point API Framework",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",