mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
[iobroker] add defAck flag to StateCommon (#45213)
This commit is contained in:
parent
aeb9e5ab33
commit
d3ce8bd4d0
7
types/iobroker/index.d.ts
vendored
7
types/iobroker/index.d.ts
vendored
@ -91,8 +91,6 @@ declare global {
|
||||
max?: number;
|
||||
/** unit of the value */
|
||||
unit?: string;
|
||||
/** the default value */
|
||||
def?: any;
|
||||
/** description of this state */
|
||||
desc?: string;
|
||||
|
||||
@ -103,6 +101,11 @@ declare global {
|
||||
/** role of the state (used in user interfaces to indicate which widget to choose) */
|
||||
role: string;
|
||||
|
||||
/** the default value */
|
||||
def?: any;
|
||||
/** the default status of the ack flag */
|
||||
defAck?: boolean;
|
||||
|
||||
/** Configures this state as an alias for another state */
|
||||
alias?: {
|
||||
/** The target state id */
|
||||
|
||||
@ -214,6 +214,8 @@ adapter.setObject('id', {
|
||||
read: true,
|
||||
write: false,
|
||||
role: 'some role',
|
||||
def: [],
|
||||
defAck: false,
|
||||
},
|
||||
native: {},
|
||||
protectedNative: ['none'],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user