feat(format): add check and fix workflows
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
export type IFormatWarning = {
|
||||
level: 'info' | 'warning' | 'error';
|
||||
message: string;
|
||||
module: string;
|
||||
};
|
||||
|
||||
export type IFormatPlan = {
|
||||
summary: {
|
||||
totalFiles: number;
|
||||
@@ -5,17 +11,8 @@ export type IFormatPlan = {
|
||||
filesModified: number;
|
||||
filesRemoved: number;
|
||||
};
|
||||
changes: Array<{
|
||||
type: 'create' | 'modify' | 'delete';
|
||||
path: string;
|
||||
module: string;
|
||||
description: string;
|
||||
}>;
|
||||
warnings: Array<{
|
||||
level: 'info' | 'warning' | 'error';
|
||||
message: string;
|
||||
module: string;
|
||||
}>;
|
||||
changes: IPlannedChange[];
|
||||
warnings: IFormatWarning[];
|
||||
};
|
||||
|
||||
export type IPlannedChange = {
|
||||
|
||||
Reference in New Issue
Block a user