@fluidframework/local-driver 2.0.0-dev.7.4.0.215930 → 2.0.0-dev.7.4.0.217212

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.
Files changed (75) hide show
  1. package/api-extractor-lint.json +13 -0
  2. package/api-extractor.json +0 -4
  3. package/api-report/local-driver.api.md +9 -9
  4. package/dist/local-driver-alpha.d.ts +13 -171
  5. package/dist/local-driver-beta.d.ts +47 -192
  6. package/dist/local-driver-public.d.ts +47 -192
  7. package/dist/local-driver-untrimmed.d.ts +13 -0
  8. package/dist/localDeltaStorageService.cjs +1 -0
  9. package/dist/localDeltaStorageService.cjs.map +1 -1
  10. package/dist/localDeltaStorageService.d.ts +1 -0
  11. package/dist/localDeltaStorageService.d.ts.map +1 -1
  12. package/dist/localDocumentDeltaConnection.cjs +1 -0
  13. package/dist/localDocumentDeltaConnection.cjs.map +1 -1
  14. package/dist/localDocumentDeltaConnection.d.ts +1 -0
  15. package/dist/localDocumentDeltaConnection.d.ts.map +1 -1
  16. package/dist/localDocumentService.cjs +2 -0
  17. package/dist/localDocumentService.cjs.map +1 -1
  18. package/dist/localDocumentService.d.ts +2 -0
  19. package/dist/localDocumentService.d.ts.map +1 -1
  20. package/dist/localDocumentServiceFactory.cjs +1 -0
  21. package/dist/localDocumentServiceFactory.cjs.map +1 -1
  22. package/dist/localDocumentServiceFactory.d.ts +1 -0
  23. package/dist/localDocumentServiceFactory.d.ts.map +1 -1
  24. package/dist/localDocumentStorageService.cjs +3 -0
  25. package/dist/localDocumentStorageService.cjs.map +1 -1
  26. package/dist/localDocumentStorageService.d.ts +3 -0
  27. package/dist/localDocumentStorageService.d.ts.map +1 -1
  28. package/dist/localResolver.cjs +4 -0
  29. package/dist/localResolver.cjs.map +1 -1
  30. package/dist/localResolver.d.ts +4 -0
  31. package/dist/localResolver.d.ts.map +1 -1
  32. package/dist/localSessionStorageDb.cjs +1 -0
  33. package/dist/localSessionStorageDb.cjs.map +1 -1
  34. package/dist/localSessionStorageDb.d.ts +1 -0
  35. package/dist/localSessionStorageDb.d.ts.map +1 -1
  36. package/lib/local-driver-alpha.d.ts +13 -171
  37. package/lib/local-driver-beta.d.ts +47 -192
  38. package/lib/local-driver-public.d.ts +47 -192
  39. package/lib/local-driver-untrimmed.d.ts +13 -0
  40. package/lib/localDeltaStorageService.d.ts +1 -0
  41. package/lib/localDeltaStorageService.d.ts.map +1 -1
  42. package/lib/localDeltaStorageService.mjs +1 -0
  43. package/lib/localDeltaStorageService.mjs.map +1 -1
  44. package/lib/localDocumentDeltaConnection.d.ts +1 -0
  45. package/lib/localDocumentDeltaConnection.d.ts.map +1 -1
  46. package/lib/localDocumentDeltaConnection.mjs +1 -0
  47. package/lib/localDocumentDeltaConnection.mjs.map +1 -1
  48. package/lib/localDocumentService.d.ts +2 -0
  49. package/lib/localDocumentService.d.ts.map +1 -1
  50. package/lib/localDocumentService.mjs +2 -0
  51. package/lib/localDocumentService.mjs.map +1 -1
  52. package/lib/localDocumentServiceFactory.d.ts +1 -0
  53. package/lib/localDocumentServiceFactory.d.ts.map +1 -1
  54. package/lib/localDocumentServiceFactory.mjs +1 -0
  55. package/lib/localDocumentServiceFactory.mjs.map +1 -1
  56. package/lib/localDocumentStorageService.d.ts +3 -0
  57. package/lib/localDocumentStorageService.d.ts.map +1 -1
  58. package/lib/localDocumentStorageService.mjs +3 -0
  59. package/lib/localDocumentStorageService.mjs.map +1 -1
  60. package/lib/localResolver.d.ts +4 -0
  61. package/lib/localResolver.d.ts.map +1 -1
  62. package/lib/localResolver.mjs +4 -0
  63. package/lib/localResolver.mjs.map +1 -1
  64. package/lib/localSessionStorageDb.d.ts +1 -0
  65. package/lib/localSessionStorageDb.d.ts.map +1 -1
  66. package/lib/localSessionStorageDb.mjs +1 -0
  67. package/lib/localSessionStorageDb.mjs.map +1 -1
  68. package/package.json +12 -11
  69. package/src/localDeltaStorageService.ts +1 -0
  70. package/src/localDocumentDeltaConnection.ts +1 -0
  71. package/src/localDocumentService.ts +2 -0
  72. package/src/localDocumentServiceFactory.ts +1 -0
  73. package/src/localDocumentStorageService.ts +3 -0
  74. package/src/localResolver.ts +4 -0
  75. package/src/localSessionStorageDb.ts +1 -0
@@ -1,211 +1,66 @@
1
- import { DocumentDeltaConnection } from '@fluidframework/driver-base';
2
1
  import { GitManager } from '@fluidframework/server-services-client';
3
2
  import { IClient } from '@fluidframework/protocol-definitions';
4
3
  import { ICreateBlobResponse } from '@fluidframework/protocol-definitions';
5
4
  import { IDatabaseManager } from '@fluidframework/server-services-core';
6
5
  import { IDb } from '@fluidframework/server-services-core';
7
- import { IDocumentDeltaConnection } from '@fluidframework/driver-definitions';
8
- import { IDocumentDeltaStorageService } from '@fluidframework/driver-definitions';
9
6
  import { IDocumentMessage } from '@fluidframework/protocol-definitions';
