@admc-go-th/admc-library 1.0.15 → 1.0.16
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-B6rhOsb-.d.ts → authAssignment-DSQ-klvX.d.ts} +4 -0
- package/{authItem-CRUblP_g.d.ts → authItem-DzYA8ziY.d.ts} +2 -4
- package/databases/schema/authRole.ts +15 -1
- package/databases/schema/authRoleChild.ts +3 -3
- package/databases/schema/menu.ts +3 -12
- package/databases/tables/authAssignment.d.ts +1 -1
- package/databases/tables/authAssignment.js +13 -1
- package/databases/tables/authItem.d.ts +1 -1
- package/databases/tables/authItem.js +2 -10
- package/databases/tables/authItemChild.d.ts +1 -1
- package/databases/tables/authItemChild.js +2 -10
- package/databases/tables/authRole.d.ts +1 -1
- package/databases/tables/authRole.js +13 -1
- package/databases/tables/authRoleChild.d.ts +2 -2
- package/databases/tables/authRoleChild.js +2 -2
- package/databases/tables/index.d.ts +2 -2
- package/databases/tables/index.js +17 -13
- package/databases/tables/mdContent.d.ts +1 -1
- package/databases/tables/mdContent.js +13 -1
- package/databases/tables/mdContentGroup.d.ts +1 -1
- package/databases/tables/mdContentGroup.js +13 -1
- package/databases/tables/menu.d.ts +1 -1
- package/databases/tables/menu.js +2 -10
- package/databases/tables/msModule.d.ts +1 -1
- package/databases/tables/msModule.js +2 -10
- package/databases/tables/users.d.ts +1 -1
- package/databases/tables/users.js +13 -1
- package/package.json +1 -1
|
@@ -109,6 +109,8 @@ declare class users extends Model<usersAttributes, usersAttributes> implements u
|
|
|
109
109
|
interface authRoleAttributes {
|
|
110
110
|
id?: number;
|
|
111
111
|
name: string;
|
|
112
|
+
display?: string;
|
|
113
|
+
status?: number;
|
|
112
114
|
createdBy?: string;
|
|
113
115
|
createdDate?: Date;
|
|
114
116
|
updatedBy?: string;
|
|
@@ -117,6 +119,8 @@ interface authRoleAttributes {
|
|
|
117
119
|
declare class authRole extends Model<authRoleAttributes, authRoleAttributes> implements authRoleAttributes {
|
|
118
120
|
id?: number;
|
|
119
121
|
name: string;
|
|
122
|
+
display?: string;
|
|
123
|
+
status?: number;
|
|
120
124
|
createdBy?: string;
|
|
121
125
|
createdDate?: Date;
|
|
122
126
|
updatedBy?: string;
|
|
@@ -21,8 +21,7 @@ declare class msModule extends Model<msModuleAttributes, msModuleAttributes> imp
|
|
|
21
21
|
interface menuAttributes {
|
|
22
22
|
id?: number;
|
|
23
23
|
uuid: string;
|
|
24
|
-
|
|
25
|
-
parentId?: number;
|
|
24
|
+
keyName?: string;
|
|
26
25
|
display?: string;
|
|
27
26
|
description?: string;
|
|
28
27
|
moduleId?: number;
|
|
@@ -34,8 +33,7 @@ interface menuAttributes {
|
|
|
34
33
|
declare class menu extends Model<menuAttributes, menuAttributes> implements menuAttributes {
|
|
35
34
|
id?: number;
|
|
36
35
|
uuid: string;
|
|
37
|
-
|
|
38
|
-
parentId?: number;
|
|
36
|
+
keyName?: string;
|
|
39
37
|
display?: string;
|
|
40
38
|
description?: string;
|
|
41
39
|
moduleId?: number;
|
|
@@ -6,6 +6,8 @@ import { authAssignment } from "./authAssignment";
|
|
|
6
6
|
export interface authRoleAttributes {
|
|
7
7
|
id?: number;
|
|
8
8
|
name: string;
|
|
9
|
+
display?: string;
|
|
10
|
+
status?: number;
|
|
9
11
|
createdBy?: string;
|
|
10
12
|
createdDate?: Date;
|
|
11
13
|
updatedBy?: string;
|
|
@@ -26,10 +28,22 @@ export class authRole extends Model<authRoleAttributes, authRoleAttributes> impl
|
|
|
26
28
|
declare id?: number;
|
|
27
29
|
|
|
28
30
|
@Column({
|
|
29
|
-
type: DataType.STRING(
|
|
31
|
+
type: DataType.STRING(100)
|
|
30
32
|
})
|
|
31
33
|
declare name: string;
|
|
32
34
|
|
|
35
|
+
@Column({
|
|
36
|
+
allowNull: true,
|
|
37
|
+
type: DataType.STRING(255)
|
|
38
|
+
})
|
|
39
|
+
declare display?: string;
|
|
40
|
+
|
|
41
|
+
@Column({
|
|
42
|
+
allowNull: true,
|
|
43
|
+
type: DataType.INTEGER
|
|
44
|
+
})
|
|
45
|
+
declare status?: number;
|
|
46
|
+
|
|
33
47
|
@Column({
|
|
34
48
|
field: "created_by",
|
|
35
49
|
allowNull: true,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
|
|
5
5
|
export interface authRoleChildAttributes {
|
|
6
6
|
roleId: number;
|
|
7
|
-
|
|
7
|
+
keyName: string;
|
|
8
8
|
permission?: object;
|
|
9
9
|
}
|
|
10
10
|
|
|
@@ -22,11 +22,11 @@ export class authRoleChild extends Model<authRoleChildAttributes, authRoleChildA
|
|
|
22
22
|
declare roleId: number;
|
|
23
23
|
|
|
24
24
|
@Column({
|
|
25
|
-
field: "
|
|
25
|
+
field: "key_name",
|
|
26
26
|
primaryKey: true,
|
|
27
27
|
type: DataType.STRING(255)
|
|
28
28
|
})
|
|
29
|
-
declare
|
|
29
|
+
declare keyName: string;
|
|
30
30
|
|
|
31
31
|
@Column({
|
|
32
32
|
allowNull: true,
|
package/databases/schema/menu.ts
CHANGED
|
@@ -7,8 +7,7 @@ import { authItem } from "./authItem";
|
|
|
7
7
|
export interface menuAttributes {
|
|
8
8
|
id?: number;
|
|
9
9
|
uuid: string;
|
|
10
|
-
|
|
11
|
-
parentId?: number;
|
|
10
|
+
keyName?: string;
|
|
12
11
|
display?: string;
|
|
13
12
|
description?: string;
|
|
14
13
|
moduleId?: number;
|
|
@@ -36,20 +35,12 @@ export class menu extends Model<menuAttributes, menuAttributes> implements menuA
|
|
|
36
35
|
})
|
|
37
36
|
declare uuid: string;
|
|
38
37
|
|
|
39
|
-
@ForeignKey(() => authItem)
|
|
40
38
|
@Column({
|
|
41
|
-
field: "
|
|
39
|
+
field: "key_name",
|
|
42
40
|
allowNull: true,
|
|
43
41
|
type: DataType.STRING(100)
|
|
44
42
|
})
|
|
45
|
-
declare
|
|
46
|
-
|
|
47
|
-
@Column({
|
|
48
|
-
field: "parent_id",
|
|
49
|
-
allowNull: true,
|
|
50
|
-
type: DataType.INTEGER
|
|
51
|
-
})
|
|
52
|
-
declare parentId?: number;
|
|
43
|
+
declare keyName?: string;
|
|
53
44
|
|
|
54
45
|
@Column({
|
|
55
46
|
allowNull: true,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { b as authAssignment, a as authAssignmentAttributes } from '../../authAssignment-
|
|
2
|
+
export { b as authAssignment, a as authAssignmentAttributes } from '../../authAssignment-DSQ-klvX.js';
|
|
@@ -391,9 +391,21 @@ __decorateClass([
|
|
|
391
391
|
], authRole.prototype, "id", 2);
|
|
392
392
|
__decorateClass([
|
|
393
393
|
(0, import_sequelize_typescript4.Column)({
|
|
394
|
-
type: import_sequelize_typescript4.DataType.STRING(
|
|
394
|
+
type: import_sequelize_typescript4.DataType.STRING(100)
|
|
395
395
|
})
|
|
396
396
|
], authRole.prototype, "name", 2);
|
|
397
|
+
__decorateClass([
|
|
398
|
+
(0, import_sequelize_typescript4.Column)({
|
|
399
|
+
allowNull: true,
|
|
400
|
+
type: import_sequelize_typescript4.DataType.STRING(255)
|
|
401
|
+
})
|
|
402
|
+
], authRole.prototype, "display", 2);
|
|
403
|
+
__decorateClass([
|
|
404
|
+
(0, import_sequelize_typescript4.Column)({
|
|
405
|
+
allowNull: true,
|
|
406
|
+
type: import_sequelize_typescript4.DataType.INTEGER
|
|
407
|
+
})
|
|
408
|
+
], authRole.prototype, "status", 2);
|
|
397
409
|
__decorateClass([
|
|
398
410
|
(0, import_sequelize_typescript4.Column)({
|
|
399
411
|
field: "created_by",
|
|
@@ -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-DzYA8ziY.js';
|
|
@@ -108,20 +108,12 @@ __decorateClass([
|
|
|
108
108
|
})
|
|
109
109
|
], menu.prototype, "uuid", 2);
|
|
110
110
|
__decorateClass([
|
|
111
|
-
(0, import_sequelize_typescript2.ForeignKey)(() => authItem),
|
|
112
111
|
(0, import_sequelize_typescript2.Column)({
|
|
113
|
-
field: "
|
|
112
|
+
field: "key_name",
|
|
114
113
|
allowNull: true,
|
|
115
114
|
type: import_sequelize_typescript2.DataType.STRING(100)
|
|
116
115
|
})
|
|
117
|
-
], menu.prototype, "
|
|
118
|
-
__decorateClass([
|
|
119
|
-
(0, import_sequelize_typescript2.Column)({
|
|
120
|
-
field: "parent_id",
|
|
121
|
-
allowNull: true,
|
|
122
|
-
type: import_sequelize_typescript2.DataType.INTEGER
|
|
123
|
-
})
|
|
124
|
-
], menu.prototype, "parentId", 2);
|
|
116
|
+
], menu.prototype, "keyName", 2);
|
|
125
117
|
__decorateClass([
|
|
126
118
|
(0, import_sequelize_typescript2.Column)({
|
|
127
119
|
allowNull: true,
|
|
@@ -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-DzYA8ziY.js';
|
|
@@ -111,20 +111,12 @@ __decorateClass([
|
|
|
111
111
|
})
|
|
112
112
|
], menu.prototype, "uuid", 2);
|
|
113
113
|
__decorateClass([
|
|
114
|
-
(0, import_sequelize_typescript2.ForeignKey)(() => authItem),
|
|
115
114
|
(0, import_sequelize_typescript2.Column)({
|
|
116
|
-
field: "
|
|
115
|
+
field: "key_name",
|
|
117
116
|
allowNull: true,
|
|
118
117
|
type: import_sequelize_typescript2.DataType.STRING(100)
|
|
119
118
|
})
|
|
120
|
-
], menu.prototype, "
|
|
121
|
-
__decorateClass([
|
|
122
|
-
(0, import_sequelize_typescript2.Column)({
|
|
123
|
-
field: "parent_id",
|
|
124
|
-
allowNull: true,
|
|
125
|
-
type: import_sequelize_typescript2.DataType.INTEGER
|
|
126
|
-
})
|
|
127
|
-
], menu.prototype, "parentId", 2);
|
|
119
|
+
], menu.prototype, "keyName", 2);
|
|
128
120
|
__decorateClass([
|
|
129
121
|
(0, import_sequelize_typescript2.Column)({
|
|
130
122
|
allowNull: true,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { d as authRole, c as authRoleAttributes } from '../../authAssignment-
|
|
2
|
+
export { d as authRole, c as authRoleAttributes } from '../../authAssignment-DSQ-klvX.js';
|
|
@@ -453,9 +453,21 @@ __decorateClass([
|
|
|
453
453
|
], authRole.prototype, "id", 2);
|
|
454
454
|
__decorateClass([
|
|
455
455
|
(0, import_sequelize_typescript5.Column)({
|
|
456
|
-
type: import_sequelize_typescript5.DataType.STRING(
|
|
456
|
+
type: import_sequelize_typescript5.DataType.STRING(100)
|
|
457
457
|
})
|
|
458
458
|
], authRole.prototype, "name", 2);
|
|
459
|
+
__decorateClass([
|
|
460
|
+
(0, import_sequelize_typescript5.Column)({
|
|
461
|
+
allowNull: true,
|
|
462
|
+
type: import_sequelize_typescript5.DataType.STRING(255)
|
|
463
|
+
})
|
|
464
|
+
], authRole.prototype, "display", 2);
|
|
465
|
+
__decorateClass([
|
|
466
|
+
(0, import_sequelize_typescript5.Column)({
|
|
467
|
+
allowNull: true,
|
|
468
|
+
type: import_sequelize_typescript5.DataType.INTEGER
|
|
469
|
+
})
|
|
470
|
+
], authRole.prototype, "status", 2);
|
|
459
471
|
__decorateClass([
|
|
460
472
|
(0, import_sequelize_typescript5.Column)({
|
|
461
473
|
field: "created_by",
|
|
@@ -2,12 +2,12 @@ import { Model } from 'sequelize-typescript';
|
|
|
2
2
|
|
|
3
3
|
interface authRoleChildAttributes {
|
|
4
4
|
roleId: number;
|
|
5
|
-
|
|
5
|
+
keyName: string;
|
|
6
6
|
permission?: object;
|
|
7
7
|
}
|
|
8
8
|
declare class authRoleChild extends Model<authRoleChildAttributes, authRoleChildAttributes> implements authRoleChildAttributes {
|
|
9
9
|
roleId: number;
|
|
10
|
-
|
|
10
|
+
keyName: string;
|
|
11
11
|
permission?: object;
|
|
12
12
|
}
|
|
13
13
|
|
|
@@ -43,11 +43,11 @@ __decorateClass([
|
|
|
43
43
|
], authRoleChild.prototype, "roleId", 2);
|
|
44
44
|
__decorateClass([
|
|
45
45
|
(0, import_sequelize_typescript.Column)({
|
|
46
|
-
field: "
|
|
46
|
+
field: "key_name",
|
|
47
47
|
primaryKey: true,
|
|
48
48
|
type: import_sequelize_typescript.DataType.STRING(255)
|
|
49
49
|
})
|
|
50
|
-
], authRoleChild.prototype, "
|
|
50
|
+
], authRoleChild.prototype, "keyName", 2);
|
|
51
51
|
__decorateClass([
|
|
52
52
|
(0, import_sequelize_typescript.Column)({
|
|
53
53
|
allowNull: true,
|
|
@@ -1,4 +1,4 @@
|
|
|
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-DSQ-klvX.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-DzYA8ziY.js';
|
|
3
3
|
export { authRoleChild, authRoleChildAttributes } from './authRoleChild.js';
|
|
4
4
|
import 'sequelize-typescript';
|
|
@@ -402,9 +402,21 @@ __decorateClass([
|
|
|
402
402
|
], authRole.prototype, "id", 2);
|
|
403
403
|
__decorateClass([
|
|
404
404
|
(0, import_sequelize_typescript4.Column)({
|
|
405
|
-
type: import_sequelize_typescript4.DataType.STRING(
|
|
405
|
+
type: import_sequelize_typescript4.DataType.STRING(100)
|
|
406
406
|
})
|
|
407
407
|
], authRole.prototype, "name", 2);
|
|
408
|
+
__decorateClass([
|
|
409
|
+
(0, import_sequelize_typescript4.Column)({
|
|
410
|
+
allowNull: true,
|
|
411
|
+
type: import_sequelize_typescript4.DataType.STRING(255)
|
|
412
|
+
})
|
|
413
|
+
], authRole.prototype, "display", 2);
|
|
414
|
+
__decorateClass([
|
|
415
|
+
(0, import_sequelize_typescript4.Column)({
|
|
416
|
+
allowNull: true,
|
|
417
|
+
type: import_sequelize_typescript4.DataType.INTEGER
|
|
418
|
+
})
|
|
419
|
+
], authRole.prototype, "status", 2);
|
|
408
420
|
__decorateClass([
|
|
409
421
|
(0, import_sequelize_typescript4.Column)({
|
|
410
422
|
field: "created_by",
|
|
@@ -583,20 +595,12 @@ __decorateClass([
|
|
|
583
595
|
})
|
|
584
596
|
], menu.prototype, "uuid", 2);
|
|
585
597
|
__decorateClass([
|
|
586
|
-
(0, import_sequelize_typescript7.ForeignKey)(() => authItem),
|
|
587
598
|
(0, import_sequelize_typescript7.Column)({
|
|
588
|
-
field: "
|
|
599
|
+
field: "key_name",
|
|
589
600
|
allowNull: true,
|
|
590
601
|
type: import_sequelize_typescript7.DataType.STRING(100)
|
|
591
602
|
})
|
|
592
|
-
], menu.prototype, "
|
|
593
|
-
__decorateClass([
|
|
594
|
-
(0, import_sequelize_typescript7.Column)({
|
|
595
|
-
field: "parent_id",
|
|
596
|
-
allowNull: true,
|
|
597
|
-
type: import_sequelize_typescript7.DataType.INTEGER
|
|
598
|
-
})
|
|
599
|
-
], menu.prototype, "parentId", 2);
|
|
603
|
+
], menu.prototype, "keyName", 2);
|
|
600
604
|
__decorateClass([
|
|
601
605
|
(0, import_sequelize_typescript7.Column)({
|
|
602
606
|
allowNull: true,
|
|
@@ -777,11 +781,11 @@ __decorateClass([
|
|
|
777
781
|
], authRoleChild.prototype, "roleId", 2);
|
|
778
782
|
__decorateClass([
|
|
779
783
|
(0, import_sequelize_typescript10.Column)({
|
|
780
|
-
field: "
|
|
784
|
+
field: "key_name",
|
|
781
785
|
primaryKey: true,
|
|
782
786
|
type: import_sequelize_typescript10.DataType.STRING(255)
|
|
783
787
|
})
|
|
784
|
-
], authRoleChild.prototype, "
|
|
788
|
+
], authRoleChild.prototype, "keyName", 2);
|
|
785
789
|
__decorateClass([
|
|
786
790
|
(0, import_sequelize_typescript10.Column)({
|
|
787
791
|
allowNull: true,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { e as mdContent, m as mdContentAttributes } from '../../authAssignment-
|
|
2
|
+
export { e as mdContent, m as mdContentAttributes } from '../../authAssignment-DSQ-klvX.js';
|
|
@@ -52,9 +52,21 @@ __decorateClass([
|
|
|
52
52
|
], authRole.prototype, "id", 2);
|
|
53
53
|
__decorateClass([
|
|
54
54
|
(0, import_sequelize_typescript.Column)({
|
|
55
|
-
type: import_sequelize_typescript.DataType.STRING(
|
|
55
|
+
type: import_sequelize_typescript.DataType.STRING(100)
|
|
56
56
|
})
|
|
57
57
|
], authRole.prototype, "name", 2);
|
|
58
|
+
__decorateClass([
|
|
59
|
+
(0, import_sequelize_typescript.Column)({
|
|
60
|
+
allowNull: true,
|
|
61
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
62
|
+
})
|
|
63
|
+
], authRole.prototype, "display", 2);
|
|
64
|
+
__decorateClass([
|
|
65
|
+
(0, import_sequelize_typescript.Column)({
|
|
66
|
+
allowNull: true,
|
|
67
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
68
|
+
})
|
|
69
|
+
], authRole.prototype, "status", 2);
|
|
58
70
|
__decorateClass([
|
|
59
71
|
(0, import_sequelize_typescript.Column)({
|
|
60
72
|
field: "created_by",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { g as mdContentGroup, f as mdContentGroupAttributes } from '../../authAssignment-
|
|
2
|
+
export { g as mdContentGroup, f as mdContentGroupAttributes } from '../../authAssignment-DSQ-klvX.js';
|
|
@@ -55,9 +55,21 @@ __decorateClass([
|
|
|
55
55
|
], authRole.prototype, "id", 2);
|
|
56
56
|
__decorateClass([
|
|
57
57
|
(0, import_sequelize_typescript.Column)({
|
|
58
|
-
type: import_sequelize_typescript.DataType.STRING(
|
|
58
|
+
type: import_sequelize_typescript.DataType.STRING(100)
|
|
59
59
|
})
|
|
60
60
|
], authRole.prototype, "name", 2);
|
|
61
|
+
__decorateClass([
|
|
62
|
+
(0, import_sequelize_typescript.Column)({
|
|
63
|
+
allowNull: true,
|
|
64
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
65
|
+
})
|
|
66
|
+
], authRole.prototype, "display", 2);
|
|
67
|
+
__decorateClass([
|
|
68
|
+
(0, import_sequelize_typescript.Column)({
|
|
69
|
+
allowNull: true,
|
|
70
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
71
|
+
})
|
|
72
|
+
], authRole.prototype, "status", 2);
|
|
61
73
|
__decorateClass([
|
|
62
74
|
(0, import_sequelize_typescript.Column)({
|
|
63
75
|
field: "created_by",
|
|
@@ -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-DzYA8ziY.js';
|
package/databases/tables/menu.js
CHANGED
|
@@ -214,20 +214,12 @@ __decorateClass([
|
|
|
214
214
|
})
|
|
215
215
|
], menu.prototype, "uuid", 2);
|
|
216
216
|
__decorateClass([
|
|
217
|
-
(0, import_sequelize_typescript4.ForeignKey)(() => authItem),
|
|
218
217
|
(0, import_sequelize_typescript4.Column)({
|
|
219
|
-
field: "
|
|
218
|
+
field: "key_name",
|
|
220
219
|
allowNull: true,
|
|
221
220
|
type: import_sequelize_typescript4.DataType.STRING(100)
|
|
222
221
|
})
|
|
223
|
-
], menu.prototype, "
|
|
224
|
-
__decorateClass([
|
|
225
|
-
(0, import_sequelize_typescript4.Column)({
|
|
226
|
-
field: "parent_id",
|
|
227
|
-
allowNull: true,
|
|
228
|
-
type: import_sequelize_typescript4.DataType.INTEGER
|
|
229
|
-
})
|
|
230
|
-
], menu.prototype, "parentId", 2);
|
|
222
|
+
], menu.prototype, "keyName", 2);
|
|
231
223
|
__decorateClass([
|
|
232
224
|
(0, import_sequelize_typescript4.Column)({
|
|
233
225
|
allowNull: true,
|
|
@@ -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-DzYA8ziY.js';
|
|
@@ -161,20 +161,12 @@ __decorateClass([
|
|
|
161
161
|
})
|
|
162
162
|
], menu.prototype, "uuid", 2);
|
|
163
163
|
__decorateClass([
|
|
164
|
-
(0, import_sequelize_typescript3.ForeignKey)(() => authItem),
|
|
165
164
|
(0, import_sequelize_typescript3.Column)({
|
|
166
|
-
field: "
|
|
165
|
+
field: "key_name",
|
|
167
166
|
allowNull: true,
|
|
168
167
|
type: import_sequelize_typescript3.DataType.STRING(100)
|
|
169
168
|
})
|
|
170
|
-
], menu.prototype, "
|
|
171
|
-
__decorateClass([
|
|
172
|
-
(0, import_sequelize_typescript3.Column)({
|
|
173
|
-
field: "parent_id",
|
|
174
|
-
allowNull: true,
|
|
175
|
-
type: import_sequelize_typescript3.DataType.INTEGER
|
|
176
|
-
})
|
|
177
|
-
], menu.prototype, "parentId", 2);
|
|
169
|
+
], menu.prototype, "keyName", 2);
|
|
178
170
|
__decorateClass([
|
|
179
171
|
(0, import_sequelize_typescript3.Column)({
|
|
180
172
|
allowNull: true,
|
|
@@ -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-DSQ-klvX.js';
|
|
@@ -49,9 +49,21 @@ __decorateClass([
|
|
|
49
49
|
], authRole.prototype, "id", 2);
|
|
50
50
|
__decorateClass([
|
|
51
51
|
(0, import_sequelize_typescript.Column)({
|
|
52
|
-
type: import_sequelize_typescript.DataType.STRING(
|
|
52
|
+
type: import_sequelize_typescript.DataType.STRING(100)
|
|
53
53
|
})
|
|
54
54
|
], authRole.prototype, "name", 2);
|
|
55
|
+
__decorateClass([
|
|
56
|
+
(0, import_sequelize_typescript.Column)({
|
|
57
|
+
allowNull: true,
|
|
58
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
59
|
+
})
|
|
60
|
+
], authRole.prototype, "display", 2);
|
|
61
|
+
__decorateClass([
|
|
62
|
+
(0, import_sequelize_typescript.Column)({
|
|
63
|
+
allowNull: true,
|
|
64
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
65
|
+
})
|
|
66
|
+
], authRole.prototype, "status", 2);
|
|
55
67
|
__decorateClass([
|
|
56
68
|
(0, import_sequelize_typescript.Column)({
|
|
57
69
|
field: "created_by",
|