UNPKG

@synerty/vortexjs

Version:

Custom observable data serialisation and routing based on Angular 2+

34 lines (33 loc) 1.24 kB
import { TupleActionABC } from "../TupleAction"; import { Tuple } from "../exports"; import { Payload } from "../Payload"; import * as i0 from "@angular/core"; export declare class TupleActionPushNameService { name: string; additionalFilt: any; constructor(name: string, additionalFilt?: any); } export declare class TupleActionPushService { tupleActionProcessorName: any; vortexService: any; vortexStatus: any; constructor(tupleActionProcessorName: any, vortexService: any, vortexStatus: any); /** Push Action * * This pushes the action, either locally or to the server, depending on the * implementation. * * If pushed locally, the promise will resolve when the action has been saved. * If pushed directly to the server, the promise will resolve when the server has * responded. */ pushAction(tupleAction: TupleActionABC): Promise<Tuple[]>; /** Make Payload * * This make the payload that we send to the server. * */ protected makePayload(tupleAction: TupleActionABC): Payload; static ɵfac: i0.ɵɵFactoryDeclaration<TupleActionPushService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<TupleActionPushService>; }