@admc-go-th/admc-library 1.0.56 → 1.0.57
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/{authItem-BzI7UMbH.d.ts → authItem-BniqC5Pc.d.ts} +2 -0
- package/databases/schema/index.ts +2 -2
- package/databases/schema/{wordFilter.ts → mdConfiguration.ts} +27 -5
- package/databases/schema/mdLinkGroup.ts +7 -0
- package/databases/schema/menu.ts +8 -0
- package/databases/tables/authItem.d.ts +1 -1
- package/databases/tables/authItem.js +7 -0
- package/databases/tables/authItemChild.d.ts +1 -1
- package/databases/tables/authItemChild.js +7 -0
- package/databases/tables/index.d.ts +3 -3
- package/databases/tables/index.js +657 -625
- package/databases/tables/mdConfiguration.d.ts +28 -0
- package/databases/tables/{wordFilter.js → mdConfiguration.js} +36 -17
- package/databases/tables/mdLink.d.ts +1 -1
- package/databases/tables/mdLink.js +6 -0
- package/databases/tables/mdLinkGroup.d.ts +1 -1
- package/databases/tables/mdLinkGroup.js +6 -0
- package/databases/tables/menu.d.ts +1 -1
- package/databases/tables/menu.js +7 -0
- package/databases/tables/msModule.d.ts +1 -1
- package/databases/tables/msModule.js +7 -0
- package/{mdLink-Crdo8YgF.d.ts → mdLink-Cr23xu_o.d.ts} +2 -0
- package/package.json +1 -1
- package/databases/tables/wordFilter.d.ts +0 -22
|
@@ -33,6 +33,7 @@ interface menuAttributes {
|
|
|
33
33
|
sort?: number;
|
|
34
34
|
status?: number;
|
|
35
35
|
data?: object;
|
|
36
|
+
showFrontend?: number;
|
|
36
37
|
createdBy?: string;
|
|
37
38
|
createdDate?: Date;
|
|
38
39
|
updatedBy?: string;
|
|
@@ -49,6 +50,7 @@ declare class menu extends Model<menuAttributes, menuAttributes> implements menu
|
|
|
49
50
|
sort?: number;
|
|
50
51
|
status?: number;
|
|
51
52
|
data?: object;
|
|
53
|
+
showFrontend?: number;
|
|
52
54
|
createdBy?: string;
|
|
53
55
|
createdDate?: Date;
|
|
54
56
|
updatedBy?: string;
|
|
@@ -7,6 +7,7 @@ export * from "./files";
|
|
|
7
7
|
export * from "./logs";
|
|
8
8
|
export * from "./mdBanner";
|
|
9
9
|
export * from "./mdCmsSingle";
|
|
10
|
+
export * from "./mdConfiguration";
|
|
10
11
|
export * from "./mdContent";
|
|
11
12
|
export * from "./mdContentGroup";
|
|
12
13
|
export * from "./mdDocumentPdf";
|
|
@@ -30,5 +31,4 @@ export * from "./setting";
|
|
|
30
31
|
export * from "./userCenterV";
|
|
31
32
|
export * from "./userRoleV";
|
|
32
33
|
export * from "./users";
|
|
33
|
-
export * from "./usersVerify";
|
|
34
|
-
export * from "./wordFilter";
|
|
34
|
+
export * from "./usersVerify";
|
|
@@ -2,9 +2,12 @@ import {
|
|
|
2
2
|
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
3
|
} from "sequelize-typescript";
|
|
4
4
|
|
|
5
|
-
export interface
|
|
5
|
+
export interface mdConfigurationAttributes {
|
|
6
6
|
id?: number;
|
|
7
|
-
|
|
7
|
+
uuid?: string;
|
|
8
|
+
keyName?: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
value?: string;
|
|
8
11
|
status?: number;
|
|
9
12
|
createdBy?: string;
|
|
10
13
|
createdDate?: Date;
|
|
@@ -13,10 +16,10 @@ export interface wordFilterAttributes {
|
|
|
13
16
|
}
|
|
14
17
|
|
|
15
18
|
@Table({
|
|
16
|
-
tableName: "
|
|
19
|
+
tableName: "md_configuration",
|
|
17
20
|
timestamps: false
|
|
18
21
|
})
|
|
19
|
-
export class
|
|
22
|
+
export class mdConfiguration extends Model<mdConfigurationAttributes, mdConfigurationAttributes> implements mdConfigurationAttributes {
|
|
20
23
|
|
|
21
24
|
@Column({
|
|
22
25
|
primaryKey: true,
|
|
@@ -25,11 +28,30 @@ export class wordFilter extends Model<wordFilterAttributes, wordFilterAttributes
|
|
|
25
28
|
})
|
|
26
29
|
declare id?: number;
|
|
27
30
|
|
|
31
|
+
@Column({
|
|
32
|
+
allowNull: true,
|
|
33
|
+
type: DataType.STRING(60)
|
|
34
|
+
})
|
|
35
|
+
declare uuid?: string;
|
|
36
|
+
|
|
37
|
+
@Column({
|
|
38
|
+
field: "key_name",
|
|
39
|
+
allowNull: true,
|
|
40
|
+
type: DataType.STRING(100)
|
|
41
|
+
})
|
|
42
|
+
declare keyName?: string;
|
|
43
|
+
|
|
28
44
|
@Column({
|
|
29
45
|
allowNull: true,
|
|
30
46
|
type: DataType.STRING(255)
|
|
31
47
|
})
|
|
32
|
-
declare
|
|
48
|
+
declare name?: string;
|
|
49
|
+
|
|
50
|
+
@Column({
|
|
51
|
+
allowNull: true,
|
|
52
|
+
type: DataType.STRING
|
|
53
|
+
})
|
|
54
|
+
declare value?: string;
|
|
33
55
|
|
|
34
56
|
@Column({
|
|
35
57
|
allowNull: true,
|
|
@@ -10,6 +10,7 @@ export interface mdLinkGroupAttributes {
|
|
|
10
10
|
userId?: number;
|
|
11
11
|
name: string;
|
|
12
12
|
description?: string;
|
|
13
|
+
sort?: number;
|
|
13
14
|
status?: number;
|
|
14
15
|
createdBy?: string;
|
|
15
16
|
createdDate?: Date;
|
|
@@ -61,6 +62,12 @@ export class mdLinkGroup extends Model<mdLinkGroupAttributes, mdLinkGroupAttribu
|
|
|
61
62
|
})
|
|
62
63
|
declare description?: string;
|
|
63
64
|
|
|
65
|
+
@Column({
|
|
66
|
+
allowNull: true,
|
|
67
|
+
type: DataType.INTEGER
|
|
68
|
+
})
|
|
69
|
+
declare sort?: number;
|
|
70
|
+
|
|
64
71
|
@Column({
|
|
65
72
|
allowNull: true,
|
|
66
73
|
type: DataType.INTEGER
|
package/databases/schema/menu.ts
CHANGED
|
@@ -15,6 +15,7 @@ export interface menuAttributes {
|
|
|
15
15
|
sort?: number;
|
|
16
16
|
status?: number;
|
|
17
17
|
data?: object;
|
|
18
|
+
showFrontend?: number;
|
|
18
19
|
createdBy?: string;
|
|
19
20
|
createdDate?: Date;
|
|
20
21
|
updatedBy?: string;
|
|
@@ -91,6 +92,13 @@ export class menu extends Model<menuAttributes, menuAttributes> implements menuA
|
|
|
91
92
|
})
|
|
92
93
|
declare data?: object;
|
|
93
94
|
|
|
95
|
+
@Column({
|
|
96
|
+
field: "show_frontend",
|
|
97
|
+
allowNull: true,
|
|
98
|
+
type: DataType.INTEGER
|
|
99
|
+
})
|
|
100
|
+
declare showFrontend?: number;
|
|
101
|
+
|
|
94
102
|
@Column({
|
|
95
103
|
field: "created_by",
|
|
96
104
|
allowNull: true,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { b as authItem, a as authItemAttributes } from '../../authItem-
|
|
2
|
+
export { b as authItem, a as authItemAttributes } from '../../authItem-BniqC5Pc.js';
|
|
@@ -171,6 +171,13 @@ __decorateClass([
|
|
|
171
171
|
type: import_sequelize_typescript2.DataType.JSON
|
|
172
172
|
})
|
|
173
173
|
], menu.prototype, "data", 2);
|
|
174
|
+
__decorateClass([
|
|
175
|
+
(0, import_sequelize_typescript2.Column)({
|
|
176
|
+
field: "show_frontend",
|
|
177
|
+
allowNull: true,
|
|
178
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
179
|
+
})
|
|
180
|
+
], menu.prototype, "showFrontend", 2);
|
|
174
181
|
__decorateClass([
|
|
175
182
|
(0, import_sequelize_typescript2.Column)({
|
|
176
183
|
field: "created_by",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { d as authItemChild, c as authItemChildAttributes } from '../../authItem-
|
|
2
|
+
export { d as authItemChild, c as authItemChildAttributes } from '../../authItem-BniqC5Pc.js';
|
|
@@ -174,6 +174,13 @@ __decorateClass([
|
|
|
174
174
|
type: import_sequelize_typescript2.DataType.JSON
|
|
175
175
|
})
|
|
176
176
|
], menu.prototype, "data", 2);
|
|
177
|
+
__decorateClass([
|
|
178
|
+
(0, import_sequelize_typescript2.Column)({
|
|
179
|
+
field: "show_frontend",
|
|
180
|
+
allowNull: true,
|
|
181
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
182
|
+
})
|
|
183
|
+
], menu.prototype, "showFrontend", 2);
|
|
177
184
|
__decorateClass([
|
|
178
185
|
(0, import_sequelize_typescript2.Column)({
|
|
179
186
|
field: "created_by",
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
export { b as authAssignment, a as authAssignmentAttributes, d as authRole, c as authRoleAttributes, f as authRoleChild, e as authRoleChildAttributes, g as mdContent, m as mdContentAttributes, i as mdContentGroup, h as mdContentGroupAttributes, k as mdQuestionnaire, j as mdQuestionnaireAttributes, l as users, u as usersAttributes, o as usersVerify, n as usersVerifyAttributes } from '../../authAssignment-CcMPKnNv.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-
|
|
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-BniqC5Pc.js';
|
|
3
3
|
export { a as files, f as filesAttributes, b as mdBanner, m as mdBannerAttributes } from '../../files-DCCWrDOT.js';
|
|
4
4
|
export { logs, logsAttributes } from './logs.js';
|
|
5
5
|
export { mdCmsSingle, mdCmsSingleAttributes } from './mdCmsSingle.js';
|
|
6
|
+
export { mdConfiguration, mdConfigurationAttributes } from './mdConfiguration.js';
|
|
6
7
|
export { mdDocumentPdf, mdDocumentPdfAttributes } from './mdDocumentPdf.js';
|
|
7
8
|
export { mdDownload, mdDownloadAttributes } from './mdDownload.js';
|
|
8
9
|
export { a as mdEbook, m as mdEbookAttributes, c as mdEbookGroup, b as mdEbookGroupAttributes } from '../../mdEbook-C-qae2zR.js';
|
|
9
10
|
export { a as mdFaq, m as mdFaqAttributes, c as mdFaqGroup, b as mdFaqGroupAttributes } from '../../mdFaq-1c4X_DI2.js';
|
|
10
|
-
export { a as mdLink, m as mdLinkAttributes, c as mdLinkGroup, b as mdLinkGroupAttributes } from '../../mdLink-
|
|
11
|
+
export { a as mdLink, m as mdLinkAttributes, c as mdLinkGroup, b as mdLinkGroupAttributes } from '../../mdLink-Cr23xu_o.js';
|
|
11
12
|
export { a as mdNews, m as mdNewsAttributes, c as mdNewsGroup, b as mdNewsGroupAttributes } from '../../mdNews-CqZ9kQ8-.js';
|
|
12
13
|
export { mdPopup, mdPopupAttributes } from './mdPopup.js';
|
|
13
14
|
export { mdSetting, mdSettingAttributes } from './mdSetting.js';
|
|
@@ -16,5 +17,4 @@ export { oauthRefreshToken, oauthRefreshTokenAttributes } from './oauthRefreshTo
|
|
|
16
17
|
export { setting, settingAttributes } from './setting.js';
|
|
17
18
|
export { userCenterV, userCenterVAttributes } from './userCenterV.js';
|
|
18
19
|
export { userRoleV, userRoleVAttributes } from './userRoleV.js';
|
|
19
|
-
export { wordFilter, wordFilterAttributes } from './wordFilter.js';
|
|
20
20
|
import 'sequelize-typescript';
|