Home > @tridion-sites/models > ComponentBase
Represents the data of a Component: a generic holder of content and metadata.
Signature:
export declare abstract class ComponentBase extends VersionedItem
Extends: VersionedItem
Constructor | Modifiers | Description |
---|---|---|
(constructor)({ backendModel, approvalStatus, componentType, schema, workflowInfo, …componentBaseArgs }) | Constructs a new instance of the ComponentBase class |
Property | Modifiers | Type | Description |
---|---|---|---|
_backendModel | BackendComponent | ||
approvalStatus | Link | undefined | Approval Status of the item. | |
componentType | ComponentType | undefined | <p>Type of the Component (Normal or Multimedia).</p><p>This type is derived from the “Schema” on which the Component is based.</p> | |
getInternalModel | () => BackendComponent | ||
isBasedOnMandatorySchema | boolean | Whether the Component is based on a Mandatory Schema | |
isBasedOnTridionWebSchema | boolean | Whether the Component is based on a Tridion Web Schema | |
schema | Link | undefined | Schema for the Component’s content | |
workflowInfo | WorkflowInfo | undefined | Workflow-related information for the item. |