10
- import { IDocumentService } from '@fluidframework/driver-definitions';
11
- import { IDocumentServiceFactory } from '@fluidframework/driver-definitions';
12
- import { IDocumentServicePolicies } from '@fluidframework/driver-definitions';
13
- import { IDocumentStorageService } from '@fluidframework/driver-definitions';
14
- import { IDocumentStorageServicePolicies } from '@fluidframework/driver-definitions';
15
7
  import { ILocalDeltaConnectionServer } from '@fluidframework/server-local-server';
16
- import { IRequest } from '@fluidframework/core-interfaces';
17
- import { IResolvedUrl } from '@fluidframework/driver-definitions';
18
8
  import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
19
9
  import { ISnapshotTreeEx } from '@fluidframework/protocol-definitions';
20
- import { IStream } from '@fluidframework/driver-definitions';
21
- import { ISummaryContext } from '@fluidframework/driver-definitions';
22
10
  import { ISummaryHandle } from '@fluidframework/protocol-definitions';
23
11
  import { ISummaryTree } from '@fluidframework/protocol-definitions';
24
- import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
25
12
  import { ITestDbFactory } from '@fluidframework/server-test-utils';
26
- import { ITokenProvider } from '@fluidframework/routerlicious-driver';
27
- import { IUrlResolver } from '@fluidframework/driver-definitions';
28
13
  import { IVersion } from '@fluidframework/protocol-definitions';
29
14
  import { IWebSocketServer } from '@fluidframework/server-services-core';
30
15
  import { NackErrorType } from '@fluidframework/protocol-definitions';
31
16
  import type { Socket } from 'socket.io-client';
32
17
 
