UNPKG

@redhare/lowcode-types

Version:

Types for Ali lowCode engine

29 lines (28 loc) 594 B
import { IPublicTypeNodeSchema } from './shell'; export declare enum ActivityType { 'ADDED' = "added", 'DELETED' = "deleted", 'MODIFIED' = "modified", 'COMPOSITE' = "composite" } interface IActivityPayload { schema: IPublicTypeNodeSchema; location?: { parent: { nodeId: string; index: number; }; }; prop: any; oldValue: any; newValue: any; } /** * TODO: not sure if this is used anywhere * @deprecated */ export declare type ActivityData = { type: ActivityType; payload: IActivityPayload; }; export {};