@antv/data-wizard
Version:
A js/ts library for data processing
73 lines (72 loc) • 1.39 kB
TypeScript
/**
* TextRandom's database
* @public
*/
export interface TextDB {
character: {
lower: string;
upper: string;
number: string;
symbol: string;
};
cCharacter: {
chars: string;
};
syllable: {
consonants: string;
vowels: string;
};
sentence: {
punctuations: string;
};
hexs: string;
cGivenName: {
male: string;
female: string;
};
cSurname: string[];
givenName: {
male: string[];
female: string[];
};
surname: string[];
cZodiac: {
[lang: string]: string[];
};
}
export declare function getTextDB(): TextDB;
/**
* database for web generator
* @public
*/
export interface WebDB {
tld: string[];
}
export declare function getWebDB(): WebDB;
/**
* database for color generator
* @public
*/
export interface ColorDB {
colorKeywords: string[];
}
export declare function getColorDB(): ColorDB;
export declare function getDateTimeDB(): DateTimeDB;
/** @public database for DateTimeRandom */
export interface DateTimeDB {
weekday: {
[index: string]: any[][];
};
month: {
[index: string]: any[][];
};
}
/**
* Random’s database
* @public
*/
export declare type Database = TextDB & WebDB & ColorDB & DateTimeDB;
/**
* @public
*/
export declare function getAllDB(): Database;