mirror of
https://github.com/koush/scrypted.git
synced 2026-04-26 09:50:21 +01:00
sdk: update tampered state
This commit is contained in:
@@ -729,7 +729,7 @@ export interface Settings {
|
||||
export interface BinarySensor {
|
||||
binaryState?: boolean;
|
||||
}
|
||||
export type TamperState = 'intrusion' | 'motion' | 'magnetic' | 'cover';
|
||||
export type TamperState = 'intrusion' | 'motion' | 'magnetic' | 'cover' | true;
|
||||
export interface TamperSensor {
|
||||
tampered?: TamperState;
|
||||
}
|
||||
|
||||
2
sdk/types/index.d.ts
vendored
2
sdk/types/index.d.ts
vendored
@@ -831,7 +831,7 @@ export interface Settings {
|
||||
export interface BinarySensor {
|
||||
binaryState?: boolean;
|
||||
}
|
||||
export declare type TamperState = 'intrusion' | 'motion' | 'magnetic' | 'cover';
|
||||
export declare type TamperState = 'intrusion' | 'motion' | 'magnetic' | 'cover' | true;
|
||||
export interface TamperSensor {
|
||||
tampered?: TamperState;
|
||||
}
|
||||
|
||||
@@ -1473,7 +1473,7 @@ export interface Settings {
|
||||
export interface BinarySensor {
|
||||
binaryState?: boolean;
|
||||
}
|
||||
export type TamperState = 'intrusion' | 'motion' | 'magnetic' | 'cover';
|
||||
export type TamperState = 'intrusion' | 'motion' | 'magnetic' | 'cover' | true;
|
||||
export interface TamperSensor {
|
||||
tampered?: TamperState;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user