@fluidframework/driver-definitions 2.0.0-dev-rc.1.0.0.232845 → 2.0.0-dev-rc.2.0.0.246488
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/.eslintrc.cjs +5 -1
- package/CHANGELOG.md +28 -0
- package/{api-extractor-esm.json → api-extractor-cjs.json} +5 -1
- package/api-extractor.json +1 -1
- package/api-report/driver-definitions.api.md +23 -23
- package/dist/driver-definitions-alpha.d.ts +32 -21
- package/dist/driver-definitions-beta.d.ts +21 -20
- package/dist/driver-definitions-public.d.ts +21 -20
- package/dist/driver-definitions-untrimmed.d.ts +32 -21
- package/dist/driverError.d.ts +2 -1
- package/dist/driverError.d.ts.map +1 -1
- package/dist/driverError.js.map +1 -1
- package/dist/index.d.ts +6 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/package.json +3 -0
- package/dist/storage.d.ts +15 -5
- package/dist/storage.d.ts.map +1 -1
- package/dist/storage.js.map +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/dist/urlResolver.d.ts +1 -1
- package/dist/urlResolver.d.ts.map +1 -1
- package/dist/urlResolver.js +4 -0
- package/dist/urlResolver.js.map +1 -1
- package/lib/{driver-definitions-alpha.d.mts → driver-definitions-alpha.d.ts} +32 -21
- package/lib/{driver-definitions-beta.d.mts → driver-definitions-beta.d.ts} +21 -20
- package/lib/{driver-definitions-public.d.mts → driver-definitions-public.d.ts} +21 -20
- package/lib/{driver-definitions-untrimmed.d.mts → driver-definitions-untrimmed.d.ts} +32 -21
- package/lib/{driverError.d.mts → driverError.d.ts} +3 -2
- package/lib/driverError.d.ts.map +1 -0
- package/lib/{driverError.mjs → driverError.js} +1 -1
- package/lib/driverError.js.map +1 -0
- package/lib/index.d.ts +11 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +8 -0
- package/lib/index.js.map +1 -0
- package/lib/{storage.d.mts → storage.d.ts} +16 -6
- package/lib/storage.d.ts.map +1 -0
- package/lib/{storage.mjs → storage.js} +1 -1
- package/lib/storage.js.map +1 -0
- package/lib/test/types/{maximumCacheDurationPolicy.spec.d.mts → maximumCacheDurationPolicy.spec.d.ts} +1 -1
- package/lib/test/types/maximumCacheDurationPolicy.spec.d.ts.map +1 -0
- package/lib/test/types/{maximumCacheDurationPolicy.spec.mjs → maximumCacheDurationPolicy.spec.js} +1 -1
- package/lib/test/types/maximumCacheDurationPolicy.spec.js.map +1 -0
- package/lib/test/types/{validateDriverDefinitionsPrevious.generated.d.mts → validateDriverDefinitionsPrevious.generated.d.ts} +1 -1
- package/lib/test/types/validateDriverDefinitionsPrevious.generated.d.ts.map +1 -0
- package/lib/test/types/{validateDriverDefinitionsPrevious.generated.mjs → validateDriverDefinitionsPrevious.generated.js} +4 -2
- package/lib/test/types/validateDriverDefinitionsPrevious.generated.js.map +1 -0
- package/lib/{urlResolver.d.mts → urlResolver.d.ts} +6 -2
- package/lib/urlResolver.d.ts.map +1 -0
- package/lib/{urlResolver.mjs → urlResolver.js} +5 -1
- package/lib/urlResolver.js.map +1 -0
- package/package.json +49 -17
- package/src/driverError.ts +2 -1
- package/src/index.ts +9 -10
- package/src/storage.ts +17 -6
- package/src/urlResolver.ts +4 -2
- package/tsconfig.cjs.json +7 -0
- package/tsconfig.json +2 -5
- package/lib/driverError.d.mts.map +0 -1
- package/lib/driverError.mjs.map +0 -1
- package/lib/index.d.mts +0 -8
- package/lib/index.d.mts.map +0 -1
- package/lib/index.mjs +0 -8
- package/lib/index.mjs.map +0 -1
- package/lib/storage.d.mts.map +0 -1
- package/lib/storage.mjs.map +0 -1
- package/lib/test/types/maximumCacheDurationPolicy.spec.d.mts.map +0 -1
- package/lib/test/types/maximumCacheDurationPolicy.spec.mjs.map +0 -1
- package/lib/test/types/validateDriverDefinitionsPrevious.generated.d.mts.map +0 -1
- package/lib/test/types/validateDriverDefinitionsPrevious.generated.mjs.map +0 -1
- package/lib/urlResolver.d.mts.map +0 -1
- package/lib/urlResolver.mjs.map +0 -1
package/.eslintrc.cjs
CHANGED
|
@@ -4,5 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
module.exports = {
|
|
7
|
-
extends: [require.resolve("@fluidframework/eslint-config-fluid"), "prettier"],
|
|
7
|
+
extends: [require.resolve("@fluidframework/eslint-config-fluid/strict"), "prettier"],
|
|
8
|
+
rules: {
|
|
9
|
+
// TODO: Enabling this may require breaking changes.
|
|
10
|
+
"@typescript-eslint/consistent-indexed-object-style": "off",
|
|
11
|
+
},
|
|
8
12
|
};
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @fluidframework/driver-definitions
|
|
2
2
|
|
|
3
|
+
## 2.0.0-rc.2.0.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- driver-definitions: Deprecate `ISnapshotContents` ([#19314](https://github.com/microsoft/FluidFramework/issues/19314)) [fc731b69de](https://github.com/microsoft/FluidFramework/commits/fc731b69deed4a2987e9b97d8918492d689bafbc)
|
|
8
|
+
|
|
9
|
+
`ISnapshotContents` is deprecated. It has been replaced with `ISnapshot`.
|
|
10
|
+
|
|
11
|
+
- driver-definitions: repositoryUrl removed from IDocumentStorageService ([#19522](https://github.com/microsoft/FluidFramework/issues/19522)) [90eb3c9d33](https://github.com/microsoft/FluidFramework/commits/90eb3c9d33d80e24caa1393a50f414c5602f6aa3)
|
|
12
|
+
|
|
13
|
+
The `repositoryUrl` member of `IDocumentStorageService` was unused and always equal to the empty string. It has been removed.
|
|
14
|
+
|
|
15
|
+
- Deprecated error-related enums have been removed ([#19067](https://github.com/microsoft/FluidFramework/issues/19067)) [59793302e5](https://github.com/microsoft/FluidFramework/commits/59793302e56784cfb6ace0e6469345f3565b3312)
|
|
16
|
+
|
|
17
|
+
Error-related enums `ContainerErrorType`, `DriverErrorType`, `OdspErrorType` and `RouterliciousErrorType` were previously
|
|
18
|
+
deprecated and are now removed. There are replacement object-based enumerations of `ContainerErrorTypes`,
|
|
19
|
+
`DriverErrorTypes`, `OdspErrorTypes` and `RouterliciousErrorTypes`. Refer to the release notes of [Fluid Framework version
|
|
20
|
+
2.0.0-internal.7.0.0](https://github.com/microsoft/FluidFramework/releases/tag/client_v2.0.0-internal.7.0.0) for details
|
|
21
|
+
on the replacements.
|
|
22
|
+
|
|
23
|
+
- container-definitions: Added containerMetadata prop on IContainer interface ([#19142](https://github.com/microsoft/FluidFramework/issues/19142)) [d0d77f3516](https://github.com/microsoft/FluidFramework/commits/d0d77f3516d67f3c9faedb47b20dbd4e309c3bc2)
|
|
24
|
+
|
|
25
|
+
Added `containerMetadata` prop on IContainer interface.
|
|
26
|
+
|
|
27
|
+
- runtime-definitions: Moved ISignalEnvelope interface to core-interfaces ([#19142](https://github.com/microsoft/FluidFramework/issues/19142)) [d0d77f3516](https://github.com/microsoft/FluidFramework/commits/d0d77f3516d67f3c9faedb47b20dbd4e309c3bc2)
|
|
28
|
+
|
|
29
|
+
The `ISignalEnvelope` interface has been moved to the @fluidframework/core-interfaces package.
|
|
30
|
+
|
|
3
31
|
## 2.0.0-rc.1.0.0
|
|
4
32
|
|
|
5
33
|
### Minor Changes
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
|
|
3
|
-
"extends": "../../../common/build/build-common/api-extractor-base
|
|
3
|
+
"extends": "../../../common/build/build-common/api-extractor-base.cjs.primary.json",
|
|
4
|
+
// CJS is actually secondary; so, no report.
|
|
5
|
+
"apiReport": {
|
|
6
|
+
"enabled": false
|
|
7
|
+
}
|
|
4
8
|
}
|
package/api-extractor.json
CHANGED
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
```ts
|
|
6
6
|
|
|
7
|
-
import { ConnectionMode } from '@fluidframework/protocol-definitions';
|
|
8
|
-
import { IClient } from '@fluidframework/protocol-definitions';
|
|
9
|
-
import { IClientConfiguration } from '@fluidframework/protocol-definitions';
|
|
10
|
-
import { ICreateBlobResponse } from '@fluidframework/protocol-definitions';
|
|
11
|
-
import { IDisposable } from '@fluidframework/core-interfaces';
|
|
12
|
-
import { IDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
13
|
-
import { IErrorEvent } from '@fluidframework/core-interfaces';
|
|
14
|
-
import { IEvent } from '@fluidframework/core-interfaces';
|
|
15
|
-
import { IEventProvider } from '@fluidframework/core-interfaces';
|
|
16
|
-
import { INack } from '@fluidframework/protocol-definitions';
|
|
17
|
-
import { IRequest } from '@fluidframework/core-interfaces';
|
|
18
|
-
import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
19
|
-
import { ISignalClient } from '@fluidframework/protocol-definitions';
|
|
20
|
-
import { ISignalMessage } from '@fluidframework/protocol-definitions';
|
|
21
|
-
import { ISnapshotTree } from '@fluidframework/protocol-definitions';
|
|
22
|
-
import { ISummaryHandle } from '@fluidframework/protocol-definitions';
|
|
23
|
-
import { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
24
|
-
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
25
|
-
import { ITokenClaims } from '@fluidframework/protocol-definitions';
|
|
26
|
-
import { IVersion } from '@fluidframework/protocol-definitions';
|
|
7
|
+
import type { ConnectionMode } from '@fluidframework/protocol-definitions';
|
|
8
|
+
import type { IClient } from '@fluidframework/protocol-definitions';
|
|
9
|
+
import type { IClientConfiguration } from '@fluidframework/protocol-definitions';
|
|
10
|
+
import type { ICreateBlobResponse } from '@fluidframework/protocol-definitions';
|
|
11
|
+
import type { IDisposable } from '@fluidframework/core-interfaces';
|
|
12
|
+
import type { IDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
13
|
+
import type { IErrorEvent } from '@fluidframework/core-interfaces';
|
|
14
|
+
import type { IEvent } from '@fluidframework/core-interfaces';
|
|
15
|
+
import type { IEventProvider } from '@fluidframework/core-interfaces';
|
|
16
|
+
import type { INack } from '@fluidframework/protocol-definitions';
|
|
17
|
+
import type { IRequest } from '@fluidframework/core-interfaces';
|
|
18
|
+
import type { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
19
|
+
import type { ISignalClient } from '@fluidframework/protocol-definitions';
|
|
20
|
+
import type { ISignalMessage } from '@fluidframework/protocol-definitions';
|
|
21
|
+
import type { ISnapshotTree } from '@fluidframework/protocol-definitions';
|
|
22
|
+
import type { ISummaryHandle } from '@fluidframework/protocol-definitions';
|
|
23
|
+
import type { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
24
|
+
import type { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
25
|
+
import type { ITokenClaims } from '@fluidframework/protocol-definitions';
|
|
26
|
+
import type { IVersion } from '@fluidframework/protocol-definitions';
|
|
27
27
|
|
|
28
28
|
// @alpha (undocumented)
|
|
29
29
|
export type DriverError = IThrottlingWarning | IGenericNetworkError | IAuthorizationError | ILocationRedirectionError | IDriverBasicError;
|
|
@@ -50,7 +50,7 @@ export const DriverErrorTypes: {
|
|
|
50
50
|
readonly usageError: "usageError";
|
|
51
51
|
};
|
|
52
52
|
|
|
53
|
-
// @public
|
|
53
|
+
// @public
|
|
54
54
|
export type DriverErrorTypes = (typeof DriverErrorTypes)[keyof typeof DriverErrorTypes];
|
|
55
55
|
|
|
56
56
|
// @alpha
|
|
@@ -188,8 +188,6 @@ export interface IDocumentStorageService extends Partial<IDisposable> {
|
|
|
188
188
|
getVersions(versionId: string | null, count: number, scenarioName?: string, fetchSource?: FetchSource): Promise<IVersion[]>;
|
|
189
189
|
readonly policies?: IDocumentStorageServicePolicies;
|
|
190
190
|
readBlob(id: string): Promise<ArrayBufferLike>;
|
|
191
|
-
// (undocumented)
|
|
192
|
-
repositoryUrl: string;
|
|
193
191
|
uploadSummaryWithContext(summary: ISummaryTree, context: ISummaryContext): Promise<string>;
|
|
194
192
|
}
|
|
195
193
|
|
|
@@ -274,6 +272,8 @@ export interface ISnapshot {
|
|
|
274
272
|
// @alpha
|
|
275
273
|
export interface ISnapshotFetchOptions {
|
|
276
274
|
cacheSnapshot?: boolean;
|
|
275
|
+
fetchSource?: FetchSource;
|
|
276
|
+
loadingGroupIds?: string[];
|
|
277
277
|
scenarioName?: string;
|
|
278
278
|
versionId?: string;
|
|
279
279
|
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { ConnectionMode } from '@fluidframework/protocol-definitions';
|
|
2
|
-
import { IClient } from '@fluidframework/protocol-definitions';
|
|
3
|
-
import { IClientConfiguration } from '@fluidframework/protocol-definitions';
|
|
4
|
-
import { ICreateBlobResponse } from '@fluidframework/protocol-definitions';
|
|
5
|
-
import { IDisposable } from '@fluidframework/core-interfaces';
|
|
6
|
-
import { IDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
7
|
-
import { IErrorEvent } from '@fluidframework/core-interfaces';
|
|
8
|
-
import { IEvent } from '@fluidframework/core-interfaces';
|
|
9
|
-
import { IEventProvider } from '@fluidframework/core-interfaces';
|
|
10
|
-
import { INack } from '@fluidframework/protocol-definitions';
|
|
11
|
-
import { IRequest } from '@fluidframework/core-interfaces';
|
|
12
|
-
import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
13
|
-
import { ISignalClient } from '@fluidframework/protocol-definitions';
|
|
14
|
-
import { ISignalMessage } from '@fluidframework/protocol-definitions';
|
|
15
|
-
import { ISnapshotTree } from '@fluidframework/protocol-definitions';
|
|
16
|
-
import { ISummaryHandle } from '@fluidframework/protocol-definitions';
|
|
17
|
-
import { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
18
|
-
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
19
|
-
import { ITokenClaims } from '@fluidframework/protocol-definitions';
|
|
20
|
-
import { IVersion } from '@fluidframework/protocol-definitions';
|
|
1
|
+
import type { ConnectionMode } from '@fluidframework/protocol-definitions';
|
|
2
|
+
import type { IClient } from '@fluidframework/protocol-definitions';
|
|
3
|
+
import type { IClientConfiguration } from '@fluidframework/protocol-definitions';
|
|
4
|
+
import type { ICreateBlobResponse } from '@fluidframework/protocol-definitions';
|
|
5
|
+
import type { IDisposable } from '@fluidframework/core-interfaces';
|
|
6
|
+
import type { IDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
7
|
+
import type { IErrorEvent } from '@fluidframework/core-interfaces';
|
|
8
|
+
import type { IEvent } from '@fluidframework/core-interfaces';
|
|
9
|
+
import type { IEventProvider } from '@fluidframework/core-interfaces';
|
|
10
|
+
import type { INack } from '@fluidframework/protocol-definitions';
|
|
11
|
+
import type { IRequest } from '@fluidframework/core-interfaces';
|
|
12
|
+
import type { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
13
|
+
import type { ISignalClient } from '@fluidframework/protocol-definitions';
|
|
14
|
+
import type { ISignalMessage } from '@fluidframework/protocol-definitions';
|
|
15
|
+
import type { ISnapshotTree } from '@fluidframework/protocol-definitions';
|
|
16
|
+
import type { ISummaryHandle } from '@fluidframework/protocol-definitions';
|
|
17
|
+
import type { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
18
|
+
import type { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
19
|
+
import type { ITokenClaims } from '@fluidframework/protocol-definitions';
|
|
20
|
+
import type { IVersion } from '@fluidframework/protocol-definitions';
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* @alpha
|
|
@@ -103,6 +103,7 @@ export declare const DriverErrorTypes: {
|
|
|
103
103
|
};
|
|
104
104
|
|
|
105
105
|
/**
|
|
106
|
+
* {@inheritDoc (DriverErrorTypes:variable)}
|
|
106
107
|
* @public
|
|
107
108
|
*/
|
|
108
109
|
export declare type DriverErrorTypes = (typeof DriverErrorTypes)[keyof typeof DriverErrorTypes];
|
|
@@ -382,7 +383,6 @@ export declare interface IDocumentServicePolicies {
|
|
|
382
383
|
* @alpha
|
|
383
384
|
*/
|
|
384
385
|
export declare interface IDocumentStorageService extends Partial<IDisposable> {
|
|
385
|
-
repositoryUrl: string;
|
|
386
386
|
/**
|
|
387
387
|
* Policies implemented/instructed by driver.
|
|
388
388
|
*/
|
|
@@ -571,6 +571,17 @@ export declare interface ISnapshotFetchOptions {
|
|
|
571
571
|
* container, so specifying version is not necessary for storage services.
|
|
572
572
|
*/
|
|
573
573
|
versionId?: string;
|
|
574
|
+
/**
|
|
575
|
+
* List of loading groupId of datastores for which the snapshot needs to be fetched. If not provided, content with
|
|
576
|
+
* default/missing groupIDs will be requested from the service. It is upto the service, to include snapshot for
|
|
577
|
+
* content with groupIds or not. Don't provide anything here for fetching content for initial container boot.
|
|
578
|
+
*/
|
|
579
|
+
loadingGroupIds?: string[];
|
|
580
|
+
/**
|
|
581
|
+
* Specify if you want default behavior of the driver to fetch the snapshot like lets say simultaneously fetch from
|
|
582
|
+
* network and cache or specify FetchSource.noCache to just fetch from network.
|
|
583
|
+
*/
|
|
584
|
+
fetchSource?: FetchSource;
|
|
574
585
|
}
|
|
575
586
|
|
|
576
587
|
/**
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { ConnectionMode } from '@fluidframework/protocol-definitions';
|
|
2
|
-
import { IClient } from '@fluidframework/protocol-definitions';
|
|
3
|
-
import { IClientConfiguration } from '@fluidframework/protocol-definitions';
|
|
4
|
-
import { ICreateBlobResponse } from '@fluidframework/protocol-definitions';
|
|
5
|
-
import { IDisposable } from '@fluidframework/core-interfaces';
|
|
6
|
-
import { IDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
7
|
-
import { IErrorEvent } from '@fluidframework/core-interfaces';
|
|
8
|
-
import { IEvent } from '@fluidframework/core-interfaces';
|
|
9
|
-
import { IEventProvider } from '@fluidframework/core-interfaces';
|
|
10
|
-
import { INack } from '@fluidframework/protocol-definitions';
|
|
11
|
-
import { IRequest } from '@fluidframework/core-interfaces';
|
|
12
|
-
import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
13
|
-
import { ISignalClient } from '@fluidframework/protocol-definitions';
|
|
14
|
-
import { ISignalMessage } from '@fluidframework/protocol-definitions';
|
|
15
|
-
import { ISnapshotTree } from '@fluidframework/protocol-definitions';
|
|
16
|
-
import { ISummaryHandle } from '@fluidframework/protocol-definitions';
|
|
17
|
-
import { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
18
|
-
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
19
|
-
import { ITokenClaims } from '@fluidframework/protocol-definitions';
|
|
20
|
-
import { IVersion } from '@fluidframework/protocol-definitions';
|
|
1
|
+
import type { ConnectionMode } from '@fluidframework/protocol-definitions';
|
|
2
|
+
import type { IClient } from '@fluidframework/protocol-definitions';
|
|
3
|
+
import type { IClientConfiguration } from '@fluidframework/protocol-definitions';
|
|
4
|
+
import type { ICreateBlobResponse } from '@fluidframework/protocol-definitions';
|
|
5
|
+
import type { IDisposable } from '@fluidframework/core-interfaces';
|
|
6
|
+
import type { IDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
7
|
+
import type { IErrorEvent } from '@fluidframework/core-interfaces';
|
|
8
|
+
import type { IEvent } from '@fluidframework/core-interfaces';
|
|
9
|
+
import type { IEventProvider } from '@fluidframework/core-interfaces';
|
|
10
|
+
import type { INack } from '@fluidframework/protocol-definitions';
|
|
11
|
+
import type { IRequest } from '@fluidframework/core-interfaces';
|
|
12
|
+
import type { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
13
|
+
import type { ISignalClient } from '@fluidframework/protocol-definitions';
|
|
14
|
+
import type { ISignalMessage } from '@fluidframework/protocol-definitions';
|
|
15
|
+
import type { ISnapshotTree } from '@fluidframework/protocol-definitions';
|
|
16
|
+
import type { ISummaryHandle } from '@fluidframework/protocol-definitions';
|
|
17
|
+
import type { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
18
|
+
import type { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
19
|
+
import type { ITokenClaims } from '@fluidframework/protocol-definitions';
|
|
20
|
+
import type { IVersion } from '@fluidframework/protocol-definitions';
|
|
21
21
|
|
|
22
22
|
/* Excluded from this release type: DriverError */
|
|
23
23
|
|
|
@@ -100,6 +100,7 @@ export declare const DriverErrorTypes: {
|
|
|
100
100
|
};
|
|
101
101
|
|
|
102
102
|
/**
|
|
103
|
+
* {@inheritDoc (DriverErrorTypes:variable)}
|
|
103
104
|
* @public
|
|
104
105
|
*/
|
|
105
106
|
export declare type DriverErrorTypes = (typeof DriverErrorTypes)[keyof typeof DriverErrorTypes];
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { ConnectionMode } from '@fluidframework/protocol-definitions';
|
|
2
|
-
import { IClient } from '@fluidframework/protocol-definitions';
|
|
3
|
-
import { IClientConfiguration } from '@fluidframework/protocol-definitions';
|
|
4
|
-
import { ICreateBlobResponse } from '@fluidframework/protocol-definitions';
|
|
5
|
-
import { IDisposable } from '@fluidframework/core-interfaces';
|
|
6
|
-
import { IDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
7
|
-
import { IErrorEvent } from '@fluidframework/core-interfaces';
|
|
8
|
-
import { IEvent } from '@fluidframework/core-interfaces';
|
|
9
|
-
import { IEventProvider } from '@fluidframework/core-interfaces';
|
|
10
|
-
import { INack } from '@fluidframework/protocol-definitions';
|
|
11
|
-
import { IRequest } from '@fluidframework/core-interfaces';
|
|
12
|
-
import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
13
|
-
import { ISignalClient } from '@fluidframework/protocol-definitions';
|
|
14
|
-
import { ISignalMessage } from '@fluidframework/protocol-definitions';
|
|
15
|
-
import { ISnapshotTree } from '@fluidframework/protocol-definitions';
|
|
16
|
-
import { ISummaryHandle } from '@fluidframework/protocol-definitions';
|
|
17
|
-
import { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
18
|
-
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
19
|
-
import { ITokenClaims } from '@fluidframework/protocol-definitions';
|
|
20
|
-
import { IVersion } from '@fluidframework/protocol-definitions';
|
|
1
|
+
import type { ConnectionMode } from '@fluidframework/protocol-definitions';
|
|
2
|
+
import type { IClient } from '@fluidframework/protocol-definitions';
|
|
3
|
+
import type { IClientConfiguration } from '@fluidframework/protocol-definitions';
|
|
4
|
+
import type { ICreateBlobResponse } from '@fluidframework/protocol-definitions';
|
|
5
|
+
import type { IDisposable } from '@fluidframework/core-interfaces';
|
|
6
|
+
import type { IDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
7
|
+
import type { IErrorEvent } from '@fluidframework/core-interfaces';
|
|
8
|
+
import type { IEvent } from '@fluidframework/core-interfaces';
|
|
9
|
+
import type { IEventProvider } from '@fluidframework/core-interfaces';
|
|
10
|
+
import type { INack } from '@fluidframework/protocol-definitions';
|
|
11
|
+
import type { IRequest } from '@fluidframework/core-interfaces';
|
|
12
|
+
import type { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
13
|
+
import type { ISignalClient } from '@fluidframework/protocol-definitions';
|
|
14
|
+
import type { ISignalMessage } from '@fluidframework/protocol-definitions';
|
|
15
|
+
import type { ISnapshotTree } from '@fluidframework/protocol-definitions';
|
|
16
|
+
import type { ISummaryHandle } from '@fluidframework/protocol-definitions';
|
|
17
|
+
import type { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
18
|
+
import type { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
19
|
+
import type { ITokenClaims } from '@fluidframework/protocol-definitions';
|
|
20
|
+
import type { IVersion } from '@fluidframework/protocol-definitions';
|
|
21
21
|
|
|
22
22
|
/* Excluded from this release type: DriverError */
|
|
23
23
|
|
|
@@ -100,6 +100,7 @@ export declare const DriverErrorTypes: {
|
|
|
100
100
|
};
|
|
101
101
|
|
|
102
102
|
/**
|
|
103
|
+
* {@inheritDoc (DriverErrorTypes:variable)}
|
|
103
104
|
* @public
|
|
104
105
|
*/
|
|
105
106
|
export declare type DriverErrorTypes = (typeof DriverErrorTypes)[keyof typeof DriverErrorTypes];
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { ConnectionMode } from '@fluidframework/protocol-definitions';
|
|
2
|
-
import { IClient } from '@fluidframework/protocol-definitions';
|
|
3
|
-
import { IClientConfiguration } from '@fluidframework/protocol-definitions';
|
|
4
|
-
import { ICreateBlobResponse } from '@fluidframework/protocol-definitions';
|
|
5
|
-
import { IDisposable } from '@fluidframework/core-interfaces';
|
|
6
|
-
import { IDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
7
|
-
import { IErrorEvent } from '@fluidframework/core-interfaces';
|
|
8
|
-
import { IEvent } from '@fluidframework/core-interfaces';
|
|
9
|
-
import { IEventProvider } from '@fluidframework/core-interfaces';
|
|
10
|
-
import { INack } from '@fluidframework/protocol-definitions';
|
|
11
|
-
import { IRequest } from '@fluidframework/core-interfaces';
|
|
12
|
-
import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
13
|
-
import { ISignalClient } from '@fluidframework/protocol-definitions';
|
|
14
|
-
import { ISignalMessage } from '@fluidframework/protocol-definitions';
|
|
15
|
-
import { ISnapshotTree } from '@fluidframework/protocol-definitions';
|
|
16
|
-
import { ISummaryHandle } from '@fluidframework/protocol-definitions';
|
|
17
|
-
import { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
18
|
-
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
19
|
-
import { ITokenClaims } from '@fluidframework/protocol-definitions';
|
|
20
|
-
import { IVersion } from '@fluidframework/protocol-definitions';
|
|
1
|
+
import type { ConnectionMode } from '@fluidframework/protocol-definitions';
|
|
2
|
+
import type { IClient } from '@fluidframework/protocol-definitions';
|
|
3
|
+
import type { IClientConfiguration } from '@fluidframework/protocol-definitions';
|
|
4
|
+
import type { ICreateBlobResponse } from '@fluidframework/protocol-definitions';
|
|
5
|
+
import type { IDisposable } from '@fluidframework/core-interfaces';
|
|
6
|
+
import type { IDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
7
|
+
import type { IErrorEvent } from '@fluidframework/core-interfaces';
|
|
8
|
+
import type { IEvent } from '@fluidframework/core-interfaces';
|
|
9
|
+
import type { IEventProvider } from '@fluidframework/core-interfaces';
|
|
10
|
+
import type { INack } from '@fluidframework/protocol-definitions';
|
|
11
|
+
import type { IRequest } from '@fluidframework/core-interfaces';
|
|
12
|
+
import type { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
|
|
13
|
+
import type { ISignalClient } from '@fluidframework/protocol-definitions';
|
|
14
|
+
import type { ISignalMessage } from '@fluidframework/protocol-definitions';
|
|
15
|
+
import type { ISnapshotTree } from '@fluidframework/protocol-definitions';
|
|
16
|
+
import type { ISummaryHandle } from '@fluidframework/protocol-definitions';
|
|
17
|
+
import type { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
18
|
+
import type { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
19
|
+
import type { ITokenClaims } from '@fluidframework/protocol-definitions';
|
|
20
|
+
import type { IVersion } from '@fluidframework/protocol-definitions';
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* @alpha
|
|
@@ -103,6 +103,7 @@ export declare const DriverErrorTypes: {
|
|
|
103
103
|
};
|
|
104
104
|
|
|
105
105
|
/**
|
|
106
|
+
* {@inheritDoc (DriverErrorTypes:variable)}
|
|
106
107
|
* @public
|
|
107
108
|
*/
|
|
108
109
|
export declare type DriverErrorTypes = (typeof DriverErrorTypes)[keyof typeof DriverErrorTypes];
|
|
@@ -415,7 +416,6 @@ export declare interface IDocumentServicePolicies {
|
|
|
415
416
|
* @alpha
|
|
416
417
|
*/
|
|
417
418
|
export declare interface IDocumentStorageService extends Partial<IDisposable> {
|
|
418
|
-
repositoryUrl: string;
|
|
419
419
|
/**
|
|
420
420
|
* Policies implemented/instructed by driver.
|
|
421
421
|
*/
|
|
@@ -610,6 +610,17 @@ export declare interface ISnapshotFetchOptions {
|
|
|
610
610
|
* container, so specifying version is not necessary for storage services.
|
|
611
611
|
*/
|
|
612
612
|
versionId?: string;
|
|
613
|
+
/**
|
|
614
|
+
* List of loading groupId of datastores for which the snapshot needs to be fetched. If not provided, content with
|
|
615
|
+
* default/missing groupIDs will be requested from the service. It is upto the service, to include snapshot for
|
|
616
|
+
* content with groupIds or not. Don't provide anything here for fetching content for initial container boot.
|
|
617
|
+
*/
|
|
618
|
+
loadingGroupIds?: string[];
|
|
619
|
+
/**
|
|
620
|
+
* Specify if you want default behavior of the driver to fetch the snapshot like lets say simultaneously fetch from
|
|
621
|
+
* network and cache or specify FetchSource.noCache to just fetch from network.
|
|
622
|
+
*/
|
|
623
|
+
fetchSource?: FetchSource;
|
|
613
624
|
}
|
|
614
625
|
|
|
615
626
|
/**
|
package/dist/driverError.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
|
-
import { IResolvedUrl } from "./urlResolver";
|
|
5
|
+
import type { IResolvedUrl } from "./urlResolver.js";
|
|
6
6
|
/**
|
|
7
7
|
* Different error types the Driver may report out to the Host.
|
|
8
8
|
* @public
|
|
@@ -81,6 +81,7 @@ export declare const DriverErrorTypes: {
|
|
|
81
81
|
readonly usageError: "usageError";
|
|
82
82
|
};
|
|
83
83
|
/**
|
|
84
|
+
* {@inheritDoc (DriverErrorTypes:variable)}
|
|
84
85
|
* @public
|
|
85
86
|
*/
|
|
86
87
|
export type DriverErrorTypes = (typeof DriverErrorTypes)[keyof typeof DriverErrorTypes];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"driverError.d.ts","sourceRoot":"","sources":["../src/driverError.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"driverError.d.ts","sourceRoot":"","sources":["../src/driverError.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,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MAAM,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,GAAG,8BAA8B,EAAE,GACpF,iCAAe,CAAC;AAEjB;;;GAGG;AACU,QAAA,gBAAgB,GAAG;IAC/B,2BAA2B;IAC3B,GAAG,8BAA8B;IAEjC;;;OAGG;IACH,mBAAmB,EAAE,qBAAqB;IAE1C;;OAEG;IACH,kBAAkB,EAAE,oBAAoB;IAExC;;OAEG;IACH,+BAA+B,EAAE,iCAAiC;IAElE;;OAEG;IACH,YAAY,EAAE,cAAc;IAE5B;;OAEG;IACH,gCAAgC,EAAE,kCAAkC;IAEpE;;;OAGG;IACH,UAAU,EAAE,YAAY;IAExB;;;;;OAKG;IACH,YAAY,EAAE,cAAc;IAE5B;;OAEG;IACH,eAAe,EAAE,iBAAiB;IAElC;;OAEG;IACH,uBAAuB,EAAE,yBAAyB;IAElD;;;;;OAKG;IACH,wBAAwB,EAAE,0BAA0B;IAEpD;;OAEG;IACH,8BAA8B,EAAE,gCAAgC;IAEhE;;;OAGG;IACH,mBAAmB,EAAE,qBAAqB;IAE1C;;;;OAIG;IACH,kBAAkB,EAAE,oBAAoB;IAExC;;OAEG;IACH,YAAY,EAAE,cAAc;IAE5B;;OAEG;IACH,iBAAiB,EAAE,mBAAmB;CAC7B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { FluidErrorTypes } from \"@fluidframework/core-interfaces\";\n\nimport { IResolvedUrl } from \"./urlResolver\";\n\n// Omit `dataCorruptionError` and `dataProcessingError` from the list of values inherited from FluidErrorTypes\nconst { dataCorruptionError, dataProcessingError, ...FluidErrorTypesExceptDataTypes } =\n\tFluidErrorTypes;\n\n/**\n * Different error types the Driver may report out to the Host.\n * @public\n */\nexport const DriverErrorTypes = {\n\t// Inherit base error types\n\t...FluidErrorTypesExceptDataTypes,\n\n\t/**\n\t * Some non-categorized (below) networking error\n\t * Include errors like fatal server error (usually 500).\n\t */\n\tgenericNetworkError: \"genericNetworkError\",\n\n\t/**\n\t * Access denied - user does not have enough privileges to open a file, or continue to operate on a file\n\t */\n\tauthorizationError: \"authorizationError\",\n\n\t/**\n\t * File not found, or file deleted during session\n\t */\n\tfileNotFoundOrAccessDeniedError: \"fileNotFoundOrAccessDeniedError\",\n\n\t/**\n\t * We can not reach server due to computer being offline.\n\t */\n\tofflineError: \"offlineError\",\n\n\t/*\n\t * Unsupported client protocol\n\t */\n\tunsupportedClientProtocolVersion: \"unsupportedClientProtocolVersion\",\n\n\t/**\n\t * User does not have write permissions to a file, but is changing content of a file.\n\t * That might be indication of some data store error - data stores should not generate ops in readonly mode.\n\t */\n\twriteError: \"writeError\",\n\n\t/**\n\t * A generic fetch failure that indicates we were not able to get a response from the server.\n\t * This may be due to the client being offline (though, if we are able to detect offline state it will be\n\t * logged as an offlineError instead). Other possibilities could be DNS errors, malformed fetch request,\n\t * CSP violation, etc.\n\t */\n\tfetchFailure: \"fetchFailure\",\n\n\t/**\n\t * This error occurs when token provider fails to fetch orderer token\n\t */\n\tfetchTokenError: \"fetchTokenError\",\n\n\t/**\n\t * Unexpected response from server. Either JSON is malformed, or some required properties are missing\n\t */\n\tincorrectServerResponse: \"incorrectServerResponse\",\n\n\t/**\n\t * This error occurs when the file is modified externally (not through Fluid protocol) in storage.\n\t * It will occur in cases where client has some state or cache that is based on old content (identity) of a file,\n\t * and storage / driver / loader detects such mismatch.\n\t * When it's hit, client needs to forget all the knowledge about this file and start over.\n\t */\n\tfileOverwrittenInStorage: \"fileOverwrittenInStorage\",\n\n\t/**\n\t * The document is read-only and delta stream connection is forbidden.\n\t */\n\tdeltaStreamConnectionForbidden: \"deltaStreamConnectionForbidden\",\n\n\t/**\n\t * The location of file/container can change on server. So if the file location moves and we try to access the old\n\t * location, then this error is thrown to let the client know about the new location info.\n\t */\n\tlocationRedirection: \"locationRedirection\",\n\n\t/**\n\t * When a file is not a Fluid file, but has Fluid extension such as \".note\",\n\t * server won't be able to open it and will return this error. The innerMostErrorCode will be\n\t * \"fluidInvalidSchema\"\n\t */\n\tfluidInvalidSchema: \"fluidInvalidSchema\",\n\n\t/**\n\t * File is locked for read/write by storage, e.g. whole collection is locked and access denied.\n\t */\n\tfileIsLocked: \"fileIsLocked\",\n\n\t/**\n\t * Storage is out of space\n\t */\n\toutOfStorageError: \"outOfStorageError\",\n} as const;\n/**\n * @public\n */\nexport type DriverErrorTypes = (typeof DriverErrorTypes)[keyof typeof DriverErrorTypes];\n\n/**\n * Interface describing errors and warnings raised by any driver code.\n *\n * @remarks\n * Not expected to be implemented by a class or an object literal, but rather used in place of\n * any or unknown in various function signatures that pass errors around.\n *\n * \"Any\" in the interface name is a nod to the fact that errorType has lost its type constraint.\n * It will be either {@link @fluidframework/driver-definitions#(DriverErrorTypes:variable)} or the specific driver's specialized error type enum,\n * but we can't reference a specific driver's error type enum in this code.\n * @public\n */\nexport interface IAnyDriverError extends Omit<IDriverErrorBase, \"errorType\"> {\n\treadonly errorType: string;\n}\n\n/**\n * Base interface for all errors and warnings\n * @public\n */\nexport interface IDriverErrorBase {\n\t/**\n\t * Classification of what type of error this is, used programmatically by consumers to interpret the error.\n\t *\n\t * @privateRemarks TODO: use {@link DriverErrorTypes} instead (breaking change).\n\t */\n\treadonly errorType: DriverErrorTypes;\n\n\t/**\n\t * Free-form error message\n\t */\n\treadonly message: string;\n\n\t/**\n\t * True indicates the caller may retry the failed action. False indicates it's a fatal error\n\t */\n\tcanRetry: boolean;\n\n\t/**\n\t * Best guess as to network conditions (online/offline) when the error arose.\n\t * See OnlineStatus enum in driver-utils package for expected values.\n\t */\n\tonline?: string;\n\n\t/**\n\t * Whether service was reachable and we got some response from service.\n\t */\n\tendpointReached?: boolean;\n}\n\n/**\n * @alpha\n */\nexport interface IThrottlingWarning extends IDriverErrorBase {\n\treadonly errorType: typeof DriverErrorTypes.throttlingError;\n\treadonly retryAfterSeconds: number;\n}\n\n/**\n * @alpha\n */\nexport interface IGenericNetworkError extends IDriverErrorBase {\n\treadonly errorType: typeof DriverErrorTypes.genericNetworkError;\n\treadonly statusCode?: number;\n}\n\n/**\n * @alpha\n */\nexport interface IAuthorizationError extends IDriverErrorBase {\n\treadonly errorType: typeof DriverErrorTypes.authorizationError;\n\treadonly claims?: string;\n\treadonly tenantId?: string;\n}\n\n/**\n * @alpha\n */\nexport interface ILocationRedirectionError extends IDriverErrorBase {\n\treadonly errorType: typeof DriverErrorTypes.locationRedirection;\n\treadonly redirectUrl: IResolvedUrl;\n}\n\n/**\n * Having this uber interface without types that have their own interfaces\n * allows compiler to differentiate interfaces based on error type\n * @alpha\n */\nexport interface IDriverBasicError extends IDriverErrorBase {\n\treadonly errorType:\n\t\t| typeof DriverErrorTypes.genericError\n\t\t| typeof DriverErrorTypes.fileNotFoundOrAccessDeniedError\n\t\t| typeof DriverErrorTypes.offlineError\n\t\t| typeof DriverErrorTypes.unsupportedClientProtocolVersion\n\t\t| typeof DriverErrorTypes.writeError\n\t\t| typeof DriverErrorTypes.fetchFailure\n\t\t| typeof DriverErrorTypes.fetchTokenError\n\t\t| typeof DriverErrorTypes.incorrectServerResponse\n\t\t| typeof DriverErrorTypes.fileOverwrittenInStorage\n\t\t| typeof DriverErrorTypes.fluidInvalidSchema\n\t\t| typeof DriverErrorTypes.usageError\n\t\t| typeof DriverErrorTypes.fileIsLocked\n\t\t| typeof DriverErrorTypes.outOfStorageError;\n\treadonly statusCode?: number;\n}\n\n/**\n * @alpha\n */\nexport type DriverError =\n\t| IThrottlingWarning\n\t| IGenericNetworkError\n\t| IAuthorizationError\n\t| ILocationRedirectionError\n\t| IDriverBasicError;\n"]}
|
|
1
|
+
{"version":3,"file":"driverError.js","sourceRoot":"","sources":["../src/driverError.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,qEAAkE;AAIlE,8GAA8G;AAC9G,MAAM,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,GAAG,8BAA8B,EAAE,GACpF,iCAAe,CAAC;AAEjB;;;GAGG;AACU,QAAA,gBAAgB,GAAG;IAC/B,2BAA2B;IAC3B,GAAG,8BAA8B;IAEjC;;;OAGG;IACH,mBAAmB,EAAE,qBAAqB;IAE1C;;OAEG;IACH,kBAAkB,EAAE,oBAAoB;IAExC;;OAEG;IACH,+BAA+B,EAAE,iCAAiC;IAElE;;OAEG;IACH,YAAY,EAAE,cAAc;IAE5B;;OAEG;IACH,gCAAgC,EAAE,kCAAkC;IAEpE;;;OAGG;IACH,UAAU,EAAE,YAAY;IAExB;;;;;OAKG;IACH,YAAY,EAAE,cAAc;IAE5B;;OAEG;IACH,eAAe,EAAE,iBAAiB;IAElC;;OAEG;IACH,uBAAuB,EAAE,yBAAyB;IAElD;;;;;OAKG;IACH,wBAAwB,EAAE,0BAA0B;IAEpD;;OAEG;IACH,8BAA8B,EAAE,gCAAgC;IAEhE;;;OAGG;IACH,mBAAmB,EAAE,qBAAqB;IAE1C;;;;OAIG;IACH,kBAAkB,EAAE,oBAAoB;IAExC;;OAEG;IACH,YAAY,EAAE,cAAc;IAE5B;;OAEG;IACH,iBAAiB,EAAE,mBAAmB;CAC7B,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { FluidErrorTypes } from \"@fluidframework/core-interfaces\";\n\nimport type { IResolvedUrl } from \"./urlResolver.js\";\n\n// Omit `dataCorruptionError` and `dataProcessingError` from the list of values inherited from FluidErrorTypes\nconst { dataCorruptionError, dataProcessingError, ...FluidErrorTypesExceptDataTypes } =\n\tFluidErrorTypes;\n\n/**\n * Different error types the Driver may report out to the Host.\n * @public\n */\nexport const DriverErrorTypes = {\n\t// Inherit base error types\n\t...FluidErrorTypesExceptDataTypes,\n\n\t/**\n\t * Some non-categorized (below) networking error\n\t * Include errors like fatal server error (usually 500).\n\t */\n\tgenericNetworkError: \"genericNetworkError\",\n\n\t/**\n\t * Access denied - user does not have enough privileges to open a file, or continue to operate on a file\n\t */\n\tauthorizationError: \"authorizationError\",\n\n\t/**\n\t * File not found, or file deleted during session\n\t */\n\tfileNotFoundOrAccessDeniedError: \"fileNotFoundOrAccessDeniedError\",\n\n\t/**\n\t * We can not reach server due to computer being offline.\n\t */\n\tofflineError: \"offlineError\",\n\n\t/*\n\t * Unsupported client protocol\n\t */\n\tunsupportedClientProtocolVersion: \"unsupportedClientProtocolVersion\",\n\n\t/**\n\t * User does not have write permissions to a file, but is changing content of a file.\n\t * That might be indication of some data store error - data stores should not generate ops in readonly mode.\n\t */\n\twriteError: \"writeError\",\n\n\t/**\n\t * A generic fetch failure that indicates we were not able to get a response from the server.\n\t * This may be due to the client being offline (though, if we are able to detect offline state it will be\n\t * logged as an offlineError instead). Other possibilities could be DNS errors, malformed fetch request,\n\t * CSP violation, etc.\n\t */\n\tfetchFailure: \"fetchFailure\",\n\n\t/**\n\t * This error occurs when token provider fails to fetch orderer token\n\t */\n\tfetchTokenError: \"fetchTokenError\",\n\n\t/**\n\t * Unexpected response from server. Either JSON is malformed, or some required properties are missing\n\t */\n\tincorrectServerResponse: \"incorrectServerResponse\",\n\n\t/**\n\t * This error occurs when the file is modified externally (not through Fluid protocol) in storage.\n\t * It will occur in cases where client has some state or cache that is based on old content (identity) of a file,\n\t * and storage / driver / loader detects such mismatch.\n\t * When it's hit, client needs to forget all the knowledge about this file and start over.\n\t */\n\tfileOverwrittenInStorage: \"fileOverwrittenInStorage\",\n\n\t/**\n\t * The document is read-only and delta stream connection is forbidden.\n\t */\n\tdeltaStreamConnectionForbidden: \"deltaStreamConnectionForbidden\",\n\n\t/**\n\t * The location of file/container can change on server. So if the file location moves and we try to access the old\n\t * location, then this error is thrown to let the client know about the new location info.\n\t */\n\tlocationRedirection: \"locationRedirection\",\n\n\t/**\n\t * When a file is not a Fluid file, but has Fluid extension such as \".note\",\n\t * server won't be able to open it and will return this error. The innerMostErrorCode will be\n\t * \"fluidInvalidSchema\"\n\t */\n\tfluidInvalidSchema: \"fluidInvalidSchema\",\n\n\t/**\n\t * File is locked for read/write by storage, e.g. whole collection is locked and access denied.\n\t */\n\tfileIsLocked: \"fileIsLocked\",\n\n\t/**\n\t * Storage is out of space\n\t */\n\toutOfStorageError: \"outOfStorageError\",\n} as const;\n/**\n * {@inheritDoc (DriverErrorTypes:variable)}\n * @public\n */\nexport type DriverErrorTypes = (typeof DriverErrorTypes)[keyof typeof DriverErrorTypes];\n\n/**\n * Interface describing errors and warnings raised by any driver code.\n *\n * @remarks\n * Not expected to be implemented by a class or an object literal, but rather used in place of\n * any or unknown in various function signatures that pass errors around.\n *\n * \"Any\" in the interface name is a nod to the fact that errorType has lost its type constraint.\n * It will be either {@link @fluidframework/driver-definitions#(DriverErrorTypes:variable)} or the specific driver's specialized error type enum,\n * but we can't reference a specific driver's error type enum in this code.\n * @public\n */\nexport interface IAnyDriverError extends Omit<IDriverErrorBase, \"errorType\"> {\n\treadonly errorType: string;\n}\n\n/**\n * Base interface for all errors and warnings\n * @public\n */\nexport interface IDriverErrorBase {\n\t/**\n\t * Classification of what type of error this is, used programmatically by consumers to interpret the error.\n\t *\n\t * @privateRemarks TODO: use {@link DriverErrorTypes} instead (breaking change).\n\t */\n\treadonly errorType: DriverErrorTypes;\n\n\t/**\n\t * Free-form error message\n\t */\n\treadonly message: string;\n\n\t/**\n\t * True indicates the caller may retry the failed action. False indicates it's a fatal error\n\t */\n\tcanRetry: boolean;\n\n\t/**\n\t * Best guess as to network conditions (online/offline) when the error arose.\n\t * See OnlineStatus enum in driver-utils package for expected values.\n\t */\n\tonline?: string;\n\n\t/**\n\t * Whether service was reachable and we got some response from service.\n\t */\n\tendpointReached?: boolean;\n}\n\n/**\n * @alpha\n */\nexport interface IThrottlingWarning extends IDriverErrorBase {\n\treadonly errorType: typeof DriverErrorTypes.throttlingError;\n\treadonly retryAfterSeconds: number;\n}\n\n/**\n * @alpha\n */\nexport interface IGenericNetworkError extends IDriverErrorBase {\n\treadonly errorType: typeof DriverErrorTypes.genericNetworkError;\n\treadonly statusCode?: number;\n}\n\n/**\n * @alpha\n */\nexport interface IAuthorizationError extends IDriverErrorBase {\n\treadonly errorType: typeof DriverErrorTypes.authorizationError;\n\treadonly claims?: string;\n\treadonly tenantId?: string;\n}\n\n/**\n * @alpha\n */\nexport interface ILocationRedirectionError extends IDriverErrorBase {\n\treadonly errorType: typeof DriverErrorTypes.locationRedirection;\n\treadonly redirectUrl: IResolvedUrl;\n}\n\n/**\n * Having this uber interface without types that have their own interfaces\n * allows compiler to differentiate interfaces based on error type\n * @alpha\n */\nexport interface IDriverBasicError extends IDriverErrorBase {\n\treadonly errorType:\n\t\t| typeof DriverErrorTypes.genericError\n\t\t| typeof DriverErrorTypes.fileNotFoundOrAccessDeniedError\n\t\t| typeof DriverErrorTypes.offlineError\n\t\t| typeof DriverErrorTypes.unsupportedClientProtocolVersion\n\t\t| typeof DriverErrorTypes.writeError\n\t\t| typeof DriverErrorTypes.fetchFailure\n\t\t| typeof DriverErrorTypes.fetchTokenError\n\t\t| typeof DriverErrorTypes.incorrectServerResponse\n\t\t| typeof DriverErrorTypes.fileOverwrittenInStorage\n\t\t| typeof DriverErrorTypes.fluidInvalidSchema\n\t\t| typeof DriverErrorTypes.usageError\n\t\t| typeof DriverErrorTypes.fileIsLocked\n\t\t| typeof DriverErrorTypes.outOfStorageError;\n\treadonly statusCode?: number;\n}\n\n/**\n * @alpha\n */\nexport type DriverError =\n\t| IThrottlingWarning\n\t| IGenericNetworkError\n\t| IAuthorizationError\n\t| ILocationRedirectionError\n\t| IDriverBasicError;\n"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
|
-
export { DriverError,
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
5
|
+
export type { DriverError, IAnyDriverError, IAuthorizationError, IDriverErrorBase, IDriverBasicError, IGenericNetworkError, ILocationRedirectionError, IThrottlingWarning, } from "./driverError.js";
|
|
6
|
+
export { DriverErrorTypes } from "./driverError.js";
|
|
7
|
+
export type { FiveDaysMs, IDeltasFetchResult, IDeltaStorageService, IDocumentDeltaConnection, IDocumentDeltaConnectionEvents, IDocumentDeltaStorageService, IDocumentService, IDocumentServiceEvents, IDocumentServiceFactory, IDocumentServicePolicies, IDocumentStorageService, IDocumentStorageServicePolicies, ISnapshot, ISnapshotFetchOptions, IStream, IStreamResult, ISummaryContext, } from "./storage.js";
|
|
8
|
+
export { FetchSource, LoaderCachingPolicy } from "./storage.js";
|
|
9
|
+
export type { DriverPreCheckInfo, IContainerPackageInfo, IDriverHeader, IResolvedUrl, IUrlResolver, } from "./urlResolver.js";
|
|
10
|
+
export { DriverHeader } from "./urlResolver.js";
|
|
8
11
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,YAAY,EACX,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,yBAAyB,EACzB,kBAAkB,GAClB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,YAAY,EACX,UAAU,EACV,kBAAkB,EAClB,oBAAoB,EACpB,wBAAwB,EACxB,8BAA8B,EAC9B,4BAA4B,EAC5B,gBAAgB,EAChB,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,uBAAuB,EACvB,+BAA+B,EAC/B,SAAS,EACT,qBAAqB,EACrB,OAAO,EACP,aAAa,EACb,eAAe,GACf,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAChE,YAAY,EACX,kBAAkB,EAClB,qBAAqB,EACrB,aAAa,EACb,YAAY,EACZ,YAAY,GACZ,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.DriverHeader = exports.LoaderCachingPolicy = exports.FetchSource = exports.DriverErrorTypes = void 0;
|
|
8
|
-
var
|
|
9
|
-
Object.defineProperty(exports, "DriverErrorTypes", { enumerable: true, get: function () { return
|
|
10
|
-
var
|
|
11
|
-
Object.defineProperty(exports, "FetchSource", { enumerable: true, get: function () { return
|
|
12
|
-
Object.defineProperty(exports, "LoaderCachingPolicy", { enumerable: true, get: function () { return
|
|
13
|
-
var
|
|
14
|
-
Object.defineProperty(exports, "DriverHeader", { enumerable: true, get: function () { return
|
|
8
|
+
var driverError_js_1 = require("./driverError.js");
|
|
9
|
+
Object.defineProperty(exports, "DriverErrorTypes", { enumerable: true, get: function () { return driverError_js_1.DriverErrorTypes; } });
|
|
10
|
+
var storage_js_1 = require("./storage.js");
|
|
11
|
+
Object.defineProperty(exports, "FetchSource", { enumerable: true, get: function () { return storage_js_1.FetchSource; } });
|
|
12
|
+
Object.defineProperty(exports, "LoaderCachingPolicy", { enumerable: true, get: function () { return storage_js_1.LoaderCachingPolicy; } });
|
|
13
|
+
var urlResolver_js_1 = require("./urlResolver.js");
|
|
14
|
+
Object.defineProperty(exports, "DriverHeader", { enumerable: true, get: function () { return urlResolver_js_1.DriverHeader; } });
|
|
15
15
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAYH,mDAAoD;AAA3C,kHAAA,gBAAgB,OAAA;AAoBzB,2CAAgE;AAAvD,yGAAA,WAAW,OAAA;AAAE,iHAAA,mBAAmB,OAAA;AAQzC,mDAAgD;AAAvC,8GAAA,YAAY,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport type {\n\tDriverError,\n\tIAnyDriverError,\n\tIAuthorizationError,\n\tIDriverErrorBase,\n\tIDriverBasicError,\n\tIGenericNetworkError,\n\tILocationRedirectionError,\n\tIThrottlingWarning,\n} from \"./driverError.js\";\nexport { DriverErrorTypes } from \"./driverError.js\";\nexport type {\n\tFiveDaysMs,\n\tIDeltasFetchResult,\n\tIDeltaStorageService,\n\tIDocumentDeltaConnection,\n\tIDocumentDeltaConnectionEvents,\n\tIDocumentDeltaStorageService,\n\tIDocumentService,\n\tIDocumentServiceEvents,\n\tIDocumentServiceFactory,\n\tIDocumentServicePolicies,\n\tIDocumentStorageService,\n\tIDocumentStorageServicePolicies,\n\tISnapshot,\n\tISnapshotFetchOptions,\n\tIStream,\n\tIStreamResult,\n\tISummaryContext,\n} from \"./storage.js\";\nexport { FetchSource, LoaderCachingPolicy } from \"./storage.js\";\nexport type {\n\tDriverPreCheckInfo,\n\tIContainerPackageInfo,\n\tIDriverHeader,\n\tIResolvedUrl,\n\tIUrlResolver,\n} from \"./urlResolver.js\";\nexport { DriverHeader } from \"./urlResolver.js\";\n"]}
|
package/dist/storage.d.ts
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* Copyright (c) Microsoft Corporation and contributors. All rights reserved.
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
|
-
import { IDisposable, IEventProvider, IErrorEvent, ITelemetryBaseLogger, IEvent } from "@fluidframework/core-interfaces";
|
|
6
|
-
import { ConnectionMode, IClient, IClientConfiguration, ICreateBlobResponse, IDocumentMessage, INack, ISequencedDocumentMessage, ISignalClient, ISignalMessage, ISnapshotTree, ISummaryHandle, ISummaryTree, ITokenClaims, IVersion } from "@fluidframework/protocol-definitions";
|
|
7
|
-
import { IAnyDriverError } from "./driverError";
|
|
8
|
-
import { IResolvedUrl } from "./urlResolver";
|
|
5
|
+
import type { IDisposable, IEventProvider, IErrorEvent, ITelemetryBaseLogger, IEvent } from "@fluidframework/core-interfaces";
|
|
6
|
+
import type { ConnectionMode, IClient, IClientConfiguration, ICreateBlobResponse, IDocumentMessage, INack, ISequencedDocumentMessage, ISignalClient, ISignalMessage, ISnapshotTree, ISummaryHandle, ISummaryTree, ITokenClaims, IVersion } from "@fluidframework/protocol-definitions";
|
|
7
|
+
import type { IAnyDriverError } from "./driverError.js";
|
|
8
|
+
import type { IResolvedUrl } from "./urlResolver.js";
|
|
9
9
|
/**
|
|
10
10
|
* @internal
|
|
11
11
|
*/
|
|
@@ -103,7 +103,6 @@ export interface IDocumentStorageServicePolicies {
|
|
|
103
103
|
* @alpha
|
|
104
104
|
*/
|
|
105
105
|
export interface IDocumentStorageService extends Partial<IDisposable> {
|
|
106
|
-
repositoryUrl: string;
|
|
107
106
|
/**
|
|
108
107
|
* Policies implemented/instructed by driver.
|
|
109
108
|
*/
|
|
@@ -396,5 +395,16 @@ export interface ISnapshotFetchOptions {
|
|
|
396
395
|
* container, so specifying version is not necessary for storage services.
|
|
397
396
|
*/
|
|
398
397
|
versionId?: string;
|
|
398
|
+
/**
|
|
399
|
+
* List of loading groupId of datastores for which the snapshot needs to be fetched. If not provided, content with
|
|
400
|
+
* default/missing groupIDs will be requested from the service. It is upto the service, to include snapshot for
|
|
401
|
+
* content with groupIds or not. Don't provide anything here for fetching content for initial container boot.
|
|
402
|
+
*/
|
|
403
|
+
loadingGroupIds?: string[];
|
|
404
|
+
/**
|
|
405
|
+
* Specify if you want default behavior of the driver to fetch the snapshot like lets say simultaneously fetch from
|
|
406
|
+
* network and cache or specify FetchSource.noCache to just fetch from network.
|
|
407
|
+
*/
|
|
408
|
+
fetchSource?: FetchSource;
|
|
399
409
|
}
|
|
400
410
|
//# sourceMappingURL=storage.d.ts.map
|
package/dist/storage.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../src/storage.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../src/storage.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EACX,WAAW,EACX,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,MAAM,EACN,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EACX,cAAc,EACd,OAAO,EACP,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,EAChB,KAAK,EACL,yBAAyB,EACzB,aAAa,EACb,cAAc,EACd,aAAa,EACb,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,MAAM,sCAAsC,CAAC;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAClC;;;OAGG;IACH,QAAQ,EAAE,yBAAyB,EAAE,CAAC;IAEtC;;;;OAIG;IACH,aAAa,EAAE,OAAO,CAAC;CACvB;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACpC;;;;;;;;;OASG;IACH,GAAG,CACF,QAAQ,EAAE,MAAM,EAChB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EAAE,YAAY;IAC1B,EAAE,EAAE,MAAM,EAAE,YAAY;IACxB,WAAW,CAAC,EAAE,MAAM,GAClB,OAAO,CAAC,kBAAkB,CAAC,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,CAAC,CAAC,I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