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.
@@ -1,6 +1,6 @@
1
- import { BaseEntity, ObjectID } from 'typeorm';
1
+ import { BaseEntity, ObjectId } from 'typeorm';
2
2
  export declare abstract class AbstractBase extends BaseEntity {
3
- _id?: ObjectID;
3
+ _id?: ObjectId;
4
4
  createdAt?: Date;
5
5
  updatedAt?: Date;
6
6
  }
@@ -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.ObjectID)
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, 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"]}
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,6 +1,6 @@
1
1
  {
2
2
  "name": "store-scrapper-js-common",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  BaseEntity,
3
- CreateDateColumn, ObjectID, ObjectIdColumn, UpdateDateColumn,
3
+ CreateDateColumn, ObjectId, ObjectIdColumn, UpdateDateColumn,
4
4
  } from 'typeorm';
5
5
 
6
6
  export abstract class AbstractBase extends BaseEntity {
7
7
  @ObjectIdColumn()
8
- _id?: ObjectID;
8
+ _id?: ObjectId;
9
9
 
10
10
  @CreateDateColumn()
11
11
  createdAt?: Date;