@ywfe/cli
Version:
遥望前端开发命令行工具
41 lines (40 loc) • 1.14 kB
TypeScript
export declare const handleApiUrl: (config?: {
dpsEnv: string;
}) => string;
interface IPageInfo {
data: {
detail: {
change_id: number;
iteration_id: number;
branch_name: string;
app_name: string;
};
pages: {
page_id: number;
page_name_ch: any;
path: string;
file_path: string;
develop_type: number;
}[];
};
}
export declare const getBuildPageInfo: (changId: number | string, config?: {
dpsEnv: string;
}) => Promise<IPageInfo>;
export declare const publishFn: (params: any, config?: {
dpsEnv: string;
}) => Promise<{
success: boolean;
data: any;
}>;
export declare const getAllAppInfo: (config?: {
dpsEnv: string;
}) => Promise<any>;
export declare const getRouteAndFilePathByAppId: (appId: number | string, gitlabId: number | string, config?: {
dpsEnv: string;
}) => Promise<any>;
export declare const getAllPageNextVersion: (changId: number, assetEnvNumber: number, config?: {
dpsEnv: string;
inputChangeId?: string;
}) => Promise<any>;
export {};