42 lines
707 B
TypeScript
42 lines
707 B
TypeScript
// Generated by dts-bundle-generator v9.5.1
|
|
|
|
export type RouterCode = {
|
|
id: string;
|
|
path: string;
|
|
key: string;
|
|
active: boolean;
|
|
project: string;
|
|
code: string;
|
|
exec: string;
|
|
type: RouterCodeType;
|
|
middleware: string[];
|
|
next: string;
|
|
data: any;
|
|
validator: any;
|
|
};
|
|
declare enum RouterCodeType {
|
|
route = "route",
|
|
middleware = "middleware"
|
|
}
|
|
declare enum CodeStatus {
|
|
running = "running",
|
|
stop = "stop",
|
|
fail = "fail"
|
|
}
|
|
export type CodeManager = {
|
|
fn?: any;
|
|
status?: CodeStatus;
|
|
errorMsg?: string;
|
|
lock?: boolean;
|
|
} & Partial<RouterCode>;
|
|
export interface ContainerData {
|
|
style?: {
|
|
[key: string]: string;
|
|
};
|
|
className?: string;
|
|
showChild?: boolean;
|
|
shadowRoot?: boolean;
|
|
}
|
|
|
|
export {};
|