@verdant-web/common 1.11.0 → 1.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/EventSubscriber.d.ts +17 -17
- package/dist/cjs/EventSubscriber.js +66 -66
- package/dist/cjs/baseline.d.ts +5 -5
- package/dist/cjs/baseline.js +2 -2
- package/dist/cjs/batching.d.ts +41 -41
- package/dist/cjs/batching.js +88 -88
- package/dist/cjs/files.d.ts +19 -19
- package/dist/cjs/files.js +18 -18
- package/dist/cjs/index.d.ts +18 -18
- package/dist/cjs/index.js +35 -35
- package/dist/cjs/indexes.d.ts +14 -14
- package/dist/cjs/indexes.js +115 -115
- package/dist/cjs/indexes.test.d.ts +1 -1
- package/dist/cjs/indexes.test.js +127 -127
- package/dist/cjs/migration.d.ts +98 -98
- package/dist/cjs/migration.js +127 -127
- package/dist/cjs/oids.d.ts +87 -87
- package/dist/cjs/oids.js +374 -374
- package/dist/cjs/oids.test.d.ts +1 -1
- package/dist/cjs/oids.test.js +245 -245
- package/dist/cjs/operation.d.ts +139 -139
- package/dist/cjs/operation.js +532 -532
- package/dist/cjs/operation.test.d.ts +1 -1
- package/dist/cjs/operation.test.js +484 -484
- package/dist/cjs/patch.d.ts +26 -26
- package/dist/cjs/patch.js +226 -226
- package/dist/cjs/presence.d.ts +27 -27
- package/dist/cjs/presence.js +2 -2
- package/dist/cjs/protocol.d.ts +145 -145
- package/dist/cjs/protocol.js +3 -3
- package/dist/cjs/refs.d.ts +5 -5
- package/dist/cjs/refs.js +21 -21
- package/dist/cjs/replica.d.ts +28 -28
- package/dist/cjs/replica.js +28 -28
- package/dist/cjs/schema/defaults.d.ts +4 -4
- package/dist/cjs/schema/defaults.js +71 -71
- package/dist/cjs/schema/defaults.test.d.ts +1 -1
- package/dist/cjs/schema/defaults.test.js +20 -20
- package/dist/cjs/schema/index.d.ts +8 -8
- package/dist/cjs/schema/index.js +28 -28
- package/dist/cjs/schema/indexFilters.d.ts +6 -6
- package/dist/cjs/schema/indexFilters.js +30 -30
- package/dist/cjs/schema/types/collection.d.ts +51 -51
- package/dist/cjs/schema/types/collection.js +2 -2
- package/dist/cjs/schema/types/compounds.d.ts +12 -12
- package/dist/cjs/schema/types/compounds.js +2 -2
- package/dist/cjs/schema/types/fields.d.ts +59 -59
- package/dist/cjs/schema/types/fields.js +2 -2
- package/dist/cjs/schema/types/filters.d.ts +29 -29
- package/dist/cjs/schema/types/filters.js +2 -2
- package/dist/cjs/schema/types/shapes.d.ts +21 -21
- package/dist/cjs/schema/types/shapes.js +2 -2
- package/dist/cjs/schema/types/synthetics.d.ts +28 -28
- package/dist/cjs/schema/types/synthetics.js +2 -2
- package/dist/cjs/schema/types.d.ts +18 -18
- package/dist/cjs/schema/types.js +22 -22
- package/dist/cjs/timestamp.d.ts +48 -48
- package/dist/cjs/timestamp.js +243 -243
- package/dist/cjs/timestamp.test.d.ts +1 -1
- package/dist/cjs/timestamp.test.js +93 -93
- package/dist/cjs/undo.d.ts +3 -3
- package/dist/cjs/undo.js +198 -198
- package/dist/cjs/utils.d.ts +15 -15
- package/dist/cjs/utils.js +127 -127
- package/dist/cjs/utils.test.d.ts +1 -1
- package/dist/cjs/utils.test.js +36 -36
- package/dist/esm/EventSubscriber.d.ts +17 -17
- package/dist/esm/EventSubscriber.js +62 -62
- package/dist/esm/baseline.d.ts +5 -5
- package/dist/esm/baseline.js +1 -1
- package/dist/esm/batching.d.ts +41 -41
- package/dist/esm/batching.js +83 -83
- package/dist/esm/files.d.ts +19 -19
- package/dist/esm/files.js +12 -12
- package/dist/esm/index.d.ts +18 -18
- package/dist/esm/index.js +15 -15
- package/dist/esm/indexes.d.ts +14 -14
- package/dist/esm/indexes.js +105 -105
- package/dist/esm/indexes.test.d.ts +1 -1
- package/dist/esm/indexes.test.js +125 -125
- package/dist/esm/migration.d.ts +98 -98
- package/dist/esm/migration.js +121 -121
- package/dist/esm/oids.d.ts +87 -87
- package/dist/esm/oids.js +347 -347
- package/dist/esm/oids.test.d.ts +1 -1
- package/dist/esm/oids.test.js +243 -243
- package/dist/esm/operation.d.ts +139 -139
- package/dist/esm/operation.js +517 -517
- package/dist/esm/operation.test.d.ts +1 -1
- package/dist/esm/operation.test.js +482 -482
- package/dist/esm/patch.d.ts +26 -26
- package/dist/esm/patch.js +222 -222
- package/dist/esm/presence.d.ts +27 -27
- package/dist/esm/presence.js +1 -1
- package/dist/esm/protocol.d.ts +145 -145
- package/dist/esm/protocol.js +2 -2
- package/dist/esm/refs.d.ts +5 -5
- package/dist/esm/refs.js +16 -16
- package/dist/esm/replica.d.ts +28 -28
- package/dist/esm/replica.js +25 -25
- package/dist/esm/schema/defaults.d.ts +4 -4
- package/dist/esm/schema/defaults.js +65 -65
- package/dist/esm/schema/defaults.test.d.ts +1 -1
- package/dist/esm/schema/defaults.test.js +18 -18
- package/dist/esm/schema/index.d.ts +8 -8
- package/dist/esm/schema/index.js +9 -9
- package/dist/esm/schema/indexFilters.d.ts +6 -6
- package/dist/esm/schema/indexFilters.js +22 -22
- package/dist/esm/schema/types/collection.d.ts +51 -51
- package/dist/esm/schema/types/collection.js +1 -1
- package/dist/esm/schema/types/compounds.d.ts +12 -12
- package/dist/esm/schema/types/compounds.js +1 -1
- package/dist/esm/schema/types/fields.d.ts +59 -59
- package/dist/esm/schema/types/fields.js +1 -1
- package/dist/esm/schema/types/filters.d.ts +29 -29
- package/dist/esm/schema/types/filters.js +1 -1
- package/dist/esm/schema/types/shapes.d.ts +21 -21
- package/dist/esm/schema/types/shapes.js +1 -1
- package/dist/esm/schema/types/synthetics.d.ts +28 -28
- package/dist/esm/schema/types/synthetics.js +1 -1
- package/dist/esm/schema/types.d.ts +18 -18
- package/dist/esm/schema/types.js +6 -6
- package/dist/esm/timestamp.d.ts +48 -48
- package/dist/esm/timestamp.js +228 -228
- package/dist/esm/timestamp.test.d.ts +1 -1
- package/dist/esm/timestamp.test.js +91 -91
- package/dist/esm/undo.d.ts +3 -3
- package/dist/esm/undo.js +194 -194
- package/dist/esm/utils.d.ts +15 -15
- package/dist/esm/utils.js +113 -113
- package/dist/esm/utils.test.d.ts +1 -1
- package/dist/esm/utils.test.js +34 -34
- package/dist/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/cjs/files.test.d.ts +0 -1
- package/dist/cjs/files.test.js +0 -81
- package/dist/cjs/files.test.js.map +0 -1
- package/dist/esm/files.test.d.ts +0 -1
- package/dist/esm/files.test.js +0 -79
- package/dist/esm/files.test.js.map +0 -1
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { StorageFieldsSchema } from './fields.js';
|
|
2
|
-
import { ShapeFromFields } from './shapes.js';
|
|
3
|
-
export declare type StorageStringSyntheticSchema<Fields extends StorageFieldsSchema> = {
|
|
4
|
-
type: 'string';
|
|
5
|
-
compute: (value: ShapeFromFields<Fields>) => string | null;
|
|
6
|
-
};
|
|
7
|
-
export declare type StorageNumberSyntheticSchema<Fields extends StorageFieldsSchema> = {
|
|
8
|
-
type: 'number';
|
|
9
|
-
compute: (value: ShapeFromFields<Fields>) => number | null;
|
|
10
|
-
};
|
|
11
|
-
export declare type StorageBooleanSyntheticSchema<Fields extends StorageFieldsSchema> = {
|
|
12
|
-
type: 'boolean';
|
|
13
|
-
compute: (value: ShapeFromFields<Fields>) => boolean | null;
|
|
14
|
-
};
|
|
15
|
-
export declare type StorageStringArraySyntheticSchema<Fields extends StorageFieldsSchema> = {
|
|
16
|
-
type: 'string[]';
|
|
17
|
-
compute: (value: ShapeFromFields<Fields>) => string[];
|
|
18
|
-
};
|
|
19
|
-
export declare type StorageNumberArraySyntheticSchema<Fields extends StorageFieldsSchema> = {
|
|
20
|
-
type: 'number[]';
|
|
21
|
-
compute: (value: ShapeFromFields<Fields>) => number[];
|
|
22
|
-
};
|
|
23
|
-
export declare type StorageBooleanArraySyntheticSchema<Fields extends StorageFieldsSchema> = {
|
|
24
|
-
type: 'boolean[]';
|
|
25
|
-
compute: (value: ShapeFromFields<Fields>) => boolean[];
|
|
26
|
-
};
|
|
27
|
-
export declare type StorageSyntheticIndices<Fields extends StorageFieldsSchema> = Record<string, StorageSyntheticIndexSchema<Fields>>;
|
|
28
|
-
export declare type StorageSyntheticIndexSchema<Fields extends StorageFieldsSchema> = StorageStringSyntheticSchema<Fields> | StorageNumberSyntheticSchema<Fields> | StorageBooleanSyntheticSchema<Fields> | StorageStringArraySyntheticSchema<Fields> | StorageNumberArraySyntheticSchema<Fields> | StorageBooleanArraySyntheticSchema<Fields>;
|
|
1
|
+
import { StorageFieldsSchema } from './fields.js';
|
|
2
|
+
import { ShapeFromFields } from './shapes.js';
|
|
3
|
+
export declare type StorageStringSyntheticSchema<Fields extends StorageFieldsSchema> = {
|
|
4
|
+
type: 'string';
|
|
5
|
+
compute: (value: ShapeFromFields<Fields>) => string | null;
|
|
6
|
+
};
|
|
7
|
+
export declare type StorageNumberSyntheticSchema<Fields extends StorageFieldsSchema> = {
|
|
8
|
+
type: 'number';
|
|
9
|
+
compute: (value: ShapeFromFields<Fields>) => number | null;
|
|
10
|
+
};
|
|
11
|
+
export declare type StorageBooleanSyntheticSchema<Fields extends StorageFieldsSchema> = {
|
|
12
|
+
type: 'boolean';
|
|
13
|
+
compute: (value: ShapeFromFields<Fields>) => boolean | null;
|
|
14
|
+
};
|
|
15
|
+
export declare type StorageStringArraySyntheticSchema<Fields extends StorageFieldsSchema> = {
|
|
16
|
+
type: 'string[]';
|
|
17
|
+
compute: (value: ShapeFromFields<Fields>) => string[];
|
|
18
|
+
};
|
|
19
|
+
export declare type StorageNumberArraySyntheticSchema<Fields extends StorageFieldsSchema> = {
|
|
20
|
+
type: 'number[]';
|
|
21
|
+
compute: (value: ShapeFromFields<Fields>) => number[];
|
|
22
|
+
};
|
|
23
|
+
export declare type StorageBooleanArraySyntheticSchema<Fields extends StorageFieldsSchema> = {
|
|
24
|
+
type: 'boolean[]';
|
|
25
|
+
compute: (value: ShapeFromFields<Fields>) => boolean[];
|
|
26
|
+
};
|
|
27
|
+
export declare type StorageSyntheticIndices<Fields extends StorageFieldsSchema> = Record<string, StorageSyntheticIndexSchema<Fields>>;
|
|
28
|
+
export declare type StorageSyntheticIndexSchema<Fields extends StorageFieldsSchema> = StorageStringSyntheticSchema<Fields> | StorageNumberSyntheticSchema<Fields> | StorageBooleanSyntheticSchema<Fields> | StorageStringArraySyntheticSchema<Fields> | StorageNumberArraySyntheticSchema<Fields> | StorageBooleanArraySyntheticSchema<Fields>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=synthetics.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { StorageCollectionSchema } from './types/collection.js';
|
|
2
|
-
export * from './types/collection.js';
|
|
3
|
-
export * from './types/compounds.js';
|
|
4
|
-
export * from './types/fields.js';
|
|
5
|
-
export * from './types/filters.js';
|
|
6
|
-
export * from './types/shapes.js';
|
|
7
|
-
export * from './types/synthetics.js';
|
|
8
|
-
export interface StorageInit<Schemas extends StorageCollectionSchema> {
|
|
9
|
-
collections: Record<string, Schemas>;
|
|
10
|
-
}
|
|
11
|
-
export declare type StorageSchema<Collections extends {
|
|
12
|
-
[k: string]: StorageCollectionSchema;
|
|
13
|
-
} = any> = {
|
|
14
|
-
version: number;
|
|
15
|
-
collections: Collections;
|
|
16
|
-
};
|
|
17
|
-
export declare type SchemaCollectionName<Schema extends StorageSchema<any>> = Schema extends StorageSchema<infer Cs> ? Exclude<keyof Cs, number | symbol> : never;
|
|
18
|
-
export declare type SchemaCollection<Schema extends StorageSchema<any>, Name extends SchemaCollectionName<Schema>> = Schema extends StorageSchema<infer Cs> ? Cs[Name] : never;
|
|
1
|
+
import { StorageCollectionSchema } from './types/collection.js';
|
|
2
|
+
export * from './types/collection.js';
|
|
3
|
+
export * from './types/compounds.js';
|
|
4
|
+
export * from './types/fields.js';
|
|
5
|
+
export * from './types/filters.js';
|
|
6
|
+
export * from './types/shapes.js';
|
|
7
|
+
export * from './types/synthetics.js';
|
|
8
|
+
export interface StorageInit<Schemas extends StorageCollectionSchema> {
|
|
9
|
+
collections: Record<string, Schemas>;
|
|
10
|
+
}
|
|
11
|
+
export declare type StorageSchema<Collections extends {
|
|
12
|
+
[k: string]: StorageCollectionSchema;
|
|
13
|
+
} = any> = {
|
|
14
|
+
version: number;
|
|
15
|
+
collections: Collections;
|
|
16
|
+
};
|
|
17
|
+
export declare type SchemaCollectionName<Schema extends StorageSchema<any>> = Schema extends StorageSchema<infer Cs> ? Exclude<keyof Cs, number | symbol> : never;
|
|
18
|
+
export declare type SchemaCollection<Schema extends StorageSchema<any>, Name extends SchemaCollectionName<Schema>> = Schema extends StorageSchema<infer Cs> ? Cs[Name] : never;
|
package/dist/cjs/schema/types.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./types/collection.js"), exports);
|
|
18
|
-
__exportStar(require("./types/compounds.js"), exports);
|
|
19
|
-
__exportStar(require("./types/fields.js"), exports);
|
|
20
|
-
__exportStar(require("./types/filters.js"), exports);
|
|
21
|
-
__exportStar(require("./types/shapes.js"), exports);
|
|
22
|
-
__exportStar(require("./types/synthetics.js"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types/collection.js"), exports);
|
|
18
|
+
__exportStar(require("./types/compounds.js"), exports);
|
|
19
|
+
__exportStar(require("./types/fields.js"), exports);
|
|
20
|
+
__exportStar(require("./types/filters.js"), exports);
|
|
21
|
+
__exportStar(require("./types/shapes.js"), exports);
|
|
22
|
+
__exportStar(require("./types/synthetics.js"), exports);
|
|
23
23
|
//# sourceMappingURL=types.js.map
|
package/dist/cjs/timestamp.d.ts
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
export interface TimestampProvider {
|
|
2
|
-
now(version: number): string;
|
|
3
|
-
update(remoteTimestamp: string): void;
|
|
4
|
-
zero(version: number): string;
|
|
5
|
-
getWallClockTime(timestamp: string): number;
|
|
6
|
-
}
|
|
7
|
-
export declare function encodeVersion(version: number | string): string;
|
|
8
|
-
export declare function OLD_encodeVersion(version: number | string): string;
|
|
9
|
-
export declare class NaiveTimestampProvider implements TimestampProvider {
|
|
10
|
-
counter: number;
|
|
11
|
-
now: (version: number | string) => string;
|
|
12
|
-
update: () => void;
|
|
13
|
-
zero: (version: number | string) => string;
|
|
14
|
-
getWallClockTime: (timestamp: string) => number;
|
|
15
|
-
}
|
|
16
|
-
export declare class HybridLogicalClockTimestampProvider implements TimestampProvider {
|
|
17
|
-
private latest;
|
|
18
|
-
private zeroCounter;
|
|
19
|
-
now: (version: string | number) => string;
|
|
20
|
-
/**
|
|
21
|
-
* @deprecated - use now() instead and update to latest format
|
|
22
|
-
*/
|
|
23
|
-
OLD_now: (version: string | number) => string;
|
|
24
|
-
/** Get the current timer state. Does not increment counter. */
|
|
25
|
-
timerState: () => HLCTimestamp;
|
|
26
|
-
update: (remoteTimestamp: string) => void;
|
|
27
|
-
get: (version: string | number, raw: HLCTimestamp) => string;
|
|
28
|
-
zero: (version: string | number) => string;
|
|
29
|
-
getWallClockTime: (timestamp: string) => number;
|
|
30
|
-
}
|
|
31
|
-
interface HLCTimestamp {
|
|
32
|
-
time: number;
|
|
33
|
-
counter: number;
|
|
34
|
-
node: string;
|
|
35
|
-
}
|
|
36
|
-
export declare function serializeHlcTimestamp(ts: HLCTimestamp): string;
|
|
37
|
-
export declare function deserializeHlcTimestamp(clock: string): HLCTimestamp;
|
|
38
|
-
/**
|
|
39
|
-
* Below, converters for old-style timestamps are defined.
|
|
40
|
-
* These are for migrating older clients to the new format.
|
|
41
|
-
*/
|
|
42
|
-
/**
|
|
43
|
-
* Converts a timestamp from the old format to the new format.
|
|
44
|
-
*/
|
|
45
|
-
export declare function convertOldHlcTimestamp(ts: string): string;
|
|
46
|
-
export declare function OLD_serializeHlcTimestamp(ts: HLCTimestamp): string;
|
|
47
|
-
export declare function OLD_deserializeHlcTimestamp(clock: string): HLCTimestamp;
|
|
48
|
-
export {};
|
|
1
|
+
export interface TimestampProvider {
|
|
2
|
+
now(version: number): string;
|
|
3
|
+
update(remoteTimestamp: string): void;
|
|
4
|
+
zero(version: number): string;
|
|
5
|
+
getWallClockTime(timestamp: string): number;
|
|
6
|
+
}
|
|
7
|
+
export declare function encodeVersion(version: number | string): string;
|
|
8
|
+
export declare function OLD_encodeVersion(version: number | string): string;
|
|
9
|
+
export declare class NaiveTimestampProvider implements TimestampProvider {
|
|
10
|
+
counter: number;
|
|
11
|
+
now: (version: number | string) => string;
|
|
12
|
+
update: () => void;
|
|
13
|
+
zero: (version: number | string) => string;
|
|
14
|
+
getWallClockTime: (timestamp: string) => number;
|
|
15
|
+
}
|
|
16
|
+
export declare class HybridLogicalClockTimestampProvider implements TimestampProvider {
|
|
17
|
+
private latest;
|
|
18
|
+
private zeroCounter;
|
|
19
|
+
now: (version: string | number) => string;
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated - use now() instead and update to latest format
|
|
22
|
+
*/
|
|
23
|
+
OLD_now: (version: string | number) => string;
|
|
24
|
+
/** Get the current timer state. Does not increment counter. */
|
|
25
|
+
timerState: () => HLCTimestamp;
|
|
26
|
+
update: (remoteTimestamp: string) => void;
|
|
27
|
+
get: (version: string | number, raw: HLCTimestamp) => string;
|
|
28
|
+
zero: (version: string | number) => string;
|
|
29
|
+
getWallClockTime: (timestamp: string) => number;
|
|
30
|
+
}
|
|
31
|
+
interface HLCTimestamp {
|
|
32
|
+
time: number;
|
|
33
|
+
counter: number;
|
|
34
|
+
node: string;
|
|
35
|
+
}
|
|
36
|
+
export declare function serializeHlcTimestamp(ts: HLCTimestamp): string;
|
|
37
|
+
export declare function deserializeHlcTimestamp(clock: string): HLCTimestamp;
|
|
38
|
+
/**
|
|
39
|
+
* Below, converters for old-style timestamps are defined.
|
|
40
|
+
* These are for migrating older clients to the new format.
|
|
41
|
+
*/
|
|
42
|
+
/**
|
|
43
|
+
* Converts a timestamp from the old format to the new format.
|
|
44
|
+
*/
|
|
45
|
+
export declare function convertOldHlcTimestamp(ts: string): string;
|
|
46
|
+
export declare function OLD_serializeHlcTimestamp(ts: HLCTimestamp): string;
|
|
47
|
+
export declare function OLD_deserializeHlcTimestamp(clock: string): HLCTimestamp;
|
|
48
|
+
export {};
|