UNPKG

@plurid/plurid-data

Version:
17 lines (16 loc) 673 B
import { PluridPlaneContext } from "../../external/plane"; import { PluridPlanesRegistrar } from "../../external/registrar"; import { IsoMatcherRouteResult } from "../../external/routing"; import { PluridPubSub } from "../../external/pubsub"; export interface PluridContext<C> { planesRegistrar?: PluridPlanesRegistrar<C>; planeContext?: PluridPlaneContext<any>; planeContextValue?: any; customPlane?: C; planeNotFound?: boolean | C; planeRenderError?: boolean | C; matchedRoute?: IsoMatcherRouteResult<C> | undefined; hostname?: string; defaultPubSub: PluridPubSub; registerPubSub: (pubsub: PluridPubSub) => void; }