Represents a theme.

interface Theme {
    createdAtRuntime: boolean;
    id: number;
    name: string;
    processing: boolean;
    role: string;
    src?: string;
}

Properties

createdAtRuntime: boolean

A boolean determining whether or not the theme was created at runtime.

id: number

The remote ID of the theme.

name: string

The remote name of the theme.

processing: boolean

A boolean determining if the theme is processing at the theme library.

role: string

The remote role of the theme.

src?: string

A public URL where Shopify can access the theme code.