@fluidframework/driver-utils 2.0.0-dev.7.4.0.217884 → 2.0.0-dev.7.4.0.221926
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/CHANGELOG.md +4 -0
- package/api-extractor.json +0 -3
- package/api-report/driver-utils.api.md +2 -2
- package/dist/adapters/compression/compressionTypes.d.ts +2 -2
- package/dist/adapters/compression/compressionTypes.js +1 -1
- package/dist/adapters/compression/compressionTypes.js.map +1 -1
- package/dist/driver-utils-alpha.d.ts +20 -2
- package/dist/driver-utils-beta.d.ts +21 -0
- package/dist/driver-utils-public.d.ts +21 -0
- package/dist/driver-utils-untrimmed.d.ts +2 -2
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/lib/adapters/compression/compressionTypes.d.ts +2 -2
- package/lib/adapters/compression/compressionTypes.js +1 -1
- package/lib/adapters/compression/compressionTypes.js.map +1 -1
- package/lib/driver-utils-alpha.d.ts +20 -2
- package/lib/driver-utils-beta.d.ts +21 -0
- package/lib/driver-utils-public.d.ts +21 -0
- package/lib/driver-utils-untrimmed.d.ts +2 -2
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/package.json +9 -7
- package/src/adapters/compression/compressionTypes.ts +2 -2
- package/src/packageVersion.ts +1 -1
package/CHANGELOG.md
CHANGED
package/api-extractor.json
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
|
|
3
3
|
"extends": "../../../common/build/build-common/api-extractor-base.json",
|
|
4
|
-
"dtsRollup": {
|
|
5
|
-
"enabled": true
|
|
6
|
-
},
|
|
7
4
|
"messages": {
|
|
8
5
|
"extractorMessageReporting": {
|
|
9
6
|
// TODO: Add missing documentation and remove this rule override
|
|
@@ -194,7 +194,7 @@ export const getRetryDelayFromError: (error: any) => number | undefined;
|
|
|
194
194
|
// @internal
|
|
195
195
|
export const getRetryDelaySecondsFromError: (error: any) => number | undefined;
|
|
196
196
|
|
|
197
|
-
// @
|
|
197
|
+
// @alpha (undocumented)
|
|
198
198
|
export interface ICompressionStorageConfig {
|
|
199
199
|
// (undocumented)
|
|
200
200
|
algorithm: SummaryCompressionAlgorithm;
|
|
@@ -355,7 +355,7 @@ export function streamFromMessages(messagesArg: Promise<ISequencedDocumentMessag
|
|
|
355
355
|
// @internal (undocumented)
|
|
356
356
|
export function streamObserver<T>(stream: IStream<T>, handler: (value: IStreamResult<T>) => void): IStream<T>;
|
|
357
357
|
|
|
358
|
-
// @
|
|
358
|
+
// @alpha (undocumented)
|
|
359
359
|
export enum SummaryCompressionAlgorithm {
|
|
360
360
|
// (undocumented)
|
|
361
361
|
LZ4 = 1,
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* @
|
|
6
|
+
* @alpha
|
|
7
7
|
*/
|
|
8
8
|
export declare enum SummaryCompressionAlgorithm {
|
|
9
9
|
None = 0,
|
|
10
10
|
LZ4 = 1
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
* @
|
|
13
|
+
* @alpha
|
|
14
14
|
*/
|
|
15
15
|
export interface ICompressionStorageConfig {
|
|
16
16
|
algorithm: SummaryCompressionAlgorithm;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.DefaultCompressionStorageConfig = exports.SummaryCompressionAlgorithm = void 0;
|
|
8
8
|
/**
|
|
9
|
-
* @
|
|
9
|
+
* @alpha
|
|
10
10
|
*/
|
|
11
11
|
var SummaryCompressionAlgorithm;
|
|
12
12
|
(function (SummaryCompressionAlgorithm) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compressionTypes.js","sourceRoot":"","sources":["../../../src/adapters/compression/compressionTypes.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH;;GAEG;AACH,IAAY,2BAGX;AAHD,WAAY,2BAA2B;IACtC,6EAAQ,CAAA;IACR,2EAAO,CAAA;AACR,CAAC,EAHW,2BAA2B,2CAA3B,2BAA2B,QAGtC;AAUY,QAAA,+BAA+B,GAAG;IAC9C,SAAS,EAAE,2BAA2B,CAAC,GAAG;IAC1C,iBAAiB,EAAE,GAAG;CACtB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * @
|
|
1
|
+
{"version":3,"file":"compressionTypes.js","sourceRoot":"","sources":["../../../src/adapters/compression/compressionTypes.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH;;GAEG;AACH,IAAY,2BAGX;AAHD,WAAY,2BAA2B;IACtC,6EAAQ,CAAA;IACR,2EAAO,CAAA;AACR,CAAC,EAHW,2BAA2B,2CAA3B,2BAA2B,QAGtC;AAUY,QAAA,+BAA+B,GAAG;IAC9C,SAAS,EAAE,2BAA2B,CAAC,GAAG;IAC1C,iBAAiB,EAAE,GAAG;CACtB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * @alpha\n */\nexport enum SummaryCompressionAlgorithm {\n\tNone = 0,\n\tLZ4 = 1,\n}\n\n/**\n * @alpha\n */\nexport interface ICompressionStorageConfig {\n\talgorithm: SummaryCompressionAlgorithm;\n\tminSizeToCompress: number;\n}\n\nexport const DefaultCompressionStorageConfig = {\n\talgorithm: SummaryCompressionAlgorithm.LZ4,\n\tminSizeToCompress: 500,\n};\n"]}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { FetchSource } from '@fluidframework/driver-definitions';
|
|
2
2
|
import { IAttachment } from '@fluidframework/protocol-definitions';
|
|
3
|
+
import { IAuthorizationError } from '@fluidframework/driver-definitions';
|
|
3
4
|
import { IBlob } from '@fluidframework/protocol-definitions';
|
|
4
5
|
import { ICommittedProposal } from '@fluidframework/protocol-definitions';
|
|
5
6
|
import { ICreateBlobResponse } from '@fluidframework/protocol-definitions';
|
|
7
|
+
import { IDeltasFetchResult } from '@fluidframework/driver-definitions';
|
|
6
8
|
import { IDocumentAttributes } from '@fluidframework/protocol-definitions';
|
|
7
9
|
import { IDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
8
10
|
import { IDocumentServiceFactory } from '@fluidframework/driver-definitions';
|
|
9
11
|
import { IDocumentStorageService } from '@fluidframework/driver-definitions';
|
|
10
12
|
import { IDocumentStorageServicePolicies } from '@fluidframework/driver-definitions';
|
|
11
13
|
import { IDriverErrorBase } from '@fluidframework/driver-definitions';
|
|
14
|
+
import { IFluidErrorBase } from '@fluidframework/telemetry-utils';
|
|
15
|
+
import { ILocationRedirectionError } from '@fluidframework/driver-definitions';
|
|
12
16
|
import { IRequest } from '@fluidframework/core-interfaces';
|
|
13
17
|
import { IResolvedUrl } from '@fluidframework/driver-definitions';
|
|
14
18
|
import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
@@ -21,11 +25,13 @@ import { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
|
21
25
|
import { ITelemetryErrorEvent } from '@fluidframework/core-interfaces';
|
|
22
26
|
import { ITelemetryLoggerExt } from '@fluidframework/telemetry-utils';
|
|
23
27
|
import { ITelemetryProperties } from '@fluidframework/core-interfaces';
|
|
28
|
+
import { IThrottlingWarning } from '@fluidframework/driver-definitions';
|
|
24
29
|
import { ITree } from '@fluidframework/protocol-definitions';
|
|
25
30
|
import { ITreeEntry } from '@fluidframework/protocol-definitions';
|
|
26
31
|
import { IUrlResolver } from '@fluidframework/driver-definitions';
|
|
27
32
|
import { IVersion } from '@fluidframework/protocol-definitions';
|
|
28
33
|
import { LoaderCachingPolicy } from '@fluidframework/driver-definitions';
|
|
34
|
+
import { LoggingError } from '@fluidframework/telemetry-utils';
|
|
29
35
|
|
|
30
36
|
/* Excluded from this release type: applyStorageCompression */
|
|
31
37
|
|
|
@@ -75,7 +81,13 @@ import { LoaderCachingPolicy } from '@fluidframework/driver-definitions';
|
|
|
75
81
|
|
|
76
82
|
/* Excluded from this release type: IAuthorizationError */
|
|
77
83
|
|
|
78
|
-
|
|
84
|
+
/**
|
|
85
|
+
* @alpha
|
|
86
|
+
*/
|
|
87
|
+
export declare interface ICompressionStorageConfig {
|
|
88
|
+
algorithm: SummaryCompressionAlgorithm;
|
|
89
|
+
minSizeToCompress: number;
|
|
90
|
+
}
|
|
79
91
|
|
|
80
92
|
/* Excluded from this release type: IDeltasFetchResult */
|
|
81
93
|
|
|
@@ -140,7 +152,13 @@ export declare class RateLimiter {
|
|
|
140
152
|
|
|
141
153
|
/* Excluded from this release type: streamObserver */
|
|
142
154
|
|
|
143
|
-
|
|
155
|
+
/**
|
|
156
|
+
* @alpha
|
|
157
|
+
*/
|
|
158
|
+
export declare enum SummaryCompressionAlgorithm {
|
|
159
|
+
None = 0,
|
|
160
|
+
LZ4 = 1
|
|
161
|
+
}
|
|
144
162
|
|
|
145
163
|
/* Excluded from this release type: ThrottlingError */
|
|
146
164
|
|
|
@@ -1,16 +1,37 @@
|
|
|
1
|
+
import { FetchSource } from '@fluidframework/driver-definitions';
|
|
1
2
|
import { IAttachment } from '@fluidframework/protocol-definitions';
|
|
3
|
+
import { IAuthorizationError } from '@fluidframework/driver-definitions';
|
|
2
4
|
import { IBlob } from '@fluidframework/protocol-definitions';
|
|
3
5
|
import { ICommittedProposal } from '@fluidframework/protocol-definitions';
|
|
4
6
|
import { ICreateBlobResponse } from '@fluidframework/protocol-definitions';
|
|
7
|
+
import { IDeltasFetchResult } from '@fluidframework/driver-definitions';
|
|
5
8
|
import { IDocumentAttributes } from '@fluidframework/protocol-definitions';
|
|
6
9
|
import { IDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
10
|
+
import { IDocumentServiceFactory } from '@fluidframework/driver-definitions';
|
|
11
|
+
import { IDocumentStorageService } from '@fluidframework/driver-definitions';
|
|
12
|
+
import { IDocumentStorageServicePolicies } from '@fluidframework/driver-definitions';
|
|
13
|
+
import { IDriverErrorBase } from '@fluidframework/driver-definitions';
|
|
14
|
+
import { IFluidErrorBase } from '@fluidframework/telemetry-utils';
|
|
15
|
+
import { ILocationRedirectionError } from '@fluidframework/driver-definitions';
|
|
16
|
+
import { IRequest } from '@fluidframework/core-interfaces';
|
|
17
|
+
import { IResolvedUrl } from '@fluidframework/driver-definitions';
|
|
7
18
|
import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
8
19
|
import { ISnapshotTree } from '@fluidframework/protocol-definitions';
|
|
20
|
+
import { IStream } from '@fluidframework/driver-definitions';
|
|
21
|
+
import { IStreamResult } from '@fluidframework/driver-definitions';
|
|
22
|
+
import { ISummaryContext } from '@fluidframework/driver-definitions';
|
|
9
23
|
import { ISummaryHandle } from '@fluidframework/protocol-definitions';
|
|
10
24
|
import { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
25
|
+
import { ITelemetryErrorEvent } from '@fluidframework/core-interfaces';
|
|
26
|
+
import { ITelemetryLoggerExt } from '@fluidframework/telemetry-utils';
|
|
27
|
+
import { ITelemetryProperties } from '@fluidframework/core-interfaces';
|
|
28
|
+
import { IThrottlingWarning } from '@fluidframework/driver-definitions';
|
|
11
29
|
import { ITree } from '@fluidframework/protocol-definitions';
|
|
12
30
|
import { ITreeEntry } from '@fluidframework/protocol-definitions';
|
|
31
|
+
import { IUrlResolver } from '@fluidframework/driver-definitions';
|
|
13
32
|
import { IVersion } from '@fluidframework/protocol-definitions';
|
|
33
|
+
import { LoaderCachingPolicy } from '@fluidframework/driver-definitions';
|
|
34
|
+
import { LoggingError } from '@fluidframework/telemetry-utils';
|
|
14
35
|
|
|
15
36
|
/* Excluded from this release type: applyStorageCompression */
|
|
16
37
|
|
|
@@ -1,16 +1,37 @@
|
|
|
1
|
+
import { FetchSource } from '@fluidframework/driver-definitions';
|
|
1
2
|
import { IAttachment } from '@fluidframework/protocol-definitions';
|
|
3
|
+
import { IAuthorizationError } from '@fluidframework/driver-definitions';
|
|
2
4
|
import { IBlob } from '@fluidframework/protocol-definitions';
|
|
3
5
|
import { ICommittedProposal } from '@fluidframework/protocol-definitions';
|
|
4
6
|
import { ICreateBlobResponse } from '@fluidframework/protocol-definitions';
|
|
7
|
+
import { IDeltasFetchResult } from '@fluidframework/driver-definitions';
|
|
5
8
|
import { IDocumentAttributes } from '@fluidframework/protocol-definitions';
|
|
6
9
|
import { IDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
10
|
+
import { IDocumentServiceFactory } from '@fluidframework/driver-definitions';
|
|
11
|
+
import { IDocumentStorageService } from '@fluidframework/driver-definitions';
|
|
12
|
+
import { IDocumentStorageServicePolicies } from '@fluidframework/driver-definitions';
|
|
13
|
+
import { IDriverErrorBase } from '@fluidframework/driver-definitions';
|
|
14
|
+
import { IFluidErrorBase } from '@fluidframework/telemetry-utils';
|
|
15
|
+
import { ILocationRedirectionError } from '@fluidframework/driver-definitions';
|
|
16
|
+
import { IRequest } from '@fluidframework/core-interfaces';
|
|
17
|
+
import { IResolvedUrl } from '@fluidframework/driver-definitions';
|
|
7
18
|
import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
8
19
|
import { ISnapshotTree } from '@fluidframework/protocol-definitions';
|
|
20
|
+
import { IStream } from '@fluidframework/driver-definitions';
|
|
21
|
+
import { IStreamResult } from '@fluidframework/driver-definitions';
|
|
22
|
+
import { ISummaryContext } from '@fluidframework/driver-definitions';
|
|
9
23
|
import { ISummaryHandle } from '@fluidframework/protocol-definitions';
|
|
10
24
|
import { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
25
|
+
import { ITelemetryErrorEvent } from '@fluidframework/core-interfaces';
|
|
26
|
+
import { ITelemetryLoggerExt } from '@fluidframework/telemetry-utils';
|
|
27
|
+
import { ITelemetryProperties } from '@fluidframework/core-interfaces';
|
|
28
|
+
import { IThrottlingWarning } from '@fluidframework/driver-definitions';
|
|
11
29
|
import { ITree } from '@fluidframework/protocol-definitions';
|
|
12
30
|
import { ITreeEntry } from '@fluidframework/protocol-definitions';
|
|
31
|
+
import { IUrlResolver } from '@fluidframework/driver-definitions';
|
|
13
32
|
import { IVersion } from '@fluidframework/protocol-definitions';
|
|
33
|
+
import { LoaderCachingPolicy } from '@fluidframework/driver-definitions';
|
|
34
|
+
import { LoggingError } from '@fluidframework/telemetry-utils';
|
|
14
35
|
|
|
15
36
|
/* Excluded from this release type: applyStorageCompression */
|
|
16
37
|
|
|
@@ -253,7 +253,7 @@ export declare const getRetryDelayFromError: (error: any) => number | undefined;
|
|
|
253
253
|
export declare const getRetryDelaySecondsFromError: (error: any) => number | undefined;
|
|
254
254
|
|
|
255
255
|
/**
|
|
256
|
-
* @
|
|
256
|
+
* @alpha
|
|
257
257
|
*/
|
|
258
258
|
export declare interface ICompressionStorageConfig {
|
|
259
259
|
algorithm: SummaryCompressionAlgorithm;
|
|
@@ -542,7 +542,7 @@ export declare function streamFromMessages(messagesArg: Promise<ISequencedDocume
|
|
|
542
542
|
export declare function streamObserver<T>(stream: IStream<T>, handler: (value: IStreamResult<T>) => void): IStream<T>;
|
|
543
543
|
|
|
544
544
|
/**
|
|
545
|
-
* @
|
|
545
|
+
* @alpha
|
|
546
546
|
*/
|
|
547
547
|
export declare enum SummaryCompressionAlgorithm {
|
|
548
548
|
None = 0,
|
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/driver-utils";
|
|
8
|
-
export declare const pkgVersion = "2.0.0-dev.7.4.0.
|
|
8
|
+
export declare const pkgVersion = "2.0.0-dev.7.4.0.221926";
|
|
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/driver-utils";
|
|
11
|
-
exports.pkgVersion = "2.0.0-dev.7.4.0.
|
|
11
|
+
exports.pkgVersion = "2.0.0-dev.7.4.0.221926";
|
|
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,8BAA8B,CAAC;AACzC,QAAA,UAAU,GAAG,wBAAwB,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/driver-utils\";\nexport const pkgVersion = \"2.0.0-dev.7.4.0.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,8BAA8B,CAAC;AACzC,QAAA,UAAU,GAAG,wBAAwB,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/driver-utils\";\nexport const pkgVersion = \"2.0.0-dev.7.4.0.221926\";\n"]}
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
/**
|
|
6
|
-
* @
|
|
6
|
+
* @alpha
|
|
7
7
|
*/
|
|
8
8
|
export declare enum SummaryCompressionAlgorithm {
|
|
9
9
|
None = 0,
|
|
10
10
|
LZ4 = 1
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
* @
|
|
13
|
+
* @alpha
|
|
14
14
|
*/
|
|
15
15
|
export interface ICompressionStorageConfig {
|
|
16
16
|
algorithm: SummaryCompressionAlgorithm;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compressionTypes.js","sourceRoot":"","sources":["../../../src/adapters/compression/compressionTypes.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,CAAN,IAAY,2BAGX;AAHD,WAAY,2BAA2B;IACtC,6EAAQ,CAAA;IACR,2EAAO,CAAA;AACR,CAAC,EAHW,2BAA2B,KAA3B,2BAA2B,QAGtC;AAUD,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC9C,SAAS,EAAE,2BAA2B,CAAC,GAAG;IAC1C,iBAAiB,EAAE,GAAG;CACtB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * @
|
|
1
|
+
{"version":3,"file":"compressionTypes.js","sourceRoot":"","sources":["../../../src/adapters/compression/compressionTypes.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,CAAN,IAAY,2BAGX;AAHD,WAAY,2BAA2B;IACtC,6EAAQ,CAAA;IACR,2EAAO,CAAA;AACR,CAAC,EAHW,2BAA2B,KAA3B,2BAA2B,QAGtC;AAUD,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC9C,SAAS,EAAE,2BAA2B,CAAC,GAAG;IAC1C,iBAAiB,EAAE,GAAG;CACtB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\n/**\n * @alpha\n */\nexport enum SummaryCompressionAlgorithm {\n\tNone = 0,\n\tLZ4 = 1,\n}\n\n/**\n * @alpha\n */\nexport interface ICompressionStorageConfig {\n\talgorithm: SummaryCompressionAlgorithm;\n\tminSizeToCompress: number;\n}\n\nexport const DefaultCompressionStorageConfig = {\n\talgorithm: SummaryCompressionAlgorithm.LZ4,\n\tminSizeToCompress: 500,\n};\n"]}
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { FetchSource } from '@fluidframework/driver-definitions';
|
|
2
2
|
import { IAttachment } from '@fluidframework/protocol-definitions';
|
|
3
|
+
import { IAuthorizationError } from '@fluidframework/driver-definitions';
|
|
3
4
|
import { IBlob } from '@fluidframework/protocol-definitions';
|
|
4
5
|
import { ICommittedProposal } from '@fluidframework/protocol-definitions';
|
|
5
6
|
import { ICreateBlobResponse } from '@fluidframework/protocol-definitions';
|
|
7
|
+
import { IDeltasFetchResult } from '@fluidframework/driver-definitions';
|
|
6
8
|
import { IDocumentAttributes } from '@fluidframework/protocol-definitions';
|
|
7
9
|
import { IDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
8
10
|
import { IDocumentServiceFactory } from '@fluidframework/driver-definitions';
|
|
9
11
|
import { IDocumentStorageService } from '@fluidframework/driver-definitions';
|
|
10
12
|
import { IDocumentStorageServicePolicies } from '@fluidframework/driver-definitions';
|
|
11
13
|
import { IDriverErrorBase } from '@fluidframework/driver-definitions';
|
|
14
|
+
import { IFluidErrorBase } from '@fluidframework/telemetry-utils';
|
|
15
|
+
import { ILocationRedirectionError } from '@fluidframework/driver-definitions';
|
|
12
16
|
import { IRequest } from '@fluidframework/core-interfaces';
|
|
13
17
|
import { IResolvedUrl } from '@fluidframework/driver-definitions';
|
|
14
18
|
import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
@@ -21,11 +25,13 @@ import { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
|
21
25
|
import { ITelemetryErrorEvent } from '@fluidframework/core-interfaces';
|
|
22
26
|
import { ITelemetryLoggerExt } from '@fluidframework/telemetry-utils';
|
|
23
27
|
import { ITelemetryProperties } from '@fluidframework/core-interfaces';
|
|
28
|
+
import { IThrottlingWarning } from '@fluidframework/driver-definitions';
|
|
24
29
|
import { ITree } from '@fluidframework/protocol-definitions';
|
|
25
30
|
import { ITreeEntry } from '@fluidframework/protocol-definitions';
|
|
26
31
|
import { IUrlResolver } from '@fluidframework/driver-definitions';
|
|
27
32
|
import { IVersion } from '@fluidframework/protocol-definitions';
|
|
28
33
|
import { LoaderCachingPolicy } from '@fluidframework/driver-definitions';
|
|
34
|
+
import { LoggingError } from '@fluidframework/telemetry-utils';
|
|
29
35
|
|
|
30
36
|
/* Excluded from this release type: applyStorageCompression */
|
|
31
37
|
|
|
@@ -75,7 +81,13 @@ import { LoaderCachingPolicy } from '@fluidframework/driver-definitions';
|
|
|
75
81
|
|
|
76
82
|
/* Excluded from this release type: IAuthorizationError */
|
|
77
83
|
|
|
78
|
-
|
|
84
|
+
/**
|
|
85
|
+
* @alpha
|
|
86
|
+
*/
|
|
87
|
+
export declare interface ICompressionStorageConfig {
|
|
88
|
+
algorithm: SummaryCompressionAlgorithm;
|
|
89
|
+
minSizeToCompress: number;
|
|
90
|
+
}
|
|
79
91
|
|
|
80
92
|
/* Excluded from this release type: IDeltasFetchResult */
|
|
81
93
|
|
|
@@ -140,7 +152,13 @@ export declare class RateLimiter {
|
|
|
140
152
|
|
|
141
153
|
/* Excluded from this release type: streamObserver */
|
|
142
154
|
|
|
143
|
-
|
|
155
|
+
/**
|
|
156
|
+
* @alpha
|
|
157
|
+
*/
|
|
158
|
+
export declare enum SummaryCompressionAlgorithm {
|
|
159
|
+
None = 0,
|
|
160
|
+
LZ4 = 1
|
|
161
|
+
}
|
|
144
162
|
|
|
145
163
|
/* Excluded from this release type: ThrottlingError */
|
|
146
164
|
|
|
@@ -1,16 +1,37 @@
|
|
|
1
|
+
import { FetchSource } from '@fluidframework/driver-definitions';
|
|
1
2
|
import { IAttachment } from '@fluidframework/protocol-definitions';
|
|
3
|
+
import { IAuthorizationError } from '@fluidframework/driver-definitions';
|
|
2
4
|
import { IBlob } from '@fluidframework/protocol-definitions';
|
|
3
5
|
import { ICommittedProposal } from '@fluidframework/protocol-definitions';
|
|
4
6
|
import { ICreateBlobResponse } from '@fluidframework/protocol-definitions';
|
|
7
|
+
import { IDeltasFetchResult } from '@fluidframework/driver-definitions';
|
|
5
8
|
import { IDocumentAttributes } from '@fluidframework/protocol-definitions';
|
|
6
9
|
import { IDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
10
|
+
import { IDocumentServiceFactory } from '@fluidframework/driver-definitions';
|
|
11
|
+
import { IDocumentStorageService } from '@fluidframework/driver-definitions';
|
|
12
|
+
import { IDocumentStorageServicePolicies } from '@fluidframework/driver-definitions';
|
|
13
|
+
import { IDriverErrorBase } from '@fluidframework/driver-definitions';
|
|
14
|
+
import { IFluidErrorBase } from '@fluidframework/telemetry-utils';
|
|
15
|
+
import { ILocationRedirectionError } from '@fluidframework/driver-definitions';
|
|
16
|
+
import { IRequest } from '@fluidframework/core-interfaces';
|
|
17
|
+
import { IResolvedUrl } from '@fluidframework/driver-definitions';
|
|
7
18
|
import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
8
19
|
import { ISnapshotTree } from '@fluidframework/protocol-definitions';
|
|
20
|
+
import { IStream } from '@fluidframework/driver-definitions';
|
|
21
|
+
import { IStreamResult } from '@fluidframework/driver-definitions';
|
|
22
|
+
import { ISummaryContext } from '@fluidframework/driver-definitions';
|
|
9
23
|
import { ISummaryHandle } from '@fluidframework/protocol-definitions';
|
|
10
24
|
import { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
25
|
+
import { ITelemetryErrorEvent } from '@fluidframework/core-interfaces';
|
|
26
|
+
import { ITelemetryLoggerExt } from '@fluidframework/telemetry-utils';
|
|
27
|
+
import { ITelemetryProperties } from '@fluidframework/core-interfaces';
|
|
28
|
+
import { IThrottlingWarning } from '@fluidframework/driver-definitions';
|
|
11
29
|
import { ITree } from '@fluidframework/protocol-definitions';
|
|
12
30
|
import { ITreeEntry } from '@fluidframework/protocol-definitions';
|
|
31
|
+
import { IUrlResolver } from '@fluidframework/driver-definitions';
|
|
13
32
|
import { IVersion } from '@fluidframework/protocol-definitions';
|
|
33
|
+
import { LoaderCachingPolicy } from '@fluidframework/driver-definitions';
|
|
34
|
+
import { LoggingError } from '@fluidframework/telemetry-utils';
|
|
14
35
|
|
|
15
36
|
/* Excluded from this release type: applyStorageCompression */
|
|
16
37
|
|
|
@@ -1,16 +1,37 @@
|
|
|
1
|
+
import { FetchSource } from '@fluidframework/driver-definitions';
|
|
1
2
|
import { IAttachment } from '@fluidframework/protocol-definitions';
|
|
3
|
+
import { IAuthorizationError } from '@fluidframework/driver-definitions';
|
|
2
4
|
import { IBlob } from '@fluidframework/protocol-definitions';
|
|
3
5
|
import { ICommittedProposal } from '@fluidframework/protocol-definitions';
|
|
4
6
|
import { ICreateBlobResponse } from '@fluidframework/protocol-definitions';
|
|
7
|
+
import { IDeltasFetchResult } from '@fluidframework/driver-definitions';
|
|
5
8
|
import { IDocumentAttributes } from '@fluidframework/protocol-definitions';
|
|
6
9
|
import { IDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
10
|
+
import { IDocumentServiceFactory } from '@fluidframework/driver-definitions';
|
|
11
|
+
import { IDocumentStorageService } from '@fluidframework/driver-definitions';
|
|
12
|
+
import { IDocumentStorageServicePolicies } from '@fluidframework/driver-definitions';
|
|
13
|
+
import { IDriverErrorBase } from '@fluidframework/driver-definitions';
|
|
14
|
+
import { IFluidErrorBase } from '@fluidframework/telemetry-utils';
|
|
15
|
+
import { ILocationRedirectionError } from '@fluidframework/driver-definitions';
|
|
16
|
+
import { IRequest } from '@fluidframework/core-interfaces';
|
|
17
|
+
import { IResolvedUrl } from '@fluidframework/driver-definitions';
|
|
7
18
|
import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
8
19
|
import { ISnapshotTree } from '@fluidframework/protocol-definitions';
|
|
20
|
+
import { IStream } from '@fluidframework/driver-definitions';
|
|
21
|
+
import { IStreamResult } from '@fluidframework/driver-definitions';
|
|
22
|
+
import { ISummaryContext } from '@fluidframework/driver-definitions';
|
|
9
23
|
import { ISummaryHandle } from '@fluidframework/protocol-definitions';
|
|
10
24
|
import { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
25
|
+
import { ITelemetryErrorEvent } from '@fluidframework/core-interfaces';
|
|
26
|
+
import { ITelemetryLoggerExt } from '@fluidframework/telemetry-utils';
|
|
27
|
+
import { ITelemetryProperties } from '@fluidframework/core-interfaces';
|
|
28
|
+
import { IThrottlingWarning } from '@fluidframework/driver-definitions';
|
|
11
29
|
import { ITree } from '@fluidframework/protocol-definitions';
|
|
12
30
|
import { ITreeEntry } from '@fluidframework/protocol-definitions';
|
|
31
|
+
import { IUrlResolver } from '@fluidframework/driver-definitions';
|
|
13
32
|
import { IVersion } from '@fluidframework/protocol-definitions';
|
|
33
|
+
import { LoaderCachingPolicy } from '@fluidframework/driver-definitions';
|
|
34
|
+
import { LoggingError } from '@fluidframework/telemetry-utils';
|
|
14
35
|
|
|
15
36
|
/* Excluded from this release type: applyStorageCompression */
|
|
16
37
|
|
|
@@ -253,7 +253,7 @@ export declare const getRetryDelayFromError: (error: any) => number | undefined;
|
|
|
253
253
|
export declare const getRetryDelaySecondsFromError: (error: any) => number | undefined;
|
|
254
254
|
|
|
255
255
|
/**
|
|
256
|
-
* @
|
|
256
|
+
* @alpha
|
|
257
257
|
*/
|
|
258
258
|
export declare interface ICompressionStorageConfig {
|
|
259
259
|
algorithm: SummaryCompressionAlgorithm;
|
|
@@ -542,7 +542,7 @@ export declare function streamFromMessages(messagesArg: Promise<ISequencedDocume
|
|
|
542
542
|
export declare function streamObserver<T>(stream: IStream<T>, handler: (value: IStreamResult<T>) => void): IStream<T>;
|
|
543
543
|
|
|
544
544
|
/**
|
|
545
|
-
* @
|
|
545
|
+
* @alpha
|
|
546
546
|
*/
|
|
547
547
|
export declare enum SummaryCompressionAlgorithm {
|
|
548
548
|
None = 0,
|
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/driver-utils";
|
|
8
|
-
export declare const pkgVersion = "2.0.0-dev.7.4.0.
|
|
8
|
+
export declare const pkgVersion = "2.0.0-dev.7.4.0.221926";
|
|
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/driver-utils";
|
|
8
|
-
export const pkgVersion = "2.0.0-dev.7.4.0.
|
|
8
|
+
export const pkgVersion = "2.0.0-dev.7.4.0.221926";
|
|
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,8BAA8B,CAAC;AACtD,MAAM,CAAC,MAAM,UAAU,GAAG,wBAAwB,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/driver-utils\";\nexport const pkgVersion = \"2.0.0-dev.7.4.0.
|
|
1
|
+
{"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,8BAA8B,CAAC;AACtD,MAAM,CAAC,MAAM,UAAU,GAAG,wBAAwB,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/driver-utils\";\nexport const pkgVersion = \"2.0.0-dev.7.4.0.221926\";\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/driver-utils",
|
|
3
|
-
"version": "2.0.0-dev.7.4.0.
|
|
3
|
+
"version": "2.0.0-dev.7.4.0.221926",
|
|
4
4
|
"description": "Collection of utility functions for Fluid drivers",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -35,26 +35,27 @@
|
|
|
35
35
|
"temp-directory": "nyc/.nyc_output"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@fluid-internal/client-utils": "2.0.0-dev.7.4.0.
|
|
39
|
-
"@fluidframework/core-interfaces": "2.0.0-dev.7.4.0.
|
|
40
|
-
"@fluidframework/core-utils": "2.0.0-dev.7.4.0.
|
|
41
|
-
"@fluidframework/driver-definitions": "2.0.0-dev.7.4.0.
|
|
38
|
+
"@fluid-internal/client-utils": "2.0.0-dev.7.4.0.221926",
|
|
39
|
+
"@fluidframework/core-interfaces": "2.0.0-dev.7.4.0.221926",
|
|
40
|
+
"@fluidframework/core-utils": "2.0.0-dev.7.4.0.221926",
|
|
41
|
+
"@fluidframework/driver-definitions": "2.0.0-dev.7.4.0.221926",
|
|
42
42
|
"@fluidframework/gitresources": "^2.0.1",
|
|
43
43
|
"@fluidframework/protocol-base": "^2.0.1",
|
|
44
44
|
"@fluidframework/protocol-definitions": "^3.0.0",
|
|
45
|
-
"@fluidframework/telemetry-utils": "2.0.0-dev.7.4.0.
|
|
45
|
+
"@fluidframework/telemetry-utils": "2.0.0-dev.7.4.0.221926",
|
|
46
46
|
"axios": "^0.26.0",
|
|
47
47
|
"lz4js": "^0.2.0",
|
|
48
48
|
"url": "^0.11.0",
|
|
49
49
|
"uuid": "^9.0.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
+
"@arethetypeswrong/cli": "^0.13.3",
|
|
52
53
|
"@fluid-tools/build-cli": "^0.28.0",
|
|
53
54
|
"@fluidframework/build-common": "^2.0.3",
|
|
54
55
|
"@fluidframework/build-tools": "^0.28.0",
|
|
55
56
|
"@fluidframework/driver-utils-previous": "npm:@fluidframework/driver-utils@2.0.0-internal.7.2.0",
|
|
56
57
|
"@fluidframework/eslint-config-fluid": "^3.1.0",
|
|
57
|
-
"@fluidframework/mocha-test-setup": "2.0.0-dev.7.4.0.
|
|
58
|
+
"@fluidframework/mocha-test-setup": "2.0.0-dev.7.4.0.221926",
|
|
58
59
|
"@microsoft/api-extractor": "^7.38.3",
|
|
59
60
|
"@types/mocha": "^9.1.1",
|
|
60
61
|
"@types/node": "^18.19.0",
|
|
@@ -98,6 +99,7 @@
|
|
|
98
99
|
"build:esnext": "tsc --project ./tsconfig.esnext.json",
|
|
99
100
|
"build:genver": "gen-version",
|
|
100
101
|
"build:test": "tsc --project ./src/test/tsconfig.json",
|
|
102
|
+
"check:are-the-types-wrong": "attw --pack",
|
|
101
103
|
"check:release-tags": "api-extractor run --local --config ./api-extractor-lint.json",
|
|
102
104
|
"ci:build:docs": "api-extractor run",
|
|
103
105
|
"clean": "rimraf --glob dist lib \"**/*.tsbuildinfo\" \"**/*.build.log\" _api-extractor-temp nyc",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* @
|
|
7
|
+
* @alpha
|
|
8
8
|
*/
|
|
9
9
|
export enum SummaryCompressionAlgorithm {
|
|
10
10
|
None = 0,
|
|
@@ -12,7 +12,7 @@ export enum SummaryCompressionAlgorithm {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* @
|
|
15
|
+
* @alpha
|
|
16
16
|
*/
|
|
17
17
|
export interface ICompressionStorageConfig {
|
|
18
18
|
algorithm: SummaryCompressionAlgorithm;
|
package/src/packageVersion.ts
CHANGED