UNPKG

@noeldemartin/faker

Version:

Generate massive amounts of fake contextual data

35 lines (34 loc) 885 B
import type { LocaleEntry } from './definitions'; /** * The possible definitions related to people's names. */ export declare type NameDefinitions = LocaleEntry<{ gender: string[]; sex: string[]; prefix?: string[]; female_prefix?: string[]; male_prefix?: string[]; first_name?: string[]; female_first_name?: string[]; male_first_name?: string[]; middle_name?: string[]; female_middle_name?: string[]; male_middle_name?: string[]; last_name?: string[]; female_last_name?: string[]; male_last_name?: string[]; suffix: string[]; /** * A list of patterns used to generate names. */ name: string[]; title: NameTitleDefinitions; }>; /** * The possible definitions related to people's titles. */ export interface NameTitleDefinitions { descriptor?: string[]; job: string[]; level?: string[]; }