@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
|
@@ -53,6 +53,19 @@ __decorateClass([
|
|
|
53
53
|
type: import_sequelize_typescript.DataType.INTEGER
|
|
54
54
|
})
|
|
55
55
|
], mdContentGroup.prototype, "id", 2);
|
|
56
|
+
__decorateClass([
|
|
57
|
+
(0, import_sequelize_typescript.Column)({
|
|
58
|
+
allowNull: true,
|
|
59
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
60
|
+
})
|
|
61
|
+
], mdContentGroup.prototype, "uuid", 2);
|
|
62
|
+
__decorateClass([
|
|
63
|
+
(0, import_sequelize_typescript.Column)({
|
|
64
|
+
field: "key_name",
|
|
65
|
+
allowNull: true,
|
|
66
|
+
type: import_sequelize_typescript.DataType.STRING(100)
|
|
67
|
+
})
|
|
68
|
+
], mdContentGroup.prototype, "keyName", 2);
|
|
56
69
|
__decorateClass([
|
|
57
70
|
(0, import_sequelize_typescript.Column)({
|
|
58
71
|
type: import_sequelize_typescript.DataType.STRING(255)
|
|
@@ -64,6 +77,12 @@ __decorateClass([
|
|
|
64
77
|
type: import_sequelize_typescript.DataType.STRING(255)
|
|
65
78
|
})
|
|
66
79
|
], mdContentGroup.prototype, "description", 2);
|
|
80
|
+
__decorateClass([
|
|
81
|
+
(0, import_sequelize_typescript.Column)({
|
|
82
|
+
allowNull: true,
|
|
83
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
84
|
+
})
|
|
85
|
+
], mdContentGroup.prototype, "status", 2);
|
|
67
86
|
__decorateClass([
|
|
68
87
|
(0, import_sequelize_typescript.Column)({
|
|
69
88
|
field: "created_by",
|
|
@@ -116,9 +135,16 @@ __decorateClass([
|
|
|
116
135
|
], mdContent.prototype, "id", 2);
|
|
117
136
|
__decorateClass([
|
|
118
137
|
(0, import_sequelize_typescript2.Column)({
|
|
119
|
-
type: import_sequelize_typescript2.DataType.
|
|
138
|
+
type: import_sequelize_typescript2.DataType.STRING(60)
|
|
120
139
|
})
|
|
121
140
|
], mdContent.prototype, "uuid", 2);
|
|
141
|
+
__decorateClass([
|
|
142
|
+
(0, import_sequelize_typescript2.Column)({
|
|
143
|
+
field: "key_name",
|
|
144
|
+
allowNull: true,
|
|
145
|
+
type: import_sequelize_typescript2.DataType.STRING(100)
|
|
146
|
+
})
|
|
147
|
+
], mdContent.prototype, "keyName", 2);
|
|
122
148
|
__decorateClass([
|
|
123
149
|
(0, import_sequelize_typescript2.ForeignKey)(() => mdContentGroup),
|
|
124
150
|
(0, import_sequelize_typescript2.Column)({
|
|
@@ -171,7 +197,7 @@ __decorateClass([
|
|
|
171
197
|
(0, import_sequelize_typescript2.Column)({
|
|
172
198
|
field: "image_cover",
|
|
173
199
|
allowNull: true,
|
|
174
|
-
type: import_sequelize_typescript2.DataType.
|
|
200
|
+
type: import_sequelize_typescript2.DataType.JSON
|
|
175
201
|
})
|
|
176
202
|
], mdContent.prototype, "imageCover", 2);
|
|
177
203
|
__decorateClass([
|
|
@@ -181,6 +207,12 @@ __decorateClass([
|
|
|
181
207
|
type: import_sequelize_typescript2.DataType.JSON
|
|
182
208
|
})
|
|
183
209
|
], mdContent.prototype, "imageGallery", 2);
|
|
210
|
+
__decorateClass([
|
|
211
|
+
(0, import_sequelize_typescript2.Column)({
|
|
212
|
+
allowNull: true,
|
|
213
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
214
|
+
})
|
|
215
|
+
], mdContent.prototype, "sort", 2);
|
|
184
216
|
__decorateClass([
|
|
185
217
|
(0, import_sequelize_typescript2.Column)({
|
|
186
218
|
allowNull: true,
|
|
@@ -385,14 +417,12 @@ __decorateClass([
|
|
|
385
417
|
], users.prototype, "updatedDate", 2);
|
|
386
418
|
__decorateClass([
|
|
387
419
|
(0, import_sequelize_typescript3.Column)({
|
|
388
|
-
field: "address",
|
|
389
420
|
allowNull: true,
|
|
390
421
|
type: import_sequelize_typescript3.DataType.STRING(255)
|
|
391
422
|
})
|
|
392
423
|
], users.prototype, "address", 2);
|
|
393
424
|
__decorateClass([
|
|
394
425
|
(0, import_sequelize_typescript3.Column)({
|
|
395
|
-
field: "other",
|
|
396
426
|
allowNull: true,
|
|
397
427
|
type: import_sequelize_typescript3.DataType.STRING(255)
|
|
398
428
|
})
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { Model } from 'sequelize-typescript';
|
|
2
2
|
|
|
3
3
|
interface filesAttributes {
|
|
4
|
-
id
|
|
4
|
+
id?: number;
|
|
5
5
|
uuid: string;
|
|
6
|
+
userUuid?: string;
|
|
6
7
|
name?: string;
|
|
7
8
|
originalName?: string;
|
|
8
9
|
mimetype?: string;
|
|
9
10
|
filePath?: string;
|
|
10
11
|
fileSize?: number;
|
|
12
|
+
path?: string;
|
|
11
13
|
status?: number;
|
|
12
14
|
createdBy?: string;
|
|
13
15
|
createdDate?: Date;
|
|
@@ -15,13 +17,15 @@ interface filesAttributes {
|
|
|
15
17
|
updatedDate?: Date;
|
|
16
18
|
}
|
|
17
19
|
declare class files extends Model<filesAttributes, filesAttributes> implements filesAttributes {
|
|
18
|
-
id
|
|
20
|
+
id?: number;
|
|
19
21
|
uuid: string;
|
|
22
|
+
userUuid?: string;
|
|
20
23
|
name?: string;
|
|
21
24
|
originalName?: string;
|
|
22
25
|
mimetype?: string;
|
|
23
26
|
filePath?: string;
|
|
24
27
|
fileSize?: number;
|
|
28
|
+
path?: string;
|
|
25
29
|
status?: number;
|
|
26
30
|
createdBy?: string;
|
|
27
31
|
createdDate?: Date;
|
|
@@ -37,6 +37,7 @@ var files = class extends import_sequelize_typescript.Model {
|
|
|
37
37
|
__decorateClass([
|
|
38
38
|
(0, import_sequelize_typescript.Column)({
|
|
39
39
|
primaryKey: true,
|
|
40
|
+
autoIncrement: true,
|
|
40
41
|
type: import_sequelize_typescript.DataType.INTEGER
|
|
41
42
|
})
|
|
42
43
|
], files.prototype, "id", 2);
|
|
@@ -45,6 +46,13 @@ __decorateClass([
|
|
|
45
46
|
type: import_sequelize_typescript.DataType.STRING(60)
|
|
46
47
|
})
|
|
47
48
|
], files.prototype, "uuid", 2);
|
|
49
|
+
__decorateClass([
|
|
50
|
+
(0, import_sequelize_typescript.Column)({
|
|
51
|
+
field: "user_uuid",
|
|
52
|
+
allowNull: true,
|
|
53
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
54
|
+
})
|
|
55
|
+
], files.prototype, "userUuid", 2);
|
|
48
56
|
__decorateClass([
|
|
49
57
|
(0, import_sequelize_typescript.Column)({
|
|
50
58
|
allowNull: true,
|
|
@@ -78,6 +86,12 @@ __decorateClass([
|
|
|
78
86
|
type: import_sequelize_typescript.DataType.BIGINT
|
|
79
87
|
})
|
|
80
88
|
], files.prototype, "fileSize", 2);
|
|
89
|
+
__decorateClass([
|
|
90
|
+
(0, import_sequelize_typescript.Column)({
|
|
91
|
+
allowNull: true,
|
|
92
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
93
|
+
})
|
|
94
|
+
], files.prototype, "path", 2);
|
|
81
95
|
__decorateClass([
|
|
82
96
|
(0, import_sequelize_typescript.Column)({
|
|
83
97
|
allowNull: true,
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
export { b as authAssignment, a as authAssignmentAttributes, d as authRole, c as authRoleAttributes, e as mdContent, m as mdContentAttributes, g as mdContentGroup, f as mdContentGroupAttributes, h as users, u as usersAttributes } from '../../authAssignment-
|
|
2
|
-
export { b as authItem, a as authItemAttributes, d as authItemChild, c as authItemChildAttributes, e as menu, m as menuAttributes, g as msModule, f as msModuleAttributes } from '../../authItem-
|
|
1
|
+
export { b as authAssignment, a as authAssignmentAttributes, d as authRole, c as authRoleAttributes, e as mdContent, m as mdContentAttributes, g as mdContentGroup, f as mdContentGroupAttributes, h as users, u as usersAttributes } from '../../authAssignment-BUrX9fXX.js';
|
|
2
|
+
export { b as authItem, a as authItemAttributes, d as authItemChild, c as authItemChildAttributes, e as menu, m as menuAttributes, g as msModule, f as msModuleAttributes } from '../../authItem-CLwL7pX_.js';
|
|
3
3
|
export { authRoleChild, authRoleChildAttributes } from './authRoleChild.js';
|
|
4
4
|
export { files, filesAttributes } from './files.js';
|
|
5
|
+
export { mdBanner, mdBannerAttributes } from './mdBanner.js';
|
|
6
|
+
export { mdDocumentPdf, mdDocumentPdfAttributes } from './mdDocumentPdf.js';
|
|
7
|
+
export { mdDownload, mdDownloadAttributes } from './mdDownload.js';
|
|
8
|
+
export { mdFaq, mdFaqAttributes } from './mdFaq.js';
|
|
9
|
+
export { mdFaqGroup, mdFaqGroupAttributes } from './mdFaqGroup.js';
|
|
5
10
|
export { mdLink, mdLinkAttributes } from './mdLink.js';
|
|
11
|
+
export { mdSetting, mdSettingAttributes } from './mdSetting.js';
|
|
6
12
|
export { oauthAccessToken, oauthAccessTokenAttributes } from './oauthAccessToken.js';
|
|
7
13
|
export { oauthRefreshToken, oauthRefreshTokenAttributes } from './oauthRefreshToken.js';
|
|
8
14
|
export { userCenterV, userCenterVAttributes } from './userCenterV.js';
|
|
9
15
|
export { userRoleV, userRoleVAttributes } from './userRoleV.js';
|
|
10
|
-
export { usersRoleV, usersRoleVAttributes } from './usersRoleV.js';
|
|
11
16
|
import 'sequelize-typescript';
|