Contact Free trial Login

Types Types (dw::core::Types)

Type Definition Description

Attribute

type Attribute = { name: QName, required: Boolean, value: Type }

Represents an Attribute definition that is part of an Object field Key.

Field

type Field = { key: { name: QName, attributes: Array<Attribute> }, required: Boolean, repeated: Boolean, value: Type }

Represents a Field description that is part of an Object.

FunctionParam

type FunctionParam = { paramType: Type, optional: Boolean }

Represents a Function parameter that is part of a Function type.

QName

type QName = { localName: String, namespace: Namespace | Null }

Represents a Qualified Name definition with a localName (a string) and a namespace. If the QName does not have a Namespace, its value is null.

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub