diff --git a/sdk/index.d.ts b/sdk/index.d.ts index b434231ab..176e83e62 100644 --- a/sdk/index.d.ts +++ b/sdk/index.d.ts @@ -72,7 +72,7 @@ export declare class ScryptedDeviceBase implements DeviceState { onDeviceEvent(eventInterface: string, eventData: any): Promise; } export declare class MixinDeviceBase implements DeviceState { - mixinDevice: T; + mixinDevice: any; mixinDeviceInterfaces: ScryptedInterface[]; mixinProviderNativeId: ScryptedNativeId; id?: string; diff --git a/sdk/types.d.ts b/sdk/types.d.ts index 8ecd1139b..ed3d2afd2 100644 --- a/sdk/types.d.ts +++ b/sdk/types.d.ts @@ -944,14 +944,15 @@ export declare enum MediaPlayerState { } export declare type SettingValue = string | number | boolean | string[] | number[]; export interface Setting { - choices?: string[]; - description?: string; key?: string; - placeholder?: string; - readonly?: boolean; - group?: string; title?: string; + group?: string; + description?: string; + placeholder?: string; type?: 'string' | 'password' | 'number' | 'boolean' | 'device'; + readonly?: boolean; + choices?: string[]; + combobox?: boolean; deviceFilter?: string; multiple?: boolean; value?: SettingValue; diff --git a/sdk/types.ts b/sdk/types.ts index 67b659954..a339ec2d0 100644 --- a/sdk/types.ts +++ b/sdk/types.ts @@ -1056,14 +1056,15 @@ export enum MediaPlayerState { } export type SettingValue = string|number|boolean|string[]|number[]; export interface Setting { - choices?: string[]; - description?: string; key?: string; - placeholder?: string; - readonly?: boolean; - group?: string; title?: string; + group?: string; + description?: string; + placeholder?: string; type?: 'string' | 'password' | 'number' | 'boolean' | 'device'; + readonly?: boolean; + choices?: string[]; + combobox?: boolean; deviceFilter?: string; multiple?: boolean; value?: SettingValue;