@shopify/cli 4.0.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/analytics-5TEIW43T.js +1 -0
- package/dist/analytics-GG7CYCGL.js +1 -0
- package/dist/bootstrap.js +1 -1
- package/dist/{chunk-MBAFWQSZ.js → chunk-2AJ5FI2K.js} +1 -1
- package/dist/{chunk-SRCQVUMC.js → chunk-2GK56X53.js} +1 -1
- package/dist/{chunk-3F6NZK7S.js → chunk-3D4JXJPS.js} +1 -1
- package/dist/{chunk-YI232QLS.js → chunk-3NBK56IK.js} +1 -1
- package/dist/{chunk-HUZUORYM.js → chunk-4DCQNGUV.js} +1 -1
- package/dist/{chunk-6TZAAS5H.js → chunk-4IC626OL.js} +1 -1
- package/dist/{chunk-SBEZBZM7.js → chunk-54CAKCYR.js} +2 -2
- package/dist/{chunk-VWYM4OWK.js → chunk-5UHQVR2Z.js} +1 -1
- package/dist/{chunk-D6JARNEH.js → chunk-5WVAHE5E.js} +1 -1
- package/dist/{chunk-Y5JKV2AI.js → chunk-67MH4AXG.js} +1 -1
- package/dist/{chunk-3DQIVE24.js → chunk-6CYMJ76C.js} +1 -1
- package/dist/chunk-6G6TMKXF.js +28 -0
- package/dist/{chunk-MQNYGGAM.js → chunk-6ITDI2SD.js} +1 -1
- package/dist/{chunk-WZBSLU4Q.js → chunk-6RE2SNCU.js} +1 -1
- package/dist/{chunk-KL5Z3T6L.js → chunk-6SF3ZETE.js} +1 -1
- package/dist/chunk-6WL4GA2M.js +15 -0
- package/dist/{chunk-DU4WR4OP.js → chunk-76R52ODR.js} +1 -1
- package/dist/{chunk-DJQVNH7P.js → chunk-7ESSIN27.js} +1 -1
- package/dist/{chunk-UGDBJTLP.js → chunk-7NH7CHVI.js} +1 -1
- package/dist/{chunk-ELYP4KFP.js → chunk-7QIOUDCX.js} +1 -1
- package/dist/{chunk-GD7FWXJ5.js → chunk-7ZT57XT7.js} +1 -1
- package/dist/{chunk-RF2DPBA6.js → chunk-AGNMOFJS.js} +1 -1
- package/dist/{chunk-WXVZJJOR.js → chunk-BS3BKORT.js} +1 -1
- package/dist/{chunk-K5YV6UVF.js → chunk-C2IK2HY3.js} +1 -1
- package/dist/{chunk-22PCRFG4.js → chunk-C7BTJ32Z.js} +1 -1
- package/dist/{chunk-RFG5RMPL.js → chunk-CBXSPL4W.js} +1 -1
- package/dist/{chunk-B2IVY4V5.js → chunk-CEIQFLCN.js} +1 -1
- package/dist/{chunk-XBXMPFXM.js → chunk-DCPBRWVC.js} +1 -1
- package/dist/{chunk-26D72ZNV.js → chunk-DN2IE3VY.js} +1 -1
- package/dist/{chunk-Q7ING5F5.js → chunk-DRFGABEB.js} +1 -1
- package/dist/{chunk-DJONKJSZ.js → chunk-E3EMHAJB.js} +1 -1
- package/dist/{chunk-TQYMC7TH.js → chunk-EKXY5COY.js} +1 -1
- package/dist/{chunk-4G7J6HIV.js → chunk-EQU4MUQJ.js} +1 -1
- package/dist/chunk-F2QU6WWX.js +1 -0
- package/dist/{chunk-AIV5RI3X.js → chunk-FKMC5OFF.js} +1 -1
- package/dist/{chunk-XLELNRFF.js → chunk-FQWB2F75.js} +1 -1
- package/dist/{chunk-JHPRFW5B.js → chunk-FYFNUDOC.js} +1 -1
- package/dist/chunk-G4BPGWJC.js +1 -0
- package/dist/{chunk-KNVM7N3U.js → chunk-GVQIPEZT.js} +1 -1
- package/dist/{chunk-66RJ5T7A.js → chunk-GZS44BUW.js} +61 -61
- package/dist/{chunk-J3KVONB3.js → chunk-HIBX234C.js} +1 -1
- package/dist/{chunk-OHY4ZL3U.js → chunk-HRUGYZZ4.js} +1 -1
- package/dist/{chunk-ZV6NCNI4.js → chunk-HUIJMGVJ.js} +1 -1
- package/dist/{chunk-ALKTLKQ6.js → chunk-IZ3C5J7G.js} +1 -1
- package/dist/{chunk-RVNMVBPM.js → chunk-JAO53IH2.js} +1 -1
- package/dist/chunk-JCL2RRU6.js +1 -0
- package/dist/{chunk-74HYYXXE.js → chunk-JQJBBXMX.js} +1 -1
- package/dist/{chunk-HSK7YMRE.js → chunk-JXW374CL.js} +1 -1
- package/dist/{chunk-KWJ562F2.js → chunk-K6CTUBFC.js} +1 -1
- package/dist/{chunk-A74GETYC.js → chunk-KHSYW7I4.js} +1 -1
- package/dist/{chunk-LX3ZOW52.js → chunk-KHTV6PBV.js} +1 -1
- package/dist/{chunk-TFSBQ4RY.js → chunk-KKTW6ZCA.js} +1 -1
- package/dist/{chunk-JGXWQULI.js → chunk-KN3WTTHZ.js} +1 -1
- package/dist/{chunk-R466TU3N.js → chunk-KR6QDE7D.js} +1 -1
- package/dist/{chunk-GFJ7UV74.js → chunk-KZOBF55B.js} +1 -1
- package/dist/{chunk-LAZJ47DZ.js → chunk-L2MGAEV3.js} +2 -2
- package/dist/{chunk-JVIKCGDY.js → chunk-M2D7USAX.js} +1 -1
- package/dist/{chunk-INEU4XKS.js → chunk-M2ZHFKPN.js} +1 -1
- package/dist/{chunk-LXFJDCNG.js → chunk-M3RYUB22.js} +1 -1
- package/dist/{chunk-JPGO36XP.js → chunk-M56NDIMD.js} +1 -1
- package/dist/{chunk-GNPS5SBU.js → chunk-MCVRONUY.js} +1 -1
- package/dist/{chunk-4HHXSMD7.js → chunk-MHWV5RQV.js} +1 -1
- package/dist/{chunk-LW7U753G.js → chunk-MWGBTOO3.js} +1 -1
- package/dist/{chunk-JLBH7RCF.js → chunk-MWY3A7O3.js} +1 -1
- package/dist/{chunk-GFEAKSGV.js → chunk-N5PQPIBF.js} +40 -40
- package/dist/{chunk-2APPXD5Z.js → chunk-NMBBTTIH.js} +1 -1
- package/dist/{chunk-VY6SNDKW.js → chunk-NPEVESCV.js} +1 -1
- package/dist/{chunk-V2CNCPIE.js → chunk-OBEWZXOQ.js} +1 -1
- package/dist/{chunk-6BMMB2UO.js → chunk-OTY24J2W.js} +1 -1
- package/dist/{chunk-2VQJQ36C.js → chunk-OY3PNHPZ.js} +1 -1
- package/dist/{chunk-VS3T5YOG.js → chunk-PAP22IQO.js} +2 -2
- package/dist/{chunk-LALIKZPS.js → chunk-PYVAWAUO.js} +1 -1
- package/dist/{chunk-LNHLDRC5.js → chunk-Q33IBIVJ.js} +1 -1
- package/dist/chunk-Q4T2T2QE.js +15 -0
- package/dist/{chunk-NRAFVIU3.js → chunk-QA23HIH4.js} +1 -1
- package/dist/{chunk-52GC6XUT.js → chunk-QBSKKQBN.js} +1 -1
- package/dist/{chunk-KGXQS7LS.js → chunk-S6EJHWJL.js} +1 -1
- package/dist/{chunk-P5VVOLGV.js → chunk-SIMFNECG.js} +1 -1
- package/dist/{chunk-YMWHHINU.js → chunk-SXTMSGUE.js} +1 -1
- package/dist/{chunk-IOLVEXM6.js → chunk-T542UQBY.js} +1 -1
- package/dist/{chunk-QRRNOVJ3.js → chunk-TQ6HYDVC.js} +1 -1
- package/dist/chunk-TYZXGSHO.js +3 -0
- package/dist/{chunk-IIIVWD4R.js → chunk-UHJYPEY2.js} +1 -1
- package/dist/{chunk-KBQ4LGFB.js → chunk-UJVH7FZS.js} +1 -1
- package/dist/{chunk-6B53BWJW.js → chunk-UJXUSRQK.js} +1 -1
- package/dist/{chunk-OXPWCC7I.js → chunk-ULFWK45W.js} +1 -1
- package/dist/chunk-ULQG3XQS.js +1 -0
- package/dist/{chunk-RM5SJJN6.js → chunk-URZPVSJZ.js} +1 -1
- package/dist/{chunk-UGXYQ23Y.js → chunk-UXVZ2P63.js} +1 -1
- package/dist/{chunk-72F3YBNA.js → chunk-UYXEA3Y6.js} +1 -1
- package/dist/{chunk-OUOYKNMY.js → chunk-VICYNG2W.js} +1 -1
- package/dist/{chunk-IASVAERO.js → chunk-WSDN25F5.js} +1 -1
- package/dist/{chunk-DFMQWJQ3.js → chunk-XITQULK4.js} +1 -1
- package/dist/{chunk-B2EHO7ZC.js → chunk-XONFGLJQ.js} +4 -4
- package/dist/{chunk-YZDDTYTU.js → chunk-XOTA6JTZ.js} +3 -3
- package/dist/{chunk-323UTVMM.js → chunk-XR6GMMEU.js} +1 -1
- package/dist/{chunk-XNO6DZYP.js → chunk-XULPJ6UG.js} +1 -1
- package/dist/{chunk-3LVGAQB4.js → chunk-XXVEHDVO.js} +1 -1
- package/dist/chunk-Y7JGYGV7.js +1 -0
- package/dist/chunk-YTNDFQJT.js +3 -0
- package/dist/{chunk-N5YIPQ6J.js → chunk-ZBRRJDGW.js} +1 -1
- package/dist/{chunk-ELVFJ7BR.js → chunk-ZGK3LGCH.js} +1 -1
- package/dist/{chunk-GOJ2QHSR.js → chunk-ZSBA6VIC.js} +1 -1
- package/dist/cli/commands/app/app-logs/sources.js +1 -1
- package/dist/cli/commands/app/build.js +1 -1
- package/dist/cli/commands/app/bulk/cancel.js +1 -1
- package/dist/cli/commands/app/bulk/execute.js +1 -1
- package/dist/cli/commands/app/bulk/status.js +1 -1
- package/dist/cli/commands/app/config/link.js +1 -1
- package/dist/cli/commands/app/config/pull.js +1 -1
- package/dist/cli/commands/app/config/use.js +1 -1
- package/dist/cli/commands/app/config/validate.js +1 -1
- package/dist/cli/commands/app/demo/watcher.js +1 -1
- package/dist/cli/commands/app/deploy.js +1 -1
- package/dist/cli/commands/app/dev/clean.js +1 -1
- package/dist/cli/commands/app/dev.js +1 -1
- package/dist/cli/commands/app/env/pull.js +1 -1
- package/dist/cli/commands/app/env/show.js +1 -1
- package/dist/cli/commands/app/execute.js +1 -1
- package/dist/cli/commands/app/function/build.js +1 -1
- package/dist/cli/commands/app/function/info.js +1 -1
- package/dist/cli/commands/app/function/replay.js +1 -1
- package/dist/cli/commands/app/function/run.js +1 -1
- package/dist/cli/commands/app/function/schema.js +1 -1
- package/dist/cli/commands/app/function/typegen.js +1 -1
- package/dist/cli/commands/app/generate/extension.js +1 -1
- package/dist/cli/commands/app/import-custom-data-definitions.js +1 -1
- package/dist/cli/commands/app/import-extensions.js +1 -1
- package/dist/cli/commands/app/info.js +1 -1
- package/dist/cli/commands/app/init.js +9 -9
- package/dist/cli/commands/app/logs.js +1 -1
- package/dist/cli/commands/app/release.js +1 -1
- package/dist/cli/commands/app/versions/list.js +1 -1
- package/dist/cli/commands/app/webhook/trigger.js +1 -1
- package/dist/cli/commands/auth/login.js +1 -1
- package/dist/cli/commands/auth/logout.js +1 -1
- package/dist/cli/commands/cache/clear.js +1 -1
- package/dist/cli/commands/config/autoupgrade/off.js +1 -1
- package/dist/cli/commands/config/autoupgrade/on.js +1 -1
- package/dist/cli/commands/config/autoupgrade/status.js +1 -1
- package/dist/cli/commands/debug/command-flags.js +1 -1
- package/dist/cli/commands/docs/generate.d.ts +0 -8
- package/dist/cli/commands/docs/generate.js +1 -1
- package/dist/cli/commands/doctor-release/doctor-release.js +1 -1
- package/dist/cli/commands/doctor-release/theme/index.js +1 -1
- package/dist/cli/commands/help.js +1 -1
- package/dist/cli/commands/kitchen-sink/async.js +1 -1
- package/dist/cli/commands/kitchen-sink/index.js +1 -1
- package/dist/cli/commands/kitchen-sink/prompts.js +1 -1
- package/dist/cli/commands/kitchen-sink/static.js +1 -1
- package/dist/cli/commands/notifications/generate.js +1 -1
- package/dist/cli/commands/notifications/list.js +1 -1
- package/dist/cli/commands/organization/list.js +1 -1
- package/dist/cli/commands/search.js +1 -1
- package/dist/cli/commands/theme/check.js +1 -1
- package/dist/cli/commands/theme/console.js +1 -1
- package/dist/cli/commands/theme/delete.js +1 -1
- package/dist/cli/commands/theme/dev.js +1 -1
- package/dist/cli/commands/theme/duplicate.js +1 -1
- package/dist/cli/commands/theme/info.js +1 -1
- package/dist/cli/commands/theme/init.js +1 -1
- package/dist/cli/commands/theme/language-server.js +1 -1
- package/dist/cli/commands/theme/list.js +1 -1
- package/dist/cli/commands/theme/metafields/pull.js +1 -1
- package/dist/cli/commands/theme/open.js +1 -1
- package/dist/cli/commands/theme/package.js +1 -1
- package/dist/cli/commands/theme/preview.js +1 -1
- package/dist/cli/commands/theme/profile.js +1 -1
- package/dist/cli/commands/theme/publish.js +1 -1
- package/dist/cli/commands/theme/pull.js +1 -1
- package/dist/cli/commands/theme/push.js +1 -1
- package/dist/cli/commands/theme/rename.js +1 -1
- package/dist/cli/commands/theme/share.js +1 -1
- package/dist/cli/commands/upgrade.js +1 -1
- package/dist/cli/commands/version.js +1 -1
- package/dist/command-registry.js +1 -1
- package/dist/{conf-store-U5ZITKJN.js → conf-store-BMZFATRQ.js} +1 -1
- package/dist/{deprecations-TU5UQJVV.js → deprecations-7LHRXPXU.js} +1 -1
- package/dist/dist-LDXPBYSZ.js +1 -0
- package/dist/dist-V63ILV6L.js +1 -0
- package/dist/{environments-Z5PR7DSI.js → environments-5X7S2O5U.js} +1 -1
- package/dist/{error-IJGNYKZ3.js → error-ZRLNNGIQ.js} +1 -1
- package/dist/error-handler-PRZFHPRG.js +1 -0
- package/dist/{fs-5BDEA2KD.js → fs-H7V6IRSH.js} +1 -1
- package/dist/hooks/app-init.js +1 -1
- package/dist/hooks/did-you-mean.js +1 -1
- package/dist/hooks/hydrogen-init.js +1 -1
- package/dist/hooks/postrun.js +1 -1
- package/dist/hooks/prerun.js +1 -1
- package/dist/hooks/public-metadata.js +1 -1
- package/dist/hooks/sensitive-metadata.js +1 -1
- package/dist/hooks/tunnel-provider.js +1 -1
- package/dist/hooks/tunnel-start.js +1 -1
- package/dist/index.js +165 -165
- package/dist/is-global-IOWPCT2U.js +1 -0
- package/dist/local-MTKXSZ3I.js +1 -0
- package/dist/{local-storage-JLXBZVWO.js → local-storage-CYEL4MXF.js} +1 -1
- package/dist/{metadata-UDMOTRS7.js → metadata-NOVBMKLM.js} +1 -1
- package/dist/{node-package-manager-HAFRYGUM.js → node-package-manager-N5CVNHA3.js} +1 -1
- package/dist/notifications-system-YX2GPLDW.js +1 -0
- package/dist/{output-YGMHXEIS.js → output-Q46DT46U.js} +1 -1
- package/dist/{system-KLXD4FXF.js → system-E6Q3OBX3.js} +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-GHG3UGB3.js → ui-WRS2IDPP.js} +1 -1
- package/dist/upgrade-TKUN2M5P.js +1 -0
- package/dist/{version-D5PJZIRW.js → version-5W5RVAPA.js} +1 -1
- package/dist/version-BQJ3FPXD.js +1 -0
- package/dist/{workerd-L2EJKIAQ.js → workerd-GOK6GWEX.js} +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +7 -7
- package/dist/analytics-6IHHYAV6.js +0 -1
- package/dist/analytics-KKVP5DT3.js +0 -1
- package/dist/chunk-2I4PRX2I.js +0 -1
- package/dist/chunk-7BGM2GAH.js +0 -1
- package/dist/chunk-BDVAE5MS.js +0 -28
- package/dist/chunk-D3TSJA5S.js +0 -1
- package/dist/chunk-N7RBSKYT.js +0 -1
- package/dist/chunk-ODNGDO4H.js +0 -50
- package/dist/chunk-P7R7FBY2.js +0 -3
- package/dist/chunk-SGQ6D3LU.js +0 -15
- package/dist/chunk-YC6G4MHD.js +0 -3
- package/dist/chunk-ZVJVDCIM.js +0 -1
- package/dist/dist-2Z5TND4U.js +0 -1
- package/dist/dist-GYHFDHKP.js +0 -1
- package/dist/error-handler-WSCGNS2P.js +0 -1
- package/dist/is-global-V4ZRHQG2.js +0 -1
- package/dist/local-6QPX4GCJ.js +0 -1
- package/dist/notifications-system-MP7WDOCS.js +0 -1
- package/dist/upgrade-OPZGPM5J.js +0 -1
- package/dist/version-KRQBMYCH.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as j}from"../../../chunk-
|
|
1
|
+
import{b as j}from"../../../chunk-PYVAWAUO.js";import{a as w}from"../../../chunk-JCL2RRU6.js";import{a as P}from"../../../chunk-AGNMOFJS.js";import{Ba as T,h as k}from"../../../chunk-54CAKCYR.js";import{b as f}from"../../../chunk-7ESSIN27.js";import"../../../chunk-GZS44BUW.js";import"../../../chunk-K2WUCOQJ.js";import"../../../chunk-7QIOUDCX.js";import"../../../chunk-7MUKLZOL.js";import"../../../chunk-VBUZWRUL.js";import"../../../chunk-DCPBRWVC.js";import"../../../chunk-KR6QDE7D.js";import"../../../chunk-UXVZ2P63.js";import"../../../chunk-QSTEVZFQ.js";import"../../../chunk-5Y7GIF2W.js";import"../../../chunk-EKXY5COY.js";import"../../../chunk-4DCQNGUV.js";import"../../../chunk-QBSKKQBN.js";import"../../../chunk-FQWB2F75.js";import{H as g,I as y}from"../../../chunk-XONFGLJQ.js";import"../../../chunk-4LNCYIS3.js";import"../../../chunk-L2MGAEV3.js";import"../../../chunk-PRKBO42R.js";import"../../../chunk-ZSBA6VIC.js";import{a as d}from"../../../chunk-F2QU6WWX.js";import"../../../chunk-XULPJ6UG.js";import{b as E,c as O}from"../../../chunk-XR6GMMEU.js";import"../../../chunk-3TNEIDOD.js";import"../../../chunk-MHWV5RQV.js";import"../../../chunk-XOTA6JTZ.js";import"../../../chunk-MOA33ZFO.js";import"../../../chunk-JUVAGMIH.js";import{g as S,u as A}from"../../../chunk-6G6TMKXF.js";import"../../../chunk-P6XE4MH5.js";import"../../../chunk-KLMDWDT2.js";import"../../../chunk-5CH3B62S.js";import"../../../chunk-QUTQDXSL.js";import"../../../chunk-WSDN25F5.js";import"../../../chunk-M56NDIMD.js";import"../../../chunk-PD5ZHJWI.js";import{r as F}from"../../../chunk-LDGAHMS7.js";import"../../../chunk-ZR76GGZ6.js";import"../../../chunk-EENHXSWU.js";import"../../../chunk-FUOIGXI4.js";import"../../../chunk-6M3ZYNGO.js";import"../../../chunk-QYR5VPQA.js";import"../../../chunk-OBEWZXOQ.js";import{Hb as b,Ib as v,Mb as C,Xb as I}from"../../../chunk-N5PQPIBF.js";import"../../../chunk-CERXUPGC.js";import"../../../chunk-T4M5CWAO.js";import"../../../chunk-PRVQAHWI.js";import"../../../chunk-YTNDFQJT.js";import"../../../chunk-ULQG3XQS.js";import{g as a,j as h}from"../../../chunk-IU2ZQ6TE.js";import"../../../chunk-PIBY5DDZ.js";import{e as D,g as c}from"../../../chunk-VPRTJUIN.js";c();c();async function x(r,e,t,o,n){return n.webEnv?$(r,e,t,n):M(r,e,o,n)}async function $(r,e,t,{format:o}){return j(r,e,t,o)}async function M(r,e,t,o){if(o.format==="json"){let n=_(r.allExtensions.filter(s=>s.isReturnedAsInfo())),i={...r,packageManager:t.packageManager,nodeDependencies:t.nodeDependencies,usesWorkspaces:t.usesWorkspaces,allExtensions:n};return"realExtensions"in i&&(i.realExtensions=_(i.realExtensions)),"specifications"in i&&(i={...i,specifications:i.specifications?.map(s=>L(s))}),v`${JSON.stringify(Object.fromEntries(Object.entries(i).filter(([s])=>s!=="configSchema")),null,2)}`}else return new l(r,e,t,o).output()}function L(r){if("schema"in r){let{schema:e,...t}=r;return t}return r}function _(r){return r.map(e=>{if("specification"in e&&e.specification){let t=e.specification,o=L(t);return{...e,specification:o}}else return e})}var U="unknown",u={subdued:"Not yet configured"},W="NOT LOADED",l=class{constructor(e,t,o,n){this.app=e,this.remoteApp=t,this.project=o,this.options=n}async output(){return[...await this.devConfigsSection(),this.projectSettingsSection(),...await this.appComponentsSection(),await this.systemInfoSection()]}async devConfigsSection(){let e=u;this.app.configuration.build?.automatically_update_urls_on_dev!==void 0&&(e=this.app.configuration.build.automatically_update_urls_on_dev?"Yes":"No");let t=["User","unknown"],o=await this.options.developerPlatformClient.accountInfo();return y(o)?t=["Service account",o.orgName]:g(o)&&(t[1]=o.email),[this.tableSection("Current app configuration",[["Configuration file",{filePath:h(this.app.configPath)||f.app}],["App name",this.remoteApp.title?{userInput:this.remoteApp.title}:u],["Client ID",this.remoteApp.apiKey||u],["Access scopes",k(this.app.configuration)],["Dev store",this.app.configuration.build?.dev_store_url??this.app.hiddenConfig.dev_store_url??u],["Update URLs",e],t],{isFirstItem:!0}),{body:["\u{1F4A1} To change these, run",{command:b(this.project.packageManager,"shopify app config link")}]}]}projectSettingsSection(){return this.tableSection("Your Project",[["Root location",{filePath:this.app.directory}]])}async appComponentsSection(){let e=this.webComponentsSection();return[{title:`
|
|
2
2
|
Directory components`.toUpperCase(),body:""},...e?[e]:[],...this.extensionsSections()]}webComponentsSection(){let e=[],t=[];if(this.app.webs[0])return this.app.webs.forEach(o=>{if(o.configuration)if(o.configuration.name){let{name:n,roles:i}=o.configuration,s=a(this.app.directory,o.directory);t.push([` \u{1F4C2} ${n}`,{filePath:s||"/"}]),i.length>0&&t.push([" roles",i.join(", ")])}else o.configuration.roles.forEach(n=>{t.push([` \u{1F4C2} ${n}`,{filePath:a(this.app.directory,o.directory)}])});else t.push([{subdued:` \u{1F4C2} ${U}`},{filePath:a(this.app.directory,o.directory)}]);if(!this.app.errors.isEmpty()){let n=this.app.errors.getErrors(`${o.directory}/${f.web}`);e.push(...n.map(i=>i.message))}}),this.subtableSection("web",[["\u{1F4C2} web",""],...t,...e.map(o=>[{error:"error"},{error:this.formattedError(o)}])])}extensionsSections(){let e=this.app.allExtensions.filter(o=>o.isReturnedAsInfo());return Array.from(new Set(e.map(o=>o.type))).map(o=>{let n=e.filter(i=>i.type===o);if(n[0])return this.subtableSection(n[0].externalType,n.map(i=>this.extensionSubSection(i)).flat())}).filter(o=>o!==void 0)}extensionSubSection(e){let t=e.configuration,o=[[`\u{1F4C2} ${e.handle||W}`,{filePath:a(this.app.directory,e.directory)}],[" config file",{filePath:a(e.directory,e.configurationPath)}]];t&&"metafields"in t&&Array.isArray(t.metafields)&&t.metafields.length>0&&o.push([" metafields",`${t.metafields.length}`]);let n=this.app.errors.getErrors(e.configurationPath);for(let i of n)o.push([{error:" error"},{error:this.formattedError(i.message)}]);return o}formattedError(e){let t=e.trim();if(I())return t;let[o,...n]=t.split(`
|
|
3
3
|
`);return[`! ${o}`,...n.map(i=>` ${i}`)].join(`
|
|
4
4
|
`)}async systemInfoSection(){let{platform:e,arch:t}=S();return this.tableSection("Tooling and System",[["Shopify CLI",d],["Package manager",this.project.packageManager],["OS",`${e}-${t}`],["Shell",process.env.SHELL??"unknown"],["Node version",process.version]])}tableSection(e,t,{isFirstItem:o=!1}={}){return{title:`${o?"":`
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import{a as xe}from"../../../chunk-
|
|
2
|
-
Use the`,{command:"--package-manager"},"flag to select a different package manager."]}),await
|
|
3
|
-
`);break}case"homebrew":case"unknown":throw new
|
|
4
|
-
`)}}),
|
|
1
|
+
import{a as xe}from"../../../chunk-JCL2RRU6.js";import{Ba as Le,E as Pe,J as ve,M as Ae,O as ke,_ as Ce,aa as Te,g as we,ya as Re}from"../../../chunk-54CAKCYR.js";import{T as N,X as Ie,k as be}from"../../../chunk-7ESSIN27.js";import{a as ye}from"../../../chunk-ZTMSBSYD.js";import{b as ge}from"../../../chunk-E3EMHAJB.js";import{b as he}from"../../../chunk-6WL4GA2M.js";import{a as de,c as ue}from"../../../chunk-TYZXGSHO.js";import"../../../chunk-GZS44BUW.js";import"../../../chunk-K2WUCOQJ.js";import"../../../chunk-7QIOUDCX.js";import"../../../chunk-7MUKLZOL.js";import"../../../chunk-VBUZWRUL.js";import"../../../chunk-DCPBRWVC.js";import"../../../chunk-KR6QDE7D.js";import"../../../chunk-UXVZ2P63.js";import"../../../chunk-QSTEVZFQ.js";import"../../../chunk-5Y7GIF2W.js";import"../../../chunk-EKXY5COY.js";import"../../../chunk-4DCQNGUV.js";import"../../../chunk-QBSKKQBN.js";import"../../../chunk-FQWB2F75.js";import"../../../chunk-XONFGLJQ.js";import"../../../chunk-4LNCYIS3.js";import{B as ie,D as re,E as oe,f as T,g as ee,i as te,p as ae}from"../../../chunk-L2MGAEV3.js";import"../../../chunk-PRKBO42R.js";import"../../../chunk-ZSBA6VIC.js";import{a as z}from"../../../chunk-F2QU6WWX.js";import"../../../chunk-XULPJ6UG.js";import{b as fe}from"../../../chunk-XR6GMMEU.js";import"../../../chunk-3TNEIDOD.js";import{b as Q}from"../../../chunk-MHWV5RQV.js";import"../../../chunk-XOTA6JTZ.js";import"../../../chunk-MOA33ZFO.js";import"../../../chunk-JUVAGMIH.js";import{D as ce,f as ne,u as se,v as le,z as S}from"../../../chunk-6G6TMKXF.js";import"../../../chunk-P6XE4MH5.js";import"../../../chunk-KLMDWDT2.js";import"../../../chunk-5CH3B62S.js";import"../../../chunk-QUTQDXSL.js";import{d as pe}from"../../../chunk-WSDN25F5.js";import{d as m}from"../../../chunk-M56NDIMD.js";import"../../../chunk-PD5ZHJWI.js";import{r as je}from"../../../chunk-LDGAHMS7.js";import"../../../chunk-ZR76GGZ6.js";import"../../../chunk-EENHXSWU.js";import"../../../chunk-FUOIGXI4.js";import"../../../chunk-6M3ZYNGO.js";import"../../../chunk-QYR5VPQA.js";import"../../../chunk-OBEWZXOQ.js";import{$ as U,$a as Z,Ab as X,Bb as J,Ca as k,Gb as g,Hb as R,Ib as w,Ja as B,Oa as K,Ta as I,Ua as C,Va as W,Wa as q,ka as H,ma as Y,sa as F,ua as O,wa as V}from"../../../chunk-N5PQPIBF.js";import"../../../chunk-CERXUPGC.js";import"../../../chunk-T4M5CWAO.js";import"../../../chunk-PRVQAHWI.js";import{e as me}from"../../../chunk-YTNDFQJT.js";import"../../../chunk-ULQG3XQS.js";import{d as s,e as A,f as D,p as j,q as E}from"../../../chunk-IU2ZQ6TE.js";import"../../../chunk-PIBY5DDZ.js";import{e as De,g as u}from"../../../chunk-VPRTJUIN.js";u();u();var b={reactRouter:{url:"https://github.com/Shopify/shopify-app-template-react-router",label:"Build a React Router app (recommended)",visible:!0,branches:{prompt:"For your React Router template, which language do you want?",options:{javascript:{branch:"javascript-cli",label:"JavaScript"},typescript:{branch:"main-cli",label:"TypeScript"}}}},remix:{url:"https://github.com/Shopify/shopify-app-template-remix",label:"Build a Remix app",visible:!1,branches:{prompt:"For your Remix template, which language do you want?",options:{javascript:{branch:"javascript",label:"JavaScript"},typescript:{branch:"main",label:"TypeScript"}}}},none:{url:"https://github.com/Shopify/shopify-app-template-extension-only",label:"Build an extension-only app",visible:!0},node:{url:"https://github.com/Shopify/shopify-app-template-node",visible:!1},ruby:{url:"https://github.com/Shopify/shopify-app-template-ruby",visible:!1}},_=Object.keys(b),L=_.filter(e=>b[e].visible),Ee=["reactRouter","none"],Ue=async e=>{let t=e.template,a=e.flavor,o={template:b.reactRouter.url};t??=await S({choices:Ee.map(r=>({label:b[r].label||r,value:r})),message:"Get started building your app:",defaultValue:_.find(r=>b[r].url===o.template)});let i={...e,template:t,templateType:x(t)?t:"custom",globalCLIResult:{install:!1,alreadyInstalled:!1}},n,p;if(i.templateType!=="custom"){let r=b[i.templateType];n=r.url,r.branches&&(a?p=r.branches.options[a]?.branch:p=await S({message:r.branches.prompt||"Choose a flavor:",choices:Object.entries(r.branches.options).map(([f,c])=>({value:c.branch,label:c.label}))}))}return p&&(n=`${n}#${p}`),i.template=n||i.template||o.template,i.globalCLIResult=await J(),i},Fe=Ue;function x(e){return _.includes(e)}u();u();import{platform as He}from"os";async function Oe({packageJSON:e,local:t,useGlobalCLI:a}){if(e.dependencies=e.dependencies??{},a?delete e.dependencies["@shopify/cli"]:e.dependencies["@shopify/cli"]=z,delete e.dependencies["@shopify/app"],t){let o=await Ye("cli");e.dependencies["@shopify/cli"]=o;let i={"@shopify/cli":o};e.overrides=e.overrides?{...e.overrides,...i}:i,e.resolutions=e.resolutions?{...e.resolutions,...i}:i}return e}async function Ye(e){return`file:${await Z(`packages/${e}`,{type:"directory",cwd:j(import.meta.url)})}`}async function Se({from:e,packageManager:t}){let a=He()==="win32"&&t==="yarn"?["--network-concurrency","1"]:[];return ae({directory:A(e),packageManager:t,args:a})}u();async function G(e,t){let o=(await q([s(e,"**",".git"),s(e,"**",".github"),s(e,"**",".gitmodules"),s(e,"**",".cli-liquid-bypass"),s(e,"LICENSE*"),s(e,"**","frontend/LICENSE*"),s(e,"package.json.cli2")],{dot:!0,onlyFiles:!1,onlyDirectories:!1,ignore:["**/node_modules/**"]})).map(p=>k(p,{force:!0})),i=new Set(ee[t]),n=T.filter(p=>!i.has(p)).map(p=>{let r=s(e,p);if(C(r))return B(r)});return Promise.all([...o,...n])}async function Ve(e){let t=e.packageManager,a=U(e.name),o=s(e.directory,a),i=ge(e.template);await Ne(o,a),await Be(o),se({body:["Initializing project with",{command:t},`
|
|
2
|
+
Use the`,{command:"--package-manager"},"flag to select a different package manager."]}),await H(async r=>{let f=s(r,"download"),c=i.filePath?s(f,i.filePath):f,d=s(r,"app"),v=i.branch?`${i.baseURL}#${i.branch}`:i.baseURL;await V(f);let y=[{title:`Downloading template from ${v}`,task:async()=>{await ue({repoUrl:v,destination:f,shallow:!0})}}];y.push({title:"Parsing liquid",task:async()=>{await he(c,d,{dependency_manager:t,app_name:e.name})}},{title:"Updating package.json",task:async()=>{let l=(await ie(d)).content;l.name=a,l.author=await ne()??"",l.private=!0;let P=["extensions/*"].concat(Ke(d));switch(t){case"npm":case"yarn":case"bun":l.workspaces=P;break;case"pnpm":{await We(d,P),await F(s(d,".npmrc"),`auto-install-peers=true
|
|
3
|
+
`);break}case"homebrew":case"unknown":throw new te}await Oe({packageJSON:l,local:e.local,directory:d,useGlobalCLI:e.useGlobalCLI}),await re(d,l)}}),e.postCloneActions.removeLockfilesFromGitignore&&y.push({title:"Removing lockfiles from .gitignore",task:async()=>{let l=s(d,".gitignore");if(await I(l)){let P=await Y(l);T.forEach($e=>{let ze=new RegExp(`^${$e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}$`,"gm");P=P.replace(ze,"")}),await O(l,P.trim())}}}),await me()&&y.push({title:"[Shopifolks-only] Configuring the project's NPM registry",task:async()=>{let l=s(d,".npmrc");await F(l,`@shopify:registry=https://registry.npmjs.org
|
|
4
|
+
`)}});let $=!1;y.push({title:"Preparing project directory",task:async()=>{await Ne(o,a),$=!0,await K(d,o)}}),y.push({title:`Installing dependencies with ${t}`,task:async()=>{await Se({from:o,packageManager:t})}},{title:"Cleaning up",task:async()=>{await G(o,t)}},{title:"Initializing a Git repository...",task:async()=>{await de(o)}});try{await ce(y)}catch(l){throw $&&await k(o).catch(()=>{}),l}});let n;if(e.selectedAppOrNameResult.result==="new"){let r=await Pe(o,e.name),f=e.selectedAppOrNameResult.org;n=await e.developerPlatformClient.createApp(f,r)}else n=e.selectedAppOrNameResult.app;await Re({directory:o,apiKey:n.apiKey,appId:n.id,organizationId:n.organizationId,configName:"shopify.app.toml",developerPlatformClient:e.developerPlatformClient,isNewApp:!0},!1);let p=await Le({directory:o,clientId:void 0,forceRelink:!1,userProvidedConfigName:void 0});return le({headline:[{userInput:a},"is ready for you to build!"],nextSteps:[["Run",{command:`cd ${a}`}],["For extensions, run",{command:R(t,"shopify app generate extension")}],["To see your app, run",{command:R(t,"shopify app dev")}]],reference:[{link:{label:"Shopify docs",url:"https://shopify.dev"}},[{link:{label:"Shopify Dev MCP,",url:"https://shopify.dev/docs/apps/build/devmcp"}},"connect your AI assistant to development resources"],["For an overview of commands, run",{command:R(t,"shopify app","--help")}]]}),{app:p.app}}async function Ne(e,t){if(await I(e))throw new m(`
|
|
5
5
|
A directory with this name (${t}) already exists.
|
|
6
|
-
Choose a new name for your app.`)}async function
|
|
7
|
-
`);await
|
|
8
|
-
${
|
|
9
|
-
- <${
|
|
10
|
-
- Any GitHub repo with optional branch and subpath, e.g., https://github.com/Shopify/<repository>/[subpath]#[branch]`,env:"SHOPIFY_FLAG_TEMPLATE"}),flavor:h.Flags.string({description:"Which flavor of the given template to use.",env:"SHOPIFY_FLAG_TEMPLATE_FLAVOR"}),"package-manager":h.Flags.string({char:"d",env:"SHOPIFY_FLAG_PACKAGE_MANAGER",hidden:!1,options:["npm","yarn","pnpm","bun"]}),local:h.Flags.boolean({char:"l",env:"SHOPIFY_FLAG_LOCAL",default:!1,hidden:!0}),"client-id":h.Flags.string({hidden:!1,description:"The Client ID of your app. Use this to automatically link your new project to an existing app. Using this flag avoids the app selection prompt.",env:"SHOPIFY_FLAG_CLIENT_ID",exclusive:["config"]}),"organization-id":h.Flags.string({hidden:!1,description:"The organization ID. Your organization ID can be found in your Dev Dashboard URL: https://dev.shopify.com/dashboard/<organization-id>",env:"SHOPIFY_FLAG_ORGANIZATION_ID",exclusive:["client-id"]})}}async run(){let{flags:t}=await this.parse(e);if(Ge(t.template),Me(t.template,t.flavor),t.name!==void 0&&t.name.trim()==="")throw new
|
|
6
|
+
Choose a new name for your app.`)}async function Be(e){let t=new Q({projectName:"shopify-cli-app"}),a=A(e);t.delete(a)}function Ke(e){return["web","web/frontend"].filter(t=>C(s(e,t)))}async function We(e,t){let a=s(e,"pnpm-workspace.yaml");if(await I(a))return;let o=t.map(i=>` - '${i}'`).join(`
|
|
7
|
+
`);await O(a,`packages:
|
|
8
|
+
${o}`)}var _e=Ve;u();function Ge(e){if(!e)return;let t=ye(e);if(t&&t.origin!=="https://github.com")throw new m("Only GitHub repository references are supported, e.g., https://github.com/Shopify/<repository>/[subpath]#[branch]");if(!t&&!x(e))throw new m(w`Only ${L.map(a=>w`${g.yellow(a)}`.value).join(", ")} template aliases are supported, please provide a valid URL`)}function Me(e,t){if(!e){if(t)throw new m(w`The ${g.yellow("--flavor")} flag requires the ${g.yellow("--template")} flag to be set`);return}if(!t)return;if(!x(e))throw new m(w`The ${g.yellow("--flavor")} flag is not supported for custom templates`);let a=b[e];if(!a.branches)throw new m(w`The ${g.yellow(e)} template does not support flavors`);if(!a.branches.options[t])throw new m(w`Invalid option for ${g.yellow("--flavor")}\nThe ${g.yellow("--flavor")} flag for ${g.yellow(e)} accepts only ${Object.keys(a.branches.options).map(o=>w`${g.yellow(o)}`.value).join(", ")}`)}var h=De(je(),1);var M=class e extends xe{static{this.summary="Create a new app project"}static{this.flags={...fe,name:h.Flags.string({char:"n",env:"SHOPIFY_FLAG_NAME",hidden:!1,description:"The name for the new app. When provided, skips the app selection prompt and creates a new app with this name."}),path:h.Flags.string({char:"p",env:"SHOPIFY_FLAG_PATH",parse:async t=>D(t),default:async()=>E(),hidden:!1}),template:h.Flags.string({description:`The app template. Accepts one of the following:
|
|
9
|
+
- <${L.join("|")}>
|
|
10
|
+
- Any GitHub repo with optional branch and subpath, e.g., https://github.com/Shopify/<repository>/[subpath]#[branch]`,env:"SHOPIFY_FLAG_TEMPLATE"}),flavor:h.Flags.string({description:"Which flavor of the given template to use.",env:"SHOPIFY_FLAG_TEMPLATE_FLAVOR"}),"package-manager":h.Flags.string({char:"d",env:"SHOPIFY_FLAG_PACKAGE_MANAGER",hidden:!1,options:["npm","yarn","pnpm","bun"]}),local:h.Flags.boolean({char:"l",env:"SHOPIFY_FLAG_LOCAL",default:!1,hidden:!0}),"client-id":h.Flags.string({hidden:!1,description:"The Client ID of your app. Use this to automatically link your new project to an existing app. Using this flag avoids the app selection prompt.",env:"SHOPIFY_FLAG_CLIENT_ID",exclusive:["config"]}),"organization-id":h.Flags.string({hidden:!1,description:"The organization ID. Your organization ID can be found in your Dev Dashboard URL: https://dev.shopify.com/dashboard/<organization-id>",env:"SHOPIFY_FLAG_ORGANIZATION_ID",exclusive:["client-id"]})}}async run(){let{flags:t}=await this.parse(e);if(Ge(t.template),Me(t.template,t.flavor),t.name!==void 0&&t.name.trim()==="")throw new m("The --name flag can't be empty","Provide a valid app name, for example: --name my-app");let a=oe(t["package-manager"]),o=t.name??await qe(t.path),i=N();await i.session();let n=await Fe({template:t.template,flavor:t.flavor}),p,r;if(t["client-id"]){let c=await Ce({apiKey:t["client-id"]});r=c.title,i=c.developerPlatformClient??i,p={result:"existing",app:c}}else{let c;t["organization-id"]?c=await Ie(t["organization-id"],i):c=await Te(),i=N({organization:c});let{organization:d,apps:v,hasMorePages:y}=await i.orgAndApps(c.id);p=await Ze(t.name!==void 0,o,v,y,d,i),r=p.result==="new"?p.name:p.app.title}n.globalCLIResult.install&&await X(a),await pe(()=>({cmd_create_app_template:n.templateType,cmd_create_app_template_url:n.template}));let{app:f}=await _e({name:r,selectedAppOrNameResult:p,packageManager:a,template:n.template,local:t.local,directory:t.path,useGlobalCLI:n.globalCLIResult.alreadyInstalled||n.globalCLIResult.install,developerPlatformClient:i,postCloneActions:{removeLockfilesFromGitignore:n.templateType!=="custom"}});return{app:f}}};async function qe(e){for(let t=0;t<3;t++){let a=await W({suffix:"app",directory:e});if(be(a))return a}return""}async function Ze(e,t,a,o,i,n){let p=a.length===0||e;if(p||(p=await ke()),p)return{result:"new",name:e?t:await Ae(t),org:i};{let r=await ve(we(n,i.id),a,o);if(!r)throw new m("Unable to select an app: the selection prompt was interrupted.");let f=await n.appFromIdentifiers(r.apiKey);if(!f)throw new m(`App with id ${r.id} not found`);return{result:"existing",app:f}}}export{M as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as re,b as se,c as ne,d as ie,f as F,h as v,i as ae,j as pe,l as le,m as ue,n as ce,q as me,r as fe,s as ge,t as de,u as B,v as xe,w as Te,x as he,y as I,z as w}from"../../../chunk-ALKTLKQ6.js";import{a as oe}from"../../../chunk-QRRNOVJ3.js";import{a as te}from"../../../chunk-D3TSJA5S.js";import{a as Q}from"../../../chunk-RF2DPBA6.js";import{Ba as ee,D as K,W as X,Z,k as Y}from"../../../chunk-SBEZBZM7.js";import{Y as W}from"../../../chunk-DJQVNH7P.js";import"../../../chunk-YOZNRLFC.js";import"../../../chunk-XEFQQPL4.js";import"../../../chunk-66RJ5T7A.js";import"../../../chunk-K2WUCOQJ.js";import"../../../chunk-ELYP4KFP.js";import"../../../chunk-7MUKLZOL.js";import"../../../chunk-VBUZWRUL.js";import"../../../chunk-XBXMPFXM.js";import"../../../chunk-R466TU3N.js";import"../../../chunk-UGXYQ23Y.js";import"../../../chunk-QSTEVZFQ.js";import"../../../chunk-5Y7GIF2W.js";import"../../../chunk-TQYMC7TH.js";import"../../../chunk-HUZUORYM.js";import"../../../chunk-52GC6XUT.js";import"../../../chunk-XLELNRFF.js";import{z as j}from"../../../chunk-B2EHO7ZC.js";import"../../../chunk-4LNCYIS3.js";import"../../../chunk-LAZJ47DZ.js";import"../../../chunk-PRKBO42R.js";import"../../../chunk-GOJ2QHSR.js";import"../../../chunk-7BGM2GAH.js";import"../../../chunk-XNO6DZYP.js";import{b as G,c as H}from"../../../chunk-323UTVMM.js";import"../../../chunk-3TNEIDOD.js";import"../../../chunk-4HHXSMD7.js";import"../../../chunk-YZDDTYTU.js";import"../../../chunk-MOA33ZFO.js";import"../../../chunk-JUVAGMIH.js";import{i as V,u as $}from"../../../chunk-BDVAE5MS.js";import"../../../chunk-P6XE4MH5.js";import"../../../chunk-KLMDWDT2.js";import"../../../chunk-5CH3B62S.js";import"../../../chunk-QUTQDXSL.js";import"../../../chunk-IASVAERO.js";import{d as E}from"../../../chunk-JPGO36XP.js";import"../../../chunk-PD5ZHJWI.js";import{r as Le}from"../../../chunk-LDGAHMS7.js";import"../../../chunk-ZR76GGZ6.js";import"../../../chunk-EENHXSWU.js";import"../../../chunk-FUOIGXI4.js";import"../../../chunk-6M3ZYNGO.js";import"../../../chunk-QYR5VPQA.js";import"../../../chunk-V2CNCPIE.js";import{Mb as N,Nb as S,da as z,eb as O,fb as f,gb as s}from"../../../chunk-GFEAKSGV.js";import"../../../chunk-CERXUPGC.js";import"../../../chunk-T4M5CWAO.js";import"../../../chunk-PRVQAHWI.js";import"../../../chunk-YC6G4MHD.js";import"../../../chunk-N7RBSKYT.js";import{j as R}from"../../../chunk-IU2ZQ6TE.js";import"../../../chunk-PIBY5DDZ.js";import{e as L,g as x}from"../../../chunk-VPRTJUIN.js";x();x();x();x();x();x();var k=L(O(),1);function ye(t){let r=(0,k.useRef)(t);(0,k.useEffect)(()=>{r.current=t},[t]),(0,k.useEffect)(()=>{let n;function i(){r.current().then(({retryIntervalMs:p})=>{p&&(n=setTimeout(i,p))}).catch(()=>{})}return n=setTimeout(i,0),()=>n&&clearTimeout(n)},[])}x();var M=async({pollOptions:{jwtToken:t,cursor:r,filters:n},developerPlatformClient:i,organizationId:a})=>{let p=await i.appLogs({jwtToken:t,cursor:r},a),{errors:c,status:u}=p;if(u!==200){if(u===401||u===429||u>=500)return{errors:c.map(y=>({status:u,message:y}))};throw new E(`${c.join(", ")} while fetching app logs`)}let{cursor:o,app_logs:l}=p,g=Ee(l,n);return{cursor:o,appLogs:g}};function Ee(t,r){let n=t;return(r.status!==void 0||r.sources!==void 0)&&(n=n.filter(i=>{let a=r.status===void 0?!0:i.status===r.status,p=r.sources===void 0?!0:r.sources.includes(`${i.source_namespace}.${i.source}`);return a&&p})),n}var P=L(O(),1);async function ke({jwtToken:t,cursor:r,filters:n,storeNameById:i,organizationId:a,setErrors:p,setAppLogOutputs:c,resubscribeCallback:u,developerPlatformClient:o}){let l=t,g=F,y=r,A=await M({pollOptions:{jwtToken:t,cursor:r,filters:n},developerPlatformClient:o,organizationId:a}),m="not_attempted",b=A;if(b.errors){let T=await B({response:b,onThrottle:d=>{p(["Request throttled while polling app logs.",`Retrying in ${d/1e3}s`])},onUnknownError:d=>{p(["Error while polling app logs",`Retrying in ${d/1e3}s`])},onResubscribe:()=>u()});m=T.resubscribeResult,T.nextJwtToken&&(l=T.nextJwtToken),g=T.retryIntervalMs}else{p(d=>d.length?[]:d);let{appLogs:T}=A;if(y=A.cursor,T)for(let d of T){let h,C,D,J=i.get(d.shop_id.toString());if(J===void 0)continue;switch(d.log_type){case pe:h=me(d.payload),C=`export "${h.export}" executed in ${(h.fuelConsumed/ae).toFixed(4)}M instructions`;break;case le:h=fe(d.payload),C="network access response retrieved from cache";break;case ue:h=ge(d.payload),C="network access request executing in background";break;case ce:h=de(d.payload),D=h.connectTimeMs&&h.writeReadTimeMs?h.connectTimeMs+h.writeReadTimeMs:null,C=`network access request executed${D?` in ${D} ms`:""}`;break;default:continue}let Ie={status:d.status==="success"?"Success":"Failure",source:d.source,storeName:J,description:C,logTimestamp:z(d.log_timestamp)};h&&c(Ce=>[...Ce,{appLog:h,prefix:Ie}])}}return{nextJwtToken:l,retryIntervalMs:g,cursor:y??r,resubscribeResult:m}}function be({initialJwt:t,filters:r,resubscribeCallback:n,storeNameById:i,developerPlatformClient:a,organizationId:p}){let[c,u]=(0,P.useState)([]),[o,l]=(0,P.useState)([]),g=(0,P.useRef)(t),y=(0,P.useRef)(0),A=(0,P.useRef)(""),m=(0,P.useRef)(0),b=(0,P.useCallback)(async()=>{let T=await ke({jwtToken:g.current,cursor:A.current,filters:r,storeNameById:i,setErrors:u,setAppLogOutputs:l,resubscribeCallback:n,developerPlatformClient:a,organizationId:p});if(T.resubscribeResult==="failed"){if(m.current+=1,m.current>=v)return u(["App log streaming session has expired. Please restart your dev session."]),{retryIntervalMs:0}}else T.resubscribeResult==="succeeded"&&(m.current=0);return g.current=T.nextJwtToken,A.current=T.cursor,y.current=T.retryIntervalMs,{retryIntervalMs:y.current}},[]);return ye(b),{appLogOutputs:o,errors:c}}var e=L(O(),1);var Oe=t=>{switch(t){case 0:return"No cached response available";case 1:return"Cache is about to expire";case 2:return"Unknown reason"}},Pe=({pollOptions:{jwtToken:t,filters:r},resubscribeCallback:n,storeNameById:i,developerPlatformClient:a,organizationId:p})=>{let{appLogOutputs:c,errors:u}=be({filters:r,initialJwt:t,resubscribeCallback:n,storeNameById:i,developerPlatformClient:a,organizationId:p});return e.default.createElement(e.default.Fragment,null,c.map(({appLog:o,prefix:l},g)=>e.default.createElement(f,{flexDirection:"column",key:g},e.default.createElement(f,{flexDirection:"row",gap:1},e.default.createElement(s,null,e.default.createElement(s,{color:"green"},l.logTimestamp," "),e.default.createElement(s,{color:"blueBright"},`${l.storeName.split(".")[0]}`," "),e.default.createElement(s,{color:"blueBright"},l.source," "),e.default.createElement(s,{color:l.status==="Success"?"green":"red"},l.status," "),e.default.createElement(s,null,l.description))),e.default.createElement(f,{flexDirection:"column",marginLeft:4},o instanceof re&&e.default.createElement(f,{flexDirection:"column"},e.default.createElement(s,null,o.logs),o.inputQueryVariablesMetafieldKey&&o.inputQueryVariablesMetafieldNamespace?e.default.createElement(f,{flexDirection:"column",marginTop:1},e.default.createElement(s,{bold:!0},"Input Query Variables:"),e.default.createElement(f,{flexDirection:"row",marginLeft:1,marginTop:1},e.default.createElement(s,{dimColor:!0},"Namespace:"),e.default.createElement(s,null," ",o.inputQueryVariablesMetafieldNamespace)),e.default.createElement(f,{flexDirection:"row",marginLeft:1},e.default.createElement(s,{dimColor:!0},"Key:"),e.default.createElement(s,null," ",o.inputQueryVariablesMetafieldKey)),e.default.createElement(f,{marginLeft:1,marginTop:1},e.default.createElement(s,null,w(o.inputQueryVariablesMetafieldValue)??e.default.createElement(s,{color:"red"},"Metafield is not set")))):null,o.input?e.default.createElement(f,{flexDirection:"column",marginTop:1},e.default.createElement(s,{bold:!0},"Input ",e.default.createElement(s,{dimColor:!0},"(",o.inputBytes," bytes):")),e.default.createElement(f,{marginLeft:1,marginTop:1},e.default.createElement(s,null,w(o.input)))):null,o.output?e.default.createElement(f,{flexDirection:"column",marginTop:1},e.default.createElement(s,{bold:!0},"Output ",e.default.createElement(s,{dimColor:!0},"(",o.outputBytes," bytes):")),e.default.createElement(f,{marginLeft:1,marginTop:1},e.default.createElement(s,null,w(o.output)))):null),o instanceof se&&e.default.createElement(f,{flexDirection:"column"},e.default.createElement(s,null,"Cache write time: ",new Date(o.cacheEntryEpochMs).toISOString()),e.default.createElement(s,null,"Cache TTL: ",o.cacheTtlMs/1e3," s"),e.default.createElement(s,null,"HTTP request:"),e.default.createElement(s,null,w(o.httpRequest)),e.default.createElement(s,null,"HTTP response:"),e.default.createElement(s,null,w(o.httpResponse))),o instanceof ne&&e.default.createElement(f,{flexDirection:"column"},e.default.createElement(s,null,"Reason: ",Oe(o.reason)),e.default.createElement(s,null,"HTTP request:"),e.default.createElement(s,null,w(o.httpRequest))),o instanceof ie&&e.default.createElement(f,{flexDirection:"column"},e.default.createElement(s,null,"Attempt: ",o.attempt),o.connectTimeMs?e.default.createElement(s,null,"Connect time: ",o.connectTimeMs," ms"):null,o.writeReadTimeMs?e.default.createElement(s,null,"Write read time: ",o.writeReadTimeMs," ms"):null,e.default.createElement(s,null,"HTTP request:"),e.default.createElement(s,null,w(o.httpRequest)),o.httpResponse?e.default.createElement(f,{flexDirection:"column"},e.default.createElement(s,null,"HTTP response:"),e.default.createElement(s,null,w(o.httpResponse))):null,o.error?e.default.createElement(s,null,"Error: ",o.error):null)))),u.length>0&&e.default.createElement(f,{flexDirection:"column"},u.map((o,l)=>e.default.createElement(f,{key:l},e.default.createElement(s,{color:"red"},o)))))};var Ae=L(O(),1);async function we({pollOptions:t,options:{variables:r,developerPlatformClient:n},storeNameById:i,organizationId:a}){return V(Ae.default.createElement(Pe,{pollOptions:t,resubscribeCallback:async()=>I(n,r,a),storeNameById:i,developerPlatformClient:n,organizationId:a}))}x();async function U({pollOptions:t,options:{variables:r,developerPlatformClient:n},storeNameById:i,organizationId:a,consecutiveResubscribeFailures:p=0}){let c=await M({pollOptions:t,developerPlatformClient:n,organizationId:a}),u=F,o=t.jwtToken,l=p,g=c;if(g.errors){let m=await B({response:g,onThrottle:b=>{S(JSON.stringify({message:"Request throttled while polling app logs.",retry_in_ms:b}))},onUnknownError:b=>{S(JSON.stringify({message:"Error while polling app logs.",retry_in_ms:b}))},onResubscribe:()=>I(n,r,a)});if(m.resubscribeResult==="failed"){if(l+=1,l>=v){S(JSON.stringify({message:"App log streaming session has expired. Please restart your dev session."}));return}}else m.resubscribeResult==="succeeded"&&(l=0);m.nextJwtToken&&(o=m.nextJwtToken),u=m.retryIntervalMs}else l=0;let{cursor:y,appLogs:A}=c;A&&A.forEach(m=>{let b=i.get(m.shop_id?.toString());b!==void 0&&N(Te({appLog:m,appLogPayload:he(m.payload,m.log_type),storeName:b,prettyPrint:!1}))}),setTimeout(()=>{U({options:{variables:r,developerPlatformClient:n},pollOptions:{jwtToken:o||t.jwtToken,cursor:y??t.cursor,filters:t.filters},storeNameById:i,organizationId:a,consecutiveResubscribeFailures:l}).catch(m=>{throw m})},u)}async function Se(t){let{app:r,remoteApp:n,developerPlatformClient:i}=t,a=await Ne(t),p=xe(r);if(p.length===0)throw new E("This app has no log sources. Learn more about app logs at https://shopify.dev/docs/api/shopify-cli/app/app-logs");if(t.sources){let g=t.sources.filter(y=>!p.includes(y));if(g.length)throw new E(`Invalid sources: ${g.join(", ")}. Valid sources are: ${p.join(", ")}`)}let c={shopIds:a.storeIds.map(Number),apiKey:n.apiKey},u=await I(i,c,t.organization.id),o={status:t.status,sources:t.sources},l={jwtToken:u,filters:o};t.format==="json"?(N(JSON.stringify({subscribedToStores:t.storeFqdns})),S(JSON.stringify({message:"Waiting for app logs..."})),await U({options:{variables:c,developerPlatformClient:i},pollOptions:l,storeNameById:a.storeNameById,organizationId:t.organization.id})):(S(`Waiting for app logs...
|
|
1
|
+
import{a as re,b as se,c as ne,d as ie,f as F,h as v,i as ae,j as pe,l as le,m as ue,n as ce,q as me,r as fe,s as ge,t as de,u as B,v as xe,w as Te,x as he,y as I,z as w}from"../../../chunk-IZ3C5J7G.js";import{a as oe}from"../../../chunk-TQ6HYDVC.js";import{a as te}from"../../../chunk-JCL2RRU6.js";import{a as Q}from"../../../chunk-AGNMOFJS.js";import{Ba as ee,D as K,W as X,Z,k as Y}from"../../../chunk-54CAKCYR.js";import{Y as W}from"../../../chunk-7ESSIN27.js";import"../../../chunk-YOZNRLFC.js";import"../../../chunk-XEFQQPL4.js";import"../../../chunk-GZS44BUW.js";import"../../../chunk-K2WUCOQJ.js";import"../../../chunk-7QIOUDCX.js";import"../../../chunk-7MUKLZOL.js";import"../../../chunk-VBUZWRUL.js";import"../../../chunk-DCPBRWVC.js";import"../../../chunk-KR6QDE7D.js";import"../../../chunk-UXVZ2P63.js";import"../../../chunk-QSTEVZFQ.js";import"../../../chunk-5Y7GIF2W.js";import"../../../chunk-EKXY5COY.js";import"../../../chunk-4DCQNGUV.js";import"../../../chunk-QBSKKQBN.js";import"../../../chunk-FQWB2F75.js";import{z as j}from"../../../chunk-XONFGLJQ.js";import"../../../chunk-4LNCYIS3.js";import"../../../chunk-L2MGAEV3.js";import"../../../chunk-PRKBO42R.js";import"../../../chunk-ZSBA6VIC.js";import"../../../chunk-F2QU6WWX.js";import"../../../chunk-XULPJ6UG.js";import{b as G,c as H}from"../../../chunk-XR6GMMEU.js";import"../../../chunk-3TNEIDOD.js";import"../../../chunk-MHWV5RQV.js";import"../../../chunk-XOTA6JTZ.js";import"../../../chunk-MOA33ZFO.js";import"../../../chunk-JUVAGMIH.js";import{i as V,u as $}from"../../../chunk-6G6TMKXF.js";import"../../../chunk-P6XE4MH5.js";import"../../../chunk-KLMDWDT2.js";import"../../../chunk-5CH3B62S.js";import"../../../chunk-QUTQDXSL.js";import"../../../chunk-WSDN25F5.js";import{d as E}from"../../../chunk-M56NDIMD.js";import"../../../chunk-PD5ZHJWI.js";import{r as Le}from"../../../chunk-LDGAHMS7.js";import"../../../chunk-ZR76GGZ6.js";import"../../../chunk-EENHXSWU.js";import"../../../chunk-FUOIGXI4.js";import"../../../chunk-6M3ZYNGO.js";import"../../../chunk-QYR5VPQA.js";import"../../../chunk-OBEWZXOQ.js";import{Mb as N,Nb as S,da as z,eb as O,fb as f,gb as s}from"../../../chunk-N5PQPIBF.js";import"../../../chunk-CERXUPGC.js";import"../../../chunk-T4M5CWAO.js";import"../../../chunk-PRVQAHWI.js";import"../../../chunk-YTNDFQJT.js";import"../../../chunk-ULQG3XQS.js";import{j as R}from"../../../chunk-IU2ZQ6TE.js";import"../../../chunk-PIBY5DDZ.js";import{e as L,g as x}from"../../../chunk-VPRTJUIN.js";x();x();x();x();x();x();var k=L(O(),1);function ye(t){let r=(0,k.useRef)(t);(0,k.useEffect)(()=>{r.current=t},[t]),(0,k.useEffect)(()=>{let n;function i(){r.current().then(({retryIntervalMs:p})=>{p&&(n=setTimeout(i,p))}).catch(()=>{})}return n=setTimeout(i,0),()=>n&&clearTimeout(n)},[])}x();var M=async({pollOptions:{jwtToken:t,cursor:r,filters:n},developerPlatformClient:i,organizationId:a})=>{let p=await i.appLogs({jwtToken:t,cursor:r},a),{errors:c,status:u}=p;if(u!==200){if(u===401||u===429||u>=500)return{errors:c.map(y=>({status:u,message:y}))};throw new E(`${c.join(", ")} while fetching app logs`)}let{cursor:o,app_logs:l}=p,g=Ee(l,n);return{cursor:o,appLogs:g}};function Ee(t,r){let n=t;return(r.status!==void 0||r.sources!==void 0)&&(n=n.filter(i=>{let a=r.status===void 0?!0:i.status===r.status,p=r.sources===void 0?!0:r.sources.includes(`${i.source_namespace}.${i.source}`);return a&&p})),n}var P=L(O(),1);async function ke({jwtToken:t,cursor:r,filters:n,storeNameById:i,organizationId:a,setErrors:p,setAppLogOutputs:c,resubscribeCallback:u,developerPlatformClient:o}){let l=t,g=F,y=r,A=await M({pollOptions:{jwtToken:t,cursor:r,filters:n},developerPlatformClient:o,organizationId:a}),m="not_attempted",b=A;if(b.errors){let T=await B({response:b,onThrottle:d=>{p(["Request throttled while polling app logs.",`Retrying in ${d/1e3}s`])},onUnknownError:d=>{p(["Error while polling app logs",`Retrying in ${d/1e3}s`])},onResubscribe:()=>u()});m=T.resubscribeResult,T.nextJwtToken&&(l=T.nextJwtToken),g=T.retryIntervalMs}else{p(d=>d.length?[]:d);let{appLogs:T}=A;if(y=A.cursor,T)for(let d of T){let h,C,D,J=i.get(d.shop_id.toString());if(J===void 0)continue;switch(d.log_type){case pe:h=me(d.payload),C=`export "${h.export}" executed in ${(h.fuelConsumed/ae).toFixed(4)}M instructions`;break;case le:h=fe(d.payload),C="network access response retrieved from cache";break;case ue:h=ge(d.payload),C="network access request executing in background";break;case ce:h=de(d.payload),D=h.connectTimeMs&&h.writeReadTimeMs?h.connectTimeMs+h.writeReadTimeMs:null,C=`network access request executed${D?` in ${D} ms`:""}`;break;default:continue}let Ie={status:d.status==="success"?"Success":"Failure",source:d.source,storeName:J,description:C,logTimestamp:z(d.log_timestamp)};h&&c(Ce=>[...Ce,{appLog:h,prefix:Ie}])}}return{nextJwtToken:l,retryIntervalMs:g,cursor:y??r,resubscribeResult:m}}function be({initialJwt:t,filters:r,resubscribeCallback:n,storeNameById:i,developerPlatformClient:a,organizationId:p}){let[c,u]=(0,P.useState)([]),[o,l]=(0,P.useState)([]),g=(0,P.useRef)(t),y=(0,P.useRef)(0),A=(0,P.useRef)(""),m=(0,P.useRef)(0),b=(0,P.useCallback)(async()=>{let T=await ke({jwtToken:g.current,cursor:A.current,filters:r,storeNameById:i,setErrors:u,setAppLogOutputs:l,resubscribeCallback:n,developerPlatformClient:a,organizationId:p});if(T.resubscribeResult==="failed"){if(m.current+=1,m.current>=v)return u(["App log streaming session has expired. Please restart your dev session."]),{retryIntervalMs:0}}else T.resubscribeResult==="succeeded"&&(m.current=0);return g.current=T.nextJwtToken,A.current=T.cursor,y.current=T.retryIntervalMs,{retryIntervalMs:y.current}},[]);return ye(b),{appLogOutputs:o,errors:c}}var e=L(O(),1);var Oe=t=>{switch(t){case 0:return"No cached response available";case 1:return"Cache is about to expire";case 2:return"Unknown reason"}},Pe=({pollOptions:{jwtToken:t,filters:r},resubscribeCallback:n,storeNameById:i,developerPlatformClient:a,organizationId:p})=>{let{appLogOutputs:c,errors:u}=be({filters:r,initialJwt:t,resubscribeCallback:n,storeNameById:i,developerPlatformClient:a,organizationId:p});return e.default.createElement(e.default.Fragment,null,c.map(({appLog:o,prefix:l},g)=>e.default.createElement(f,{flexDirection:"column",key:g},e.default.createElement(f,{flexDirection:"row",gap:1},e.default.createElement(s,null,e.default.createElement(s,{color:"green"},l.logTimestamp," "),e.default.createElement(s,{color:"blueBright"},`${l.storeName.split(".")[0]}`," "),e.default.createElement(s,{color:"blueBright"},l.source," "),e.default.createElement(s,{color:l.status==="Success"?"green":"red"},l.status," "),e.default.createElement(s,null,l.description))),e.default.createElement(f,{flexDirection:"column",marginLeft:4},o instanceof re&&e.default.createElement(f,{flexDirection:"column"},e.default.createElement(s,null,o.logs),o.inputQueryVariablesMetafieldKey&&o.inputQueryVariablesMetafieldNamespace?e.default.createElement(f,{flexDirection:"column",marginTop:1},e.default.createElement(s,{bold:!0},"Input Query Variables:"),e.default.createElement(f,{flexDirection:"row",marginLeft:1,marginTop:1},e.default.createElement(s,{dimColor:!0},"Namespace:"),e.default.createElement(s,null," ",o.inputQueryVariablesMetafieldNamespace)),e.default.createElement(f,{flexDirection:"row",marginLeft:1},e.default.createElement(s,{dimColor:!0},"Key:"),e.default.createElement(s,null," ",o.inputQueryVariablesMetafieldKey)),e.default.createElement(f,{marginLeft:1,marginTop:1},e.default.createElement(s,null,w(o.inputQueryVariablesMetafieldValue)??e.default.createElement(s,{color:"red"},"Metafield is not set")))):null,o.input?e.default.createElement(f,{flexDirection:"column",marginTop:1},e.default.createElement(s,{bold:!0},"Input ",e.default.createElement(s,{dimColor:!0},"(",o.inputBytes," bytes):")),e.default.createElement(f,{marginLeft:1,marginTop:1},e.default.createElement(s,null,w(o.input)))):null,o.output?e.default.createElement(f,{flexDirection:"column",marginTop:1},e.default.createElement(s,{bold:!0},"Output ",e.default.createElement(s,{dimColor:!0},"(",o.outputBytes," bytes):")),e.default.createElement(f,{marginLeft:1,marginTop:1},e.default.createElement(s,null,w(o.output)))):null),o instanceof se&&e.default.createElement(f,{flexDirection:"column"},e.default.createElement(s,null,"Cache write time: ",new Date(o.cacheEntryEpochMs).toISOString()),e.default.createElement(s,null,"Cache TTL: ",o.cacheTtlMs/1e3," s"),e.default.createElement(s,null,"HTTP request:"),e.default.createElement(s,null,w(o.httpRequest)),e.default.createElement(s,null,"HTTP response:"),e.default.createElement(s,null,w(o.httpResponse))),o instanceof ne&&e.default.createElement(f,{flexDirection:"column"},e.default.createElement(s,null,"Reason: ",Oe(o.reason)),e.default.createElement(s,null,"HTTP request:"),e.default.createElement(s,null,w(o.httpRequest))),o instanceof ie&&e.default.createElement(f,{flexDirection:"column"},e.default.createElement(s,null,"Attempt: ",o.attempt),o.connectTimeMs?e.default.createElement(s,null,"Connect time: ",o.connectTimeMs," ms"):null,o.writeReadTimeMs?e.default.createElement(s,null,"Write read time: ",o.writeReadTimeMs," ms"):null,e.default.createElement(s,null,"HTTP request:"),e.default.createElement(s,null,w(o.httpRequest)),o.httpResponse?e.default.createElement(f,{flexDirection:"column"},e.default.createElement(s,null,"HTTP response:"),e.default.createElement(s,null,w(o.httpResponse))):null,o.error?e.default.createElement(s,null,"Error: ",o.error):null)))),u.length>0&&e.default.createElement(f,{flexDirection:"column"},u.map((o,l)=>e.default.createElement(f,{key:l},e.default.createElement(s,{color:"red"},o)))))};var Ae=L(O(),1);async function we({pollOptions:t,options:{variables:r,developerPlatformClient:n},storeNameById:i,organizationId:a}){return V(Ae.default.createElement(Pe,{pollOptions:t,resubscribeCallback:async()=>I(n,r,a),storeNameById:i,developerPlatformClient:n,organizationId:a}))}x();async function U({pollOptions:t,options:{variables:r,developerPlatformClient:n},storeNameById:i,organizationId:a,consecutiveResubscribeFailures:p=0}){let c=await M({pollOptions:t,developerPlatformClient:n,organizationId:a}),u=F,o=t.jwtToken,l=p,g=c;if(g.errors){let m=await B({response:g,onThrottle:b=>{S(JSON.stringify({message:"Request throttled while polling app logs.",retry_in_ms:b}))},onUnknownError:b=>{S(JSON.stringify({message:"Error while polling app logs.",retry_in_ms:b}))},onResubscribe:()=>I(n,r,a)});if(m.resubscribeResult==="failed"){if(l+=1,l>=v){S(JSON.stringify({message:"App log streaming session has expired. Please restart your dev session."}));return}}else m.resubscribeResult==="succeeded"&&(l=0);m.nextJwtToken&&(o=m.nextJwtToken),u=m.retryIntervalMs}else l=0;let{cursor:y,appLogs:A}=c;A&&A.forEach(m=>{let b=i.get(m.shop_id?.toString());b!==void 0&&N(Te({appLog:m,appLogPayload:he(m.payload,m.log_type),storeName:b,prettyPrint:!1}))}),setTimeout(()=>{U({options:{variables:r,developerPlatformClient:n},pollOptions:{jwtToken:o||t.jwtToken,cursor:y??t.cursor,filters:t.filters},storeNameById:i,organizationId:a,consecutiveResubscribeFailures:l}).catch(m=>{throw m})},u)}async function Se(t){let{app:r,remoteApp:n,developerPlatformClient:i}=t,a=await Ne(t),p=xe(r);if(p.length===0)throw new E("This app has no log sources. Learn more about app logs at https://shopify.dev/docs/api/shopify-cli/app/app-logs");if(t.sources){let g=t.sources.filter(y=>!p.includes(y));if(g.length)throw new E(`Invalid sources: ${g.join(", ")}. Valid sources are: ${p.join(", ")}`)}let c={shopIds:a.storeIds.map(Number),apiKey:n.apiKey},u=await I(i,c,t.organization.id),o={status:t.status,sources:t.sources},l={jwtToken:u,filters:o};t.format==="json"?(N(JSON.stringify({subscribedToStores:t.storeFqdns})),S(JSON.stringify({message:"Waiting for app logs..."})),await U({options:{variables:c,developerPlatformClient:i},pollOptions:l,storeNameById:a.storeNameById,organizationId:t.organization.id})):(S(`Waiting for app logs...
|
|
2
2
|
`),await we({options:{variables:c,developerPlatformClient:i},pollOptions:l,storeNameById:a.storeNameById,organizationId:t.organization.id}))}async function Ne(t){let{app:r,remoteApp:n,developerPlatformClient:i,primaryStore:a,organization:p}=t,c=R(r.configPath);t.format==="text"&&Fe(n.title,a.shopDomain,t.storeFqdns,c,p.businessName);let u=new Map;return u.set(a.shopId,a.shopDomain),t.storeFqdns&&t.storeFqdns.length>1&&await Promise.all(t.storeFqdns?.slice(1).map(async l=>{let g=await W(p,l,i);u.set(g.shopId,l)})),{storeIds:Array.from(u.keys()),storeNameById:u}}function Fe(t,r,n,i,a){let p=[];n&&n.length>0?n.forEach(u=>p.push(u)):p.push(r);let c=i?Y(i):void 0;$({headline:i?`Using ${c} for default values:`:"Using these settings:",body:X({appName:t,org:a,devStores:p,messages:[Z]})})}var _=L(Le(),1);var q=class t extends te{static{this.summary="Stream detailed logs for your Shopify app."}static{this.descriptionWithMarkdown="\n Opens a real-time stream of detailed app logs from the selected app and store.\n Use the `--source` argument to limit output to a particular log source, such as a specific Shopify Function handle. Use the `shopify app logs sources` command to view a list of sources.\n Use the `--status` argument to filter on status, either `success` or `failure`.\n ```\n shopify app logs --status=success --source=extension.discount-function\n ```\n "}static{this.description=this.descriptionWithoutMarkdown()}static{this.flags={...G,...Q,...H,store:_.Flags.string({char:"s",description:"Store URL. Must be an existing development or Shopify Plus sandbox store.",env:"SHOPIFY_FLAG_STORE",multiple:!0,parse:async r=>j(r)}),source:_.Flags.string({description:"Filters output to the specified log source.",env:"SHOPIFY_FLAG_SOURCE",multiple:!0}),status:_.Flags.string({description:"Filters output to the specified status (success or failure).",options:["success","failure"],env:"SHOPIFY_FLAG_STATUS"})}}async run(){let{flags:r}=await this.parse(t);await K(r.path);let n=await ee({directory:r.path,clientId:r["client-id"],forceRelink:r.reset,userProvidedConfigName:r.config}),i=await oe({appContextResult:n,storeFqdn:r.store?.[0],forceReselectStore:r.reset}),a={...n,primaryStore:i,storeFqdns:r.store,sources:r.source,status:r.status,format:r.json?"json":"text"};return await Se(a),{app:n.app}}};export{q as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as L}from"../../../chunk-
|
|
1
|
+
import{a as L}from"../../../chunk-JCL2RRU6.js";import{a as C}from"../../../chunk-AGNMOFJS.js";import{Ba as P,S as I,T as R,U as x}from"../../../chunk-54CAKCYR.js";import"../../../chunk-7ESSIN27.js";import"../../../chunk-GZS44BUW.js";import"../../../chunk-K2WUCOQJ.js";import"../../../chunk-7QIOUDCX.js";import"../../../chunk-7MUKLZOL.js";import"../../../chunk-VBUZWRUL.js";import"../../../chunk-DCPBRWVC.js";import"../../../chunk-KR6QDE7D.js";import"../../../chunk-UXVZ2P63.js";import"../../../chunk-QSTEVZFQ.js";import"../../../chunk-5Y7GIF2W.js";import"../../../chunk-EKXY5COY.js";import"../../../chunk-4DCQNGUV.js";import"../../../chunk-QBSKKQBN.js";import"../../../chunk-FQWB2F75.js";import"../../../chunk-XONFGLJQ.js";import"../../../chunk-4LNCYIS3.js";import"../../../chunk-L2MGAEV3.js";import"../../../chunk-PRKBO42R.js";import"../../../chunk-ZSBA6VIC.js";import"../../../chunk-F2QU6WWX.js";import"../../../chunk-XULPJ6UG.js";import{b as k}from"../../../chunk-XR6GMMEU.js";import"../../../chunk-3TNEIDOD.js";import"../../../chunk-MHWV5RQV.js";import"../../../chunk-XOTA6JTZ.js";import"../../../chunk-MOA33ZFO.js";import"../../../chunk-JUVAGMIH.js";import{D as h,v as w,x as v}from"../../../chunk-6G6TMKXF.js";import"../../../chunk-P6XE4MH5.js";import"../../../chunk-KLMDWDT2.js";import"../../../chunk-5CH3B62S.js";import"../../../chunk-QUTQDXSL.js";import{d as g}from"../../../chunk-WSDN25F5.js";import{f as A}from"../../../chunk-M56NDIMD.js";import"../../../chunk-PD5ZHJWI.js";import{r as F}from"../../../chunk-LDGAHMS7.js";import"../../../chunk-ZR76GGZ6.js";import"../../../chunk-EENHXSWU.js";import"../../../chunk-FUOIGXI4.js";import"../../../chunk-6M3ZYNGO.js";import"../../../chunk-QYR5VPQA.js";import"../../../chunk-OBEWZXOQ.js";import"../../../chunk-N5PQPIBF.js";import"../../../chunk-CERXUPGC.js";import"../../../chunk-T4M5CWAO.js";import"../../../chunk-PRVQAHWI.js";import"../../../chunk-YTNDFQJT.js";import"../../../chunk-ULQG3XQS.js";import"../../../chunk-IU2ZQ6TE.js";import"../../../chunk-PIBY5DDZ.js";import{e as E,g as l}from"../../../chunk-VPRTJUIN.js";l();l();async function O(r){let{developerPlatformClient:e,app:d,remoteApp:o}=r,{extensionIdentifiersBreakdown:a,versionDetails:n}=await I(e,o,r.version),i=await R({developerPlatformClient:e,apiKey:o.apiKey,localApp:d,remoteApp:o,versionAppModules:n.appModuleVersions.map(s=>({...s})),release:!0});if(!await x({configExtensionIdentifiersBreakdown:i,extensionIdentifiersBreakdown:a,appTitle:o.title,release:!0,force:r.force,allowUpdates:r.allowUpdates,allowDeletes:r.allowDeletes}))throw new A;let c=[{title:"Releasing version",task:async s=>{s.appRelease=await e.release({app:o,version:{versionId:n.uuid,appVersionId:n.id}})}}],{appRelease:{appRelease:t}}=await h(c),f=[{link:{label:n.versionTag??void 0,url:n.location}},n.message?`
|
|
2
2
|
${n.message}`:""];if(t.userErrors&&t.userErrors.length>0){let s=t.userErrors?.map(b=>b.message).join(", ");v({headline:"Version couldn't be released.",body:[...f,`${f.length>0?`
|
|
3
3
|
|
|
4
4
|
`:""}${s}`]})}else w({headline:"Version released to users.",body:f})}var p=E(F(),1);var u=class r extends L{static{this.summary="Release an app version."}static{this.usage="app release --version <version>"}static{this.descriptionWithMarkdown="Releases an existing app version. Pass the name of the version that you want to release using the `--version` flag."}static{this.description=this.descriptionWithoutMarkdown()}static{this.flags={...k,...C,"allow-updates":p.Flags.boolean({hidden:!1,description:"Allows adding and updating extensions and configuration without requiring user confirmation. Recommended option for CI/CD environments.",env:"SHOPIFY_FLAG_ALLOW_UPDATES"}),"allow-deletes":p.Flags.boolean({hidden:!1,description:"Allows removing extensions and configuration without requiring user confirmation. For CI/CD environments, the recommended flag is --allow-updates.",env:"SHOPIFY_FLAG_ALLOW_DELETES"}),version:p.Flags.string({hidden:!1,description:"The name of the app version to release.",env:"SHOPIFY_FLAG_VERSION",required:!0})}}async run(){let{flags:e}=await this.parse(r),d=e["client-id"];await g(()=>({cmd_app_reset_used:e.reset}));let o=e["allow-updates"],a=e["allow-deletes"],n=!!(o&&a),i=[];!o&&!a&&i.push("allow-updates"),this.failMissingNonTTYFlags(e,i);let{app:m,remoteApp:c,developerPlatformClient:t}=await P({directory:e.path,clientId:d,forceRelink:e.reset,userProvidedConfigName:e.config});return await O({app:m,remoteApp:c,developerPlatformClient:t,force:n,allowUpdates:o,allowDeletes:a,version:e.version}),{app:m}}};export{u as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as P}from"../../../../chunk-
|
|
1
|
+
import{a as P}from"../../../../chunk-JCL2RRU6.js";import{a as b}from"../../../../chunk-AGNMOFJS.js";import{Ba as O,ca as E}from"../../../../chunk-54CAKCYR.js";import"../../../../chunk-7ESSIN27.js";import"../../../../chunk-GZS44BUW.js";import"../../../../chunk-K2WUCOQJ.js";import"../../../../chunk-7QIOUDCX.js";import"../../../../chunk-7MUKLZOL.js";import"../../../../chunk-VBUZWRUL.js";import"../../../../chunk-DCPBRWVC.js";import"../../../../chunk-KR6QDE7D.js";import"../../../../chunk-UXVZ2P63.js";import"../../../../chunk-QSTEVZFQ.js";import"../../../../chunk-5Y7GIF2W.js";import"../../../../chunk-EKXY5COY.js";import"../../../../chunk-4DCQNGUV.js";import"../../../../chunk-QBSKKQBN.js";import"../../../../chunk-FQWB2F75.js";import"../../../../chunk-XONFGLJQ.js";import"../../../../chunk-4LNCYIS3.js";import"../../../../chunk-L2MGAEV3.js";import"../../../../chunk-PRKBO42R.js";import"../../../../chunk-ZSBA6VIC.js";import"../../../../chunk-F2QU6WWX.js";import"../../../../chunk-XULPJ6UG.js";import{b as k,c as T}from"../../../../chunk-XR6GMMEU.js";import"../../../../chunk-3TNEIDOD.js";import"../../../../chunk-MHWV5RQV.js";import"../../../../chunk-XOTA6JTZ.js";import"../../../../chunk-MOA33ZFO.js";import"../../../../chunk-JUVAGMIH.js";import{C as A}from"../../../../chunk-6G6TMKXF.js";import"../../../../chunk-P6XE4MH5.js";import"../../../../chunk-KLMDWDT2.js";import"../../../../chunk-5CH3B62S.js";import"../../../../chunk-QUTQDXSL.js";import"../../../../chunk-WSDN25F5.js";import{d as y}from"../../../../chunk-M56NDIMD.js";import"../../../../chunk-PD5ZHJWI.js";import"../../../../chunk-LDGAHMS7.js";import"../../../../chunk-ZR76GGZ6.js";import"../../../../chunk-EENHXSWU.js";import"../../../../chunk-FUOIGXI4.js";import"../../../../chunk-6M3ZYNGO.js";import"../../../../chunk-QYR5VPQA.js";import"../../../../chunk-OBEWZXOQ.js";import{Gb as v,Ib as L,Mb as C,Nb as m,Wb as w,ca as u,tb as h}from"../../../../chunk-N5PQPIBF.js";import"../../../../chunk-CERXUPGC.js";import"../../../../chunk-T4M5CWAO.js";import"../../../../chunk-PRVQAHWI.js";import"../../../../chunk-YTNDFQJT.js";import"../../../../chunk-ULQG3XQS.js";import{j as d}from"../../../../chunk-IU2ZQ6TE.js";import"../../../../chunk-PIBY5DDZ.js";import{g as p}from"../../../../chunk-VPRTJUIN.js";p();p();var S=12;async function I(a,t,n){let r=await a.appVersions(t);if(!r.app)throw new y(`Invalid API Key: ${t.apiKey}`);let s=r.app.appVersions.nodes.map(e=>{let i=e.message??"";return{...e,status:e.status==="active"&&!n?h.green(`\u2605 ${e.status}`):e.status,createdBy:e.createdBy?.displayName??"",createdAt:u(new Date(e.createdAt)),message:i}});if(!n){let e=(process.stdout.columns??75)-S,i=e;s.forEach(o=>{let f=o.message.length+(o.versionTag?.length??0)+w(o.status).length+o.createdAt.length+o.createdBy.length;if(f>e){let R=f-o.message.length,g=Math.max(e-R,10);g<i&&(i=g)}}),s.forEach(o=>{o.message.length>i&&(o.message=`${o.message.slice(0,i-3)}...`)})}return{appVersions:s,totalResults:r.app.appVersions.pageInfo.totalResults,app:r.app}}async function l(a){let{remoteApp:t,developerPlatformClient:n,organization:r}=a,{appVersions:s,totalResults:e}=await I(n,t,a.json);if(a.json)return C(JSON.stringify(s,null,2));if(E({org:r.businessName,appName:t.title,configFile:d(a.app.configPath)}),s.length===0){m("No app versions found for this app");return}A({rows:s,columns:{versionTag:{header:"VERSION"},status:{header:"STATUS"},message:{header:"MESSAGE"},createdAt:{header:"DATE CREATED"},createdBy:{header:"CREATED BY"}}});let i=v.link(n.webUiName,[await n.appDeepLink(t),"versions"].join("/"));m(L`\nView all ${String(e)} app versions in the ${i}`)}var c=class a extends P{static{this.summary="List deployed versions of your app."}static{this.descriptionWithMarkdown="Lists the deployed app versions. An app version is a snapshot of your app extensions."}static{this.description=this.descriptionWithoutMarkdown()}static{this.flags={...k,...b,...T}}async run(){let{flags:t}=await this.parse(a),{app:n,remoteApp:r,developerPlatformClient:s,organization:e}=await O({directory:t.path,clientId:t["client-id"],forceRelink:t.reset,userProvidedConfigName:t.config});return await l({app:n,remoteApp:r,organization:e,developerPlatformClient:s,json:t.json}),{app:n}}};export{c as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as k,b as i,c as E,d as C,e as L,f as F,g as M}from"../../../../chunk-
|
|
1
|
+
import{a as k,b as i,c as E,d as C,e as L,f as F,g as M}from"../../../../chunk-FKMC5OFF.js";import{a as S}from"../../../../chunk-JCL2RRU6.js";import{a as P}from"../../../../chunk-AGNMOFJS.js";import{Ba as w,ca as A}from"../../../../chunk-54CAKCYR.js";import{H as b,I as T,J as I}from"../../../../chunk-7ESSIN27.js";import"../../../../chunk-GZS44BUW.js";import"../../../../chunk-K2WUCOQJ.js";import"../../../../chunk-7QIOUDCX.js";import"../../../../chunk-7MUKLZOL.js";import"../../../../chunk-VBUZWRUL.js";import"../../../../chunk-DCPBRWVC.js";import"../../../../chunk-KR6QDE7D.js";import"../../../../chunk-UXVZ2P63.js";import"../../../../chunk-QSTEVZFQ.js";import"../../../../chunk-5Y7GIF2W.js";import"../../../../chunk-EKXY5COY.js";import"../../../../chunk-4DCQNGUV.js";import"../../../../chunk-QBSKKQBN.js";import"../../../../chunk-FQWB2F75.js";import"../../../../chunk-XONFGLJQ.js";import"../../../../chunk-4LNCYIS3.js";import"../../../../chunk-L2MGAEV3.js";import"../../../../chunk-PRKBO42R.js";import"../../../../chunk-ZSBA6VIC.js";import"../../../../chunk-F2QU6WWX.js";import"../../../../chunk-XULPJ6UG.js";import"../../../../chunk-3TNEIDOD.js";import"../../../../chunk-MHWV5RQV.js";import"../../../../chunk-XOTA6JTZ.js";import"../../../../chunk-MOA33ZFO.js";import"../../../../chunk-JUVAGMIH.js";import{B as f,F as y,z as l}from"../../../../chunk-6G6TMKXF.js";import"../../../../chunk-P6XE4MH5.js";import"../../../../chunk-KLMDWDT2.js";import"../../../../chunk-5CH3B62S.js";import"../../../../chunk-QUTQDXSL.js";import"../../../../chunk-WSDN25F5.js";import"../../../../chunk-M56NDIMD.js";import"../../../../chunk-PD5ZHJWI.js";import{r as z}from"../../../../chunk-LDGAHMS7.js";import"../../../../chunk-ZR76GGZ6.js";import"../../../../chunk-EENHXSWU.js";import"../../../../chunk-FUOIGXI4.js";import"../../../../chunk-6M3ZYNGO.js";import"../../../../chunk-QYR5VPQA.js";import"../../../../chunk-OBEWZXOQ.js";import{Ob as c,Rb as m,Tb as v}from"../../../../chunk-N5PQPIBF.js";import"../../../../chunk-CERXUPGC.js";import"../../../../chunk-T4M5CWAO.js";import"../../../../chunk-PRVQAHWI.js";import"../../../../chunk-YTNDFQJT.js";import"../../../../chunk-ULQG3XQS.js";import{j as u}from"../../../../chunk-IU2ZQ6TE.js";import"../../../../chunk-PIBY5DDZ.js";import{e as Y,g as s}from"../../../../chunk-VPRTJUIN.js";s();s();s();s();async function O(e){let t=e.map(o=>({label:o,value:o}));return await f({message:"Webhook Topic",choices:t})}async function V(e){return l({message:"Webhook ApiVersion",choices:e.map(t=>({label:t,value:t}))})}async function D(){return l({message:"Delivery method",choices:[{label:"HTTP",value:i.HTTP},{label:"Google Pub/Sub",value:i.PUBSUB},{label:"Amazon EventBridge",value:i.EVENTBRIDGE}]})}async function W(e){return(await y({message:"Address for delivery",validate:r=>{let o=r.trim();if(o.length===0)return"Address can't be empty";if(!E(o,e))return`Invalid address.
|
|
2
2
|
${d(e)}`}})).trim()}function N(e){return e===i.HTTP?["For remote HTTP testing, use a URL that starts with https://","For local HTTP testing, use http://localhost:{port}/{url-path}"]:e===i.PUBSUB?["For Google Pub/Sub, use pubsub://{project-id}:{topic-id}"]:e===i.EVENTBRIDGE?["For Amazon EventBridge, use an Amazon Resource Name (ARN) starting with arn:aws:events:"]:[]}function d(e){return N(e).map(t=>` \xB7 ${v(t)}`).join(`
|
|
3
3
|
`)}async function H(e,t){let{clientSecret:r,clientId:o,remoteApp:n,app:p}=e;return r&&(o||t!==i.EVENTBRIDGE)?{clientSecret:r,apiKey:o}:(A({appName:n.title,configFile:u(p.configPath)}),{clientSecret:n.apiSecretKeys.find(h=>h.secret).secret,apiKey:n.apiKey})}async function _(e,t,r){let o=await T(e,r);return t?L(t,o):V(o)}async function R(e,t,r,o){let n=await I(e,t,o);return r?F(r,t,n):O(n)}async function x(e,t){let r=e??M(t)??await D(),o=t??await W(r);return C(o,r)}async function B(e){let t=await G(e);await U(t)}async function G(e){let t=await _(e.developerPlatformClient,e.apiVersion,e.organizationId),r=await R(e.developerPlatformClient,t,e.topic,e.organizationId),[o,n]=await x(e.deliveryMethod,e.address),p=await H(e,n);return{topic:r,apiVersion:t,deliveryMethod:n,address:o,apiKey:p.apiKey,clientSecret:p.clientSecret,developerPlatformClient:e.developerPlatformClient,organizationId:e.organizationId}}async function U(e){let t={topic:e.topic,api_version:e.apiVersion,address:e.address,delivery_method:e.deliveryMethod,shared_secret:e.clientSecret,api_key:e.apiKey},r=await b(e.developerPlatformClient,t,e.organizationId);if(!r.success){m(`Request errors:
|
|
4
4
|
${q(r.userErrors)}`);return}if(e.deliveryMethod===i.LOCALHOST){if(await k(e.address,r.samplePayload,r.headers)){c("Localhost delivery sucessful");return}m("Localhost delivery failed");return}r.samplePayload===JSON.stringify({})&&c("Webhook has been enqueued for delivery")}function q(e){try{return e.map(t=>JSON.parse(t.message).map(r=>` \xB7 ${r}`).join(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-4IC626OL.js";import"../../../chunk-XONFGLJQ.js";import"../../../chunk-4LNCYIS3.js";import"../../../chunk-L2MGAEV3.js";import"../../../chunk-PRKBO42R.js";import"../../../chunk-ZSBA6VIC.js";import"../../../chunk-F2QU6WWX.js";import"../../../chunk-XULPJ6UG.js";import"../../../chunk-3TNEIDOD.js";import"../../../chunk-MHWV5RQV.js";import"../../../chunk-XOTA6JTZ.js";import"../../../chunk-MOA33ZFO.js";import"../../../chunk-JUVAGMIH.js";import"../../../chunk-6G6TMKXF.js";import"../../../chunk-P6XE4MH5.js";import"../../../chunk-KLMDWDT2.js";import"../../../chunk-5CH3B62S.js";import"../../../chunk-QUTQDXSL.js";import"../../../chunk-WSDN25F5.js";import"../../../chunk-M56NDIMD.js";import"../../../chunk-PD5ZHJWI.js";import"../../../chunk-LDGAHMS7.js";import"../../../chunk-ZR76GGZ6.js";import"../../../chunk-EENHXSWU.js";import"../../../chunk-FUOIGXI4.js";import"../../../chunk-6M3ZYNGO.js";import"../../../chunk-QYR5VPQA.js";import"../../../chunk-OBEWZXOQ.js";import"../../../chunk-N5PQPIBF.js";import"../../../chunk-CERXUPGC.js";import"../../../chunk-T4M5CWAO.js";import"../../../chunk-PRVQAHWI.js";import"../../../chunk-YTNDFQJT.js";import"../../../chunk-ULQG3XQS.js";import"../../../chunk-IU2ZQ6TE.js";import"../../../chunk-PIBY5DDZ.js";import"../../../chunk-VPRTJUIN.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-UJXUSRQK.js";import"../../../chunk-XONFGLJQ.js";import"../../../chunk-4LNCYIS3.js";import"../../../chunk-L2MGAEV3.js";import"../../../chunk-PRKBO42R.js";import"../../../chunk-ZSBA6VIC.js";import"../../../chunk-F2QU6WWX.js";import"../../../chunk-XULPJ6UG.js";import"../../../chunk-3TNEIDOD.js";import"../../../chunk-MHWV5RQV.js";import"../../../chunk-XOTA6JTZ.js";import"../../../chunk-MOA33ZFO.js";import"../../../chunk-JUVAGMIH.js";import"../../../chunk-6G6TMKXF.js";import"../../../chunk-P6XE4MH5.js";import"../../../chunk-KLMDWDT2.js";import"../../../chunk-5CH3B62S.js";import"../../../chunk-QUTQDXSL.js";import"../../../chunk-WSDN25F5.js";import"../../../chunk-M56NDIMD.js";import"../../../chunk-PD5ZHJWI.js";import"../../../chunk-LDGAHMS7.js";import"../../../chunk-ZR76GGZ6.js";import"../../../chunk-EENHXSWU.js";import"../../../chunk-FUOIGXI4.js";import"../../../chunk-6M3ZYNGO.js";import"../../../chunk-QYR5VPQA.js";import"../../../chunk-OBEWZXOQ.js";import"../../../chunk-N5PQPIBF.js";import"../../../chunk-CERXUPGC.js";import"../../../chunk-T4M5CWAO.js";import"../../../chunk-PRVQAHWI.js";import"../../../chunk-YTNDFQJT.js";import"../../../chunk-ULQG3XQS.js";import"../../../chunk-IU2ZQ6TE.js";import"../../../chunk-PIBY5DDZ.js";import"../../../chunk-VPRTJUIN.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-DRFGABEB.js";import"../../../chunk-XR6GMMEU.js";import"../../../chunk-XOTA6JTZ.js";import"../../../chunk-MOA33ZFO.js";import"../../../chunk-JUVAGMIH.js";import"../../../chunk-6G6TMKXF.js";import"../../../chunk-P6XE4MH5.js";import"../../../chunk-KLMDWDT2.js";import"../../../chunk-5CH3B62S.js";import"../../../chunk-QUTQDXSL.js";import"../../../chunk-WSDN25F5.js";import"../../../chunk-M56NDIMD.js";import"../../../chunk-PD5ZHJWI.js";import"../../../chunk-LDGAHMS7.js";import"../../../chunk-ZR76GGZ6.js";import"../../../chunk-EENHXSWU.js";import"../../../chunk-FUOIGXI4.js";import"../../../chunk-6M3ZYNGO.js";import"../../../chunk-QYR5VPQA.js";import"../../../chunk-OBEWZXOQ.js";import"../../../chunk-N5PQPIBF.js";import"../../../chunk-CERXUPGC.js";import"../../../chunk-T4M5CWAO.js";import"../../../chunk-PRVQAHWI.js";import"../../../chunk-YTNDFQJT.js";import"../../../chunk-ULQG3XQS.js";import"../../../chunk-IU2ZQ6TE.js";import"../../../chunk-PIBY5DDZ.js";import"../../../chunk-VPRTJUIN.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../../chunk-
|
|
1
|
+
import{a}from"../../../../chunk-M2ZHFKPN.js";import"../../../../chunk-OCOY5MV2.js";import"../../../../chunk-ZGK3LGCH.js";import"../../../../chunk-QBSKKQBN.js";import"../../../../chunk-FQWB2F75.js";import"../../../../chunk-XONFGLJQ.js";import"../../../../chunk-4LNCYIS3.js";import"../../../../chunk-L2MGAEV3.js";import"../../../../chunk-PRKBO42R.js";import"../../../../chunk-ZSBA6VIC.js";import"../../../../chunk-F2QU6WWX.js";import"../../../../chunk-XULPJ6UG.js";import"../../../../chunk-3TNEIDOD.js";import"../../../../chunk-MHWV5RQV.js";import"../../../../chunk-XOTA6JTZ.js";import"../../../../chunk-MOA33ZFO.js";import"../../../../chunk-JUVAGMIH.js";import"../../../../chunk-6G6TMKXF.js";import"../../../../chunk-P6XE4MH5.js";import"../../../../chunk-KLMDWDT2.js";import"../../../../chunk-5CH3B62S.js";import"../../../../chunk-QUTQDXSL.js";import"../../../../chunk-WSDN25F5.js";import"../../../../chunk-M56NDIMD.js";import"../../../../chunk-PD5ZHJWI.js";import"../../../../chunk-LDGAHMS7.js";import"../../../../chunk-ZR76GGZ6.js";import"../../../../chunk-EENHXSWU.js";import"../../../../chunk-FUOIGXI4.js";import"../../../../chunk-6M3ZYNGO.js";import"../../../../chunk-QYR5VPQA.js";import"../../../../chunk-OBEWZXOQ.js";import"../../../../chunk-N5PQPIBF.js";import"../../../../chunk-CERXUPGC.js";import"../../../../chunk-T4M5CWAO.js";import"../../../../chunk-PRVQAHWI.js";import"../../../../chunk-YTNDFQJT.js";import"../../../../chunk-ULQG3XQS.js";import"../../../../chunk-IU2ZQ6TE.js";import"../../../../chunk-PIBY5DDZ.js";import"../../../../chunk-VPRTJUIN.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../../chunk-
|
|
1
|
+
import{a}from"../../../../chunk-6RE2SNCU.js";import"../../../../chunk-OCOY5MV2.js";import"../../../../chunk-ZGK3LGCH.js";import"../../../../chunk-QBSKKQBN.js";import"../../../../chunk-FQWB2F75.js";import"../../../../chunk-XONFGLJQ.js";import"../../../../chunk-4LNCYIS3.js";import"../../../../chunk-L2MGAEV3.js";import"../../../../chunk-PRKBO42R.js";import"../../../../chunk-ZSBA6VIC.js";import"../../../../chunk-F2QU6WWX.js";import"../../../../chunk-XULPJ6UG.js";import"../../../../chunk-3TNEIDOD.js";import"../../../../chunk-MHWV5RQV.js";import"../../../../chunk-XOTA6JTZ.js";import"../../../../chunk-MOA33ZFO.js";import"../../../../chunk-JUVAGMIH.js";import"../../../../chunk-6G6TMKXF.js";import"../../../../chunk-P6XE4MH5.js";import"../../../../chunk-KLMDWDT2.js";import"../../../../chunk-5CH3B62S.js";import"../../../../chunk-QUTQDXSL.js";import"../../../../chunk-WSDN25F5.js";import"../../../../chunk-M56NDIMD.js";import"../../../../chunk-PD5ZHJWI.js";import"../../../../chunk-LDGAHMS7.js";import"../../../../chunk-ZR76GGZ6.js";import"../../../../chunk-EENHXSWU.js";import"../../../../chunk-FUOIGXI4.js";import"../../../../chunk-6M3ZYNGO.js";import"../../../../chunk-QYR5VPQA.js";import"../../../../chunk-OBEWZXOQ.js";import"../../../../chunk-N5PQPIBF.js";import"../../../../chunk-CERXUPGC.js";import"../../../../chunk-T4M5CWAO.js";import"../../../../chunk-PRVQAHWI.js";import"../../../../chunk-YTNDFQJT.js";import"../../../../chunk-ULQG3XQS.js";import"../../../../chunk-IU2ZQ6TE.js";import"../../../../chunk-PIBY5DDZ.js";import"../../../../chunk-VPRTJUIN.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../../chunk-
|
|
1
|
+
import{a}from"../../../../chunk-7NH7CHVI.js";import"../../../../chunk-OCOY5MV2.js";import"../../../../chunk-ZGK3LGCH.js";import"../../../../chunk-QBSKKQBN.js";import"../../../../chunk-FQWB2F75.js";import"../../../../chunk-XONFGLJQ.js";import"../../../../chunk-4LNCYIS3.js";import"../../../../chunk-L2MGAEV3.js";import"../../../../chunk-PRKBO42R.js";import"../../../../chunk-ZSBA6VIC.js";import"../../../../chunk-F2QU6WWX.js";import"../../../../chunk-XULPJ6UG.js";import"../../../../chunk-3TNEIDOD.js";import"../../../../chunk-MHWV5RQV.js";import"../../../../chunk-XOTA6JTZ.js";import"../../../../chunk-MOA33ZFO.js";import"../../../../chunk-JUVAGMIH.js";import"../../../../chunk-6G6TMKXF.js";import"../../../../chunk-P6XE4MH5.js";import"../../../../chunk-KLMDWDT2.js";import"../../../../chunk-5CH3B62S.js";import"../../../../chunk-QUTQDXSL.js";import"../../../../chunk-WSDN25F5.js";import"../../../../chunk-M56NDIMD.js";import"../../../../chunk-PD5ZHJWI.js";import"../../../../chunk-LDGAHMS7.js";import"../../../../chunk-ZR76GGZ6.js";import"../../../../chunk-EENHXSWU.js";import"../../../../chunk-FUOIGXI4.js";import"../../../../chunk-6M3ZYNGO.js";import"../../../../chunk-QYR5VPQA.js";import"../../../../chunk-OBEWZXOQ.js";import"../../../../chunk-N5PQPIBF.js";import"../../../../chunk-CERXUPGC.js";import"../../../../chunk-T4M5CWAO.js";import"../../../../chunk-PRVQAHWI.js";import"../../../../chunk-YTNDFQJT.js";import"../../../../chunk-ULQG3XQS.js";import"../../../../chunk-IU2ZQ6TE.js";import"../../../../chunk-PIBY5DDZ.js";import"../../../../chunk-VPRTJUIN.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-MWY3A7O3.js";import"../../../chunk-XOTA6JTZ.js";import"../../../chunk-MOA33ZFO.js";import"../../../chunk-JUVAGMIH.js";import"../../../chunk-6G6TMKXF.js";import"../../../chunk-P6XE4MH5.js";import"../../../chunk-KLMDWDT2.js";import"../../../chunk-5CH3B62S.js";import"../../../chunk-QUTQDXSL.js";import"../../../chunk-WSDN25F5.js";import"../../../chunk-M56NDIMD.js";import"../../../chunk-PD5ZHJWI.js";import"../../../chunk-LDGAHMS7.js";import"../../../chunk-ZR76GGZ6.js";import"../../../chunk-EENHXSWU.js";import"../../../chunk-FUOIGXI4.js";import"../../../chunk-6M3ZYNGO.js";import"../../../chunk-QYR5VPQA.js";import"../../../chunk-OBEWZXOQ.js";import"../../../chunk-N5PQPIBF.js";import"../../../chunk-CERXUPGC.js";import"../../../chunk-T4M5CWAO.js";import"../../../chunk-PRVQAHWI.js";import"../../../chunk-YTNDFQJT.js";import"../../../chunk-ULQG3XQS.js";import"../../../chunk-IU2ZQ6TE.js";import"../../../chunk-PIBY5DDZ.js";import"../../../chunk-VPRTJUIN.js";export{a as default};
|
|
@@ -7,9 +7,6 @@ export interface CommandData {
|
|
|
7
7
|
commandName: string;
|
|
8
8
|
fileName: string;
|
|
9
9
|
interfaceName: string;
|
|
10
|
-
hasTopic: boolean;
|
|
11
|
-
topic: string | undefined;
|
|
12
|
-
hasFlags: boolean;
|
|
13
10
|
}
|
|
14
11
|
export default class DocsGenerate extends Command {
|
|
15
12
|
static description: string;
|
|
@@ -20,10 +17,5 @@ export declare function extractCommandData(command: CommandWithMarkdown): {
|
|
|
20
17
|
commandName: string;
|
|
21
18
|
fileName: string;
|
|
22
19
|
interfaceName: string;
|
|
23
|
-
hasTopic: boolean;
|
|
24
|
-
topic: string | undefined;
|
|
25
|
-
hasFlags: boolean;
|
|
26
20
|
};
|
|
27
|
-
export declare function writeCommandDocumentation(command: CommandWithMarkdown, { commandName, fileName, interfaceName, hasTopic, topic, hasFlags }: CommandData): Promise<void>;
|
|
28
21
|
export declare function writeCommandFlagInterface(command: oclifCommand.Loadable, { commandName, fileName, interfaceName }: CommandData): Promise<void>;
|
|
29
|
-
export declare function writeCommandUsageExampleFile(command: CommandWithMarkdown, { fileName, commandName }: CommandData): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c
|
|
1
|
+
import{a,b,c}from"../../../chunk-Q4T2T2QE.js";import"../../../chunk-XOTA6JTZ.js";import"../../../chunk-MOA33ZFO.js";import"../../../chunk-JUVAGMIH.js";import"../../../chunk-6G6TMKXF.js";import"../../../chunk-P6XE4MH5.js";import"../../../chunk-KLMDWDT2.js";import"../../../chunk-5CH3B62S.js";import"../../../chunk-QUTQDXSL.js";import"../../../chunk-WSDN25F5.js";import"../../../chunk-M56NDIMD.js";import"../../../chunk-PD5ZHJWI.js";import"../../../chunk-LDGAHMS7.js";import"../../../chunk-ZR76GGZ6.js";import"../../../chunk-EENHXSWU.js";import"../../../chunk-FUOIGXI4.js";import"../../../chunk-6M3ZYNGO.js";import"../../../chunk-QYR5VPQA.js";import"../../../chunk-OBEWZXOQ.js";import"../../../chunk-N5PQPIBF.js";import"../../../chunk-CERXUPGC.js";import"../../../chunk-T4M5CWAO.js";import"../../../chunk-PRVQAHWI.js";import"../../../chunk-YTNDFQJT.js";import"../../../chunk-ULQG3XQS.js";import"../../../chunk-IU2ZQ6TE.js";import"../../../chunk-PIBY5DDZ.js";import"../../../chunk-VPRTJUIN.js";export{a as default,b as extractCommandData,c as writeCommandFlagInterface};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-KN3WTTHZ.js";import"../../../chunk-XOTA6JTZ.js";import"../../../chunk-MOA33ZFO.js";import"../../../chunk-JUVAGMIH.js";import"../../../chunk-6G6TMKXF.js";import"../../../chunk-P6XE4MH5.js";import"../../../chunk-KLMDWDT2.js";import"../../../chunk-5CH3B62S.js";import"../../../chunk-QUTQDXSL.js";import"../../../chunk-WSDN25F5.js";import"../../../chunk-M56NDIMD.js";import"../../../chunk-PD5ZHJWI.js";import"../../../chunk-LDGAHMS7.js";import"../../../chunk-ZR76GGZ6.js";import"../../../chunk-EENHXSWU.js";import"../../../chunk-FUOIGXI4.js";import"../../../chunk-6M3ZYNGO.js";import"../../../chunk-QYR5VPQA.js";import"../../../chunk-OBEWZXOQ.js";import"../../../chunk-N5PQPIBF.js";import"../../../chunk-CERXUPGC.js";import"../../../chunk-T4M5CWAO.js";import"../../../chunk-PRVQAHWI.js";import"../../../chunk-YTNDFQJT.js";import"../../../chunk-ULQG3XQS.js";import"../../../chunk-IU2ZQ6TE.js";import"../../../chunk-PIBY5DDZ.js";import"../../../chunk-VPRTJUIN.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../../chunk-
|
|
1
|
+
import{a}from"../../../../chunk-SIMFNECG.js";import"../../../../chunk-XR6GMMEU.js";import"../../../../chunk-XOTA6JTZ.js";import"../../../../chunk-MOA33ZFO.js";import"../../../../chunk-JUVAGMIH.js";import"../../../../chunk-6G6TMKXF.js";import"../../../../chunk-P6XE4MH5.js";import"../../../../chunk-KLMDWDT2.js";import"../../../../chunk-5CH3B62S.js";import"../../../../chunk-QUTQDXSL.js";import"../../../../chunk-WSDN25F5.js";import"../../../../chunk-M56NDIMD.js";import"../../../../chunk-PD5ZHJWI.js";import"../../../../chunk-LDGAHMS7.js";import"../../../../chunk-ZR76GGZ6.js";import"../../../../chunk-EENHXSWU.js";import"../../../../chunk-FUOIGXI4.js";import"../../../../chunk-6M3ZYNGO.js";import"../../../../chunk-QYR5VPQA.js";import"../../../../chunk-OBEWZXOQ.js";import"../../../../chunk-N5PQPIBF.js";import"../../../../chunk-CERXUPGC.js";import"../../../../chunk-T4M5CWAO.js";import"../../../../chunk-PRVQAHWI.js";import"../../../../chunk-YTNDFQJT.js";import"../../../../chunk-ULQG3XQS.js";import"../../../../chunk-IU2ZQ6TE.js";import"../../../../chunk-PIBY5DDZ.js";import"../../../../chunk-VPRTJUIN.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../chunk-
|
|
1
|
+
import{a}from"../../chunk-5WVAHE5E.js";import"../../chunk-XOTA6JTZ.js";import"../../chunk-MOA33ZFO.js";import"../../chunk-JUVAGMIH.js";import"../../chunk-6G6TMKXF.js";import"../../chunk-P6XE4MH5.js";import"../../chunk-KLMDWDT2.js";import"../../chunk-5CH3B62S.js";import"../../chunk-QUTQDXSL.js";import"../../chunk-WSDN25F5.js";import"../../chunk-M56NDIMD.js";import"../../chunk-PD5ZHJWI.js";import"../../chunk-LDGAHMS7.js";import"../../chunk-ZR76GGZ6.js";import"../../chunk-EENHXSWU.js";import"../../chunk-FUOIGXI4.js";import"../../chunk-6M3ZYNGO.js";import"../../chunk-QYR5VPQA.js";import"../../chunk-OBEWZXOQ.js";import"../../chunk-N5PQPIBF.js";import"../../chunk-CERXUPGC.js";import"../../chunk-T4M5CWAO.js";import"../../chunk-PRVQAHWI.js";import"../../chunk-YTNDFQJT.js";import"../../chunk-ULQG3XQS.js";import"../../chunk-IU2ZQ6TE.js";import"../../chunk-PIBY5DDZ.js";import"../../chunk-VPRTJUIN.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-76R52ODR.js";import"../../../chunk-M2D7USAX.js";import"../../../chunk-XOTA6JTZ.js";import"../../../chunk-MOA33ZFO.js";import"../../../chunk-JUVAGMIH.js";import"../../../chunk-6G6TMKXF.js";import"../../../chunk-P6XE4MH5.js";import"../../../chunk-KLMDWDT2.js";import"../../../chunk-5CH3B62S.js";import"../../../chunk-QUTQDXSL.js";import"../../../chunk-WSDN25F5.js";import"../../../chunk-M56NDIMD.js";import"../../../chunk-PD5ZHJWI.js";import"../../../chunk-LDGAHMS7.js";import"../../../chunk-ZR76GGZ6.js";import"../../../chunk-EENHXSWU.js";import"../../../chunk-FUOIGXI4.js";import"../../../chunk-6M3ZYNGO.js";import"../../../chunk-QYR5VPQA.js";import"../../../chunk-OBEWZXOQ.js";import"../../../chunk-N5PQPIBF.js";import"../../../chunk-CERXUPGC.js";import"../../../chunk-T4M5CWAO.js";import"../../../chunk-PRVQAHWI.js";import"../../../chunk-YTNDFQJT.js";import"../../../chunk-ULQG3XQS.js";import"../../../chunk-IU2ZQ6TE.js";import"../../../chunk-PIBY5DDZ.js";import"../../../chunk-VPRTJUIN.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-6ITDI2SD.js";import"../../../chunk-KHSYW7I4.js";import"../../../chunk-4ZGSSQC6.js";import"../../../chunk-2AJ5FI2K.js";import"../../../chunk-M2D7USAX.js";import"../../../chunk-XOTA6JTZ.js";import"../../../chunk-MOA33ZFO.js";import"../../../chunk-JUVAGMIH.js";import"../../../chunk-6G6TMKXF.js";import"../../../chunk-P6XE4MH5.js";import"../../../chunk-KLMDWDT2.js";import"../../../chunk-5CH3B62S.js";import"../../../chunk-QUTQDXSL.js";import"../../../chunk-WSDN25F5.js";import"../../../chunk-M56NDIMD.js";import"../../../chunk-PD5ZHJWI.js";import"../../../chunk-LDGAHMS7.js";import"../../../chunk-ZR76GGZ6.js";import"../../../chunk-EENHXSWU.js";import"../../../chunk-FUOIGXI4.js";import"../../../chunk-6M3ZYNGO.js";import"../../../chunk-QYR5VPQA.js";import"../../../chunk-OBEWZXOQ.js";import"../../../chunk-N5PQPIBF.js";import"../../../chunk-CERXUPGC.js";import"../../../chunk-T4M5CWAO.js";import"../../../chunk-PRVQAHWI.js";import"../../../chunk-YTNDFQJT.js";import"../../../chunk-ULQG3XQS.js";import"../../../chunk-IU2ZQ6TE.js";import"../../../chunk-PIBY5DDZ.js";import"../../../chunk-VPRTJUIN.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-2GK56X53.js";import"../../../chunk-KHSYW7I4.js";import"../../../chunk-4ZGSSQC6.js";import"../../../chunk-XOTA6JTZ.js";import"../../../chunk-MOA33ZFO.js";import"../../../chunk-JUVAGMIH.js";import"../../../chunk-6G6TMKXF.js";import"../../../chunk-P6XE4MH5.js";import"../../../chunk-KLMDWDT2.js";import"../../../chunk-5CH3B62S.js";import"../../../chunk-QUTQDXSL.js";import"../../../chunk-WSDN25F5.js";import"../../../chunk-M56NDIMD.js";import"../../../chunk-PD5ZHJWI.js";import"../../../chunk-LDGAHMS7.js";import"../../../chunk-ZR76GGZ6.js";import"../../../chunk-EENHXSWU.js";import"../../../chunk-FUOIGXI4.js";import"../../../chunk-6M3ZYNGO.js";import"../../../chunk-QYR5VPQA.js";import"../../../chunk-OBEWZXOQ.js";import"../../../chunk-N5PQPIBF.js";import"../../../chunk-CERXUPGC.js";import"../../../chunk-T4M5CWAO.js";import"../../../chunk-PRVQAHWI.js";import"../../../chunk-YTNDFQJT.js";import"../../../chunk-ULQG3XQS.js";import"../../../chunk-IU2ZQ6TE.js";import"../../../chunk-PIBY5DDZ.js";import"../../../chunk-VPRTJUIN.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-MCVRONUY.js";import"../../../chunk-2AJ5FI2K.js";import"../../../chunk-XOTA6JTZ.js";import"../../../chunk-MOA33ZFO.js";import"../../../chunk-JUVAGMIH.js";import"../../../chunk-6G6TMKXF.js";import"../../../chunk-P6XE4MH5.js";import"../../../chunk-KLMDWDT2.js";import"../../../chunk-5CH3B62S.js";import"../../../chunk-QUTQDXSL.js";import"../../../chunk-WSDN25F5.js";import"../../../chunk-M56NDIMD.js";import"../../../chunk-PD5ZHJWI.js";import"../../../chunk-LDGAHMS7.js";import"../../../chunk-ZR76GGZ6.js";import"../../../chunk-EENHXSWU.js";import"../../../chunk-FUOIGXI4.js";import"../../../chunk-6M3ZYNGO.js";import"../../../chunk-QYR5VPQA.js";import"../../../chunk-OBEWZXOQ.js";import"../../../chunk-N5PQPIBF.js";import"../../../chunk-CERXUPGC.js";import"../../../chunk-T4M5CWAO.js";import"../../../chunk-PRVQAHWI.js";import"../../../chunk-YTNDFQJT.js";import"../../../chunk-ULQG3XQS.js";import"../../../chunk-IU2ZQ6TE.js";import"../../../chunk-PIBY5DDZ.js";import"../../../chunk-VPRTJUIN.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-KZOBF55B.js";import"../../../chunk-NMBBTTIH.js";import"../../../chunk-FQWB2F75.js";import"../../../chunk-XONFGLJQ.js";import"../../../chunk-4LNCYIS3.js";import"../../../chunk-L2MGAEV3.js";import"../../../chunk-PRKBO42R.js";import"../../../chunk-ZSBA6VIC.js";import"../../../chunk-F2QU6WWX.js";import"../../../chunk-XULPJ6UG.js";import"../../../chunk-3TNEIDOD.js";import"../../../chunk-MHWV5RQV.js";import"../../../chunk-XOTA6JTZ.js";import"../../../chunk-MOA33ZFO.js";import"../../../chunk-JUVAGMIH.js";import"../../../chunk-6G6TMKXF.js";import"../../../chunk-P6XE4MH5.js";import"../../../chunk-KLMDWDT2.js";import"../../../chunk-5CH3B62S.js";import"../../../chunk-QUTQDXSL.js";import"../../../chunk-WSDN25F5.js";import"../../../chunk-M56NDIMD.js";import"../../../chunk-PD5ZHJWI.js";import"../../../chunk-LDGAHMS7.js";import"../../../chunk-ZR76GGZ6.js";import"../../../chunk-EENHXSWU.js";import"../../../chunk-FUOIGXI4.js";import"../../../chunk-6M3ZYNGO.js";import"../../../chunk-QYR5VPQA.js";import"../../../chunk-OBEWZXOQ.js";import"../../../chunk-N5PQPIBF.js";import"../../../chunk-CERXUPGC.js";import"../../../chunk-T4M5CWAO.js";import"../../../chunk-PRVQAHWI.js";import"../../../chunk-YTNDFQJT.js";import"../../../chunk-ULQG3XQS.js";import"../../../chunk-IU2ZQ6TE.js";import"../../../chunk-PIBY5DDZ.js";import"../../../chunk-VPRTJUIN.js";export{a as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../../../chunk-
|
|
1
|
+
import{a}from"../../../chunk-C7BTJ32Z.js";import"../../../chunk-NMBBTTIH.js";import"../../../chunk-FQWB2F75.js";import"../../../chunk-XONFGLJQ.js";import"../../../chunk-4LNCYIS3.js";import"../../../chunk-L2MGAEV3.js";import"../../../chunk-PRKBO42R.js";import"../../../chunk-ZSBA6VIC.js";import"../../../chunk-F2QU6WWX.js";import"../../../chunk-XULPJ6UG.js";import"../../../chunk-3TNEIDOD.js";import"../../../chunk-MHWV5RQV.js";import"../../../chunk-XOTA6JTZ.js";import"../../../chunk-MOA33ZFO.js";import"../../../chunk-JUVAGMIH.js";import"../../../chunk-6G6TMKXF.js";import"../../../chunk-P6XE4MH5.js";import"../../../chunk-KLMDWDT2.js";import"../../../chunk-5CH3B62S.js";import"../../../chunk-QUTQDXSL.js";import"../../../chunk-WSDN25F5.js";import"../../../chunk-M56NDIMD.js";import"../../../chunk-PD5ZHJWI.js";import"../../../chunk-LDGAHMS7.js";import"../../../chunk-ZR76GGZ6.js";import"../../../chunk-EENHXSWU.js";import"../../../chunk-FUOIGXI4.js";import"../../../chunk-6M3ZYNGO.js";import"../../../chunk-QYR5VPQA.js";import"../../../chunk-OBEWZXOQ.js";import"../../../chunk-N5PQPIBF.js";import"../../../chunk-CERXUPGC.js";import"../../../chunk-T4M5CWAO.js";import"../../../chunk-PRVQAHWI.js";import"../../../chunk-YTNDFQJT.js";import"../../../chunk-ULQG3XQS.js";import"../../../chunk-IU2ZQ6TE.js";import"../../../chunk-PIBY5DDZ.js";import"../../../chunk-VPRTJUIN.js";export{a as default};
|