xiot-core-spec-ts
Version:
XIOT Specification Codec
9 lines (8 loc) • 534 B
TypeScript
import { ObjectWithLifecycle } from '../../../typedef/lifecycle/ObjectWithLifecycle';
import { PropertyDefinition } from '../../../typedef/definition/PropertyDefinition';
export declare class PropertyDefinitionWithLifecycleCodec {
static encode(obj: ObjectWithLifecycle<PropertyDefinition>): any;
static encodeArray(resource: ObjectWithLifecycle<PropertyDefinition>[]): any[];
static decode(o: any): ObjectWithLifecycle<PropertyDefinition>;
static decodeArray(arr: any[]): ObjectWithLifecycle<PropertyDefinition>[];
}