Skip to content
This repository has been archived by the owner on Aug 15, 2021. It is now read-only.

Commit

Permalink
Separate out entities in directories
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdex committed Feb 22, 2019
1 parent 9c89093 commit e0543dc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IIotRoom } from './iot-room-model';
import { IIotRoom } from '../room/iot-room-model';

export interface IDeviceGroup {
_id: string; // join([IUser._id, name], '-')
Expand Down
3 changes: 2 additions & 1 deletion src/iot-device/iot-device-hook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import * as lodash from 'lodash';

import { Mqtt } from '../iot/mqtt';
import { logger } from '../logger';
import { IDeviceGroup } from './device-group-model';

import { IDeviceGroup } from '../device-group/device-group-model';
import { IIotDevice } from './iot-device-model';

export const iotDeviceHooks: Partial<HooksObject> = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IIotDevice } from './iot-device-model';
import { IIotDevice } from '../iot-device/iot-device-model';

export interface IIotRoom {
devices?: IIotDevice[];
Expand Down

0 comments on commit e0543dc

Please sign in to comment.