Skip to main content

ResourceDescriptionCase

Defines a specific case for resource description formatting. Used for conditional formatting based on property values or for concatenating multiple properties.

Properties

additionalResourceDescriptionProperty?

optional additionalResourceDescriptionProperty: string

A secondary property to be combined with the primary property when using the concat case type


connector?

optional connector: string

String to use between properties when concatenating. Defaults to a space if not specified.


resourceDescriptionProperty

resourceDescriptionProperty: string

The primary property name to use for this description case


type

type: 0

The type of description case, determining how properties are formatted


valueToMatch?

optional valueToMatch: unknown

The value to match against the checked property when using @descriptionBasedOnPropertyValue decorator. When this value matches the property value, this case becomes active.