@admc-go-th/admc-library 1.0.119 → 1.0.121

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.
@@ -0,0 +1,60 @@
1
+ import { Model } from 'sequelize-typescript';
2
+
3
+ interface mdApplicationAttributes {
4
+ id?: number;
5
+ uuid?: string;
6
+ keyName?: string;
7
+ title?: string;
8
+ description?: string;
9
+ imageCover?: string;
10
+ fileUuid?: string;
11
+ attachments?: object;
12
+ url1?: string;
13
+ target1?: string;
14
+ url2?: string;
15
+ target2?: string;
16
+ url3?: string;
17
+ target3?: string;
18
+ url4?: string;
19
+ target4?: string;
20
+ sort?: number;
21
+ status?: number;
22
+ view?: number;
23
+ hasExpire?: number;
24
+ startDate?: Date;
25
+ expireDate?: Date;
26
+ createdBy?: string;
27
+ createdDate?: Date;
28
+ updatedBy?: string;
29
+ updatedDate?: Date;
30
+ }
31
+ declare class mdApplication extends Model<mdApplicationAttributes, mdApplicationAttributes> implements mdApplicationAttributes {
32
+ id?: number;
33
+ uuid?: string;
34
+ keyName?: string;
35
+ title?: string;
36
+ description?: string;
37
+ imageCover?: string;
38
+ fileUuid?: string;
39
+ attachments?: object;
40
+ url1?: string;
41
+ target1?: string;
42
+ url2?: string;
43
+ target2?: string;
44
+ url3?: string;
45
+ target3?: string;
46
+ url4?: string;
47
+ target4?: string;
48
+ sort?: number;
49
+ status?: number;
50
+ view?: number;
51
+ hasExpire?: number;
52
+ startDate?: Date;
53
+ expireDate?: Date;
54
+ createdBy?: string;
55
+ createdDate?: Date;
56
+ updatedBy?: string;
57
+ updatedDate?: Date;
58
+ }
59
+
60
+ export { mdApplication, type mdApplicationAttributes };
@@ -0,0 +1,215 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var __decorateClass = (decorators, target, key, kind) => {
20
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
21
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
22
+ if (decorator = decorators[i])
23
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
24
+ if (kind && result) __defProp(target, key, result);
25
+ return result;
26
+ };
27
+
28
+ // src/databases/tables/mdApplication.ts
29
+ var mdApplication_exports = {};
30
+ __export(mdApplication_exports, {
31
+ mdApplication: () => mdApplication
32
+ });
33
+ module.exports = __toCommonJS(mdApplication_exports);
34
+ var import_sequelize_typescript = require("sequelize-typescript");
35
+ var mdApplication = class extends import_sequelize_typescript.Model {
36
+ };
37
+ __decorateClass([
38
+ (0, import_sequelize_typescript.Column)({
39
+ primaryKey: true,
40
+ autoIncrement: true,
41
+ type: import_sequelize_typescript.DataType.INTEGER
42
+ })
43
+ ], mdApplication.prototype, "id", 2);
44
+ __decorateClass([
45
+ (0, import_sequelize_typescript.Column)({
46
+ allowNull: true,
47
+ type: import_sequelize_typescript.DataType.STRING(60)
48
+ })
49
+ ], mdApplication.prototype, "uuid", 2);
50
+ __decorateClass([
51
+ (0, import_sequelize_typescript.Column)({
52
+ field: "key_name",
53
+ allowNull: true,
54
+ type: import_sequelize_typescript.DataType.STRING(100)
55
+ })
56
+ ], mdApplication.prototype, "keyName", 2);
57
+ __decorateClass([
58
+ (0, import_sequelize_typescript.Column)({
59
+ allowNull: true,
60
+ type: import_sequelize_typescript.DataType.STRING(255)
61
+ })
62
+ ], mdApplication.prototype, "title", 2);
63
+ __decorateClass([
64
+ (0, import_sequelize_typescript.Column)({
65
+ allowNull: true,
66
+ type: import_sequelize_typescript.DataType.STRING
67
+ })
68
+ ], mdApplication.prototype, "description", 2);
69
+ __decorateClass([
70
+ (0, import_sequelize_typescript.Column)({
71
+ field: "image_cover",
72
+ allowNull: true,
73
+ type: import_sequelize_typescript.DataType.STRING(255)
74
+ })
75
+ ], mdApplication.prototype, "imageCover", 2);
76
+ __decorateClass([
77
+ (0, import_sequelize_typescript.Column)({
78
+ field: "file_uuid",
79
+ allowNull: true,
80
+ type: import_sequelize_typescript.DataType.STRING(60)
81
+ })
82
+ ], mdApplication.prototype, "fileUuid", 2);
83
+ __decorateClass([
84
+ (0, import_sequelize_typescript.Column)({
85
+ allowNull: true,
86
+ type: import_sequelize_typescript.DataType.JSON
87
+ })
88
+ ], mdApplication.prototype, "attachments", 2);
89
+ __decorateClass([
90
+ (0, import_sequelize_typescript.Column)({
91
+ allowNull: true,
92
+ type: import_sequelize_typescript.DataType.STRING(255),
93
+ comment: "google play"
94
+ })
95
+ ], mdApplication.prototype, "url1", 2);
96
+ __decorateClass([
97
+ (0, import_sequelize_typescript.Column)({
98
+ allowNull: true,
99
+ type: import_sequelize_typescript.DataType.STRING(10)
100
+ })
101
+ ], mdApplication.prototype, "target1", 2);
102
+ __decorateClass([
103
+ (0, import_sequelize_typescript.Column)({
104
+ allowNull: true,
105
+ type: import_sequelize_typescript.DataType.STRING(255),
106
+ comment: "app store"
107
+ })
108
+ ], mdApplication.prototype, "url2", 2);
109
+ __decorateClass([
110
+ (0, import_sequelize_typescript.Column)({
111
+ allowNull: true,
112
+ type: import_sequelize_typescript.DataType.STRING(10)
113
+ })
114
+ ], mdApplication.prototype, "target2", 2);
115
+ __decorateClass([
116
+ (0, import_sequelize_typescript.Column)({
117
+ allowNull: true,
118
+ type: import_sequelize_typescript.DataType.STRING(255)
119
+ })
120
+ ], mdApplication.prototype, "url3", 2);
121
+ __decorateClass([
122
+ (0, import_sequelize_typescript.Column)({
123
+ allowNull: true,
124
+ type: import_sequelize_typescript.DataType.STRING(10)
125
+ })
126
+ ], mdApplication.prototype, "target3", 2);
127
+ __decorateClass([
128
+ (0, import_sequelize_typescript.Column)({
129
+ allowNull: true,
130
+ type: import_sequelize_typescript.DataType.STRING(255)
131
+ })
132
+ ], mdApplication.prototype, "url4", 2);
133
+ __decorateClass([
134
+ (0, import_sequelize_typescript.Column)({
135
+ allowNull: true,
136
+ type: import_sequelize_typescript.DataType.STRING(10)
137
+ })
138
+ ], mdApplication.prototype, "target4", 2);
139
+ __decorateClass([
140
+ (0, import_sequelize_typescript.Column)({
141
+ allowNull: true,
142
+ type: import_sequelize_typescript.DataType.INTEGER
143
+ })
144
+ ], mdApplication.prototype, "sort", 2);
145
+ __decorateClass([
146
+ (0, import_sequelize_typescript.Column)({
147
+ allowNull: true,
148
+ type: import_sequelize_typescript.DataType.INTEGER
149
+ })
150
+ ], mdApplication.prototype, "status", 2);
151
+ __decorateClass([
152
+ (0, import_sequelize_typescript.Column)({
153
+ allowNull: true,
154
+ type: import_sequelize_typescript.DataType.INTEGER
155
+ })
156
+ ], mdApplication.prototype, "view", 2);
157
+ __decorateClass([
158
+ (0, import_sequelize_typescript.Column)({
159
+ field: "has_expire",
160
+ allowNull: true,
161
+ type: import_sequelize_typescript.DataType.INTEGER
162
+ })
163
+ ], mdApplication.prototype, "hasExpire", 2);
164
+ __decorateClass([
165
+ (0, import_sequelize_typescript.Column)({
166
+ field: "start_date",
167
+ allowNull: true,
168
+ type: import_sequelize_typescript.DataType.DATE
169
+ })
170
+ ], mdApplication.prototype, "startDate", 2);
171
+ __decorateClass([
172
+ (0, import_sequelize_typescript.Column)({
173
+ field: "expire_date",
174
+ allowNull: true,
175
+ type: import_sequelize_typescript.DataType.DATE
176
+ })
177
+ ], mdApplication.prototype, "expireDate", 2);
178
+ __decorateClass([
179
+ (0, import_sequelize_typescript.Column)({
180
+ field: "created_by",
181
+ allowNull: true,
182
+ type: import_sequelize_typescript.DataType.STRING(60)
183
+ })
184
+ ], mdApplication.prototype, "createdBy", 2);
185
+ __decorateClass([
186
+ (0, import_sequelize_typescript.Column)({
187
+ field: "created_date",
188
+ allowNull: true,
189
+ type: import_sequelize_typescript.DataType.DATE
190
+ })
191
+ ], mdApplication.prototype, "createdDate", 2);
192
+ __decorateClass([
193
+ (0, import_sequelize_typescript.Column)({
194
+ field: "updated_by",
195
+ allowNull: true,
196
+ type: import_sequelize_typescript.DataType.STRING(60)
197
+ })
198
+ ], mdApplication.prototype, "updatedBy", 2);
199
+ __decorateClass([
200
+ (0, import_sequelize_typescript.Column)({
201
+ field: "updated_date",
202
+ allowNull: true,
203
+ type: import_sequelize_typescript.DataType.DATE
204
+ })
205
+ ], mdApplication.prototype, "updatedDate", 2);
206
+ mdApplication = __decorateClass([
207
+ (0, import_sequelize_typescript.Table)({
208
+ tableName: "md_application",
209
+ timestamps: false
210
+ })
211
+ ], mdApplication);
212
+ // Annotate the CommonJS export names for ESM import in node:
213
+ 0 && (module.exports = {
214
+ mdApplication
215
+ });
@@ -0,0 +1,36 @@
1
+ import { Model } from 'sequelize-typescript';
2
+
3
+ interface msExecutiveLevelAttributes {
4
+ id?: number;
5
+ groupId?: number;
6
+ level?: number;
7
+ name?: string;
8
+ description?: string;
9
+ sort?: number;
10
+ status?: number;
11
+ updatedInfo?: string;
12
+ remark?: string;
13
+ info?: object;
14
+ createdBy?: string;
15
+ createdDate?: Date;
16
+ updatedBy?: string;
17
+ updatedDate?: Date;
18
+ }
19
+ declare class msExecutiveLevel extends Model<msExecutiveLevelAttributes, msExecutiveLevelAttributes> implements msExecutiveLevelAttributes {
20
+ id?: number;
21
+ groupId?: number;
22
+ level?: number;
23
+ name?: string;
24
+ description?: string;
25
+ sort?: number;
26
+ status?: number;
27
+ updatedInfo?: string;
28
+ remark?: string;
29
+ info?: object;
30
+ createdBy?: string;
31
+ createdDate?: Date;
32
+ updatedBy?: string;
33
+ updatedDate?: Date;
34
+ }
35
+
36
+ export { msExecutiveLevel, type msExecutiveLevelAttributes };
@@ -0,0 +1,137 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var __decorateClass = (decorators, target, key, kind) => {
20
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
21
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
22
+ if (decorator = decorators[i])
23
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
24
+ if (kind && result) __defProp(target, key, result);
25
+ return result;
26
+ };
27
+
28
+ // src/databases/tables/msExecutiveLevel.ts
29
+ var msExecutiveLevel_exports = {};
30
+ __export(msExecutiveLevel_exports, {
31
+ msExecutiveLevel: () => msExecutiveLevel
32
+ });
33
+ module.exports = __toCommonJS(msExecutiveLevel_exports);
34
+ var import_sequelize_typescript = require("sequelize-typescript");
35
+ var msExecutiveLevel = class extends import_sequelize_typescript.Model {
36
+ };
37
+ __decorateClass([
38
+ (0, import_sequelize_typescript.Column)({
39
+ primaryKey: true,
40
+ autoIncrement: true,
41
+ type: import_sequelize_typescript.DataType.INTEGER
42
+ })
43
+ ], msExecutiveLevel.prototype, "id", 2);
44
+ __decorateClass([
45
+ (0, import_sequelize_typescript.Column)({
46
+ field: "group_id",
47
+ allowNull: true,
48
+ type: import_sequelize_typescript.DataType.INTEGER
49
+ })
50
+ ], msExecutiveLevel.prototype, "groupId", 2);
51
+ __decorateClass([
52
+ (0, import_sequelize_typescript.Column)({
53
+ allowNull: true,
54
+ type: import_sequelize_typescript.DataType.INTEGER
55
+ })
56
+ ], msExecutiveLevel.prototype, "level", 2);
57
+ __decorateClass([
58
+ (0, import_sequelize_typescript.Column)({
59
+ allowNull: true,
60
+ type: import_sequelize_typescript.DataType.STRING(255)
61
+ })
62
+ ], msExecutiveLevel.prototype, "name", 2);
63
+ __decorateClass([
64
+ (0, import_sequelize_typescript.Column)({
65
+ allowNull: true,
66
+ type: import_sequelize_typescript.DataType.STRING(255)
67
+ })
68
+ ], msExecutiveLevel.prototype, "description", 2);
69
+ __decorateClass([
70
+ (0, import_sequelize_typescript.Column)({
71
+ allowNull: true,
72
+ type: import_sequelize_typescript.DataType.INTEGER
73
+ })
74
+ ], msExecutiveLevel.prototype, "sort", 2);
75
+ __decorateClass([
76
+ (0, import_sequelize_typescript.Column)({
77
+ allowNull: true,
78
+ type: import_sequelize_typescript.DataType.INTEGER
79
+ })
80
+ ], msExecutiveLevel.prototype, "status", 2);
81
+ __decorateClass([
82
+ (0, import_sequelize_typescript.Column)({
83
+ field: "updated_info",
84
+ allowNull: true,
85
+ type: import_sequelize_typescript.DataType.STRING(255)
86
+ })
87
+ ], msExecutiveLevel.prototype, "updatedInfo", 2);
88
+ __decorateClass([
89
+ (0, import_sequelize_typescript.Column)({
90
+ allowNull: true,
91
+ type: import_sequelize_typescript.DataType.STRING
92
+ })
93
+ ], msExecutiveLevel.prototype, "remark", 2);
94
+ __decorateClass([
95
+ (0, import_sequelize_typescript.Column)({
96
+ allowNull: true,
97
+ type: import_sequelize_typescript.DataType.JSON
98
+ })
99
+ ], msExecutiveLevel.prototype, "info", 2);
100
+ __decorateClass([
101
+ (0, import_sequelize_typescript.Column)({
102
+ field: "created_by",
103
+ allowNull: true,
104
+ type: import_sequelize_typescript.DataType.STRING(60)
105
+ })
106
+ ], msExecutiveLevel.prototype, "createdBy", 2);
107
+ __decorateClass([
108
+ (0, import_sequelize_typescript.Column)({
109
+ field: "created_date",
110
+ allowNull: true,
111
+ type: import_sequelize_typescript.DataType.DATE
112
+ })
113
+ ], msExecutiveLevel.prototype, "createdDate", 2);
114
+ __decorateClass([
115
+ (0, import_sequelize_typescript.Column)({
116
+ field: "updated_by",
117
+ allowNull: true,
118
+ type: import_sequelize_typescript.DataType.STRING(60)
119
+ })
120
+ ], msExecutiveLevel.prototype, "updatedBy", 2);
121
+ __decorateClass([
122
+ (0, import_sequelize_typescript.Column)({
123
+ field: "updated_date",
124
+ allowNull: true,
125
+ type: import_sequelize_typescript.DataType.DATE
126
+ })
127
+ ], msExecutiveLevel.prototype, "updatedDate", 2);
128
+ msExecutiveLevel = __decorateClass([
129
+ (0, import_sequelize_typescript.Table)({
130
+ tableName: "ms_executive_level",
131
+ timestamps: false
132
+ })
133
+ ], msExecutiveLevel);
134
+ // Annotate the CommonJS export names for ESM import in node:
135
+ 0 && (module.exports = {
136
+ msExecutiveLevel
137
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admc-go-th/admc-library",
3
- "version": "1.0.119",
3
+ "version": "1.0.121",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",