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

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.
@@ -14,6 +14,9 @@ export interface mdTranslateAttributes {
14
14
  metaTitle?: string;
15
15
  metaKeyword?: string;
16
16
  metaDescription?: string;
17
+ translateBy?: string;
18
+ referenceNo?: string;
19
+ referenceDate?: Date;
17
20
  imageCover?: string;
18
21
  attachments?: object;
19
22
  highlight?: number;
@@ -107,6 +110,27 @@ export class mdTranslate extends Model<mdTranslateAttributes, mdTranslateAttribu
107
110
  })
108
111
  declare metaDescription?: string;
109
112
 
113
+ @Column({
114
+ field: "translate_by",
115
+ allowNull: true,
116
+ type: DataType.STRING(255)
117
+ })
118
+ declare translateBy?: string;
119
+
120
+ @Column({
121
+ field: "reference_no",
122
+ allowNull: true,
123
+ type: DataType.STRING(255)
124
+ })
125
+ declare referenceNo?: string;
126
+
127
+ @Column({
128
+ field: "reference_date",
129
+ allowNull: true,
130
+ type: DataType.DATE
131
+ })
132
+ declare referenceDate?: Date;
133
+
110
134
  @Column({
111
135
  field: "image_cover",
112
136
  allowNull: true,
@@ -3815,6 +3815,27 @@ __decorateClass([
3815
3815
  type: import_sequelize_typescript35.DataType.STRING(255)
3816
3816
  })
3817
3817
  ], mdTranslate.prototype, "metaDescription", 2);
3818
+ __decorateClass([
3819
+ (0, import_sequelize_typescript35.Column)({
3820
+ field: "translate_by",
3821
+ allowNull: true,
3822
+ type: import_sequelize_typescript35.DataType.STRING(255)
3823
+ })
3824
+ ], mdTranslate.prototype, "translateBy", 2);
3825
+ __decorateClass([
3826
+ (0, import_sequelize_typescript35.Column)({
3827
+ field: "reference_no",
3828
+ allowNull: true,
3829
+ type: import_sequelize_typescript35.DataType.STRING(255)
3830
+ })
3831
+ ], mdTranslate.prototype, "referenceNo", 2);
3832
+ __decorateClass([
3833
+ (0, import_sequelize_typescript35.Column)({
3834
+ field: "reference_date",
3835
+ allowNull: true,
3836
+ type: import_sequelize_typescript35.DataType.DATE
3837
+ })
3838
+ ], mdTranslate.prototype, "referenceDate", 2);
3818
3839
  __decorateClass([
3819
3840
  (0, import_sequelize_typescript35.Column)({
3820
3841
  field: "image_cover",
@@ -12,6 +12,9 @@ interface mdTranslateAttributes {
12
12
  metaTitle?: string;
13
13
  metaKeyword?: string;
14
14
  metaDescription?: string;
15
+ translateBy?: string;
16
+ referenceNo?: string;
17
+ referenceDate?: Date;
15
18
  imageCover?: string;
16
19
  attachments?: object;
17
20
  highlight?: number;
@@ -38,6 +41,9 @@ declare class mdTranslate extends Model<mdTranslateAttributes, mdTranslateAttrib
38
41
  metaTitle?: string;
39
42
  metaKeyword?: string;
40
43
  metaDescription?: string;
44
+ translateBy?: string;
45
+ referenceNo?: string;
46
+ referenceDate?: Date;
41
47
  imageCover?: string;
42
48
  attachments?: object;
43
49
  highlight?: number;
@@ -106,6 +106,27 @@ __decorateClass([
106
106
  type: import_sequelize_typescript.DataType.STRING(255)
107
107
  })
108
108
  ], mdTranslate.prototype, "metaDescription", 2);
109
+ __decorateClass([
110
+ (0, import_sequelize_typescript.Column)({
111
+ field: "translate_by",
112
+ allowNull: true,
113
+ type: import_sequelize_typescript.DataType.STRING(255)
114
+ })
115
+ ], mdTranslate.prototype, "translateBy", 2);
116
+ __decorateClass([
117
+ (0, import_sequelize_typescript.Column)({
118
+ field: "reference_no",
119
+ allowNull: true,
120
+ type: import_sequelize_typescript.DataType.STRING(255)
121
+ })
122
+ ], mdTranslate.prototype, "referenceNo", 2);
123
+ __decorateClass([
124
+ (0, import_sequelize_typescript.Column)({
125
+ field: "reference_date",
126
+ allowNull: true,
127
+ type: import_sequelize_typescript.DataType.DATE
128
+ })
129
+ ], mdTranslate.prototype, "referenceDate", 2);
109
130
  __decorateClass([
110
131
  (0, import_sequelize_typescript.Column)({
111
132
  field: "image_cover",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admc-go-th/admc-library",
3
- "version": "1.0.73",
3
+ "version": "1.0.74",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",