mirror of
https://github.com/koush/scrypted.git
synced 2026-02-12 18:12:04 +00:00
sdk: combobox support
This commit is contained in:
2
sdk/index.d.ts
vendored
2
sdk/index.d.ts
vendored
@@ -72,7 +72,7 @@ export declare class ScryptedDeviceBase implements DeviceState {
|
||||
onDeviceEvent(eventInterface: string, eventData: any): Promise<void>;
|
||||
}
|
||||
export declare class MixinDeviceBase<T> implements DeviceState {
|
||||
mixinDevice: T;
|
||||
mixinDevice: any;
|
||||
mixinDeviceInterfaces: ScryptedInterface[];
|
||||
mixinProviderNativeId: ScryptedNativeId;
|
||||
id?: string;
|
||||
|
||||
11
sdk/types.d.ts
vendored
11
sdk/types.d.ts
vendored
@@ -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;
|
||||
|
||||
11
sdk/types.ts
11
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;
|
||||
|
||||
Reference in New Issue
Block a user