@point-hub/papi 0.5.43 → 0.5.45

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.
@@ -7,7 +7,7 @@ export declare class DatabaseTestUtil {
7
7
  static createCollections(listSchema: ISchema[][]): Promise<void>;
8
8
  static dropAllCollections(): Promise<void>;
9
9
  static reset(): Promise<void>;
10
- static retrieve(collection: string, _id: string): Promise<object | null>;
11
- static retrieveAll(collection: string, query?: IQuery): Promise<import("../index").IRetrieveAllOutput<unknown>>;
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>>;
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,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM;WAIxC,WAAW,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,GAAE,MAAW;CAGhE"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@point-hub/papi",
3
- "version": "0.5.43",
3
+ "version": "0.5.45",
4
4
  "description": "Point API Framework",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",