@tomei/sso 0.46.1 → 0.46.3
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/dist/src/components/user-group/user-group.js +1 -1
- package/dist/src/components/user-group/user-group.js.map +1 -1
- package/dist/src/components/user-system-access/user-system-access.js +2 -2
- package/dist/src/components/user-system-access/user-system-access.js.map +1 -1
- package/dist/src/models/user-system-access.entity.js +2 -2
- package/dist/src/models/user-system-access.entity.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/components/user-group/user-group.ts +1 -1
- package/src/components/user-system-access/user-system-access.ts +2 -2
- package/src/models/user-system-access.entity.ts +2 -2
package/package.json
CHANGED
@@ -7,7 +7,7 @@ import { ApplicationConfig } from '@tomei/config';
|
|
7
7
|
import { ActionEnum, Activity } from '@tomei/activity-history';
|
8
8
|
import GroupSystemAccessModel from '../../models/group-system-access.entity';
|
9
9
|
import GroupModel from '../../models/group.entity';
|
10
|
-
import SystemModel from 'models/system.entity';
|
10
|
+
import SystemModel from '../../models/system.entity';
|
11
11
|
|
12
12
|
export class UserGroup extends ObjectBase {
|
13
13
|
ObjectType = 'UserGroup';
|
@@ -143,12 +143,12 @@ export class UserSystemAccess extends ObjectBase {
|
|
143
143
|
},
|
144
144
|
{
|
145
145
|
model: UserModel,
|
146
|
-
as: '
|
146
|
+
as: 'CreatedBy',
|
147
147
|
attributes: ['FullName'],
|
148
148
|
},
|
149
149
|
{
|
150
150
|
model: UserModel,
|
151
|
-
as: '
|
151
|
+
as: 'UpdatedBy',
|
152
152
|
attributes: ['FullName'],
|
153
153
|
},
|
154
154
|
],
|
@@ -75,13 +75,13 @@ export default class UserSystemAccessModel extends Model {
|
|
75
75
|
|
76
76
|
@BelongsTo(() => User, {
|
77
77
|
foreignKey: 'CreatedById',
|
78
|
-
as: '
|
78
|
+
as: 'CreatedBy',
|
79
79
|
})
|
80
80
|
CreatedByUser: User;
|
81
81
|
|
82
82
|
@BelongsTo(() => User, {
|
83
83
|
foreignKey: 'UpdatedById',
|
84
|
-
as: '
|
84
|
+
as: 'UpdatedBy',
|
85
85
|
})
|
86
86
|
UpdatedByUser: User;
|
87
87
|
}
|