feat: edit policy

This commit is contained in:
Fine
2023-05-30 17:49:21 +08:00
parent 604725d20c
commit bca5b923bf
4 changed files with 68 additions and 25 deletions

View File

@@ -16,7 +16,7 @@
*/
export interface StrategyItem {
type: string;
targetType: string;
checkItems: CheckItems[];
}
export type CheckItems = {
@@ -24,6 +24,6 @@ export type CheckItems = {
threshold: string;
period: number;
count: number;
uriList: string[];
uriRegex: string;
uriList?: string[];
uriRegex?: string;
};