baasic-sdk-nodejs
Version:
NodeJS SDK provides core functionality for building web and mobile applications on [Baasic](http://www.baasic.com/).
11 lines (10 loc) • 693 B
TypeScript
import { IBaasicQueryModel, IGetRequestOptions, IHttpResponse, IOptions } from '../../../../infrastructure/common/contracts';
import { IResourceSchema } from '../';
export interface IDynamicResourceSchemaClient {
find(options?: IOptions): PromiseLike<IHttpResponse<IBaasicQueryModel<IResourceSchema>>>;
get(name: string, options?: IGetRequestOptions): PromiseLike<IHttpResponse<IResourceSchema>>;
create(data: IResourceSchema): PromiseLike<IHttpResponse<IResourceSchema>>;
update(data: IResourceSchema): PromiseLike<IHttpResponse<void>>;
remove(data: IResourceSchema): PromiseLike<IHttpResponse<void>>;
generate(data: any): PromiseLike<IHttpResponse<any>>;
}