Types Types (dw::core::Types)

Type Definition Description


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

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


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

Represents a Field description that is part of an Object.


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

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


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
Submit your feedback!
Share your thoughts to help us build the best documentation experience for you!
Take our latest survey!