@plurid/plurid-data
Version:
Plurid Constants, Interfaces, Enumerations
17 lines (16 loc) • 673 B
TypeScript
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;
}