fix(core): update

This commit is contained in:
2020-09-23 21:24:32 +00:00
parent ef568f2aa2
commit 6e761cb2b9
8 changed files with 7277 additions and 860 deletions

View File

@ -5,4 +5,4 @@ import * as plugins from './sdk.plugins';
*/
export abstract class AgEnvironment {
public abstract async getEnvVar(envVarName: string): Promise<string>;
}
}

View File

@ -14,12 +14,12 @@ export abstract class AAgHandler<TClaim> {
* a slug that separates the handler from other handlers
*/
public abstract slug: string;
public abstract typedrouter: plugins.typedrequest.TypedRouter;
public abstract typedrouter: plugins.typedrequest.TypedRouter;
public abstract checkRequirements(): Promise<IRequirementResult>;
constructor(agEnvironmentArg: AgEnvironment) {
this.agEnvironment = agEnvironmentArg;
};
}
/**
* start the ag-handler

View File

@ -4,9 +4,7 @@ import * as path from 'path';
// @apiglobal scope
import * as typedrequest from '@apiglobal/typedrequest';
export {
typedrequest
};
export { typedrequest };
// @tsclass scope
import * as tsclass from '@tsclass/tsclass';