@admc-go-th/admc-library 1.0.116 → 1.0.118

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.
@@ -8,6 +8,7 @@ export interface msExecutiveAttributes {
8
8
  id?: number;
9
9
  groupId?: number;
10
10
  positionId?: number;
11
+ positionName?: string;
11
12
  positionOther?: string;
12
13
  titleId?: number;
13
14
  firstName?: string;
@@ -56,6 +57,13 @@ export class msExecutive extends Model<msExecutiveAttributes, msExecutiveAttribu
56
57
  })
57
58
  declare positionId?: number;
58
59
 
60
+ @Column({
61
+ field: "position_name",
62
+ allowNull: true,
63
+ type: DataType.STRING(255)
64
+ })
65
+ declare positionName?: string;
66
+
59
67
  @Column({
60
68
  field: "position_other",
61
69
  allowNull: true,
@@ -5,7 +5,7 @@ import {
5
5
  export interface msTitleAttributes {
6
6
  id?: number;
7
7
  name?: string;
8
- nameInfo?: object;
8
+ info?: object;
9
9
  status?: number;
10
10
  createdBy?: string;
11
11
  createdDate?: Date;
@@ -33,11 +33,10 @@ export class msTitle extends Model<msTitleAttributes, msTitleAttributes> impleme
33
33
  declare name?: string;
34
34
 
35
35
  @Column({
36
- field: "name_info",
37
36
  allowNull: true,
38
37
  type: DataType.JSON
39
38
  })
40
- declare nameInfo?: object;
39
+ declare info?: object;
41
40
 
42
41
  @Column({
43
42
  allowNull: true,
@@ -27,7 +27,7 @@ export { a as mdTranslate, m as mdTranslateAttributes, c as mdTranslateGroup, b
27
27
  export { mdVideo, mdVideoAttributes } from './mdVideo.js';
28
28
  export { mdWords, mdWordsAttributes } from './mdWords.js';
29
29
  export { member, memberAttributes } from './member.js';
30
- export { a as msExecutive, m as msExecutiveAttributes, c as msExecutiveGroup, b as msExecutiveGroupAttributes, e as msExecutivePosition, d as msExecutivePositionAttributes } from '../../msExecutive-Brhgvmvs.js';
30
+ export { a as msExecutive, m as msExecutiveAttributes, c as msExecutiveGroup, b as msExecutiveGroupAttributes, e as msExecutivePosition, d as msExecutivePositionAttributes } from '../../msExecutive-1j_DcKu7.js';
31
31
  export { msExecutiveBoard, msExecutiveBoardAttributes } from './msExecutiveBoard.js';
32
32
  export { msGuidelines, msGuidelinesAttributes } from './msGuidelines.js';
33
33
  export { msHoliday, msHolidayAttributes } from './msHoliday.js';
@@ -6227,6 +6227,13 @@ __decorateClass([
6227
6227
  type: import_sequelize_typescript52.DataType.INTEGER
6228
6228
  })
6229
6229
  ], msExecutive.prototype, "positionId", 2);
6230
+ __decorateClass([
6231
+ (0, import_sequelize_typescript52.Column)({
6232
+ field: "position_name",
6233
+ allowNull: true,
6234
+ type: import_sequelize_typescript52.DataType.STRING(255)
6235
+ })
6236
+ ], msExecutive.prototype, "positionName", 2);
6230
6237
  __decorateClass([
6231
6238
  (0, import_sequelize_typescript52.Column)({
6232
6239
  field: "position_other",
@@ -6652,11 +6659,10 @@ __decorateClass([
6652
6659
  ], msTitle.prototype, "name", 2);
6653
6660
  __decorateClass([
6654
6661
  (0, import_sequelize_typescript57.Column)({
6655
- field: "name_info",
6656
6662
  allowNull: true,
6657
6663
  type: import_sequelize_typescript57.DataType.JSON
6658
6664
  })
6659
- ], msTitle.prototype, "nameInfo", 2);
6665
+ ], msTitle.prototype, "info", 2);
6660
6666
  __decorateClass([
6661
6667
  (0, import_sequelize_typescript57.Column)({
6662
6668
  allowNull: true,
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { a as msExecutive, m as msExecutiveAttributes } from '../../msExecutive-Brhgvmvs.js';
2
+ export { a as msExecutive, m as msExecutiveAttributes } from '../../msExecutive-1j_DcKu7.js';
@@ -241,6 +241,13 @@ __decorateClass([
241
241
  type: import_sequelize_typescript3.DataType.INTEGER
242
242
  })
243
243
  ], msExecutive.prototype, "positionId", 2);
244
+ __decorateClass([
245
+ (0, import_sequelize_typescript3.Column)({
246
+ field: "position_name",
247
+ allowNull: true,
248
+ type: import_sequelize_typescript3.DataType.STRING(255)
249
+ })
250
+ ], msExecutive.prototype, "positionName", 2);
244
251
  __decorateClass([
245
252
  (0, import_sequelize_typescript3.Column)({
246
253
  field: "position_other",
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { c as msExecutiveGroup, b as msExecutiveGroupAttributes } from '../../msExecutive-Brhgvmvs.js';
2
+ export { c as msExecutiveGroup, b as msExecutiveGroupAttributes } from '../../msExecutive-1j_DcKu7.js';
@@ -143,6 +143,13 @@ __decorateClass([
143
143
  type: import_sequelize_typescript2.DataType.INTEGER
144
144
  })
145
145
  ], msExecutive.prototype, "positionId", 2);
146
+ __decorateClass([
147
+ (0, import_sequelize_typescript2.Column)({
148
+ field: "position_name",
149
+ allowNull: true,
150
+ type: import_sequelize_typescript2.DataType.STRING(255)
151
+ })
152
+ ], msExecutive.prototype, "positionName", 2);
146
153
  __decorateClass([
147
154
  (0, import_sequelize_typescript2.Column)({
148
155
  field: "position_other",
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { e as msExecutivePosition, d as msExecutivePositionAttributes } from '../../msExecutive-Brhgvmvs.js';
2
+ export { e as msExecutivePosition, d as msExecutivePositionAttributes } from '../../msExecutive-1j_DcKu7.js';
@@ -163,6 +163,13 @@ __decorateClass([
163
163
  type: import_sequelize_typescript2.DataType.INTEGER
164
164
  })
165
165
  ], msExecutive.prototype, "positionId", 2);
166
+ __decorateClass([
167
+ (0, import_sequelize_typescript2.Column)({
168
+ field: "position_name",
169
+ allowNull: true,
170
+ type: import_sequelize_typescript2.DataType.STRING(255)
171
+ })
172
+ ], msExecutive.prototype, "positionName", 2);
166
173
  __decorateClass([
167
174
  (0, import_sequelize_typescript2.Column)({
168
175
  field: "position_other",
@@ -3,7 +3,7 @@ import { Model } from 'sequelize-typescript';
3
3
  interface msTitleAttributes {
4
4
  id?: number;
5
5
  name?: string;
6
- nameInfo?: object;
6
+ info?: object;
7
7
  status?: number;
8
8
  createdBy?: string;
9
9
  createdDate?: Date;
@@ -13,7 +13,7 @@ interface msTitleAttributes {
13
13
  declare class msTitle extends Model<msTitleAttributes, msTitleAttributes> implements msTitleAttributes {
14
14
  id?: number;
15
15
  name?: string;
16
- nameInfo?: object;
16
+ info?: object;
17
17
  status?: number;
18
18
  createdBy?: string;
19
19
  createdDate?: Date;
@@ -49,11 +49,10 @@ __decorateClass([
49
49
  ], msTitle.prototype, "name", 2);
50
50
  __decorateClass([
51
51
  (0, import_sequelize_typescript.Column)({
52
- field: "name_info",
53
52
  allowNull: true,
54
53
  type: import_sequelize_typescript.DataType.JSON
55
54
  })
56
- ], msTitle.prototype, "nameInfo", 2);
55
+ ], msTitle.prototype, "info", 2);
57
56
  __decorateClass([
58
57
  (0, import_sequelize_typescript.Column)({
59
58
  allowNull: true,
@@ -62,6 +62,7 @@ interface msExecutiveAttributes {
62
62
  id?: number;
63
63
  groupId?: number;
64
64
  positionId?: number;
65
+ positionName?: string;
65
66
  positionOther?: string;
66
67
  titleId?: number;
67
68
  firstName?: string;
@@ -84,6 +85,7 @@ declare class msExecutive extends Model<msExecutiveAttributes, msExecutiveAttrib
84
85
  id?: number;
85
86
  groupId?: number;
86
87
  positionId?: number;
88
+ positionName?: string;
87
89
  positionOther?: string;
88
90
  titleId?: number;
89
91
  firstName?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admc-go-th/admc-library",
3
- "version": "1.0.116",
3
+ "version": "1.0.118",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",