@vendure/core
Version:
A modern, headless ecommerce framework
10 lines (9 loc) • 521 B
TypeScript
import { Country } from '../../../entity/region/country.entity';
import { LocaleStringHydrator } from '../../../service/helpers/locale-string-hydrator/locale-string-hydrator';
import { RequestContext } from '../../common/request-context';
export declare class CountryEntityResolver {
private localeStringHydrator;
constructor(localeStringHydrator: LocaleStringHydrator);
name(ctx: RequestContext, country: Country): Promise<string>;
languageCode(ctx: RequestContext, country: Country): Promise<string>;
}