Interface BaseContent<T>

Interface representing the data structure for a Content.

BrikData

interface BaseContent<T extends BrikDataContentType = BrikDataContentType> {
    type: T;
    label: string;
    for: string;
    link?: string;
    autoFill?: any;
}

Type Parameters

Hierarchy (View Summary)

Properties

type: T

The type of the content.

BaseContent

label: string

The label of the content.

BaseContent

for: string

The target of the content.

BaseContent

link?: string

The link of the content.

BaseContent

autoFill?: any

The auto fill value of the content.

Only used for AI content

BaseContent