/** * Object used to configure GridApi row management methods */ export interface DataUpdateConfig { /** * Whether row operation should happen asynchronously */ runAsync?: boolean; /** * Whether to flush async operations */ flushAsync?: boolean; /** * Callback function invoked when a batch successfully concludes */ callback?: (res: any) => void; /** * Index where to add new rows */ addIndex?: number; } /** * Config object using for passing in rows to manageGridData function */ export interface DataRowConfig { /** * Rows to add */ addRows?: any[]; /** * Rows to update */ updateRows?: any[]; /** * Rows to delete */ deleteRows?: any[]; }