store-scrapper-js-common 2.0.1 → 2.0.2
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.
|
@@ -15,7 +15,7 @@ class AbstractBase extends typeorm_1.BaseEntity {
|
|
|
15
15
|
}
|
|
16
16
|
__decorate([
|
|
17
17
|
(0, typeorm_1.ObjectIdColumn)(),
|
|
18
|
-
__metadata("design:type", typeorm_1.
|
|
18
|
+
__metadata("design:type", typeorm_1.ObjectId)
|
|
19
19
|
], AbstractBase.prototype, "_id", void 0);
|
|
20
20
|
__decorate([
|
|
21
21
|
(0, typeorm_1.CreateDateColumn)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"abstract-base.js","sourceRoot":"/","sources":["entities/abstract-base.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAGiB;AAEjB,MAAsB,YAAa,SAAQ,oBAAU;CASpD;AAPG;IADC,IAAA,wBAAc,GAAE;8BACX,kBAAQ;yCAAC;AAGf;IADC,IAAA,0BAAgB,GAAE;8BACP,IAAI;+CAAC;AAGjB;IADC,IAAA,0BAAgB,GAAE;8BACP,IAAI;+CAAC;AARrB,oCASC","sourcesContent":["import {\n BaseEntity,\n CreateDateColumn,
|
|
1
|
+
{"version":3,"file":"abstract-base.js","sourceRoot":"/","sources":["entities/abstract-base.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAGiB;AAEjB,MAAsB,YAAa,SAAQ,oBAAU;CASpD;AAPG;IADC,IAAA,wBAAc,GAAE;8BACX,kBAAQ;yCAAC;AAGf;IADC,IAAA,0BAAgB,GAAE;8BACP,IAAI;+CAAC;AAGjB;IADC,IAAA,0BAAgB,GAAE;8BACP,IAAI;+CAAC;AARrB,oCASC","sourcesContent":["import {\n BaseEntity,\n CreateDateColumn, ObjectId, ObjectIdColumn, UpdateDateColumn,\n} from 'typeorm';\n\nexport abstract class AbstractBase extends BaseEntity {\n @ObjectIdColumn()\n _id?: ObjectId;\n\n @CreateDateColumn()\n createdAt?: Date;\n\n @UpdateDateColumn()\n updatedAt?: Date;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BaseEntity,
|
|
3
|
-
CreateDateColumn,
|
|
3
|
+
CreateDateColumn, ObjectId, ObjectIdColumn, UpdateDateColumn,
|
|
4
4
|
} from 'typeorm';
|
|
5
5
|
|
|
6
6
|
export abstract class AbstractBase extends BaseEntity {
|
|
7
7
|
@ObjectIdColumn()
|
|
8
|
-
_id?:
|
|
8
|
+
_id?: ObjectId;
|
|
9
9
|
|
|
10
10
|
@CreateDateColumn()
|
|
11
11
|
createdAt?: Date;
|