33
- /**
34
- * Creates and returns a document service for local use.
35
- * @param localDeltaConnectionServer - delta connection server for ops
36
- * @param tokenProvider - token provider with a single token
37
- * @param tenantId - ID of tenant
38
- * @param documentId - ID of document
39
- */
40
- export declare function createLocalDocumentService(resolvedUrl: IResolvedUrl, localDeltaConnectionServer: ILocalDeltaConnectionServer, tokenProvider: ITokenProvider, tenantId: string, documentId: string, documentDeltaConnectionsMap: Map<string, LocalDocumentDeltaConnection>, policies?: IDocumentServicePolicies, innerDocumentService?: IDocumentService, logger?: ITelemetryBaseLogger): IDocumentService;
41
-
42
- export declare function createLocalResolverCreateNewRequest(documentId: string): IRequest;
43
-
44
- /**
45
- * Provides access to the underlying delta storage on the server for local driver.
46
- */
47
- export declare class LocalDeltaStorageService implements IDocumentDeltaStorageService {
48
- private readonly tenantId;
49
- private readonly id;
50
- private readonly databaseManager;
51
- constructor(tenantId: string, id: string, databaseManager: IDatabaseManager);
52
- fetchMessages(from: number, to: number | undefined, abortSignal?: AbortSignal, cachedOnly?: boolean): IStream<ISequencedDocumentMessage[]>;
53
- private getCore;
54
- }
55
-
56
- /**
57
- * Represents a connection to a stream of delta updates
58
- */
59
- export declare class LocalDocumentDeltaConnection extends DocumentDeltaConnection {
60
- /**
61
- * Create a LocalDocumentDeltaConnection
62
- * Handle initial messages, contents or signals if they were in queue
63
- *
64
- * @param tenantId - the ID of the tenant
65
- * @param id - document ID
66
- * @param token - authorization token for storage service
67
- * @param client - information about the client
68
- * @param webSocketServer - web socket server to create connection
69
- */
70
- static create(tenantId: string, id: string, token: string, client: IClient, webSocketServer: IWebSocketServer, timeoutMs?: number, logger?: ITelemetryBaseLogger): Promise<LocalDocumentDeltaConnection>;
71
- constructor(socket: Socket, documentId: string, logger?: ITelemetryBaseLogger);
72
- /**
73
- * Submits a new delta operation to the server
74
- */
75
- submit(messages: IDocumentMessage[]): void;
76
- /**
77
- * Submits a new signal to the server
78
- */
79
- submitSignal(message: any): void;
80
- /**
81
- * Send a "disconnect" message on the socket.
82
- * @param disconnectReason - The reason of the disconnection.
83
- */
84
- disconnectClient(disconnectReason: string): void;
85
- /**
86
- * * Sends a "nack" message on the socket.
87
- * @param code - An error code number that represents the error. It will be a valid HTTP error code.
88
- * @param type - Type of the Nack.
89
- * @param message - A message about the nack for debugging/logging/telemetry purposes.
90
- */
91
- nackClient(code: number | undefined, type: NackErrorType | undefined, message: any): void;
92
- }
93
-
94
- /**
95
- * Basic implementation of a document service for local use.
96
- */
97
- export declare class LocalDocumentService implements IDocumentService {
98
- readonly resolvedUrl: IResolvedUrl;
99
- private readonly localDeltaConnectionServer;
100
- private readonly tokenProvider;
101
- private readonly tenantId;
102
- private readonly documentId;
103
- private readonly documentDeltaConnectionsMap;
104
- readonly policies: IDocumentServicePolicies;
105
- private readonly innerDocumentService?;
106
- private readonly logger?;
107
- /**
108
- * @param localDeltaConnectionServer - delta connection server for ops
109
- * @param tokenProvider - token provider
110
- * @param tenantId - ID of tenant
111
- * @param documentId - ID of document
112
- */
113
- constructor(resolvedUrl: IResolvedUrl, localDeltaConnectionServer: ILocalDeltaConnectionServer, tokenProvider: ITokenProvider, tenantId: string, documentId: string, documentDeltaConnectionsMap: Map<string, LocalDocumentDeltaConnection>, policies?: IDocumentServicePolicies, innerDocumentService?: IDocumentService | undefined, logger?: ITelemetryBaseLogger | undefined);
114
- dispose(): void;
115
- /**
116
- * Creates and returns a document storage service for local use.
117
- */
118
- connectToStorage(): Promise<IDocumentStorageService>;
119
- /**
120
- * Creates and returns a delta storage service for local use.
121
- */
122
- connectToDeltaStorage(): Promise<IDocumentDeltaStorageService>;
123
- /**
124
- * Creates and returns a delta stream for local use.
125
- * @param client - client data
126
- */
127
- connectToDeltaStream(client: IClient): Promise<IDocumentDeltaConnection>;
128
- }
129
-
130
- /**
131
- * Implementation of document service factory for local use.
132
- */
133
- export declare class LocalDocumentServiceFactory implements IDocumentServiceFactory {
134
- private readonly localDeltaConnectionServer;
135
- private readonly policies?;
136
- private readonly innerDocumentService?;
137
- private readonly documentDeltaConnectionsMap;
138
- /**
139
- * @param localDeltaConnectionServer - delta connection server for ops
140
- */
141
- constructor(localDeltaConnectionServer: ILocalDeltaConnectionServer, policies?: IDocumentServicePolicies | undefined, innerDocumentService?: IDocumentService | undefined);
142
- createContainer(createNewSummary: ISummaryTree | undefined, resolvedUrl: IResolvedUrl, logger?: ITelemetryBaseLogger, clientIsSummarizer?: boolean): Promise<IDocumentService>;
143
- /**
144
- * Creates and returns a document service for testing using the given resolved
145
- * URL for the tenant ID, document ID, and token.
146
- * @param resolvedUrl - resolved URL of document
147
- */
148
- createDocumentService(resolvedUrl: IResolvedUrl, logger?: ITelemetryBaseLogger, clientIsSummarizer?: boolean): Promise<IDocumentService>;
149
- /**
150
- * Gets the document delta connection for the clientId and asks it to disconnect the client.
151
- * @param clientId - The ID of the client to be disconnected.
152
- * @param disconnectReason - The reason of the disconnection.
153
- */
154
- disconnectClient(clientId: string, disconnectReason: string): void;
155
- /**
156
- * Gets the document delta connection for the clientId and asks it to nack the client.
157
- * @param clientId - The ID of the client to be Nack'd.
158
- * @param code - An error code number that represents the error. It will be a valid HTTP error code.
159
- * @param type - Type of the Nack.
160
- * @param message - A message about the nack for debugging/logging/telemetry purposes.
161
- */
162
- nackClient(clientId: string, code?: number, type?: NackErrorType, message?: any): void;
163
- }
164
-
165
- export declare class LocalDocumentStorageService implements IDocumentStorageService {
166
- private readonly id;
167
- private readonly manager;
168
- readonly policies: IDocumentStorageServicePolicies;
169
- private readonly localDeltaConnectionServer?;
170
- private readonly resolvedUrl?;
171
- protected readonly blobsShaCache: Map<string, string>;
172
- private readonly summaryTreeUploadManager;
173
- get repositoryUrl(): string;
174
- constructor(id: string, manager: GitManager, policies: IDocumentStorageServicePolicies, localDeltaConnectionServer?: ILocalDeltaConnectionServer | undefined, resolvedUrl?: IResolvedUrl | undefined);
175
- getVersions(versionId: string | null, count: number): Promise<IVersion[]>;
176
- getSnapshotTree(version?: IVersion): Promise<ISnapshotTreeEx | null>;
177
- readBlob(blobId: string): Promise<ArrayBufferLike>;
178
- uploadSummaryWithContext(summary: ISummaryTree, context: ISummaryContext): Promise<string>;
179
- createBlob(file: ArrayBufferLike): Promise<ICreateBlobResponse>;
180
- downloadSummary(handle: ISummaryHandle): Promise<ISummaryTree>;
181
- private getPreviousFullSnapshot;
182
- }
183
-
184
- /**
185
- * Resolves URLs by providing fake URLs which succeed with the other
186
- * related local classes.
187
- */
188
- export declare class LocalResolver implements IUrlResolver {
189
- private readonly tenantId;
190
- private readonly tokenKey;
191
- constructor();
192
- /**
193
- * Resolves URL requests by providing fake URLs with an actually generated
194
- * token from constant test strings. The root of the URL is fake, but the
195
- * remaining relative URL can still be parsed.
196
- * @param request - request to handle
197
- */
198
- resolve(request: IRequest): Promise<IResolvedUrl>;
199
- getAbsoluteUrl(resolvedUrl: IResolvedUrl, relativeUrl: string): Promise<string>;
200
- createCreateNewRequest(documentId: string): IRequest;
201
- }
202
-
203
- /**
204
- * A database factory for testing that stores data in the browsers session storage
205
- */
206
- export declare class LocalSessionStorageDbFactory implements ITestDbFactory {
207
- readonly testDatabase: IDb;
208
- connect(): Promise<IDb>;
209
- }
18
+ /* Excluded from this release type: createLocalDocumentService */
19
+
20
+ /* Excluded from this release type: createLocalResolverCreateNewRequest */
21
+
22
+ /* Excluded from this release type: DocumentDeltaConnection */
23
+
24
+ /* Excluded from this release type: IDocumentDeltaConnection */
25
+
26
+ /* Excluded from this release type: IDocumentDeltaStorageService */
27
+
28
+ /* Excluded from this release type: IDocumentService */
29
+
30
+ /* Excluded from this release type: IDocumentServiceFactory */
31
+
32
+ /* Excluded from this release type: IDocumentServicePolicies */
33
+
34
+ /* Excluded from this release type: IDocumentStorageService */
35
+
36
+ /* Excluded from this release type: IDocumentStorageServicePolicies */
37
+
38
+ /* Excluded from this release type: IRequest */
39
+
40
+ /* Excluded from this release type: IResolvedUrl */
41
+
42
+ /* Excluded from this release type: IStream */
43
+
44
+ /* Excluded from this release type: ISummaryContext */
45
+
46
+ /* Excluded from this release type: ITelemetryBaseLogger */
47
+
48
+ /* Excluded from this release type: ITokenProvider */
49
+
50
+ /* Excluded from this release type: IUrlResolver */
51
+
52
+ /* Excluded from this release type: LocalDeltaStorageService */
53
+
54
+ /* Excluded from this release type: LocalDocumentDeltaConnection */
55
+
56
+ /* Excluded from this release type: LocalDocumentService */
57
+
58
+ /* Excluded from this release type: LocalDocumentServiceFactory */
59
+
60
+ /* Excluded from this release type: LocalDocumentStorageService */
61
+
62
+ /* Excluded from this release type: LocalResolver */
63
+
64
+ /* Excluded from this release type: LocalSessionStorageDbFactory */
210
65
 
