@fluidframework/id-compressor 2.0.0-dev-rc.5.0.0.267932 → 2.0.0-dev-rc.5.0.0.268409
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/api-report/{id-compressor.api.md → id-compressor.alpha.api.md} +1 -10
- package/api-report/id-compressor.beta.api.md +44 -0
- package/api-report/id-compressor.public.api.md +44 -0
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/package.json +9 -9
- package/src/packageVersion.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## API Report File for "@fluidframework/id-compressor"
|
|
1
|
+
## Alpha API Report File for "@fluidframework/id-compressor"
|
|
2
2
|
|
|
3
3
|
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
4
|
|
|
@@ -7,9 +7,6 @@
|
|
|
7
7
|
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
8
8
|
import { ITelemetryLoggerExt } from '@fluidframework/telemetry-utils/internal';
|
|
9
9
|
|
|
10
|
-
// @internal
|
|
11
|
-
export function assertIsStableId(stableId: string): StableId;
|
|
12
|
-
|
|
13
10
|
// @alpha
|
|
14
11
|
export function createIdCompressor(logger?: ITelemetryBaseLogger): IIdCompressor & IIdCompressorCore;
|
|
15
12
|
|
|
@@ -25,9 +22,6 @@ export function deserializeIdCompressor(serialized: SerializedIdCompressorWithOn
|
|
|
25
22
|
// @alpha
|
|
26
23
|
export function deserializeIdCompressor(serialized: SerializedIdCompressorWithNoSession, newSessionId: SessionId, logger?: ITelemetryLoggerExt): IIdCompressor & IIdCompressorCore;
|
|
27
24
|
|
|
28
|
-
// @internal
|
|
29
|
-
export function generateStableId(): StableId;
|
|
30
|
-
|
|
31
25
|
// @alpha
|
|
32
26
|
export interface IdCreationRange {
|
|
33
27
|
// (undocumented)
|
|
@@ -63,9 +57,6 @@ export interface IIdCompressorCore {
|
|
|
63
57
|
takeUnfinalizedCreationRange(): IdCreationRange;
|
|
64
58
|
}
|
|
65
59
|
|
|
66
|
-
// @internal
|
|
67
|
-
export function isStableId(str: string): str is StableId;
|
|
68
|
-
|
|
69
60
|
// @public
|
|
70
61
|
export type OpSpaceCompressedId = number & {
|
|
71
62
|
readonly OpNormalized: "9209432d-a959-4df7-b2ad-767ead4dbcae";
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
## Beta API Report File for "@fluidframework/id-compressor"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
8
|
+
import { ITelemetryLoggerExt } from '@fluidframework/telemetry-utils/internal';
|
|
9
|
+
|
|
10
|
+
// @public
|
|
11
|
+
export interface IIdCompressor {
|
|
12
|
+
decompress(id: SessionSpaceCompressedId): StableId;
|
|
13
|
+
generateCompressedId(): SessionSpaceCompressedId;
|
|
14
|
+
generateDocumentUniqueId(): (SessionSpaceCompressedId & OpSpaceCompressedId) | StableId;
|
|
15
|
+
localSessionId: SessionId;
|
|
16
|
+
normalizeToOpSpace(id: SessionSpaceCompressedId): OpSpaceCompressedId;
|
|
17
|
+
normalizeToSessionSpace(id: OpSpaceCompressedId, originSessionId: SessionId): SessionSpaceCompressedId;
|
|
18
|
+
recompress(uncompressed: StableId): SessionSpaceCompressedId;
|
|
19
|
+
tryRecompress(uncompressed: StableId): SessionSpaceCompressedId | undefined;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// @public
|
|
23
|
+
export type OpSpaceCompressedId = number & {
|
|
24
|
+
readonly OpNormalized: "9209432d-a959-4df7-b2ad-767ead4dbcae";
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
// @public
|
|
28
|
+
export type SessionId = StableId & {
|
|
29
|
+
readonly SessionId: "4498f850-e14e-4be9-8db0-89ec00997e58";
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
// @public
|
|
33
|
+
export type SessionSpaceCompressedId = number & {
|
|
34
|
+
readonly SessionUnique: "cea55054-6b82-4cbf-ad19-1fa645ea3b3e";
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
// @public
|
|
38
|
+
export type StableId = string & {
|
|
39
|
+
readonly StableId: "53172b0d-a3d5-41ea-bd75-b43839c97f5a";
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
// (No @packageDocumentation comment for this package)
|
|
43
|
+
|
|
44
|
+
```
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
## Public API Report File for "@fluidframework/id-compressor"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
8
|
+
import { ITelemetryLoggerExt } from '@fluidframework/telemetry-utils/internal';
|
|
9
|
+
|
|
10
|
+
// @public
|
|
11
|
+
export interface IIdCompressor {
|
|
12
|
+
decompress(id: SessionSpaceCompressedId): StableId;
|
|
13
|
+
generateCompressedId(): SessionSpaceCompressedId;
|
|
14
|
+
generateDocumentUniqueId(): (SessionSpaceCompressedId & OpSpaceCompressedId) | StableId;
|
|
15
|
+
localSessionId: SessionId;
|
|
16
|
+
normalizeToOpSpace(id: SessionSpaceCompressedId): OpSpaceCompressedId;
|
|
17
|
+
normalizeToSessionSpace(id: OpSpaceCompressedId, originSessionId: SessionId): SessionSpaceCompressedId;
|
|
18
|
+
recompress(uncompressed: StableId): SessionSpaceCompressedId;
|
|
19
|
+
tryRecompress(uncompressed: StableId): SessionSpaceCompressedId | undefined;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// @public
|
|
23
|
+
export type OpSpaceCompressedId = number & {
|
|
24
|
+
readonly OpNormalized: "9209432d-a959-4df7-b2ad-767ead4dbcae";
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
// @public
|
|
28
|
+
export type SessionId = StableId & {
|
|
29
|
+
readonly SessionId: "4498f850-e14e-4be9-8db0-89ec00997e58";
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
// @public
|
|
33
|
+
export type SessionSpaceCompressedId = number & {
|
|
34
|
+
readonly SessionUnique: "cea55054-6b82-4cbf-ad19-1fa645ea3b3e";
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
// @public
|
|
38
|
+
export type StableId = string & {
|
|
39
|
+
readonly StableId: "53172b0d-a3d5-41ea-bd75-b43839c97f5a";
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
// (No @packageDocumentation comment for this package)
|
|
43
|
+
|
|
44
|
+
```
|
package/dist/packageVersion.d.ts
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
|
|
6
6
|
*/
|
|
7
7
|
export declare const pkgName = "@fluidframework/id-compressor";
|
|
8
|
-
export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.
|
|
8
|
+
export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
package/dist/packageVersion.js
CHANGED
|
@@ -8,5 +8,5 @@
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.pkgVersion = exports.pkgName = void 0;
|
|
10
10
|
exports.pkgName = "@fluidframework/id-compressor";
|
|
11
|
-
exports.pkgVersion = "2.0.0-dev-rc.5.0.0.
|
|
11
|
+
exports.pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
|
|
12
12
|
//# sourceMappingURL=packageVersion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,+BAA+B,CAAC;AAC1C,QAAA,UAAU,GAAG,2BAA2B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/id-compressor\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,+BAA+B,CAAC;AAC1C,QAAA,UAAU,GAAG,2BAA2B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/id-compressor\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.268409\";\n"]}
|
package/lib/packageVersion.d.ts
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
|
|
6
6
|
*/
|
|
7
7
|
export declare const pkgName = "@fluidframework/id-compressor";
|
|
8
|
-
export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.
|
|
8
|
+
export declare const pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
|
|
9
9
|
//# sourceMappingURL=packageVersion.d.ts.map
|
package/lib/packageVersion.js
CHANGED
|
@@ -5,5 +5,5 @@
|
|
|
5
5
|
* THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
|
|
6
6
|
*/
|
|
7
7
|
export const pkgName = "@fluidframework/id-compressor";
|
|
8
|
-
export const pkgVersion = "2.0.0-dev-rc.5.0.0.
|
|
8
|
+
export const pkgVersion = "2.0.0-dev-rc.5.0.0.268409";
|
|
9
9
|
//# sourceMappingURL=packageVersion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,+BAA+B,CAAC;AACvD,MAAM,CAAC,MAAM,UAAU,GAAG,2BAA2B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/id-compressor\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,+BAA+B,CAAC;AACvD,MAAM,CAAC,MAAM,UAAU,GAAG,2BAA2B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/id-compressor\";\nexport const pkgVersion = \"2.0.0-dev-rc.5.0.0.268409\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/id-compressor",
|
|
3
|
-
"version": "2.0.0-dev-rc.5.0.0.
|
|
3
|
+
"version": "2.0.0-dev-rc.5.0.0.268409",
|
|
4
4
|
"description": "ID compressor",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -79,23 +79,23 @@
|
|
|
79
79
|
"temp-directory": "nyc/.nyc_output"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"@fluid-internal/client-utils": "2.0.0-dev-rc.5.0.0.
|
|
83
|
-
"@fluidframework/core-interfaces": "2.0.0-dev-rc.5.0.0.
|
|
84
|
-
"@fluidframework/core-utils": "2.0.0-dev-rc.5.0.0.
|
|
85
|
-
"@fluidframework/telemetry-utils": "2.0.0-dev-rc.5.0.0.
|
|
82
|
+
"@fluid-internal/client-utils": "2.0.0-dev-rc.5.0.0.268409",
|
|
83
|
+
"@fluidframework/core-interfaces": "2.0.0-dev-rc.5.0.0.268409",
|
|
84
|
+
"@fluidframework/core-utils": "2.0.0-dev-rc.5.0.0.268409",
|
|
85
|
+
"@fluidframework/telemetry-utils": "2.0.0-dev-rc.5.0.0.268409",
|
|
86
86
|
"@tylerbu/sorted-btree-es6": "^1.8.0",
|
|
87
87
|
"uuid": "^9.0.0"
|
|
88
88
|
},
|
|
89
89
|
"devDependencies": {
|
|
90
90
|
"@arethetypeswrong/cli": "^0.15.2",
|
|
91
|
-
"@biomejs/biome": "^1.
|
|
92
|
-
"@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.5.0.0.
|
|
93
|
-
"@fluid-private/stochastic-test-utils": "2.0.0-dev-rc.5.0.0.
|
|
91
|
+
"@biomejs/biome": "^1.7.3",
|
|
92
|
+
"@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.5.0.0.268409",
|
|
93
|
+
"@fluid-private/stochastic-test-utils": "2.0.0-dev-rc.5.0.0.268409",
|
|
94
94
|
"@fluid-tools/benchmark": "^0.48.0",
|
|
95
95
|
"@fluid-tools/build-cli": "^0.39.0-264124",
|
|
96
96
|
"@fluidframework/build-common": "^2.0.3",
|
|
97
97
|
"@fluidframework/build-tools": "^0.39.0-264124",
|
|
98
|
-
"@fluidframework/eslint-config-fluid": "^5.
|
|
98
|
+
"@fluidframework/eslint-config-fluid": "^5.3.0",
|
|
99
99
|
"@fluidframework/id-compressor-previous": "npm:@fluidframework/id-compressor@2.0.0-rc.4.0.0",
|
|
100
100
|
"@microsoft/api-extractor": "^7.45.1",
|
|
101
101
|
"@types/mocha": "^9.1.1",
|
package/src/packageVersion.ts
CHANGED