UNPKG

@shopify/cli-kit

Version:

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

13 lines (12 loc) 593 B
import { LocalStorage } from '../local-storage.js'; import { AdminSession } from '../session.js'; type HostThemeId = string; type StoreFqdn = AdminSession['storeFqdn']; interface HostThemeLocalStorageSchema { [themeStore: StoreFqdn]: HostThemeId; } export declare function hostThemeLocalStorage(): LocalStorage<HostThemeLocalStorageSchema>; export declare function getHostTheme(storeFqdn: StoreFqdn): string | undefined; export declare function setHostTheme(storeFqdn: StoreFqdn, themeId: HostThemeId): void; export declare function removeHostTheme(storeFqdn: StoreFqdn): void; export {};