@lustre/sdk 2.0.1-dev.3 → 2.0.1-dev.4
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/dist/api/FetchOptions.js +2 -2
- package/dist/api/QueryError.js +54 -54
- package/dist/api/QueryResolver.js +98 -98
- package/dist/api/WrappedQuery.js +2 -2
- package/dist/api/fast1a64utf.js +135 -135
- package/dist/api/fetchEntity.js +41 -41
- package/dist/api/fetchQuery.js +31 -31
- package/dist/api/getHash.js +27 -27
- package/dist/api/getQueryHash.js +9 -9
- package/dist/index.js +39 -39
- package/dist/schema/builtins.js +433 -433
- package/dist/schema/entities/alias.js +2 -2
- package/dist/schema/entities/brand.js +2 -2
- package/dist/schema/entities/category.js +2 -2
- package/dist/schema/entities/crawl.js +2 -2
- package/dist/schema/entities/index.js +29 -29
- package/dist/schema/entities/media.js +2 -2
- package/dist/schema/entities/offer.js +2 -2
- package/dist/schema/entities/productConfiguration.js +2 -2
- package/dist/schema/entities/productFamily.js +2 -2
- package/dist/schema/entities/productGeneration.js +2 -2
- package/dist/schema/entities/productType.js +2 -2
- package/dist/schema/entities/rating.js +2 -2
- package/dist/schema/entities/source.js +2 -2
- package/dist/schema/entities/spec.js +2 -2
- package/dist/schema/entities/specType.js +2 -2
- package/dist/schema/entities/specTypeChoice.js +2 -2
- package/dist/schema/entities/storePage.js +2 -2
- package/dist/schema/entities/storePageQueueGroup.js +2 -2
- package/dist/schema/entities/user.js +2 -2
- package/dist/schema/index.js +29 -29
- package/dist/schema/mutations/createBrand.js +2 -2
- package/dist/schema/mutations/createCategory.js +2 -2
- package/dist/schema/mutations/createProductConfiguration.js +2 -2
- package/dist/schema/mutations/createProductFamily.js +2 -2
- package/dist/schema/mutations/createProductGeneration.js +2 -2
- package/dist/schema/mutations/createProductType.js +2 -2
- package/dist/schema/mutations/createUser.js +2 -2
- package/dist/schema/mutations/storePageQueueClaimById.js +2 -2
- package/dist/schema/mutations/storePageQueueClaimNext.js +2 -2
- package/dist/schema/mutations/storePageQueueHandle.js +2 -2
- package/dist/schema/mutations/storePageQueueHandleStorePageIdSet.js +2 -2
- package/dist/schema/mutations/updateAlias.js +2 -2
- package/dist/schema/mutations/updateBrand.js +2 -2
- package/dist/schema/mutations/updateCategory.js +2 -2
- package/dist/schema/mutations/updateOffer.js +2 -2
- package/dist/schema/mutations/updateProductConfiguration.js +2 -2
- package/dist/schema/mutations/updateProductConfigurationProductType.js +2 -2
- package/dist/schema/mutations/updateProductFamily.js +2 -2
- package/dist/schema/mutations/updateProductFamilyBrand.js +2 -2
- package/dist/schema/mutations/updateProductGeneration.js +2 -2
- package/dist/schema/mutations/updateProductGenerationProductFamily.js +2 -2
- package/dist/schema/mutations/updateProductType.js +2 -2
- package/dist/schema/mutations/updateProductTypeProductGeneration.js +2 -2
- package/dist/schema/mutations/updateSource.js +2 -2
- package/dist/schema/mutations/updateStorePage.js +2 -2
- package/dist/schema/queries/affiliateUrl.js +2 -2
- package/dist/schema/queries/aliasIdListBySomeId.js +2 -2
- package/dist/schema/queries/analyticsTrack.js +2 -2
- package/dist/schema/queries/appliedCategoryIdListBySomeId.js +2 -2
- package/dist/schema/queries/baseScore.js +2 -2
- package/dist/schema/queries/baseScoreRatingIdList.js +2 -2
- package/dist/schema/queries/baseScoresByCategoryId.js +2 -2
- package/dist/schema/queries/bestInClass.js +2 -2
- package/dist/schema/queries/brandAliasResolution.js +2 -2
- package/dist/schema/queries/brandCategoryRankings.js +2 -2
- package/dist/schema/queries/brandIdBySomeId.js +2 -2
- package/dist/schema/queries/brandIdList.js +2 -2
- package/dist/schema/queries/brandIdListBySearch.js +2 -2
- package/dist/schema/queries/brandSocialMediaPostList.js +2 -2
- package/dist/schema/queries/categoryAliasResolution.js +2 -2
- package/dist/schema/queries/categoryDisplayMode.js +2 -2
- package/dist/schema/queries/categoryIdByUrlSlug.js +2 -2
- package/dist/schema/queries/categoryIdList.js +2 -2
- package/dist/schema/queries/categoryIdListBySomeId.js +2 -2
- package/dist/schema/queries/categoryIdListBySourceId.js +2 -2
- package/dist/schema/queries/categoryModifierSearchList.js +2 -2
- package/dist/schema/queries/categoryRankings.js +2 -2
- package/dist/schema/queries/categorySearchList.js +2 -2
- package/dist/schema/queries/categoryStatusList.js +2 -2
- package/dist/schema/queries/crawlIdList.js +2 -2
- package/dist/schema/queries/crawlIdListByUrl.js +2 -2
- package/dist/schema/queries/descriptionMarkdown.js +2 -2
- package/dist/schema/queries/entityType.js +2 -2
- package/dist/schema/queries/fallbackPriceByProductTypeId.js +2 -2
- package/dist/schema/queries/inputLayerVersion.js +2 -2
- package/dist/schema/queries/latestRatingIdList.js +2 -2
- package/dist/schema/queries/latestRatingIdListBySomeId.js +2 -2
- package/dist/schema/queries/mediaIdListBySomeId.js +2 -2
- package/dist/schema/queries/mlCategoryDisplayMode.js +2 -2
- package/dist/schema/queries/noteMarkdown.js +2 -2
- package/dist/schema/queries/offerIdListByStorePageId.js +2 -2
- package/dist/schema/queries/possibleAliasIdListBySomeId.js +2 -2
- package/dist/schema/queries/possibleStorePageIdListBySomeId.js +2 -2
- package/dist/schema/queries/preferredCategoryIdListByProductId.js +2 -2
- package/dist/schema/queries/preferredLatestRatingIdListBySomeId.js +2 -2
- package/dist/schema/queries/preferredStorePageList.js +2 -2
- package/dist/schema/queries/priceHistoryLookup.js +2 -2
- package/dist/schema/queries/pricePointCompetitors.js +2 -2
- package/dist/schema/queries/priceRangeByCategoryId.js +2 -2
- package/dist/schema/queries/productConfigurationIdListBySomeId.js +2 -2
- package/dist/schema/queries/productDealList.js +2 -2
- package/dist/schema/queries/productDocumentByStoreUrl.js +2 -2
- package/dist/schema/queries/productDocumentsByProductIds.js +2 -2
- package/dist/schema/queries/productFamilyIdBySomeId.js +2 -2
- package/dist/schema/queries/productFamilyIdListBySomeId.js +2 -2
- package/dist/schema/queries/productGenerationIdBySomeId.js +2 -2
- package/dist/schema/queries/productGenerationIdListBySomeId.js +2 -2
- package/dist/schema/queries/productListSort.js +2 -2
- package/dist/schema/queries/productPricePointList.js +2 -2
- package/dist/schema/queries/productSearchList.js +2 -2
- package/dist/schema/queries/productTypeIdBySomeId.js +2 -2
- package/dist/schema/queries/productTypeIdByStoreUrl.js +2 -2
- package/dist/schema/queries/productTypeIdListByCategoryId.js +2 -2
- package/dist/schema/queries/productTypeIdListByModifiers.js +2 -2
- package/dist/schema/queries/productTypeIdListBySomeId.js +2 -2
- package/dist/schema/queries/saleMetrics.js +2 -2
- package/dist/schema/queries/searchSuggestionList.js +2 -2
- package/dist/schema/queries/sectionDataByCrawlId.js +2 -2
- package/dist/schema/queries/sourceIdList.js +2 -2
- package/dist/schema/queries/specIdListBySomeId.js +2 -2
- package/dist/schema/queries/specTypeIdList.js +2 -2
- package/dist/schema/queries/specTypeValidValues.js +2 -2
- package/dist/schema/queries/specValueRangeListByCategoryId.js +2 -2
- package/dist/schema/queries/stablePriceByProductId.js +2 -2
- package/dist/schema/queries/stablePriceByProductIdAndStoreName.js +2 -2
- package/dist/schema/queries/stablePriceByStorePageId.js +2 -2
- package/dist/schema/queries/storePageFetchData.js +2 -2
- package/dist/schema/queries/storePageIdByUrl.js +2 -2
- package/dist/schema/queries/storePageIdListBySomeId.js +2 -2
- package/dist/schema/queries/storePageInfo.js +2 -2
- package/dist/schema/queries/storePageInfoBySku.js +2 -2
- package/dist/schema/queries/storePageScrapeData.js +2 -2
- package/dist/schema/queries/subCategoryIdListByCategoryId.js +2 -2
- package/dist/schema/queries/subsetModifierDataByModifiers.js +2 -2
- package/dist/schema/queries/topProductDocumentList.js +2 -2
- package/dist/schema/queries/unstableMediaIdListByCategoryId.js +2 -2
- package/dist/schema/queries/unstableSourceTrust.js +2 -2
- package/dist/schema/queries/userIdList.js +2 -2
- package/dist/schema/queries/userPermissionsByUserId.js +2 -2
- package/dist/schema/queries/userRestictedData.js +2 -2
- package/dist/schema/queries/userReviewAnalysis.js +2 -2
- package/dist/schema/queries/whoAmI.js +2 -2
- package/dist/schema/queries.js +2 -2
- package/dist/schema/responses.js +2 -2
- package/package.json +1 -1
- package/types/api/FetchOptions.d.ts +5 -5
- package/types/api/QueryError.d.ts +29 -29
- package/types/api/QueryResolver.d.ts +31 -31
- package/types/api/WrappedQuery.d.ts +8 -8
- package/types/api/fast1a64utf.d.ts +2 -2
- package/types/api/fetchEntity.d.ts +6 -6
- package/types/api/fetchQuery.d.ts +6 -6
- package/types/api/getHash.d.ts +6 -6
- package/types/api/getQueryHash.d.ts +2 -2
- package/types/index.d.ts +10 -10
- package/types/schema/builtins.d.ts +123 -123
- package/types/schema/entities/alias.d.ts +5 -5
- package/types/schema/entities/brand.d.ts +4 -4
- package/types/schema/entities/category.d.ts +6 -6
- package/types/schema/entities/crawl.d.ts +11 -11
- package/types/schema/entities/index.d.ts +17 -17
- package/types/schema/entities/media.d.ts +5 -5
- package/types/schema/entities/offer.d.ts +10 -10
- package/types/schema/entities/productConfiguration.d.ts +4 -4
- package/types/schema/entities/productFamily.d.ts +4 -4
- package/types/schema/entities/productGeneration.d.ts +4 -4
- package/types/schema/entities/productType.d.ts +4 -4
- package/types/schema/entities/rating.d.ts +52 -52
- package/types/schema/entities/source.d.ts +7 -7
- package/types/schema/entities/spec.d.ts +21 -21
- package/types/schema/entities/specType.d.ts +5 -5
- package/types/schema/entities/specTypeChoice.d.ts +6 -6
- package/types/schema/entities/storePage.d.ts +7 -7
- package/types/schema/entities/storePageQueueGroup.d.ts +5 -5
- package/types/schema/entities/user.d.ts +4 -4
- package/types/schema/index.d.ts +259 -261
- package/types/schema/index.d.ts.map +1 -1
- package/types/schema/mutations/createBrand.d.ts +8 -8
- package/types/schema/mutations/createCategory.d.ts +8 -8
- package/types/schema/mutations/createProductConfiguration.d.ts +9 -9
- package/types/schema/mutations/createProductFamily.d.ts +9 -9
- package/types/schema/mutations/createProductGeneration.d.ts +9 -9
- package/types/schema/mutations/createProductType.d.ts +9 -9
- package/types/schema/mutations/createUser.d.ts +9 -9
- package/types/schema/mutations/storePageQueueClaimById.d.ts +16 -16
- package/types/schema/mutations/storePageQueueClaimNext.d.ts +14 -14
- package/types/schema/mutations/storePageQueueHandle.d.ts +14 -14
- package/types/schema/mutations/storePageQueueHandleStorePageIdSet.d.ts +14 -14
- package/types/schema/mutations/updateAlias.d.ts +7 -7
- package/types/schema/mutations/updateBrand.d.ts +7 -7
- package/types/schema/mutations/updateCategory.d.ts +9 -9
- package/types/schema/mutations/updateOffer.d.ts +7 -7
- package/types/schema/mutations/updateProductConfiguration.d.ts +7 -7
- package/types/schema/mutations/updateProductConfigurationProductType.d.ts +7 -7
- package/types/schema/mutations/updateProductFamily.d.ts +7 -7
- package/types/schema/mutations/updateProductFamilyBrand.d.ts +7 -7
- package/types/schema/mutations/updateProductGeneration.d.ts +7 -7
- package/types/schema/mutations/updateProductGenerationProductFamily.d.ts +7 -7
- package/types/schema/mutations/updateProductType.d.ts +7 -7
- package/types/schema/mutations/updateProductTypeProductGeneration.d.ts +7 -7
- package/types/schema/mutations/updateSource.d.ts +9 -9
- package/types/schema/mutations/updateStorePage.d.ts +7 -7
- package/types/schema/queries/affiliateUrl.d.ts +11 -11
- package/types/schema/queries/aliasIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/analyticsTrack.d.ts +5 -5
- package/types/schema/queries/appliedCategoryIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/baseScore.d.ts +8 -8
- package/types/schema/queries/baseScoreRatingIdList.d.ts +7 -7
- package/types/schema/queries/baseScoresByCategoryId.d.ts +11 -11
- package/types/schema/queries/bestInClass.d.ts +19 -19
- package/types/schema/queries/brandAliasResolution.d.ts +10 -10
- package/types/schema/queries/brandCategoryRankings.d.ts +36 -29
- package/types/schema/queries/brandCategoryRankings.d.ts.map +1 -1
- package/types/schema/queries/brandIdBySomeId.d.ts +5 -5
- package/types/schema/queries/brandIdList.d.ts +8 -8
- package/types/schema/queries/brandIdListBySearch.d.ts +6 -6
- package/types/schema/queries/brandSocialMediaPostList.d.ts +21 -21
- package/types/schema/queries/categoryAliasResolution.d.ts +12 -12
- package/types/schema/queries/categoryDisplayMode.d.ts +10 -10
- package/types/schema/queries/categoryIdByUrlSlug.d.ts +5 -5
- package/types/schema/queries/categoryIdList.d.ts +8 -8
- package/types/schema/queries/categoryIdListBySomeId.d.ts +10 -10
- package/types/schema/queries/categoryIdListBySourceId.d.ts +6 -6
- package/types/schema/queries/categoryModifierSearchList.d.ts +21 -21
- package/types/schema/queries/categoryRankings.d.ts +13 -13
- package/types/schema/queries/categorySearchList.d.ts +16 -16
- package/types/schema/queries/categoryStatusList.d.ts +9 -9
- package/types/schema/queries/crawlIdList.d.ts +11 -11
- package/types/schema/queries/crawlIdListByUrl.d.ts +6 -6
- package/types/schema/queries/descriptionMarkdown.d.ts +5 -5
- package/types/schema/queries/entityType.d.ts +54 -54
- package/types/schema/queries/fallbackPriceByProductTypeId.d.ts +6 -6
- package/types/schema/queries/inputLayerVersion.d.ts +5 -5
- package/types/schema/queries/latestRatingIdList.d.ts +6 -6
- package/types/schema/queries/latestRatingIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/mediaIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/mlCategoryDisplayMode.d.ts +8 -8
- package/types/schema/queries/noteMarkdown.d.ts +5 -5
- package/types/schema/queries/offerIdListByStorePageId.d.ts +12 -12
- package/types/schema/queries/possibleAliasIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/possibleStorePageIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/preferredCategoryIdListByProductId.d.ts +6 -6
- package/types/schema/queries/preferredLatestRatingIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/preferredStorePageList.d.ts +11 -11
- package/types/schema/queries/priceHistoryLookup.d.ts +16 -16
- package/types/schema/queries/pricePointCompetitors.d.ts +16 -16
- package/types/schema/queries/priceRangeByCategoryId.d.ts +10 -10
- package/types/schema/queries/productConfigurationIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/productDealList.d.ts +13 -13
- package/types/schema/queries/productDocumentByStoreUrl.d.ts +7 -7
- package/types/schema/queries/productDocumentsByProductIds.d.ts +6 -6
- package/types/schema/queries/productFamilyIdBySomeId.d.ts +5 -5
- package/types/schema/queries/productFamilyIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/productGenerationIdBySomeId.d.ts +5 -5
- package/types/schema/queries/productGenerationIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/productListSort.d.ts +9 -9
- package/types/schema/queries/productPricePointList.d.ts +13 -13
- package/types/schema/queries/productSearchList.d.ts +39 -39
- package/types/schema/queries/productTypeIdBySomeId.d.ts +5 -5
- package/types/schema/queries/productTypeIdByStoreUrl.d.ts +6 -6
- package/types/schema/queries/productTypeIdListByCategoryId.d.ts +10 -10
- package/types/schema/queries/productTypeIdListByModifiers.d.ts +7 -7
- package/types/schema/queries/productTypeIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/saleMetrics.d.ts +8 -8
- package/types/schema/queries/searchSuggestionList.d.ts +9 -9
- package/types/schema/queries/sectionDataByCrawlId.d.ts +19 -19
- package/types/schema/queries/sourceIdList.d.ts +4 -4
- package/types/schema/queries/specIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/specTypeIdList.d.ts +12 -12
- package/types/schema/queries/specTypeValidValues.d.ts +15 -15
- package/types/schema/queries/specValueRangeListByCategoryId.d.ts +36 -36
- package/types/schema/queries/stablePriceByProductId.d.ts +6 -6
- package/types/schema/queries/stablePriceByProductIdAndStoreName.d.ts +7 -7
- package/types/schema/queries/stablePriceByStorePageId.d.ts +6 -6
- package/types/schema/queries/storePageFetchData.d.ts +12 -12
- package/types/schema/queries/storePageIdByUrl.d.ts +6 -6
- package/types/schema/queries/storePageIdListBySomeId.d.ts +6 -6
- package/types/schema/queries/storePageInfo.d.ts +11 -11
- package/types/schema/queries/storePageInfoBySku.d.ts +20 -20
- package/types/schema/queries/storePageScrapeData.d.ts +9 -9
- package/types/schema/queries/subCategoryIdListByCategoryId.d.ts +6 -6
- package/types/schema/queries/subsetModifierDataByModifiers.d.ts +12 -12
- package/types/schema/queries/topProductDocumentList.d.ts +8 -8
- package/types/schema/queries/unstableMediaIdListByCategoryId.d.ts +6 -6
- package/types/schema/queries/unstableSourceTrust.d.ts +9 -9
- package/types/schema/queries/userIdList.d.ts +4 -4
- package/types/schema/queries/userPermissionsByUserId.d.ts +7 -7
- package/types/schema/queries/userRestictedData.d.ts +10 -10
- package/types/schema/queries/userReviewAnalysis.d.ts +37 -37
- package/types/schema/queries/whoAmI.d.ts +5 -5
- package/types/schema/queries.d.ts +82 -83
- package/types/schema/queries.d.ts.map +1 -1
- package/types/schema/responses.d.ts +82 -83
- package/types/schema/responses.d.ts.map +1 -1
- package/dist/schema/queries/competitorsAnalysis.js +0 -3
- package/dist/schema/queries/competitorsAnalysis.js.map +0 -1
- package/types/schema/queries/competitorsAnalysis.d.ts +0 -35
- package/types/schema/queries/competitorsAnalysis.d.ts.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Category, ProductType } from "../entities";
|
|
2
|
-
export interface BaseScoresByCategoryIdQuery {
|
|
3
|
-
categoryId: Category["id"];
|
|
4
|
-
productTypeIds?: ProductType["id"][];
|
|
5
|
-
}
|
|
6
|
-
export declare type BaseScoresByCategoryIdResponse = BaseScoreInfo[];
|
|
7
|
-
interface BaseScoreInfo {
|
|
8
|
-
productTypeId: ProductType["id"];
|
|
9
|
-
baseScore: number;
|
|
10
|
-
}
|
|
11
|
-
export {};
|
|
1
|
+
import { Category, ProductType } from "../entities";
|
|
2
|
+
export interface BaseScoresByCategoryIdQuery {
|
|
3
|
+
categoryId: Category["id"];
|
|
4
|
+
productTypeIds?: ProductType["id"][];
|
|
5
|
+
}
|
|
6
|
+
export declare type BaseScoresByCategoryIdResponse = BaseScoreInfo[];
|
|
7
|
+
interface BaseScoreInfo {
|
|
8
|
+
productTypeId: ProductType["id"];
|
|
9
|
+
baseScore: number;
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
12
12
|
//# sourceMappingURL=baseScoresByCategoryId.d.ts.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { ArraySorted, Money } from "../builtins";
|
|
2
|
-
import { Category, ProductType } from "../entities";
|
|
3
|
-
export interface BestInClassQuery {
|
|
4
|
-
categoryId: Category["id"];
|
|
5
|
-
productTypeIds?: ProductType["id"][];
|
|
6
|
-
}
|
|
7
|
-
export interface BestInClassResponse {
|
|
8
|
-
bestInClassAwards: BestInClassAward[];
|
|
9
|
-
bucketWinners: ArraySorted<BucketWinner>;
|
|
10
|
-
}
|
|
11
|
-
interface BestInClassAward {
|
|
12
|
-
productTypeId: ProductType["id"];
|
|
13
|
-
referencePrice: Money;
|
|
14
|
-
}
|
|
15
|
-
interface BucketWinner {
|
|
16
|
-
productTypeId: ProductType["id"];
|
|
17
|
-
referencePrice: Money;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
1
|
+
import { ArraySorted, Money } from "../builtins";
|
|
2
|
+
import { Category, ProductType } from "../entities";
|
|
3
|
+
export interface BestInClassQuery {
|
|
4
|
+
categoryId: Category["id"];
|
|
5
|
+
productTypeIds?: ProductType["id"][];
|
|
6
|
+
}
|
|
7
|
+
export interface BestInClassResponse {
|
|
8
|
+
bestInClassAwards: BestInClassAward[];
|
|
9
|
+
bucketWinners: ArraySorted<BucketWinner>;
|
|
10
|
+
}
|
|
11
|
+
interface BestInClassAward {
|
|
12
|
+
productTypeId: ProductType["id"];
|
|
13
|
+
referencePrice: Money;
|
|
14
|
+
}
|
|
15
|
+
interface BucketWinner {
|
|
16
|
+
productTypeId: ProductType["id"];
|
|
17
|
+
referencePrice: Money;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
20
20
|
//# sourceMappingURL=bestInClass.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export interface BrandAliasResolutionQuery {
|
|
2
|
-
brandSearch: string;
|
|
3
|
-
}
|
|
4
|
-
export declare type BrandAliasResolutionResponse = {
|
|
5
|
-
brandId: string;
|
|
6
|
-
brandName: string;
|
|
7
|
-
} | {
|
|
8
|
-
brandId: null;
|
|
9
|
-
brandName: null;
|
|
10
|
-
};
|
|
1
|
+
export interface BrandAliasResolutionQuery {
|
|
2
|
+
brandSearch: string;
|
|
3
|
+
}
|
|
4
|
+
export declare type BrandAliasResolutionResponse = {
|
|
5
|
+
brandId: string;
|
|
6
|
+
brandName: string;
|
|
7
|
+
} | {
|
|
8
|
+
brandId: null;
|
|
9
|
+
brandName: null;
|
|
10
|
+
};
|
|
11
11
|
//# sourceMappingURL=brandAliasResolution.d.ts.map
|
|
@@ -1,30 +1,37 @@
|
|
|
1
|
-
import { BadgeStates } from "../builtins";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
1
|
+
import { BadgeStates } from "../builtins";
|
|
2
|
+
interface CategoryScores {
|
|
3
|
+
vcs: number | null;
|
|
4
|
+
rcs: number | null;
|
|
5
|
+
ecs: number | null;
|
|
6
|
+
}
|
|
7
|
+
export interface BrandCategoryRankingsQuery {
|
|
8
|
+
brandId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface BrandCategoryRankingsResponse {
|
|
11
|
+
brandId: string | null;
|
|
12
|
+
brandName: string | null;
|
|
13
|
+
badge: BadgeStates;
|
|
14
|
+
scores: {
|
|
15
|
+
vbs: number | null;
|
|
16
|
+
rbs: number | null;
|
|
17
|
+
ebs: number | null;
|
|
18
|
+
};
|
|
19
|
+
categoryRankings: {
|
|
20
|
+
categoryId: string;
|
|
21
|
+
categoryName: string;
|
|
22
|
+
scores: CategoryScores;
|
|
23
|
+
positions: {
|
|
24
|
+
vcsPosition: number | null;
|
|
25
|
+
rcsPosition: number | null;
|
|
26
|
+
ecsPosition: number | null;
|
|
27
|
+
};
|
|
28
|
+
topBrands: {
|
|
29
|
+
brandId: string;
|
|
30
|
+
brandName: string;
|
|
31
|
+
scores: CategoryScores;
|
|
32
|
+
}[];
|
|
33
|
+
total: number;
|
|
34
|
+
}[];
|
|
35
|
+
}
|
|
36
|
+
export {};
|
|
30
37
|
//# sourceMappingURL=brandCategoryRankings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"brandCategoryRankings.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/brandCategoryRankings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,oBAAyB;AAE/C,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,KAAK,EAAE,WAAW,CAAA;IAClB,MAAM,EAAE;QACN,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;QAClB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;QAClB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;KACnB,CAAA;IACD,gBAAgB,EAAE;QAChB,UAAU,EAAE,MAAM,CAAA;QAClB,YAAY,EAAE,MAAM,CAAA;QACpB,MAAM,EAAE;
|
|
1
|
+
{"version":3,"file":"brandCategoryRankings.d.ts","sourceRoot":"","sources":["../../../src/schema/queries/brandCategoryRankings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,oBAAyB;AAE/C,UAAU,cAAc;IACtB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;IAClB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;IAClB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;CACnB;AAED,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,6BAA6B;IAC5C,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,KAAK,EAAE,WAAW,CAAA;IAClB,MAAM,EAAE;QACN,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;QAClB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;QAClB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;KACnB,CAAA;IACD,gBAAgB,EAAE;QAChB,UAAU,EAAE,MAAM,CAAA;QAClB,YAAY,EAAE,MAAM,CAAA;QACpB,MAAM,EAAE,cAAc,CAAA;QACtB,SAAS,EAAE;YACT,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;YAC1B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;YAC1B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;SAC3B,CAAA;QACD,SAAS,EAAE;YACT,OAAO,EAAE,MAAM,CAAA;YACf,SAAS,EAAE,MAAM,CAAA;YACjB,MAAM,EAAE,cAAc,CAAA;SACvB,EAAE,CAAA;QACH,KAAK,EAAE,MAAM,CAAA;KACd,EAAE,CAAA;CACJ"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Brand, ProductFamily } from "../entities";
|
|
2
|
-
export interface BrandIdBySomeIdQuery {
|
|
3
|
-
someId: ProductFamily["id"];
|
|
4
|
-
}
|
|
5
|
-
export declare type BrandIdBySomeIdResponse = Brand["id"];
|
|
1
|
+
import { Brand, ProductFamily } from "../entities";
|
|
2
|
+
export interface BrandIdBySomeIdQuery {
|
|
3
|
+
someId: ProductFamily["id"];
|
|
4
|
+
}
|
|
5
|
+
export declare type BrandIdBySomeIdResponse = Brand["id"];
|
|
6
6
|
//# sourceMappingURL=brandIdBySomeId.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
-
import { Brand, Category } from "../entities";
|
|
3
|
-
export declare type BrandIdListQuery = ListQuery<Filters>;
|
|
4
|
-
export declare type BrandIdListResponse = ListResponse<Brand["id"]>;
|
|
5
|
-
interface Filters {
|
|
6
|
-
categoryId?: Category["id"];
|
|
7
|
-
}
|
|
8
|
-
export {};
|
|
1
|
+
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { Brand, Category } from "../entities";
|
|
3
|
+
export declare type BrandIdListQuery = ListQuery<Filters>;
|
|
4
|
+
export declare type BrandIdListResponse = ListResponse<Brand["id"]>;
|
|
5
|
+
interface Filters {
|
|
6
|
+
categoryId?: Category["id"];
|
|
7
|
+
}
|
|
8
|
+
export {};
|
|
9
9
|
//# sourceMappingURL=brandIdList.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ListQuery, SortedListResponse } from "../builtins";
|
|
2
|
-
import { Brand } from "../entities";
|
|
3
|
-
export interface BrandIdListBySearchQuery extends ListQuery {
|
|
4
|
-
search: string;
|
|
5
|
-
}
|
|
6
|
-
export declare type BrandIdListBySearchResponse = SortedListResponse<Brand["id"]>;
|
|
1
|
+
import { ListQuery, SortedListResponse } from "../builtins";
|
|
2
|
+
import { Brand } from "../entities";
|
|
3
|
+
export interface BrandIdListBySearchQuery extends ListQuery {
|
|
4
|
+
search: string;
|
|
5
|
+
}
|
|
6
|
+
export declare type BrandIdListBySearchResponse = SortedListResponse<Brand["id"]>;
|
|
7
7
|
//# sourceMappingURL=brandIdListBySearch.d.ts.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { Timestamp, Url } from "../builtins";
|
|
2
|
-
export interface BrandSocialMediaPostListQuery {
|
|
3
|
-
brandId: string;
|
|
4
|
-
categoryId: string | null;
|
|
5
|
-
}
|
|
6
|
-
export interface BrandSocialMediaPostListResponse {
|
|
7
|
-
results: {
|
|
8
|
-
network: "reddit";
|
|
9
|
-
url: Url;
|
|
10
|
-
body: string;
|
|
11
|
-
brandAliases: string[];
|
|
12
|
-
categoryAliases: string[];
|
|
13
|
-
parentTitle: string | null;
|
|
14
|
-
score: number | null;
|
|
15
|
-
community: string | null;
|
|
16
|
-
sentiment: 0 | 1 | 2 | 3 | 4;
|
|
17
|
-
updatedAt: Timestamp | null;
|
|
18
|
-
publishedAt: Timestamp | null;
|
|
19
|
-
accessedAt: Timestamp | null;
|
|
20
|
-
}[];
|
|
21
|
-
}
|
|
1
|
+
import { Timestamp, Url } from "../builtins";
|
|
2
|
+
export interface BrandSocialMediaPostListQuery {
|
|
3
|
+
brandId: string;
|
|
4
|
+
categoryId: string | null;
|
|
5
|
+
}
|
|
6
|
+
export interface BrandSocialMediaPostListResponse {
|
|
7
|
+
results: {
|
|
8
|
+
network: "reddit";
|
|
9
|
+
url: Url;
|
|
10
|
+
body: string;
|
|
11
|
+
brandAliases: string[];
|
|
12
|
+
categoryAliases: string[];
|
|
13
|
+
parentTitle: string | null;
|
|
14
|
+
score: number | null;
|
|
15
|
+
community: string | null;
|
|
16
|
+
sentiment: 0 | 1 | 2 | 3 | 4;
|
|
17
|
+
updatedAt: Timestamp | null;
|
|
18
|
+
publishedAt: Timestamp | null;
|
|
19
|
+
accessedAt: Timestamp | null;
|
|
20
|
+
}[];
|
|
21
|
+
}
|
|
22
22
|
//# sourceMappingURL=brandSocialMediaPostList.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export interface CategoryAliasResolutionQuery {
|
|
2
|
-
categorySearches: string[];
|
|
3
|
-
storeHost: string;
|
|
4
|
-
brandSearch?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare type CategoryAliasResolutionResponse = {
|
|
7
|
-
categoryId: string;
|
|
8
|
-
categoryName: string;
|
|
9
|
-
} | {
|
|
10
|
-
categoryId: null;
|
|
11
|
-
categoryName: null;
|
|
12
|
-
};
|
|
1
|
+
export interface CategoryAliasResolutionQuery {
|
|
2
|
+
categorySearches: string[];
|
|
3
|
+
storeHost: string;
|
|
4
|
+
brandSearch?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare type CategoryAliasResolutionResponse = {
|
|
7
|
+
categoryId: string;
|
|
8
|
+
categoryName: string;
|
|
9
|
+
} | {
|
|
10
|
+
categoryId: null;
|
|
11
|
+
categoryName: null;
|
|
12
|
+
};
|
|
13
13
|
//# sourceMappingURL=categoryAliasResolution.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Category } from "../entities";
|
|
2
|
-
import { DisplayMode, DisplayModeWithDefault, SearchDisplayMode } from "../builtins";
|
|
3
|
-
export interface CategoryDisplayModeQuery {
|
|
4
|
-
categoryId: Category["id"];
|
|
5
|
-
}
|
|
6
|
-
export interface CategoryDisplayModeResponse {
|
|
7
|
-
ml: DisplayMode;
|
|
8
|
-
override: DisplayModeWithDefault;
|
|
9
|
-
searchDisplayMode: SearchDisplayMode;
|
|
10
|
-
}
|
|
1
|
+
import { Category } from "../entities";
|
|
2
|
+
import { DisplayMode, DisplayModeWithDefault, SearchDisplayMode } from "../builtins";
|
|
3
|
+
export interface CategoryDisplayModeQuery {
|
|
4
|
+
categoryId: Category["id"];
|
|
5
|
+
}
|
|
6
|
+
export interface CategoryDisplayModeResponse {
|
|
7
|
+
ml: DisplayMode;
|
|
8
|
+
override: DisplayModeWithDefault;
|
|
9
|
+
searchDisplayMode: SearchDisplayMode;
|
|
10
|
+
}
|
|
11
11
|
//# sourceMappingURL=categoryDisplayMode.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Category } from "../entities";
|
|
2
|
-
export interface CategoryIdByUrlSlugQuery {
|
|
3
|
-
urlSlug: string;
|
|
4
|
-
}
|
|
5
|
-
export declare type CategoryIdByUrlSlugResponse = Category["id"];
|
|
1
|
+
import { Category } from "../entities";
|
|
2
|
+
export interface CategoryIdByUrlSlugQuery {
|
|
3
|
+
urlSlug: string;
|
|
4
|
+
}
|
|
5
|
+
export declare type CategoryIdByUrlSlugResponse = Category["id"];
|
|
6
6
|
//# sourceMappingURL=categoryIdByUrlSlug.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
-
import { Category } from "../entities";
|
|
3
|
-
export declare type CategoryIdListQuery = ListQuery<Filters>;
|
|
4
|
-
export declare type CategoryIdListResponse = ListResponse<Category["id"]>;
|
|
5
|
-
interface Filters {
|
|
6
|
-
isReady?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export {};
|
|
1
|
+
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { Category } from "../entities";
|
|
3
|
+
export declare type CategoryIdListQuery = ListQuery<Filters>;
|
|
4
|
+
export declare type CategoryIdListResponse = ListResponse<Category["id"]>;
|
|
5
|
+
interface Filters {
|
|
6
|
+
isReady?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export {};
|
|
9
9
|
//# sourceMappingURL=categoryIdList.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
-
import { ProductFamily } from "../entities/productFamily";
|
|
3
|
-
import { ProductGeneration } from "../entities/productGeneration";
|
|
4
|
-
import { ProductType } from "../entities/productType";
|
|
5
|
-
import { SpecType } from "../entities/specType";
|
|
6
|
-
import { Category } from "../entities/category";
|
|
7
|
-
export interface CategoryIdListBySomeIdQuery extends ListQuery {
|
|
8
|
-
someId: ProductFamily["id"] | ProductGeneration["id"] | ProductType["id"] | SpecType["id"];
|
|
9
|
-
}
|
|
10
|
-
export declare type CategoryIdListBySomeIdResponse = ListResponse<Category["id"]>;
|
|
1
|
+
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { ProductFamily } from "../entities/productFamily";
|
|
3
|
+
import { ProductGeneration } from "../entities/productGeneration";
|
|
4
|
+
import { ProductType } from "../entities/productType";
|
|
5
|
+
import { SpecType } from "../entities/specType";
|
|
6
|
+
import { Category } from "../entities/category";
|
|
7
|
+
export interface CategoryIdListBySomeIdQuery extends ListQuery {
|
|
8
|
+
someId: ProductFamily["id"] | ProductGeneration["id"] | ProductType["id"] | SpecType["id"];
|
|
9
|
+
}
|
|
10
|
+
export declare type CategoryIdListBySomeIdResponse = ListResponse<Category["id"]>;
|
|
11
11
|
//# sourceMappingURL=categoryIdListBySomeId.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
-
import { Category, Source } from "../entities";
|
|
3
|
-
export interface CategoryIdListBySourceIdQuery extends ListQuery {
|
|
4
|
-
sourceId: Source["id"];
|
|
5
|
-
}
|
|
6
|
-
export declare type CategoryIdListBySourceIdResponse = ListResponse<Category["id"]>;
|
|
1
|
+
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { Category, Source } from "../entities";
|
|
3
|
+
export interface CategoryIdListBySourceIdQuery extends ListQuery {
|
|
4
|
+
sourceId: Source["id"];
|
|
5
|
+
}
|
|
6
|
+
export declare type CategoryIdListBySourceIdResponse = ListResponse<Category["id"]>;
|
|
7
7
|
//# sourceMappingURL=categoryIdListBySourceId.d.ts.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
-
import { Category } from "../entities";
|
|
3
|
-
export interface CategoryModifierSearchListQuery extends ListQuery {
|
|
4
|
-
search: string;
|
|
5
|
-
}
|
|
6
|
-
export declare type CategoryModifierSearchListResponse = ListResponse<SearchResult>;
|
|
7
|
-
interface SearchResult {
|
|
8
|
-
categoryMatch: CategoryMatch;
|
|
9
|
-
modifierMatches: ModifierMatch[];
|
|
10
|
-
isExact?: boolean;
|
|
11
|
-
}
|
|
12
|
-
interface CategoryMatch {
|
|
13
|
-
categoryId: Category["id"];
|
|
14
|
-
categoryName: string;
|
|
15
|
-
highlight: string;
|
|
16
|
-
}
|
|
17
|
-
interface ModifierMatch {
|
|
18
|
-
modifier: string;
|
|
19
|
-
highlight: string;
|
|
20
|
-
}
|
|
21
|
-
export {};
|
|
1
|
+
import { ListQuery, ListResponse } from "../builtins";
|
|
2
|
+
import { Category } from "../entities";
|
|
3
|
+
export interface CategoryModifierSearchListQuery extends ListQuery {
|
|
4
|
+
search: string;
|
|
5
|
+
}
|
|
6
|
+
export declare type CategoryModifierSearchListResponse = ListResponse<SearchResult>;
|
|
7
|
+
interface SearchResult {
|
|
8
|
+
categoryMatch: CategoryMatch;
|
|
9
|
+
modifierMatches: ModifierMatch[];
|
|
10
|
+
isExact?: boolean;
|
|
11
|
+
}
|
|
12
|
+
interface CategoryMatch {
|
|
13
|
+
categoryId: Category["id"];
|
|
14
|
+
categoryName: string;
|
|
15
|
+
highlight: string;
|
|
16
|
+
}
|
|
17
|
+
interface ModifierMatch {
|
|
18
|
+
modifier: string;
|
|
19
|
+
highlight: string;
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
22
22
|
//# sourceMappingURL=categoryModifierSearchList.d.ts.map
|
|
@@ -1,14 +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 {};
|
|
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
14
|
//# sourceMappingURL=categoryRankings.d.ts.map
|
|
@@ -1,17 +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 {};
|
|
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
17
|
//# sourceMappingURL=categorySearchList.d.ts.map
|
|
@@ -1,10 +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
|
-
}
|
|
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
10
|
//# sourceMappingURL=categoryStatusList.d.ts.map
|
|
@@ -1,12 +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 {};
|
|
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
12
|
//# sourceMappingURL=crawlIdList.d.ts.map
|
|
@@ -1,7 +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"]>;
|
|
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
7
|
//# sourceMappingURL=crawlIdListByUrl.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AnyId } from "../builtins";
|
|
2
|
-
export interface DescriptionMarkdownQuery {
|
|
3
|
-
anyId: AnyId;
|
|
4
|
-
}
|
|
5
|
-
export declare type DescriptionMarkdownResponse = string;
|
|
1
|
+
import { AnyId } from "../builtins";
|
|
2
|
+
export interface DescriptionMarkdownQuery {
|
|
3
|
+
anyId: AnyId;
|
|
4
|
+
}
|
|
5
|
+
export declare type DescriptionMarkdownResponse = string;
|
|
6
6
|
//# sourceMappingURL=descriptionMarkdown.d.ts.map
|