interface PrefabComponent {
    $afterCreate?: Hook[];
    $afterDelete?: Hook[];
    $onUpdate?: Hook[];
    actions?: PrefabAction[];
    descendants: PrefabReference[];
    id?: string;
    label?: string;
    name: string;
    optionCategories?: OptionCategory[];
    optionTemplates?: OptionTemplates;
    options: PrefabComponentOption[];
    ref?: {
        id: string;
    };
    style?: PrefabComponentStyle;
    type?: "COMPONENT";
}

Properties

$afterCreate?: Hook[]
$afterDelete?: Hook[]
$onUpdate?: Hook[]
actions?: PrefabAction[]
descendants: PrefabReference[]
id?: string
label?: string
name: string
optionCategories?: OptionCategory[]
optionTemplates?: OptionTemplates
ref?: {
    id: string;
}
type?: "COMPONENT"