@fluidframework/test-utils 2.0.0-rc.2.0.2 → 2.0.0-rc.3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/api-report/test-utils.api.md +72 -51
- package/dist/DriverWrappers.d.ts +1 -1
- package/dist/DriverWrappers.d.ts.map +1 -1
- package/dist/DriverWrappers.js.map +1 -1
- package/dist/TestSummaryUtils.d.ts +5 -5
- package/dist/TestSummaryUtils.d.ts.map +1 -1
- package/dist/TestSummaryUtils.js +13 -13
- package/dist/TestSummaryUtils.js.map +1 -1
- package/dist/containerUtils.d.ts +2 -2
- package/dist/containerUtils.d.ts.map +1 -1
- package/dist/containerUtils.js +3 -3
- package/dist/containerUtils.js.map +1 -1
- package/dist/debug.d.ts.map +1 -1
- package/dist/debug.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/interfaces.d.ts +3 -3
- package/dist/interfaces.d.ts.map +1 -1
- package/dist/interfaces.js.map +1 -1
- package/dist/legacy.d.ts +18 -0
- package/dist/loaderContainerTracker.d.ts +5 -1
- package/dist/loaderContainerTracker.d.ts.map +1 -1
- package/dist/loaderContainerTracker.js +15 -15
- package/dist/loaderContainerTracker.js.map +1 -1
- package/dist/localCodeLoader.d.ts +3 -3
- package/dist/localCodeLoader.d.ts.map +1 -1
- package/dist/localCodeLoader.js +4 -4
- package/dist/localCodeLoader.js.map +1 -1
- package/dist/localLoader.d.ts +3 -3
- package/dist/localLoader.d.ts.map +1 -1
- package/dist/localLoader.js +2 -2
- package/dist/localLoader.js.map +1 -1
- package/dist/packageVersion.d.ts +1 -1
- package/dist/packageVersion.js +1 -1
- package/dist/packageVersion.js.map +1 -1
- package/dist/public.d.ts +12 -0
- package/dist/retry.js +2 -2
- package/dist/retry.js.map +1 -1
- package/dist/testContainerRuntimeFactory.d.ts +5 -5
- package/dist/testContainerRuntimeFactory.d.ts.map +1 -1
- package/dist/testContainerRuntimeFactory.js +16 -14
- package/dist/testContainerRuntimeFactory.js.map +1 -1
- package/dist/testContainerRuntimeFactoryWithDefaultDataStore.d.ts +5 -5
- package/dist/testContainerRuntimeFactoryWithDefaultDataStore.d.ts.map +1 -1
- package/dist/testContainerRuntimeFactoryWithDefaultDataStore.js +2 -2
- package/dist/testContainerRuntimeFactoryWithDefaultDataStore.js.map +1 -1
- package/dist/testFluidObject.d.ts +5 -5
- package/dist/testFluidObject.d.ts.map +1 -1
- package/dist/testFluidObject.js +10 -10
- package/dist/testFluidObject.js.map +1 -1
- package/dist/testObjectProvider.d.ts +47 -23
- package/dist/testObjectProvider.d.ts.map +1 -1
- package/dist/testObjectProvider.js +66 -46
- package/dist/testObjectProvider.js.map +1 -1
- package/dist/timeoutUtils.js +4 -4
- package/dist/timeoutUtils.js.map +1 -1
- package/internal.d.ts +11 -0
- package/legacy.d.ts +11 -0
- package/lib/DriverWrappers.d.ts +1 -1
- package/lib/DriverWrappers.d.ts.map +1 -1
- package/lib/DriverWrappers.js.map +1 -1
- package/lib/TestSummaryUtils.d.ts +5 -5
- package/lib/TestSummaryUtils.d.ts.map +1 -1
- package/lib/TestSummaryUtils.js +5 -5
- package/lib/TestSummaryUtils.js.map +1 -1
- package/lib/containerUtils.d.ts +2 -2
- package/lib/containerUtils.d.ts.map +1 -1
- package/lib/containerUtils.js +1 -1
- package/lib/containerUtils.js.map +1 -1
- package/lib/debug.d.ts.map +1 -1
- package/lib/debug.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/interfaces.d.ts +3 -3
- package/lib/interfaces.d.ts.map +1 -1
- package/lib/interfaces.js.map +1 -1
- package/lib/legacy.d.ts +18 -0
- package/lib/loaderContainerTracker.d.ts +5 -1
- package/lib/loaderContainerTracker.d.ts.map +1 -1
- package/lib/loaderContainerTracker.js +2 -2
- package/lib/loaderContainerTracker.js.map +1 -1
- package/lib/localCodeLoader.d.ts +3 -3
- package/lib/localCodeLoader.d.ts.map +1 -1
- package/lib/localCodeLoader.js +2 -2
- package/lib/localCodeLoader.js.map +1 -1
- package/lib/localLoader.d.ts +3 -3
- package/lib/localLoader.d.ts.map +1 -1
- package/lib/localLoader.js +1 -1
- package/lib/localLoader.js.map +1 -1
- package/lib/packageVersion.d.ts +1 -1
- package/lib/packageVersion.js +1 -1
- package/lib/packageVersion.js.map +1 -1
- package/lib/public.d.ts +12 -0
- package/lib/retry.js +1 -1
- package/lib/retry.js.map +1 -1
- package/lib/testContainerRuntimeFactory.d.ts +5 -5
- package/lib/testContainerRuntimeFactory.d.ts.map +1 -1
- package/lib/testContainerRuntimeFactory.js +10 -6
- package/lib/testContainerRuntimeFactory.js.map +1 -1
- package/lib/testContainerRuntimeFactoryWithDefaultDataStore.d.ts +5 -5
- package/lib/testContainerRuntimeFactoryWithDefaultDataStore.d.ts.map +1 -1
- package/lib/testContainerRuntimeFactoryWithDefaultDataStore.js +1 -1
- package/lib/testContainerRuntimeFactoryWithDefaultDataStore.js.map +1 -1
- package/lib/testFluidObject.d.ts +5 -5
- package/lib/testFluidObject.d.ts.map +1 -1
- package/lib/testFluidObject.js +4 -4
- package/lib/testFluidObject.js.map +1 -1
- package/lib/testObjectProvider.d.ts +47 -23
- package/lib/testObjectProvider.d.ts.map +1 -1
- package/lib/testObjectProvider.js +61 -41
- package/lib/testObjectProvider.js.map +1 -1
- package/lib/timeoutUtils.js +1 -1
- package/lib/timeoutUtils.js.map +1 -1
- package/package.json +46 -64
- package/src/DriverWrappers.ts +1 -1
- package/src/TestSummaryUtils.ts +16 -11
- package/src/containerUtils.ts +5 -4
- package/src/debug.ts +1 -0
- package/src/index.ts +1 -0
- package/src/interfaces.ts +4 -4
- package/src/loaderContainerTracker.ts +11 -8
- package/src/localCodeLoader.ts +10 -9
- package/src/localLoader.ts +7 -6
- package/src/packageVersion.ts +1 -1
- package/src/retry.ts +1 -1
- package/src/testContainerRuntimeFactory.ts +15 -10
- package/src/testContainerRuntimeFactoryWithDefaultDataStore.ts +5 -5
- package/src/testFluidObject.ts +10 -9
- package/src/testObjectProvider.ts +136 -75
- package/src/timeoutUtils.ts +1 -1
- package/api-extractor-cjs.json +0 -8
- package/dist/test-utils-alpha.d.ts +0 -309
- package/dist/test-utils-beta.d.ts +0 -208
- package/dist/test-utils-public.d.ts +0 -208
- package/dist/test-utils-untrimmed.d.ts +0 -1046
- package/lib/test/timeoutUtils.spec.js +0 -165
- package/lib/test/timeoutUtils.spec.js.map +0 -1
- package/lib/test/types/validateTestUtilsPrevious.generated.js +0 -90
- package/lib/test/types/validateTestUtilsPrevious.generated.js.map +0 -1
- package/lib/test-utils-alpha.d.ts +0 -309
- package/lib/test-utils-beta.d.ts +0 -208
- package/lib/test-utils-public.d.ts +0 -208
- package/lib/test-utils-untrimmed.d.ts +0 -1046
- /package/{dist → lib}/tsdoc-metadata.json +0 -0
|
@@ -1,309 +0,0 @@
|
|
|
1
|
-
import { ConfigTypes } from '@fluidframework/core-interfaces';
|
|
2
|
-
import { ContainerRuntime } from '@fluidframework/container-runtime';
|
|
3
|
-
import { ContainerRuntimeFactoryWithDefaultDataStore } from '@fluidframework/aqueduct';
|
|
4
|
-
import { FluidDataStoreRuntime } from '@fluidframework/datastore';
|
|
5
|
-
import { FluidObject } from '@fluidframework/core-interfaces';
|
|
6
|
-
import { IChannelFactory } from '@fluidframework/datastore-definitions';
|
|
7
|
-
import { ICodeDetailsLoader } from '@fluidframework/container-definitions';
|
|
8
|
-
import { IConfigProviderBase } from '@fluidframework/core-interfaces';
|
|
9
|
-
import { IContainer } from '@fluidframework/container-definitions';
|
|
10
|
-
import { IContainerContext } from '@fluidframework/container-definitions';
|
|
11
|
-
import { IContainerRuntime } from '@fluidframework/container-runtime-definitions';
|
|
12
|
-
import { IContainerRuntimeOptions } from '@fluidframework/container-runtime';
|
|
13
|
-
import { IDataStore } from '@fluidframework/runtime-definitions';
|
|
14
|
-
import { IDocumentService } from '@fluidframework/driver-definitions';
|
|
15
|
-
import { IDocumentServiceFactory } from '@fluidframework/driver-definitions';
|
|
16
|
-
import { IDocumentStorageService } from '@fluidframework/driver-definitions';
|
|
17
|
-
import { IFluidCodeDetails } from '@fluidframework/container-definitions';
|
|
18
|
-
import { IFluidDataStoreChannel } from '@fluidframework/runtime-definitions';
|
|
19
|
-
import { IFluidDataStoreContext } from '@fluidframework/runtime-definitions';
|
|
20
|
-
import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions';
|
|
21
|
-
import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions';
|
|
22
|
-
import { IFluidHandle } from '@fluidframework/core-interfaces';
|
|
23
|
-
import { IFluidLoadable } from '@fluidframework/core-interfaces';
|
|
24
|
-
import { IFluidModule } from '@fluidframework/container-definitions';
|
|
25
|
-
import { IFluidModuleWithDetails } from '@fluidframework/container-definitions';
|
|
26
|
-
import { IHostLoader } from '@fluidframework/container-definitions';
|
|
27
|
-
import { ILoaderOptions } from '@fluidframework/container-definitions';
|
|
28
|
-
import { ILoaderProps } from '@fluidframework/container-loader';
|
|
29
|
-
import { IOnDemandSummarizeOptions } from '@fluidframework/container-runtime';
|
|
30
|
-
import { IProvideFluidCodeDetailsComparer } from '@fluidframework/container-definitions';
|
|
31
|
-
import { IProvideFluidDataStoreFactory } from '@fluidframework/runtime-definitions';
|
|
32
|
-
import { IProvideFluidDataStoreRegistry } from '@fluidframework/runtime-definitions';
|
|
33
|
-
import { IProvideRuntimeFactory } from '@fluidframework/container-definitions';
|
|
34
|
-
import { IRequest } from '@fluidframework/core-interfaces';
|
|
35
|
-
import { IRequestHeader } from '@fluidframework/core-interfaces';
|
|
36
|
-
import { IResolvedUrl } from '@fluidframework/driver-definitions';
|
|
37
|
-
import { IResponse } from '@fluidframework/core-interfaces';
|
|
38
|
-
import { IRuntime } from '@fluidframework/container-definitions';
|
|
39
|
-
import { ISharedMap } from '@fluidframework/map';
|
|
40
|
-
import { ISummarizer } from '@fluidframework/container-runtime';
|
|
41
|
-
import { ISummaryContext } from '@fluidframework/driver-definitions';
|
|
42
|
-
import { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
43
|
-
import { ITelemetryBaseEvent } from '@fluidframework/core-interfaces';
|
|
44
|
-
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
45
|
-
import { ITelemetryGenericEventExt } from '@fluidframework/telemetry-utils';
|
|
46
|
-
import { ITestDriver } from '@fluidframework/test-driver-definitions';
|
|
47
|
-
import { IUrlResolver } from '@fluidframework/driver-definitions';
|
|
48
|
-
import { Loader } from '@fluidframework/container-loader';
|
|
49
|
-
import { NamedFluidDataStoreRegistryEntries } from '@fluidframework/runtime-definitions';
|
|
50
|
-
import { RuntimeRequestHandler } from '@fluidframework/request-handler';
|
|
51
|
-
|
|
52
|
-
/* Excluded from this release type: ChannelFactoryRegistry */
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Creates a detached Container and attaches it.
|
|
56
|
-
* @param source - The code details used to create the Container.
|
|
57
|
-
* @param loader - The loader to use to initialize the container.
|
|
58
|
-
* @param attachRequest - The request to create new from.
|
|
59
|
-
* @alpha
|
|
60
|
-
*/
|
|
61
|
-
export declare function createAndAttachContainer(source: IFluidCodeDetails, loader: IHostLoader, attachRequest: IRequest): Promise<IContainer>;
|
|
62
|
-
|
|
63
|
-
/* Excluded from this release type: createContainerRuntimeFactoryWithDefaultDataStore */
|
|
64
|
-
|
|
65
|
-
/* Excluded from this release type: createDocumentId */
|
|
66
|
-
|
|
67
|
-
/* Excluded from this release type: createLoader */
|
|
68
|
-
|
|
69
|
-
/* Excluded from this release type: createSummarizer */
|
|
70
|
-
|
|
71
|
-
/* Excluded from this release type: createSummarizerCore */
|
|
72
|
-
|
|
73
|
-
/* Excluded from this release type: createSummarizerFromFactory */
|
|
74
|
-
|
|
75
|
-
/* Excluded from this release type: createTestConfigProvider */
|
|
76
|
-
|
|
77
|
-
/* Excluded from this release type: createTestContainerRuntimeFactory */
|
|
78
|
-
|
|
79
|
-
/* Excluded from this release type: DataObjectFactoryType */
|
|
80
|
-
|
|
81
|
-
/* Excluded from this release type: defaultTimeoutDurationMs */
|
|
82
|
-
|
|
83
|
-
/* Excluded from this release type: EventAndErrorTrackingLogger */
|
|
84
|
-
|
|
85
|
-
/* Excluded from this release type: fluidEntryPoint */
|
|
86
|
-
|
|
87
|
-
/* Excluded from this release type: getContainerEntryPointBackCompat */
|
|
88
|
-
|
|
89
|
-
/* Excluded from this release type: getDataStoreEntryPointBackCompat */
|
|
90
|
-
|
|
91
|
-
/* Excluded from this release type: getUnexpectedLogErrorException */
|
|
92
|
-
|
|
93
|
-
/* Excluded from this release type: IDocumentIdStrategy */
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* @alpha
|
|
97
|
-
*/
|
|
98
|
-
export declare interface IOpProcessingController {
|
|
99
|
-
processIncoming(...containers: IContainer[]): Promise<void>;
|
|
100
|
-
processOutgoing(...containers: IContainer[]): Promise<void>;
|
|
101
|
-
pauseProcessing(...containers: IContainer[]): Promise<void>;
|
|
102
|
-
resumeProcessing(...containers: IContainer[]): void;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* @alpha
|
|
107
|
-
*/
|
|
108
|
-
export declare interface IProvideTestFluidObject {
|
|
109
|
-
readonly ITestFluidObject: ITestFluidObject;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/* Excluded from this release type: ITestConfigProvider */
|
|
113
|
-
|
|
114
|
-
/* Excluded from this release type: ITestContainerConfig */
|
|
115
|
-
|
|
116
|
-
/* Excluded from this release type: ITestDriver */
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* @alpha
|
|
120
|
-
*/
|
|
121
|
-
export declare interface ITestFluidObject extends IProvideTestFluidObject, IFluidLoadable {
|
|
122
|
-
root: ISharedMap;
|
|
123
|
-
readonly runtime: IFluidDataStoreRuntime;
|
|
124
|
-
readonly channel: IFluidDataStoreChannel;
|
|
125
|
-
readonly context: IFluidDataStoreContext;
|
|
126
|
-
getSharedObject<T = any>(id: string): Promise<T>;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
/* Excluded from this release type: ITestObjectProvider */
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* @alpha
|
|
133
|
-
*/
|
|
134
|
-
export declare class LoaderContainerTracker implements IOpProcessingController {
|
|
135
|
-
private readonly syncSummarizerClients;
|
|
136
|
-
private readonly containers;
|
|
137
|
-
private lastProposalSeqNum;
|
|
138
|
-
constructor(syncSummarizerClients?: boolean);
|
|
139
|
-
/**
|
|
140
|
-
* Add a loader to start to track any container created from them
|
|
141
|
-
* @param loader - loader to start tracking any container created.
|
|
142
|
-
*/
|
|
143
|
-
add<LoaderType extends IHostLoader>(loader: LoaderType): void;
|
|
144
|
-
/**
|
|
145
|
-
* Utility function to add container to be tracked.
|
|
146
|
-
*
|
|
147
|
-
* @param container - container to add
|
|
148
|
-
*/
|
|
149
|
-
private addContainer;
|
|
150
|
-
/**
|
|
151
|
-
* Keep track of the trailing NoOp that was sent so we can discount them in the clientSequenceNumber tracking.
|
|
152
|
-
* The server might coalesce them with other ops, or a single NoOp, or delay it if it don't think it is necessary.
|
|
153
|
-
*
|
|
154
|
-
* @param container - the container to track
|
|
155
|
-
* @param record - the record to update the trailing op information
|
|
156
|
-
*/
|
|
157
|
-
private trackTrailingNoOps;
|
|
158
|
-
private trackLastProposal;
|
|
159
|
-
/**
|
|
160
|
-
* Reset the tracker, closing all containers and stop tracking them.
|
|
161
|
-
*/
|
|
162
|
-
reset(): void;
|
|
163
|
-
/**
|
|
164
|
-
* Make sure all the tracked containers are synchronized.
|
|
165
|
-
*
|
|
166
|
-
* No isDirty (non-readonly) containers
|
|
167
|
-
* No extra clientId in quorum of any container that is not tracked and still opened.
|
|
168
|
-
* - i.e. no pending Join/Leave message.
|
|
169
|
-
* No unresolved proposal (minSeqNum \>= lastProposalSeqNum)
|
|
170
|
-
* lastSequenceNumber of all container is the same
|
|
171
|
-
* clientSequenceNumberObserved is the same as clientSequenceNumber sent
|
|
172
|
-
* - this overlaps with !isDirty, but include task scheduler ops.
|
|
173
|
-
* - Trailing NoOp is tracked and don't count as pending ops.
|
|
174
|
-
*
|
|
175
|
-
* Containers that are already pause will resume process and paused again once
|
|
176
|
-
* everything is synchronized. Containers that aren't paused will remain unpaused when this
|
|
177
|
-
* function returns.
|
|
178
|
-
*/
|
|
179
|
-
ensureSynchronized(...containers: IContainer[]): Promise<void>;
|
|
180
|
-
/**
|
|
181
|
-
* Utility to calculate the set of clientId per container in quorum that is NOT associated with
|
|
182
|
-
* any container we tracked, indicating there is a pending join or leave op that we need to wait.
|
|
183
|
-
*
|
|
184
|
-
* @param containersToApply - the set of containers to check
|
|
185
|
-
*/
|
|
186
|
-
private getPendingClients;
|
|
187
|
-
/**
|
|
188
|
-
* Utility to check synchronization based on sequence number
|
|
189
|
-
* See ensureSynchronized for more detail
|
|
190
|
-
*
|
|
191
|
-
* @param containersToApply - the set of containers to check
|
|
192
|
-
*/
|
|
193
|
-
private needSequenceNumberSynchronize;
|
|
194
|
-
private containerIndexStrings;
|
|
195
|
-
/**
|
|
196
|
-
* Utility to wait for any clientId in quorum that is NOT associated with any container we
|
|
197
|
-
* tracked, indicating there is a pending join or leave op that we need to wait.
|
|
198
|
-
*
|
|
199
|
-
* Note that this function doesn't account for container that got added after we started waiting
|
|
200
|
-
*
|
|
201
|
-
* @param containersToApply - the set of containers to wait for any inbound ops for
|
|
202
|
-
*/
|
|
203
|
-
private waitForPendingClients;
|
|
204
|
-
/**
|
|
205
|
-
* Utility to wait for any inbound ops from a set of containers
|
|
206
|
-
* @param containersToApply - the set of containers to wait for any inbound ops for
|
|
207
|
-
*/
|
|
208
|
-
private waitForAnyInboundOps;
|
|
209
|
-
/**
|
|
210
|
-
* Resume all queue activities on all paused tracked containers and return them
|
|
211
|
-
*/
|
|
212
|
-
resumeProcessing(...containers: IContainer[]): IContainer[];
|
|
213
|
-
/**
|
|
214
|
-
* Pause all queue activities on the containers given, or all tracked containers
|
|
215
|
-
* Any containers given that is not tracked will be ignored.
|
|
216
|
-
*
|
|
217
|
-
* When a container is paused, it is assumed that we want fine grain control over op
|
|
218
|
-
* sequencing. This function will prepare the container and force it into write mode to
|
|
219
|
-
* avoid missing join messages or change the sequence of event when switching from read to
|
|
220
|
-
* write mode.
|
|
221
|
-
*/
|
|
222
|
-
pauseProcessing(...containers: IContainer[]): Promise<void>;
|
|
223
|
-
/**
|
|
224
|
-
* When a container is paused, it is assumed that we want fine grain control over op
|
|
225
|
-
* sequencing. This function will prepare the container and force it into write mode to
|
|
226
|
-
* avoid missing join messages or change the sequence of event when switching from read to
|
|
227
|
-
* write mode.
|
|
228
|
-
*
|
|
229
|
-
* @param container - the container to pause
|
|
230
|
-
* @param record - the record for the container
|
|
231
|
-
*/
|
|
232
|
-
private pauseContainer;
|
|
233
|
-
/**
|
|
234
|
-
* Pause all queue activities on all tracked containers, and resume only
|
|
235
|
-
* inbound to process ops until it is idle. All queues are left in the paused state
|
|
236
|
-
* after the function.
|
|
237
|
-
*
|
|
238
|
-
* Pausing will switch the container to write mode. See `pauseProcessing`
|
|
239
|
-
*/
|
|
240
|
-
processIncoming(...containers: IContainer[]): Promise<void>;
|
|
241
|
-
/**
|
|
242
|
-
* Pause all queue activities on all tracked containers, and resume only
|
|
243
|
-
* outbound to process ops until it is idle. All queues are left in the paused state
|
|
244
|
-
* after the function.
|
|
245
|
-
*
|
|
246
|
-
* Pausing will switch the container to write mode. See `pauseProcessing`
|
|
247
|
-
*/
|
|
248
|
-
processOutgoing(...containers: IContainer[]): Promise<void>;
|
|
249
|
-
/**
|
|
250
|
-
* Implementation of processIncoming and processOutgoing
|
|
251
|
-
*/
|
|
252
|
-
private processQueue;
|
|
253
|
-
/**
|
|
254
|
-
* Utility to set up listener to track the outbound ops until it round trip back
|
|
255
|
-
* Returns a function to remove the handler after it is done.
|
|
256
|
-
*
|
|
257
|
-
* @param container - the container to setup
|
|
258
|
-
* @param inflightTracker - a map to track the clientSequenceNumber per container it expect to get ops back
|
|
259
|
-
*/
|
|
260
|
-
private setupInOutTracker;
|
|
261
|
-
/**
|
|
262
|
-
* Setup debug traces for connection and ops
|
|
263
|
-
*/
|
|
264
|
-
private setupTrace;
|
|
265
|
-
/**
|
|
266
|
-
* Filter out the opened containers based on param.
|
|
267
|
-
* @param containers - The container to filter to. If the array is empty, it means don't filter and return
|
|
268
|
-
* all open containers.
|
|
269
|
-
*/
|
|
270
|
-
private getContainers;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
/* Excluded from this release type: LocalCodeLoader */
|
|
274
|
-
|
|
275
|
-
/* Excluded from this release type: retryWithEventualValue */
|
|
276
|
-
|
|
277
|
-
/* Excluded from this release type: summarizeNow */
|
|
278
|
-
|
|
279
|
-
/* Excluded from this release type: SummaryInfo */
|
|
280
|
-
|
|
281
|
-
/* Excluded from this release type: SupportedExportInterfaces */
|
|
282
|
-
|
|
283
|
-
/* Excluded from this release type: TestContainerRuntimeFactory */
|
|
284
|
-
|
|
285
|
-
/* Excluded from this release type: TestFluidObject */
|
|
286
|
-
|
|
287
|
-
/* Excluded from this release type: TestFluidObjectFactory */
|
|
288
|
-
|
|
289
|
-
/* Excluded from this release type: TestObjectProvider */
|
|
290
|
-
|
|
291
|
-
/* Excluded from this release type: TestObjectProviderWithVersionedLoad */
|
|
292
|
-
|
|
293
|
-
/* Excluded from this release type: timeoutAwait */
|
|
294
|
-
|
|
295
|
-
/* Excluded from this release type: timeoutPromise */
|
|
296
|
-
|
|
297
|
-
/* Excluded from this release type: TimeoutWithError */
|
|
298
|
-
|
|
299
|
-
/* Excluded from this release type: TimeoutWithValue */
|
|
300
|
-
|
|
301
|
-
/* Excluded from this release type: waitForContainerConnection */
|
|
302
|
-
|
|
303
|
-
/* Excluded from this release type: wrapDocumentService */
|
|
304
|
-
|
|
305
|
-
/* Excluded from this release type: wrapDocumentServiceFactory */
|
|
306
|
-
|
|
307
|
-
/* Excluded from this release type: wrapDocumentStorageService */
|
|
308
|
-
|
|
309
|
-
export { }
|
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
import { ConfigTypes } from '@fluidframework/core-interfaces';
|
|
2
|
-
import { ContainerRuntime } from '@fluidframework/container-runtime';
|
|
3
|
-
import { ContainerRuntimeFactoryWithDefaultDataStore } from '@fluidframework/aqueduct';
|
|
4
|
-
import { FluidDataStoreRuntime } from '@fluidframework/datastore';
|
|
5
|
-
import { FluidObject } from '@fluidframework/core-interfaces';
|
|
6
|
-
import { IChannelFactory } from '@fluidframework/datastore-definitions';
|
|
7
|
-
import { ICodeDetailsLoader } from '@fluidframework/container-definitions';
|
|
8
|
-
import { IConfigProviderBase } from '@fluidframework/core-interfaces';
|
|
9
|
-
import { IContainer } from '@fluidframework/container-definitions';
|
|
10
|
-
import { IContainerContext } from '@fluidframework/container-definitions';
|
|
11
|
-
import { IContainerRuntime } from '@fluidframework/container-runtime-definitions';
|
|
12
|
-
import { IContainerRuntimeOptions } from '@fluidframework/container-runtime';
|
|
13
|
-
import { IDataStore } from '@fluidframework/runtime-definitions';
|
|
14
|
-
import { IDocumentService } from '@fluidframework/driver-definitions';
|
|
15
|
-
import { IDocumentServiceFactory } from '@fluidframework/driver-definitions';
|
|
16
|
-
import { IDocumentStorageService } from '@fluidframework/driver-definitions';
|
|
17
|
-
import { IFluidCodeDetails } from '@fluidframework/container-definitions';
|
|
18
|
-
import { IFluidDataStoreChannel } from '@fluidframework/runtime-definitions';
|
|
19
|
-
import { IFluidDataStoreContext } from '@fluidframework/runtime-definitions';
|
|
20
|
-
import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions';
|
|
21
|
-
import { IFluidDataStoreRuntime } from '@fluidframework/datastore-definitions';
|
|
22
|
-
import { IFluidHandle } from '@fluidframework/core-interfaces';
|
|
23
|
-
import { IFluidLoadable } from '@fluidframework/core-interfaces';
|
|
24
|
-
import { IFluidModule } from '@fluidframework/container-definitions';
|
|
25
|
-
import { IFluidModuleWithDetails } from '@fluidframework/container-definitions';
|
|
26
|
-
import { IHostLoader } from '@fluidframework/container-definitions';
|
|
27
|
-
import { ILoaderOptions } from '@fluidframework/container-definitions';
|
|
28
|
-
import { ILoaderProps } from '@fluidframework/container-loader';
|
|
29
|
-
import { IOnDemandSummarizeOptions } from '@fluidframework/container-runtime';
|
|
30
|
-
import { IProvideFluidCodeDetailsComparer } from '@fluidframework/container-definitions';
|
|
31
|
-
import { IProvideFluidDataStoreFactory } from '@fluidframework/runtime-definitions';
|
|
32
|
-
import { IProvideFluidDataStoreRegistry } from '@fluidframework/runtime-definitions';
|
|
33
|
-
import { IProvideRuntimeFactory } from '@fluidframework/container-definitions';
|
|
34
|
-
import { IRequest } from '@fluidframework/core-interfaces';
|
|
35
|
-
import { IRequestHeader } from '@fluidframework/core-interfaces';
|
|
36
|
-
import { IResolvedUrl } from '@fluidframework/driver-definitions';
|
|
37
|
-
import { IResponse } from '@fluidframework/core-interfaces';
|
|
38
|
-
import { IRuntime } from '@fluidframework/container-definitions';
|
|
39
|
-
import { ISharedMap } from '@fluidframework/map';
|
|
40
|
-
import { ISummarizer } from '@fluidframework/container-runtime';
|
|
41
|
-
import { ISummaryContext } from '@fluidframework/driver-definitions';
|
|
42
|
-
import { ISummaryTree } from '@fluidframework/protocol-definitions';
|
|
43
|
-
import { ITelemetryBaseEvent } from '@fluidframework/core-interfaces';
|
|
44
|
-
import { ITelemetryBaseLogger } from '@fluidframework/core-interfaces';
|
|
45
|
-
import { ITelemetryGenericEventExt } from '@fluidframework/telemetry-utils';
|
|
46
|
-
import { ITestDriver } from '@fluidframework/test-driver-definitions';
|
|
47
|
-
import { IUrlResolver } from '@fluidframework/driver-definitions';
|
|
48
|
-
import { Loader } from '@fluidframework/container-loader';
|
|
49
|
-
import { NamedFluidDataStoreRegistryEntries } from '@fluidframework/runtime-definitions';
|
|
50
|
-
import { RuntimeRequestHandler } from '@fluidframework/request-handler';
|
|
51
|
-
|
|
52
|
-
/* Excluded from this release type: ChannelFactoryRegistry */
|
|
53
|
-
|
|
54
|
-
/* Excluded from this release type: ContainerRuntime */
|
|
55
|
-
|
|
56
|
-
/* Excluded from this release type: ContainerRuntimeFactoryWithDefaultDataStore */
|
|
57
|
-
|
|
58
|
-
/* Excluded from this release type: createAndAttachContainer */
|
|
59
|
-
|
|
60
|
-
/* Excluded from this release type: createContainerRuntimeFactoryWithDefaultDataStore */
|
|
61
|
-
|
|
62
|
-
/* Excluded from this release type: createDocumentId */
|
|
63
|
-
|
|
64
|
-
/* Excluded from this release type: createLoader */
|
|
65
|
-
|
|
66
|
-
/* Excluded from this release type: createSummarizer */
|
|
67
|
-
|
|
68
|
-
/* Excluded from this release type: createSummarizerCore */
|
|
69
|
-
|
|
70
|
-
/* Excluded from this release type: createSummarizerFromFactory */
|
|
71
|
-
|
|
72
|
-
/* Excluded from this release type: createTestConfigProvider */
|
|
73
|
-
|
|
74
|
-
/* Excluded from this release type: createTestContainerRuntimeFactory */
|
|
75
|
-
|
|
76
|
-
/* Excluded from this release type: DataObjectFactoryType */
|
|
77
|
-
|
|
78
|
-
/* Excluded from this release type: defaultTimeoutDurationMs */
|
|
79
|
-
|
|
80
|
-
/* Excluded from this release type: EventAndErrorTrackingLogger */
|
|
81
|
-
|
|
82
|
-
/* Excluded from this release type: FluidDataStoreRuntime */
|
|
83
|
-
|
|
84
|
-
/* Excluded from this release type: fluidEntryPoint */
|
|
85
|
-
|
|
86
|
-
/* Excluded from this release type: getContainerEntryPointBackCompat */
|
|
87
|
-
|
|
88
|
-
/* Excluded from this release type: getDataStoreEntryPointBackCompat */
|
|
89
|
-
|
|
90
|
-
/* Excluded from this release type: getUnexpectedLogErrorException */
|
|
91
|
-
|
|
92
|
-
/* Excluded from this release type: ICodeDetailsLoader */
|
|
93
|
-
|
|
94
|
-
/* Excluded from this release type: IContainer */
|
|
95
|
-
|
|
96
|
-
/* Excluded from this release type: IContainerContext */
|
|
97
|
-
|
|
98
|
-
/* Excluded from this release type: IContainerRuntime */
|
|
99
|
-
|
|
100
|
-
/* Excluded from this release type: IContainerRuntimeOptions */
|
|
101
|
-
|
|
102
|
-
/* Excluded from this release type: IDataStore */
|
|
103
|
-
|
|
104
|
-
/* Excluded from this release type: IDocumentIdStrategy */
|
|
105
|
-
|
|
106
|
-
/* Excluded from this release type: IDocumentService */
|
|
107
|
-
|
|
108
|
-
/* Excluded from this release type: IDocumentServiceFactory */
|
|
109
|
-
|
|
110
|
-
/* Excluded from this release type: IDocumentStorageService */
|
|
111
|
-
|
|
112
|
-
/* Excluded from this release type: IFluidCodeDetails */
|
|
113
|
-
|
|
114
|
-
/* Excluded from this release type: IFluidDataStoreChannel */
|
|
115
|
-
|
|
116
|
-
/* Excluded from this release type: IFluidDataStoreContext */
|
|
117
|
-
|
|
118
|
-
/* Excluded from this release type: IFluidDataStoreFactory */
|
|
119
|
-
|
|
120
|
-
/* Excluded from this release type: IFluidModule */
|
|
121
|
-
|
|
122
|
-
/* Excluded from this release type: IFluidModuleWithDetails */
|
|
123
|
-
|
|
124
|
-
/* Excluded from this release type: IHostLoader */
|
|
125
|
-
|
|
126
|
-
/* Excluded from this release type: ILoaderOptions */
|
|
127
|
-
|
|
128
|
-
/* Excluded from this release type: ILoaderProps */
|
|
129
|
-
|
|
130
|
-
/* Excluded from this release type: IOnDemandSummarizeOptions */
|
|
131
|
-
|
|
132
|
-
/* Excluded from this release type: IOpProcessingController */
|
|
133
|
-
|
|
134
|
-
/* Excluded from this release type: IProvideFluidCodeDetailsComparer */
|
|
135
|
-
|
|
136
|
-
/* Excluded from this release type: IProvideFluidDataStoreFactory */
|
|
137
|
-
|
|
138
|
-
/* Excluded from this release type: IProvideFluidDataStoreRegistry */
|
|
139
|
-
|
|
140
|
-
/* Excluded from this release type: IProvideRuntimeFactory */
|
|
141
|
-
|
|
142
|
-
/* Excluded from this release type: IProvideTestFluidObject */
|
|
143
|
-
|
|
144
|
-
/* Excluded from this release type: IResolvedUrl */
|
|
145
|
-
|
|
146
|
-
/* Excluded from this release type: IRuntime */
|
|
147
|
-
|
|
148
|
-
/* Excluded from this release type: ISummarizer */
|
|
149
|
-
|
|
150
|
-
/* Excluded from this release type: ISummaryContext */
|
|
151
|
-
|
|
152
|
-
/* Excluded from this release type: ITestConfigProvider */
|
|
153
|
-
|
|
154
|
-
/* Excluded from this release type: ITestContainerConfig */
|
|
155
|
-
|
|
156
|
-
/* Excluded from this release type: ITestDriver */
|
|
157
|
-
|
|
158
|
-
/* Excluded from this release type: ITestFluidObject */
|
|
159
|
-
|
|
160
|
-
/* Excluded from this release type: ITestObjectProvider */
|
|
161
|
-
|
|
162
|
-
/* Excluded from this release type: IUrlResolver */
|
|
163
|
-
|
|
164
|
-
/* Excluded from this release type: Loader */
|
|
165
|
-
|
|
166
|
-
/* Excluded from this release type: LoaderContainerTracker */
|
|
167
|
-
|
|
168
|
-
/* Excluded from this release type: LocalCodeLoader */
|
|
169
|
-
|
|
170
|
-
/* Excluded from this release type: NamedFluidDataStoreRegistryEntries */
|
|
171
|
-
|
|
172
|
-
/* Excluded from this release type: retryWithEventualValue */
|
|
173
|
-
|
|
174
|
-
/* Excluded from this release type: RuntimeRequestHandler */
|
|
175
|
-
|
|
176
|
-
/* Excluded from this release type: summarizeNow */
|
|
177
|
-
|
|
178
|
-
/* Excluded from this release type: SummaryInfo */
|
|
179
|
-
|
|
180
|
-
/* Excluded from this release type: SupportedExportInterfaces */
|
|
181
|
-
|
|
182
|
-
/* Excluded from this release type: TestContainerRuntimeFactory */
|
|
183
|
-
|
|
184
|
-
/* Excluded from this release type: TestFluidObject */
|
|
185
|
-
|
|
186
|
-
/* Excluded from this release type: TestFluidObjectFactory */
|
|
187
|
-
|
|
188
|
-
/* Excluded from this release type: TestObjectProvider */
|
|
189
|
-
|
|
190
|
-
/* Excluded from this release type: TestObjectProviderWithVersionedLoad */
|
|
191
|
-
|
|
192
|
-
/* Excluded from this release type: timeoutAwait */
|
|
193
|
-
|
|
194
|
-
/* Excluded from this release type: timeoutPromise */
|
|
195
|
-
|
|
196
|
-
/* Excluded from this release type: TimeoutWithError */
|
|
197
|
-
|
|
198
|
-
/* Excluded from this release type: TimeoutWithValue */
|
|
199
|
-
|
|
200
|
-
/* Excluded from this release type: waitForContainerConnection */
|
|
201
|
-
|
|
202
|
-
/* Excluded from this release type: wrapDocumentService */
|
|
203
|
-
|
|
204
|
-
/* Excluded from this release type: wrapDocumentServiceFactory */
|
|
205
|
-
|
|
206
|
-
/* Excluded from this release type: wrapDocumentStorageService */
|
|
207
|
-
|
|
208
|
-
export { }
|