Skip to content

Commit

Permalink
fix(app-file-manager): use FormInvalidFields type
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel910 committed Nov 18, 2024
1 parent f33c6e1 commit dd7461f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
OperationDTO,
OperatorDTO
} from "~/components/BulkActions/ActionEdit/domain";
import type { FormInvalidFields } from "@webiny/form";

export interface IBatchEditorDialogPresenter {
load(batch: BatchDTO, fields: FieldDTO[]): void;
Expand All @@ -19,7 +20,7 @@ export interface IBatchEditorDialogPresenter {
}

export interface BatchEditorDialogViewModel {
invalidFields: Record<string, { isValid: boolean; message: string }>;
invalidFields: FormInvalidFields;
canAddOperation: boolean;
data: BatchEditorFormData;
}
Expand Down

0 comments on commit dd7461f

Please sign in to comment.