Optional
options: typeof _projectMetadataproject_category
project_description
VV-DBXXX
project_status
The function assigns metadata to an object and returns the updated object.
The metadata parameter is an object that contains key-value pairs. The keys are strings, and the values can be of any type.
the object that the method is being called on (i.e., this
).
The function takes in a metadata object, ensures its structure, flattens it, merges it with the existing metadata of the object, and returns the updated metadata object.
The metadata
parameter is an object that contains key-value pairs
representing metadata information. The keys are strings, and the values can be of any type.
the metadata object with any missing keys from the original object added.
The ensureMetadata
function takes in a metadata object, flattens the current object and the
metadata object, merges them together, and then returns the merged object in its original nested
structure.
The metadata
parameter is a record object that contains key-value pairs. The
keys represent the metadata properties, and the values represent the corresponding values for
those properties.
The function ensureMetadata
returns the metadata object with any missing values
filled in with the corresponding values from the original object.
The function checks if all the keys in the object are present in the metadata object.
The metadata parameter is a record object that contains key-value pairs. The keys are strings and the values can be of any type.
a boolean value.
Static
assignStatic
ensureStatic
filter
The class ProjectMetadata represents the metadata of a project, including its description, external reference, and status.