211
66
  export { }
@@ -1,211 +1,66 @@
1
- import { DocumentDeltaConnection } from '@fluidframework/driver-base';
2
1
  import { GitManager } from '@fluidframework/server-services-client';
3
2
  import { IClient } from '@fluidframework/protocol-definitions';
4
3
  import { ICreateBlobResponse } from '@fluidframework/protocol-definitions';
5
4
  import { IDatabaseManager } from '@fluidframework/server-services-core';
6
5
  import { IDb } from '@fluidframework/server-services-core';
7
- import { IDocumentDeltaConnection } from '@fluidframework/driver-definitions';
8
- import { IDocumentDeltaStorageService } from '@fluidframework/driver-definitions';
9
6
  import { IDocumentMessage } from '@fluidframework/protocol-definitions';
10
- import { IDocumentService } from '@fluidframework/driver-definitions';
11
- import { IDocumentServiceFactory } from '@fluidframework/driver-definitions';
12
- import { IDocumentServicePolicies } from '@fluidframework/driver-definitions';
13
- import { IDocumentStorageService } from '@fluidframework/driver-definitions';
14
- import { IDocumentStorageServicePolicies } from '@fluidframework/driver-definitions';
15
7
  import { ILocalDeltaConnectionServer } from '@fluidframework/server-local-server';
16
- import { IRequest } from '@fluidframework/core-interfaces';
17
- import { IResolvedUrl } from '@fluidframework/driver-definitions';
18
8
  import { ISequencedDocumentMessage } from '@fluidframework/protocol-definitions';
19
9
  import { ISnapshotTreeEx } from '@fluidframework/protocol-definitions';
20
- import { IStream } from '@fluidframework/driver-definitions';
21
- import { ISummaryContext } from '@fluidframework/driver-definitions';
22
10
  import { ISummaryHandle } from '@fluidframework/protocol-definitions';
23
11
  import { ISummaryTree } from '@fluidframework/protocol-definitions';
24
- import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
25
12
  import { ITestDbFactory } from '@fluidframework/server-test-utils';
26
- import { ITokenProvider } from '@fluidframework/routerlicious-driver';
27
- import { IUrlResolver } from '@fluidframework/driver-definitions';
28
13
  import { IVersion } from '@fluidframework/protocol-definitions';
29
14
  import { IWebSocketServer } from '@fluidframework/server-services-core';
30
15
  import { NackErrorType } from '@fluidframework/protocol-definitions';
31
16
  import type { Socket } from 'socket.io-client';
32
17
 
