UNPKG

@tangential/app

Version:

Types and support for a Tangential-based Application.

11 lines (10 loc) 384 B
import { AuthSubject } from '@tangential/authorization-service'; export declare type TangentialActionKey = string; export declare abstract class TangentialAction { protected subject: AuthSubject; $key: TangentialActionKey; constructor(subject: AuthSubject); perform(): Promise<any>; checkAuthorizations(): void; protected abstract doPerform(): Promise<any>; }