fix(core): update
This commit is contained in:
@ -1,3 +1 @@
|
||||
import * as plugins from './sdk.plugins';
|
||||
|
||||
export let standardExport = 'Hi there! :) This is an exported string';
|
||||
export * from './sdk.classes.aghandler';
|
1
ts/interfaces/index.ts
Normal file
1
ts/interfaces/index.ts
Normal file
@ -0,0 +1 @@
|
||||
export {};
|
16
ts/sdk.classes.aghandler.ts
Normal file
16
ts/sdk.classes.aghandler.ts
Normal file
@ -0,0 +1,16 @@
|
||||
import * as plugins from './sdk.plugins';
|
||||
|
||||
export abstract class AAgHandler {
|
||||
public authenticationHandler: any;
|
||||
|
||||
/**
|
||||
* a slug that separates the handler from other handlers
|
||||
*/
|
||||
public abstract slug: string;
|
||||
|
||||
public abstract handleRequest (request: plugins.tsclass.network.ISimpleRequest): Promise<plugins.tsclass.network.ISimpleResponse>;
|
||||
|
||||
public setAuthenticationHandler(authHandler) {
|
||||
this.authenticationHandler = authHandler;
|
||||
}
|
||||
}
|
3
ts/sdk.classes.authenticationhandler.ts
Normal file
3
ts/sdk.classes.authenticationhandler.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import * as plugins from './sdk.plugins';
|
||||
|
||||
export abstract class AAuthenticationHandler {}
|
Reference in New Issue
Block a user