import type { BCMSPropColorPickerData, BCMSPropDataInputGql } from '@bcms/types'; import type { ObjectSchema } from '@becomes/purple-cheetah/types'; import type { BCMSPropEntryPointerData } from './entry-pointer'; import type { BCMSPropData, BCMSPropType } from './main'; export interface BCMSPropChangeAdd { label: string; type: BCMSPropType; required: boolean; array: boolean; defaultData?: BCMSPropData; } export interface BCMSPropChangeAddGql { label: string; type: BCMSPropType; required: boolean; array: boolean; defaultData?: BCMSPropDataInputGql; } export interface BCMSPropChangeUpdate { /** ID of the property which should be updated. */ id: string; label: string; move: number; required: boolean; array?: boolean; enumItems?: string[]; colorData?: BCMSPropColorPickerData; entryPointer?: BCMSPropEntryPointerData[]; } export interface BCMSPropChangeTransform { /** ID on property which will be transformed. */ from: string; /** To which property type */ to: BCMSPropType; } export interface BCMSPropChange { add?: BCMSPropChangeAdd; /** ID of the property which will be removed. */ remove?: string; update?: BCMSPropChangeUpdate; transform?: BCMSPropChangeTransform; } export declare const BCMSPropChangeSchema: ObjectSchema; export interface BCMSPropChangeGql { add?: BCMSPropChangeAddGql; /** ID of the property which will be removed. */ remove?: string; update?: BCMSPropChangeUpdate; transform?: BCMSPropChangeTransform; }