EntityInfo interface

Właściwości

childOf
comment
definedIn
description
displayName
dtdlVersion
entityKind
id
languageVersion
supplementalProperties
supplementalTypeIds
supplementalTypes
undefinedProperties
undefinedTypes

Metody

validateInstance(string)

Szczegóły właściwości

childOf

childOf: undefined | string

Wartość właściwości

undefined | string

comment

comment?: string

Wartość właściwości

string

definedIn

definedIn: undefined | string

Wartość właściwości

undefined | string

description

description?: LanguageStringType

Wartość właściwości

displayName

displayName?: LanguageStringType

Wartość właściwości

dtdlVersion

dtdlVersion: number

Wartość właściwości

number

entityKind

entityKind: "string" | "boolean" | "object" | "array" | "command" | "commandpayload" | "commandrequest" | "commandresponse" | "commandtype" | "enum" | "map" | "component" | "property" | "relationship" | "telemetry" | "date" | "datetime" | "double" | "duration" | "enumvalue" | "field" | "float" | "integer" | "interface" | "long" | "mapkey" | "mapvalue" | "time" | "unit" | "unitattribute" | "latenttype" | "namedlatenttype" | "reference"

Wartość właściwości

"string" | "boolean" | "object" | "array" | "command" | "commandpayload" | "commandrequest" | "commandresponse" | "commandtype" | "enum" | "map" | "component" | "property" | "relationship" | "telemetry" | "date" | "datetime" | "double" | "duration" | "enumvalue" | "field" | "float" | "integer" | "interface" | "long" | "mapkey" | "mapvalue" | "time" | "unit" | "unitattribute" | "latenttype" | "namedlatenttype" | "reference"

id

id: string

Wartość właściwości

string

languageVersion

languageVersion?: number

Wartość właściwości

number

supplementalProperties

supplementalProperties: {[x: string]: any}

Wartość właściwości

{[x: string]: any}

supplementalTypeIds

supplementalTypeIds: string[]

Wartość właściwości

string[]

supplementalTypes

supplementalTypes: SupplementalTypeInfo[]

Wartość właściwości

undefinedProperties

undefinedProperties: {[name: string]: any}

Wartość właściwości

{[name: string]: any}

undefinedTypes

undefinedTypes: string[]

Wartość właściwości

string[]

Szczegóły metody

validateInstance(string)

function validateInstance(instanceText: string): boolean

Parametry

instanceText

string

Zwraca

boolean