UNPKG

@shopify/cli

Version:

A CLI tool to build for the Shopify platform

2 lines (1 loc) 591 B
import{b as n,c as s,d as h}from"./chunk-XITQULK4.js";import{a as r}from"./chunk-SXTMSGUE.js";import{d as m}from"./chunk-M56NDIMD.js";import{g as o}from"./chunk-VPRTJUIN.js";o();var p=t=>`Development theme #${t} could not be found. Please create a new development theme.`,d="No development theme ID has been set. Please create a development theme first.",i=class extends r{constructor(e){super(e);this.context="Development";this.themeId=n()}async find(){let e=await this.fetch();if(!e)throw new m(this.themeId?p(this.themeId):d);return e}setTheme(e){s(e)}removeTheme(){h()}};export{i as a};