From d170af1db5c43c3036f97b5e41ae7e588fce05d0 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Tue, 22 Sep 2020 22:54:05 +0000 Subject: [PATCH] fix(core): update --- test/test.ts | 7 +++++++ ts/index.ts | 1 + ts/sdk.classes.agenvironment.ts | 8 ++++++++ 3 files changed, 16 insertions(+) create mode 100644 ts/sdk.classes.agenvironment.ts diff --git a/test/test.ts b/test/test.ts index cf41ed3..2cc64dd 100644 --- a/test/test.ts +++ b/test/test.ts @@ -18,6 +18,13 @@ tap.test('should create a valid Handler', async () => { public async start() {} public async stop() {} + + public async checkRequirements(): Promise { + return { + allOk: true, + reason: '' + } + } } const myHandlerInstance = new MyHandler(); diff --git a/ts/index.ts b/ts/index.ts index 77c1249..0e10135 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -1,2 +1,3 @@ +export * from './sdk.classes.agenvironment'; export * from './sdk.classes.aghandler'; export * from './sdk.classes.authinfo'; diff --git a/ts/sdk.classes.agenvironment.ts b/ts/sdk.classes.agenvironment.ts new file mode 100644 index 0000000..ae34fdd --- /dev/null +++ b/ts/sdk.classes.agenvironment.ts @@ -0,0 +1,8 @@ +import * as plugins from './sdk.plugins'; + +/** + * AgEnvironment handles the provision of environment variables to handlers + */ +export class AgEnvironment { + +} \ No newline at end of file