@admc-go-th/admc-library 1.0.26 → 1.0.28
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/{authAssignment-C26INzWS.d.ts → authAssignment-BUrX9fXX.d.ts} +14 -5
- package/{authItem-Da_KN9rn.d.ts → authItem-CLwL7pX_.d.ts} +3 -1
- package/databases/schema/authItem.ts +92 -92
- package/databases/schema/authItemChild.ts +33 -33
- package/databases/schema/files.ts +18 -2
- package/databases/schema/index.ts +22 -17
- package/databases/schema/mdBanner.ts +104 -0
- package/databases/schema/mdContent.ts +21 -6
- package/databases/schema/mdContentGroup.ts +22 -0
- package/databases/schema/mdDocumentPdf.ts +112 -0
- package/databases/schema/mdDownload.ts +112 -0
- package/databases/schema/mdFaq.ts +104 -0
- package/databases/schema/mdFaqGroup.ts +89 -0
- package/databases/schema/mdSetting.ts +97 -0
- package/databases/schema/menu.ts +120 -120
- package/databases/schema/msModule.ts +79 -72
- package/databases/schema/users.ts +214 -217
- package/databases/schema/usersRoleV.ts +1 -1
- package/databases/tables/authAssignment.d.ts +1 -1
- package/databases/tables/authAssignment.js +34 -4
- package/databases/tables/authItem.d.ts +1 -1
- package/databases/tables/authItem.js +8 -2
- package/databases/tables/authItemChild.d.ts +1 -1
- package/databases/tables/authItemChild.js +8 -2
- package/databases/tables/authRole.d.ts +1 -1
- package/databases/tables/authRole.js +34 -4
- package/databases/tables/files.d.ts +6 -2
- package/databases/tables/files.js +14 -0
- package/databases/tables/index.d.ts +8 -3
- package/databases/tables/index.js +734 -185
- package/databases/tables/mdBanner.d.ts +32 -0
- package/databases/tables/mdBanner.js +124 -0
- package/databases/tables/mdContent.d.ts +1 -1
- package/databases/tables/mdContent.js +34 -4
- package/databases/tables/mdContentGroup.d.ts +1 -1
- package/databases/tables/mdContentGroup.js +34 -4
- package/databases/tables/mdDocumentPdf.d.ts +34 -0
- package/databases/tables/mdDocumentPdf.js +131 -0
- package/databases/tables/mdDownload.d.ts +34 -0
- package/databases/tables/mdDownload.js +131 -0
- package/databases/tables/mdFaq.d.ts +32 -0
- package/databases/tables/mdFaq.js +124 -0
- package/databases/tables/mdFaqGroup.d.ts +28 -0
- package/databases/tables/mdFaqGroup.js +111 -0
- package/databases/tables/mdSetting.d.ts +30 -0
- package/databases/tables/mdSetting.js +118 -0
- package/databases/tables/menu.d.ts +1 -1
- package/databases/tables/menu.js +8 -2
- package/databases/tables/msModule.d.ts +1 -1
- package/databases/tables/msModule.js +8 -2
- package/databases/tables/users.d.ts +1 -1
- package/databases/tables/users.js +34 -4
- package/package.json +1 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface mdFaqAttributes {
|
|
4
|
+
id: number;
|
|
5
|
+
uuid?: string;
|
|
6
|
+
keyName?: string;
|
|
7
|
+
groupId?: number;
|
|
8
|
+
question?: string;
|
|
9
|
+
answer?: string;
|
|
10
|
+
sort?: number;
|
|
11
|
+
status?: number;
|
|
12
|
+
createdBy?: string;
|
|
13
|
+
createdDate?: Date;
|
|
14
|
+
updatedBy?: string;
|
|
15
|
+
updatedDate?: Date;
|
|
16
|
+
}
|
|
17
|
+
declare class mdFaq extends Model<mdFaqAttributes, mdFaqAttributes> implements mdFaqAttributes {
|
|
18
|
+
id: number;
|
|
19
|
+
uuid?: string;
|
|
20
|
+
keyName?: string;
|
|
21
|
+
groupId?: number;
|
|
22
|
+
question?: string;
|
|
23
|
+
answer?: string;
|
|
24
|
+
sort?: number;
|
|
25
|
+
status?: number;
|
|
26
|
+
createdBy?: string;
|
|
27
|
+
createdDate?: Date;
|
|
28
|
+
updatedBy?: string;
|
|
29
|
+
updatedDate?: Date;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { mdFaq, type mdFaqAttributes };
|
|
@@ -0,0 +1,124 @@
|
|
|
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/mdFaq.ts
|
|
29
|
+
var mdFaq_exports = {};
|
|
30
|
+
__export(mdFaq_exports, {
|
|
31
|
+
mdFaq: () => mdFaq
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(mdFaq_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var mdFaq = class extends import_sequelize_typescript.Model {
|
|
36
|
+
};
|
|
37
|
+
__decorateClass([
|
|
38
|
+
(0, import_sequelize_typescript.Column)({
|
|
39
|
+
primaryKey: true,
|
|
40
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
41
|
+
})
|
|
42
|
+
], mdFaq.prototype, "id", 2);
|
|
43
|
+
__decorateClass([
|
|
44
|
+
(0, import_sequelize_typescript.Column)({
|
|
45
|
+
allowNull: true,
|
|
46
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
47
|
+
})
|
|
48
|
+
], mdFaq.prototype, "uuid", 2);
|
|
49
|
+
__decorateClass([
|
|
50
|
+
(0, import_sequelize_typescript.Column)({
|
|
51
|
+
field: "key_name",
|
|
52
|
+
allowNull: true,
|
|
53
|
+
type: import_sequelize_typescript.DataType.STRING(100)
|
|
54
|
+
})
|
|
55
|
+
], mdFaq.prototype, "keyName", 2);
|
|
56
|
+
__decorateClass([
|
|
57
|
+
(0, import_sequelize_typescript.Column)({
|
|
58
|
+
field: "group_id",
|
|
59
|
+
allowNull: true,
|
|
60
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
61
|
+
})
|
|
62
|
+
], mdFaq.prototype, "groupId", 2);
|
|
63
|
+
__decorateClass([
|
|
64
|
+
(0, import_sequelize_typescript.Column)({
|
|
65
|
+
allowNull: true,
|
|
66
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
67
|
+
})
|
|
68
|
+
], mdFaq.prototype, "question", 2);
|
|
69
|
+
__decorateClass([
|
|
70
|
+
(0, import_sequelize_typescript.Column)({
|
|
71
|
+
allowNull: true,
|
|
72
|
+
type: import_sequelize_typescript.DataType.STRING
|
|
73
|
+
})
|
|
74
|
+
], mdFaq.prototype, "answer", 2);
|
|
75
|
+
__decorateClass([
|
|
76
|
+
(0, import_sequelize_typescript.Column)({
|
|
77
|
+
allowNull: true,
|
|
78
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
79
|
+
})
|
|
80
|
+
], mdFaq.prototype, "sort", 2);
|
|
81
|
+
__decorateClass([
|
|
82
|
+
(0, import_sequelize_typescript.Column)({
|
|
83
|
+
allowNull: true,
|
|
84
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
85
|
+
})
|
|
86
|
+
], mdFaq.prototype, "status", 2);
|
|
87
|
+
__decorateClass([
|
|
88
|
+
(0, import_sequelize_typescript.Column)({
|
|
89
|
+
field: "created_by",
|
|
90
|
+
allowNull: true,
|
|
91
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
92
|
+
})
|
|
93
|
+
], mdFaq.prototype, "createdBy", 2);
|
|
94
|
+
__decorateClass([
|
|
95
|
+
(0, import_sequelize_typescript.Column)({
|
|
96
|
+
field: "created_date",
|
|
97
|
+
allowNull: true,
|
|
98
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
99
|
+
})
|
|
100
|
+
], mdFaq.prototype, "createdDate", 2);
|
|
101
|
+
__decorateClass([
|
|
102
|
+
(0, import_sequelize_typescript.Column)({
|
|
103
|
+
field: "updated_by",
|
|
104
|
+
allowNull: true,
|
|
105
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
106
|
+
})
|
|
107
|
+
], mdFaq.prototype, "updatedBy", 2);
|
|
108
|
+
__decorateClass([
|
|
109
|
+
(0, import_sequelize_typescript.Column)({
|
|
110
|
+
field: "updated_date",
|
|
111
|
+
allowNull: true,
|
|
112
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
113
|
+
})
|
|
114
|
+
], mdFaq.prototype, "updatedDate", 2);
|
|
115
|
+
mdFaq = __decorateClass([
|
|
116
|
+
(0, import_sequelize_typescript.Table)({
|
|
117
|
+
tableName: "md_faq",
|
|
118
|
+
timestamps: false
|
|
119
|
+
})
|
|
120
|
+
], mdFaq);
|
|
121
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
122
|
+
0 && (module.exports = {
|
|
123
|
+
mdFaq
|
|
124
|
+
});
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface mdFaqGroupAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
uuid?: string;
|
|
6
|
+
keyName?: string;
|
|
7
|
+
name: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
status?: number;
|
|
10
|
+
createdBy?: string;
|
|
11
|
+
createdDate?: Date;
|
|
12
|
+
updatedBy?: string;
|
|
13
|
+
updatedDate?: Date;
|
|
14
|
+
}
|
|
15
|
+
declare class mdFaqGroup extends Model<mdFaqGroupAttributes, mdFaqGroupAttributes> implements mdFaqGroupAttributes {
|
|
16
|
+
id?: number;
|
|
17
|
+
uuid?: string;
|
|
18
|
+
keyName?: string;
|
|
19
|
+
name: string;
|
|
20
|
+
description?: string;
|
|
21
|
+
status?: number;
|
|
22
|
+
createdBy?: string;
|
|
23
|
+
createdDate?: Date;
|
|
24
|
+
updatedBy?: string;
|
|
25
|
+
updatedDate?: Date;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { mdFaqGroup, type mdFaqGroupAttributes };
|
|
@@ -0,0 +1,111 @@
|
|
|
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/mdFaqGroup.ts
|
|
29
|
+
var mdFaqGroup_exports = {};
|
|
30
|
+
__export(mdFaqGroup_exports, {
|
|
31
|
+
mdFaqGroup: () => mdFaqGroup
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(mdFaqGroup_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var mdFaqGroup = 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
|
+
], mdFaqGroup.prototype, "id", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
(0, import_sequelize_typescript.Column)({
|
|
46
|
+
allowNull: true,
|
|
47
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
48
|
+
})
|
|
49
|
+
], mdFaqGroup.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
|
+
], mdFaqGroup.prototype, "keyName", 2);
|
|
57
|
+
__decorateClass([
|
|
58
|
+
(0, import_sequelize_typescript.Column)({
|
|
59
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
60
|
+
})
|
|
61
|
+
], mdFaqGroup.prototype, "name", 2);
|
|
62
|
+
__decorateClass([
|
|
63
|
+
(0, import_sequelize_typescript.Column)({
|
|
64
|
+
allowNull: true,
|
|
65
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
66
|
+
})
|
|
67
|
+
], mdFaqGroup.prototype, "description", 2);
|
|
68
|
+
__decorateClass([
|
|
69
|
+
(0, import_sequelize_typescript.Column)({
|
|
70
|
+
allowNull: true,
|
|
71
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
72
|
+
})
|
|
73
|
+
], mdFaqGroup.prototype, "status", 2);
|
|
74
|
+
__decorateClass([
|
|
75
|
+
(0, import_sequelize_typescript.Column)({
|
|
76
|
+
field: "created_by",
|
|
77
|
+
allowNull: true,
|
|
78
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
79
|
+
})
|
|
80
|
+
], mdFaqGroup.prototype, "createdBy", 2);
|
|
81
|
+
__decorateClass([
|
|
82
|
+
(0, import_sequelize_typescript.Column)({
|
|
83
|
+
field: "created_date",
|
|
84
|
+
allowNull: true,
|
|
85
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
86
|
+
})
|
|
87
|
+
], mdFaqGroup.prototype, "createdDate", 2);
|
|
88
|
+
__decorateClass([
|
|
89
|
+
(0, import_sequelize_typescript.Column)({
|
|
90
|
+
field: "updated_by",
|
|
91
|
+
allowNull: true,
|
|
92
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
93
|
+
})
|
|
94
|
+
], mdFaqGroup.prototype, "updatedBy", 2);
|
|
95
|
+
__decorateClass([
|
|
96
|
+
(0, import_sequelize_typescript.Column)({
|
|
97
|
+
field: "updated_date",
|
|
98
|
+
allowNull: true,
|
|
99
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
100
|
+
})
|
|
101
|
+
], mdFaqGroup.prototype, "updatedDate", 2);
|
|
102
|
+
mdFaqGroup = __decorateClass([
|
|
103
|
+
(0, import_sequelize_typescript.Table)({
|
|
104
|
+
tableName: "md_faq_group",
|
|
105
|
+
timestamps: false
|
|
106
|
+
})
|
|
107
|
+
], mdFaqGroup);
|
|
108
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
109
|
+
0 && (module.exports = {
|
|
110
|
+
mdFaqGroup
|
|
111
|
+
});
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface mdSettingAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
uuid?: string;
|
|
6
|
+
keyName?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
value?: string;
|
|
10
|
+
status?: number;
|
|
11
|
+
createdBy?: string;
|
|
12
|
+
createdDate?: Date;
|
|
13
|
+
updatedBy?: string;
|
|
14
|
+
updatedDate?: Date;
|
|
15
|
+
}
|
|
16
|
+
declare class mdSetting extends Model<mdSettingAttributes, mdSettingAttributes> implements mdSettingAttributes {
|
|
17
|
+
id?: number;
|
|
18
|
+
uuid?: string;
|
|
19
|
+
keyName?: string;
|
|
20
|
+
name?: string;
|
|
21
|
+
description?: string;
|
|
22
|
+
value?: string;
|
|
23
|
+
status?: number;
|
|
24
|
+
createdBy?: string;
|
|
25
|
+
createdDate?: Date;
|
|
26
|
+
updatedBy?: string;
|
|
27
|
+
updatedDate?: Date;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { mdSetting, type mdSettingAttributes };
|
|
@@ -0,0 +1,118 @@
|
|
|
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/mdSetting.ts
|
|
29
|
+
var mdSetting_exports = {};
|
|
30
|
+
__export(mdSetting_exports, {
|
|
31
|
+
mdSetting: () => mdSetting
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(mdSetting_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var mdSetting = 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
|
+
], mdSetting.prototype, "id", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
(0, import_sequelize_typescript.Column)({
|
|
46
|
+
allowNull: true,
|
|
47
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
48
|
+
})
|
|
49
|
+
], mdSetting.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
|
+
], mdSetting.prototype, "keyName", 2);
|
|
57
|
+
__decorateClass([
|
|
58
|
+
(0, import_sequelize_typescript.Column)({
|
|
59
|
+
allowNull: true,
|
|
60
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
61
|
+
})
|
|
62
|
+
], mdSetting.prototype, "name", 2);
|
|
63
|
+
__decorateClass([
|
|
64
|
+
(0, import_sequelize_typescript.Column)({
|
|
65
|
+
allowNull: true,
|
|
66
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
67
|
+
})
|
|
68
|
+
], mdSetting.prototype, "description", 2);
|
|
69
|
+
__decorateClass([
|
|
70
|
+
(0, import_sequelize_typescript.Column)({
|
|
71
|
+
allowNull: true,
|
|
72
|
+
type: import_sequelize_typescript.DataType.STRING
|
|
73
|
+
})
|
|
74
|
+
], mdSetting.prototype, "value", 2);
|
|
75
|
+
__decorateClass([
|
|
76
|
+
(0, import_sequelize_typescript.Column)({
|
|
77
|
+
allowNull: true,
|
|
78
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
79
|
+
})
|
|
80
|
+
], mdSetting.prototype, "status", 2);
|
|
81
|
+
__decorateClass([
|
|
82
|
+
(0, import_sequelize_typescript.Column)({
|
|
83
|
+
field: "created_by",
|
|
84
|
+
allowNull: true,
|
|
85
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
86
|
+
})
|
|
87
|
+
], mdSetting.prototype, "createdBy", 2);
|
|
88
|
+
__decorateClass([
|
|
89
|
+
(0, import_sequelize_typescript.Column)({
|
|
90
|
+
field: "created_date",
|
|
91
|
+
allowNull: true,
|
|
92
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
93
|
+
})
|
|
94
|
+
], mdSetting.prototype, "createdDate", 2);
|
|
95
|
+
__decorateClass([
|
|
96
|
+
(0, import_sequelize_typescript.Column)({
|
|
97
|
+
field: "updated_by",
|
|
98
|
+
allowNull: true,
|
|
99
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
100
|
+
})
|
|
101
|
+
], mdSetting.prototype, "updatedBy", 2);
|
|
102
|
+
__decorateClass([
|
|
103
|
+
(0, import_sequelize_typescript.Column)({
|
|
104
|
+
field: "updated_date",
|
|
105
|
+
allowNull: true,
|
|
106
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
107
|
+
})
|
|
108
|
+
], mdSetting.prototype, "updatedDate", 2);
|
|
109
|
+
mdSetting = __decorateClass([
|
|
110
|
+
(0, import_sequelize_typescript.Table)({
|
|
111
|
+
tableName: "md_setting",
|
|
112
|
+
timestamps: false
|
|
113
|
+
})
|
|
114
|
+
], mdSetting);
|
|
115
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
116
|
+
0 && (module.exports = {
|
|
117
|
+
mdSetting
|
|
118
|
+
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { e as menu, m as menuAttributes } from '../../authItem-
|
|
2
|
+
export { e as menu, m as menuAttributes } from '../../authItem-CLwL7pX_.js';
|
package/databases/tables/menu.js
CHANGED
|
@@ -44,6 +44,12 @@ __decorateClass([
|
|
|
44
44
|
type: import_sequelize_typescript.DataType.INTEGER
|
|
45
45
|
})
|
|
46
46
|
], msModule.prototype, "id", 2);
|
|
47
|
+
__decorateClass([
|
|
48
|
+
(0, import_sequelize_typescript.Column)({
|
|
49
|
+
allowNull: true,
|
|
50
|
+
type: import_sequelize_typescript.DataType.STRING(100)
|
|
51
|
+
})
|
|
52
|
+
], msModule.prototype, "key", 2);
|
|
47
53
|
__decorateClass([
|
|
48
54
|
(0, import_sequelize_typescript.Column)({
|
|
49
55
|
type: import_sequelize_typescript.DataType.STRING(100)
|
|
@@ -258,13 +264,13 @@ __decorateClass([
|
|
|
258
264
|
allowNull: true,
|
|
259
265
|
type: import_sequelize_typescript4.DataType.INTEGER
|
|
260
266
|
})
|
|
261
|
-
], menu.prototype, "
|
|
267
|
+
], menu.prototype, "sort", 2);
|
|
262
268
|
__decorateClass([
|
|
263
269
|
(0, import_sequelize_typescript4.Column)({
|
|
264
270
|
allowNull: true,
|
|
265
271
|
type: import_sequelize_typescript4.DataType.INTEGER
|
|
266
272
|
})
|
|
267
|
-
], menu.prototype, "
|
|
273
|
+
], menu.prototype, "status", 2);
|
|
268
274
|
__decorateClass([
|
|
269
275
|
(0, import_sequelize_typescript4.Column)({
|
|
270
276
|
field: "created_by",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { g as msModule, f as msModuleAttributes } from '../../authItem-
|
|
2
|
+
export { g as msModule, f as msModuleAttributes } from '../../authItem-CLwL7pX_.js';
|
|
@@ -199,13 +199,13 @@ __decorateClass([
|
|
|
199
199
|
allowNull: true,
|
|
200
200
|
type: import_sequelize_typescript3.DataType.INTEGER
|
|
201
201
|
})
|
|
202
|
-
], menu.prototype, "
|
|
202
|
+
], menu.prototype, "sort", 2);
|
|
203
203
|
__decorateClass([
|
|
204
204
|
(0, import_sequelize_typescript3.Column)({
|
|
205
205
|
allowNull: true,
|
|
206
206
|
type: import_sequelize_typescript3.DataType.INTEGER
|
|
207
207
|
})
|
|
208
|
-
], menu.prototype, "
|
|
208
|
+
], menu.prototype, "status", 2);
|
|
209
209
|
__decorateClass([
|
|
210
210
|
(0, import_sequelize_typescript3.Column)({
|
|
211
211
|
field: "created_by",
|
|
@@ -257,6 +257,12 @@ __decorateClass([
|
|
|
257
257
|
type: import_sequelize_typescript4.DataType.INTEGER
|
|
258
258
|
})
|
|
259
259
|
], msModule.prototype, "id", 2);
|
|
260
|
+
__decorateClass([
|
|
261
|
+
(0, import_sequelize_typescript4.Column)({
|
|
262
|
+
allowNull: true,
|
|
263
|
+
type: import_sequelize_typescript4.DataType.STRING(100)
|
|
264
|
+
})
|
|
265
|
+
], msModule.prototype, "key", 2);
|
|
260
266
|
__decorateClass([
|
|
261
267
|
(0, import_sequelize_typescript4.Column)({
|
|
262
268
|
type: import_sequelize_typescript4.DataType.STRING(100)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { h as users, u as usersAttributes } from '../../authAssignment-
|
|
2
|
+
export { h as users, u as usersAttributes } from '../../authAssignment-BUrX9fXX.js';
|
|
@@ -183,6 +183,19 @@ __decorateClass([
|
|
|
183
183
|
type: import_sequelize_typescript3.DataType.INTEGER
|
|
184
184
|
})
|
|
185
185
|
], mdContentGroup.prototype, "id", 2);
|
|
186
|
+
__decorateClass([
|
|
187
|
+
(0, import_sequelize_typescript3.Column)({
|
|
188
|
+
allowNull: true,
|
|
189
|
+
type: import_sequelize_typescript3.DataType.STRING(60)
|
|
190
|
+
})
|
|
191
|
+
], mdContentGroup.prototype, "uuid", 2);
|
|
192
|
+
__decorateClass([
|
|
193
|
+
(0, import_sequelize_typescript3.Column)({
|
|
194
|
+
field: "key_name",
|
|
195
|
+
allowNull: true,
|
|
196
|
+
type: import_sequelize_typescript3.DataType.STRING(100)
|
|
197
|
+
})
|
|
198
|
+
], mdContentGroup.prototype, "keyName", 2);
|
|
186
199
|
__decorateClass([
|
|
187
200
|
(0, import_sequelize_typescript3.Column)({
|
|
188
201
|
type: import_sequelize_typescript3.DataType.STRING(255)
|
|
@@ -194,6 +207,12 @@ __decorateClass([
|
|
|
194
207
|
type: import_sequelize_typescript3.DataType.STRING(255)
|
|
195
208
|
})
|
|
196
209
|
], mdContentGroup.prototype, "description", 2);
|
|
210
|
+
__decorateClass([
|
|
211
|
+
(0, import_sequelize_typescript3.Column)({
|
|
212
|
+
allowNull: true,
|
|
213
|
+
type: import_sequelize_typescript3.DataType.INTEGER
|
|
214
|
+
})
|
|
215
|
+
], mdContentGroup.prototype, "status", 2);
|
|
197
216
|
__decorateClass([
|
|
198
217
|
(0, import_sequelize_typescript3.Column)({
|
|
199
218
|
field: "created_by",
|
|
@@ -246,9 +265,16 @@ __decorateClass([
|
|
|
246
265
|
], mdContent.prototype, "id", 2);
|
|
247
266
|
__decorateClass([
|
|
248
267
|
(0, import_sequelize_typescript4.Column)({
|
|
249
|
-
type: import_sequelize_typescript4.DataType.
|
|
268
|
+
type: import_sequelize_typescript4.DataType.STRING(60)
|
|
250
269
|
})
|
|
251
270
|
], mdContent.prototype, "uuid", 2);
|
|
271
|
+
__decorateClass([
|
|
272
|
+
(0, import_sequelize_typescript4.Column)({
|
|
273
|
+
field: "key_name",
|
|
274
|
+
allowNull: true,
|
|
275
|
+
type: import_sequelize_typescript4.DataType.STRING(100)
|
|
276
|
+
})
|
|
277
|
+
], mdContent.prototype, "keyName", 2);
|
|
252
278
|
__decorateClass([
|
|
253
279
|
(0, import_sequelize_typescript4.ForeignKey)(() => mdContentGroup),
|
|
254
280
|
(0, import_sequelize_typescript4.Column)({
|
|
@@ -301,7 +327,7 @@ __decorateClass([
|
|
|
301
327
|
(0, import_sequelize_typescript4.Column)({
|
|
302
328
|
field: "image_cover",
|
|
303
329
|
allowNull: true,
|
|
304
|
-
type: import_sequelize_typescript4.DataType.
|
|
330
|
+
type: import_sequelize_typescript4.DataType.JSON
|
|
305
331
|
})
|
|
306
332
|
], mdContent.prototype, "imageCover", 2);
|
|
307
333
|
__decorateClass([
|
|
@@ -311,6 +337,12 @@ __decorateClass([
|
|
|
311
337
|
type: import_sequelize_typescript4.DataType.JSON
|
|
312
338
|
})
|
|
313
339
|
], mdContent.prototype, "imageGallery", 2);
|
|
340
|
+
__decorateClass([
|
|
341
|
+
(0, import_sequelize_typescript4.Column)({
|
|
342
|
+
allowNull: true,
|
|
343
|
+
type: import_sequelize_typescript4.DataType.INTEGER
|
|
344
|
+
})
|
|
345
|
+
], mdContent.prototype, "sort", 2);
|
|
314
346
|
__decorateClass([
|
|
315
347
|
(0, import_sequelize_typescript4.Column)({
|
|
316
348
|
allowNull: true,
|
|
@@ -515,14 +547,12 @@ __decorateClass([
|
|
|
515
547
|
], users.prototype, "updatedDate", 2);
|
|
516
548
|
__decorateClass([
|
|
517
549
|
(0, import_sequelize_typescript5.Column)({
|
|
518
|
-
field: "address",
|
|
519
550
|
allowNull: true,
|
|
520
551
|
type: import_sequelize_typescript5.DataType.STRING(255)
|
|
521
552
|
})
|
|
522
553
|
], users.prototype, "address", 2);
|
|
523
554
|
__decorateClass([
|
|
524
555
|
(0, import_sequelize_typescript5.Column)({
|
|
525
|
-
field: "other",
|
|
526
556
|
allowNull: true,
|
|
527
557
|
type: import_sequelize_typescript5.DataType.STRING(255)
|
|
528
558
|
})
|