@admc-go-th/admc-library 1.0.110 → 1.0.112

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.
@@ -11,6 +11,7 @@ export interface msWebsiteAttributes {
11
11
  url?: string;
12
12
  layout?: number;
13
13
  status?: number;
14
+ region?: string;
14
15
  sort?: number;
15
16
  image?: string;
16
17
  address?: string;
@@ -18,6 +19,7 @@ export interface msWebsiteAttributes {
18
19
  fax?: string;
19
20
  office?: string;
20
21
  opened?: string;
22
+ info?: object;
21
23
  createdBy?: string;
22
24
  createdDate?: Date;
23
25
  updatedBy?: string;
@@ -81,6 +83,12 @@ export class msWebsite extends Model<msWebsiteAttributes, msWebsiteAttributes> i
81
83
  })
82
84
  declare status?: number;
83
85
 
86
+ @Column({
87
+ allowNull: true,
88
+ type: DataType.STRING(20)
89
+ })
90
+ declare region?: string;
91
+
84
92
  @Column({
85
93
  allowNull: true,
86
94
  type: DataType.INTEGER
@@ -123,6 +131,12 @@ export class msWebsite extends Model<msWebsiteAttributes, msWebsiteAttributes> i
123
131
  })
124
132
  declare opened?: string;
125
133
 
134
+ @Column({
135
+ allowNull: true,
136
+ type: DataType.JSON
137
+ })
138
+ declare info?: object;
139
+
126
140
  @Column({
127
141
  field: "created_by",
128
142
  allowNull: true,
@@ -6510,6 +6510,12 @@ __decorateClass([
6510
6510
  defaultValue: "1"
6511
6511
  })
6512
6512
  ], msWebsite.prototype, "status", 2);
6513
+ __decorateClass([
6514
+ (0, import_sequelize_typescript56.Column)({
6515
+ allowNull: true,
6516
+ type: import_sequelize_typescript56.DataType.STRING(20)
6517
+ })
6518
+ ], msWebsite.prototype, "region", 2);
6513
6519
  __decorateClass([
6514
6520
  (0, import_sequelize_typescript56.Column)({
6515
6521
  allowNull: true,
@@ -6552,6 +6558,12 @@ __decorateClass([
6552
6558
  type: import_sequelize_typescript56.DataType.DATEONLY
6553
6559
  })
6554
6560
  ], msWebsite.prototype, "opened", 2);
6561
+ __decorateClass([
6562
+ (0, import_sequelize_typescript56.Column)({
6563
+ allowNull: true,
6564
+ type: import_sequelize_typescript56.DataType.JSON
6565
+ })
6566
+ ], msWebsite.prototype, "info", 2);
6555
6567
  __decorateClass([
6556
6568
  (0, import_sequelize_typescript56.Column)({
6557
6569
  field: "created_by",
@@ -9,6 +9,7 @@ interface msWebsiteAttributes {
9
9
  url?: string;
10
10
  layout?: number;
11
11
  status?: number;
12
+ region?: string;
12
13
  sort?: number;
13
14
  image?: string;
14
15
  address?: string;
@@ -16,6 +17,7 @@ interface msWebsiteAttributes {
16
17
  fax?: string;
17
18
  office?: string;
18
19
  opened?: string;
20
+ info?: object;
19
21
  createdBy?: string;
20
22
  createdDate?: Date;
21
23
  updatedBy?: string;
@@ -30,6 +32,7 @@ declare class msWebsite extends Model<msWebsiteAttributes, msWebsiteAttributes>
30
32
  url?: string;
31
33
  layout?: number;
32
34
  status?: number;
35
+ region?: string;
33
36
  sort?: number;
34
37
  image?: string;
35
38
  address?: string;
@@ -37,6 +40,7 @@ declare class msWebsite extends Model<msWebsiteAttributes, msWebsiteAttributes>
37
40
  fax?: string;
38
41
  office?: string;
39
42
  opened?: string;
43
+ info?: object;
40
44
  createdBy?: string;
41
45
  createdDate?: Date;
42
46
  updatedBy?: string;
@@ -85,6 +85,12 @@ __decorateClass([
85
85
  defaultValue: "1"
86
86
  })
87
87
  ], msWebsite.prototype, "status", 2);
88
+ __decorateClass([
89
+ (0, import_sequelize_typescript.Column)({
90
+ allowNull: true,
91
+ type: import_sequelize_typescript.DataType.STRING(20)
92
+ })
93
+ ], msWebsite.prototype, "region", 2);
88
94
  __decorateClass([
89
95
  (0, import_sequelize_typescript.Column)({
90
96
  allowNull: true,
@@ -127,6 +133,12 @@ __decorateClass([
127
133
  type: import_sequelize_typescript.DataType.DATEONLY
128
134
  })
129
135
  ], msWebsite.prototype, "opened", 2);
136
+ __decorateClass([
137
+ (0, import_sequelize_typescript.Column)({
138
+ allowNull: true,
139
+ type: import_sequelize_typescript.DataType.JSON
140
+ })
141
+ ], msWebsite.prototype, "info", 2);
130
142
  __decorateClass([
131
143
  (0, import_sequelize_typescript.Column)({
132
144
  field: "created_by",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admc-go-th/admc-library",
3
- "version": "1.0.110",
3
+ "version": "1.0.112",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",