UNPKG

@lark-project/cli

Version:

飞书项目插件开发工具

20 lines (19 loc) 619 B
export declare function fetchAndCacheSchema(): Promise<Record<string, any>>; export declare function validatePointConfig(config: any): Promise<{ valid: boolean; errors?: string[]; }>; export declare function getPointSchema(): Promise<Record<string, any>>; export interface ValidationResult { valid: boolean; errors?: string[]; } export interface FormattedValidationError { path: string; message: string; } export declare function formatValidationErrors(result: ValidationResult, format: 'text' | 'json'): { stdout: string; structured: FormattedValidationError[]; lines: string[]; };