33
- /**
34
- * Creates and returns a document service for local use.
35
- * @param localDeltaConnectionServer - delta connection server for ops
36
- * @param tokenProvider - token provider with a single token
37
- * @param tenantId - ID of tenant
38
- * @param documentId - ID of document
39
- */
40
- export declare function createLocalDocumentService(resolvedUrl: IResolvedUrl, localDeltaConnectionServer: ILocalDeltaConnectionServer, tokenProvider: ITokenProvider, tenantId: string, documentId: string, documentDeltaConnectionsMap: Map<string, LocalDocumentDeltaConnection>, policies?: IDocumentServicePolicies, innerDocumentService?: IDocumentService, logger?: ITelemetryBaseLogger): IDocumentService;
41
-
42
- export declare function createLocalResolverCreateNewRequest(documentId: string): IRequest;
43
-
44
- /**
45
- * Provides access to the underlying delta storage on the server for local driver.
46
- */
47
- export declare class LocalDeltaStorageService implements IDocumentDeltaStorageService {
48
- private readonly tenantId;
49
- private readonly id;
50
- private readonly databaseManager;
51
- constructor(tenantId: string, id: string, databaseManager: IDatabaseManager);
52
- fetchMessages(from: number, to: number | undefined, abortSignal?: AbortSignal, cachedOnly?: boolean): IStream<ISequencedDocumentMessage[]>;
53
- private getCore;
54
- }
55
-
56
- /**
57
- * Represents a connection to a stream of delta updates
58
- */
59
- export declare class LocalDocumentDeltaConnection extends DocumentDeltaConnection {
60
- /**
61
- * Create a LocalDocumentDeltaConnection
62
- * Handle initial messages, contents or signals if they were in queue
63
- *
64
- * @param tenantId - the ID of the tenant
65
- * @param id - document ID
66
- * @param token - authorization token for storage service
67
- * @param client - information about the client
68
- * @param webSocketServer - web socket server to create connection
69
- */
70
- static create(tenantId: string, id: string, token: string, client: IClient, webSocketServer: IWebSocketServer, timeoutMs?: number, logger?: ITelemetryBaseLogger): Promise<LocalDocumentDeltaConnection>;
71
- constructor(socket: Socket, documentId: string, logger?: ITelemetryBaseLogger);
72
- /**
73
- * Submits a new delta operation to the server
74
- */
75
- submit(messages: IDocumentMessage[]): void;
76
- /**
77
- * Submits a new signal to the server
78
- */
79
- submitSignal(message: any): void;
80
- /**
81
- * Send a "disconnect" message on the socket.
82
- * @param disconnectReason - The reason of the disconnection.
83
- */
84
- disconnectClient(disconnectReason: string): void;
85
- /**
86
- * * Sends a "nack" message on the socket.
87
- * @param code - An error code number that represents the error. It will be a valid HTTP error code.
88
- * @param type - Type of the Nack.
89
- * @param message - A message about the nack for debugging/logging/telemetry purposes.
90
- */
91
- nackClient(code: number | undefined, type: NackErrorType | undefined, message: any): void;
92
- }
93
-
94
- /**
95
- * Basic implementation of a document service for local use.
96
- */
97
- export declare class LocalDocumentService implements IDocumentService {
98
- readonly resolvedUrl: IResolvedUrl;
99
- private readonly localDeltaConnectionServer;
100
- private readonly tokenProvider;
101
- private readonly tenantId;
102
- private readonly documentId;
103
- private readonly documentDeltaConnectionsMap;
104
- readonly policies: IDocumentServicePolicies;
105
- private readonly innerDocumentService?;
106
- private readonly logger?;
107
- /**
108
- * @param localDeltaConnectionServer - delta connection server for ops
109
- * @param tokenProvider - token provider
110
- * @param tenantId - ID of tenant
111
- * @param documentId - ID of document
112
- */
113
- constructor(resolvedUrl: IResolvedUrl, localDeltaConnectionServer: ILocalDeltaConnectionServer, tokenProvider: ITokenProvider, tenantId: string, documentId: string, documentDeltaConnectionsMap: Map<string, LocalDocumentDeltaConnection>, policies?: IDocumentServicePolicies, innerDocumentService?: IDocumentService | undefined, logger?: ITelemetryBaseLogger | undefined);
114
- dispose(): void;
115
- /**
116
- * Creates and returns a document storage service for local use.
117
- */
118
- connectToStorage(): Promise<IDocumentStorageService>;
119
- /**
120
- * Creates and returns a delta storage service for local use.
121
- */
122
- connectToDeltaStorage(): Promise<IDocumentDeltaStorageService>;
123
- /**
124
- * Creates and returns a delta stream for local use.
125
- * @param client - client data
126
- */
127
- connectToDeltaStream(client: IClient): Promise<IDocumentDeltaConnection>;
128
- }
129
-
130
- /**
131
- * Implementation of document service factory for local use.
132
- */
133
- export declare class LocalDocumentServiceFactory implements IDocumentServiceFactory {
134
- private readonly localDeltaConnectionServer;
135
- private readonly policies?;
136
- private readonly innerDocumentService?;
137
- private readonly documentDeltaConnectionsMap;
138
- /**
139
- * @param localDeltaConnectionServer - delta connection server for ops
140
- */
141
- constructor(localDeltaConnectionServer: ILocalDeltaConnectionServer, policies?: IDocumentServicePolicies | undefined, innerDocumentService?: IDocumentService | undefined);
142
- createContainer(createNewSummary: ISummaryTree | undefined, resolvedUrl: IResolvedUrl, logger?: ITelemetryBaseLogger, clientIsSummarizer?: boolean): Promise<IDocumentService>;
143
- /**
144
- * Creates and returns a document service for testing using the given resolved
145
- * URL for the tenant ID, document ID, and token.
146
- * @param resolvedUrl - resolved URL of document
147
- */
148
- createDocumentService(resolvedUrl: IResolvedUrl, logger?: ITelemetryBaseLogger, clientIsSummarizer?: boolean): Promise<IDocumentService>;
149
- /**
150
- * Gets the document delta connection for the clientId and asks it to disconnect the client.
151
- * @param clientId - The ID of the client to be disconnected.
152
- * @param disconnectReason - The reason of the disconnection.
153
- */
154
- disconnectClient(clientId: string, disconnectReason: string): void;
155
- /**
156
- * Gets the document delta connection for the clientId and asks it to nack the client.
157
- * @param clientId - The ID of the client to be Nack'd.
158
- * @param code - An error code number that represents the error. It will be a valid HTTP error code.
159
- * @param type - Type of the Nack.
160
- * @param message - A message about the nack for debugging/logging/telemetry purposes.
161
- */
162
- nackClient(clientId: string, code?: number, type?: NackErrorType, message?: any): void;
163
- }
164
-
165
- export declare class LocalDocumentStorageService implements IDocumentStorageService {
166
- private readonly id;
167
- private readonly manager;
168
- readonly policies: IDocumentStorageServicePolicies;
169
- private readonly localDeltaConnectionServer?;
170
- private readonly resolvedUrl?;
171
- protected readonly blobsShaCache: Map<string, string>;
172
- private readonly summaryTreeUploadManager;
173
- get repositoryUrl(): string;
174
- constructor(id: string, manager: GitManager, policies: IDocumentStorageServicePolicies, localDeltaConnectionServer?: ILocalDeltaConnectionServer | undefined, resolvedUrl?: IResolvedUrl | undefined);
175
- getVersions(versionId: string | null, count: number): Promise<IVersion[]>;
176
- getSnapshotTree(version?: IVersion): Promise<ISnapshotTreeEx | null>;
177
- readBlob(blobId: string): Promise<ArrayBufferLike>;
178
- uploadSummaryWithContext(summary: ISummaryTree, context: ISummaryContext): Promise<string>;
179
- createBlob(file: ArrayBufferLike): Promise<ICreateBlobResponse>;
180
- downloadSummary(handle: ISummaryHandle): Promise<ISummaryTree>;
181
- private getPreviousFullSnapshot;
182
- }
183
-
184
- /**
185
- * Resolves URLs by providing fake URLs which succeed with the other
186
- * related local classes.
187
- */
188
- export declare class LocalResolver implements IUrlResolver {
189
- private readonly tenantId;
190
- private readonly tokenKey;
191
- constructor();
192
- /**
193
- * Resolves URL requests by providing fake URLs with an actually generated
194
- * token from constant test strings. The root of the URL is fake, but the
195
- * remaining relative URL can still be parsed.
196
- * @param request - request to handle
197
- */
198
- resolve(request: IRequest): Promise<IResolvedUrl>;
199
- getAbsoluteUrl(resolvedUrl: IResolvedUrl, relativeUrl: string): Promise<string>;
200
- createCreateNewRequest(documentId: string): IRequest;
201
- }
202
-
203
- /**
204
- * A database factory for testing that stores data in the browsers session storage
205
- */
206
- export declare class LocalSessionStorageDbFactory implements ITestDbFactory {
207
- readonly testDatabase: IDb;
208
- connect(): Promise<IDb>;
209
- }
18
+ /* Excluded from this release type: createLocalDocumentService */
19
+
20
+ /* Excluded from this release type: createLocalResolverCreateNewRequest */
21
+
22
+ /* Excluded from this release type: DocumentDeltaConnection */
23
+
24
+ /* Excluded from this release type: IDocumentDeltaConnection */
25
+
26
+ /* Excluded from this release type: IDocumentDeltaStorageService */
27
+
28
+ /* Excluded from this release type: IDocumentService */
29
+
30
+ /* Excluded from this release type: IDocumentServiceFactory */
31
+
32
+ /* Excluded from this release type: IDocumentServicePolicies */
33
+
34
+ /* Excluded from this release type: IDocumentStorageService */
35
+
36
+ /* Excluded from this release type: IDocumentStorageServicePolicies */
37
+
38
+ /* Excluded from this release type: IRequest */
39
+
40
+ /* Excluded from this release type: IResolvedUrl */
41
+
42
+ /* Excluded from this release type: IStream */
43
+
44
+ /* Excluded from this release type: ISummaryContext */
45
+
46
+ /* Excluded from this release type: ITelemetryBaseLogger */
47
+
48
+ /* Excluded from this release type: ITokenProvider */
49
+
50
+ /* Excluded from this release type: IUrlResolver */
51
+
52
+ /* Excluded from this release type: LocalDeltaStorageService */
53
+
54
+ /* Excluded from this release type: LocalDocumentDeltaConnection */
55
+
56
+ /* Excluded from this release type: LocalDocumentService */
57
+
58
+ /* Excluded from this release type: LocalDocumentServiceFactory */
59
+
60
+ /* Excluded from this release type: LocalDocumentStorageService */
61
+
62
+ /* Excluded from this release type: LocalResolver */
63
+
64
+ /* Excluded from this release type: LocalSessionStorageDbFactory */
210
65
 
