Skip to content

Commit

Permalink
fix types and add a doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens committed Sep 8, 2020
1 parent 71b86d7 commit 0a646d5
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ export interface ValidatePolicyHelperData {
* are not configuring this value - like when they are on a previous step.
*/
validateIndicesCount?: boolean;

/**
* A policy might be configured with a repository that no longer exists. We want the form to
* block in this case because just having a repository configured is not enough for validity.
*/
repositoryDoesNotExist?: boolean;
}

export const validatePolicy = (
Expand Down

0 comments on commit 0a646d5

Please sign in to comment.