@admc-go-th/admc-library 1.0.130 → 1.0.132
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.
- package/{appQueue-QJ9ECucz.d.ts → appQueue-HW5J6Gb9.d.ts} +6 -2
- package/{authAssignment-BAUCoEP6.d.ts → authAssignment-De3034JH.d.ts} +16 -0
- package/databases/schema/appQueue.ts +24 -8
- package/databases/schema/appScore.ts +8 -0
- package/databases/schema/formFaq.ts +126 -126
- package/databases/schema/index.ts +10 -5
- package/databases/schema/informationIndex.ts +211 -211
- package/databases/schema/informationIndexGroup.ts +103 -103
- package/databases/schema/mdDownloadBk.ts +136 -136
- package/databases/schema/msConsultCase.ts +0 -8
- package/databases/schema/msConsultSiteCase.ts +91 -0
- package/databases/schema/msConsultSiteIssue.ts +84 -0
- package/databases/schema/msExecutiveActing.ts +75 -0
- package/databases/schema/msExecutiveBoard.ts +82 -82
- package/databases/schema/msExecutiveBoardBk.ts +83 -0
- package/databases/schema/msExecutivePosition.ts +117 -117
- package/databases/schema/msExecutivePositionBk.ts +112 -0
- package/databases/schema/msGuidelines.ts +88 -88
- package/databases/schema/msOrganization.ts +139 -0
- package/databases/schema/msPosition.ts +76 -0
- package/databases/schema/msQueueTourFaq.ts +90 -0
- package/databases/schema/msQueueTourGuidelines.ts +90 -0
- package/databases/schema/setting.ts +73 -73
- package/databases/schema/userPermissionV.ts +78 -0
- package/databases/schema/users.ts +62 -0
- package/databases/tables/appQueue.d.ts +1 -1
- package/databases/tables/appQueue.js +21 -7
- package/databases/tables/appScore.d.ts +2 -0
- package/databases/tables/appScore.js +7 -0
- package/databases/tables/authAssignment.d.ts +1 -1
- package/databases/tables/authAssignment.js +54 -0
- package/databases/tables/authRole.d.ts +1 -1
- package/databases/tables/authRole.js +54 -0
- package/databases/tables/authRoleChild.d.ts +1 -1
- package/databases/tables/authRoleChild.js +54 -0
- package/databases/tables/index.d.ts +13 -7
- package/databases/tables/index.js +1236 -708
- package/databases/tables/mdContent.d.ts +1 -1
- package/databases/tables/mdContent.js +54 -0
- package/databases/tables/mdContentGroup.d.ts +1 -1
- package/databases/tables/mdContentGroup.js +54 -0
- package/databases/tables/mdQuestionnaire.d.ts +1 -1
- package/databases/tables/mdQuestionnaire.js +54 -0
- package/databases/tables/mdQuestionnaireData.d.ts +1 -1
- package/databases/tables/mdQuestionnaireData.js +54 -0
- package/databases/tables/msConsultCase.d.ts +0 -2
- package/databases/tables/msConsultCase.js +0 -7
- package/databases/tables/msConsultChannels.d.ts +1 -1
- package/databases/tables/msConsultChannels.js +21 -7
- package/databases/tables/msConsultSiteCase.d.ts +28 -0
- package/databases/tables/msConsultSiteCase.js +113 -0
- package/databases/tables/msConsultSiteIssue.d.ts +26 -0
- package/databases/tables/msConsultSiteIssue.js +107 -0
- package/databases/tables/msExecutiveActing.d.ts +24 -0
- package/databases/tables/msExecutiveActing.js +99 -0
- package/databases/tables/msExecutiveBoardBk.d.ts +26 -0
- package/databases/tables/msExecutiveBoardBk.js +106 -0
- package/databases/tables/msExecutivePositionBk.d.ts +34 -0
- package/databases/tables/msExecutivePositionBk.js +131 -0
- package/databases/tables/msOrganization.d.ts +40 -0
- package/databases/tables/msOrganization.js +155 -0
- package/databases/tables/msPosition.d.ts +24 -0
- package/databases/tables/msPosition.js +100 -0
- package/databases/tables/msQueueTourFaq.d.ts +28 -0
- package/databases/tables/msQueueTourFaq.js +112 -0
- package/databases/tables/msQueueTourGuidelines.d.ts +28 -0
- package/databases/tables/msQueueTourGuidelines.js +112 -0
- package/databases/tables/msWebsite.d.ts +1 -1
- package/databases/tables/msWebsite.js +21 -7
- package/databases/tables/userPermissionV.d.ts +26 -0
- package/databases/tables/userPermissionV.js +101 -0
- package/databases/tables/users.d.ts +1 -1
- package/databases/tables/users.js +54 -0
- package/databases/tables/usersVerify.d.ts +1 -1
- package/databases/tables/usersVerify.js +54 -0
- package/package.json +1 -1
|
@@ -0,0 +1,100 @@
|
|
|
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/msPosition.ts
|
|
29
|
+
var msPosition_exports = {};
|
|
30
|
+
__export(msPosition_exports, {
|
|
31
|
+
msPosition: () => msPosition
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(msPosition_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var msPosition = 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
|
+
], msPosition.prototype, "id", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
(0, import_sequelize_typescript.Column)({
|
|
46
|
+
allowNull: true,
|
|
47
|
+
type: import_sequelize_typescript.DataType.STRING(100)
|
|
48
|
+
})
|
|
49
|
+
], msPosition.prototype, "name", 2);
|
|
50
|
+
__decorateClass([
|
|
51
|
+
(0, import_sequelize_typescript.Column)({
|
|
52
|
+
allowNull: true,
|
|
53
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
54
|
+
})
|
|
55
|
+
], msPosition.prototype, "description", 2);
|
|
56
|
+
__decorateClass([
|
|
57
|
+
(0, import_sequelize_typescript.Column)({
|
|
58
|
+
allowNull: true,
|
|
59
|
+
type: import_sequelize_typescript.DataType.INTEGER,
|
|
60
|
+
defaultValue: "1"
|
|
61
|
+
})
|
|
62
|
+
], msPosition.prototype, "status", 2);
|
|
63
|
+
__decorateClass([
|
|
64
|
+
(0, import_sequelize_typescript.Column)({
|
|
65
|
+
field: "created_by",
|
|
66
|
+
allowNull: true,
|
|
67
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
68
|
+
})
|
|
69
|
+
], msPosition.prototype, "createdBy", 2);
|
|
70
|
+
__decorateClass([
|
|
71
|
+
(0, import_sequelize_typescript.Column)({
|
|
72
|
+
field: "created_date",
|
|
73
|
+
allowNull: true,
|
|
74
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
75
|
+
})
|
|
76
|
+
], msPosition.prototype, "createdDate", 2);
|
|
77
|
+
__decorateClass([
|
|
78
|
+
(0, import_sequelize_typescript.Column)({
|
|
79
|
+
field: "updated_by",
|
|
80
|
+
allowNull: true,
|
|
81
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
82
|
+
})
|
|
83
|
+
], msPosition.prototype, "updatedBy", 2);
|
|
84
|
+
__decorateClass([
|
|
85
|
+
(0, import_sequelize_typescript.Column)({
|
|
86
|
+
field: "updated_date",
|
|
87
|
+
allowNull: true,
|
|
88
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
89
|
+
})
|
|
90
|
+
], msPosition.prototype, "updatedDate", 2);
|
|
91
|
+
msPosition = __decorateClass([
|
|
92
|
+
(0, import_sequelize_typescript.Table)({
|
|
93
|
+
tableName: "ms_position",
|
|
94
|
+
timestamps: false
|
|
95
|
+
})
|
|
96
|
+
], msPosition);
|
|
97
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
98
|
+
0 && (module.exports = {
|
|
99
|
+
msPosition
|
|
100
|
+
});
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface msQueueTourFaqAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
siteId?: number;
|
|
6
|
+
title?: string;
|
|
7
|
+
detail?: string;
|
|
8
|
+
sort?: number;
|
|
9
|
+
status?: number;
|
|
10
|
+
createdBy?: string;
|
|
11
|
+
createdDate?: Date;
|
|
12
|
+
updatedBy?: string;
|
|
13
|
+
updatedDate?: Date;
|
|
14
|
+
}
|
|
15
|
+
declare class msQueueTourFaq extends Model<msQueueTourFaqAttributes, msQueueTourFaqAttributes> implements msQueueTourFaqAttributes {
|
|
16
|
+
id?: number;
|
|
17
|
+
siteId?: number;
|
|
18
|
+
title?: string;
|
|
19
|
+
detail?: string;
|
|
20
|
+
sort?: number;
|
|
21
|
+
status?: number;
|
|
22
|
+
createdBy?: string;
|
|
23
|
+
createdDate?: Date;
|
|
24
|
+
updatedBy?: string;
|
|
25
|
+
updatedDate?: Date;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { msQueueTourFaq, type msQueueTourFaqAttributes };
|
|
@@ -0,0 +1,112 @@
|
|
|
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/msQueueTourFaq.ts
|
|
29
|
+
var msQueueTourFaq_exports = {};
|
|
30
|
+
__export(msQueueTourFaq_exports, {
|
|
31
|
+
msQueueTourFaq: () => msQueueTourFaq
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(msQueueTourFaq_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var msQueueTourFaq = 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
|
+
], msQueueTourFaq.prototype, "id", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
(0, import_sequelize_typescript.Column)({
|
|
46
|
+
field: "site_id",
|
|
47
|
+
allowNull: true,
|
|
48
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
49
|
+
})
|
|
50
|
+
], msQueueTourFaq.prototype, "siteId", 2);
|
|
51
|
+
__decorateClass([
|
|
52
|
+
(0, import_sequelize_typescript.Column)({
|
|
53
|
+
allowNull: true,
|
|
54
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
55
|
+
})
|
|
56
|
+
], msQueueTourFaq.prototype, "title", 2);
|
|
57
|
+
__decorateClass([
|
|
58
|
+
(0, import_sequelize_typescript.Column)({
|
|
59
|
+
allowNull: true,
|
|
60
|
+
type: import_sequelize_typescript.DataType.STRING
|
|
61
|
+
})
|
|
62
|
+
], msQueueTourFaq.prototype, "detail", 2);
|
|
63
|
+
__decorateClass([
|
|
64
|
+
(0, import_sequelize_typescript.Column)({
|
|
65
|
+
allowNull: true,
|
|
66
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
67
|
+
})
|
|
68
|
+
], msQueueTourFaq.prototype, "sort", 2);
|
|
69
|
+
__decorateClass([
|
|
70
|
+
(0, import_sequelize_typescript.Column)({
|
|
71
|
+
allowNull: true,
|
|
72
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
73
|
+
})
|
|
74
|
+
], msQueueTourFaq.prototype, "status", 2);
|
|
75
|
+
__decorateClass([
|
|
76
|
+
(0, import_sequelize_typescript.Column)({
|
|
77
|
+
field: "created_by",
|
|
78
|
+
allowNull: true,
|
|
79
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
80
|
+
})
|
|
81
|
+
], msQueueTourFaq.prototype, "createdBy", 2);
|
|
82
|
+
__decorateClass([
|
|
83
|
+
(0, import_sequelize_typescript.Column)({
|
|
84
|
+
field: "created_date",
|
|
85
|
+
allowNull: true,
|
|
86
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
87
|
+
})
|
|
88
|
+
], msQueueTourFaq.prototype, "createdDate", 2);
|
|
89
|
+
__decorateClass([
|
|
90
|
+
(0, import_sequelize_typescript.Column)({
|
|
91
|
+
field: "updated_by",
|
|
92
|
+
allowNull: true,
|
|
93
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
94
|
+
})
|
|
95
|
+
], msQueueTourFaq.prototype, "updatedBy", 2);
|
|
96
|
+
__decorateClass([
|
|
97
|
+
(0, import_sequelize_typescript.Column)({
|
|
98
|
+
field: "updated_date",
|
|
99
|
+
allowNull: true,
|
|
100
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
101
|
+
})
|
|
102
|
+
], msQueueTourFaq.prototype, "updatedDate", 2);
|
|
103
|
+
msQueueTourFaq = __decorateClass([
|
|
104
|
+
(0, import_sequelize_typescript.Table)({
|
|
105
|
+
tableName: "ms_queue_tour_faq",
|
|
106
|
+
timestamps: false
|
|
107
|
+
})
|
|
108
|
+
], msQueueTourFaq);
|
|
109
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
110
|
+
0 && (module.exports = {
|
|
111
|
+
msQueueTourFaq
|
|
112
|
+
});
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface msQueueTourGuidelinesAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
siteId?: number;
|
|
6
|
+
title?: string;
|
|
7
|
+
detail?: string;
|
|
8
|
+
sort?: number;
|
|
9
|
+
status?: number;
|
|
10
|
+
createdBy?: string;
|
|
11
|
+
createdDate?: Date;
|
|
12
|
+
updatedBy?: string;
|
|
13
|
+
updatedDate?: Date;
|
|
14
|
+
}
|
|
15
|
+
declare class msQueueTourGuidelines extends Model<msQueueTourGuidelinesAttributes, msQueueTourGuidelinesAttributes> implements msQueueTourGuidelinesAttributes {
|
|
16
|
+
id?: number;
|
|
17
|
+
siteId?: number;
|
|
18
|
+
title?: string;
|
|
19
|
+
detail?: string;
|
|
20
|
+
sort?: number;
|
|
21
|
+
status?: number;
|
|
22
|
+
createdBy?: string;
|
|
23
|
+
createdDate?: Date;
|
|
24
|
+
updatedBy?: string;
|
|
25
|
+
updatedDate?: Date;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { msQueueTourGuidelines, type msQueueTourGuidelinesAttributes };
|
|
@@ -0,0 +1,112 @@
|
|
|
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/msQueueTourGuidelines.ts
|
|
29
|
+
var msQueueTourGuidelines_exports = {};
|
|
30
|
+
__export(msQueueTourGuidelines_exports, {
|
|
31
|
+
msQueueTourGuidelines: () => msQueueTourGuidelines
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(msQueueTourGuidelines_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var msQueueTourGuidelines = 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
|
+
], msQueueTourGuidelines.prototype, "id", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
(0, import_sequelize_typescript.Column)({
|
|
46
|
+
field: "site_id",
|
|
47
|
+
allowNull: true,
|
|
48
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
49
|
+
})
|
|
50
|
+
], msQueueTourGuidelines.prototype, "siteId", 2);
|
|
51
|
+
__decorateClass([
|
|
52
|
+
(0, import_sequelize_typescript.Column)({
|
|
53
|
+
allowNull: true,
|
|
54
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
55
|
+
})
|
|
56
|
+
], msQueueTourGuidelines.prototype, "title", 2);
|
|
57
|
+
__decorateClass([
|
|
58
|
+
(0, import_sequelize_typescript.Column)({
|
|
59
|
+
allowNull: true,
|
|
60
|
+
type: import_sequelize_typescript.DataType.STRING
|
|
61
|
+
})
|
|
62
|
+
], msQueueTourGuidelines.prototype, "detail", 2);
|
|
63
|
+
__decorateClass([
|
|
64
|
+
(0, import_sequelize_typescript.Column)({
|
|
65
|
+
allowNull: true,
|
|
66
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
67
|
+
})
|
|
68
|
+
], msQueueTourGuidelines.prototype, "sort", 2);
|
|
69
|
+
__decorateClass([
|
|
70
|
+
(0, import_sequelize_typescript.Column)({
|
|
71
|
+
allowNull: true,
|
|
72
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
73
|
+
})
|
|
74
|
+
], msQueueTourGuidelines.prototype, "status", 2);
|
|
75
|
+
__decorateClass([
|
|
76
|
+
(0, import_sequelize_typescript.Column)({
|
|
77
|
+
field: "created_by",
|
|
78
|
+
allowNull: true,
|
|
79
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
80
|
+
})
|
|
81
|
+
], msQueueTourGuidelines.prototype, "createdBy", 2);
|
|
82
|
+
__decorateClass([
|
|
83
|
+
(0, import_sequelize_typescript.Column)({
|
|
84
|
+
field: "created_date",
|
|
85
|
+
allowNull: true,
|
|
86
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
87
|
+
})
|
|
88
|
+
], msQueueTourGuidelines.prototype, "createdDate", 2);
|
|
89
|
+
__decorateClass([
|
|
90
|
+
(0, import_sequelize_typescript.Column)({
|
|
91
|
+
field: "updated_by",
|
|
92
|
+
allowNull: true,
|
|
93
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
94
|
+
})
|
|
95
|
+
], msQueueTourGuidelines.prototype, "updatedBy", 2);
|
|
96
|
+
__decorateClass([
|
|
97
|
+
(0, import_sequelize_typescript.Column)({
|
|
98
|
+
field: "updated_date",
|
|
99
|
+
allowNull: true,
|
|
100
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
101
|
+
})
|
|
102
|
+
], msQueueTourGuidelines.prototype, "updatedDate", 2);
|
|
103
|
+
msQueueTourGuidelines = __decorateClass([
|
|
104
|
+
(0, import_sequelize_typescript.Table)({
|
|
105
|
+
tableName: "ms_queue_tour_guidelines",
|
|
106
|
+
timestamps: false
|
|
107
|
+
})
|
|
108
|
+
], msQueueTourGuidelines);
|
|
109
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
110
|
+
0 && (module.exports = {
|
|
111
|
+
msQueueTourGuidelines
|
|
112
|
+
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { e as msWebsite, d as msWebsiteAttributes } from '../../appQueue-
|
|
2
|
+
export { e as msWebsite, d as msWebsiteAttributes } from '../../appQueue-HW5J6Gb9.js';
|
|
@@ -270,13 +270,6 @@ __decorateClass([
|
|
|
270
270
|
type: import_sequelize_typescript2.DataType.STRING(30)
|
|
271
271
|
})
|
|
272
272
|
], appQueue.prototype, "ipAddress", 2);
|
|
273
|
-
__decorateClass([
|
|
274
|
-
(0, import_sequelize_typescript2.Column)({
|
|
275
|
-
field: "staff_id",
|
|
276
|
-
allowNull: true,
|
|
277
|
-
type: import_sequelize_typescript2.DataType.INTEGER
|
|
278
|
-
})
|
|
279
|
-
], appQueue.prototype, "staffId", 2);
|
|
280
273
|
__decorateClass([
|
|
281
274
|
(0, import_sequelize_typescript2.Column)({
|
|
282
275
|
allowNull: true,
|
|
@@ -311,6 +304,27 @@ __decorateClass([
|
|
|
311
304
|
type: import_sequelize_typescript2.DataType.INTEGER
|
|
312
305
|
})
|
|
313
306
|
], appQueue.prototype, "caseJurisdiction", 2);
|
|
307
|
+
__decorateClass([
|
|
308
|
+
(0, import_sequelize_typescript2.Column)({
|
|
309
|
+
field: "staff_id",
|
|
310
|
+
allowNull: true,
|
|
311
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
312
|
+
})
|
|
313
|
+
], appQueue.prototype, "staffId", 2);
|
|
314
|
+
__decorateClass([
|
|
315
|
+
(0, import_sequelize_typescript2.Column)({
|
|
316
|
+
field: "staff_channel_id",
|
|
317
|
+
allowNull: true,
|
|
318
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
319
|
+
})
|
|
320
|
+
], appQueue.prototype, "staffChannelId", 2);
|
|
321
|
+
__decorateClass([
|
|
322
|
+
(0, import_sequelize_typescript2.Column)({
|
|
323
|
+
field: "staff_channel",
|
|
324
|
+
allowNull: true,
|
|
325
|
+
type: import_sequelize_typescript2.DataType.JSON
|
|
326
|
+
})
|
|
327
|
+
], appQueue.prototype, "staffChannel", 2);
|
|
314
328
|
__decorateClass([
|
|
315
329
|
(0, import_sequelize_typescript2.Column)({
|
|
316
330
|
field: "staff_issues",
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface userPermissionVAttributes {
|
|
4
|
+
userId?: number;
|
|
5
|
+
uuid: string;
|
|
6
|
+
username: string;
|
|
7
|
+
roleId?: number;
|
|
8
|
+
th?: string;
|
|
9
|
+
en?: string;
|
|
10
|
+
fr?: string;
|
|
11
|
+
sites?: string;
|
|
12
|
+
management?: string;
|
|
13
|
+
}
|
|
14
|
+
declare class userPermissionV extends Model<userPermissionVAttributes, userPermissionVAttributes> implements userPermissionVAttributes {
|
|
15
|
+
userId?: number;
|
|
16
|
+
uuid: string;
|
|
17
|
+
username: string;
|
|
18
|
+
roleId?: number;
|
|
19
|
+
th?: string;
|
|
20
|
+
en?: string;
|
|
21
|
+
fr?: string;
|
|
22
|
+
sites?: string;
|
|
23
|
+
management?: string;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { userPermissionV, type userPermissionVAttributes };
|
|
@@ -0,0 +1,101 @@
|
|
|
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/userPermissionV.ts
|
|
29
|
+
var userPermissionV_exports = {};
|
|
30
|
+
__export(userPermissionV_exports, {
|
|
31
|
+
userPermissionV: () => userPermissionV
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(userPermissionV_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var userPermissionV = class extends import_sequelize_typescript.Model {
|
|
36
|
+
};
|
|
37
|
+
__decorateClass([
|
|
38
|
+
(0, import_sequelize_typescript.Column)({
|
|
39
|
+
field: "user_id",
|
|
40
|
+
type: import_sequelize_typescript.DataType.INTEGER,
|
|
41
|
+
defaultValue: "0"
|
|
42
|
+
})
|
|
43
|
+
], userPermissionV.prototype, "userId", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
(0, import_sequelize_typescript.Column)({
|
|
46
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
47
|
+
})
|
|
48
|
+
], userPermissionV.prototype, "uuid", 2);
|
|
49
|
+
__decorateClass([
|
|
50
|
+
(0, import_sequelize_typescript.Column)({
|
|
51
|
+
type: import_sequelize_typescript.DataType.STRING(100)
|
|
52
|
+
})
|
|
53
|
+
], userPermissionV.prototype, "username", 2);
|
|
54
|
+
__decorateClass([
|
|
55
|
+
(0, import_sequelize_typescript.Column)({
|
|
56
|
+
field: "role_id",
|
|
57
|
+
allowNull: true,
|
|
58
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
59
|
+
})
|
|
60
|
+
], userPermissionV.prototype, "roleId", 2);
|
|
61
|
+
__decorateClass([
|
|
62
|
+
(0, import_sequelize_typescript.Column)({
|
|
63
|
+
allowNull: true,
|
|
64
|
+
type: import_sequelize_typescript.DataType.STRING(2)
|
|
65
|
+
})
|
|
66
|
+
], userPermissionV.prototype, "th", 2);
|
|
67
|
+
__decorateClass([
|
|
68
|
+
(0, import_sequelize_typescript.Column)({
|
|
69
|
+
allowNull: true,
|
|
70
|
+
type: import_sequelize_typescript.DataType.STRING(2)
|
|
71
|
+
})
|
|
72
|
+
], userPermissionV.prototype, "en", 2);
|
|
73
|
+
__decorateClass([
|
|
74
|
+
(0, import_sequelize_typescript.Column)({
|
|
75
|
+
allowNull: true,
|
|
76
|
+
type: import_sequelize_typescript.DataType.STRING(2)
|
|
77
|
+
})
|
|
78
|
+
], userPermissionV.prototype, "fr", 2);
|
|
79
|
+
__decorateClass([
|
|
80
|
+
(0, import_sequelize_typescript.Column)({
|
|
81
|
+
allowNull: true,
|
|
82
|
+
type: import_sequelize_typescript.DataType.STRING
|
|
83
|
+
})
|
|
84
|
+
], userPermissionV.prototype, "sites", 2);
|
|
85
|
+
__decorateClass([
|
|
86
|
+
(0, import_sequelize_typescript.Column)({
|
|
87
|
+
allowNull: true,
|
|
88
|
+
type: import_sequelize_typescript.DataType.STRING(10)
|
|
89
|
+
})
|
|
90
|
+
], userPermissionV.prototype, "management", 2);
|
|
91
|
+
userPermissionV = __decorateClass([
|
|
92
|
+
(0, import_sequelize_typescript.Table)({
|
|
93
|
+
tableName: "user_permission_v",
|
|
94
|
+
timestamps: false,
|
|
95
|
+
comment: "VIEW"
|
|
96
|
+
})
|
|
97
|
+
], userPermissionV);
|
|
98
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
99
|
+
0 && (module.exports = {
|
|
100
|
+
userPermissionV
|
|
101
|
+
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { o as users, u as usersAttributes } from '../../authAssignment-
|
|
2
|
+
export { o as users, u as usersAttributes } from '../../authAssignment-De3034JH.js';
|
|
@@ -886,6 +886,13 @@ __decorateClass([
|
|
|
886
886
|
type: import_sequelize_typescript9.DataType.STRING(10)
|
|
887
887
|
})
|
|
888
888
|
], users.prototype, "prefix", 2);
|
|
889
|
+
__decorateClass([
|
|
890
|
+
(0, import_sequelize_typescript9.Column)({
|
|
891
|
+
field: "prefix_id",
|
|
892
|
+
allowNull: true,
|
|
893
|
+
type: import_sequelize_typescript9.DataType.INTEGER
|
|
894
|
+
})
|
|
895
|
+
], users.prototype, "prefixId", 2);
|
|
889
896
|
__decorateClass([
|
|
890
897
|
(0, import_sequelize_typescript9.Column)({
|
|
891
898
|
field: "first_name",
|
|
@@ -900,12 +907,59 @@ __decorateClass([
|
|
|
900
907
|
type: import_sequelize_typescript9.DataType.STRING(100)
|
|
901
908
|
})
|
|
902
909
|
], users.prototype, "lastName", 2);
|
|
910
|
+
__decorateClass([
|
|
911
|
+
(0, import_sequelize_typescript9.Column)({
|
|
912
|
+
field: "first_name_en",
|
|
913
|
+
allowNull: true,
|
|
914
|
+
type: import_sequelize_typescript9.DataType.STRING(100)
|
|
915
|
+
})
|
|
916
|
+
], users.prototype, "firstNameEn", 2);
|
|
917
|
+
__decorateClass([
|
|
918
|
+
(0, import_sequelize_typescript9.Column)({
|
|
919
|
+
field: "last_name_en",
|
|
920
|
+
allowNull: true,
|
|
921
|
+
type: import_sequelize_typescript9.DataType.STRING(100)
|
|
922
|
+
})
|
|
923
|
+
], users.prototype, "lastNameEn", 2);
|
|
903
924
|
__decorateClass([
|
|
904
925
|
(0, import_sequelize_typescript9.Column)({
|
|
905
926
|
allowNull: true,
|
|
906
927
|
type: import_sequelize_typescript9.DataType.STRING(20)
|
|
907
928
|
})
|
|
908
929
|
], users.prototype, "phone", 2);
|
|
930
|
+
__decorateClass([
|
|
931
|
+
(0, import_sequelize_typescript9.Column)({
|
|
932
|
+
field: "organization_id",
|
|
933
|
+
allowNull: true,
|
|
934
|
+
type: import_sequelize_typescript9.DataType.INTEGER
|
|
935
|
+
})
|
|
936
|
+
], users.prototype, "organizationId", 2);
|
|
937
|
+
__decorateClass([
|
|
938
|
+
(0, import_sequelize_typescript9.Column)({
|
|
939
|
+
allowNull: true,
|
|
940
|
+
type: import_sequelize_typescript9.DataType.STRING(255)
|
|
941
|
+
})
|
|
942
|
+
], users.prototype, "occupation", 2);
|
|
943
|
+
__decorateClass([
|
|
944
|
+
(0, import_sequelize_typescript9.Column)({
|
|
945
|
+
allowNull: true,
|
|
946
|
+
type: import_sequelize_typescript9.DataType.STRING(255)
|
|
947
|
+
})
|
|
948
|
+
], users.prototype, "position", 2);
|
|
949
|
+
__decorateClass([
|
|
950
|
+
(0, import_sequelize_typescript9.Column)({
|
|
951
|
+
field: "position_id",
|
|
952
|
+
allowNull: true,
|
|
953
|
+
type: import_sequelize_typescript9.DataType.INTEGER
|
|
954
|
+
})
|
|
955
|
+
], users.prototype, "positionId", 2);
|
|
956
|
+
__decorateClass([
|
|
957
|
+
(0, import_sequelize_typescript9.Column)({
|
|
958
|
+
field: "gender_code",
|
|
959
|
+
allowNull: true,
|
|
960
|
+
type: import_sequelize_typescript9.DataType.STRING(1)
|
|
961
|
+
})
|
|
962
|
+
], users.prototype, "genderCode", 2);
|
|
909
963
|
__decorateClass([
|
|
910
964
|
(0, import_sequelize_typescript9.Column)({
|
|
911
965
|
allowNull: true,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { q as usersVerify, p as usersVerifyAttributes } from '../../authAssignment-
|
|
2
|
+
export { q as usersVerify, p as usersVerifyAttributes } from '../../authAssignment-De3034JH.js';
|