fix(core): update

This commit is contained in:
2020-07-04 16:42:41 +00:00
parent c1d2231a94
commit 580f8dd7f7
4 changed files with 12 additions and 61 deletions

View File

@ -11,11 +11,7 @@ export abstract class AAgHandler<TClaim> {
* a slug that separates the handler from other handlers
*/
public abstract slug: string;
public abstract handleRequest(
authInfoArg: AuthInfo<TClaim>,
request: plugins.tsclass.network.ISimpleRequest
): Promise<plugins.tsclass.network.ISimpleResponse>;
public abstract typedrouter: plugins.typedrequest.TypedRouter;
public abstract checkReqirements(): Promise<IRequirementResult>;
/**

View File

@ -1,6 +1,13 @@
// node native scope
import * as path from 'path';
// @apiglobal scope
import * as typedrequest from '@apiglobal/typedrequest';
export {
typedrequest
};
// @tsclass scope
import * as tsclass from '@tsclass/tsclass';