211
66
  export { }
@@ -36,13 +36,18 @@ import type { Socket } from 'socket.io-client';
36
36
  * @param tokenProvider - token provider with a single token
37
37
  * @param tenantId - ID of tenant
38
38
  * @param documentId - ID of document
39
+ * @internal
39
40
  */
40
41
  export declare function createLocalDocumentService(resolvedUrl: IResolvedUrl, localDeltaConnectionServer: ILocalDeltaConnectionServer, tokenProvider: ITokenProvider, tenantId: string, documentId: string, documentDeltaConnectionsMap: Map<string, LocalDocumentDeltaConnection>, policies?: IDocumentServicePolicies, innerDocumentService?: IDocumentService, logger?: ITelemetryBaseLogger): IDocumentService;
41
42
 
43
+ /**
44
+ * @internal
45
+ */
42
46
  export declare function createLocalResolverCreateNewRequest(documentId: string): IRequest;
43
47
 
44
48
  /**
45
49
  * Provides access to the underlying delta storage on the server for local driver.
50
+ * @internal
46
51
  */
47
52
  export declare class LocalDeltaStorageService implements IDocumentDeltaStorageService {
48
53
  private readonly tenantId;
@@ -55,6 +60,7 @@ export declare class LocalDeltaStorageService implements IDocumentDeltaStorageSe
55
60
 
56
61
  /**
57
62
  * Represents a connection to a stream of delta updates
63
+ * @internal
58
64
  */
59
65
  export declare class LocalDocumentDeltaConnection extends DocumentDeltaConnection {
60
66
  /**
@@ -93,6 +99,7 @@ export declare class LocalDocumentDeltaConnection extends DocumentDeltaConnectio
93
99
 
94
100
  /**
95
101
  * Basic implementation of a document service for local use.
102
+ * @internal
96
103
  */
97
104
  export declare class LocalDocumentService implements IDocumentService {
98
105
  readonly resolvedUrl: IResolvedUrl;
@@ -129,6 +136,7 @@ export declare class LocalDocumentService implements IDocumentService {
129
136
 
130
137
  /**
131
138
  * Implementation of document service factory for local use.
139
+ * @internal
132
140
  */
133
141
  export declare class LocalDocumentServiceFactory implements IDocumentServiceFactory {
134
142
  private readonly localDeltaConnectionServer;
@@ -162,6 +170,9 @@ export declare class LocalDocumentServiceFactory implements IDocumentServiceFact
162
170
  nackClient(clientId: string, code?: number, type?: NackErrorType, message?: any): void;
163
171
  }
164
172
 
173
+ /**
174
+ * @internal
175
+ */
165
176
  export declare class LocalDocumentStorageService implements IDocumentStorageService {
166
177
  private readonly id;
167
178
  private readonly manager;
@@ -184,6 +195,7 @@ export declare class LocalDocumentStorageService implements IDocumentStorageServ
184
195
  /**
185
196
  * Resolves URLs by providing fake URLs which succeed with the other
186
197
  * related local classes.
198
+ * @internal
187
199
  */
188
200
  export declare class LocalResolver implements IUrlResolver {
189
201
  private readonly tenantId;
@@ -202,6 +214,7 @@ export declare class LocalResolver implements IUrlResolver {
202
214
 
203
215
  /**
204
216
  * A database factory for testing that stores data in the browsers session storage
217
+ * @internal
205
218
  */
206
219
  export declare class LocalSessionStorageDbFactory implements ITestDbFactory {
207
220
  readonly testDatabase: IDb;
@@ -7,6 +7,7 @@ import { ISequencedDocumentMessage } from "@fluidframework/protocol-definitions"
7
7
  import { IDatabaseManager } from "@fluidframework/server-services-core";
8
8
  /**
9
9
  * Provides access to the underlying delta storage on the server for local driver.
10
+ * @internal
10
11
  */
11
12
  export declare class LocalDeltaStorageService implements IDocumentDeltaStorageService {
12
13
  private readonly tenantId;
@@ -1 +1 @@
1
- {"version":3,"file":"localDeltaStorageService.d.ts","sourceRoot":"","sources":["../src/localDeltaStorageService.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,4BAA4B,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAGxE;;GAEG;AACH,qBAAa,wBAAyB,YAAW,4BAA4B;IAE3E,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,eAAe;gBAFf,QAAQ,EAAE,MAAM,EAChB,EAAE,EAAE,MAAM,EACV,eAAe,EAAE,gBAAgB;IAG5C,aAAa,CACnB,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,MAAM,GAAG,SAAS,EACtB,WAAW,CAAC,EAAE,WAAW,EACzB,UAAU,CAAC,EAAE,OAAO,GAClB,OAAO,CAAC,yBAAyB,EAAE,CAAC;YAIzB,OAAO;CAcrB"}
1
+ {"version":3,"file":"localDeltaStorageService.d.ts","sourceRoot":"","sources":["../src/localDeltaStorageService.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,4BAA4B,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAGxE;;;GAGG;AACH,qBAAa,wBAAyB,YAAW,4BAA4B;IAE3E,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,QAAQ,CAAC,EAAE;IACnB,OAAO,CAAC,QAAQ,CAAC,eAAe;gBAFf,QAAQ,EAAE,MAAM,EAChB,EAAE,EAAE,MAAM,EACV,eAAe,EAAE,gBAAgB;IAG5C,aAAa,CACnB,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,MAAM,GAAG,SAAS,EACtB,WAAW,CAAC,EAAE,WAAW,EACzB,UAAU,CAAC,EAAE,OAAO,GAClB,OAAO,CAAC,yBAAyB,EAAE,CAAC;YAIzB,OAAO;CAcrB"}
@@ -5,6 +5,7 @@
5
5
  import { streamFromMessages } from "@fluidframework/driver-utils";
6
6
  /**
7
7
  * Provides access to the underlying delta storage on the server for local driver.
8
+ * @internal
8
9
  */
9
10
  export class LocalDeltaStorageService {
10
11
  constructor(tenantId, id, databaseManager) {
@@ -1 +1 @@
1
- {"version":3,"file":"localDeltaStorageService.mjs","sourceRoot":"","sources":["../src/localDeltaStorageService.ts"],"names":[],"mappings":"AAAA;;;GAGG;OAKI,EAAE,kBAAkB,EAAE,MAAM,8BAA8B;AAEjE;;GAEG;AACH,MAAM,OAAO,wBAAwB;IACpC,YACkB,QAAgB,EAChB,EAAU,EACV,eAAiC;QAFjC,aAAQ,GAAR,QAAQ,CAAQ;QAChB,OAAE,GAAF,EAAE,CAAQ;QACV,oBAAe,GAAf,eAAe,CAAkB;IAChD,CAAC;IAEG,aAAa,CACnB,IAAY,EACZ,EAAsB,EACtB,WAAyB,EACzB,UAAoB;QAEpB,OAAO,kBAAkB,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;IACnD,CAAC;IAEO,KAAK,CAAC,OAAO,CAAC,IAAY,EAAE,EAAW;QAC9C,MAAM,KAAK,GAAG,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC;QAC/D,KAAK,CAAC,0BAA0B,CAAC,GAAG,EAAE,CAAC;QACvC,KAAK,CAAC,0BAA0B,CAAC,CAAC,GAAG,GAAG,IAAI,GAAG,CAAC,CAAC,CAAC,oBAAoB;QAEtE,kFAAkF;QAClF,iBAAiB;QACjB,KAAK,CAAC,0BAA0B,CAAC,CAAC,GAAG,GAAG,EAAE,IAAI,MAAM,CAAC,gBAAgB,CAAC;QAEtE,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,kBAAkB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC;QACxF,MAAM,QAAQ,GAAG,MAAM,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,0BAA0B,EAAE,CAAC,EAAE,CAAC,CAAC;QAChF,MAAM,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QAC1D,OAAO,QAAQ,CAAC;IACjB,CAAC;CACD","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { IDocumentDeltaStorageService, IStream } from \"@fluidframework/driver-definitions\";\nimport { ISequencedDocumentMessage } from \"@fluidframework/protocol-definitions\";\nimport { IDatabaseManager } from \"@fluidframework/server-services-core\";\nimport { streamFromMessages } from \"@fluidframework/driver-utils\";\n\n/**\n * Provides access to the underlying delta storage on the server for local driver.\n */\nexport class LocalDeltaStorageService implements IDocumentDeltaStorageService {\n\tconstructor(\n\t\tprivate readonly tenantId: string,\n\t\tprivate readonly id: string,\n\t\tprivate readonly databaseManager: IDatabaseManager,\n\t) {}\n\n\tpublic fetchMessages(\n\t\tfrom: number,\n\t\tto: number | undefined,\n\t\tabortSignal?: AbortSignal,\n\t\tcachedOnly?: boolean,\n\t): IStream<ISequencedDocumentMessage[]> {\n\t\treturn streamFromMessages(this.getCore(from, to));\n\t}\n\n\tprivate async getCore(from: number, to?: number) {\n\t\tconst query = { documentId: this.id, tenantId: this.tenantId };\n\t\tquery[\"operation.sequenceNumber\"] = {};\n\t\tquery[\"operation.sequenceNumber\"].$gt = from - 1; // from is inclusive\n\n\t\t// This looks like a bug. It used to work without setting $lt key. Now it does not\n\t\t// Need follow up\n\t\tquery[\"operation.sequenceNumber\"].$lt = to ?? Number.MAX_SAFE_INTEGER;\n\n\t\tconst allDeltas = await this.databaseManager.getDeltaCollection(this.tenantId, this.id);\n\t\tconst dbDeltas = await allDeltas.find(query, { \"operation.sequenceNumber\": 1 });\n\t\tconst messages = dbDeltas.map((delta) => delta.operation);\n\t\treturn messages;\n\t}\n}\n"]}
1
+ {"version":3,"file":"localDeltaStorageService.mjs","sourceRoot":"","sources":["../src/localDeltaStorageService.ts"],"names":[],"mappings":"AAAA;;;GAGG;OAKI,EAAE,kBAAkB,EAAE,MAAM,8BAA8B;AAEjE;;;GAGG;AACH,MAAM,OAAO,wBAAwB;IACpC,YACkB,QAAgB,EAChB,EAAU,EACV,eAAiC;QAFjC,aAAQ,GAAR,QAAQ,CAAQ;QAChB,OAAE,GAAF,EAAE,CAAQ;QACV,oBAAe,GAAf,eAAe,CAAkB;IAChD,CAAC;IAEG,aAAa,CACnB,IAAY,EACZ,EAAsB,EACtB,WAAyB,EACzB,UAAoB;QAEpB,OAAO,kBAAkB,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;IACnD,CAAC;IAEO,KAAK,CAAC,OAAO,CAAC,IAAY,EAAE,EAAW;QAC9C,MAAM,KAAK,GAAG,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC;QAC/D,KAAK,CAAC,0BAA0B,CAAC,GAAG,EAAE,CAAC;QACvC,KAAK,CAAC,0BAA0B,CAAC,CAAC,GAAG,GAAG,IAAI,GAAG,CAAC,CAAC,CAAC,oBAAoB;QAEtE,kFAAkF;QAClF,iBAAiB;QACjB,KAAK,CAAC,0BAA0B,CAAC,CAAC,GAAG,GAAG,EAAE,IAAI,MAAM,CAAC,gBAAgB,CAAC;QAEtE,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,kBAAkB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC;QACxF,MAAM,QAAQ,GAAG,MAAM,SAAS,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,0BAA0B,EAAE,CAAC,EAAE,CAAC,CAAC;QAChF,MAAM,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;QAC1D,OAAO,QAAQ,CAAC;IACjB,CAAC;CACD","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport { IDocumentDeltaStorageService, IStream } from \"@fluidframework/driver-definitions\";\nimport { ISequencedDocumentMessage } from \"@fluidframework/protocol-definitions\";\nimport { IDatabaseManager } from \"@fluidframework/server-services-core\";\nimport { streamFromMessages } from \"@fluidframework/driver-utils\";\n\n/**\n * Provides access to the underlying delta storage on the server for local driver.\n * @internal\n */\nexport class LocalDeltaStorageService implements IDocumentDeltaStorageService {\n\tconstructor(\n\t\tprivate readonly tenantId: string,\n\t\tprivate readonly id: string,\n\t\tprivate readonly databaseManager: IDatabaseManager,\n\t) {}\n\n\tpublic fetchMessages(\n\t\tfrom: number,\n\t\tto: number | undefined,\n\t\tabortSignal?: AbortSignal,\n\t\tcachedOnly?: boolean,\n\t): IStream<ISequencedDocumentMessage[]> {\n\t\treturn streamFromMessages(this.getCore(from, to));\n\t}\n\n\tprivate async getCore(from: number, to?: number) {\n\t\tconst query = { documentId: this.id, tenantId: this.tenantId };\n\t\tquery[\"operation.sequenceNumber\"] = {};\n\t\tquery[\"operation.sequenceNumber\"].$gt = from - 1; // from is inclusive\n\n\t\t// This looks like a bug. It used to work without setting $lt key. Now it does not\n\t\t// Need follow up\n\t\tquery[\"operation.sequenceNumber\"].$lt = to ?? Number.MAX_SAFE_INTEGER;\n\n\t\tconst allDeltas = await this.databaseManager.getDeltaCollection(this.tenantId, this.id);\n\t\tconst dbDeltas = await allDeltas.find(query, { \"operation.sequenceNumber\": 1 });\n\t\tconst messages = dbDeltas.map((delta) => delta.operation);\n\t\treturn messages;\n\t}\n}\n"]}
@@ -9,6 +9,7 @@ import type { Socket } from "socket.io-client";
9
9
  import { ITelemetryBaseLogger } from "@fluidframework/core-interfaces";
10
10
  /**
11
11
  * Represents a connection to a stream of delta updates
12
+ * @internal
12
13
  */
13
14
  export declare class LocalDocumentDeltaConnection extends DocumentDeltaConnection {
14
15
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"localDocumentDeltaConnection.d.ts","sourceRoot":"","sources":["../src/localDocumentDeltaConnection.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EACN,OAAO,EAEP,gBAAgB,EAChB,aAAa,EACb,MAAM,sCAAsC,CAAC;AAG9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAIvE;;GAEG;AACH,qBAAa,4BAA6B,SAAQ,uBAAuB;IACxE;;;;;;;;;OASG;WACiB,MAAM,CACzB,QAAQ,EAAE,MAAM,EAChB,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,OAAO,EACf,eAAe,EAAE,gBAAgB,EACjC,SAAS,SAAQ,EACjB,MAAM,CAAC,EAAE,oBAAoB,GAC3B,OAAO,CAAC,4BAA4B,CAAC;gBAqB5B,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,oBAAoB;IAI7E;;OAEG;IACI,MAAM,CAAC,QAAQ,EAAE,gBAAgB,EAAE,GAAG,IAAI;IAQjD;;OAEG;IACI,YAAY,CAAC,OAAO,EAAE,GAAG,GAAG,IAAI;IAIvC;;;OAGG;IACI,gBAAgB,CAAC,gBAAgB,EAAE,MAAM;IAIhD;;;;;OAKG;IACI,UAAU,CAChB,IAAI,oBAAc,EAClB,IAAI,2BAA+C,EACnD,OAAO,EAAE,GAAG;CAab"}
1
+ {"version":3,"file":"localDocumentDeltaConnection.d.ts","sourceRoot":"","sources":["../src/localDocumentDeltaConnection.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACtE,OAAO,EACN,OAAO,EAEP,gBAAgB,EAChB,aAAa,EACb,MAAM,sCAAsC,CAAC;AAG9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAIvE;;;GAGG;AACH,qBAAa,4BAA6B,SAAQ,uBAAuB;IACxE;;;;;;;;;OASG;WACiB,MAAM,CACzB,QAAQ,EAAE,MAAM,EAChB,EAAE,EAAE,MAAM,EACV,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,OAAO,EACf,eAAe,EAAE,gBAAgB,EACjC,SAAS,SAAQ,EACjB,MAAM,CAAC,EAAE,oBAAoB,GAC3B,OAAO,CAAC,4BAA4B,CAAC;gBAqB5B,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,oBAAoB;IAI7E;;OAEG;IACI,MAAM,CAAC,QAAQ,EAAE,gBAAgB,EAAE,GAAG,IAAI;IAQjD;;OAEG;IACI,YAAY,CAAC,OAAO,EAAE,GAAG,GAAG,IAAI;IAIvC;;;OAGG;IACI,gBAAgB,CAAC,gBAAgB,EAAE,MAAM;IAIhD;;;;;OAKG;IACI,UAAU,CAChB,IAAI,oBAAc,EAClB,IAAI,2BAA+C,EACnD,OAAO,EAAE,GAAG;CAab"}