@ohos-ports/shopify 4.8.0-beta.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 +75 -0
- package/bin/run.cmd +3 -0
- package/bin/run.js +11 -0
- package/dist/acorn-7M27BPGP.js +16 -0
- package/dist/analytics-3IIUBZ3B.js +1 -0
- package/dist/analytics-OOT5AB52.js +1 -0
- package/dist/angular-DW5TQVCM.js +4 -0
- package/dist/assets/graphiql/favicon.ico +0 -0
- package/dist/assets/graphiql/style.css +58 -0
- package/dist/assets/hydrogen/bundle/analyzer.html +2056 -0
- package/dist/assets/hydrogen/i18n/domains.ts +21 -0
- package/dist/assets/hydrogen/i18n/mock-i18n-types.ts +5 -0
- package/dist/assets/hydrogen/i18n/subdomains.ts +20 -0
- package/dist/assets/hydrogen/i18n/subfolders.ts +22 -0
- package/dist/assets/hydrogen/routes/locale-check.ts +16 -0
- package/dist/assets/hydrogen/starter/.cursor/rules/hydrogen-react-router.mdc +52 -0
- package/dist/assets/hydrogen/starter/.graphqlrc.ts +29 -0
- package/dist/assets/hydrogen/starter/AGENTS.md +5 -0
- package/dist/assets/hydrogen/starter/CHANGELOG.md +2839 -0
- package/dist/assets/hydrogen/starter/CLAUDE.md +1 -0
- package/dist/assets/hydrogen/starter/README.md +45 -0
- package/dist/assets/hydrogen/starter/app/assets/favicon.svg +28 -0
- package/dist/assets/hydrogen/starter/app/components/AddToCartButton.tsx +37 -0
- package/dist/assets/hydrogen/starter/app/components/Aside.tsx +101 -0
- package/dist/assets/hydrogen/starter/app/components/CartLineItem.tsx +197 -0
- package/dist/assets/hydrogen/starter/app/components/CartMain.tsx +109 -0
- package/dist/assets/hydrogen/starter/app/components/CartSummary.tsx +300 -0
- package/dist/assets/hydrogen/starter/app/components/Footer.tsx +129 -0
- package/dist/assets/hydrogen/starter/app/components/Header.tsx +231 -0
- package/dist/assets/hydrogen/starter/app/components/MockShopNotice.tsx +20 -0
- package/dist/assets/hydrogen/starter/app/components/PageLayout.tsx +174 -0
- package/dist/assets/hydrogen/starter/app/components/PaginatedResourceSection.tsx +61 -0
- package/dist/assets/hydrogen/starter/app/components/ProductForm.tsx +150 -0
- package/dist/assets/hydrogen/starter/app/components/ProductImage.tsx +23 -0
- package/dist/assets/hydrogen/starter/app/components/ProductItem.tsx +44 -0
- package/dist/assets/hydrogen/starter/app/components/ProductPrice.tsx +27 -0
- package/dist/assets/hydrogen/starter/app/components/SearchForm.tsx +68 -0
- package/dist/assets/hydrogen/starter/app/components/SearchFormPredictive.tsx +76 -0
- package/dist/assets/hydrogen/starter/app/components/SearchResults.tsx +161 -0
- package/dist/assets/hydrogen/starter/app/components/SearchResultsPredictive.tsx +304 -0
- package/dist/assets/hydrogen/starter/app/entry.client.tsx +21 -0
- package/dist/assets/hydrogen/starter/app/entry.server.tsx +53 -0
- package/dist/assets/hydrogen/starter/app/graphql/customer-account/CustomerAddressMutations.ts +64 -0
- package/dist/assets/hydrogen/starter/app/graphql/customer-account/CustomerDetailsQuery.ts +40 -0
- package/dist/assets/hydrogen/starter/app/graphql/customer-account/CustomerOrderQuery.ts +90 -0
- package/dist/assets/hydrogen/starter/app/graphql/customer-account/CustomerOrdersQuery.ts +63 -0
- package/dist/assets/hydrogen/starter/app/graphql/customer-account/CustomerUpdateMutation.ts +25 -0
- package/dist/assets/hydrogen/starter/app/lib/context.ts +65 -0
- package/dist/assets/hydrogen/starter/app/lib/fragments.ts +242 -0
- package/dist/assets/hydrogen/starter/app/lib/orderFilters.ts +90 -0
- package/dist/assets/hydrogen/starter/app/lib/redirect.ts +23 -0
- package/dist/assets/hydrogen/starter/app/lib/search.ts +79 -0
- package/dist/assets/hydrogen/starter/app/lib/session.ts +72 -0
- package/dist/assets/hydrogen/starter/app/lib/variants.ts +46 -0
- package/dist/assets/hydrogen/starter/app/root.tsx +209 -0
- package/dist/assets/hydrogen/starter/app/routes/$.tsx +11 -0
- package/dist/assets/hydrogen/starter/app/routes/[robots.txt].tsx +78 -0
- package/dist/assets/hydrogen/starter/app/routes/[sitemap.xml].tsx +16 -0
- package/dist/assets/hydrogen/starter/app/routes/_index.tsx +177 -0
- package/dist/assets/hydrogen/starter/app/routes/account.$.tsx +9 -0
- package/dist/assets/hydrogen/starter/app/routes/account._index.tsx +5 -0
- package/dist/assets/hydrogen/starter/app/routes/account.addresses.tsx +516 -0
- package/dist/assets/hydrogen/starter/app/routes/account.orders.$id.tsx +222 -0
- package/dist/assets/hydrogen/starter/app/routes/account.orders._index.tsx +222 -0
- package/dist/assets/hydrogen/starter/app/routes/account.profile.tsx +133 -0
- package/dist/assets/hydrogen/starter/app/routes/account.tsx +97 -0
- package/dist/assets/hydrogen/starter/app/routes/account_.authorize.tsx +5 -0
- package/dist/assets/hydrogen/starter/app/routes/account_.login.tsx +17 -0
- package/dist/assets/hydrogen/starter/app/routes/account_.logout.tsx +11 -0
- package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle.$articleHandle.tsx +129 -0
- package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle._index.tsx +175 -0
- package/dist/assets/hydrogen/starter/app/routes/blogs._index.tsx +109 -0
- package/dist/assets/hydrogen/starter/app/routes/cart.$lines.tsx +70 -0
- package/dist/assets/hydrogen/starter/app/routes/cart.tsx +113 -0
- package/dist/assets/hydrogen/starter/app/routes/collections.$handle.tsx +161 -0
- package/dist/assets/hydrogen/starter/app/routes/collections._index.tsx +133 -0
- package/dist/assets/hydrogen/starter/app/routes/collections.all.tsx +122 -0
- package/dist/assets/hydrogen/starter/app/routes/discount.$code.tsx +48 -0
- package/dist/assets/hydrogen/starter/app/routes/pages.$handle.tsx +88 -0
- package/dist/assets/hydrogen/starter/app/routes/policies.$handle.tsx +93 -0
- package/dist/assets/hydrogen/starter/app/routes/policies._index.tsx +69 -0
- package/dist/assets/hydrogen/starter/app/routes/products.$handle.tsx +232 -0
- package/dist/assets/hydrogen/starter/app/routes/search.tsx +426 -0
- package/dist/assets/hydrogen/starter/app/routes/sitemap.$type.$page[.xml].tsx +23 -0
- package/dist/assets/hydrogen/starter/app/routes.ts +9 -0
- package/dist/assets/hydrogen/starter/app/styles/app.css +645 -0
- package/dist/assets/hydrogen/starter/app/styles/reset.css +139 -0
- package/dist/assets/hydrogen/starter/customer-accountapi.generated.d.ts +543 -0
- package/dist/assets/hydrogen/starter/env.d.ts +7 -0
- package/dist/assets/hydrogen/starter/eslint.config.js +247 -0
- package/dist/assets/hydrogen/starter/guides/predictiveSearch/predictiveSearch.jpg +0 -0
- package/dist/assets/hydrogen/starter/guides/predictiveSearch/predictiveSearch.md +394 -0
- package/dist/assets/hydrogen/starter/guides/search/search.jpg +0 -0
- package/dist/assets/hydrogen/starter/guides/search/search.md +335 -0
- package/dist/assets/hydrogen/starter/package.json +62 -0
- package/dist/assets/hydrogen/starter/public/.gitkeep +0 -0
- package/dist/assets/hydrogen/starter/react-router.config.ts +13 -0
- package/dist/assets/hydrogen/starter/server.ts +59 -0
- package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +1342 -0
- package/dist/assets/hydrogen/starter/tsconfig.json +43 -0
- package/dist/assets/hydrogen/starter/vite.config.ts +44 -0
- package/dist/assets/hydrogen/tailwind/package.json +11 -0
- package/dist/assets/hydrogen/tailwind/tailwind.css +6 -0
- package/dist/assets/hydrogen/vanilla-extract/package.json +8 -0
- package/dist/assets/hydrogen/virtual-routes/assets/debug-network.css +609 -0
- package/dist/assets/hydrogen/virtual-routes/assets/favicon-dark.svg +20 -0
- package/dist/assets/hydrogen/virtual-routes/assets/favicon.svg +28 -0
- package/dist/assets/hydrogen/virtual-routes/assets/inter-variable-font.woff2 +0 -0
- package/dist/assets/hydrogen/virtual-routes/assets/jetbrainsmono-variable-font.woff2 +0 -0
- package/dist/assets/hydrogen/virtual-routes/assets/styles.css +249 -0
- package/dist/assets/hydrogen/virtual-routes/components/FlameChartWrapper.jsx +123 -0
- package/dist/assets/hydrogen/virtual-routes/components/HydrogenLogoBaseBW.jsx +32 -0
- package/dist/assets/hydrogen/virtual-routes/components/HydrogenLogoBaseColor.jsx +47 -0
- package/dist/assets/hydrogen/virtual-routes/components/IconBanner.jsx +292 -0
- package/dist/assets/hydrogen/virtual-routes/components/IconClose.jsx +38 -0
- package/dist/assets/hydrogen/virtual-routes/components/IconDiscard.jsx +44 -0
- package/dist/assets/hydrogen/virtual-routes/components/IconError.jsx +61 -0
- package/dist/assets/hydrogen/virtual-routes/components/IconGithub.jsx +23 -0
- package/dist/assets/hydrogen/virtual-routes/components/IconTwitter.jsx +21 -0
- package/dist/assets/hydrogen/virtual-routes/components/Layout.jsx +7 -0
- package/dist/assets/hydrogen/virtual-routes/components/RequestDetails.jsx +171 -0
- package/dist/assets/hydrogen/virtual-routes/components/RequestTable.jsx +91 -0
- package/dist/assets/hydrogen/virtual-routes/components/RequestWaterfall.jsx +151 -0
- package/dist/assets/hydrogen/virtual-routes/layout.jsx +33 -0
- package/dist/assets/hydrogen/virtual-routes/lib/useDebugNetworkServer.jsx +178 -0
- package/dist/assets/hydrogen/virtual-routes/routes/[.]well-known.appspecific.com[.]chrome[.]devtools[.]json.jsx +37 -0
- package/dist/assets/hydrogen/virtual-routes/routes/graphiql.jsx +5 -0
- package/dist/assets/hydrogen/virtual-routes/routes/index.jsx +265 -0
- package/dist/assets/hydrogen/virtual-routes/routes/subrequest-profiler.jsx +243 -0
- package/dist/assets/hydrogen/virtual-routes/virtual-root-with-layout.jsx +63 -0
- package/dist/assets/hydrogen/virtual-routes/virtual-root.jsx +67 -0
- package/dist/assets/hydrogen/vite/package.json +13 -0
- package/dist/assets/hydrogen/vite/vite.config.js +43 -0
- package/dist/assets/speedscope/SourceCodePro-Regular.ttf.f546cbe0.woff2 +0 -0
- package/dist/assets/speedscope/demangle-cpp.1768f4cc.js +4 -0
- package/dist/assets/speedscope/favicon-16x16.f74b3187.png +0 -0
- package/dist/assets/speedscope/favicon-32x32.bc503437.png +0 -0
- package/dist/assets/speedscope/file-format-schema.json +324 -0
- package/dist/assets/speedscope/import.bcbb2033.js +123 -0
- package/dist/assets/speedscope/index.html +2 -0
- package/dist/assets/speedscope/perf-vertx-stacks-01-collapsed-all.2681da68.txt +199 -0
- package/dist/assets/speedscope/release.txt +3 -0
- package/dist/assets/speedscope/reset.8c46b7a1.css +2 -0
- package/dist/assets/speedscope/source-code-pro.52b1676f.css +2 -0
- package/dist/assets/speedscope/source-code-pro.LICENSE.md +93 -0
- package/dist/assets/speedscope/source-map.438fa06b.js +24 -0
- package/dist/assets/speedscope/speedscope.6f107512.js +193 -0
- package/dist/babel-I2RLWM7N.js +15 -0
- package/dist/bootstrap.d.ts +5 -0
- package/dist/bootstrap.js +3 -0
- package/dist/chokidar-5RWEYTNQ.js +1 -0
- package/dist/chunk-2AK44UYM.js +1 -0
- package/dist/chunk-2CIZE537.js +3 -0
- package/dist/chunk-2EAFYCCS.js +16 -0
- package/dist/chunk-2KD4LHRT.js +5 -0
- package/dist/chunk-2KGPH7YG.js +2 -0
- package/dist/chunk-2O224ZPO.js +3 -0
- package/dist/chunk-2XDUJQQN.js +12 -0
- package/dist/chunk-36ROOKQB.js +1 -0
- package/dist/chunk-3DCN3N23.js +4 -0
- package/dist/chunk-3JXPOOFV.js +836 -0
- package/dist/chunk-4QBJ5JBX.js +18 -0
- package/dist/chunk-4ZNV5YSL.js +1 -0
- package/dist/chunk-5HBIIYSK.js +1 -0
- package/dist/chunk-5L63PRJL.js +2 -0
- package/dist/chunk-5N6HNQQ5.js +8 -0
- package/dist/chunk-5SEEDOQ5.js +1 -0
- package/dist/chunk-636CTEW7.js +1 -0
- package/dist/chunk-67Z34HN5.js +5 -0
- package/dist/chunk-6BDAJ6UD.js +5 -0
- package/dist/chunk-6CXG3XLP.js +1 -0
- package/dist/chunk-6MWWJZFN.js +19 -0
- package/dist/chunk-6QDOCBD4.js +6 -0
- package/dist/chunk-6RQOEPEC.js +1 -0
- package/dist/chunk-72ZY3KTF.js +1 -0
- package/dist/chunk-742XXXGL.js +6 -0
- package/dist/chunk-773TIA5M.js +2 -0
- package/dist/chunk-7HFHL5SO.js +2 -0
- package/dist/chunk-7ISJRIPT.js +1 -0
- package/dist/chunk-7LWUHQIF.js +1 -0
- package/dist/chunk-7T6M7FAC.js +103 -0
- package/dist/chunk-7UNQOKZW.js +1 -0
- package/dist/chunk-7Y7AZRL3.js +10 -0
- package/dist/chunk-A6BMJISP.js +8 -0
- package/dist/chunk-AAK376RT.js +2 -0
- package/dist/chunk-AEUCDGTB.js +294 -0
- package/dist/chunk-AWUX36VG.js +1 -0
- package/dist/chunk-B4OMIONW.js +5 -0
- package/dist/chunk-BOAGJ6P5.js +1 -0
- package/dist/chunk-BWJIZYAG.js +1 -0
- package/dist/chunk-BZ73NV3L.js +2 -0
- package/dist/chunk-C3RUVXG2.js +6 -0
- package/dist/chunk-C4YLE3NS.js +64 -0
- package/dist/chunk-CEYIZC3M.js +2 -0
- package/dist/chunk-CIWKN4HF.js +7 -0
- package/dist/chunk-CRALWNNO.js +1 -0
- package/dist/chunk-CTNBSUVU.js +83 -0
- package/dist/chunk-CULTZLC4.js +1 -0
- package/dist/chunk-CX5CC6P5.js +1 -0
- package/dist/chunk-CX75OKZK.js +1 -0
- package/dist/chunk-DASVZTAX.js +359 -0
- package/dist/chunk-DPNZWBT5.js +1 -0
- package/dist/chunk-DX3JLOUA.js +4 -0
- package/dist/chunk-E55KS3GZ.js +1 -0
- package/dist/chunk-E5FXOLQO.js +17 -0
- package/dist/chunk-E6N4PZZR.js +7 -0
- package/dist/chunk-EB574SY6.js +6 -0
- package/dist/chunk-ET2CGROE.js +451 -0
- package/dist/chunk-EX5GVHGE.js +1 -0
- package/dist/chunk-F3NYCSXT.js +273 -0
- package/dist/chunk-F3TMLDLC.js +1 -0
- package/dist/chunk-F6X6OXXB.js +3 -0
- package/dist/chunk-FDBHQLFK.js +1 -0
- package/dist/chunk-FDYW3UQC.js +1 -0
- package/dist/chunk-FEDVVYK2.js +1 -0
- package/dist/chunk-FFSDGRAN.js +1 -0
- package/dist/chunk-FJ6F4XRV.js +28 -0
- package/dist/chunk-FKIVKNOV.js +2 -0
- package/dist/chunk-FOREMLFZ.js +1 -0
- package/dist/chunk-FUYDGK33.js +2 -0
- package/dist/chunk-FX3L344E.js +1 -0
- package/dist/chunk-G5XIGN5D.js +593 -0
- package/dist/chunk-GAYKYEIM.js +1 -0
- package/dist/chunk-GB3YC4TI.js +1 -0
- package/dist/chunk-GCN4O7HM.js +1 -0
- package/dist/chunk-GCY7LPEF.js +6 -0
- package/dist/chunk-GNBRCK7L.js +3 -0
- package/dist/chunk-GRPKF5ZB.js +1 -0
- package/dist/chunk-GRSF7456.js +1 -0
- package/dist/chunk-H2TQ4ODI.js +1 -0
- package/dist/chunk-H6XEESUN.js +4 -0
- package/dist/chunk-HB347DXT.js +2 -0
- package/dist/chunk-HFSCXTJQ.js +97 -0
- package/dist/chunk-HHN6KZXX.js +1 -0
- package/dist/chunk-HP64ZTEJ.js +6 -0
- package/dist/chunk-I5A6BPCP.js +1 -0
- package/dist/chunk-IARCMH7G.js +5 -0
- package/dist/chunk-IBI5UCJO.js +1 -0
- package/dist/chunk-IKUSLRGD.js +1 -0
- package/dist/chunk-IT4HYLTY.js +1 -0
- package/dist/chunk-IWOTLFOY.js +32 -0
- package/dist/chunk-J3JPJCWP.js +1 -0
- package/dist/chunk-J4T73EAS.js +8 -0
- package/dist/chunk-JD5P5RAJ.js +1 -0
- package/dist/chunk-JG4HH54Q.js +1 -0
- package/dist/chunk-JIYSCWCG.js +1 -0
- package/dist/chunk-JJZNUFPD.js +44 -0
- package/dist/chunk-JLGA3B7P.js +1 -0
- package/dist/chunk-JWRK5KLD.js +560 -0
- package/dist/chunk-JX7FYWPO.js +1 -0
- package/dist/chunk-K42WBNJQ.js +18 -0
- package/dist/chunk-KDU7VW3L.js +11 -0
- package/dist/chunk-KWVOJWO7.js +1 -0
- package/dist/chunk-LANUJ7LX.js +16 -0
- package/dist/chunk-LD6ZCTZ3.js +9 -0
- package/dist/chunk-LFOBYEWG.js +1 -0
- package/dist/chunk-LQ7ENG4V.js +1 -0
- package/dist/chunk-LUKQ5HLC.js +1 -0
- package/dist/chunk-M2XHIN57.js +4 -0
- package/dist/chunk-MNOQAXJW.js +3 -0
- package/dist/chunk-MPW2YJWU.js +31 -0
- package/dist/chunk-MYQUYU4U.js +2 -0
- package/dist/chunk-N65F7ET2.js +1 -0
- package/dist/chunk-N6RBRPGW.js +7 -0
- package/dist/chunk-N75VOJHO.js +15 -0
- package/dist/chunk-NBFMP5XQ.js +1 -0
- package/dist/chunk-NE3ZFSMS.js +1 -0
- package/dist/chunk-NGLMZYS7.js +278 -0
- package/dist/chunk-NHAUJWEG.js +1 -0
- package/dist/chunk-NILETICC.js +11 -0
- package/dist/chunk-NNZXKFOS.js +7 -0
- package/dist/chunk-NQK2VCDA.js +1 -0
- package/dist/chunk-NROVZETL.js +1 -0
- package/dist/chunk-NW6NUGN7.js +1 -0
- package/dist/chunk-O7DZXO3O.js +15 -0
- package/dist/chunk-OBYQSIYU.js +25 -0
- package/dist/chunk-OEG3N5PG.js +15 -0
- package/dist/chunk-OGBZTY2G.js +5 -0
- package/dist/chunk-OMHR423H.js +1 -0
- package/dist/chunk-OV6SRRXR.js +5 -0
- package/dist/chunk-OVV5YGKN.js +1 -0
- package/dist/chunk-OZL5FTT7.js +1 -0
- package/dist/chunk-OZMQ2EJB.js +1 -0
- package/dist/chunk-P2OI2P2M.js +1 -0
- package/dist/chunk-P57P7UAN.js +3 -0
- package/dist/chunk-PATTG7YZ.js +1 -0
- package/dist/chunk-PG5YNPJB.js +26 -0
- package/dist/chunk-PP4L2JJ6.js +3 -0
- package/dist/chunk-Q5JX23QU.js +1 -0
- package/dist/chunk-Q5KVMLBK.js +4 -0
- package/dist/chunk-Q5LIJGT7.js +12 -0
- package/dist/chunk-Q6ADIMJM.js +6 -0
- package/dist/chunk-Q7BOSHWX.js +7 -0
- package/dist/chunk-QERQARMC.js +1 -0
- package/dist/chunk-QOV43E26.js +1 -0
- package/dist/chunk-QTFUYKMF.js +1 -0
- package/dist/chunk-QTJCCOAG.js +20 -0
- package/dist/chunk-R6ICQT2D.js +1 -0
- package/dist/chunk-R7T3LYJL.js +3 -0
- package/dist/chunk-RJ5VF3QY.js +2 -0
- package/dist/chunk-RXQJCJDV.js +1 -0
- package/dist/chunk-S2TLBBSS.js +5 -0
- package/dist/chunk-S5FOQY35.js +1 -0
- package/dist/chunk-SYLHT42O.js +1 -0
- package/dist/chunk-T4AA6TSF.js +15 -0
- package/dist/chunk-T4QWK5GG.js +10 -0
- package/dist/chunk-T7KHS6RF.js +1 -0
- package/dist/chunk-T7PJDT5O.js +6 -0
- package/dist/chunk-TEY4LRY7.js +1 -0
- package/dist/chunk-TFBRVLDN.js +1 -0
- package/dist/chunk-TOLPNBZK.js +4 -0
- package/dist/chunk-TR4OWSEX.js +77 -0
- package/dist/chunk-TU47HMTL.js +1 -0
- package/dist/chunk-TUVDJ3PG.js +2 -0
- package/dist/chunk-TYMYIUIQ.js +1 -0
- package/dist/chunk-U2DWBZK2.js +1 -0
- package/dist/chunk-U53OLUOE.js +3 -0
- package/dist/chunk-UAETNFN4.js +1 -0
- package/dist/chunk-UAFEFKAQ.js +5 -0
- package/dist/chunk-ULRJDKWQ.js +1 -0
- package/dist/chunk-UOHNRH6E.js +7 -0
- package/dist/chunk-UZARYOLN.js +1 -0
- package/dist/chunk-VASGXHYA.js +1 -0
- package/dist/chunk-VD4XJ6BX.js +1 -0
- package/dist/chunk-VE35YELD.js +1 -0
- package/dist/chunk-VFM2KQRM.js +19 -0
- package/dist/chunk-VJEKDBGZ.js +1 -0
- package/dist/chunk-VKWPEFWQ.js +1 -0
- package/dist/chunk-VSDRNYA5.js +1 -0
- package/dist/chunk-VUMUCNI7.js +1 -0
- package/dist/chunk-VVZSYHDG.js +4 -0
- package/dist/chunk-VXEYO3ZP.js +1 -0
- package/dist/chunk-VYDSOAV4.js +9 -0
- package/dist/chunk-W6ST525S.js +99 -0
- package/dist/chunk-WBYAGS6B.js +6 -0
- package/dist/chunk-WGAFCKGD.js +1 -0
- package/dist/chunk-WYBTC356.js +1 -0
- package/dist/chunk-XF2KTEID.js +1 -0
- package/dist/chunk-XH5YGJQR.js +1 -0
- package/dist/chunk-XHKWITLA.js +1705 -0
- package/dist/chunk-XOCB4KNX.js +2 -0
- package/dist/chunk-XUUAKGEX.js +1 -0
- package/dist/chunk-XUYVJEZG.js +3 -0
- package/dist/chunk-Y47C3LSX.js +3 -0
- package/dist/chunk-Y5PRPHLQ.js +6 -0
- package/dist/chunk-YD2VQEN5.js +1 -0
- package/dist/chunk-YESGYUEL.js +1 -0
- package/dist/chunk-YEVGLC5X.js +1 -0
- package/dist/chunk-YFINLODF.js +375 -0
- package/dist/chunk-YKL3BLWC.js +46 -0
- package/dist/chunk-YLQ3LNNY.js +99 -0
- package/dist/chunk-YLXPYXQP.js +1 -0
- package/dist/chunk-YNDIZCD2.js +7 -0
- package/dist/chunk-YPWHD3NL.js +1 -0
- package/dist/chunk-YSAFHVV6.js +8 -0
- package/dist/chunk-YY6TFARF.js +1 -0
- package/dist/chunk-YZMY2CTU.js +10 -0
- package/dist/chunk-Z4AFEO36.js +1 -0
- package/dist/chunk-Z5WPP6ME.js +1 -0
- package/dist/chunk-Z65E4UAP.js +1 -0
- package/dist/chunk-ZDF5N422.js +1 -0
- package/dist/chunk-ZDRIQC7O.js +1 -0
- package/dist/chunk-ZH44BDUR.js +5 -0
- package/dist/chunk-ZI7LK3LW.js +11 -0
- package/dist/chunk-ZL5LU4U2.js +32 -0
- package/dist/chunk-ZYX7UHCQ.js +1 -0
- package/dist/chunk-ZZRFG6ME.js +317 -0
- package/dist/cli/commands/app/app-logs/sources.js +1 -0
- package/dist/cli/commands/app/build.js +1 -0
- package/dist/cli/commands/app/bulk/cancel.js +1 -0
- package/dist/cli/commands/app/bulk/execute.js +1 -0
- package/dist/cli/commands/app/bulk/status.js +1 -0
- package/dist/cli/commands/app/config/link.js +1 -0
- package/dist/cli/commands/app/config/pull.js +1 -0
- package/dist/cli/commands/app/config/use.js +1 -0
- package/dist/cli/commands/app/config/validate.js +1 -0
- package/dist/cli/commands/app/demo/watcher.js +1 -0
- package/dist/cli/commands/app/deploy.js +1 -0
- package/dist/cli/commands/app/dev/clean.js +1 -0
- package/dist/cli/commands/app/dev.js +1 -0
- package/dist/cli/commands/app/doctor/instructions.js +1 -0
- package/dist/cli/commands/app/doctor.js +1 -0
- package/dist/cli/commands/app/env/pull.js +1 -0
- package/dist/cli/commands/app/env/show.js +1 -0
- package/dist/cli/commands/app/execute.js +1 -0
- package/dist/cli/commands/app/function/build.js +1 -0
- package/dist/cli/commands/app/function/info.js +1 -0
- package/dist/cli/commands/app/function/replay.js +1 -0
- package/dist/cli/commands/app/function/run.js +1 -0
- package/dist/cli/commands/app/function/schema.js +1 -0
- package/dist/cli/commands/app/function/typegen.js +1 -0
- package/dist/cli/commands/app/generate/extension.js +1 -0
- package/dist/cli/commands/app/graphiql.js +1 -0
- package/dist/cli/commands/app/import-custom-data-definitions.js +1 -0
- package/dist/cli/commands/app/import-extensions.js +1 -0
- package/dist/cli/commands/app/info.js +1 -0
- package/dist/cli/commands/app/init.js +1 -0
- package/dist/cli/commands/app/logs.js +1 -0
- package/dist/cli/commands/app/release.js +1 -0
- package/dist/cli/commands/app/subscription-migrations/cancel.js +1 -0
- package/dist/cli/commands/app/subscription-migrations/list.js +1 -0
- package/dist/cli/commands/app/subscription-migrations/schedule.js +1 -0
- package/dist/cli/commands/app/subscription-migrations/status.js +1 -0
- package/dist/cli/commands/app/subscription-migrations/unschedule.js +1 -0
- package/dist/cli/commands/app/versions/list.js +1 -0
- package/dist/cli/commands/app/webhook/trigger.js +1 -0
- package/dist/cli/commands/auth/login.d.ts +8 -0
- package/dist/cli/commands/auth/login.js +1 -0
- package/dist/cli/commands/auth/logout.d.ts +5 -0
- package/dist/cli/commands/auth/logout.js +1 -0
- package/dist/cli/commands/cache/clear.d.ts +6 -0
- package/dist/cli/commands/cache/clear.js +1 -0
- package/dist/cli/commands/config/autoupgrade/constants.d.ts +4 -0
- package/dist/cli/commands/config/autoupgrade/constants.js +1 -0
- package/dist/cli/commands/config/autoupgrade/off.d.ts +7 -0
- package/dist/cli/commands/config/autoupgrade/off.js +1 -0
- package/dist/cli/commands/config/autoupgrade/on.d.ts +7 -0
- package/dist/cli/commands/config/autoupgrade/on.js +1 -0
- package/dist/cli/commands/config/autoupgrade/status.d.ts +7 -0
- package/dist/cli/commands/config/autoupgrade/status.js +1 -0
- package/dist/cli/commands/debug/command-flags.d.ts +9 -0
- package/dist/cli/commands/debug/command-flags.js +1 -0
- package/dist/cli/commands/doc/fetch.d.ts +12 -0
- package/dist/cli/commands/doc/fetch.js +1 -0
- package/dist/cli/commands/doc/search.d.ts +13 -0
- package/dist/cli/commands/doc/search.js +1 -0
- package/dist/cli/commands/docs/generate.d.ts +21 -0
- package/dist/cli/commands/docs/generate.js +1 -0
- package/dist/cli/commands/doctor-release/doctor-release.d.ts +6 -0
- package/dist/cli/commands/doctor-release/doctor-release.js +1 -0
- package/dist/cli/commands/doctor-release/theme/index.d.ts +14 -0
- package/dist/cli/commands/doctor-release/theme/index.js +1 -0
- package/dist/cli/commands/help.d.ts +13 -0
- package/dist/cli/commands/help.js +1 -0
- package/dist/cli/commands/kitchen-sink/async.d.ts +11 -0
- package/dist/cli/commands/kitchen-sink/async.js +1 -0
- package/dist/cli/commands/kitchen-sink/index.d.ts +12 -0
- package/dist/cli/commands/kitchen-sink/index.js +1 -0
- package/dist/cli/commands/kitchen-sink/prompts.d.ts +11 -0
- package/dist/cli/commands/kitchen-sink/prompts.js +1 -0
- package/dist/cli/commands/kitchen-sink/static.d.ts +11 -0
- package/dist/cli/commands/kitchen-sink/static.js +1 -0
- package/dist/cli/commands/notifications/generate.d.ts +6 -0
- package/dist/cli/commands/notifications/generate.js +1 -0
- package/dist/cli/commands/notifications/list.d.ts +9 -0
- package/dist/cli/commands/notifications/list.js +1 -0
- package/dist/cli/commands/organization/list.js +1 -0
- package/dist/cli/commands/search.d.ts +14 -0
- package/dist/cli/commands/search.js +1 -0
- package/dist/cli/commands/send-analytics.d.ts +5 -0
- package/dist/cli/commands/send-analytics.js +1 -0
- package/dist/cli/commands/theme/check.js +1 -0
- package/dist/cli/commands/theme/console.js +1 -0
- package/dist/cli/commands/theme/delete.js +1 -0
- package/dist/cli/commands/theme/dev.js +1 -0
- package/dist/cli/commands/theme/duplicate.js +1 -0
- package/dist/cli/commands/theme/info.js +1 -0
- package/dist/cli/commands/theme/init.js +1 -0
- package/dist/cli/commands/theme/language-server.js +1 -0
- package/dist/cli/commands/theme/list.js +1 -0
- package/dist/cli/commands/theme/metafields/pull.js +1 -0
- package/dist/cli/commands/theme/open.js +1 -0
- package/dist/cli/commands/theme/package.js +1 -0
- package/dist/cli/commands/theme/preview.js +1 -0
- package/dist/cli/commands/theme/profile.js +1 -0
- package/dist/cli/commands/theme/publish.js +1 -0
- package/dist/cli/commands/theme/pull.js +1 -0
- package/dist/cli/commands/theme/push.js +1 -0
- package/dist/cli/commands/theme/rename.js +1 -0
- package/dist/cli/commands/theme/share.js +1 -0
- package/dist/cli/commands/upgrade.d.ts +7 -0
- package/dist/cli/commands/upgrade.js +1 -0
- package/dist/cli/commands/version.d.ts +5 -0
- package/dist/cli/commands/version.js +1 -0
- package/dist/cli/help.d.ts +38 -0
- package/dist/cli/help.js +2 -0
- package/dist/cli/services/commands/doc/fetch.d.ts +1 -0
- package/dist/cli/services/commands/doc/fetch.js +45 -0
- package/dist/cli/services/commands/doc/search.d.ts +1 -0
- package/dist/cli/services/commands/doc/search.js +47 -0
- package/dist/cli/services/commands/notifications.d.ts +2 -0
- package/dist/cli/services/commands/notifications.js +106 -0
- package/dist/cli/services/commands/search.d.ts +1 -0
- package/dist/cli/services/commands/search.js +7 -0
- package/dist/cli/services/commands/version.d.ts +1 -0
- package/dist/cli/services/commands/version.js +6 -0
- package/dist/cli/services/doctor-release/context.d.ts +16 -0
- package/dist/cli/services/doctor-release/context.js +11 -0
- package/dist/cli/services/doctor-release/theme/runner.d.ts +7 -0
- package/dist/cli/services/doctor-release/theme/runner.js +37 -0
- package/dist/cli/services/doctor-release/theme/tests/init.d.ts +11 -0
- package/dist/cli/services/doctor-release/theme/tests/init.js +34 -0
- package/dist/cli/services/doctor-release/theme/tests/push.d.ts +10 -0
- package/dist/cli/services/doctor-release/theme/tests/push.js +44 -0
- package/dist/cli/services/kitchen-sink/async.d.ts +1 -0
- package/dist/cli/services/kitchen-sink/async.js +65 -0
- package/dist/cli/services/kitchen-sink/prompts.d.ts +1 -0
- package/dist/cli/services/kitchen-sink/prompts.js +168 -0
- package/dist/cli/services/kitchen-sink/static.d.ts +1 -0
- package/dist/cli/services/kitchen-sink/static.js +201 -0
- package/dist/command-registry.d.ts +8 -0
- package/dist/command-registry.js +1 -0
- package/dist/conf-store-ASDCTDQ4.js +1 -0
- package/dist/configs/all.yml +280 -0
- package/dist/configs/nothing.yml +3 -0
- package/dist/configs/recommended.yml +258 -0
- package/dist/configs/theme-app-extension.yml +24 -0
- package/dist/custom-oclif-loader-BWAMUFQ4.js +1 -0
- package/dist/data/app_block_entry.json +13 -0
- package/dist/data/default_setting_values.json +24 -0
- package/dist/data/filters.json +6177 -0
- package/dist/data/latest.json +2 -0
- package/dist/data/local_block_entry.json +25 -0
- package/dist/data/manifest_theme.json +19 -0
- package/dist/data/manifest_theme_app_extension.json +10 -0
- package/dist/data/objects.json +20621 -0
- package/dist/data/preset.json +72 -0
- package/dist/data/preset_blocks.json +91 -0
- package/dist/data/section.json +208 -0
- package/dist/data/setting.json +1538 -0
- package/dist/data/settings.json +10 -0
- package/dist/data/shopify_system_translations.json +2766 -0
- package/dist/data/tags.json +1276 -0
- package/dist/data/targetted_block_entry.json +15 -0
- package/dist/data/theme_block.json +91 -0
- package/dist/data/theme_block_entry.json +14 -0
- package/dist/data/theme_settings.json +83 -0
- package/dist/data/translations.json +63 -0
- package/dist/deprecations-VBQV7Q4O.js +1 -0
- package/dist/devtools-37DE4MUR.js +1 -0
- package/dist/devtools-WAWU5KQL.js +1 -0
- package/dist/dist-FZLOAKU7.js +1 -0
- package/dist/dist-HTY6UHG5.js +1 -0
- package/dist/environments-HSTNEQRG.js +1 -0
- package/dist/error-2LZYKRMA.js +1 -0
- package/dist/error-handler-PIGEJ7BT.js +1 -0
- package/dist/estree-JV5M77BA.js +44 -0
- package/dist/flow-N4JYPYMQ.js +20 -0
- package/dist/fs-BJHNJDDK.js +1 -0
- package/dist/glimmer-JEV3BXHR.js +37 -0
- package/dist/graphql-DTF6MHYF.js +28 -0
- package/dist/hooks/did-you-mean.d.ts +1 -0
- package/dist/hooks/did-you-mean.js +1 -0
- package/dist/hooks/hydrogen-init.d.ts +7 -0
- package/dist/hooks/hydrogen-init.js +1 -0
- package/dist/hooks/plugin-plugins.d.ts +1 -0
- package/dist/hooks/plugin-plugins.js +1 -0
- package/dist/hooks/postrun.d.ts +1 -0
- package/dist/hooks/postrun.js +1 -0
- package/dist/hooks/prerun.d.ts +1 -0
- package/dist/hooks/prerun.js +2 -0
- package/dist/hooks/public-metadata.d.ts +1 -0
- package/dist/hooks/public-metadata.js +1 -0
- package/dist/hooks/sensitive-metadata.d.ts +1 -0
- package/dist/hooks/sensitive-metadata.js +1 -0
- package/dist/hooks/tunnel-provider.d.ts +1 -0
- package/dist/hooks/tunnel-provider.js +1 -0
- package/dist/hooks/tunnel-start.d.ts +1 -0
- package/dist/hooks/tunnel-start.js +1 -0
- package/dist/html-LVOJ3RQS.js +25 -0
- package/dist/http-proxy-node16-A6AKKRQH.js +38 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +120 -0
- package/dist/is-global-6SCOAJVG.js +1 -0
- package/dist/latest-version-LDWU5F7A.js +49 -0
- package/dist/lib-2BR2WN7L.js +1 -0
- package/dist/lib-M72BVWQ3.js +1 -0
- package/dist/lib-O5EZ4NVT.js +1 -0
- package/dist/lib-P3APEIHY.js +1 -0
- package/dist/local-PZWPRFU7.js +1 -0
- package/dist/markdown-J6CE6POI.js +62 -0
- package/dist/meriyah-PNQQZQYI.js +5 -0
- package/dist/metadata-VVBHB3HL.js +1 -0
- package/dist/morph-BMYYMQNX.js +30489 -0
- package/dist/multipart-parser-5NSSTW27.js +2 -0
- package/dist/node-package-manager-ETYQN7OM.js +1 -0
- package/dist/notifications-system-652OG5KL.js +1 -0
- package/dist/npa-A4YSCQ5Q.js +1 -0
- package/dist/open-KLSGXBIW.js +1 -0
- package/dist/os-7D6NT4O3.js +1 -0
- package/dist/out-53ABAVL7.js +1 -0
- package/dist/output-74VDGYJD.js +1 -0
- package/dist/path-MBXP7ZIC.js +1 -0
- package/dist/postcss-Q36SHOML.js +61 -0
- package/dist/prettier-EGVCP5CY.js +1 -0
- package/dist/source-map-E7FCCJL7.js +1 -0
- package/dist/system-P5QIJALL.js +1 -0
- package/dist/templates/ui-extensions/html/error.html.liquid +41 -0
- package/dist/templates/ui-extensions/html/post_purchase/index.html.liquid +44 -0
- package/dist/templates/ui-extensions/html/post_purchase/tunnel-error.html.liquid +41 -0
- package/dist/templates/ui-extensions/html/tunnel-error.html.liquid +55 -0
- package/dist/toml_patch_bg.wasm +0 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/typescript-5R4Y7PXE.js +1 -0
- package/dist/typescript-WYPDGPSV.js +21 -0
- package/dist/ui-H5I5YVKV.js +1 -0
- package/dist/upgrade-34HSYBXI.js +1 -0
- package/dist/vendor/esbuild-ohos/lib/main.js +2538 -0
- package/dist/vendor/esbuild-ohos/package.json +7 -0
- package/dist/version-EKXEAF6Q.js +1 -0
- package/dist/version-J2PYO6M5.js +1 -0
- package/dist/workerd-X4TGHEG3.js +18 -0
- package/dist/yaml-6KWCJ64X.js +159 -0
- package/dist/yoga.wasm +0 -0
- package/oclif.manifest.json +10100 -0
- package/package.json +153 -0
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
body {
|
|
2
|
+
font-family:
|
|
3
|
+
system-ui,
|
|
4
|
+
-apple-system,
|
|
5
|
+
BlinkMacSystemFont,
|
|
6
|
+
'Segoe UI',
|
|
7
|
+
Roboto,
|
|
8
|
+
Oxygen,
|
|
9
|
+
Ubuntu,
|
|
10
|
+
Cantarell,
|
|
11
|
+
'Open Sans',
|
|
12
|
+
'Helvetica Neue',
|
|
13
|
+
sans-serif;
|
|
14
|
+
margin: 0;
|
|
15
|
+
padding: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
h1,
|
|
19
|
+
h2,
|
|
20
|
+
p {
|
|
21
|
+
margin: 0;
|
|
22
|
+
padding: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
h1 {
|
|
26
|
+
font-size: 1.6rem;
|
|
27
|
+
font-weight: 700;
|
|
28
|
+
line-height: 1.4;
|
|
29
|
+
margin-bottom: 2rem;
|
|
30
|
+
margin-top: 2rem;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
h2 {
|
|
34
|
+
font-size: 1.2rem;
|
|
35
|
+
font-weight: 700;
|
|
36
|
+
line-height: 1.4;
|
|
37
|
+
margin-bottom: 1rem;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
h4 {
|
|
41
|
+
margin-top: 0.5rem;
|
|
42
|
+
margin-bottom: 0.5rem;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
h5 {
|
|
46
|
+
margin-bottom: 1rem;
|
|
47
|
+
margin-top: 0.5rem;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
p {
|
|
51
|
+
font-size: 1rem;
|
|
52
|
+
line-height: 1.4;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
a {
|
|
56
|
+
color: #000;
|
|
57
|
+
text-decoration: none;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
a:hover {
|
|
61
|
+
text-decoration: underline;
|
|
62
|
+
cursor: pointer;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
hr {
|
|
66
|
+
border-bottom: none;
|
|
67
|
+
border-top: 1px solid #000;
|
|
68
|
+
margin: 0;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
pre {
|
|
72
|
+
white-space: pre-wrap;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
body {
|
|
76
|
+
display: flex;
|
|
77
|
+
flex-direction: column;
|
|
78
|
+
min-height: 100vh;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
body > main {
|
|
82
|
+
margin: 0 1rem 1rem 1rem;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
section {
|
|
86
|
+
padding: 1rem 0;
|
|
87
|
+
@media (min-width: 768px) {
|
|
88
|
+
padding: 2rem 0;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
fieldset {
|
|
93
|
+
display: flex;
|
|
94
|
+
flex-direction: column;
|
|
95
|
+
margin-bottom: 0.5rem;
|
|
96
|
+
padding: 1rem;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
form {
|
|
100
|
+
max-width: 100%;
|
|
101
|
+
@media (min-width: 768px) {
|
|
102
|
+
max-width: 400px;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
input {
|
|
107
|
+
border-radius: 4px;
|
|
108
|
+
border: 1px solid #000;
|
|
109
|
+
font-size: 1rem;
|
|
110
|
+
margin-bottom: 0.5rem;
|
|
111
|
+
margin-top: 0.25rem;
|
|
112
|
+
padding: 0.5rem;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
legend {
|
|
116
|
+
font-weight: 600;
|
|
117
|
+
margin-bottom: 0.5rem;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
ul {
|
|
121
|
+
list-style: none;
|
|
122
|
+
margin: 0;
|
|
123
|
+
padding: 0;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
li {
|
|
127
|
+
margin-bottom: 0.5rem;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
dl {
|
|
131
|
+
margin: 0.5rem 0;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
code {
|
|
135
|
+
background: #ddd;
|
|
136
|
+
border-radius: 4px;
|
|
137
|
+
font-family: monospace;
|
|
138
|
+
padding: 0.25rem;
|
|
139
|
+
}
|
|
@@ -0,0 +1,543 @@
|
|
|
1
|
+
/* eslint-disable eslint-comments/disable-enable-pair */
|
|
2
|
+
/* eslint-disable eslint-comments/no-unlimited-disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type * as CustomerAccountAPI from '@shopify/hydrogen/customer-account-api-types';
|
|
5
|
+
|
|
6
|
+
export type CustomerAddressUpdateMutationVariables = CustomerAccountAPI.Exact<{
|
|
7
|
+
address: CustomerAccountAPI.CustomerAddressInput;
|
|
8
|
+
addressId: CustomerAccountAPI.Scalars['ID']['input'];
|
|
9
|
+
defaultAddress?: CustomerAccountAPI.InputMaybe<
|
|
10
|
+
CustomerAccountAPI.Scalars['Boolean']['input']
|
|
11
|
+
>;
|
|
12
|
+
language?: CustomerAccountAPI.InputMaybe<CustomerAccountAPI.LanguageCode>;
|
|
13
|
+
}>;
|
|
14
|
+
|
|
15
|
+
export type CustomerAddressUpdateMutation = {
|
|
16
|
+
customerAddressUpdate?: CustomerAccountAPI.Maybe<{
|
|
17
|
+
customerAddress?: CustomerAccountAPI.Maybe<
|
|
18
|
+
Pick<CustomerAccountAPI.CustomerAddress, 'id'>
|
|
19
|
+
>;
|
|
20
|
+
userErrors: Array<
|
|
21
|
+
Pick<
|
|
22
|
+
CustomerAccountAPI.UserErrorsCustomerAddressUserErrors,
|
|
23
|
+
'code' | 'field' | 'message'
|
|
24
|
+
>
|
|
25
|
+
>;
|
|
26
|
+
}>;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export type CustomerAddressDeleteMutationVariables = CustomerAccountAPI.Exact<{
|
|
30
|
+
addressId: CustomerAccountAPI.Scalars['ID']['input'];
|
|
31
|
+
language?: CustomerAccountAPI.InputMaybe<CustomerAccountAPI.LanguageCode>;
|
|
32
|
+
}>;
|
|
33
|
+
|
|
34
|
+
export type CustomerAddressDeleteMutation = {
|
|
35
|
+
customerAddressDelete?: CustomerAccountAPI.Maybe<
|
|
36
|
+
Pick<
|
|
37
|
+
CustomerAccountAPI.CustomerAddressDeletePayload,
|
|
38
|
+
'deletedAddressId'
|
|
39
|
+
> & {
|
|
40
|
+
userErrors: Array<
|
|
41
|
+
Pick<
|
|
42
|
+
CustomerAccountAPI.UserErrorsCustomerAddressUserErrors,
|
|
43
|
+
'code' | 'field' | 'message'
|
|
44
|
+
>
|
|
45
|
+
>;
|
|
46
|
+
}
|
|
47
|
+
>;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export type CustomerAddressCreateMutationVariables = CustomerAccountAPI.Exact<{
|
|
51
|
+
address: CustomerAccountAPI.CustomerAddressInput;
|
|
52
|
+
defaultAddress?: CustomerAccountAPI.InputMaybe<
|
|
53
|
+
CustomerAccountAPI.Scalars['Boolean']['input']
|
|
54
|
+
>;
|
|
55
|
+
language?: CustomerAccountAPI.InputMaybe<CustomerAccountAPI.LanguageCode>;
|
|
56
|
+
}>;
|
|
57
|
+
|
|
58
|
+
export type CustomerAddressCreateMutation = {
|
|
59
|
+
customerAddressCreate?: CustomerAccountAPI.Maybe<{
|
|
60
|
+
customerAddress?: CustomerAccountAPI.Maybe<
|
|
61
|
+
Pick<CustomerAccountAPI.CustomerAddress, 'id'>
|
|
62
|
+
>;
|
|
63
|
+
userErrors: Array<
|
|
64
|
+
Pick<
|
|
65
|
+
CustomerAccountAPI.UserErrorsCustomerAddressUserErrors,
|
|
66
|
+
'code' | 'field' | 'message'
|
|
67
|
+
>
|
|
68
|
+
>;
|
|
69
|
+
}>;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export type CustomerFragment = Pick<
|
|
73
|
+
CustomerAccountAPI.Customer,
|
|
74
|
+
'id' | 'firstName' | 'lastName'
|
|
75
|
+
> & {
|
|
76
|
+
defaultAddress?: CustomerAccountAPI.Maybe<
|
|
77
|
+
Pick<
|
|
78
|
+
CustomerAccountAPI.CustomerAddress,
|
|
79
|
+
| 'id'
|
|
80
|
+
| 'formatted'
|
|
81
|
+
| 'firstName'
|
|
82
|
+
| 'lastName'
|
|
83
|
+
| 'company'
|
|
84
|
+
| 'address1'
|
|
85
|
+
| 'address2'
|
|
86
|
+
| 'territoryCode'
|
|
87
|
+
| 'zoneCode'
|
|
88
|
+
| 'city'
|
|
89
|
+
| 'zip'
|
|
90
|
+
| 'phoneNumber'
|
|
91
|
+
>
|
|
92
|
+
>;
|
|
93
|
+
addresses: {
|
|
94
|
+
nodes: Array<
|
|
95
|
+
Pick<
|
|
96
|
+
CustomerAccountAPI.CustomerAddress,
|
|
97
|
+
| 'id'
|
|
98
|
+
| 'formatted'
|
|
99
|
+
| 'firstName'
|
|
100
|
+
| 'lastName'
|
|
101
|
+
| 'company'
|
|
102
|
+
| 'address1'
|
|
103
|
+
| 'address2'
|
|
104
|
+
| 'territoryCode'
|
|
105
|
+
| 'zoneCode'
|
|
106
|
+
| 'city'
|
|
107
|
+
| 'zip'
|
|
108
|
+
| 'phoneNumber'
|
|
109
|
+
>
|
|
110
|
+
>;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
export type AddressFragment = Pick<
|
|
115
|
+
CustomerAccountAPI.CustomerAddress,
|
|
116
|
+
| 'id'
|
|
117
|
+
| 'formatted'
|
|
118
|
+
| 'firstName'
|
|
119
|
+
| 'lastName'
|
|
120
|
+
| 'company'
|
|
121
|
+
| 'address1'
|
|
122
|
+
| 'address2'
|
|
123
|
+
| 'territoryCode'
|
|
124
|
+
| 'zoneCode'
|
|
125
|
+
| 'city'
|
|
126
|
+
| 'zip'
|
|
127
|
+
| 'phoneNumber'
|
|
128
|
+
>;
|
|
129
|
+
|
|
130
|
+
export type CustomerDetailsQueryVariables = CustomerAccountAPI.Exact<{
|
|
131
|
+
language?: CustomerAccountAPI.InputMaybe<CustomerAccountAPI.LanguageCode>;
|
|
132
|
+
}>;
|
|
133
|
+
|
|
134
|
+
export type CustomerDetailsQuery = {
|
|
135
|
+
customer: Pick<
|
|
136
|
+
CustomerAccountAPI.Customer,
|
|
137
|
+
'id' | 'firstName' | 'lastName'
|
|
138
|
+
> & {
|
|
139
|
+
defaultAddress?: CustomerAccountAPI.Maybe<
|
|
140
|
+
Pick<
|
|
141
|
+
CustomerAccountAPI.CustomerAddress,
|
|
142
|
+
| 'id'
|
|
143
|
+
| 'formatted'
|
|
144
|
+
| 'firstName'
|
|
145
|
+
| 'lastName'
|
|
146
|
+
| 'company'
|
|
147
|
+
| 'address1'
|
|
148
|
+
| 'address2'
|
|
149
|
+
| 'territoryCode'
|
|
150
|
+
| 'zoneCode'
|
|
151
|
+
| 'city'
|
|
152
|
+
| 'zip'
|
|
153
|
+
| 'phoneNumber'
|
|
154
|
+
>
|
|
155
|
+
>;
|
|
156
|
+
addresses: {
|
|
157
|
+
nodes: Array<
|
|
158
|
+
Pick<
|
|
159
|
+
CustomerAccountAPI.CustomerAddress,
|
|
160
|
+
| 'id'
|
|
161
|
+
| 'formatted'
|
|
162
|
+
| 'firstName'
|
|
163
|
+
| 'lastName'
|
|
164
|
+
| 'company'
|
|
165
|
+
| 'address1'
|
|
166
|
+
| 'address2'
|
|
167
|
+
| 'territoryCode'
|
|
168
|
+
| 'zoneCode'
|
|
169
|
+
| 'city'
|
|
170
|
+
| 'zip'
|
|
171
|
+
| 'phoneNumber'
|
|
172
|
+
>
|
|
173
|
+
>;
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
export type OrderMoneyFragment = Pick<
|
|
179
|
+
CustomerAccountAPI.MoneyV2,
|
|
180
|
+
'amount' | 'currencyCode'
|
|
181
|
+
>;
|
|
182
|
+
|
|
183
|
+
export type DiscountApplicationFragment = {
|
|
184
|
+
value:
|
|
185
|
+
| ({__typename: 'MoneyV2'} & Pick<
|
|
186
|
+
CustomerAccountAPI.MoneyV2,
|
|
187
|
+
'amount' | 'currencyCode'
|
|
188
|
+
>)
|
|
189
|
+
| ({__typename: 'PricingPercentageValue'} & Pick<
|
|
190
|
+
CustomerAccountAPI.PricingPercentageValue,
|
|
191
|
+
'percentage'
|
|
192
|
+
>);
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
export type OrderLineItemFullFragment = Pick<
|
|
196
|
+
CustomerAccountAPI.LineItem,
|
|
197
|
+
'id' | 'title' | 'quantity' | 'variantTitle'
|
|
198
|
+
> & {
|
|
199
|
+
price?: CustomerAccountAPI.Maybe<
|
|
200
|
+
Pick<CustomerAccountAPI.MoneyV2, 'amount' | 'currencyCode'>
|
|
201
|
+
>;
|
|
202
|
+
discountAllocations: Array<{
|
|
203
|
+
allocatedAmount: Pick<
|
|
204
|
+
CustomerAccountAPI.MoneyV2,
|
|
205
|
+
'amount' | 'currencyCode'
|
|
206
|
+
>;
|
|
207
|
+
discountApplication: {
|
|
208
|
+
value:
|
|
209
|
+
| ({__typename: 'MoneyV2'} & Pick<
|
|
210
|
+
CustomerAccountAPI.MoneyV2,
|
|
211
|
+
'amount' | 'currencyCode'
|
|
212
|
+
>)
|
|
213
|
+
| ({__typename: 'PricingPercentageValue'} & Pick<
|
|
214
|
+
CustomerAccountAPI.PricingPercentageValue,
|
|
215
|
+
'percentage'
|
|
216
|
+
>);
|
|
217
|
+
};
|
|
218
|
+
}>;
|
|
219
|
+
totalDiscount: Pick<CustomerAccountAPI.MoneyV2, 'amount' | 'currencyCode'>;
|
|
220
|
+
image?: CustomerAccountAPI.Maybe<
|
|
221
|
+
Pick<
|
|
222
|
+
CustomerAccountAPI.Image,
|
|
223
|
+
'altText' | 'height' | 'url' | 'id' | 'width'
|
|
224
|
+
>
|
|
225
|
+
>;
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
export type OrderFragment = Pick<
|
|
229
|
+
CustomerAccountAPI.Order,
|
|
230
|
+
| 'id'
|
|
231
|
+
| 'name'
|
|
232
|
+
| 'confirmationNumber'
|
|
233
|
+
| 'statusPageUrl'
|
|
234
|
+
| 'fulfillmentStatus'
|
|
235
|
+
| 'processedAt'
|
|
236
|
+
> & {
|
|
237
|
+
fulfillments: {nodes: Array<Pick<CustomerAccountAPI.Fulfillment, 'status'>>};
|
|
238
|
+
totalTax?: CustomerAccountAPI.Maybe<
|
|
239
|
+
Pick<CustomerAccountAPI.MoneyV2, 'amount' | 'currencyCode'>
|
|
240
|
+
>;
|
|
241
|
+
totalPrice: Pick<CustomerAccountAPI.MoneyV2, 'amount' | 'currencyCode'>;
|
|
242
|
+
subtotal?: CustomerAccountAPI.Maybe<
|
|
243
|
+
Pick<CustomerAccountAPI.MoneyV2, 'amount' | 'currencyCode'>
|
|
244
|
+
>;
|
|
245
|
+
shippingAddress?: CustomerAccountAPI.Maybe<
|
|
246
|
+
Pick<
|
|
247
|
+
CustomerAccountAPI.CustomerAddress,
|
|
248
|
+
'name' | 'formatted' | 'formattedArea'
|
|
249
|
+
>
|
|
250
|
+
>;
|
|
251
|
+
discountApplications: {
|
|
252
|
+
nodes: Array<{
|
|
253
|
+
value:
|
|
254
|
+
| ({__typename: 'MoneyV2'} & Pick<
|
|
255
|
+
CustomerAccountAPI.MoneyV2,
|
|
256
|
+
'amount' | 'currencyCode'
|
|
257
|
+
>)
|
|
258
|
+
| ({__typename: 'PricingPercentageValue'} & Pick<
|
|
259
|
+
CustomerAccountAPI.PricingPercentageValue,
|
|
260
|
+
'percentage'
|
|
261
|
+
>);
|
|
262
|
+
}>;
|
|
263
|
+
};
|
|
264
|
+
lineItems: {
|
|
265
|
+
nodes: Array<
|
|
266
|
+
Pick<
|
|
267
|
+
CustomerAccountAPI.LineItem,
|
|
268
|
+
'id' | 'title' | 'quantity' | 'variantTitle'
|
|
269
|
+
> & {
|
|
270
|
+
price?: CustomerAccountAPI.Maybe<
|
|
271
|
+
Pick<CustomerAccountAPI.MoneyV2, 'amount' | 'currencyCode'>
|
|
272
|
+
>;
|
|
273
|
+
discountAllocations: Array<{
|
|
274
|
+
allocatedAmount: Pick<
|
|
275
|
+
CustomerAccountAPI.MoneyV2,
|
|
276
|
+
'amount' | 'currencyCode'
|
|
277
|
+
>;
|
|
278
|
+
discountApplication: {
|
|
279
|
+
value:
|
|
280
|
+
| ({__typename: 'MoneyV2'} & Pick<
|
|
281
|
+
CustomerAccountAPI.MoneyV2,
|
|
282
|
+
'amount' | 'currencyCode'
|
|
283
|
+
>)
|
|
284
|
+
| ({__typename: 'PricingPercentageValue'} & Pick<
|
|
285
|
+
CustomerAccountAPI.PricingPercentageValue,
|
|
286
|
+
'percentage'
|
|
287
|
+
>);
|
|
288
|
+
};
|
|
289
|
+
}>;
|
|
290
|
+
totalDiscount: Pick<
|
|
291
|
+
CustomerAccountAPI.MoneyV2,
|
|
292
|
+
'amount' | 'currencyCode'
|
|
293
|
+
>;
|
|
294
|
+
image?: CustomerAccountAPI.Maybe<
|
|
295
|
+
Pick<
|
|
296
|
+
CustomerAccountAPI.Image,
|
|
297
|
+
'altText' | 'height' | 'url' | 'id' | 'width'
|
|
298
|
+
>
|
|
299
|
+
>;
|
|
300
|
+
}
|
|
301
|
+
>;
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
|
|
305
|
+
export type OrderQueryVariables = CustomerAccountAPI.Exact<{
|
|
306
|
+
orderId: CustomerAccountAPI.Scalars['ID']['input'];
|
|
307
|
+
language?: CustomerAccountAPI.InputMaybe<CustomerAccountAPI.LanguageCode>;
|
|
308
|
+
}>;
|
|
309
|
+
|
|
310
|
+
export type OrderQuery = {
|
|
311
|
+
order?: CustomerAccountAPI.Maybe<
|
|
312
|
+
Pick<
|
|
313
|
+
CustomerAccountAPI.Order,
|
|
314
|
+
| 'id'
|
|
315
|
+
| 'name'
|
|
316
|
+
| 'confirmationNumber'
|
|
317
|
+
| 'statusPageUrl'
|
|
318
|
+
| 'fulfillmentStatus'
|
|
319
|
+
| 'processedAt'
|
|
320
|
+
> & {
|
|
321
|
+
fulfillments: {
|
|
322
|
+
nodes: Array<Pick<CustomerAccountAPI.Fulfillment, 'status'>>;
|
|
323
|
+
};
|
|
324
|
+
totalTax?: CustomerAccountAPI.Maybe<
|
|
325
|
+
Pick<CustomerAccountAPI.MoneyV2, 'amount' | 'currencyCode'>
|
|
326
|
+
>;
|
|
327
|
+
totalPrice: Pick<CustomerAccountAPI.MoneyV2, 'amount' | 'currencyCode'>;
|
|
328
|
+
subtotal?: CustomerAccountAPI.Maybe<
|
|
329
|
+
Pick<CustomerAccountAPI.MoneyV2, 'amount' | 'currencyCode'>
|
|
330
|
+
>;
|
|
331
|
+
shippingAddress?: CustomerAccountAPI.Maybe<
|
|
332
|
+
Pick<
|
|
333
|
+
CustomerAccountAPI.CustomerAddress,
|
|
334
|
+
'name' | 'formatted' | 'formattedArea'
|
|
335
|
+
>
|
|
336
|
+
>;
|
|
337
|
+
discountApplications: {
|
|
338
|
+
nodes: Array<{
|
|
339
|
+
value:
|
|
340
|
+
| ({__typename: 'MoneyV2'} & Pick<
|
|
341
|
+
CustomerAccountAPI.MoneyV2,
|
|
342
|
+
'amount' | 'currencyCode'
|
|
343
|
+
>)
|
|
344
|
+
| ({__typename: 'PricingPercentageValue'} & Pick<
|
|
345
|
+
CustomerAccountAPI.PricingPercentageValue,
|
|
346
|
+
'percentage'
|
|
347
|
+
>);
|
|
348
|
+
}>;
|
|
349
|
+
};
|
|
350
|
+
lineItems: {
|
|
351
|
+
nodes: Array<
|
|
352
|
+
Pick<
|
|
353
|
+
CustomerAccountAPI.LineItem,
|
|
354
|
+
'id' | 'title' | 'quantity' | 'variantTitle'
|
|
355
|
+
> & {
|
|
356
|
+
price?: CustomerAccountAPI.Maybe<
|
|
357
|
+
Pick<CustomerAccountAPI.MoneyV2, 'amount' | 'currencyCode'>
|
|
358
|
+
>;
|
|
359
|
+
discountAllocations: Array<{
|
|
360
|
+
allocatedAmount: Pick<
|
|
361
|
+
CustomerAccountAPI.MoneyV2,
|
|
362
|
+
'amount' | 'currencyCode'
|
|
363
|
+
>;
|
|
364
|
+
discountApplication: {
|
|
365
|
+
value:
|
|
366
|
+
| ({__typename: 'MoneyV2'} & Pick<
|
|
367
|
+
CustomerAccountAPI.MoneyV2,
|
|
368
|
+
'amount' | 'currencyCode'
|
|
369
|
+
>)
|
|
370
|
+
| ({__typename: 'PricingPercentageValue'} & Pick<
|
|
371
|
+
CustomerAccountAPI.PricingPercentageValue,
|
|
372
|
+
'percentage'
|
|
373
|
+
>);
|
|
374
|
+
};
|
|
375
|
+
}>;
|
|
376
|
+
totalDiscount: Pick<
|
|
377
|
+
CustomerAccountAPI.MoneyV2,
|
|
378
|
+
'amount' | 'currencyCode'
|
|
379
|
+
>;
|
|
380
|
+
image?: CustomerAccountAPI.Maybe<
|
|
381
|
+
Pick<
|
|
382
|
+
CustomerAccountAPI.Image,
|
|
383
|
+
'altText' | 'height' | 'url' | 'id' | 'width'
|
|
384
|
+
>
|
|
385
|
+
>;
|
|
386
|
+
}
|
|
387
|
+
>;
|
|
388
|
+
};
|
|
389
|
+
}
|
|
390
|
+
>;
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
export type OrderItemFragment = Pick<
|
|
394
|
+
CustomerAccountAPI.Order,
|
|
395
|
+
| 'financialStatus'
|
|
396
|
+
| 'fulfillmentStatus'
|
|
397
|
+
| 'id'
|
|
398
|
+
| 'number'
|
|
399
|
+
| 'confirmationNumber'
|
|
400
|
+
| 'processedAt'
|
|
401
|
+
> & {
|
|
402
|
+
totalPrice: Pick<CustomerAccountAPI.MoneyV2, 'amount' | 'currencyCode'>;
|
|
403
|
+
fulfillments: {nodes: Array<Pick<CustomerAccountAPI.Fulfillment, 'status'>>};
|
|
404
|
+
};
|
|
405
|
+
|
|
406
|
+
export type CustomerOrdersFragment = {
|
|
407
|
+
orders: {
|
|
408
|
+
nodes: Array<
|
|
409
|
+
Pick<
|
|
410
|
+
CustomerAccountAPI.Order,
|
|
411
|
+
| 'financialStatus'
|
|
412
|
+
| 'fulfillmentStatus'
|
|
413
|
+
| 'id'
|
|
414
|
+
| 'number'
|
|
415
|
+
| 'confirmationNumber'
|
|
416
|
+
| 'processedAt'
|
|
417
|
+
> & {
|
|
418
|
+
totalPrice: Pick<CustomerAccountAPI.MoneyV2, 'amount' | 'currencyCode'>;
|
|
419
|
+
fulfillments: {
|
|
420
|
+
nodes: Array<Pick<CustomerAccountAPI.Fulfillment, 'status'>>;
|
|
421
|
+
};
|
|
422
|
+
}
|
|
423
|
+
>;
|
|
424
|
+
pageInfo: Pick<
|
|
425
|
+
CustomerAccountAPI.PageInfo,
|
|
426
|
+
'hasPreviousPage' | 'hasNextPage' | 'endCursor' | 'startCursor'
|
|
427
|
+
>;
|
|
428
|
+
};
|
|
429
|
+
};
|
|
430
|
+
|
|
431
|
+
export type CustomerOrdersQueryVariables = CustomerAccountAPI.Exact<{
|
|
432
|
+
endCursor?: CustomerAccountAPI.InputMaybe<
|
|
433
|
+
CustomerAccountAPI.Scalars['String']['input']
|
|
434
|
+
>;
|
|
435
|
+
first?: CustomerAccountAPI.InputMaybe<
|
|
436
|
+
CustomerAccountAPI.Scalars['Int']['input']
|
|
437
|
+
>;
|
|
438
|
+
last?: CustomerAccountAPI.InputMaybe<
|
|
439
|
+
CustomerAccountAPI.Scalars['Int']['input']
|
|
440
|
+
>;
|
|
441
|
+
startCursor?: CustomerAccountAPI.InputMaybe<
|
|
442
|
+
CustomerAccountAPI.Scalars['String']['input']
|
|
443
|
+
>;
|
|
444
|
+
query?: CustomerAccountAPI.InputMaybe<
|
|
445
|
+
CustomerAccountAPI.Scalars['String']['input']
|
|
446
|
+
>;
|
|
447
|
+
language?: CustomerAccountAPI.InputMaybe<CustomerAccountAPI.LanguageCode>;
|
|
448
|
+
}>;
|
|
449
|
+
|
|
450
|
+
export type CustomerOrdersQuery = {
|
|
451
|
+
customer: {
|
|
452
|
+
orders: {
|
|
453
|
+
nodes: Array<
|
|
454
|
+
Pick<
|
|
455
|
+
CustomerAccountAPI.Order,
|
|
456
|
+
| 'financialStatus'
|
|
457
|
+
| 'fulfillmentStatus'
|
|
458
|
+
| 'id'
|
|
459
|
+
| 'number'
|
|
460
|
+
| 'confirmationNumber'
|
|
461
|
+
| 'processedAt'
|
|
462
|
+
> & {
|
|
463
|
+
totalPrice: Pick<
|
|
464
|
+
CustomerAccountAPI.MoneyV2,
|
|
465
|
+
'amount' | 'currencyCode'
|
|
466
|
+
>;
|
|
467
|
+
fulfillments: {
|
|
468
|
+
nodes: Array<Pick<CustomerAccountAPI.Fulfillment, 'status'>>;
|
|
469
|
+
};
|
|
470
|
+
}
|
|
471
|
+
>;
|
|
472
|
+
pageInfo: Pick<
|
|
473
|
+
CustomerAccountAPI.PageInfo,
|
|
474
|
+
'hasPreviousPage' | 'hasNextPage' | 'endCursor' | 'startCursor'
|
|
475
|
+
>;
|
|
476
|
+
};
|
|
477
|
+
};
|
|
478
|
+
};
|
|
479
|
+
|
|
480
|
+
export type CustomerUpdateMutationVariables = CustomerAccountAPI.Exact<{
|
|
481
|
+
customer: CustomerAccountAPI.CustomerUpdateInput;
|
|
482
|
+
language?: CustomerAccountAPI.InputMaybe<CustomerAccountAPI.LanguageCode>;
|
|
483
|
+
}>;
|
|
484
|
+
|
|
485
|
+
export type CustomerUpdateMutation = {
|
|
486
|
+
customerUpdate?: CustomerAccountAPI.Maybe<{
|
|
487
|
+
customer?: CustomerAccountAPI.Maybe<
|
|
488
|
+
Pick<CustomerAccountAPI.Customer, 'firstName' | 'lastName'> & {
|
|
489
|
+
emailAddress?: CustomerAccountAPI.Maybe<
|
|
490
|
+
Pick<CustomerAccountAPI.CustomerEmailAddress, 'emailAddress'>
|
|
491
|
+
>;
|
|
492
|
+
phoneNumber?: CustomerAccountAPI.Maybe<
|
|
493
|
+
Pick<CustomerAccountAPI.CustomerPhoneNumber, 'phoneNumber'>
|
|
494
|
+
>;
|
|
495
|
+
}
|
|
496
|
+
>;
|
|
497
|
+
userErrors: Array<
|
|
498
|
+
Pick<
|
|
499
|
+
CustomerAccountAPI.UserErrorsCustomerUserErrors,
|
|
500
|
+
'code' | 'field' | 'message'
|
|
501
|
+
>
|
|
502
|
+
>;
|
|
503
|
+
}>;
|
|
504
|
+
};
|
|
505
|
+
|
|
506
|
+
interface GeneratedQueryTypes {
|
|
507
|
+
'#graphql\n query CustomerDetails($language: LanguageCode) @inContext(language: $language) {\n customer {\n ...Customer\n }\n }\n #graphql\n fragment Customer on Customer {\n id\n firstName\n lastName\n defaultAddress {\n ...Address\n }\n addresses(first: 6) {\n nodes {\n ...Address\n }\n }\n }\n fragment Address on CustomerAddress {\n id\n formatted\n firstName\n lastName\n company\n address1\n address2\n territoryCode\n zoneCode\n city\n zip\n phoneNumber\n }\n\n': {
|
|
508
|
+
return: CustomerDetailsQuery;
|
|
509
|
+
variables: CustomerDetailsQueryVariables;
|
|
510
|
+
};
|
|
511
|
+
'#graphql\n fragment OrderMoney on MoneyV2 {\n amount\n currencyCode\n }\n fragment DiscountApplication on DiscountApplication {\n value {\n __typename\n ... on MoneyV2 {\n ...OrderMoney\n }\n ... on PricingPercentageValue {\n percentage\n }\n }\n }\n fragment OrderLineItemFull on LineItem {\n id\n title\n quantity\n price {\n ...OrderMoney\n }\n discountAllocations {\n allocatedAmount {\n ...OrderMoney\n }\n discountApplication {\n ...DiscountApplication\n }\n }\n totalDiscount {\n ...OrderMoney\n }\n image {\n altText\n height\n url\n id\n width\n }\n variantTitle\n }\n fragment Order on Order {\n id\n name\n confirmationNumber\n statusPageUrl\n fulfillmentStatus\n processedAt\n fulfillments(first: 1) {\n nodes {\n status\n }\n }\n totalTax {\n ...OrderMoney\n }\n totalPrice {\n ...OrderMoney\n }\n subtotal {\n ...OrderMoney\n }\n shippingAddress {\n name\n formatted(withName: true)\n formattedArea\n }\n discountApplications(first: 100) {\n nodes {\n ...DiscountApplication\n }\n }\n lineItems(first: 100) {\n nodes {\n ...OrderLineItemFull\n }\n }\n }\n query Order($orderId: ID!, $language: LanguageCode)\n @inContext(language: $language) {\n order(id: $orderId) {\n ... on Order {\n ...Order\n }\n }\n }\n': {
|
|
512
|
+
return: OrderQuery;
|
|
513
|
+
variables: OrderQueryVariables;
|
|
514
|
+
};
|
|
515
|
+
'#graphql\n #graphql\n fragment CustomerOrders on Customer {\n orders(\n sortKey: PROCESSED_AT,\n reverse: true,\n first: $first,\n last: $last,\n before: $startCursor,\n after: $endCursor,\n query: $query\n ) {\n nodes {\n ...OrderItem\n }\n pageInfo {\n hasPreviousPage\n hasNextPage\n endCursor\n startCursor\n }\n }\n }\n #graphql\n fragment OrderItem on Order {\n totalPrice {\n amount\n currencyCode\n }\n financialStatus\n fulfillmentStatus\n fulfillments(first: 1) {\n nodes {\n status\n }\n }\n id\n number\n confirmationNumber\n processedAt\n }\n\n\n query CustomerOrders(\n $endCursor: String\n $first: Int\n $last: Int\n $startCursor: String\n $query: String\n $language: LanguageCode\n ) @inContext(language: $language) {\n customer {\n ...CustomerOrders\n }\n }\n': {
|
|
516
|
+
return: CustomerOrdersQuery;
|
|
517
|
+
variables: CustomerOrdersQueryVariables;
|
|
518
|
+
};
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
interface GeneratedMutationTypes {
|
|
522
|
+
'#graphql\n mutation customerAddressUpdate(\n $address: CustomerAddressInput!\n $addressId: ID!\n $defaultAddress: Boolean\n $language: LanguageCode\n ) @inContext(language: $language) {\n customerAddressUpdate(\n address: $address\n addressId: $addressId\n defaultAddress: $defaultAddress\n ) {\n customerAddress {\n id\n }\n userErrors {\n code\n field\n message\n }\n }\n }\n': {
|
|
523
|
+
return: CustomerAddressUpdateMutation;
|
|
524
|
+
variables: CustomerAddressUpdateMutationVariables;
|
|
525
|
+
};
|
|
526
|
+
'#graphql\n mutation customerAddressDelete(\n $addressId: ID!\n $language: LanguageCode\n ) @inContext(language: $language) {\n customerAddressDelete(addressId: $addressId) {\n deletedAddressId\n userErrors {\n code\n field\n message\n }\n }\n }\n': {
|
|
527
|
+
return: CustomerAddressDeleteMutation;
|
|
528
|
+
variables: CustomerAddressDeleteMutationVariables;
|
|
529
|
+
};
|
|
530
|
+
'#graphql\n mutation customerAddressCreate(\n $address: CustomerAddressInput!\n $defaultAddress: Boolean\n $language: LanguageCode\n ) @inContext(language: $language) {\n customerAddressCreate(\n address: $address\n defaultAddress: $defaultAddress\n ) {\n customerAddress {\n id\n }\n userErrors {\n code\n field\n message\n }\n }\n }\n': {
|
|
531
|
+
return: CustomerAddressCreateMutation;
|
|
532
|
+
variables: CustomerAddressCreateMutationVariables;
|
|
533
|
+
};
|
|
534
|
+
'#graphql\n mutation customerUpdate(\n $customer: CustomerUpdateInput!\n $language: LanguageCode\n ) @inContext(language: $language) {\n customerUpdate(input: $customer) {\n customer {\n firstName\n lastName\n emailAddress {\n emailAddress\n }\n phoneNumber {\n phoneNumber\n }\n }\n userErrors {\n code\n field\n message\n }\n }\n }\n': {
|
|
535
|
+
return: CustomerUpdateMutation;
|
|
536
|
+
variables: CustomerUpdateMutationVariables;
|
|
537
|
+
};
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
declare module '@shopify/hydrogen' {
|
|
541
|
+
interface CustomerAccountQueries extends GeneratedQueryTypes {}
|
|
542
|
+
interface CustomerAccountMutations extends GeneratedMutationTypes {}
|
|
543
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
|
2
|
+
/// <reference types="react-router" />
|
|
3
|
+
/// <reference types="@shopify/oxygen-workers-types" />
|
|
4
|
+
/// <reference types="@shopify/hydrogen/react-router-types" />
|
|
5
|
+
|
|
6
|
+
// Enhance TypeScript's built-in typings.
|
|
7
|
+
import '@total-typescript/ts-reset';
|