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

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.
Files changed (46) hide show
  1. package/databases/schema/index.ts +1 -0
  2. package/databases/schema/mdApplication.ts +208 -0
  3. package/databases/schema/mdDownloadGroup.ts +7 -0
  4. package/databases/schema/mdEbookGroup.ts +7 -0
  5. package/databases/schema/mdFaqGroup.ts +7 -0
  6. package/databases/schema/mdNewsGroup.ts +7 -0
  7. package/databases/schema/msExecutive.ts +15 -7
  8. package/databases/schema/msExecutivePosition.ts +23 -0
  9. package/databases/schema/recruitment.ts +15 -0
  10. package/databases/tables/index.d.ts +7 -6
  11. package/databases/tables/index.js +1632 -1387
  12. package/databases/tables/mdApplication.d.ts +60 -0
  13. package/databases/tables/mdApplication.js +214 -0
  14. package/databases/tables/mdDownload.d.ts +1 -1
  15. package/databases/tables/mdDownload.js +6 -0
  16. package/databases/tables/mdDownloadGroup.d.ts +1 -1
  17. package/databases/tables/mdDownloadGroup.js +6 -0
  18. package/databases/tables/mdEbook.d.ts +1 -1
  19. package/databases/tables/mdEbook.js +6 -0
  20. package/databases/tables/mdEbookGroup.d.ts +1 -1
  21. package/databases/tables/mdEbookGroup.js +6 -0
  22. package/databases/tables/mdFaq.d.ts +1 -1
  23. package/databases/tables/mdFaq.js +6 -0
  24. package/databases/tables/mdFaqGroup.d.ts +1 -1
  25. package/databases/tables/mdFaqGroup.js +6 -0
  26. package/databases/tables/mdNews.d.ts +1 -1
  27. package/databases/tables/mdNews.js +6 -0
  28. package/databases/tables/mdNewsGroup.d.ts +1 -1
  29. package/databases/tables/mdNewsGroup.js +6 -0
  30. package/databases/tables/msExecutive.d.ts +1 -1
  31. package/databases/tables/msExecutive.js +31 -4
  32. package/databases/tables/msExecutiveGroup.d.ts +1 -1
  33. package/databases/tables/msExecutiveGroup.js +31 -4
  34. package/databases/tables/msExecutivePosition.d.ts +1 -1
  35. package/databases/tables/msExecutivePosition.js +31 -4
  36. package/databases/tables/recruitment.d.ts +1 -1
  37. package/databases/tables/recruitment.js +13 -0
  38. package/databases/tables/recruitmentGroup.d.ts +1 -1
  39. package/databases/tables/recruitmentGroup.js +13 -0
  40. package/{mdDownload-RICzliX6.d.ts → mdDownload-CCc6eto7.d.ts} +2 -0
  41. package/{mdEbook-CAvTi5ia.d.ts → mdEbook-BqC65Ujw.d.ts} +2 -0
  42. package/{mdFaq-Cg-D362f.d.ts → mdFaq-CHIPG3yZ.d.ts} +2 -0
  43. package/{mdNews-AU_zz7jr.d.ts → mdNews-DfHz7Ajk.d.ts} +2 -0
  44. package/{msExecutive-1j_DcKu7.d.ts → msExecutive-B7lTHxSZ.d.ts} +12 -4
  45. package/package.json +1 -1
  46. package/{recruitment-DmJeINPg.d.ts → recruitment-5Pi7YA8x.d.ts} +4 -0
@@ -179,6 +179,12 @@ __decorateClass([
179
179
  type: import_sequelize_typescript2.DataType.INTEGER
180
180
  })
181
181
  ], recruitment.prototype, "calledPosition", 2);
