@fluidframework/local-driver 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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## API Report File for "@fluidframework/local-driver"
|
|
1
|
+
## Alpha API Report File for "@fluidframework/local-driver"
|
|
2
2
|
|
|
3
3
|
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
4
|
|
|
@@ -40,43 +40,9 @@ import { NackErrorType } from '@fluidframework/driver-definitions/internal';
|
|
|
40
40
|
import type { Socket } from 'socket.io-client';
|
|
41
41
|
import { TypedEventEmitter } from '@fluid-internal/client-utils';
|
|
42
42
|
|
|
43
|
-
// @internal
|
|
44
|
-
export function createLocalDocumentService(resolvedUrl: IResolvedUrl, localDeltaConnectionServer: ILocalDeltaConnectionServer, tokenProvider: ITokenProvider, tenantId: string, documentId: string, documentDeltaConnectionsMap: Map<string, LocalDocumentDeltaConnection>, policies?: IDocumentServicePolicies, innerDocumentService?: IDocumentService, logger?: ITelemetryBaseLogger): IDocumentService;
|
|
45
|
-
|
|
46
43
|
// @alpha (undocumented)
|
|
47
44
|
export function createLocalResolverCreateNewRequest(documentId: string): IRequest;
|
|
48
45
|
|
|
49
|
-
// @internal
|
|
50
|
-
export class LocalDeltaStorageService implements IDocumentDeltaStorageService {
|
|
51
|
-
constructor(tenantId: string, id: string, databaseManager: IDatabaseManager);
|
|
52
|
-
// (undocumented)
|
|
53
|
-
fetchMessages(from: number, to: number | undefined, abortSignal?: AbortSignal, cachedOnly?: boolean): IStream<ISequencedDocumentMessage[]>;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
// @internal
|
|
57
|
-
export class LocalDocumentDeltaConnection extends DocumentDeltaConnection {
|
|
58
|
-
constructor(socket: Socket, documentId: string, logger?: ITelemetryBaseLogger);
|
|
59
|
-
static create(tenantId: string, id: string, token: string, client: IClient, webSocketServer: IWebSocketServer, timeoutMs?: number, logger?: ITelemetryBaseLogger): Promise<LocalDocumentDeltaConnection>;
|
|
60
|
-
disconnectClient(disconnectReason: string): void;
|
|
61
|
-
nackClient(code: number | undefined, type: NackErrorType | undefined, message: any): void;
|
|
62
|
-
submit(messages: IDocumentMessage[]): void;
|
|
63
|
-
submitSignal(message: string): void;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
// @internal
|
|
67
|
-
export class LocalDocumentService extends TypedEventEmitter<IDocumentServiceEvents> implements IDocumentService {
|
|
68
|
-
constructor(resolvedUrl: IResolvedUrl, localDeltaConnectionServer: ILocalDeltaConnectionServer, tokenProvider: ITokenProvider, tenantId: string, documentId: string, documentDeltaConnectionsMap: Map<string, LocalDocumentDeltaConnection>, policies?: IDocumentServicePolicies, innerDocumentService?: IDocumentService | undefined, logger?: ITelemetryBaseLogger | undefined);
|
|
69
|
-
connectToDeltaStorage(): Promise<IDocumentDeltaStorageService>;
|
|
70
|
-
connectToDeltaStream(client: IClient): Promise<IDocumentDeltaConnection>;
|
|
71
|
-
connectToStorage(): Promise<IDocumentStorageService>;
|
|
72
|
-
// (undocumented)
|
|
73
|
-
dispose(): void;
|
|
74
|
-
// (undocumented)
|
|
75
|
-
readonly policies: IDocumentServicePolicies;
|
|
76
|
-
// (undocumented)
|
|
77
|
-
readonly resolvedUrl: IResolvedUrl;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
46
|
// @alpha
|
|
81
47
|
export class LocalDocumentServiceFactory implements IDocumentServiceFactory {
|
|
82
48
|
constructor(localDeltaConnectionServer: ILocalDeltaConnectionServer, policies?: IDocumentServicePolicies | undefined, innerDocumentService?: IDocumentService | undefined);
|
|
@@ -87,29 +53,6 @@ export class LocalDocumentServiceFactory implements IDocumentServiceFactory {
|
|
|
87
53
|
nackClient(clientId: string, code?: number, type?: NackErrorType, message?: any): void;
|
|
88
54
|
}
|
|
89
55
|
|
|
90
|
-
// @internal (undocumented)
|
|
91
|
-
export class LocalDocumentStorageService implements IDocumentStorageService {
|
|
92
|
-
constructor(id: string, manager: GitManager, policies: IDocumentStorageServicePolicies, localDeltaConnectionServer?: ILocalDeltaConnectionServer | undefined, resolvedUrl?: IResolvedUrl | undefined);
|
|
93
|
-
// (undocumented)
|
|
94
|
-
protected readonly blobsShaCache: Map<string, string>;
|
|
95
|
-
// (undocumented)
|
|
96
|
-
createBlob(file: ArrayBufferLike): Promise<ICreateBlobResponse>;
|
|
97
|
-
// (undocumented)
|
|
98
|
-
downloadSummary(handle: ISummaryHandle): Promise<ISummaryTree>;
|
|
99
|
-
// (undocumented)
|
|
100
|
-
getSnapshot(snapshotFetchOptions?: ISnapshotFetchOptions): Promise<ISnapshot>;
|
|
101
|
-
// (undocumented)
|
|
102
|
-
getSnapshotTree(version?: IVersion): Promise<ISnapshotTreeEx | null>;
|
|
103
|
-
// (undocumented)
|
|
104
|
-
getVersions(versionId: string | null, count: number): Promise<IVersion[]>;
|
|
105
|
-
// (undocumented)
|
|
106
|
-
readonly policies: IDocumentStorageServicePolicies;
|
|
107
|
-
// (undocumented)
|
|
108
|
-
readBlob(blobId: string): Promise<ArrayBufferLike>;
|
|
109
|
-
// (undocumented)
|
|
110
|
-
uploadSummaryWithContext(summary: ISummaryTree, context: ISummaryContext): Promise<string>;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
56
|
// @alpha
|
|
114
57
|
export class LocalResolver implements IUrlResolver {
|
|
115
58
|
constructor();
|
|
@@ -120,14 +63,6 @@ export class LocalResolver implements IUrlResolver {
|
|
|
120
63
|
resolve(request: IRequest): Promise<IResolvedUrl>;
|
|
121
64
|
}
|
|
122
65
|
|
|
123
|
-
// @internal
|
|
124
|
-
export class LocalSessionStorageDbFactory implements ITestDbFactory {
|
|
125
|
-
// (undocumented)
|
|
126
|
-
connect(): Promise<IDb>;
|
|
127
|
-
// (undocumented)
|
|
128
|
-
readonly testDatabase: IDb;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
66
|
// (No @packageDocumentation comment for this package)
|
|
132
67
|
|
|
133
68
|
```
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
## Beta API Report File for "@fluidframework/local-driver"
|
|
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 { DocumentDeltaConnection } from '@fluidframework/driver-base/internal';
|
|
8
|
+
import { GitManager } from '@fluidframework/server-services-client';
|
|
9
|
+
import { IClient } from '@fluidframework/driver-definitions';
|
|
10
|
+
import { ICreateBlobResponse } from '@fluidframework/driver-definitions/internal';
|
|
11
|
+
import { IDatabaseManager } from '@fluidframework/server-services-core';
|
|
12
|
+
import { IDb } from '@fluidframework/server-services-core';
|
|
13
|
+
import { IDocumentDeltaConnection } from '@fluidframework/driver-definitions/internal';
|
|
14
|
+
import { IDocumentDeltaStorageService } from '@fluidframework/driver-definitions/internal';
|
|
15
|
+
import { IDocumentMessage } from '@fluidframework/driver-definitions/internal';
|
|
16
|
+
import { IDocumentService } from '@fluidframework/driver-definitions/internal';
|
|
17
|
+
import { IDocumentServiceEvents } from '@fluidframework/driver-definitions/internal';
|
|
18
|
+
import { IDocumentServiceFactory } from '@fluidframework/driver-definitions/internal';
|
|
19
|
+
import { IDocumentServicePolicies } from '@fluidframework/driver-definitions/internal';
|
|
20
|
+
import { IDocumentStorageService } from '@fluidframework/driver-definitions/internal';
|
|
21
|
+
import { IDocumentStorageServicePolicies } from '@fluidframework/driver-definitions/internal';
|
|
22
|
+
import { ILocalDeltaConnectionServer } from '@fluidframework/server-local-server';
|
|
23
|
+
import { IRequest } from '@fluidframework/core-interfaces';
|
|
24
|
+
import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
|
|
25
|
+
import { ISequencedDocumentMessage } from '@fluidframework/driver-definitions';
|
|
26
|
+
import { ISnapshot } from '@fluidframework/driver-definitions/internal';
|
|
27
|
+
import { ISnapshotFetchOptions } from '@fluidframework/driver-definitions/internal';
|
|
28
|
+
import { ISnapshotTreeEx } from '@fluidframework/driver-definitions/internal';
|
|
29
|
+
import { IStream } from '@fluidframework/driver-definitions/internal';
|
|
30
|
+
import { ISummaryContext } from '@fluidframework/driver-definitions/internal';
|
|
31
|
+
import { ISummaryHandle } from '@fluidframework/driver-definitions';
|
|
32
|
+
import { ISummaryTree } from '@fluidframework/driver-definitions';
|
|
33
|
+
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
34
|
+
import { ITestDbFactory } from '@fluidframework/server-test-utils';
|
|
35
|
+
import { ITokenProvider } from '@fluidframework/routerlicious-driver';
|
|
36
|
+
import { IUrlResolver } from '@fluidframework/driver-definitions/internal';
|
|
37
|
+
import { IVersion } from '@fluidframework/driver-definitions/internal';
|
|
38
|
+
import { IWebSocketServer } from '@fluidframework/server-services-core';
|
|
39
|
+
import { NackErrorType } from '@fluidframework/driver-definitions/internal';
|
|
40
|
+
import type { Socket } from 'socket.io-client';
|
|
41
|
+
import { TypedEventEmitter } from '@fluid-internal/client-utils';
|
|
42
|
+
|
|
43
|
+
// (No @packageDocumentation comment for this package)
|
|
44
|
+
|
|
45
|
+
```
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
## Public API Report File for "@fluidframework/local-driver"
|
|
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 { DocumentDeltaConnection } from '@fluidframework/driver-base/internal';
|
|
8
|
+
import { GitManager } from '@fluidframework/server-services-client';
|
|
9
|
+
import { IClient } from '@fluidframework/driver-definitions';
|
|
10
|
+
import { ICreateBlobResponse } from '@fluidframework/driver-definitions/internal';
|
|
11
|
+
import { IDatabaseManager } from '@fluidframework/server-services-core';
|
|
12
|
+
import { IDb } from '@fluidframework/server-services-core';
|
|
13
|
+
import { IDocumentDeltaConnection } from '@fluidframework/driver-definitions/internal';
|
|
14
|
+
import { IDocumentDeltaStorageService } from '@fluidframework/driver-definitions/internal';
|
|
15
|
+
import { IDocumentMessage } from '@fluidframework/driver-definitions/internal';
|
|
16
|
+
import { IDocumentService } from '@fluidframework/driver-definitions/internal';
|
|
17
|
+
import { IDocumentServiceEvents } from '@fluidframework/driver-definitions/internal';
|
|
18
|
+
import { IDocumentServiceFactory } from '@fluidframework/driver-definitions/internal';
|
|
19
|
+
import { IDocumentServicePolicies } from '@fluidframework/driver-definitions/internal';
|
|
20
|
+
import { IDocumentStorageService } from '@fluidframework/driver-definitions/internal';
|
|
21
|
+
import { IDocumentStorageServicePolicies } from '@fluidframework/driver-definitions/internal';
|
|
22
|
+
import { ILocalDeltaConnectionServer } from '@fluidframework/server-local-server';
|
|
23
|
+
import { IRequest } from '@fluidframework/core-interfaces';
|
|
24
|
+
import { IResolvedUrl } from '@fluidframework/driver-definitions/internal';
|
|
25
|
+
import { ISequencedDocumentMessage } from '@fluidframework/driver-definitions';
|
|
26
|
+
import { ISnapshot } from '@fluidframework/driver-definitions/internal';
|
|
27
|
+
import { ISnapshotFetchOptions } from '@fluidframework/driver-definitions/internal';
|
|
28
|
+
import { ISnapshotTreeEx } from '@fluidframework/driver-definitions/internal';
|
|
29
|
+
import { IStream } from '@fluidframework/driver-definitions/internal';
|
|
30
|
+
import { ISummaryContext } from '@fluidframework/driver-definitions/internal';
|
|
31
|
+
import { ISummaryHandle } from '@fluidframework/driver-definitions';
|
|
32
|
+
import { ISummaryTree } from '@fluidframework/driver-definitions';
|
|
33
|
+
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
34
|
+
import { ITestDbFactory } from '@fluidframework/server-test-utils';
|
|
35
|
+
import { ITokenProvider } from '@fluidframework/routerlicious-driver';
|
|
36
|
+
import { IUrlResolver } from '@fluidframework/driver-definitions/internal';
|
|
37
|
+
import { IVersion } from '@fluidframework/driver-definitions/internal';
|
|
38
|
+
import { IWebSocketServer } from '@fluidframework/server-services-core';
|
|
39
|
+
import { NackErrorType } from '@fluidframework/driver-definitions/internal';
|
|
40
|
+
import type { Socket } from 'socket.io-client';
|
|
41
|
+
import { TypedEventEmitter } from '@fluid-internal/client-utils';
|
|
42
|
+
|
|
43
|
+
// (No @packageDocumentation comment for this package)
|
|
44
|
+
|
|
45
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/local-driver",
|
|
3
|
-
"version": "2.0.0-dev-rc.5.0.0.
|
|
3
|
+
"version": "2.0.0-dev-rc.5.0.0.268409",
|
|
4
4
|
"description": "Fluid local driver",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -69,30 +69,30 @@
|
|
|
69
69
|
"temp-directory": "nyc/.nyc_output"
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@fluid-internal/client-utils": "2.0.0-dev-rc.5.0.0.
|
|
73
|
-
"@fluidframework/core-interfaces": "2.0.0-dev-rc.5.0.0.
|
|
74
|
-
"@fluidframework/core-utils": "2.0.0-dev-rc.5.0.0.
|
|
75
|
-
"@fluidframework/driver-base": "2.0.0-dev-rc.5.0.0.
|
|
76
|
-
"@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.
|
|
77
|
-
"@fluidframework/driver-utils": "2.0.0-dev-rc.5.0.0.
|
|
72
|
+
"@fluid-internal/client-utils": "2.0.0-dev-rc.5.0.0.268409",
|
|
73
|
+
"@fluidframework/core-interfaces": "2.0.0-dev-rc.5.0.0.268409",
|
|
74
|
+
"@fluidframework/core-utils": "2.0.0-dev-rc.5.0.0.268409",
|
|
75
|
+
"@fluidframework/driver-base": "2.0.0-dev-rc.5.0.0.268409",
|
|
76
|
+
"@fluidframework/driver-definitions": "2.0.0-dev-rc.5.0.0.268409",
|
|
77
|
+
"@fluidframework/driver-utils": "2.0.0-dev-rc.5.0.0.268409",
|
|
78
78
|
"@fluidframework/protocol-base": "^4.0.0",
|
|
79
|
-
"@fluidframework/routerlicious-driver": "2.0.0-dev-rc.5.0.0.
|
|
79
|
+
"@fluidframework/routerlicious-driver": "2.0.0-dev-rc.5.0.0.268409",
|
|
80
80
|
"@fluidframework/server-local-server": "^4.0.0",
|
|
81
81
|
"@fluidframework/server-services-client": "^4.0.0",
|
|
82
82
|
"@fluidframework/server-services-core": "^4.0.0",
|
|
83
83
|
"@fluidframework/server-test-utils": "^4.0.0",
|
|
84
|
-
"@fluidframework/telemetry-utils": "2.0.0-dev-rc.5.0.0.
|
|
84
|
+
"@fluidframework/telemetry-utils": "2.0.0-dev-rc.5.0.0.268409",
|
|
85
85
|
"jsrsasign": "^11.0.0",
|
|
86
86
|
"uuid": "^9.0.0"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
89
|
"@arethetypeswrong/cli": "^0.15.2",
|
|
90
|
-
"@biomejs/biome": "^1.
|
|
91
|
-
"@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.5.0.0.
|
|
90
|
+
"@biomejs/biome": "^1.7.3",
|
|
91
|
+
"@fluid-internal/mocha-test-setup": "2.0.0-dev-rc.5.0.0.268409",
|
|
92
92
|
"@fluid-tools/build-cli": "^0.39.0-264124",
|
|
93
93
|
"@fluidframework/build-common": "^2.0.3",
|
|
94
94
|
"@fluidframework/build-tools": "^0.39.0-264124",
|
|
95
|
-
"@fluidframework/eslint-config-fluid": "^5.
|
|
95
|
+
"@fluidframework/eslint-config-fluid": "^5.3.0",
|
|
96
96
|
"@fluidframework/local-driver-previous": "npm:@fluidframework/local-driver@2.0.0-rc.4.0.0",
|
|
97
97
|
"@microsoft/api-extractor": "^7.45.1",
|
|
98
98
|
"@types/jsrsasign": "^10.5.12",
|