mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-24 22:07:54 +00:00
finshed device endpoint
This commit is contained in:
@@ -1,25 +1,44 @@
|
||||
export class GetDeviceDetailsInterface {
|
||||
result: {
|
||||
id: string;
|
||||
name: string;
|
||||
};
|
||||
result: object;
|
||||
success: boolean;
|
||||
msg: string;
|
||||
}
|
||||
export class GetDevicesInterface {
|
||||
export class GetDevicesByRoomIdInterface {
|
||||
success: boolean;
|
||||
msg: string;
|
||||
result: [];
|
||||
}
|
||||
|
||||
export class addDeviceInterface {
|
||||
export class GetDevicesByGroupIdInterface {
|
||||
success: boolean;
|
||||
msg: string;
|
||||
result: {
|
||||
id: string;
|
||||
count: number;
|
||||
data_list: [];
|
||||
};
|
||||
}
|
||||
|
||||
export class addDeviceInRoomInterface {
|
||||
success: boolean;
|
||||
msg: string;
|
||||
result: boolean;
|
||||
}
|
||||
|
||||
export class controlDeviceInterface {
|
||||
success: boolean;
|
||||
result: boolean;
|
||||
msg: string;
|
||||
}
|
||||
export class GetDeviceDetailsFunctionsInterface {
|
||||
result: {
|
||||
category: string;
|
||||
functions: [];
|
||||
};
|
||||
success: boolean;
|
||||
msg: string;
|
||||
}
|
||||
export class GetDeviceDetailsFunctionsStatusInterface {
|
||||
result: [{ id: string; status: [] }];
|
||||
success: boolean;
|
||||
msg: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user