@etsoo/smarterp-core
Version:
TypeScript APIs for SmartERP Core
39 lines (38 loc) • 623 B
TypeScript
export declare enum PinyinFormatType {
/**
* Full Pinyin without tone
* 不带声调的全拼
*/
Full = 0,
/**
* Initial letter
* 首字母
*/
Initial = 1,
/**
* Full Pinyin with tone
* 带声调的全拼
*/
Tone = 2
}
/**
* Get Pinyin request data
* 获取拼音请求数据
*/
export type PinyinRQ = {
/**
* Input string
* 输入的字符串
*/
input: string;
/**
* Return format
* 返回格式
*/
format: PinyinFormatType;
/**
* Is name
* 是否为姓名
*/
isName?: boolean;
};