flomo-terminal
Version:
terminal program for flomo
35 lines (34 loc) • 983 B
TypeScript
declare type messageType = 'success' | 'warning' | 'error' | 'info';
export declare const terminal: {
type: string;
name: string;
message: string;
validate: (s: string) => true | "内容不能为空!";
}[];
export declare const editor: {
type: string;
name: string;
message: string;
validate: (s: string) => true | "内容不能为空!";
}[];
export declare const apiPrompt: {
type: string;
name: string;
message: string;
validate: (s: string) => true | "内容不能为空!";
}[];
export declare const editType: {
type: string;
name: string;
message: string;
validate: (s: string) => true | "内容不能为空!";
}[][];
export declare const editTypeInformation: string[];
export declare const editorPrompt: {
type: string;
name: string;
message: string;
choices: string[];
}[];
export declare const print: (msg: string, type: messageType) => void;
export {};