@admc-go-th/admc-library 1.0.129 → 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-HW5J6Gb9.d.ts +162 -0
- package/{authAssignment-BAUCoEP6.d.ts → authAssignment-De3034JH.d.ts} +16 -0
- package/databases/schema/appQueue.ts +93 -3
- package/databases/schema/appReportCorruption.ts +1 -1
- package/databases/schema/appScore.ts +8 -0
- package/databases/schema/files.ts +7 -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/mdBanner.ts +8 -0
- package/databases/schema/mdDownloadBk.ts +136 -136
- package/databases/schema/mdEbookGroup.ts +8 -0
- package/databases/schema/msConsultCase.ts +0 -8
- package/databases/schema/msConsultChannels.ts +14 -1
- 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/msWebsite.ts +7 -1
- 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 +2 -62
- package/databases/tables/appQueue.js +380 -54
- package/databases/tables/appReportCorruption.js +1 -1
- package/databases/tables/appReportCorruptionTransaction.js +1 -1
- 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/files.d.ts +1 -1
- package/databases/tables/files.js +13 -0
- package/databases/tables/index.d.ts +15 -11
- package/databases/tables/index.js +4440 -3810
- package/databases/tables/mdBanner.d.ts +1 -1
- package/databases/tables/mdBanner.js +13 -0
- 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/mdEbook.d.ts +1 -1
- package/databases/tables/mdEbook.js +7 -0
- package/databases/tables/mdEbookGroup.d.ts +1 -1
- package/databases/tables/mdEbookGroup.js +7 -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 +2 -24
- package/databases/tables/msConsultChannels.js +469 -13
- 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 +2 -56
- package/databases/tables/msWebsite.js +400 -46
- 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/{files-Dp2zDQAj.d.ts → files-CXIMD4Bk.d.ts} +4 -0
- package/{mdEbook-yzNQjFhx.d.ts → mdEbook-DVvRlFVe.d.ts} +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,155 @@
|
|
|
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/msOrganization.ts
|
|
29
|
+
var msOrganization_exports = {};
|
|
30
|
+
__export(msOrganization_exports, {
|
|
31
|
+
msOrganization: () => msOrganization
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(msOrganization_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var msOrganization = 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
|
+
], msOrganization.prototype, "id", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
(0, import_sequelize_typescript.Column)({
|
|
46
|
+
field: "parent_id",
|
|
47
|
+
allowNull: true,
|
|
48
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
49
|
+
})
|
|
50
|
+
], msOrganization.prototype, "parentId", 2);
|
|
51
|
+
__decorateClass([
|
|
52
|
+
(0, import_sequelize_typescript.Column)({
|
|
53
|
+
field: "organization_id",
|
|
54
|
+
allowNull: true,
|
|
55
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
56
|
+
})
|
|
57
|
+
], msOrganization.prototype, "organizationId", 2);
|
|
58
|
+
__decorateClass([
|
|
59
|
+
(0, import_sequelize_typescript.Column)({
|
|
60
|
+
field: "organization_code",
|
|
61
|
+
allowNull: true,
|
|
62
|
+
type: import_sequelize_typescript.DataType.STRING(10)
|
|
63
|
+
})
|
|
64
|
+
], msOrganization.prototype, "organizationCode", 2);
|
|
65
|
+
__decorateClass([
|
|
66
|
+
(0, import_sequelize_typescript.Column)({
|
|
67
|
+
allowNull: true,
|
|
68
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
69
|
+
})
|
|
70
|
+
], msOrganization.prototype, "name", 2);
|
|
71
|
+
__decorateClass([
|
|
72
|
+
(0, import_sequelize_typescript.Column)({
|
|
73
|
+
field: "name_short",
|
|
74
|
+
allowNull: true,
|
|
75
|
+
type: import_sequelize_typescript.DataType.STRING(30)
|
|
76
|
+
})
|
|
77
|
+
], msOrganization.prototype, "nameShort", 2);
|
|
78
|
+
__decorateClass([
|
|
79
|
+
(0, import_sequelize_typescript.Column)({
|
|
80
|
+
allowNull: true,
|
|
81
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
82
|
+
})
|
|
83
|
+
], msOrganization.prototype, "description", 2);
|
|
84
|
+
__decorateClass([
|
|
85
|
+
(0, import_sequelize_typescript.Column)({
|
|
86
|
+
field: "ol_code",
|
|
87
|
+
allowNull: true,
|
|
88
|
+
type: import_sequelize_typescript.DataType.STRING(10)
|
|
89
|
+
})
|
|
90
|
+
], msOrganization.prototype, "olCode", 2);
|
|
91
|
+
__decorateClass([
|
|
92
|
+
(0, import_sequelize_typescript.Column)({
|
|
93
|
+
field: "ot_code",
|
|
94
|
+
allowNull: true,
|
|
95
|
+
type: import_sequelize_typescript.DataType.STRING(10)
|
|
96
|
+
})
|
|
97
|
+
], msOrganization.prototype, "otCode", 2);
|
|
98
|
+
__decorateClass([
|
|
99
|
+
(0, import_sequelize_typescript.Column)({
|
|
100
|
+
field: "ot_name",
|
|
101
|
+
allowNull: true,
|
|
102
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
103
|
+
})
|
|
104
|
+
], msOrganization.prototype, "otName", 2);
|
|
105
|
+
__decorateClass([
|
|
106
|
+
(0, import_sequelize_typescript.Column)({
|
|
107
|
+
allowNull: true,
|
|
108
|
+
type: import_sequelize_typescript.DataType.INTEGER,
|
|
109
|
+
defaultValue: "1"
|
|
110
|
+
})
|
|
111
|
+
], msOrganization.prototype, "status", 2);
|
|
112
|
+
__decorateClass([
|
|
113
|
+
(0, import_sequelize_typescript.Column)({
|
|
114
|
+
allowNull: true,
|
|
115
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
116
|
+
})
|
|
117
|
+
], msOrganization.prototype, "sort", 2);
|
|
118
|
+
__decorateClass([
|
|
119
|
+
(0, import_sequelize_typescript.Column)({
|
|
120
|
+
field: "created_by",
|
|
121
|
+
allowNull: true,
|
|
122
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
123
|
+
})
|
|
124
|
+
], msOrganization.prototype, "createdBy", 2);
|
|
125
|
+
__decorateClass([
|
|
126
|
+
(0, import_sequelize_typescript.Column)({
|
|
127
|
+
field: "created_date",
|
|
128
|
+
allowNull: true,
|
|
129
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
130
|
+
})
|
|
131
|
+
], msOrganization.prototype, "createdDate", 2);
|
|
132
|
+
__decorateClass([
|
|
133
|
+
(0, import_sequelize_typescript.Column)({
|
|
134
|
+
field: "updated_by",
|
|
135
|
+
allowNull: true,
|
|
136
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
137
|
+
})
|
|
138
|
+
], msOrganization.prototype, "updatedBy", 2);
|
|
139
|
+
__decorateClass([
|
|
140
|
+
(0, import_sequelize_typescript.Column)({
|
|
141
|
+
field: "updated_date",
|
|
142
|
+
allowNull: true,
|
|
143
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
144
|
+
})
|
|
145
|
+
], msOrganization.prototype, "updatedDate", 2);
|
|
146
|
+
msOrganization = __decorateClass([
|
|
147
|
+
(0, import_sequelize_typescript.Table)({
|
|
148
|
+
tableName: "ms_organization",
|
|
149
|
+
timestamps: false
|
|
150
|
+
})
|
|
151
|
+
], msOrganization);
|
|
152
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
153
|
+
0 && (module.exports = {
|
|
154
|
+
msOrganization
|
|
155
|
+
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface msPositionAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
name?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
status?: number;
|
|
8
|
+
createdBy?: string;
|
|
9
|
+
createdDate?: Date;
|
|
10
|
+
updatedBy?: string;
|
|
11
|
+
updatedDate?: Date;
|
|
12
|
+
}
|
|
13
|
+
declare class msPosition extends Model<msPositionAttributes, msPositionAttributes> implements msPositionAttributes {
|
|
14
|
+
id?: number;
|
|
15
|
+
name?: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
status?: number;
|
|
18
|
+
createdBy?: string;
|
|
19
|
+
createdDate?: Date;
|
|
20
|
+
updatedBy?: string;
|
|
21
|
+
updatedDate?: Date;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export { msPosition, type msPositionAttributes };
|
|
@@ -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,56 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
interface msWebsiteAttributes {
|
|
4
|
-
id?: number;
|
|
5
|
-
code?: string;
|
|
6
|
-
uuid?: string;
|
|
7
|
-
name?: string;
|
|
8
|
-
description?: string;
|
|
9
|
-
url?: string;
|
|
10
|
-
layout?: number;
|
|
11
|
-
type?: number;
|
|
12
|
-
status?: number;
|
|
13
|
-
region?: string;
|
|
14
|
-
sort?: number;
|
|
15
|
-
image?: string;
|
|
16
|
-
address?: string;
|
|
17
|
-
phone?: string;
|
|
18
|
-
fax?: string;
|
|
19
|
-
office?: string;
|
|
20
|
-
opened?: string;
|
|
21
|
-
latitude?: string;
|
|
22
|
-
longitude?: string;
|
|
23
|
-
info?: object;
|
|
24
|
-
createdBy?: string;
|
|
25
|
-
createdDate?: Date;
|
|
26
|
-
updatedBy?: string;
|
|
27
|
-
updatedDate?: Date;
|
|
28
|
-
}
|
|
29
|
-
declare class msWebsite extends Model<msWebsiteAttributes, msWebsiteAttributes> implements msWebsiteAttributes {
|
|
30
|
-
id?: number;
|
|
31
|
-
code?: string;
|
|
32
|
-
uuid?: string;
|
|
33
|
-
name?: string;
|
|
34
|
-
description?: string;
|
|
35
|
-
url?: string;
|
|
36
|
-
layout?: number;
|
|
37
|
-
type?: number;
|
|
38
|
-
status?: number;
|
|
39
|
-
region?: string;
|
|
40
|
-
sort?: number;
|
|
41
|
-
image?: string;
|
|
42
|
-
address?: string;
|
|
43
|
-
phone?: string;
|
|
44
|
-
fax?: string;
|
|
45
|
-
office?: string;
|
|
46
|
-
opened?: string;
|
|
47
|
-
latitude?: string;
|
|
48
|
-
longitude?: string;
|
|
49
|
-
info?: object;
|
|
50
|
-
createdBy?: string;
|
|
51
|
-
createdDate?: Date;
|
|
52
|
-
updatedBy?: string;
|
|
53
|
-
updatedDate?: Date;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export { msWebsite, type msWebsiteAttributes };
|
|
1
|
+
import 'sequelize-typescript';
|
|
2
|
+
export { e as msWebsite, d as msWebsiteAttributes } from '../../appQueue-HW5J6Gb9.js';
|