@noggin/elastic-noggin-sdk
Version:
Elastic Noggin SDK
14 lines (13 loc) • 598 B
TypeScript
import { Observable } from "rxjs";
import { Batch, Sid, Tip } from "./models/types";
import { IEnSrvOptions } from "./IEnSrvOptions";
import { ERROR_MESSAGE_TIP } from "./error";
export interface IPullOptions {
branch?: string;
recursiveField?: string[];
recursiveDepth?: number;
ifNotSid?: string[];
skipErrors?: ERROR_MESSAGE_TIP[];
}
export declare function pull(tips: Tip[], enSrvOptions: IEnSrvOptions, pullOptions?: IPullOptions): Observable<Batch>;
export declare function pullSid(sids: Sid[], enSrvOptions: IEnSrvOptions, pullOptions?: IPullOptions): Observable<Batch>;