sdj-esm
Version:
Self Described JSON - ESM
14 lines (13 loc) • 943 B
TypeScript
import type { CoreSD, DataJI, DescriptionJI, EntityJI, Info, ItemJI, SdKeyProps } from "../core/interfaces.js";
export declare function newInfoJI(name?: string, compress?: boolean): Info;
export declare function blankInfoJI(name?: string, compress?: boolean): Info;
export declare function genSdKeyProps(inObj: SdKeyProps): SdKeyProps;
export declare function genEntityJI(entityJI: EntityJI): EntityJI;
export declare function genItemJI(itemJI: ItemJI): ItemJI;
export declare function genInfoJI(orgInfo: Info): Info;
export declare function genDescriptionJI(descJI: DescriptionJI): DescriptionJI;
export declare function isBlankInfo(info: Info, compress?: boolean): boolean;
export declare function blankDescriptionJI(descName: string): DescriptionJI;
export declare function genKeyDataJI(orgData: DataJI): DataJI;
export declare function genDataJI(orgData: DataJI): DataJI;
export declare function genIdArray(coreArray: CoreSD[]): number[];