xiot-core-spec-ts
Version:
XIOT Specification Codec
12 lines (11 loc) • 535 B
TypeScript
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>[];
}