UNPKG

@foxpage/foxpage-types

Version:

foxpage sdk types

14 lines (13 loc) 392 B
import { Relations } from '../content'; import { ResourceUpdateInfo } from '../ws'; export interface AppEvents { DATA_PULL: (data: ResourceUpdateInfo) => void; DATA_STASH: (data: Relations) => void; } export interface ManagerEvents { DATA_PUSH: (data: Relations) => void; } export interface ScheduleEvents<T> { DATA_RECEIVE: (data: T) => void; ERROR: (data: T) => void; }