@cto.ai/ops
Version:
💻 CTO.ai Ops - The CLI built for Teams 🚀
19 lines (18 loc) • 778 B
TypeScript
/**
* @author: JP Lew (jp@cto.ai)
* @date: Sunday, 28th April 2019 1:16:46 am
* @lastModifiedBy: Prachi Singh (prachi@hackcapital.com)
* @lastModifiedTime: Thursday, 28th November 2019 4:17:41 pm
* @copyright (c) 2019 CTO.ai
*/
/// <reference types="feathersjs__feathers" />
import feathers from '@feathersjs/feathers';
export declare const localFeathersHost: string;
export declare class FeathersClient {
feathersClient: feathers.Application;
constructor(apiUrl?: string);
find(service: string, payload: object): Promise<any>;
create(service: string, payload: object, params?: object): Promise<any>;
patch(service: string, token: string, payload: object): Promise<any>;
remove(service: string, id: string | null, params?: object): Promise<any>;
}