Contains methods relating to FacetValue entities.
(lang: LanguageCode) => Promise<Array<Translated<FacetValue>>>(ctx: RequestContext, lang: LanguageCode) => Promise<Array<Translated<FacetValue>>>(ctxOrLang: RequestContext | LanguageCode, lang?: LanguageCode) => Promise<Array<Translated<FacetValue>>>(ctx: RequestContext, options?: ListQueryOptions<FacetValue>, relations?: RelationPaths<FacetValue>) => Promise<PaginatedList<Translated<FacetValue>>>Returns a PaginatedList of FacetValues.
TODO: in v2 this should replace the findAll() method.
A separate method was created just to avoid a breaking change in v1.9.
(ctx: RequestContext, id: ID) => Promise<Translated<FacetValue> | undefined>(ctx: RequestContext, ids: ID[]) => Promise<Array<Translated<FacetValue>>>(ctx: RequestContext, id: ID) => Promise<Array<Translated<FacetValue>>>Returns all FacetValues belonging to the Facet with the given id.
(ctx: RequestContext, id: ID, options?: ListQueryOptions<FacetValue>, relations?: RelationPaths<FacetValue>) => Promise<PaginatedList<Translated<FacetValue>>>Returns all FacetValues belonging to the Facet with the given id.
(ctx: RequestContext, facet: Facet, input: CreateFacetValueInput | CreateFacetValueWithFacetInput) => Promise<Translated<FacetValue>>(ctx: RequestContext, input: UpdateFacetValueInput) => Promise<Translated<FacetValue>>(ctx: RequestContext, id: ID, force: boolean = false) => Promise<DeletionResponse>(ctx: RequestContext, facetValueIds: ID[], channelId?: ID) => Promise<{ productCount: number; variantCount: number }>Checks for usage of the given FacetValues in any Products or Variants, and returns the counts.