Merge pull request #470 from SyncrowIOT/fix/remove-x-y-from-space

SP-1853: Space Fixes
This commit is contained in:
raf-dev1
2025-07-23 09:02:54 +03:00
committed by GitHub
4 changed files with 36 additions and 32 deletions

View File

@ -91,13 +91,6 @@ export class SpaceEntity extends AbstractEntity<SpaceDto> {
})
subspaces?: SubspaceEntity[];
// Position columns
@Column({ type: 'float', nullable: false, default: 0 })
public x: number; // X coordinate for position
@Column({ type: 'float', nullable: false, default: 0 })
public y: number; // Y coordinate for position
@OneToMany(
() => DeviceEntity,
(devicesSpaceEntity) => devicesSpaceEntity.spaceDevice,