@lustre/sdk 2.0.0-dev.2 → 2.0.0-dev.3
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 +18 -18
- package/dist/api/QueryResolver.js +2 -9
- package/dist/api/QueryResolver.js.map +1 -1
- package/dist/{schema/queries/searchList.js → api/QueryTypes.js} +1 -1
- package/dist/api/QueryTypes.js.map +1 -0
- package/dist/api/fetchEntity.js.map +1 -1
- package/dist/api/fetchQuery.js.map +1 -1
- package/dist/api/prepareEntities.js +24 -0
- package/dist/api/prepareEntities.js.map +1 -0
- package/dist/api/prepareEntity.js +24 -0
- package/dist/api/prepareEntity.js.map +1 -0
- package/dist/api/prepareQueries.js +24 -0
- package/dist/api/prepareQueries.js.map +1 -0
- package/dist/api/prepareQuery.js +24 -0
- package/dist/api/prepareQuery.js.map +1 -0
- package/dist/hooks/useEntities.js +3 -36
- package/dist/hooks/useEntities.js.map +1 -1
- package/dist/hooks/useEntity.js +3 -5
- package/dist/hooks/useEntity.js.map +1 -1
- package/dist/hooks/useQueries.js +3 -50
- package/dist/hooks/useQueries.js.map +1 -1
- package/dist/hooks/useQuery.js +3 -5
- package/dist/hooks/useQuery.js.map +1 -1
- package/dist/index.js +21 -15
- package/dist/index.js.map +1 -1
- package/dist/schema/builtins.js.map +1 -1
- package/dist/{actions.js → schema/entities/alias.js} +1 -1
- package/dist/schema/entities/alias.js.map +1 -0
- package/dist/schema/entities/{product.js → brand.js} +1 -1
- package/dist/schema/entities/brand.js.map +1 -0
- package/dist/schema/entities/category.js +3 -0
- package/dist/schema/entities/category.js.map +1 -0
- package/dist/schema/entities/{variant.js → crawl.js} +1 -1
- package/dist/schema/entities/crawl.js.map +1 -0
- package/dist/schema/entities/index.js +17 -2
- package/dist/schema/entities/index.js.map +1 -1
- package/dist/schema/entities/media.js +3 -0
- package/dist/schema/entities/media.js.map +1 -0
- package/dist/schema/entities/offer.js +3 -0
- package/dist/schema/entities/offer.js.map +1 -0
- package/dist/schema/entities/productConfiguration.js +3 -0
- package/dist/schema/entities/productConfiguration.js.map +1 -0
- package/dist/schema/entities/productFamily.js +3 -0
- package/dist/schema/entities/productFamily.js.map +1 -0
- package/dist/schema/entities/productGeneration.js +3 -0
- package/dist/schema/entities/productGeneration.js.map +1 -0
- package/dist/schema/entities/productType.js +3 -0
- package/dist/schema/entities/productType.js.map +1 -0
- package/dist/schema/entities/rating.js +3 -0
- package/dist/schema/entities/rating.js.map +1 -0
- package/dist/schema/entities/source.js +3 -0
- package/dist/schema/entities/source.js.map +1 -0
- package/dist/schema/entities/spec.js +3 -0
- package/dist/schema/entities/spec.js.map +1 -0
- package/dist/schema/entities/specType.js +3 -0
- package/dist/schema/entities/specType.js.map +1 -0
- package/dist/schema/{queries/retailPageInfo.js → entities/specTypeChoice.js} +1 -1
- package/dist/schema/entities/specTypeChoice.js.map +1 -0
- package/dist/schema/entities/storePage.js +3 -0
- package/dist/schema/entities/storePage.js.map +1 -0
- package/dist/schema/entities/storePageQueueGroup.js +3 -0
- package/dist/schema/entities/storePageQueueGroup.js.map +1 -0
- package/dist/schema/entities/user.js +3 -0
- package/dist/schema/entities/user.js.map +1 -0
- package/dist/schema/mutations/createBrand.js +3 -0
- package/dist/schema/mutations/createBrand.js.map +1 -0
- package/dist/schema/mutations/createCategory.js +3 -0
- package/dist/schema/mutations/createCategory.js.map +1 -0
- package/dist/schema/mutations/createProductConfiguration.js +3 -0
- package/dist/schema/mutations/createProductConfiguration.js.map +1 -0
- package/dist/schema/mutations/createProductFamily.js +3 -0
- package/dist/schema/mutations/createProductFamily.js.map +1 -0
- package/dist/schema/mutations/createProductGeneration.js +3 -0
- package/dist/schema/mutations/createProductGeneration.js.map +1 -0
- package/dist/schema/mutations/createProductType.js +3 -0
- package/dist/schema/mutations/createProductType.js.map +1 -0
- package/dist/schema/mutations/createUser.js +3 -0
- package/dist/schema/mutations/createUser.js.map +1 -0
- package/dist/schema/mutations/storePageQueueClaimById.js +3 -0
- package/dist/schema/mutations/storePageQueueClaimById.js.map +1 -0
- package/dist/schema/mutations/storePageQueueClaimNext.js +3 -0
- package/dist/schema/mutations/storePageQueueClaimNext.js.map +1 -0
- package/dist/schema/mutations/storePageQueueHandle.js +3 -0
- package/dist/schema/mutations/storePageQueueHandle.js.map +1 -0
- package/dist/schema/{queries/productDocumentsByRetailPageUrls.js → mutations/storePageQueueHandleStorePageIdSet.js} +1 -1
- package/dist/schema/mutations/storePageQueueHandleStorePageIdSet.js.map +1 -0
- package/dist/schema/mutations/updateAlias.js +3 -0
- package/dist/schema/mutations/updateAlias.js.map +1 -0
- package/dist/schema/mutations/updateBrand.js +3 -0
- package/dist/schema/mutations/updateBrand.js.map +1 -0
- package/dist/schema/mutations/updateCategory.js +3 -0
- package/dist/schema/mutations/updateCategory.js.map +1 -0
- package/dist/schema/mutations/updateOffer.js +3 -0
- package/dist/schema/mutations/updateOffer.js.map +1 -0
- package/dist/schema/mutations/updateProductConfiguration.js +3 -0
- package/dist/schema/mutations/updateProductConfiguration.js.map +1 -0
- package/dist/schema/mutations/updateProductConfigurationProductType.js +3 -0
- package/dist/schema/mutations/updateProductConfigurationProductType.js.map +1 -0
- package/dist/schema/mutations/updateProductFamily.js +3 -0
- package/dist/schema/mutations/updateProductFamily.js.map +1 -0
- package/dist/schema/mutations/updateProductFamilyBrand.js +3 -0
- package/dist/schema/mutations/updateProductFamilyBrand.js.map +1 -0
- package/dist/schema/mutations/updateProductGeneration.js +3 -0
- package/dist/schema/mutations/updateProductGeneration.js.map +1 -0
- package/dist/schema/mutations/updateProductGenerationProductFamily.js +3 -0
- package/dist/schema/mutations/updateProductGenerationProductFamily.js.map +1 -0
- package/dist/schema/mutations/updateProductType.js +3 -0
- package/dist/schema/mutations/updateProductType.js.map +1 -0
- package/dist/schema/mutations/updateProductTypeProductGeneration.js +3 -0
- package/dist/schema/mutations/updateProductTypeProductGeneration.js.map +1 -0
- package/dist/schema/mutations/updateSource.js +3 -0
- package/dist/schema/mutations/updateSource.js.map +1 -0
- package/dist/schema/mutations/updateStorePage.js +3 -0
- package/dist/schema/mutations/updateStorePage.js.map +1 -0
- package/dist/schema/queries/aliasIdListBySomeId.js +3 -0
- package/dist/schema/queries/aliasIdListBySomeId.js.map +1 -0
- package/dist/schema/queries/appliedCategoryIdListBySomeId.js +3 -0
- package/dist/schema/queries/appliedCategoryIdListBySomeId.js.map +1 -0
- package/dist/schema/queries/baseScore.js +3 -0
- package/dist/schema/queries/baseScore.js.map +1 -0
- package/dist/schema/queries/baseScoreRatingIdList.js +3 -0
- package/dist/schema/queries/baseScoreRatingIdList.js.map +1 -0
- package/dist/schema/queries/baseScoresByCategoryId.js +3 -0
- package/dist/schema/queries/baseScoresByCategoryId.js.map +1 -0
- package/dist/schema/queries/bestInClass.js +3 -0
- package/dist/schema/queries/bestInClass.js.map +1 -0
- package/dist/schema/queries/brandAliasResolution.js +3 -0
- package/dist/schema/queries/brandAliasResolution.js.map +1 -0
- package/dist/schema/queries/brandCategoryRankings.js +3 -0
- package/dist/schema/queries/brandCategoryRankings.js.map +1 -0
- package/dist/schema/queries/brandIdBySomeId.js +3 -0
- package/dist/schema/queries/brandIdBySomeId.js.map +1 -0
- package/dist/schema/queries/brandIdList.js +3 -0
- package/dist/schema/queries/brandIdList.js.map +1 -0
- package/dist/schema/queries/brandIdListBySearch.js +3 -0
- package/dist/schema/queries/brandIdListBySearch.js.map +1 -0
- package/dist/schema/queries/brandSocialMediaPostList.js +3 -0
- package/dist/schema/queries/brandSocialMediaPostList.js.map +1 -0
- package/dist/schema/queries/categoryAliasResolution.js +3 -0
- package/dist/schema/queries/categoryAliasResolution.js.map +1 -0
- package/dist/schema/queries/categoryDisplayMode.js +3 -0
- package/dist/schema/queries/categoryDisplayMode.js.map +1 -0
- package/dist/schema/queries/categoryIdByUrlSlug.js +3 -0
- package/dist/schema/queries/categoryIdByUrlSlug.js.map +1 -0
- package/dist/schema/queries/categoryIdList.js +3 -0
- package/dist/schema/queries/categoryIdList.js.map +1 -0
- package/dist/schema/queries/categoryIdListBySomeId.js +3 -0
- package/dist/schema/queries/categoryIdListBySomeId.js.map +1 -0
- package/dist/schema/queries/categoryIdListBySourceId.js +3 -0
- package/dist/schema/queries/categoryIdListBySourceId.js.map +1 -0
- package/dist/schema/queries/categoryModifierSearchList.js +3 -0
- package/dist/schema/queries/categoryModifierSearchList.js.map +1 -0
- package/dist/schema/queries/categoryRankings.js +3 -0
- package/dist/schema/queries/categoryRankings.js.map +1 -0
- package/dist/schema/queries/categorySearchList.js +3 -0
- package/dist/schema/queries/categorySearchList.js.map +1 -0
- package/dist/schema/queries/categoryStatusList.js +3 -0
- package/dist/schema/queries/categoryStatusList.js.map +1 -0
- package/dist/schema/queries/crawlIdList.js +3 -0
- package/dist/schema/queries/crawlIdList.js.map +1 -0
- package/dist/schema/queries/crawlIdListByUrl.js +3 -0
- package/dist/schema/queries/crawlIdListByUrl.js.map +1 -0
- package/dist/schema/queries/descriptionMarkdown.js +3 -0
- package/dist/schema/queries/descriptionMarkdown.js.map +1 -0
- package/dist/schema/queries/entityType.js +3 -0
- package/dist/schema/queries/entityType.js.map +1 -0
- package/dist/schema/queries/fallbackPriceByProductTypeId.js +3 -0
- package/dist/schema/queries/fallbackPriceByProductTypeId.js.map +1 -0
- package/dist/schema/queries/inputLayerVersion.js +3 -0
- package/dist/schema/queries/inputLayerVersion.js.map +1 -0
- package/dist/schema/queries/latestRatingIdList.js +3 -0
- package/dist/schema/queries/latestRatingIdList.js.map +1 -0
- package/dist/schema/queries/latestRatingIdListBySomeId.js +3 -0
- package/dist/schema/queries/latestRatingIdListBySomeId.js.map +1 -0
- package/dist/schema/queries/mediaIdListBySomeId.js +3 -0
- package/dist/schema/queries/mediaIdListBySomeId.js.map +1 -0
- package/dist/schema/queries/mlCategoryDisplayMode.js +3 -0
- package/dist/schema/queries/mlCategoryDisplayMode.js.map +1 -0
- package/dist/schema/queries/noteMarkdown.js +3 -0
- package/dist/schema/queries/noteMarkdown.js.map +1 -0
- package/dist/schema/queries/offerIdListByStorePageId.js +3 -0
- package/dist/schema/queries/offerIdListByStorePageId.js.map +1 -0
- package/dist/schema/queries/possibleAliasIdListBySomeId.js +3 -0
- package/dist/schema/queries/possibleAliasIdListBySomeId.js.map +1 -0
- package/dist/schema/queries/possibleStorePageIdListBySomeId.js +3 -0
- package/dist/schema/queries/possibleStorePageIdListBySomeId.js.map +1 -0
- package/dist/schema/queries/preferredCategoryIdListByProductId.js +3 -0
- package/dist/schema/queries/preferredCategoryIdListByProductId.js.map +1 -0
- package/dist/schema/queries/preferredLatestRatingIdListBySomeId.js +3 -0
- package/dist/schema/queries/preferredLatestRatingIdListBySomeId.js.map +1 -0
- package/dist/schema/queries/preferredStorePageList.js +3 -0
- package/dist/schema/queries/preferredStorePageList.js.map +1 -0
- package/dist/schema/queries/priceHistoryLookup.js +3 -0
- package/dist/schema/queries/priceHistoryLookup.js.map +1 -0
- package/dist/schema/queries/pricePointCompetitors.js +3 -0
- package/dist/schema/queries/pricePointCompetitors.js.map +1 -0
- package/dist/schema/queries/priceRangeByCategoryId.js +3 -0
- package/dist/schema/queries/priceRangeByCategoryId.js.map +1 -0
- package/dist/schema/queries/productConfigurationIdListBySomeId.js +3 -0
- package/dist/schema/queries/productConfigurationIdListBySomeId.js.map +1 -0
- package/dist/schema/queries/productDealList.js +3 -0
- package/dist/schema/queries/productDealList.js.map +1 -0
- package/dist/schema/queries/productDocumentByStoreUrl.js +3 -0
- package/dist/schema/queries/productDocumentByStoreUrl.js.map +1 -0
- package/dist/schema/queries/productFamilyIdBySomeId.js +3 -0
- package/dist/schema/queries/productFamilyIdBySomeId.js.map +1 -0
- package/dist/schema/queries/productFamilyIdListBySomeId.js +3 -0
- package/dist/schema/queries/productFamilyIdListBySomeId.js.map +1 -0
- package/dist/schema/queries/productGenerationIdBySomeId.js +3 -0
- package/dist/schema/queries/productGenerationIdBySomeId.js.map +1 -0
- package/dist/schema/queries/productGenerationIdListBySomeId.js +3 -0
- package/dist/schema/queries/productGenerationIdListBySomeId.js.map +1 -0
- package/dist/schema/queries/productListSort.js +3 -0
- package/dist/schema/queries/productListSort.js.map +1 -0
- package/dist/schema/queries/productPricePointList.js +3 -0
- package/dist/schema/queries/productPricePointList.js.map +1 -0
- package/dist/schema/queries/productSearchList.js +3 -0
- package/dist/schema/queries/productSearchList.js.map +1 -0
- package/dist/schema/queries/productTypeIdBySomeId.js +3 -0
- package/dist/schema/queries/productTypeIdBySomeId.js.map +1 -0
- package/dist/schema/queries/productTypeIdByStoreUrl.js +3 -0
- package/dist/schema/queries/productTypeIdByStoreUrl.js.map +1 -0
- package/dist/schema/queries/productTypeIdListByCategoryId.js +3 -0
- package/dist/schema/queries/productTypeIdListByCategoryId.js.map +1 -0
- package/dist/schema/queries/productTypeIdListByModifiers.js +3 -0
- package/dist/schema/queries/productTypeIdListByModifiers.js.map +1 -0
- package/dist/schema/queries/productTypeIdListBySomeId.js +3 -0
- package/dist/schema/queries/productTypeIdListBySomeId.js.map +1 -0
- package/dist/schema/queries/saleMetrics.js +3 -0
- package/dist/schema/queries/saleMetrics.js.map +1 -0
- package/dist/schema/queries/sectionDataByCrawlId.js +3 -0
- package/dist/schema/queries/sectionDataByCrawlId.js.map +1 -0
- package/dist/schema/queries/sourceIdList.js +3 -0
- package/dist/schema/queries/sourceIdList.js.map +1 -0
- package/dist/schema/queries/specIdListBySomeId.js +3 -0
- package/dist/schema/queries/specIdListBySomeId.js.map +1 -0
- package/dist/schema/queries/specTypeIdList.js +3 -0
- package/dist/schema/queries/specTypeIdList.js.map +1 -0
- package/dist/schema/queries/specTypeValidValues.js +3 -0
- package/dist/schema/queries/specTypeValidValues.js.map +1 -0
- package/dist/schema/queries/specValueRangeListByCategoryId.js +3 -0
- package/dist/schema/queries/specValueRangeListByCategoryId.js.map +1 -0
- package/dist/schema/queries/stablePriceByProductId.js +3 -0
- package/dist/schema/queries/stablePriceByProductId.js.map +1 -0
- package/dist/schema/queries/stablePriceByProductIdAndStoreName.js +3 -0
- package/dist/schema/queries/stablePriceByProductIdAndStoreName.js.map +1 -0
- package/dist/schema/queries/stablePriceByStorePageId.js +3 -0
- package/dist/schema/queries/stablePriceByStorePageId.js.map +1 -0
- package/dist/schema/queries/storePageFetchData.js +3 -0
- package/dist/schema/queries/storePageFetchData.js.map +1 -0
- package/dist/schema/queries/storePageIdByUrl.js +3 -0
- package/dist/schema/queries/storePageIdByUrl.js.map +1 -0
- package/dist/schema/queries/storePageIdListBySomeId.js +3 -0
- package/dist/schema/queries/storePageIdListBySomeId.js.map +1 -0
- package/dist/schema/queries/storePageInfo.js +3 -0
- package/dist/schema/queries/storePageInfo.js.map +1 -0
- package/dist/schema/queries/storePageInfoBySku.js +3 -0
- package/dist/schema/queries/storePageInfoBySku.js.map +1 -0
- package/dist/schema/queries/storePageScrapeData.js +3 -0
- package/dist/schema/queries/storePageScrapeData.js.map +1 -0
- package/dist/schema/queries/subCategoryIdListByCategoryId.js +3 -0
- package/dist/schema/queries/subCategoryIdListByCategoryId.js.map +1 -0
- package/dist/schema/queries/subsetModifierDataByModifiers.js +3 -0
- package/dist/schema/queries/subsetModifierDataByModifiers.js.map +1 -0
- package/dist/schema/queries/unstableMediaIdListByCategoryId.js +3 -0
- package/dist/schema/queries/unstableMediaIdListByCategoryId.js.map +1 -0
- package/dist/schema/queries/unstableSourceTrust.js +3 -0
- package/dist/schema/queries/unstableSourceTrust.js.map +1 -0
- package/dist/schema/queries/userIdList.js +3 -0
- package/dist/schema/queries/userIdList.js.map +1 -0
- package/dist/schema/queries/userPermissionsByUserId.js +3 -0
- package/dist/schema/queries/userPermissionsByUserId.js.map +1 -0
- package/dist/schema/queries/userRestictedData.js +3 -0
- package/dist/schema/queries/userRestictedData.js.map +1 -0
- package/dist/schema/queries/userReviewAnalysis.js +3 -0
- package/dist/schema/queries/userReviewAnalysis.js.map +1 -0
- package/dist/schema/queries/whoAmI.js +3 -0
- package/dist/schema/queries/whoAmI.js.map +1 -0
- package/package.json +2 -20
- package/types/api/QueryResolver.d.ts +0 -3
- package/types/api/QueryResolver.d.ts.map +1 -1
- package/types/api/QueryTypes.d.ts +16 -0
- package/types/api/QueryTypes.d.ts.map +1 -0
- package/types/api/fetchEntity.d.ts +3 -3
- package/types/api/fetchEntity.d.ts.map +1 -1
- package/types/api/fetchQuery.d.ts +4 -3
- package/types/api/fetchQuery.d.ts.map +1 -1
- package/types/api/prepareEntities.d.ts +8 -0
- package/types/api/prepareEntities.d.ts.map +1 -0
- package/types/api/prepareEntity.d.ts +8 -0
- package/types/api/prepareEntity.d.ts.map +1 -0
- package/types/api/prepareQueries.d.ts +8 -0
- package/types/api/prepareQueries.d.ts.map +1 -0
- package/types/api/prepareQuery.d.ts +8 -0
- package/types/api/prepareQuery.d.ts.map +1 -0
- package/types/hooks/useEntities.d.ts +5 -7
- package/types/hooks/useEntities.d.ts.map +1 -1
- package/types/hooks/useEntity.d.ts +5 -7
- package/types/hooks/useEntity.d.ts.map +1 -1
- package/types/hooks/useQueries.d.ts +5 -7
- package/types/hooks/useQueries.d.ts.map +1 -1
- package/types/hooks/useQuery.d.ts +5 -7
- package/types/hooks/useQuery.d.ts.map +1 -1
- package/types/index.d.ts +10 -5
- package/types/index.d.ts.map +1 -1
- package/types/schema/builtins.d.ts +69 -90
- package/types/schema/builtins.d.ts.map +1 -1
- package/types/schema/entities/alias.d.ts +6 -0
- package/types/schema/entities/alias.d.ts.map +1 -0
- package/types/schema/entities/brand.d.ts +5 -0
- package/types/schema/entities/brand.d.ts.map +1 -0
- package/types/schema/entities/category.d.ts +7 -0
- package/types/schema/entities/category.d.ts.map +1 -0
- package/types/schema/entities/crawl.d.ts +12 -0
- package/types/schema/entities/crawl.d.ts.map +1 -0
- package/types/schema/entities/index.d.ts +17 -2
- package/types/schema/entities/index.d.ts.map +1 -1
- package/types/schema/entities/media.d.ts +6 -0
- package/types/schema/entities/media.d.ts.map +1 -0
- package/types/schema/entities/offer.d.ts +11 -0
- package/types/schema/entities/offer.d.ts.map +1 -0
- package/types/schema/entities/productConfiguration.d.ts +5 -0
- package/types/schema/entities/productConfiguration.d.ts.map +1 -0
- package/types/schema/entities/productFamily.d.ts +5 -0
- package/types/schema/entities/productFamily.d.ts.map +1 -0
- package/types/schema/entities/productGeneration.d.ts +5 -0
- package/types/schema/entities/productGeneration.d.ts.map +1 -0
- package/types/schema/entities/productType.d.ts +5 -0
- package/types/schema/entities/productType.d.ts.map +1 -0
- package/types/schema/entities/rating.d.ts +53 -0
- package/types/schema/entities/rating.d.ts.map +1 -0
- package/types/schema/entities/source.d.ts +8 -0
- package/types/schema/entities/source.d.ts.map +1 -0
- package/types/schema/entities/spec.d.ts +22 -0
- package/types/schema/entities/spec.d.ts.map +1 -0
- package/types/schema/entities/specType.d.ts +6 -0
- package/types/schema/entities/specType.d.ts.map +1 -0
- package/types/schema/entities/specTypeChoice.d.ts +7 -0
- package/types/schema/entities/specTypeChoice.d.ts.map +1 -0
- package/types/schema/entities/storePage.d.ts +8 -0
- package/types/schema/entities/storePage.d.ts.map +1 -0
- package/types/schema/entities/storePageQueueGroup.d.ts +6 -0
- package/types/schema/entities/storePageQueueGroup.d.ts.map +1 -0
- package/types/schema/entities/user.d.ts +5 -0
- package/types/schema/entities/user.d.ts.map +1 -0
- package/types/schema/index.d.ts +206 -16
- package/types/schema/index.d.ts.map +1 -1
- package/types/schema/mutations/createBrand.d.ts +9 -0
- package/types/schema/mutations/createBrand.d.ts.map +1 -0
- package/types/schema/mutations/createCategory.d.ts +9 -0
- package/types/schema/mutations/createCategory.d.ts.map +1 -0
- package/types/schema/mutations/createProductConfiguration.d.ts +10 -0
- package/types/schema/mutations/createProductConfiguration.d.ts.map +1 -0
- package/types/schema/mutations/createProductFamily.d.ts +10 -0
- package/types/schema/mutations/createProductFamily.d.ts.map +1 -0
- package/types/schema/mutations/createProductGeneration.d.ts +10 -0
- package/types/schema/mutations/createProductGeneration.d.ts.map +1 -0
- package/types/schema/mutations/createProductType.d.ts +10 -0
- package/types/schema/mutations/createProductType.d.ts.map +1 -0
- package/types/schema/mutations/createUser.d.ts +10 -0
- package/types/schema/mutations/createUser.d.ts.map +1 -0
- package/types/schema/mutations/storePageQueueClaimById.d.ts +17 -0
- package/types/schema/mutations/storePageQueueClaimById.d.ts.map +1 -0
- package/types/schema/mutations/storePageQueueClaimNext.d.ts +15 -0
- package/types/schema/mutations/storePageQueueClaimNext.d.ts.map +1 -0
- package/types/schema/mutations/storePageQueueHandle.d.ts +15 -0
- package/types/schema/mutations/storePageQueueHandle.d.ts.map +1 -0
- package/types/schema/mutations/storePageQueueHandleStorePageIdSet.d.ts +15 -0
- package/types/schema/mutations/storePageQueueHandleStorePageIdSet.d.ts.map +1 -0
- package/types/schema/mutations/updateAlias.d.ts +8 -0
- package/types/schema/mutations/updateAlias.d.ts.map +1 -0
- package/types/schema/mutations/updateBrand.d.ts +8 -0
- package/types/schema/mutations/updateBrand.d.ts.map +1 -0
- package/types/schema/mutations/updateCategory.d.ts +10 -0
- package/types/schema/mutations/updateCategory.d.ts.map +1 -0
- package/types/schema/mutations/updateOffer.d.ts +8 -0
- package/types/schema/mutations/updateOffer.d.ts.map +1 -0
- package/types/schema/mutations/updateProductConfiguration.d.ts +8 -0
- package/types/schema/mutations/updateProductConfiguration.d.ts.map +1 -0
- package/types/schema/mutations/updateProductConfigurationProductType.d.ts +8 -0
- package/types/schema/mutations/updateProductConfigurationProductType.d.ts.map +1 -0
- package/types/schema/mutations/updateProductFamily.d.ts +8 -0
- package/types/schema/mutations/updateProductFamily.d.ts.map +1 -0
- package/types/schema/mutations/updateProductFamilyBrand.d.ts +8 -0
- package/types/schema/mutations/updateProductFamilyBrand.d.ts.map +1 -0
- package/types/schema/mutations/updateProductGeneration.d.ts +8 -0
- package/types/schema/mutations/updateProductGeneration.d.ts.map +1 -0
- package/types/schema/mutations/updateProductGenerationProductFamily.d.ts +8 -0
- package/types/schema/mutations/updateProductGenerationProductFamily.d.ts.map +1 -0
- package/types/schema/mutations/updateProductType.d.ts +8 -0
- package/types/schema/mutations/updateProductType.d.ts.map +1 -0
- package/types/schema/mutations/updateProductTypeProductGeneration.d.ts +8 -0
- package/types/schema/mutations/updateProductTypeProductGeneration.d.ts.map +1 -0
- package/types/schema/mutations/updateSource.d.ts +10 -0
- package/types/schema/mutations/updateSource.d.ts.map +1 -0
- package/types/schema/mutations/updateStorePage.d.ts +8 -0
- package/types/schema/mutations/updateStorePage.d.ts.map +1 -0
- package/types/schema/queries/affiliateUrl.d.ts +2 -1
- package/types/schema/queries/affiliateUrl.d.ts.map +1 -1
- package/types/schema/queries/aliasIdListBySomeId.d.ts +7 -0
- package/types/schema/queries/aliasIdListBySomeId.d.ts.map +1 -0
- package/types/schema/queries/appliedCategoryIdListBySomeId.d.ts +7 -0
- package/types/schema/queries/appliedCategoryIdListBySomeId.d.ts.map +1 -0
- package/types/schema/queries/baseScore.d.ts +9 -0
- package/types/schema/queries/baseScore.d.ts.map +1 -0
- package/types/schema/queries/baseScoreRatingIdList.d.ts +8 -0
- package/types/schema/queries/baseScoreRatingIdList.d.ts.map +1 -0
- package/types/schema/queries/baseScoresByCategoryId.d.ts +12 -0
- package/types/schema/queries/baseScoresByCategoryId.d.ts.map +1 -0
- package/types/schema/queries/bestInClass.d.ts +20 -0
- package/types/schema/queries/bestInClass.d.ts.map +1 -0
- package/types/schema/queries/brandAliasResolution.d.ts +11 -0
- package/types/schema/queries/brandAliasResolution.d.ts.map +1 -0
- package/types/schema/queries/brandCategoryRankings.d.ts +30 -0
- package/types/schema/queries/brandCategoryRankings.d.ts.map +1 -0
- package/types/schema/queries/brandIdBySomeId.d.ts +6 -0
- package/types/schema/queries/brandIdBySomeId.d.ts.map +1 -0
- package/types/schema/queries/brandIdList.d.ts +9 -0
- package/types/schema/queries/brandIdList.d.ts.map +1 -0
- package/types/schema/queries/brandIdListBySearch.d.ts +7 -0
- package/types/schema/queries/brandIdListBySearch.d.ts.map +1 -0
- package/types/schema/queries/brandSocialMediaPostList.d.ts +22 -0
- package/types/schema/queries/brandSocialMediaPostList.d.ts.map +1 -0
- package/types/schema/queries/categoryAliasResolution.d.ts +12 -0
- package/types/schema/queries/categoryAliasResolution.d.ts.map +1 -0
- package/types/schema/queries/categoryDisplayMode.d.ts +11 -0
- package/types/schema/queries/categoryDisplayMode.d.ts.map +1 -0
- package/types/schema/queries/categoryIdByUrlSlug.d.ts +6 -0
- package/types/schema/queries/categoryIdByUrlSlug.d.ts.map +1 -0
- package/types/schema/queries/categoryIdList.d.ts +9 -0
- package/types/schema/queries/categoryIdList.d.ts.map +1 -0
- package/types/schema/queries/categoryIdListBySomeId.d.ts +11 -0
- package/types/schema/queries/categoryIdListBySomeId.d.ts.map +1 -0
- package/types/schema/queries/categoryIdListBySourceId.d.ts +7 -0
- package/types/schema/queries/categoryIdListBySourceId.d.ts.map +1 -0
- package/types/schema/queries/categoryModifierSearchList.d.ts +22 -0
- package/types/schema/queries/categoryModifierSearchList.d.ts.map +1 -0
- package/types/schema/queries/categoryRankings.d.ts +14 -0
- package/types/schema/queries/categoryRankings.d.ts.map +1 -0
- package/types/schema/queries/categorySearchList.d.ts +17 -0
- package/types/schema/queries/categorySearchList.d.ts.map +1 -0
- package/types/schema/queries/categoryStatusList.d.ts +10 -0
- package/types/schema/queries/categoryStatusList.d.ts.map +1 -0
- package/types/schema/queries/crawlIdList.d.ts +12 -0
- package/types/schema/queries/crawlIdList.d.ts.map +1 -0
- package/types/schema/queries/crawlIdListByUrl.d.ts +7 -0
- package/types/schema/queries/crawlIdListByUrl.d.ts.map +1 -0
- package/types/schema/queries/descriptionMarkdown.d.ts +6 -0
- package/types/schema/queries/descriptionMarkdown.d.ts.map +1 -0
- package/types/schema/queries/entityType.d.ts +55 -0
- package/types/schema/queries/entityType.d.ts.map +1 -0
- package/types/schema/queries/fallbackPriceByProductTypeId.d.ts +7 -0
- package/types/schema/queries/fallbackPriceByProductTypeId.d.ts.map +1 -0
- package/types/schema/queries/inputLayerVersion.d.ts +6 -0
- package/types/schema/queries/inputLayerVersion.d.ts.map +1 -0
- package/types/schema/queries/latestRatingIdList.d.ts +7 -0
- package/types/schema/queries/latestRatingIdList.d.ts.map +1 -0
- package/types/schema/queries/latestRatingIdListBySomeId.d.ts +7 -0
- package/types/schema/queries/latestRatingIdListBySomeId.d.ts.map +1 -0
- package/types/schema/queries/mediaIdListBySomeId.d.ts +7 -0
- package/types/schema/queries/mediaIdListBySomeId.d.ts.map +1 -0
- package/types/schema/queries/mlCategoryDisplayMode.d.ts +9 -0
- package/types/schema/queries/mlCategoryDisplayMode.d.ts.map +1 -0
- package/types/schema/queries/noteMarkdown.d.ts +6 -0
- package/types/schema/queries/noteMarkdown.d.ts.map +1 -0
- package/types/schema/queries/offerIdListByStorePageId.d.ts +13 -0
- package/types/schema/queries/offerIdListByStorePageId.d.ts.map +1 -0
- package/types/schema/queries/possibleAliasIdListBySomeId.d.ts +7 -0
- package/types/schema/queries/possibleAliasIdListBySomeId.d.ts.map +1 -0
- package/types/schema/queries/possibleStorePageIdListBySomeId.d.ts +7 -0
- package/types/schema/queries/possibleStorePageIdListBySomeId.d.ts.map +1 -0
- package/types/schema/queries/preferredCategoryIdListByProductId.d.ts +7 -0
- package/types/schema/queries/preferredCategoryIdListByProductId.d.ts.map +1 -0
- package/types/schema/queries/preferredLatestRatingIdListBySomeId.d.ts +7 -0
- package/types/schema/queries/preferredLatestRatingIdListBySomeId.d.ts.map +1 -0
- package/types/schema/queries/preferredStorePageList.d.ts +12 -0
- package/types/schema/queries/preferredStorePageList.d.ts.map +1 -0
- package/types/schema/queries/priceHistoryLookup.d.ts +17 -0
- package/types/schema/queries/priceHistoryLookup.d.ts.map +1 -0
- package/types/schema/queries/pricePointCompetitors.d.ts +17 -0
- package/types/schema/queries/pricePointCompetitors.d.ts.map +1 -0
- package/types/schema/queries/priceRangeByCategoryId.d.ts +11 -0
- package/types/schema/queries/priceRangeByCategoryId.d.ts.map +1 -0
- package/types/schema/queries/productConfigurationIdListBySomeId.d.ts +7 -0
- package/types/schema/queries/productConfigurationIdListBySomeId.d.ts.map +1 -0
- package/types/schema/queries/productDealList.d.ts +14 -0
- package/types/schema/queries/productDealList.d.ts.map +1 -0
- package/types/schema/queries/productDocumentByStoreUrl.d.ts +8 -0
- package/types/schema/queries/productDocumentByStoreUrl.d.ts.map +1 -0
- package/types/schema/queries/productDocumentsByProductIds.d.ts +2 -2
- package/types/schema/queries/productDocumentsByProductIds.d.ts.map +1 -1
- package/types/schema/queries/productFamilyIdBySomeId.d.ts +6 -0
- package/types/schema/queries/productFamilyIdBySomeId.d.ts.map +1 -0
- package/types/schema/queries/productFamilyIdListBySomeId.d.ts +7 -0
- package/types/schema/queries/productFamilyIdListBySomeId.d.ts.map +1 -0
- package/types/schema/queries/productGenerationIdBySomeId.d.ts +6 -0
- package/types/schema/queries/productGenerationIdBySomeId.d.ts.map +1 -0
- package/types/schema/queries/productGenerationIdListBySomeId.d.ts +7 -0
- package/types/schema/queries/productGenerationIdListBySomeId.d.ts.map +1 -0
- package/types/schema/queries/productListSort.d.ts +10 -0
- package/types/schema/queries/productListSort.d.ts.map +1 -0
- package/types/schema/queries/productPricePointList.d.ts +14 -0
- package/types/schema/queries/productPricePointList.d.ts.map +1 -0
- package/types/schema/queries/productSearchList.d.ts +40 -0
- package/types/schema/queries/productSearchList.d.ts.map +1 -0
- package/types/schema/queries/productTypeIdBySomeId.d.ts +6 -0
- package/types/schema/queries/productTypeIdBySomeId.d.ts.map +1 -0
- package/types/schema/queries/productTypeIdByStoreUrl.d.ts +7 -0
- package/types/schema/queries/productTypeIdByStoreUrl.d.ts.map +1 -0
- package/types/schema/queries/productTypeIdListByCategoryId.d.ts +11 -0
- package/types/schema/queries/productTypeIdListByCategoryId.d.ts.map +1 -0
- package/types/schema/queries/productTypeIdListByModifiers.d.ts +8 -0
- package/types/schema/queries/productTypeIdListByModifiers.d.ts.map +1 -0
- package/types/schema/queries/productTypeIdListBySomeId.d.ts +7 -0
- package/types/schema/queries/productTypeIdListBySomeId.d.ts.map +1 -0
- package/types/schema/queries/saleMetrics.d.ts +9 -0
- package/types/schema/queries/saleMetrics.d.ts.map +1 -0
- package/types/schema/queries/sectionDataByCrawlId.d.ts +20 -0
- package/types/schema/queries/sectionDataByCrawlId.d.ts.map +1 -0
- package/types/schema/queries/sourceIdList.d.ts +5 -0
- package/types/schema/queries/sourceIdList.d.ts.map +1 -0
- package/types/schema/queries/specIdListBySomeId.d.ts +7 -0
- package/types/schema/queries/specIdListBySomeId.d.ts.map +1 -0
- package/types/schema/queries/specTypeIdList.d.ts +13 -0
- package/types/schema/queries/specTypeIdList.d.ts.map +1 -0
- package/types/schema/queries/specTypeValidValues.d.ts +16 -0
- package/types/schema/queries/specTypeValidValues.d.ts.map +1 -0
- package/types/schema/queries/specValueRangeListByCategoryId.d.ts +37 -0
- package/types/schema/queries/specValueRangeListByCategoryId.d.ts.map +1 -0
- package/types/schema/queries/stablePriceByProductId.d.ts +7 -0
- package/types/schema/queries/stablePriceByProductId.d.ts.map +1 -0
- package/types/schema/queries/stablePriceByProductIdAndStoreName.d.ts +8 -0
- package/types/schema/queries/stablePriceByProductIdAndStoreName.d.ts.map +1 -0
- package/types/schema/queries/stablePriceByStorePageId.d.ts +7 -0
- package/types/schema/queries/stablePriceByStorePageId.d.ts.map +1 -0
- package/types/schema/queries/storePageFetchData.d.ts +13 -0
- package/types/schema/queries/storePageFetchData.d.ts.map +1 -0
- package/types/schema/queries/storePageIdByUrl.d.ts +7 -0
- package/types/schema/queries/storePageIdByUrl.d.ts.map +1 -0
- package/types/schema/queries/storePageIdListBySomeId.d.ts +7 -0
- package/types/schema/queries/storePageIdListBySomeId.d.ts.map +1 -0
- package/types/schema/queries/storePageInfo.d.ts +12 -0
- package/types/schema/queries/storePageInfo.d.ts.map +1 -0
- package/types/schema/queries/storePageInfoBySku.d.ts +21 -0
- package/types/schema/queries/storePageInfoBySku.d.ts.map +1 -0
- package/types/schema/queries/storePageScrapeData.d.ts +10 -0
- package/types/schema/queries/storePageScrapeData.d.ts.map +1 -0
- package/types/schema/queries/subCategoryIdListByCategoryId.d.ts +7 -0
- package/types/schema/queries/subCategoryIdListByCategoryId.d.ts.map +1 -0
- package/types/schema/queries/subsetModifierDataByModifiers.d.ts +13 -0
- package/types/schema/queries/subsetModifierDataByModifiers.d.ts.map +1 -0
- package/types/schema/queries/unstableMediaIdListByCategoryId.d.ts +7 -0
- package/types/schema/queries/unstableMediaIdListByCategoryId.d.ts.map +1 -0
- package/types/schema/queries/unstableSourceTrust.d.ts +10 -0
- package/types/schema/queries/unstableSourceTrust.d.ts.map +1 -0
- package/types/schema/queries/userIdList.d.ts +5 -0
- package/types/schema/queries/userIdList.d.ts.map +1 -0
- package/types/schema/queries/userPermissionsByUserId.d.ts +8 -0
- package/types/schema/queries/userPermissionsByUserId.d.ts.map +1 -0
- package/types/schema/queries/userRestictedData.d.ts +11 -0
- package/types/schema/queries/userRestictedData.d.ts.map +1 -0
- package/types/schema/queries/userReviewAnalysis.d.ts +38 -0
- package/types/schema/queries/userReviewAnalysis.d.ts.map +1 -0
- package/types/schema/queries/whoAmI.d.ts +6 -0
- package/types/schema/queries/whoAmI.d.ts.map +1 -0
- package/types/schema/queries.d.ts +77 -5
- package/types/schema/queries.d.ts.map +1 -1
- package/types/schema/responses.d.ts +77 -5
- package/types/schema/responses.d.ts.map +1 -1
- package/dist/Context.js +0 -6
- package/dist/Context.js.map +0 -1
- package/dist/Provider.js +0 -14
- package/dist/Provider.js.map +0 -1
- package/dist/actions.js.map +0 -1
- package/dist/hooks/index.js +0 -18
- package/dist/hooks/index.js.map +0 -1
- package/dist/hooks/useApiDispatch.js +0 -10
- package/dist/hooks/useApiDispatch.js.map +0 -1
- package/dist/hooks/useApiSelector.js +0 -10
- package/dist/hooks/useApiSelector.js.map +0 -1
- package/dist/hooks/useApiStore.js +0 -10
- package/dist/hooks/useApiStore.js.map +0 -1
- package/dist/schema/entities/product.js.map +0 -1
- package/dist/schema/entities/variant.js.map +0 -1
- package/dist/schema/queries/productDocumentsByRetailPageUrls.js.map +0 -1
- package/dist/schema/queries/retailPageInfo.js.map +0 -1
- package/dist/schema/queries/retailPagePriceHistory.js +0 -3
- package/dist/schema/queries/retailPagePriceHistory.js.map +0 -1
- package/dist/schema/queries/retailPagePricing.js +0 -3
- package/dist/schema/queries/retailPagePricing.js.map +0 -1
- package/dist/schema/queries/searchList.js.map +0 -1
- package/dist/store/entities/index.js +0 -12
- package/dist/store/entities/index.js.map +0 -1
- package/dist/store/entities/makeEntityReducer.js +0 -24
- package/dist/store/entities/makeEntityReducer.js.map +0 -1
- package/dist/store/errors/index.js +0 -24
- package/dist/store/errors/index.js.map +0 -1
- package/dist/store/errors/makeErrorReducer.js +0 -24
- package/dist/store/errors/makeErrorReducer.js.map +0 -1
- package/dist/store/index.js +0 -17
- package/dist/store/index.js.map +0 -1
- package/dist/store/responses/index.js +0 -20
- package/dist/store/responses/index.js.map +0 -1
- package/dist/store/responses/makeResponseReducer.js +0 -24
- package/dist/store/responses/makeResponseReducer.js.map +0 -1
- package/types/Context.d.ts +0 -5
- package/types/Context.d.ts.map +0 -1
- package/types/Provider.d.ts +0 -4
- package/types/Provider.d.ts.map +0 -1
- package/types/actions.d.ts +0 -8
- package/types/actions.d.ts.map +0 -1
- package/types/hooks/index.d.ts +0 -8
- package/types/hooks/index.d.ts.map +0 -1
- package/types/hooks/useApiDispatch.d.ts +0 -4
- package/types/hooks/useApiDispatch.d.ts.map +0 -1
- package/types/hooks/useApiSelector.d.ts +0 -5
- package/types/hooks/useApiSelector.d.ts.map +0 -1
- package/types/hooks/useApiStore.d.ts +0 -3
- package/types/hooks/useApiStore.d.ts.map +0 -1
- package/types/schema/entities/product.d.ts +0 -5
- package/types/schema/entities/product.d.ts.map +0 -1
- package/types/schema/entities/variant.d.ts +0 -5
- package/types/schema/entities/variant.d.ts.map +0 -1
- package/types/schema/queries/productDocumentsByRetailPageUrls.d.ts +0 -6
- package/types/schema/queries/productDocumentsByRetailPageUrls.d.ts.map +0 -1
- package/types/schema/queries/retailPageInfo.d.ts +0 -18
- package/types/schema/queries/retailPageInfo.d.ts.map +0 -1
- package/types/schema/queries/retailPagePriceHistory.d.ts +0 -15
- package/types/schema/queries/retailPagePriceHistory.d.ts.map +0 -1
- package/types/schema/queries/retailPagePricing.d.ts +0 -10
- package/types/schema/queries/retailPagePricing.d.ts.map +0 -1
- package/types/schema/queries/searchList.d.ts +0 -54
- package/types/schema/queries/searchList.d.ts.map +0 -1
- package/types/store/entities/index.d.ts +0 -10
- package/types/store/entities/index.d.ts.map +0 -1
- package/types/store/entities/makeEntityReducer.d.ts +0 -6
- package/types/store/entities/makeEntityReducer.d.ts.map +0 -1
- package/types/store/errors/index.d.ts +0 -5
- package/types/store/errors/index.d.ts.map +0 -1
- package/types/store/errors/makeErrorReducer.d.ts +0 -6
- package/types/store/errors/makeErrorReducer.d.ts.map +0 -1
- package/types/store/index.d.ts +0 -32
- package/types/store/index.d.ts.map +0 -1
- package/types/store/responses/index.d.ts +0 -18
- package/types/store/responses/index.d.ts.map +0 -1
- package/types/store/responses/makeResponseReducer.d.ts +0 -6
- package/types/store/responses/makeResponseReducer.d.ts.map +0 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Money, SortedIds } from "../builtins";
|
|
2
|
+
import { Category, ProductType } from "../entities";
|
|
3
|
+
export interface CategoryRankingsQuery {
|
|
4
|
+
categoryId: Category["id"];
|
|
5
|
+
productTypeIds: ProductType["id"][];
|
|
6
|
+
}
|
|
7
|
+
export declare type CategoryRankingsResponse = CategoryRankingGroup[];
|
|
8
|
+
interface CategoryRankingGroup {
|
|
9
|
+
groupLabelPrice: Money;
|
|
10
|
+
currentPriceSortedIds: SortedIds<ProductType["id"]>;
|
|
11
|
+
stablePriceSortedIds: SortedIds<ProductType["id"]>;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=categoryRankings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"categoryRankings.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/categoryRankings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AASnD,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAA;IAC1B,cAAc,EAAE,WAAW,CAAC,IAAI,CAAC,EAAE,CAAA;CACpC;AAED,oBAAY,wBAAwB,GAAG,oBAAoB,EAAE,CAAA;AAQ7D,UAAU,oBAAoB;IAC5B,eAAe,EAAE,KAAK,CAAA;IACtB,qBAAqB,EAAE,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAA;IACnD,oBAAoB,EAAE,SAAS,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAA;CACnD"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ListQuery, ListResponse, SpecFilter } from "../builtins";
|
|
2
|
+
import { Category } from "../entities";
|
|
3
|
+
export interface CategorySearchListQuery extends ListQuery<Filters> {
|
|
4
|
+
search: string;
|
|
5
|
+
}
|
|
6
|
+
interface Filters {
|
|
7
|
+
isExact?: boolean;
|
|
8
|
+
isPrefix?: boolean;
|
|
9
|
+
aliasOnly?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare type CategorySearchListResponse = ListResponse<SearchResult>;
|
|
12
|
+
interface SearchResult {
|
|
13
|
+
categoryId: Category["id"];
|
|
14
|
+
specFilters: SpecFilter[];
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=categorySearchList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"categorySearchList.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/categorySearchList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,MAAM,WAAW,uBAAwB,SAAQ,SAAS,CAAC,OAAO,CAAC;IACjE,MAAM,EAAE,MAAM,CAAA;CACf;AAED,UAAU,OAAO;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,oBAAY,0BAA0B,GAAG,YAAY,CAAC,YAAY,CAAC,CAAA;AAEnE,UAAU,YAAY;IACpB,UAAU,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAA;IAC1B,WAAW,EAAE,UAAU,EAAE,CAAA;CAC1B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Category } from "../entities";
|
|
2
|
+
import { ArraySorted, ListResponse } from "../builtins";
|
|
3
|
+
export declare type CategoryStatusListQuery = {};
|
|
4
|
+
export declare type AllowedStates = "bestInClass" | "allProducts";
|
|
5
|
+
export declare type CategoryStatusListResponse = ListResponse<CategoryStatus>;
|
|
6
|
+
export interface CategoryStatus {
|
|
7
|
+
categoryId: Category["id"];
|
|
8
|
+
allowedStates: ArraySorted<AllowedStates>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=categoryStatusList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"categoryStatusList.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/categoryStatusList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,oBAAyB;AAC5C,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,oBAAyB;AAE7D,oBAAY,uBAAuB,GAAG,EAErC,CAAA;AAED,oBAAY,aAAa,GAAG,aAAa,GAAG,aAAa,CAAA;AAEzD,oBAAY,0BAA0B,GAAG,YAAY,CAAC,cAAc,CAAC,CAAA;AAErE,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAA;IAC1B,aAAa,EAAE,WAAW,CAAC,aAAa,CAAC,CAAA;CAC1C"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ListQuery, ListResponse, Url } from "../builtins";
|
|
2
|
+
import { Category, Crawl, Source } from "../entities";
|
|
3
|
+
export declare type CrawlIdListQuery = ListQuery<Filters>;
|
|
4
|
+
export declare type CrawlIdListResponse = ListResponse<Crawl["id"]>;
|
|
5
|
+
interface Filters {
|
|
6
|
+
crawlUrls?: Url[];
|
|
7
|
+
categoryIds?: Category["id"][];
|
|
8
|
+
isLatest?: boolean;
|
|
9
|
+
sourceIds?: Source["id"][];
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=crawlIdList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crawlIdList.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/crawlIdList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,aAAa,CAAA;AAC1D,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAErD,oBAAY,gBAAgB,GAAG,SAAS,CAAC,OAAO,CAAC,CAAA;AAEjD,oBAAY,mBAAmB,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAA;AAE3D,UAAU,OAAO;IACf,SAAS,CAAC,EAAE,GAAG,EAAE,CAAA;IACjB,WAAW,CAAC,EAAE,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAA;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,CAAA;CAC3B"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ListQuery, ListResponse, Url } from "../builtins";
|
|
2
|
+
import { Crawl } from "../entities";
|
|
3
|
+
export interface CrawlIdListByUrlQuery extends ListQuery {
|
|
4
|
+
url: Url;
|
|
5
|
+
}
|
|
6
|
+
export declare type CrawlIdListByUrlResponse = ListResponse<Crawl["id"]>;
|
|
7
|
+
//# sourceMappingURL=crawlIdListByUrl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crawlIdListByUrl.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/crawlIdListByUrl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,aAAa,CAAA;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAEnC,MAAM,WAAW,qBAAsB,SAAQ,SAAS;IACtD,GAAG,EAAE,GAAG,CAAA;CACT;AAED,oBAAY,wBAAwB,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"descriptionMarkdown.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/descriptionMarkdown.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAEnC,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,KAAK,CAAA;CACb;AAED,oBAAY,2BAA2B,GAAG,MAAM,CAAA"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { AnyId } from "../builtins";
|
|
2
|
+
import * as Entities from "../entities";
|
|
3
|
+
export interface EntityTypeQuery {
|
|
4
|
+
anyId: AnyId;
|
|
5
|
+
}
|
|
6
|
+
export declare type EntityTypeResponse = {
|
|
7
|
+
id: Entities.Alias["id"];
|
|
8
|
+
type: "alias";
|
|
9
|
+
} | {
|
|
10
|
+
id: Entities.Brand["id"];
|
|
11
|
+
type: "brand";
|
|
12
|
+
} | {
|
|
13
|
+
id: Entities.Category["id"];
|
|
14
|
+
type: "category";
|
|
15
|
+
} | {
|
|
16
|
+
id: Entities.Crawl["id"];
|
|
17
|
+
type: "crawl";
|
|
18
|
+
} | {
|
|
19
|
+
id: Entities.Media["id"];
|
|
20
|
+
type: "media";
|
|
21
|
+
} | {
|
|
22
|
+
id: Entities.ProductConfiguration["id"];
|
|
23
|
+
type: "productConfiguration";
|
|
24
|
+
} | {
|
|
25
|
+
id: Entities.ProductFamily["id"];
|
|
26
|
+
type: "productFamily";
|
|
27
|
+
} | {
|
|
28
|
+
id: Entities.ProductGeneration["id"];
|
|
29
|
+
type: "productGeneration";
|
|
30
|
+
} | {
|
|
31
|
+
id: Entities.ProductType["id"];
|
|
32
|
+
type: "productType";
|
|
33
|
+
} | {
|
|
34
|
+
id: Entities.Rating["id"];
|
|
35
|
+
type: "rating";
|
|
36
|
+
} | {
|
|
37
|
+
id: Entities.Source["id"];
|
|
38
|
+
type: "source";
|
|
39
|
+
} | {
|
|
40
|
+
id: Entities.Spec["id"];
|
|
41
|
+
type: "spec";
|
|
42
|
+
} | {
|
|
43
|
+
id: Entities.SpecTypeChoice["id"];
|
|
44
|
+
type: "specTypeChoice";
|
|
45
|
+
} | {
|
|
46
|
+
id: Entities.SpecType["id"];
|
|
47
|
+
type: "specType";
|
|
48
|
+
} | {
|
|
49
|
+
id: Entities.StorePage["id"];
|
|
50
|
+
type: "storePage";
|
|
51
|
+
} | {
|
|
52
|
+
id: Entities.User["id"];
|
|
53
|
+
type: "user";
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=entityType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entityType.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/entityType.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AACnC,OAAO,KAAK,QAAQ,MAAM,aAAa,CAAA;AAEvC,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,KAAK,CAAA;CACb;AAID,oBAAY,kBAAkB,GAC1B;IAAE,EAAE,EAAE,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAAC,IAAI,EAAE,OAAO,CAAA;CAAE,GAC3C;IAAE,EAAE,EAAE,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAAC,IAAI,EAAE,OAAO,CAAA;CAAE,GAC3C;IAAE,EAAE,EAAE,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAAC,IAAI,EAAE,UAAU,CAAA;CAAE,GACjD;IAAE,EAAE,EAAE,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAAC,IAAI,EAAE,OAAO,CAAA;CAAE,GAC3C;IAAE,EAAE,EAAE,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;IAAC,IAAI,EAAE,OAAO,CAAA;CAAE,GAC3C;IAAE,EAAE,EAAE,QAAQ,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;IAAC,IAAI,EAAE,sBAAsB,CAAA;CAAE,GACzE;IAAE,EAAE,EAAE,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IAAC,IAAI,EAAE,eAAe,CAAA;CAAE,GAC3D;IAAE,EAAE,EAAE,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;IAAC,IAAI,EAAE,mBAAmB,CAAA;CAAE,GACnE;IAAE,EAAE,EAAE,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAAC,IAAI,EAAE,aAAa,CAAA;CAAE,GACvD;IAAE,EAAE,EAAE,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAAC,IAAI,EAAE,QAAQ,CAAA;CAAE,GAC7C;IAAE,EAAE,EAAE,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAAC,IAAI,EAAE,QAAQ,CAAA;CAAE,GAC7C;IAAE,EAAE,EAAE,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GACzC;IAAE,EAAE,EAAE,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAAC,IAAI,EAAE,gBAAgB,CAAA;CAAE,GAC7D;IAAE,EAAE,EAAE,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAAC,IAAI,EAAE,UAAU,CAAA;CAAE,GACjD;IAAE,EAAE,EAAE,QAAQ,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IAAC,IAAI,EAAE,WAAW,CAAA;CAAE,GACnD;IAAE,EAAE,EAAE,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Money } from "../builtins";
|
|
2
|
+
import { ProductType } from "../entities";
|
|
3
|
+
export interface FallbackPriceByProductTypeIdQuery {
|
|
4
|
+
productTypeId: ProductType["id"];
|
|
5
|
+
}
|
|
6
|
+
export declare type FallbackPriceByProductTypeIdResponse = Money;
|
|
7
|
+
//# sourceMappingURL=fallbackPriceByProductTypeId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fallbackPriceByProductTypeId.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/fallbackPriceByProductTypeId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AACnC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAKzC,MAAM,WAAW,iCAAiC;IAChD,aAAa,EAAE,WAAW,CAAC,IAAI,CAAC,CAAA;CACjC;AAED,oBAAY,oCAAoC,GAAG,KAAK,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inputLayerVersion.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/inputLayerVersion.ts"],"names":[],"mappings":"AAAA,oBAAY,sBAAsB,GAAG,EAEpC,CAAA;AAED,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,MAAM,CAAA;IACb,UAAU,EAAE,MAAM,CAAA;CACnB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { Brand, ProductConfiguration, ProductFamily, ProductGeneration, ProductType, Rating } from "../entities";
|
|
3
|
+
export interface LatestRatingIdListQuery extends ListQuery {
|
|
4
|
+
productId: Brand["id"] | ProductConfiguration["id"] | ProductFamily["id"] | ProductGeneration["id"] | ProductType["id"];
|
|
5
|
+
}
|
|
6
|
+
export declare type LatestRatingIdListResponse = ListResponse<Rating["id"]>;
|
|
7
|
+
//# sourceMappingURL=latestRatingIdList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"latestRatingIdList.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/latestRatingIdList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,EACL,KAAK,EACL,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,MAAM,EACP,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,uBAAwB,SAAQ,SAAS;IACxD,SAAS,EACL,KAAK,CAAC,IAAI,CAAC,GACX,oBAAoB,CAAC,IAAI,CAAC,GAC1B,aAAa,CAAC,IAAI,CAAC,GACnB,iBAAiB,CAAC,IAAI,CAAC,GACvB,WAAW,CAAC,IAAI,CAAC,CAAA;CACtB;AAED,oBAAY,0BAA0B,GAAG,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { Brand, ProductGeneration, ProductType, Rating } from "../entities";
|
|
3
|
+
export interface LatestRatingIdListBySomeIdQuery extends ListQuery {
|
|
4
|
+
someId: Brand["id"] | ProductGeneration["id"] | ProductType["id"];
|
|
5
|
+
}
|
|
6
|
+
export declare type LatestRatingIdListBySomeIdResponse = ListResponse<Rating["id"]>;
|
|
7
|
+
//# sourceMappingURL=latestRatingIdListBySomeId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"latestRatingIdListBySomeId.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/latestRatingIdListBySomeId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,EAAE,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AAS3E,MAAM,WAAW,+BAAgC,SAAQ,SAAS;IAChE,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,iBAAiB,CAAC,IAAI,CAAC,GAAG,WAAW,CAAC,IAAI,CAAC,CAAA;CAClE;AAED,oBAAY,kCAAkC,GAAG,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { Media, ProductType } from "../entities";
|
|
3
|
+
export interface MediaIdListBySomeIdQuery extends ListQuery {
|
|
4
|
+
someId: ProductType["id"];
|
|
5
|
+
}
|
|
6
|
+
export declare type MediaIdListBySomeIdResponse = ListResponse<Media["id"]>;
|
|
7
|
+
//# sourceMappingURL=mediaIdListBySomeId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mediaIdListBySomeId.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/mediaIdListBySomeId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,WAAW,wBAAyB,SAAQ,SAAS;IACzD,MAAM,EAAE,WAAW,CAAC,IAAI,CAAC,CAAA;CAC1B;AAED,oBAAY,2BAA2B,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Category } from "../entities";
|
|
2
|
+
import { DisplayMode } from "../builtins";
|
|
3
|
+
export interface MlCategoryDisplayModeQuery {
|
|
4
|
+
categoryId: Category["id"];
|
|
5
|
+
}
|
|
6
|
+
export interface MlCategoryDisplayModeResponse {
|
|
7
|
+
mlDisplayMode: DisplayMode;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=mlCategoryDisplayMode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mlCategoryDisplayMode.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/mlCategoryDisplayMode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,oBAAyB;AAC5C,OAAO,EAAE,WAAW,EAAE,oBAAyB;AAK/C,MAAM,WAAW,0BAA0B;IACzC,UAAU,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAA;CAC3B;AAOD,MAAM,WAAW,6BAA6B;IAC5C,aAAa,EAAE,WAAW,CAAA;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"noteMarkdown.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/noteMarkdown.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAEnC,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,KAAK,CAAA;CACb;AAED,oBAAY,oBAAoB,GAAG,MAAM,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ListQuery, ListResponse, Timestamp } from "../builtins";
|
|
2
|
+
import { Offer, StorePage } from "../entities";
|
|
3
|
+
export interface OfferIdListByStorePageIdQuery extends ListQuery<Filters> {
|
|
4
|
+
storePageId: StorePage["id"];
|
|
5
|
+
}
|
|
6
|
+
export declare type OfferIdListByStorePageIdResponse = ListResponse<Offer["id"]>;
|
|
7
|
+
interface Filters {
|
|
8
|
+
before?: Timestamp;
|
|
9
|
+
after?: Timestamp;
|
|
10
|
+
isValid?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=offerIdListByStorePageId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"offerIdListByStorePageId.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/offerIdListByStorePageId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAChE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,WAAW,6BAA8B,SAAQ,SAAS,CAAC,OAAO,CAAC;IACvE,WAAW,EAAE,SAAS,CAAC,IAAI,CAAC,CAAA;CAC7B;AAED,oBAAY,gCAAgC,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAA;AAExE,UAAU,OAAO;IACf,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,KAAK,CAAC,EAAE,SAAS,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { Alias, ProductType } from "../entities";
|
|
3
|
+
export interface PossibleAliasIdListBySomeIdQuery extends ListQuery {
|
|
4
|
+
someId: ProductType["id"];
|
|
5
|
+
}
|
|
6
|
+
export declare type PossibleAliasIdListBySomeIdResponse = ListResponse<Alias["id"]>;
|
|
7
|
+
//# sourceMappingURL=possibleAliasIdListBySomeId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"possibleAliasIdListBySomeId.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/possibleAliasIdListBySomeId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAEhD,MAAM,WAAW,gCAAiC,SAAQ,SAAS;IACjE,MAAM,EAAE,WAAW,CAAC,IAAI,CAAC,CAAA;CAC1B;AAED,oBAAY,mCAAmC,GAAG,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { ProductType, StorePage } from "../entities";
|
|
3
|
+
export interface PossibleStorePageIdListBySomeIdQuery extends ListQuery {
|
|
4
|
+
someId: ProductType["id"];
|
|
5
|
+
}
|
|
6
|
+
export declare type PossibleStorePageIdListBySomeIdResponse = ListResponse<StorePage["id"]>;
|
|
7
|
+
//# sourceMappingURL=possibleStorePageIdListBySomeId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"possibleStorePageIdListBySomeId.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/possibleStorePageIdListBySomeId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEpD,MAAM,WAAW,oCAAqC,SAAQ,SAAS;IACrE,MAAM,EAAE,WAAW,CAAC,IAAI,CAAC,CAAA;CAC1B;AAED,oBAAY,uCAAuC,GAAG,YAAY,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ListQuery, SortedListResponse } from "../builtins";
|
|
2
|
+
import { Category, ProductType } from "../entities";
|
|
3
|
+
export interface PreferredCategoryIdListByProductIdQuery extends ListQuery {
|
|
4
|
+
productId: ProductType["id"];
|
|
5
|
+
}
|
|
6
|
+
export declare type PreferredCategoryIdListByProductIdResponse = SortedListResponse<Category["id"]>;
|
|
7
|
+
//# sourceMappingURL=preferredCategoryIdListByProductId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preferredCategoryIdListByProductId.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/preferredCategoryIdListByProductId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAC3D,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAOnD,MAAM,WAAW,uCAAwC,SAAQ,SAAS;IACxE,SAAS,EAAE,WAAW,CAAC,IAAI,CAAC,CAAA;CAC7B;AAED,oBAAY,0CAA0C,GAAG,kBAAkB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { Rating, Brand, ProductGeneration, ProductType } from "../entities";
|
|
3
|
+
export interface PreferredLatestRatingIdListBySomeIdQuery extends ListQuery {
|
|
4
|
+
someId: Brand["id"] | ProductGeneration["id"] | ProductType["id"];
|
|
5
|
+
}
|
|
6
|
+
export declare type PreferredLatestRatingIdListBySomeIdResponse = ListResponse<Rating["id"]>;
|
|
7
|
+
//# sourceMappingURL=preferredLatestRatingIdListBySomeId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preferredLatestRatingIdListBySomeId.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/preferredLatestRatingIdListBySomeId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE3E,MAAM,WAAW,wCAAyC,SAAQ,SAAS;IACzE,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,iBAAiB,CAAC,IAAI,CAAC,GAAG,WAAW,CAAC,IAAI,CAAC,CAAA;CAClE;AAED,oBAAY,2CAA2C,GAAG,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ListQuery, ListResponse, Money } from "../builtins";
|
|
2
|
+
import { ProductType, StorePage } from "../entities";
|
|
3
|
+
export interface PreferredStorePageListQuery extends ListQuery {
|
|
4
|
+
productId: ProductType["id"];
|
|
5
|
+
}
|
|
6
|
+
export declare type PreferredStorePageListResponse = ListResponse<PreferredStorePage>;
|
|
7
|
+
interface PreferredStorePage {
|
|
8
|
+
storePageId: StorePage["id"];
|
|
9
|
+
price: Money;
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=preferredStorePageList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preferredStorePageList.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/preferredStorePageList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAC5D,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAQpD,MAAM,WAAW,2BAA4B,SAAQ,SAAS;IAC5D,SAAS,EAAE,WAAW,CAAC,IAAI,CAAC,CAAA;CAC7B;AAED,oBAAY,8BAA8B,GAAG,YAAY,CAAC,kBAAkB,CAAC,CAAA;AAE7E,UAAU,kBAAkB;IAC1B,WAAW,EAAE,SAAS,CAAC,IAAI,CAAC,CAAA;IAC5B,KAAK,EAAE,KAAK,CAAA;CACb"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AnyCurrency, IsoCountry, MoneyAmount, Timestamp } from "../builtins";
|
|
2
|
+
export interface PriceHistoryLookupQuery {
|
|
3
|
+
store: "amazon" | string;
|
|
4
|
+
sku: string;
|
|
5
|
+
type: PriceType;
|
|
6
|
+
country: IsoCountry;
|
|
7
|
+
}
|
|
8
|
+
export interface PriceHistoryLookupResponse {
|
|
9
|
+
store: string;
|
|
10
|
+
sku: string;
|
|
11
|
+
type: PriceType;
|
|
12
|
+
currency: AnyCurrency;
|
|
13
|
+
prices: [Timestamp, MoneyAmount | null][];
|
|
14
|
+
}
|
|
15
|
+
declare type PriceType = "list" | "buy" | "new" | "used" | "refurbished";
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=priceHistoryLookup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"priceHistoryLookup.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/priceHistoryLookup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,oBAAyB;AAEnF,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,QAAQ,GAAG,MAAM,CAAA;IACxB,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,SAAS,CAAA;IACf,OAAO,EAAE,UAAU,CAAA;CACpB;AAED,MAAM,WAAW,0BAA0B;IACzC,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,SAAS,CAAA;IACf,QAAQ,EAAE,WAAW,CAAA;IAGrB,MAAM,EAAE,CAAC,SAAS,EAAE,WAAW,GAAG,IAAI,CAAC,EAAE,CAAA;CAC1C;AAOD,aAAK,SAAS,GAAG,MAAM,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,aAAa,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Money } from "../builtins";
|
|
2
|
+
import { Category, ProductType } from "../entities";
|
|
3
|
+
export interface PricePointCompetitorsQuery {
|
|
4
|
+
categoryId: Category["id"];
|
|
5
|
+
referencePrice: Money;
|
|
6
|
+
productTypeIds?: ProductType["id"][];
|
|
7
|
+
}
|
|
8
|
+
export interface PricePointCompetitorsResponse {
|
|
9
|
+
recommendedCompetitors: [PricePointCompetitor];
|
|
10
|
+
additionalCompetitors: [PricePointCompetitor];
|
|
11
|
+
}
|
|
12
|
+
interface PricePointCompetitor {
|
|
13
|
+
productTypeId: ProductType["id"];
|
|
14
|
+
contextualScore: number;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=pricePointCompetitors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pricePointCompetitors.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/pricePointCompetitors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AACnC,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAWnD,MAAM,WAAW,0BAA0B;IACzC,UAAU,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAA;IAC1B,cAAc,EAAE,KAAK,CAAA;IACrB,cAAc,CAAC,EAAE,WAAW,CAAC,IAAI,CAAC,EAAE,CAAA;CACrC;AAED,MAAM,WAAW,6BAA6B;IAC5C,sBAAsB,EAAE,CAAC,oBAAoB,CAAC,CAAA;IAC9C,qBAAqB,EAAE,CAAC,oBAAoB,CAAC,CAAA;CAC9C;AAED,UAAU,oBAAoB;IAC5B,aAAa,EAAE,WAAW,CAAC,IAAI,CAAC,CAAA;IAChC,eAAe,EAAE,MAAM,CAAA;CACxB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IsoCurrency, Money } from "../builtins";
|
|
2
|
+
import { Category } from "../entities";
|
|
3
|
+
export interface PriceRangeByCategoryIdQuery {
|
|
4
|
+
categoryId: Category["id"];
|
|
5
|
+
currency: IsoCurrency;
|
|
6
|
+
}
|
|
7
|
+
export interface PriceRangeByCategoryIdResponse {
|
|
8
|
+
min: Money;
|
|
9
|
+
max: Money;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=priceRangeByCategoryId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"priceRangeByCategoryId.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/priceRangeByCategoryId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,MAAM,WAAW,2BAA2B;IAC1C,UAAU,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAA;IAC1B,QAAQ,EAAE,WAAW,CAAA;CACtB;AAED,MAAM,WAAW,8BAA8B;IAC7C,GAAG,EAAE,KAAK,CAAA;IACV,GAAG,EAAE,KAAK,CAAA;CACX"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { ProductConfiguration, ProductType } from "../entities";
|
|
3
|
+
export interface ProductConfigurationIdListBySomeIdQuery extends ListQuery {
|
|
4
|
+
someId: ProductType["id"];
|
|
5
|
+
}
|
|
6
|
+
export declare type ProductConfigurationIdListBySomeIdResponse = ListResponse<ProductConfiguration["id"]>;
|
|
7
|
+
//# sourceMappingURL=productConfigurationIdListBySomeId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productConfigurationIdListBySomeId.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/productConfigurationIdListBySomeId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE/D,MAAM,WAAW,uCAAwC,SAAQ,SAAS;IACxE,MAAM,EAAE,WAAW,CAAC,IAAI,CAAC,CAAA;CAC1B;AAED,oBAAY,0CAA0C,GAAG,YAAY,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ListQuery, NonEmptySortedIds, SortedListResponse } from "../builtins";
|
|
2
|
+
import { Category, ProductType } from "../entities";
|
|
3
|
+
export declare type ProductDealListQuery = ListQuery<Filters>;
|
|
4
|
+
export declare type ProductDealListResponse = SortedListResponse<ProductDealInfo>;
|
|
5
|
+
interface Filters {
|
|
6
|
+
categoryIds?: Category["id"][];
|
|
7
|
+
maxPerCategory?: number;
|
|
8
|
+
}
|
|
9
|
+
interface ProductDealInfo {
|
|
10
|
+
productTypeId: ProductType["id"];
|
|
11
|
+
categoryIds: NonEmptySortedIds<Category["id"]>;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=productDealList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productDealList.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/productDealList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAC9E,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAQnD,oBAAY,oBAAoB,GAAG,SAAS,CAAC,OAAO,CAAC,CAAA;AAErD,oBAAY,uBAAuB,GAAG,kBAAkB,CAAC,eAAe,CAAC,CAAA;AAazE,UAAU,OAAO;IACf,WAAW,CAAC,EAAE,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAA;IAC9B,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB;AAOD,UAAU,eAAe;IACvB,aAAa,EAAE,WAAW,CAAC,IAAI,CAAC,CAAA;IAChC,WAAW,EAAE,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAA;CAC/C"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Url, ProductDocument } from "../builtins";
|
|
2
|
+
export interface ProductDocumentByStoreUrlQuery {
|
|
3
|
+
storeUrl: Url;
|
|
4
|
+
}
|
|
5
|
+
export interface ProductDocumentByStoreUrlResponse {
|
|
6
|
+
result: ProductDocument | null;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=productDocumentByStoreUrl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productDocumentByStoreUrl.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/productDocumentByStoreUrl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAElD,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,EAAE,GAAG,CAAA;CACd;AAED,MAAM,WAAW,iCAAiC;IAChD,MAAM,EAAE,eAAe,GAAG,IAAI,CAAA;CAC/B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ProductType } from "../entities";
|
|
2
2
|
import { ProductDocument } from "../builtins";
|
|
3
3
|
export interface ProductDocumentsByProductIdsQuery {
|
|
4
|
-
productIds:
|
|
4
|
+
productIds: ProductType["id"][];
|
|
5
5
|
}
|
|
6
6
|
export declare type ProductDocumentsByProductIdsResponse = ProductDocument[];
|
|
7
7
|
//# sourceMappingURL=productDocumentsByProductIds.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productDocumentsByProductIds.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/productDocumentsByProductIds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"productDocumentsByProductIds.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/productDocumentsByProductIds.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,oBAAyB;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAE7C,MAAM,WAAW,iCAAiC;IAChD,UAAU,EAAE,WAAW,CAAC,IAAI,CAAC,EAAE,CAAA;CAChC;AAED,oBAAY,oCAAoC,GAAG,eAAe,EAAE,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ProductFamily, ProductGeneration } from "../entities";
|
|
2
|
+
export interface ProductFamilyIdBySomeIdQuery {
|
|
3
|
+
someId: ProductGeneration["id"];
|
|
4
|
+
}
|
|
5
|
+
export declare type ProductFamilyIdBySomeIdResponse = ProductFamily["id"];
|
|
6
|
+
//# sourceMappingURL=productFamilyIdBySomeId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productFamilyIdBySomeId.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/productFamilyIdBySomeId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAE9D,MAAM,WAAW,4BAA4B;IAC3C,MAAM,EAAE,iBAAiB,CAAC,IAAI,CAAC,CAAA;CAChC;AAED,oBAAY,+BAA+B,GAAG,aAAa,CAAC,IAAI,CAAC,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { Brand, Category, ProductFamily } from "../entities";
|
|
3
|
+
export interface ProductFamilyIdListBySomeIdQuery extends ListQuery {
|
|
4
|
+
someId: Brand["id"] | Category["id"];
|
|
5
|
+
}
|
|
6
|
+
export declare type ProductFamilyIdListBySomeIdResponse = ListResponse<ProductFamily["id"]>;
|
|
7
|
+
//# sourceMappingURL=productFamilyIdListBySomeId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productFamilyIdListBySomeId.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/productFamilyIdListBySomeId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE5D,MAAM,WAAW,gCAAiC,SAAQ,SAAS;IACjE,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAA;CACrC;AAED,oBAAY,mCAAmC,GAAG,YAAY,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ProductGeneration, ProductType } from "../entities";
|
|
2
|
+
export interface ProductGenerationIdBySomeIdQuery {
|
|
3
|
+
someId: ProductType["id"];
|
|
4
|
+
}
|
|
5
|
+
export declare type ProductGenerationIdBySomeIdResponse = ProductGeneration["id"];
|
|
6
|
+
//# sourceMappingURL=productGenerationIdBySomeId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productGenerationIdBySomeId.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/productGenerationIdBySomeId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAE5D,MAAM,WAAW,gCAAgC;IAC/C,MAAM,EAAE,WAAW,CAAC,IAAI,CAAC,CAAA;CAC1B;AAED,oBAAY,mCAAmC,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { ProductFamily, ProductGeneration } from "../entities";
|
|
3
|
+
export interface ProductGenerationIdListBySomeIdQuery extends ListQuery {
|
|
4
|
+
someId: ProductFamily["id"];
|
|
5
|
+
}
|
|
6
|
+
export declare type ProductGenerationIdListBySomeIdResponse = ListResponse<ProductGeneration["id"]>;
|
|
7
|
+
//# sourceMappingURL=productGenerationIdListBySomeId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productGenerationIdListBySomeId.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/productGenerationIdListBySomeId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAE9D,MAAM,WAAW,oCAAqC,SAAQ,SAAS;IACrE,MAAM,EAAE,aAAa,CAAC,IAAI,CAAC,CAAA;CAC5B;AAED,oBAAY,uCAAuC,GAAG,YAAY,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Category, ProductType } from "../entities";
|
|
2
|
+
export interface ProductListSortQuery {
|
|
3
|
+
categoryId: Category["id"];
|
|
4
|
+
productTypeIds?: ProductType["id"][];
|
|
5
|
+
sortOption?: "score";
|
|
6
|
+
}
|
|
7
|
+
export interface ProductListSortResponse {
|
|
8
|
+
sortedProductTypeIds: ProductType["id"][];
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=productListSort.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productListSort.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/productListSort.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,oBAAyB;AAEzD,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAA;IAC1B,cAAc,CAAC,EAAE,WAAW,CAAC,IAAI,CAAC,EAAE,CAAA;IAEpC,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,uBAAuB;IACtC,oBAAoB,EAAE,WAAW,CAAC,IAAI,CAAC,EAAE,CAAA;CAC1C"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Money, IsoCurrency, ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { Category, ProductType } from "../entities";
|
|
3
|
+
export interface ProductPricePointListQuery extends ListQuery {
|
|
4
|
+
categoryId: Category["id"];
|
|
5
|
+
currency: IsoCurrency;
|
|
6
|
+
productTypeIds?: ProductType["id"][];
|
|
7
|
+
}
|
|
8
|
+
export declare type ProductPricePointListResponse = ListResponse<ProductPricePoint>;
|
|
9
|
+
interface ProductPricePoint {
|
|
10
|
+
productTypeId: ProductType["id"];
|
|
11
|
+
price: Money;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=productPricePointList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productPricePointList.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/productPricePointList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AACzE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AASnD,MAAM,WAAW,0BAA2B,SAAQ,SAAS;IAC3D,UAAU,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAA;IAC1B,QAAQ,EAAE,WAAW,CAAA;IACrB,cAAc,CAAC,EAAE,WAAW,CAAC,IAAI,CAAC,EAAE,CAAA;CACrC;AAED,oBAAY,6BAA6B,GAAG,YAAY,CAAC,iBAAiB,CAAC,CAAA;AAE3E,UAAU,iBAAiB;IACzB,aAAa,EAAE,WAAW,CAAC,IAAI,CAAC,CAAA;IAChC,KAAK,EAAE,KAAK,CAAA;CACb"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ListQuery, ListResponse, Money, ProductDocument, SearchSpecFilter, SpecAggregation } from "../builtins";
|
|
2
|
+
export interface ProductSearchListQuery extends ListQuery<Filters> {
|
|
3
|
+
search: string;
|
|
4
|
+
isStrict?: boolean;
|
|
5
|
+
platform?: "web" | "mobile";
|
|
6
|
+
source?: "app" | "extension";
|
|
7
|
+
contextUrl?: URL;
|
|
8
|
+
}
|
|
9
|
+
interface Filters {
|
|
10
|
+
minPrice?: Money;
|
|
11
|
+
maxPrice?: Money;
|
|
12
|
+
modifiers?: string[];
|
|
13
|
+
brands?: string[];
|
|
14
|
+
categories?: string[];
|
|
15
|
+
page?: number;
|
|
16
|
+
pageSize?: number;
|
|
17
|
+
specs?: SearchSpecFilter[];
|
|
18
|
+
}
|
|
19
|
+
export interface ProductSearchListResponse extends ListResponse<ProductDocument> {
|
|
20
|
+
budgetInfo: {
|
|
21
|
+
min: Money;
|
|
22
|
+
max: Money;
|
|
23
|
+
pricePoints: PricePoint[];
|
|
24
|
+
recommendedPrices: Money[];
|
|
25
|
+
} | null;
|
|
26
|
+
modifiers: string[];
|
|
27
|
+
brands: string[];
|
|
28
|
+
categories: string[];
|
|
29
|
+
hitCount: number;
|
|
30
|
+
isExact: boolean;
|
|
31
|
+
intents: SearchIntent[];
|
|
32
|
+
specs: SpecAggregation[];
|
|
33
|
+
}
|
|
34
|
+
interface PricePoint {
|
|
35
|
+
price: Money;
|
|
36
|
+
count: number;
|
|
37
|
+
}
|
|
38
|
+
declare type SearchIntent = "category" | "brand" | "modifiers";
|
|
39
|
+
export {};
|
|
40
|
+
//# sourceMappingURL=productSearchList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"productSearchList.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/productSearchList.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,YAAY,EACZ,KAAK,EACL,eAAe,EACf,gBAAgB,EAChB,eAAe,EAChB,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,sBAAuB,SAAQ,SAAS,CAAC,OAAO,CAAC;IAChE,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAA;IAC3B,MAAM,CAAC,EAAE,KAAK,GAAG,WAAW,CAAA;IAC5B,UAAU,CAAC,EAAE,GAAG,CAAA;CACjB;AAED,UAAU,OAAO;IACf,QAAQ,CAAC,EAAE,KAAK,CAAA;IAChB,QAAQ,CAAC,EAAE,KAAK,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;IACrB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,gBAAgB,EAAE,CAAA;CAC3B;AAED,MAAM,WAAW,yBAA0B,SAAQ,YAAY,CAAC,eAAe,CAAC;IAC9E,UAAU,EAAE;QACV,GAAG,EAAE,KAAK,CAAA;QACV,GAAG,EAAE,KAAK,CAAA;QACV,WAAW,EAAE,UAAU,EAAE,CAAA;QACzB,iBAAiB,EAAE,KAAK,EAAE,CAAA;KAC3B,GAAG,IAAI,CAAA;IACR,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB,UAAU,EAAE,MAAM,EAAE,CAAA;IACpB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,KAAK,EAAE,eAAe,EAAE,CAAA;CACzB;AAED,UAAU,UAAU;IAClB,KAAK,EAAE,KAAK,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CACd;AAED,aAAK,YAAY,GAAG,UAAU,GAAG,OAAO,GAAG,WAAW,CAAA"}
|