import type { RockEventHandlerConfig, SimpleRockConfig } from "@ruiapp/move-style"; import { RapidToolbarButtonConfig } from "../rapid-toolbar-button/rapid-toolbar-button-types"; export interface RapidToolbarUpdateEntityButtonConfig extends RapidToolbarButtonConfig { actionType?: "button"; entity?: Record; entityId?: number; entityCode?: string; successMessage?: string; errorMessage?: string; onSuccess?: RockEventHandlerConfig; onError?: RockEventHandlerConfig; } export interface RapidToolbarUpdateEntityButtonRockConfig extends SimpleRockConfig, RapidToolbarUpdateEntityButtonConfig { }