@tomei/sso 0.46.2 → 0.46.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/components/user-system-access/user-system-access.js +4 -4
- package/dist/src/components/user-system-access/user-system-access.js.map +1 -1
- package/dist/src/models/user-system-access.entity.d.ts +2 -2
- package/dist/src/models/user-system-access.entity.js +4 -4
- 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-system-access/user-system-access.ts +4 -4
- package/src/models/user-system-access.entity.ts +4 -4
package/package.json
CHANGED
@@ -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
|
],
|
@@ -162,9 +162,9 @@ export class UserSystemAccess extends ObjectBase {
|
|
162
162
|
SystemName: userSystemAccess.System.Name,
|
163
163
|
SystemCode: userSystemAccess.System.SystemCode,
|
164
164
|
Status: userSystemAccess.Status,
|
165
|
-
CreatedBy: userSystemAccess.
|
165
|
+
CreatedBy: userSystemAccess.CreatedBy.FullName,
|
166
166
|
CreatedAt: userSystemAccess.CreatedAt,
|
167
|
-
UpdatedBy: userSystemAccess.
|
167
|
+
UpdatedBy: userSystemAccess.UpdatedBy.FullName,
|
168
168
|
UpdatedAt: userSystemAccess.UpdatedAt,
|
169
169
|
};
|
170
170
|
}),
|
@@ -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
|
+
CreatedBy: User;
|
81
81
|
|
82
82
|
@BelongsTo(() => User, {
|
83
83
|
foreignKey: 'UpdatedById',
|
84
|
-
as: '
|
84
|
+
as: 'UpdatedBy',
|
85
85
|
})
|
86
|
-
|
86
|
+
UpdatedBy: User;
|
87
87
|
}
|