mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-25 03:37:54 +00:00
Fixed automation bugs
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { TuyaResponseInterface } from './tuya.response.interface';
|
||||
|
||||
export interface AddTuyaResponseInterface extends TuyaResponseInterface {
|
||||
result: {
|
||||
id: string;
|
||||
};
|
||||
t?: number;
|
||||
tid?: string;
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
export * from './tuya.response.interface';
|
||||
export * from './tap-to-run-action.interface';
|
||||
export * from './automation.interface';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
export interface TuyaResponseInterface {
|
||||
success: boolean;
|
||||
msg?: string;
|
||||
result: boolean;
|
||||
result: boolean | { id: string };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user