MetadataDependencies interface

Dependencies for the content item, what other content items it requires to work. Can describe more complex dependencies using a recursive/nested structure. For a single dependency an id/kind/version can be supplied or operator/criteria for complex dependencies.

Properties

contentId

Id of the content item we depend on

criteria

This is the list of dependencies we must fulfill, according to the AND/OR operator

kind

Type of the content item we depend on

name

Name of the content item

operator

Operator used for list of dependencies in criteria array.

version

Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required.

Property Details

contentId

Id of the content item we depend on

contentId?: string

Property Value

string

criteria

This is the list of dependencies we must fulfill, according to the AND/OR operator

criteria?: MetadataDependencies[]

Property Value

kind

Type of the content item we depend on

kind?: string

Property Value

string

name

Name of the content item

name?: string

Property Value

string

operator

Operator used for list of dependencies in criteria array.

operator?: string

Property Value

string

version

Version of the the content item we depend on. Can be blank, * or missing to indicate any version fulfills the dependency. If version does not match our defined numeric format then an exact match is required.

version?: string

Property Value

string