@aneuhold/core-ts-db-lib 1.0.7 → 1.0.8

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.
@@ -1,9 +1,9 @@
1
- import { ObjectId } from 'bson';
1
+ import { ObjectId, Document } from 'bson';
2
2
  /**
3
3
  * A base document which other types that will be stored in a document DB can
4
4
  * inherit from.
5
5
  */
6
- export default abstract class BaseDocument extends Document {
6
+ export default abstract class BaseDocument implements Document {
7
7
  _id: ObjectId;
8
8
  }
9
9
  //# sourceMappingURL=BaseDocument.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaseDocument.d.ts","sourceRoot":"","sources":["../../src/documents/BaseDocument.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAY,MAAM,MAAM,CAAC;AAE1C;;;GAGG;AACH,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,YAAa,SAAQ,QAAQ;IACzD,GAAG,WAAkB;CACtB"}
1
+ {"version":3,"file":"BaseDocument.d.ts","sourceRoot":"","sources":["../../src/documents/BaseDocument.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAE1C;;;GAGG;AACH,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,YAAa,YAAW,QAAQ;IAC5D,GAAG,WAAkB;CACtB"}
@@ -5,7 +5,7 @@ const bson_1 = require("bson");
5
5
  * A base document which other types that will be stored in a document DB can
6
6
  * inherit from.
7
7
  */
8
- class BaseDocument extends Document {
8
+ class BaseDocument {
9
9
  _id = new bson_1.ObjectId();
10
10
  }
11
11
  exports.default = BaseDocument;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aneuhold/core-ts-db-lib",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "A core database library used for personal projects",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",