The StellateService is used to purge the Stellate cache when certain events occur.
(options: StellatePluginOptions) => StellateService(products: Product[]) => Purges the cache for the given Products.
(productVariants: ProductVariant[]) => Purges the cache for the given ProductVariants.
(items: Array<ProductVariant | Product>) => Purges the cache for SearchResults which contain the given Products or ProductVariants.
(type: CachedType) => Purges the entire cache for the given type.
(collections: Collection[]) => Purges the cache for the given Collections.
(collections: Collection[]) => Purges the cache of SearchResults for the given Collections based on slug.
(type: CachedType, keys?: ID[], keyName: = 'id') => Purges the cache for the given type and keys.