Interface ElementTemplateV1

interface ElementTemplateV1 {
    attributes?: {
        [key: string]: {
            conditions: {
                conditions:
                    | undefined
                    | { items: ViewConfigCondition[]; logicalOperator: "every"
                    | "some" };
                id: string;
                type: "always" | "custom";
            }[];
            reactions: {
                colors: TemplateAttributeReactionValue[];
                prefix: TemplateAttributeReactionValue[];
                suffix: TemplateAttributeReactionValue[];
            };
        };
    };
    created: Date;
    edited: Date;
    elementType: { id: string; name: string };
    groups: AttributeGroup[];
    id: string;
    name: string;
    organization: string;
    public: boolean;
    showHeader: boolean;
    state: string;
    styles: {
        backgroundColor: string;
        customCSS: string;
        customCSSRules: string;
        darkerPrimaryColor: string;
        forceOverride: boolean;
        galleryMode: boolean;
        headerColor: string;
        headerImage: { h: number; link: string; w: number };
        hideHeader: boolean;
        lighterPrimaryColor: string;
        linkColor: string;
        overridable: boolean;
        primaryColor: string;
        secondaryColor: string;
        showBreadcrumbs: boolean;
        showControls: boolean;
    };
    user: string;
}

Properties

attributes?: {
    [key: string]: {
        conditions: {
            conditions:
                | undefined
                | { items: ViewConfigCondition[]; logicalOperator: "every"
                | "some" };
            id: string;
            type: "always" | "custom";
        }[];
        reactions: {
            colors: TemplateAttributeReactionValue[];
            prefix: TemplateAttributeReactionValue[];
            suffix: TemplateAttributeReactionValue[];
        };
    };
}
created: Date
edited: Date
elementType: { id: string; name: string }
groups: AttributeGroup[]
id: string
name: string
organization: string
public: boolean
showHeader: boolean
state: string
styles: {
    backgroundColor: string;
    customCSS: string;
    customCSSRules: string;
    darkerPrimaryColor: string;
    forceOverride: boolean;
    galleryMode: boolean;
    headerColor: string;
    headerImage: { h: number; link: string; w: number };
    hideHeader: boolean;
    lighterPrimaryColor: string;
    linkColor: string;
    overridable: boolean;
    primaryColor: string;
    secondaryColor: string;
    showBreadcrumbs: boolean;
    showControls: boolean;
}
user: string