182
+ __decorateClass([
183
+ (0, import_sequelize_typescript2.Column)({
184
+ allowNull: true,
185
+ type: import_sequelize_typescript2.DataType.INTEGER
186
+ })
187
+ ], recruitment.prototype, "sort", 2);
182
188
  __decorateClass([
183
189
  (0, import_sequelize_typescript2.Column)({
184
190
  allowNull: true,
@@ -213,6 +219,13 @@ __decorateClass([
213
219
  type: import_sequelize_typescript2.DataType.DATE
214
220
  })
215
221
  ], recruitment.prototype, "updatedDate", 2);
222
+ __decorateClass([
223
+ (0, import_sequelize_typescript2.Column)({
224
+ field: "ref_id",
225
+ allowNull: true,
226
+ type: import_sequelize_typescript2.DataType.INTEGER
227
+ })
228
+ ], recruitment.prototype, "refId", 2);
216
229
  __decorateClass([
217
230
  (0, import_sequelize_typescript2.BelongsTo)(() => recruitmentGroup)
218
231
  ], recruitment.prototype, "recruitmentGroup", 2);
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { c as recruitmentGroup, b as recruitmentGroupAttributes } from '../../recruitment-DmJeINPg.js';
2
+ export { c as recruitmentGroup, b as recruitmentGroupAttributes } from '../../recruitment-5Pi7YA8x.js';
@@ -93,6 +93,12 @@ __decorateClass([
93
93
  type: import_sequelize_typescript.DataType.INTEGER
94
94
  })
95
95
  ], recruitment.prototype, "calledPosition", 2);
