import { ValidationResult } from "../validations/validation-result";
import { CrudResultType } from "./crud-result-type";
/**
 * Result of crud operations.
 */
export interface CrudResult {
    type: CrudResultType;
    validationResult: ValidationResult;
}
/**
 * A generic version of {@link CrudResult}.
 *
 * @template T - type of crud result, usually resource type
 */
export interface GenericCrudResult<T> extends CrudResult {
    result?: T;
}
