@admc-go-th/admc-library 1.0.72 → 1.0.73

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.
@@ -16,6 +16,7 @@ export interface mdTranslateAttributes {
16
16
  metaDescription?: string;
17
17
  imageCover?: string;
18
18
  attachments?: object;
19
+ highlight?: number;
19
20
  sort?: number;
20
21
  publish?: number;
21
22
  status?: number;
@@ -119,6 +120,12 @@ export class mdTranslate extends Model<mdTranslateAttributes, mdTranslateAttribu
119
120
  })
120
121
  declare attachments?: object;
121
122
 
123
+ @Column({
124
+ allowNull: true,
125
+ type: DataType.INTEGER
126
+ })
127
+ declare highlight?: number;
128
+
122
129
  @Column({
123
130
  allowNull: true,
124
131
  type: DataType.INTEGER
@@ -3828,6 +3828,12 @@ __decorateClass([
3828
3828
  type: import_sequelize_typescript35.DataType.JSON
3829
3829
  })
3830
3830
  ], mdTranslate.prototype, "attachments", 2);
3831
+ __decorateClass([
3832
+ (0, import_sequelize_typescript35.Column)({
3833
+ allowNull: true,
3834
+ type: import_sequelize_typescript35.DataType.INTEGER
3835
+ })
3836
+ ], mdTranslate.prototype, "highlight", 2);
3831
3837
  __decorateClass([
3832
3838
  (0, import_sequelize_typescript35.Column)({
3833
3839
  allowNull: true,
@@ -14,6 +14,7 @@ interface mdTranslateAttributes {
14
14
  metaDescription?: string;
15
15
  imageCover?: string;
16
16
  attachments?: object;
17
+ highlight?: number;
17
18
  sort?: number;
18
19
  publish?: number;
19
20
  status?: number;
@@ -39,6 +40,7 @@ declare class mdTranslate extends Model<mdTranslateAttributes, mdTranslateAttrib
39
40
  metaDescription?: string;
40
41
  imageCover?: string;
41
42
  attachments?: object;
43
+ highlight?: number;
42
44
  sort?: number;
43
45
  publish?: number;
44
46
  status?: number;
@@ -119,6 +119,12 @@ __decorateClass([
119
119
  type: import_sequelize_typescript.DataType.JSON
120
120
  })
121
121
  ], mdTranslate.prototype, "attachments", 2);
122
+ __decorateClass([
123
+ (0, import_sequelize_typescript.Column)({
124
+ allowNull: true,
125
+ type: import_sequelize_typescript.DataType.INTEGER
126
+ })
127
+ ], mdTranslate.prototype, "highlight", 2);
122
128
  __decorateClass([
123
129
  (0, import_sequelize_typescript.Column)({
124
130
  allowNull: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admc-go-th/admc-library",
3
- "version": "1.0.72",
3
+ "version": "1.0.73",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",