@noeldemartin/faker
Version:
Generate massive amounts of fake contextual data
38 lines (37 loc) • 1.11 kB
TypeScript
import type { LocaleEntry } from './definitions';
/**
* The possible definitions related to dates.
*/
export declare type DateDefinitions = LocaleEntry<{
/**
* The translations for months (January - December).
*/
month: DateEntryDefinition;
/**
* The translations for weekdays (Sunday - Saturday).
*/
weekday: DateEntryDefinition;
}>;
/**
* The possible definitions related to date entries.
*/
export interface DateEntryDefinition {
/**
* The long name of the entry.
*/
wide: string[];
/**
* The short name/abbreviation of the entry.
*/
abbr: string[];
/**
* The wide name of the entry when used in context. If absent wide will be used instead.
* It is used to specify a word in context, which may differ from a stand-alone word.
*/
wide_context?: string[];
/**
* The short name/abbreviation name of the entry when used in context. If absent abbr will be used instead.
* It is used to specify a word in context, which may differ from a stand-alone word.
*/
abbr_context?: string[];
}