96
+ __decorateClass([
97
+ (0, import_sequelize_typescript.Column)({
98
+ allowNull: true,
99
+ type: import_sequelize_typescript.DataType.INTEGER
100
+ })
101
+ ], recruitment.prototype, "sort", 2);
96
102
  __decorateClass([
97
103
  (0, import_sequelize_typescript.Column)({
98
104
  allowNull: true,
@@ -127,6 +133,13 @@ __decorateClass([
127
133
  type: import_sequelize_typescript.DataType.DATE
128
134
  })
129
135
  ], recruitment.prototype, "updatedDate", 2);
136
+ __decorateClass([
137
+ (0, import_sequelize_typescript.Column)({
138
+ field: "ref_id",
139
+ allowNull: true,
140
+ type: import_sequelize_typescript.DataType.INTEGER
141
+ })
142
+ ], recruitment.prototype, "refId", 2);
130
143
  __decorateClass([
131
144
  (0, import_sequelize_typescript.BelongsTo)(() => recruitmentGroup)
132
145
  ], recruitment.prototype, "recruitmentGroup", 2);
@@ -7,6 +7,7 @@ interface mdDownloadGroupAttributes {
7
7
  userId?: number;
8
8
  name: string;
9
9
  description?: string;
10
+ sort?: number;
10
11
  status?: number;
11
12
  createdBy?: string;
12
13
  createdDate?: Date;
@@ -20,6 +21,7 @@ declare class mdDownloadGroup extends Model<mdDownloadGroupAttributes, mdDownloa
20
21
  userId?: number;
21
22
  name: string;
22
23
  description?: string;
24
+ sort?: number;
23
25
  status?: number;
24
26
  createdBy?: string;
25
27
  createdDate?: Date;
@@ -7,6 +7,7 @@ interface mdEbookGroupAttributes {
7
7
  userId?: number;
8
8
  name: string;
9
9
  description?: string;
10
+ sort?: number;
10
11
  status?: number;
11
12
  createdBy?: string;
12
13
  createdDate?: Date;
@@ -20,6 +21,7 @@ declare class mdEbookGroup extends Model<mdEbookGroupAttributes, mdEbookGroupAtt
20
21
  userId?: number;
21
22
  name: string;
22
23
  description?: string;
24
+ sort?: number;
23
25
  status?: number;
24
26
  createdBy?: string;
25
27
  createdDate?: Date;
@@ -7,6 +7,7 @@ interface mdFaqGroupAttributes {
7
7
  userId?: number;
8
8
  name: string;
9
9
  description?: string;
10
+ sort?: number;
10
11
  status?: number;
11
12
  createdBy?: string;
12
13
  createdDate?: Date;
@@ -20,6 +21,7 @@ declare class mdFaqGroup extends Model<mdFaqGroupAttributes, mdFaqGroupAttribute
20
21
  userId?: number;
21
22
  name: string;
22
23
  description?: string;
24
+ sort?: number;
23
25
  status?: number;
24
26
  createdBy?: string;
25
27
  createdDate?: Date;
@@ -7,6 +7,7 @@ interface mdNewsGroupAttributes {
7
7
  userId?: number;
8
8
  name: string;
9
9
  description?: string;
10
+ sort?: number;
10
11
  status?: number;
11
12
  createdBy?: string;
12
13
  createdDate?: Date;
@@ -20,6 +21,7 @@ declare class mdNewsGroup extends Model<mdNewsGroupAttributes, mdNewsGroupAttrib
20
21
  userId?: number;
21
22
  name: string;
22
23
  description?: string;
24
+ sort?: number;
23
25
  status?: number;
24
26
  createdBy?: string;
25
27
  createdDate?: Date;
@@ -34,8 +34,11 @@ declare class msExecutiveGroup extends Model<msExecutiveGroupAttributes, msExecu
34
34
 
35
35
  interface msExecutivePositionAttributes {
36
36
  id?: number;
37
+ groupId?: number;
37
38
  name?: string;
38
39
  description?: string;
40
+ updatedInfo?: string;
41
+ remark?: string;
39
42
  sort?: number;
40
43
  status?: number;
41
44
  info?: object;
@@ -46,8 +49,11 @@ interface msExecutivePositionAttributes {
46
49
  }
47
50
  declare class msExecutivePosition extends Model<msExecutivePositionAttributes, msExecutivePositionAttributes> implements msExecutivePositionAttributes {
48
51
  id?: number;
52
+ groupId?: number;
49
53
  name?: string;
50
54
  description?: string;
55
+ updatedInfo?: string;
56
+ remark?: string;
51
57
  sort?: number;
52
58
  status?: number;
53
59
  info?: object;
@@ -61,7 +67,7 @@ declare class msExecutivePosition extends Model<msExecutivePositionAttributes, m
61
67
  interface msExecutiveAttributes {
62
68
  id?: number;
63
69
  groupId?: number;
64
- positionId?: number;
70
+ levelId?: number;
65
71
  positionName?: string;
66
72
  positionOther?: string;
67
73
  titleId?: number;
@@ -74,17 +80,18 @@ interface msExecutiveAttributes {
74
80
  experience?: string;
75
81
  image?: string;
76
82
  sort?: number;
77
- status?: string;
83
+ status?: number;
78
84
  info?: object;
79
85
  createdBy?: string;
80
86
  createdDate?: Date;
81
87
  updatedBy?: string;
82
88
  updatedDate?: Date;
89
+ positionId?: number;
83
90
  }
84
91
  declare class msExecutive extends Model<msExecutiveAttributes, msExecutiveAttributes> implements msExecutiveAttributes {
85
92
  id?: number;
86
93
  groupId?: number;
87
- positionId?: number;
94
+ levelId?: number;
88
95
  positionName?: string;
89
96
  positionOther?: string;
90
97
  titleId?: number;
@@ -97,12 +104,13 @@ declare class msExecutive extends Model<msExecutiveAttributes, msExecutiveAttrib
97
104
  experience?: string;
98
105
  image?: string;
99
106
  sort?: number;
100
- status?: string;
107
+ status?: number;
101
108
  info?: object;
102
109
  createdBy?: string;
103
110
  createdDate?: Date;
104
111
  updatedBy?: string;
105
112
  updatedDate?: Date;
113
+ positionId?: number;
106
114
  msExecutiveGroup?: msExecutiveGroup;
107
115
  msExecutivePosition?: msExecutivePosition;
108
116
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admc-go-th/admc-library",
3
- "version": "1.0.118",
3
+ "version": "1.0.120",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -37,11 +37,13 @@ interface recruitmentAttributes {
37
37
  accountAge?: number;
38
38
  accountExpires?: string;
39
39
  calledPosition?: number;
40
+ sort?: number;
40
41
  status?: number;
41
42
  createdBy?: string;
42
43
  createdDate?: Date;
43
44
  updatedBy?: string;
44
45
  updatedDate?: Date;
46
+ refId?: number;
45
47
  }
46
48
  declare class recruitment extends Model<recruitmentAttributes, recruitmentAttributes> implements recruitmentAttributes {
47
49
  id?: number;
@@ -52,11 +54,13 @@ declare class recruitment extends Model<recruitmentAttributes, recruitmentAttrib
52
54
  accountAge?: number;
53
55
  accountExpires?: string;
54
56
  calledPosition?: number;
57
+ sort?: number;
55
58
  status?: number;
56
59
  createdBy?: string;
57
60
  createdDate?: Date;
58
61
  updatedBy?: string;
59
62
  updatedDate?: Date;
63
+ refId?: number;
60
64
  recruitmentGroup?: recruitmentGroup;
61
65
  }
62
66