UNPKG

baasic-sdk-nodejs

Version:

NodeJS SDK provides core functionality for building web and mobile applications on [Baasic](http://www.baasic.com/).

9 lines (8 loc) 499 B
import { IACLOptions, IACLPolicy } from './'; import { IHttpResponse } from '../'; export interface IACLClient { get(options?: IACLOptions): PromiseLike<IHttpResponse<IACLPolicy[]>>; update(options: IACLOptions[]): PromiseLike<IHttpResponse<IACLPolicy[]>>; removeByUser(id: string, action: string, user: string, data: IACLPolicy): PromiseLike<IHttpResponse<void>>; removeByRole(id: string, action: string, role: string, data: IACLPolicy): PromiseLike<IHttpResponse<void>>; }