diff --git a/sdk/package-lock.json b/sdk/package-lock.json index 1c89b1d0a..421fbc555 100644 --- a/sdk/package-lock.json +++ b/sdk/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/sdk", - "version": "0.3.61", + "version": "0.3.62", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/sdk", - "version": "0.3.61", + "version": "0.3.62", "license": "ISC", "dependencies": { "@babel/preset-typescript": "^7.24.7", diff --git a/sdk/package.json b/sdk/package.json index 6da169647..c1a6473a7 100644 --- a/sdk/package.json +++ b/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/sdk", - "version": "0.3.61", + "version": "0.3.62", "description": "", "main": "dist/src/index.js", "exports": { diff --git a/sdk/types/package-lock.json b/sdk/types/package-lock.json index 2ebac5c24..1a2fb1947 100644 --- a/sdk/types/package-lock.json +++ b/sdk/types/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/types", - "version": "0.3.57", + "version": "0.3.58", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/types", - "version": "0.3.57", + "version": "0.3.58", "license": "ISC", "devDependencies": { "@types/node": "^22.1.0", diff --git a/sdk/types/package.json b/sdk/types/package.json index 3533bbc3f..4c3bcb56f 100644 --- a/sdk/types/package.json +++ b/sdk/types/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/types", - "version": "0.3.57", + "version": "0.3.58", "description": "", "main": "dist/index.js", "author": "", diff --git a/sdk/types/scrypted_python/scrypted_sdk/types.py b/sdk/types/scrypted_python/scrypted_sdk/types.py index a6698b795..7b6791361 100644 --- a/sdk/types/scrypted_python/scrypted_sdk/types.py +++ b/sdk/types/scrypted_python/scrypted_sdk/types.py @@ -852,10 +852,11 @@ class Setting(TypedDict): choices: list[str] combobox: bool + console: bool # Flag that hte UI should open the console. description: str deviceFilter: str group: str - immediate: bool # Flat that the UI should immediately apply this setting. + immediate: bool # Flag that the UI should immediately apply this setting. key: str multiple: bool placeholder: str diff --git a/sdk/types/src/types.input.ts b/sdk/types/src/types.input.ts index ba7f217bb..69402b1ff 100644 --- a/sdk/types/src/types.input.ts +++ b/sdk/types/src/types.input.ts @@ -2197,9 +2197,13 @@ export interface Setting { deviceFilter?: string; multiple?: boolean; /** - * Flat that the UI should immediately apply this setting. + * Flag that the UI should immediately apply this setting. */ immediate?: boolean; + /** + * Flag that hte UI should open the console. + */ + console?: boolean; value?: SettingValue; }