UNPKG

xiot-core-spec-ts

Version:
12 lines (11 loc) 535 B
import { Application } from '../../../typedef/app/Application'; import { ObjectWithLifecycle } from '../../../typedef/lifecycle/ObjectWithLifecycle'; export declare class ApplicationWithLifecycleCodec { static encode(obj: ObjectWithLifecycle<Application>): { lifecycle: string; application: any; }; static encodeArray(resource: ObjectWithLifecycle<Application>[]): any[]; static decode(o: any): ObjectWithLifecycle<Application>; static decodeArray(arr: any[]): ObjectWithLifecycle<Application>[]; }