@shopify/cli-kit
    Preparing search index...

    Interface ThemeAsset

    Represents a theme or theme extension asset.

    interface ThemeAsset {
        attachment?: string;
        checksum: string;
        key: string;
        stats?: { mtime: number; size: number };
        value?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    attachment?: string

    A base64-encoded image.

    checksum: string

    Represents the checksum value of the theme file.

    key: string

    Identifier of the theme file.

    stats?: { mtime: number; size: number }

    File stats at time of last modification. For attachments, this is the size of the base64 string.

    value?: string

    The text content of the asset, such as the HTML and Liquid markup of a template file.