没有合适的资源?快使用搜索试试~ 我知道了~
vtex-api:VTEX API方法的集合
共127个文件
ts:110个
js:5个
md:4个
需积分: 10 0 下载量 194 浏览量
2021-04-03
09:46:40
上传
评论
收藏 167KB ZIP 举报
温馨提示
VTEX API VTEX API方法的同构和无依赖的集合 目录 安装 # Yarn yarn add vtex-api # NPM npm install --save vtex-api 用法 进口货 您可以单独导入每个方法 import searchDocument from 'vtex-api/lib/searchDocument' ; 或使用命名为import的ES6(建议摇树) import { searchDocument } from 'vtex-api' ; 旧浏览器支持 如果您需要覆盖旧的浏览器,则需要使用fetch ,例如或 。 节点 对于使用,您将需要一些同构的Fetch库,例如 (如果要使用uploadFile()方法,则需要同 )。 对于身份验证,每种方法都具有用于此目的的密钥: const response = await searchDocument
资源推荐
资源详情
资源评论
收起资源包目录
vtex-api:VTEX API方法的集合 (127个子文件)
.editorconfig 372B
.eslintignore 82B
.gitattributes 5KB
.gitignore 993B
.eslintrc.js 741B
jest.config.js 280B
.huskyrc.js 123B
.lintstagedrc.js 115B
.commitlintrc.js 70B
package.json 2KB
tsconfig.json 485B
yarn.lock 258KB
README.md 3KB
CONTRIBUTING.md 2KB
LICENSE.md 1KB
searchDocument.md 753B
product.ts 17KB
General.d.ts 4KB
index.ts 3KB
Product.d.ts 2KB
request.test.ts 2KB
masterdataRequest.test.ts 2KB
Masterdata.d.ts 2KB
productPriceRange.ts 2KB
skus-seller.ts 2KB
createMasterdataUrl.test.ts 1KB
searchDocument.ts 1KB
request.ts 1KB
getFirstAvailableSku.test.ts 1KB
decode.ts 1KB
setInstallment.ts 1KB
searchProduct.ts 1KB
setInstallment.test.ts 1KB
encode.test.ts 1KB
sanitizeSearchTerm.test.ts 1KB
productPriceRange.test.ts 1KB
getSkuPrice.test.ts 1KB
createHeaders.test.ts 1KB
updateUser.ts 1KB
resizeImage.ts 1010B
uploadFile.ts 1001B
masterdataRequest.ts 992B
attachmentRequest.ts 951B
decode.test.ts 942B
encode.ts 939B
getSkuPrice.ts 913B
formatPrice.ts 909B
createCatalogUrl.test.ts 906B
searchFacets.ts 901B
isSkuAvailable.test.ts 882B
getDocument.ts 849B
partialUpdate.ts 838B
formatPrice.test.ts 817B
getUser.ts 810B
requestTimeout.ts 808B
updateDocument.ts 779B
newsletterOptIn.ts 777B
catalogRequest.ts 750B
insertDocument.ts 746B
resizeImage.test.ts 739B
getPercentage.ts 710B
getFirstAvailableSkuBySeller.test.ts 668B
assign.ts 667B
normalizeSlashes.test.ts 648B
createHeaders.ts 645B
isSearchTerm.test.ts 575B
getPercentage.test.ts 574B
searchCrossSelling.ts 571B
createMasterdataUrl.ts 570B
uniq.test.ts 544B
trimSlashes.test.ts 540B
getSpecificationValues.ts 512B
getSkuSeller.test.ts 510B
getSpecificationField.ts 502B
getFirstAvailableSkuBySeller.ts 502B
parseFields.test.ts 499B
searchAutocomplete.ts 498B
pad.test.ts 476B
getProductByEan.ts 476B
getProductById.ts 465B
simulateShipping.ts 460B
pageType.ts 456B
getCategories.ts 453B
createCatalogUrl.ts 452B
createAuthentication.test.ts 450B
getSkuInstallments.test.ts 450B
fixProductSearchPrice.test.ts 443B
getCategoryById.ts 438B
getFirstAvailableSku.ts 438B
assign.test.ts 437B
notifyMe.ts 418B
getSkuInstallments.ts 412B
getBrandById.ts 407B
hostname.test.ts 399B
getBrands.ts 398B
pad.ts 394B
getProductsByRefId.ts 387B
getProductsByEan.ts 377B
getProductsById.ts 366B
getProductByRefId.ts 362B
共 127 条
- 1
- 2
资源评论
梦想是世界和平
- 粉丝: 19
- 资源: 4625
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功