@admc-go-th/admc-library 1.0.126 → 1.0.127

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.
@@ -20,6 +20,8 @@ export interface msWebsiteAttributes {
20
20
  fax?: string;
21
21
  office?: string;
22
22
  opened?: string;
23
+ latitude?: string;
24
+ longitude?: string;
23
25
  info?: object;
24
26
  createdBy?: string;
25
27
  createdDate?: Date;
@@ -138,6 +140,18 @@ export class msWebsite extends Model<msWebsiteAttributes, msWebsiteAttributes> i
138
140
  })
139
141
  declare opened?: string;
140
142
 
143
+ @Column({
144
+ allowNull: true,
145
+ type: DataType.DECIMAL(10,8)
146
+ })
147
+ declare latitude?: string;
148
+
149
+ @Column({
150
+ allowNull: true,
151
+ type: DataType.DECIMAL(11,8)
152
+ })
153
+ declare longitude?: string;
154
+
141
155
  @Column({
142
156
  allowNull: true,
143
157
  type: DataType.JSON
@@ -8400,6 +8400,18 @@ __decorateClass([
8400
8400
  type: import_sequelize_typescript74.DataType.DATEONLY
8401
8401
  })
8402
8402
  ], msWebsite.prototype, "opened", 2);
8403
+ __decorateClass([
8404
+ (0, import_sequelize_typescript74.Column)({
8405
+ allowNull: true,
8406
+ type: import_sequelize_typescript74.DataType.DECIMAL(10, 8)
8407
+ })
8408
+ ], msWebsite.prototype, "latitude", 2);
8409
+ __decorateClass([
8410
+ (0, import_sequelize_typescript74.Column)({
8411
+ allowNull: true,
8412
+ type: import_sequelize_typescript74.DataType.DECIMAL(11, 8)
8413
+ })
8414
+ ], msWebsite.prototype, "longitude", 2);
8403
8415
  __decorateClass([
8404
8416
  (0, import_sequelize_typescript74.Column)({
8405
8417
  allowNull: true,
@@ -18,6 +18,8 @@ interface msWebsiteAttributes {
18
18
  fax?: string;
19
19
  office?: string;
20
20
  opened?: string;
21
+ latitude?: string;
22
+ longitude?: string;
21
23
  info?: object;
22
24
  createdBy?: string;
23
25
  createdDate?: Date;
@@ -42,6 +44,8 @@ declare class msWebsite extends Model<msWebsiteAttributes, msWebsiteAttributes>
42
44
  fax?: string;
43
45
  office?: string;
44
46
  opened?: string;
47
+ latitude?: string;
48
+ longitude?: string;
45
49
  info?: object;
46
50
  createdBy?: string;
47
51
  createdDate?: Date;
@@ -139,6 +139,18 @@ __decorateClass([
139
139
  type: import_sequelize_typescript.DataType.DATEONLY
140
140
  })
141
141
  ], msWebsite.prototype, "opened", 2);
142
+ __decorateClass([
143
+ (0, import_sequelize_typescript.Column)({
144
+ allowNull: true,
145
+ type: import_sequelize_typescript.DataType.DECIMAL(10, 8)
146
+ })
147
+ ], msWebsite.prototype, "latitude", 2);
148
+ __decorateClass([
149
+ (0, import_sequelize_typescript.Column)({
150
+ allowNull: true,
151
+ type: import_sequelize_typescript.DataType.DECIMAL(11, 8)
152
+ })
153
+ ], msWebsite.prototype, "longitude", 2);
142
154
  __decorateClass([
143
155
  (0, import_sequelize_typescript.Column)({
144
156
  allowNull: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admc-go-th/admc-library",
3
- "version": "1.0.126",
3
+ "version": "1.0.127",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",