UNPKG

@shopify/cli-kit

Version:

A set of utilities, interfaces, and models that are common across all the platform features

10 lines (9 loc) 570 B
import { Theme } from './types.js'; export declare const DEVELOPMENT_THEME_ROLE = "development"; export declare const LIVE_THEME_ROLE = "live"; export declare const UNPUBLISHED_THEME_ROLE = "unpublished"; export type Role = typeof DEVELOPMENT_THEME_ROLE | typeof LIVE_THEME_ROLE | typeof UNPUBLISHED_THEME_ROLE; export declare function isDevelopmentTheme(theme: Theme): boolean; export declare function promptThemeName(message: string): Promise<string>; export declare function composeThemeGid(id: number): string; export declare function parseGid(gid: string): number;