import type { GroupModel } from "../group" import type { NestableModel } from "../nestable" import type { DiffChange } from "./changes" export type NestableWidgetDiff = DiffChange export type GroupWidgetWithFieldsDiff = Omit & { config: Omit, "fields"> & { fields?: Record } } export type GroupWidgetDiff = DiffChange export type SlicePrimaryWidgetDiff = NestableWidgetDiff | GroupWidgetDiff