limu
Version:
A fast js lib of immutable data, based on shallow copy on read and mark modified on write mechanism
21 lines (20 loc) • 651 B
TypeScript
export interface IIdWrap {
value: number;
prefixSeed: number;
}
export declare const verWrap: IIdWrap;
export declare const idWrap: IIdWrap;
export declare const symbolIdWrap: IIdWrap;
export declare const sourceIdWrap: IIdWrap;
export declare const symbolStrDict: Record<any, string>;
export declare const strSymbolDict: Record<any, string>;
export declare function genMetaId(): string;
export declare function genMetaVer(): string;
export declare function genSymbolId(): string;
export declare function genSourceId(): string;
interface IConf {
autoFreeze: boolean;
autoRevoke: boolean;
}
export declare const conf: IConf;
export {};