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

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.
@@ -22,6 +22,7 @@ export interface appScoreAttributes {
22
22
  createdDate?: Date;
23
23
  updatedBy?: string;
24
24
  updatedDate?: Date;
25
+ refId?: number;
25
26
  }
26
27
 
27
28
  @Table({
@@ -158,4 +159,11 @@ export class appScore extends Model<appScoreAttributes, appScoreAttributes> impl
158
159
  })
159
160
  declare updatedDate?: Date;
160
161
 
162
+ @Column({
163
+ field: "ref_id",
164
+ allowNull: true,
165
+ type: DataType.INTEGER
166
+ })
167
+ declare refId?: number;
168
+
161
169
  }
@@ -19,6 +19,7 @@ export interface mdEbookAttributes {
19
19
  imageGallery?: object;
20
20
  attachments?: object;
21
21
  highlight?: number;
22
+ newInfo?: object;
22
23
  sort?: number;
23
24
  status?: number;
24
25
  view?: number;
@@ -137,6 +138,13 @@ export class mdEbook extends Model<mdEbookAttributes, mdEbookAttributes> impleme
137
138
  })
138
139
  declare highlight?: number;
139
140
 
141
+ @Column({
142
+ field: "new_info",
143
+ allowNull: true,
144
+ type: DataType.JSON
145
+ })
146
+ declare newInfo?: object;
147
+
140
148
  @Column({
141
149
  allowNull: true,
142
150
  type: DataType.INTEGER
@@ -26,13 +26,14 @@ export interface mdVideoAttributes {
26
26
  status?: number;
27
27
  view?: number;
28
28
  publish?: number;
29
- hasExpire: number;
29
+ hasExpire?: number;
30
30
  startDate?: Date;
31
31
  expireDate?: Date;
32
32
  createdBy?: string;
33
33
  createdDate?: Date;
34
34
  updatedBy?: string;
35
35
  updatedDate?: Date;
36
+ refId?: number;
36
37
  }
37
38
 
38
39
  @Table({
@@ -189,9 +190,10 @@ export class mdVideo extends Model<mdVideoAttributes, mdVideoAttributes> impleme
189
190
 
190
191
  @Column({
191
192
  field: "has_expire",
193
+ allowNull: true,
192
194
  type: DataType.INTEGER
193
195
  })
194
- declare hasExpire: number;
196
+ declare hasExpire?: number;
195
197
 
196
198
  @Column({
197
199
  field: "start_date",
@@ -235,4 +237,11 @@ export class mdVideo extends Model<mdVideoAttributes, mdVideoAttributes> impleme
235
237
  })
236
238
  declare updatedDate?: Date;
237
239
 
240
+ @Column({
241
+ field: "ref_id",
242
+ allowNull: true,
243
+ type: DataType.INTEGER
244
+ })
245
+ declare refId?: number;
246
+
238
247
  }
@@ -6,6 +6,9 @@ export interface msConsultSiteChannelAttributes {
6
6
  id?: number;
7
7
  siteId?: number;
8
8
  channelId?: number;
9
+ name?: string;
10
+ information?: string;
11
+ detail?: string;
9
12
  status?: number;
10
13
  createdBy?: string;
11
14
  createdDate?: Date;
@@ -40,6 +43,24 @@ export class msConsultSiteChannel extends Model<msConsultSiteChannelAttributes,
40
43
  })
41
44
  declare channelId?: number;
42
45
 
46
+ @Column({
47
+ allowNull: true,
48
+ type: DataType.STRING(255)
49
+ })
50
+ declare name?: string;
51
+
52
+ @Column({
53
+ allowNull: true,
54
+ type: DataType.STRING(255)
55
+ })
56
+ declare information?: string;
57
+
58
+ @Column({
59
+ allowNull: true,
60
+ type: DataType.STRING
61
+ })
62
+ declare detail?: string;
63
+
43
64
  @Column({
44
65
  allowNull: true,
45
66
  type: DataType.INTEGER
@@ -20,6 +20,7 @@ interface appScoreAttributes {
20
20
  createdDate?: Date;
21
21
  updatedBy?: string;
22
22
  updatedDate?: Date;
23
+ refId?: number;
23
24
  }
24
25
  declare class appScore extends Model<appScoreAttributes, appScoreAttributes> implements appScoreAttributes {
25
26
  id?: number;
@@ -41,6 +42,7 @@ declare class appScore extends Model<appScoreAttributes, appScoreAttributes> imp
41
42
  createdDate?: Date;
42
43
  updatedBy?: string;
43
44
  updatedDate?: Date;
45
+ refId?: number;
44
46
  }
45
47
 
46
48
  export { appScore, type appScoreAttributes };
@@ -162,6 +162,13 @@ __decorateClass([
162
162
  type: import_sequelize_typescript.DataType.DATE
163
163
  })
164
164
  ], appScore.prototype, "updatedDate", 2);
165
+ __decorateClass([
166
+ (0, import_sequelize_typescript.Column)({
167
+ field: "ref_id",
168
+ allowNull: true,
169
+ type: import_sequelize_typescript.DataType.INTEGER
170
+ })
171
+ ], appScore.prototype, "refId", 2);
165
172
  appScore = __decorateClass([
166
173
  (0, import_sequelize_typescript.Table)({
167
174
  tableName: "app_score",
@@ -19,7 +19,7 @@ export { mdCmsSingle, mdCmsSingleAttributes } from './mdCmsSingle.js';
19
19
  export { mdConfiguration, mdConfigurationAttributes } from './mdConfiguration.js';
20
20
  export { mdDocumentPdf, mdDocumentPdfAttributes } from './mdDocumentPdf.js';
21
21
  export { a as mdDownload, m as mdDownloadAttributes, c as mdDownloadGroup, b as mdDownloadGroupAttributes } from '../../mdDownload-CCc6eto7.js';
22
- export { a as mdEbook, m as mdEbookAttributes, c as mdEbookGroup, b as mdEbookGroupAttributes } from '../../mdEbook-BqC65Ujw.js';
22
+ export { a as mdEbook, m as mdEbookAttributes, c as mdEbookGroup, b as mdEbookGroupAttributes } from '../../mdEbook-BuaHiJvl.js';
23
23
  export { mdEgp, mdEgpAttributes } from './mdEgp.js';
24
24
  export { a as mdFaq, m as mdFaqAttributes, c as mdFaqGroup, b as mdFaqGroupAttributes } from '../../mdFaq-CHIPG3yZ.js';
25
25
  export { mdFormAdvance_1, mdFormAdvance_1Attributes } from './mdFormAdvance_1.js';
@@ -1213,6 +1213,13 @@ __decorateClass([
1213
1213
  type: import_sequelize_typescript8.DataType.DATE
1214
1214
  })
1215
1215
  ], appScore.prototype, "updatedDate", 2);
1216
+ __decorateClass([
1217
+ (0, import_sequelize_typescript8.Column)({
1218
+ field: "ref_id",
1219
+ allowNull: true,
1220
+ type: import_sequelize_typescript8.DataType.INTEGER
1221
+ })
1222
+ ], appScore.prototype, "refId", 2);
1216
1223
  appScore = __decorateClass([
1217
1224
  (0, import_sequelize_typescript8.Table)({
1218
1225
  tableName: "app_score",
@@ -4413,6 +4420,13 @@ __decorateClass([
4413
4420
  type: import_sequelize_typescript38.DataType.INTEGER
4414
4421
  })
4415
4422
  ], mdEbook.prototype, "highlight", 2);
4423
+ __decorateClass([
4424
+ (0, import_sequelize_typescript38.Column)({
4425
+ field: "new_info",
4426
+ allowNull: true,
4427
+ type: import_sequelize_typescript38.DataType.JSON
4428
+ })
4429
+ ], mdEbook.prototype, "newInfo", 2);
4416
4430
  __decorateClass([
4417
4431
  (0, import_sequelize_typescript38.Column)({
4418
4432
  allowNull: true,
@@ -6515,6 +6529,7 @@ __decorateClass([
6515
6529
  __decorateClass([
6516
6530
  (0, import_sequelize_typescript54.Column)({
6517
6531
  field: "has_expire",
6532
+ allowNull: true,
6518
6533
  type: import_sequelize_typescript54.DataType.INTEGER
6519
6534
  })
6520
6535
  ], mdVideo.prototype, "hasExpire", 2);
@@ -6560,6 +6575,13 @@ __decorateClass([
6560
6575
  type: import_sequelize_typescript54.DataType.DATE
6561
6576
  })
6562
6577
  ], mdVideo.prototype, "updatedDate", 2);
6578
+ __decorateClass([
6579
+ (0, import_sequelize_typescript54.Column)({
6580
+ field: "ref_id",
6581
+ allowNull: true,
6582
+ type: import_sequelize_typescript54.DataType.INTEGER
6583
+ })
6584
+ ], mdVideo.prototype, "refId", 2);
6563
6585
  mdVideo = __decorateClass([
6564
6586
  (0, import_sequelize_typescript54.Table)({
6565
6587
  tableName: "md_video",
@@ -7199,6 +7221,24 @@ __decorateClass([
7199
7221
  type: import_sequelize_typescript61.DataType.INTEGER
7200
7222
  })
7201
7223
  ], msConsultSiteChannel.prototype, "channelId", 2);
7224
+ __decorateClass([
7225
+ (0, import_sequelize_typescript61.Column)({
7226
+ allowNull: true,
7227
+ type: import_sequelize_typescript61.DataType.STRING(255)
7228
+ })
7229
+ ], msConsultSiteChannel.prototype, "name", 2);
7230
+ __decorateClass([
7231
+ (0, import_sequelize_typescript61.Column)({
7232
+ allowNull: true,
7233
+ type: import_sequelize_typescript61.DataType.STRING(255)
7234
+ })
7235
+ ], msConsultSiteChannel.prototype, "information", 2);
7236
+ __decorateClass([
7237
+ (0, import_sequelize_typescript61.Column)({
7238
+ allowNull: true,
7239
+ type: import_sequelize_typescript61.DataType.STRING
7240
+ })
7241
+ ], msConsultSiteChannel.prototype, "detail", 2);
7202
7242
  __decorateClass([
7203
7243
  (0, import_sequelize_typescript61.Column)({
7204
7244
  allowNull: true,
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { a as mdEbook, m as mdEbookAttributes } from '../../mdEbook-BqC65Ujw.js';
2
+ export { a as mdEbook, m as mdEbookAttributes } from '../../mdEbook-BuaHiJvl.js';
@@ -228,6 +228,13 @@ __decorateClass([
228
228
  type: import_sequelize_typescript2.DataType.INTEGER
229
229
  })
230
230
  ], mdEbook.prototype, "highlight", 2);
231
+ __decorateClass([
232
+ (0, import_sequelize_typescript2.Column)({
233
+ field: "new_info",
234
+ allowNull: true,
235
+ type: import_sequelize_typescript2.DataType.JSON
236
+ })
237
+ ], mdEbook.prototype, "newInfo", 2);
231
238
  __decorateClass([
232
239
  (0, import_sequelize_typescript2.Column)({
233
240
  allowNull: true,
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { c as mdEbookGroup, b as mdEbookGroupAttributes } from '../../mdEbook-BqC65Ujw.js';
2
+ export { c as mdEbookGroup, b as mdEbookGroupAttributes } from '../../mdEbook-BuaHiJvl.js';
@@ -135,6 +135,13 @@ __decorateClass([
135
135
  type: import_sequelize_typescript.DataType.INTEGER
136
136
  })
137
137
  ], mdEbook.prototype, "highlight", 2);
138
+ __decorateClass([
139
+ (0, import_sequelize_typescript.Column)({
140
+ field: "new_info",
141
+ allowNull: true,
142
+ type: import_sequelize_typescript.DataType.JSON
143
+ })
144
+ ], mdEbook.prototype, "newInfo", 2);
138
145
  __decorateClass([
139
146
  (0, import_sequelize_typescript.Column)({
140
147
  allowNull: true,
@@ -24,13 +24,14 @@ interface mdVideoAttributes {
24
24
  status?: number;
25
25
  view?: number;
26
26
  publish?: number;
27
- hasExpire: number;
27
+ hasExpire?: number;
28
28
  startDate?: Date;
29
29
  expireDate?: Date;
30
30
  createdBy?: string;
31
31
  createdDate?: Date;
32
32
  updatedBy?: string;
33
33
  updatedDate?: Date;
34
+ refId?: number;
34
35
  }
35
36
  declare class mdVideo extends Model<mdVideoAttributes, mdVideoAttributes> implements mdVideoAttributes {
36
37
  id?: number;
@@ -56,13 +57,14 @@ declare class mdVideo extends Model<mdVideoAttributes, mdVideoAttributes> implem
56
57
  status?: number;
57
58
  view?: number;
58
59
  publish?: number;
59
- hasExpire: number;
60
+ hasExpire?: number;
60
61
  startDate?: Date;
61
62
  expireDate?: Date;
62
63
  createdBy?: string;
63
64
  createdDate?: Date;
64
65
  updatedBy?: string;
65
66
  updatedDate?: Date;
67
+ refId?: number;
66
68
  }
67
69
 
68
70
  export { mdVideo, type mdVideoAttributes };
@@ -183,6 +183,7 @@ __decorateClass([
183
183
  __decorateClass([
184
184
  (0, import_sequelize_typescript.Column)({
185
185
  field: "has_expire",
186
+ allowNull: true,
186
187
  type: import_sequelize_typescript.DataType.INTEGER
187
188
  })
188
189
  ], mdVideo.prototype, "hasExpire", 2);
@@ -228,6 +229,13 @@ __decorateClass([
228
229
  type: import_sequelize_typescript.DataType.DATE
229
230
  })
230
231
  ], mdVideo.prototype, "updatedDate", 2);
232
+ __decorateClass([
233
+ (0, import_sequelize_typescript.Column)({
234
+ field: "ref_id",
235
+ allowNull: true,
236
+ type: import_sequelize_typescript.DataType.INTEGER
237
+ })
238
+ ], mdVideo.prototype, "refId", 2);
231
239
  mdVideo = __decorateClass([
232
240
  (0, import_sequelize_typescript.Table)({
233
241
  tableName: "md_video",
@@ -4,6 +4,9 @@ interface msConsultSiteChannelAttributes {
4
4
  id?: number;
5
5
  siteId?: number;
6
6
  channelId?: number;
7
+ name?: string;
8
+ information?: string;
9
+ detail?: string;
7
10
  status?: number;
8
11
  createdBy?: string;
9
12
  createdDate?: Date;
@@ -14,6 +17,9 @@ declare class msConsultSiteChannel extends Model<msConsultSiteChannelAttributes,
14
17
  id?: number;
15
18
  siteId?: number;
16
19
  channelId?: number;
20
+ name?: string;
21
+ information?: string;
22
+ detail?: string;
17
23
  status?: number;
18
24
  createdBy?: string;
19
25
  createdDate?: Date;
@@ -55,6 +55,24 @@ __decorateClass([
55
55
  type: import_sequelize_typescript.DataType.INTEGER
56
56
  })
57
57
  ], msConsultSiteChannel.prototype, "channelId", 2);
58
+ __decorateClass([
59
+ (0, import_sequelize_typescript.Column)({
60
+ allowNull: true,
61
+ type: import_sequelize_typescript.DataType.STRING(255)
62
+ })
63
+ ], msConsultSiteChannel.prototype, "name", 2);
64
+ __decorateClass([
65
+ (0, import_sequelize_typescript.Column)({
66
+ allowNull: true,
67
+ type: import_sequelize_typescript.DataType.STRING(255)
68
+ })
69
+ ], msConsultSiteChannel.prototype, "information", 2);
70
+ __decorateClass([
71
+ (0, import_sequelize_typescript.Column)({
72
+ allowNull: true,
73
+ type: import_sequelize_typescript.DataType.STRING
74
+ })
75
+ ], msConsultSiteChannel.prototype, "detail", 2);
58
76
  __decorateClass([
59
77
  (0, import_sequelize_typescript.Column)({
60
78
  allowNull: true,
@@ -46,6 +46,7 @@ interface mdEbookAttributes {
46
46
  imageGallery?: object;
47
47
  attachments?: object;
48
48
  highlight?: number;
49
+ newInfo?: object;
49
50
  sort?: number;
50
51
  status?: number;
51
52
  view?: number;
@@ -75,6 +76,7 @@ declare class mdEbook extends Model<mdEbookAttributes, mdEbookAttributes> implem
75
76
  imageGallery?: object;
76
77
  attachments?: object;
77
78
  highlight?: number;
79
+ newInfo?: object;
78
80
  sort?: number;
79
81
  status?: number;
80
82
  view?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admc-go-th/admc-library",
3
- "version": "1.0.127",
3
+ "version": "1.0.128",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",