@glandjs/common
Version:
Glands is a web framework for Node.js (@common)
17 lines (16 loc) • 338 B
TypeScript
interface GlandRoute {
path: string;
method: string;
action: (ctx: any) => void;
meta: {
path: string;
method: string;
};
}
interface GlandChannel {
}
export interface GlandEvents {
'gland:define:route': GlandRoute;
[key: `gland:define:channel:${string}:${string}`]: GlandChannel;
}
export {};