mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-15 10:25:23 +00:00
Remove duplicate code and unnecessary dependency in user entity and package-lock.json respectively
This commit is contained in:
@ -59,12 +59,6 @@ export class UserEntity extends AbstractEntity<UserDto> {
|
|||||||
@OneToMany(() => DeviceEntity, (userDevice) => userDevice.user)
|
@OneToMany(() => DeviceEntity, (userDevice) => userDevice.user)
|
||||||
userDevice: DeviceEntity[];
|
userDevice: DeviceEntity[];
|
||||||
|
|
||||||
@OneToMany(() => DeviceEntity, (userDevice) => userDevice.user)
|
|
||||||
userDevice: DeviceEntity[];
|
|
||||||
|
|
||||||
@OneToMany(() => DeviceEntity, (userDevice) => userDevice.user)
|
|
||||||
userDevice: DeviceEntity[];
|
|
||||||
|
|
||||||
@OneToMany(
|
@OneToMany(
|
||||||
() => UserNotificationEntity,
|
() => UserNotificationEntity,
|
||||||
(userNotification) => userNotification.user,
|
(userNotification) => userNotification.user,
|
||||||
|
17
package-lock.json
generated
17
package-lock.json
generated
@ -7364,23 +7364,6 @@
|
|||||||
"thenify-all": "^1.0.0"
|
"thenify-all": "^1.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/nanoid": {
|
|
||||||
"version": "5.0.7",
|
|
||||||
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-5.0.7.tgz",
|
|
||||||
"integrity": "sha512-oLxFY2gd2IqnjcYyOXD8XGCftpGtZP2AbHbOkthDkvRywH5ayNtPVy9YlOPcHckXzbLTCHpkb7FB+yuxKV13pQ==",
|
|
||||||
"funding": [
|
|
||||||
{
|
|
||||||
"type": "github",
|
|
||||||
"url": "https://github.com/sponsors/ai"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"bin": {
|
|
||||||
"nanoid": "bin/nanoid.js"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": "^18 || >=20"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/natural-compare": {
|
"node_modules/natural-compare": {
|
||||||
"version": "1.4.0",
|
"version": "1.4.0",
|
||||||
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
|
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
|
||||||
|
Reference in New Issue
Block a user