@strifeapp/types
v0.0.5
Published
Represents an item in an asset list within Strife. This type is commonly used to manage media files such as images, videos, and documents in the CMS.
Downloads
80
Keywords
Readme
Strife Types
Assets
Represents an item in an asset list within Strife. This type is commonly used to manage media files such as images, videos, and documents in the CMS.
Chapter
A base type that defines the structure of a chapter (content template) used within the chapters editor in Strife. Chapters are used to organize large sections of content or multiple sections on a single page.
CollectionDefinition
Represents the value type for the collection editor in Strife. It defines the structure of collections of documents and includes a query property for integration with RavenDB.
ComboBoxValue
Represents the selected item in a ComboBox editor in Strife. The ComboBox value is typically an array, even when a single item is selected, to ensure consistency in handling selections.
Content
The base type for all document templates, such as pages, in Strife. This type provides the foundational structure for creating and managing content within the CMS.
ContentReference
Represents a reference to a document or page within the CMS. It is used by the related editor in Strife to link content, such as creating connections between related documents.
Image
Represents an image in Strife, typically managed through the image editor. This type is used to handle image-related metadata like dimensions, source, and alternative text.
ImageSource
Defines the source of an image. Contains the URL to the generated image file used for display within the CMS.
Label
Represents a label in Strife. Labels are often used for tagging or categorizing content and can be attached to different types of elements.
Link
Represents a hyperlink managed through the Link editor in Strife. This type is commonly used for creating navigational elements or external references in the content.
