mirror of
https://github.com/laochan-eacnet/backend.git
synced 2026-10-14 00:59:03 +03:00
eacnet framework
This commit is contained in:
+2
-7
@@ -2,9 +2,7 @@ import { Logger } from '@cordisjs/logger';
|
||||
import { DefaultState, ParameterizedContext } from 'koa';
|
||||
|
||||
export interface ILaochanContext {
|
||||
model?: string;
|
||||
tag?: string;
|
||||
pcbid?: string;
|
||||
token?: string;
|
||||
|
||||
service: {
|
||||
name: string,
|
||||
@@ -12,10 +10,7 @@ export interface ILaochanContext {
|
||||
};
|
||||
|
||||
logger: Logger;
|
||||
|
||||
request: {
|
||||
body: Buffer | object | undefined;
|
||||
};
|
||||
body?: unknown;
|
||||
}
|
||||
|
||||
export type Context = ParameterizedContext<DefaultState, ILaochanContext, any>;
|
||||
|
||||
Reference in New Issue
Block a user