@fluidframework/file-driver 2.0.0-dev-rc.1.0.0.232845 → 2.0.0-dev-rc.2.0.0.245554
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.cjs +4 -1
- package/CHANGELOG.md +20 -0
- package/{api-extractor-esm.json → api-extractor-cjs.json} +5 -2
- package/api-extractor-lint.json +1 -1
- package/api-extractor.json +1 -1
- package/api-report/file-driver.api.md +0 -2
- package/dist/file-driver-untrimmed.d.ts +0 -2
- package/dist/fileDocumentDeltaConnection.d.ts +1 -1
- package/dist/fileDocumentDeltaConnection.d.ts.map +1 -1
- package/dist/fileDocumentDeltaConnection.js.map +1 -1
- package/dist/fileDocumentService.d.ts +1 -1
- package/dist/fileDocumentService.d.ts.map +1 -1
- package/dist/fileDocumentService.js.map +1 -1
- package/dist/fileDocumentServiceFactory.d.ts +1 -1
- package/dist/fileDocumentServiceFactory.d.ts.map +1 -1
- package/dist/fileDocumentServiceFactory.js +2 -2
- package/dist/fileDocumentServiceFactory.js.map +1 -1
- package/dist/fileDocumentStorageService.d.ts +0 -2
- package/dist/fileDocumentStorageService.d.ts.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/dist/package.json +3 -0
- package/dist/tsdoc-metadata.json +1 -1
- package/lib/file-driver-alpha.d.ts +53 -0
- package/lib/file-driver-beta.d.ts +71 -0
- package/lib/file-driver-public.d.ts +71 -0
- package/lib/file-driver-untrimmed.d.ts +211 -0
- package/lib/fileDeltaStorageService.d.ts +26 -0
- package/lib/fileDeltaStorageService.d.ts.map +1 -0
- package/lib/fileDeltaStorageService.js +59 -0
- package/lib/fileDeltaStorageService.js.map +1 -0
- package/lib/fileDocumentDeltaConnection.d.ts +61 -0
- package/lib/fileDocumentDeltaConnection.d.ts.map +1 -0
- package/lib/fileDocumentDeltaConnection.js +161 -0
- package/lib/fileDocumentDeltaConnection.js.map +1 -0
- package/lib/fileDocumentService.d.ts +31 -0
- package/lib/fileDocumentService.d.ts.map +1 -0
- package/lib/fileDocumentService.js +37 -0
- package/lib/fileDocumentService.js.map +1 -0
- package/lib/fileDocumentServiceFactory.d.ts +28 -0
- package/lib/fileDocumentServiceFactory.d.ts.map +1 -0
- package/lib/fileDocumentServiceFactory.js +31 -0
- package/lib/fileDocumentServiceFactory.js.map +1 -0
- package/lib/fileDocumentStorageService.d.ts +91 -0
- package/lib/fileDocumentStorageService.d.ts.map +1 -0
- package/lib/fileDocumentStorageService.js +197 -0
- package/lib/fileDocumentStorageService.js.map +1 -0
- package/lib/index.d.ts +9 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +9 -0
- package/lib/index.js.map +1 -0
- package/lib/test/types/validateFileDriverPrevious.generated.d.ts +2 -0
- package/lib/test/types/validateFileDriverPrevious.generated.d.ts.map +1 -0
- package/lib/test/types/validateFileDriverPrevious.generated.js +26 -0
- package/lib/test/types/validateFileDriverPrevious.generated.js.map +1 -0
- package/package.json +61 -19
- package/src/fileDocumentDeltaConnection.ts +1 -1
- package/src/fileDocumentService.ts +1 -1
- package/src/fileDocumentServiceFactory.ts +2 -2
- package/src/index.ts +4 -4
- package/tsconfig.cjs.json +7 -0
- package/tsconfig.json +2 -5
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
ScopeType,
|
|
21
21
|
} from "@fluidframework/protocol-definitions";
|
|
22
22
|
import { TypedEventEmitter } from "@fluid-internal/client-utils";
|
|
23
|
-
import { FileDeltaStorageService } from "./fileDeltaStorageService";
|
|
23
|
+
import { FileDeltaStorageService } from "./fileDeltaStorageService.js";
|
|
24
24
|
|
|
25
25
|
const MaxBatchDeltas = 2000;
|
|
26
26
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { TypedEventEmitter } from "@fluid-internal/client-utils";
|
|
7
7
|
import * as api from "@fluidframework/driver-definitions";
|
|
8
8
|
import { IClient } from "@fluidframework/protocol-definitions";
|
|
9
|
-
import { FileDeltaStorageService } from "./fileDeltaStorageService";
|
|
9
|
+
import { FileDeltaStorageService } from "./fileDeltaStorageService.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* The DocumentService manages the different endpoints for connecting to
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
} from "@fluidframework/driver-definitions";
|
|
13
13
|
import { ITelemetryBaseLogger } from "@fluidframework/core-interfaces";
|
|
14
14
|
import { ISummaryTree } from "@fluidframework/protocol-definitions";
|
|
15
|
-
import { FileDeltaStorageService } from "./fileDeltaStorageService";
|
|
16
|
-
import { FileDocumentService } from "./fileDocumentService";
|
|
15
|
+
import { FileDeltaStorageService } from "./fileDeltaStorageService.js";
|
|
16
|
+
import { FileDocumentService } from "./fileDocumentService.js";
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Factory for creating the file document service. Use this if you want to
|
package/src/index.ts
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
export { FileDeltaStorageService } from "./fileDeltaStorageService";
|
|
7
|
-
export { FileDocumentServiceFactory } from "./fileDocumentServiceFactory";
|
|
8
|
-
export { Replayer, ReplayFileDeltaConnection } from "./fileDocumentDeltaConnection";
|
|
6
|
+
export { FileDeltaStorageService } from "./fileDeltaStorageService.js";
|
|
7
|
+
export { FileDocumentServiceFactory } from "./fileDocumentServiceFactory.js";
|
|
8
|
+
export { Replayer, ReplayFileDeltaConnection } from "./fileDocumentDeltaConnection.js";
|
|
9
9
|
export {
|
|
10
10
|
FileSnapshotWriterClassFactory,
|
|
11
11
|
FileStorageDocumentName,
|
|
@@ -13,4 +13,4 @@ export {
|
|
|
13
13
|
FluidFetchReaderFileSnapshotWriter,
|
|
14
14
|
ISnapshotWriterStorage,
|
|
15
15
|
ReaderConstructor,
|
|
16
|
-
} from "./fileDocumentStorageService";
|
|
16
|
+
} from "./fileDocumentStorageService.js";
|
package/tsconfig.json
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"extends":
|
|
3
|
-
"../../../common/build/build-common/tsconfig.base.json",
|
|
4
|
-
"../../../common/build/build-common/tsconfig.cjs.json",
|
|
5
|
-
],
|
|
2
|
+
"extends": "../../../common/build/build-common/tsconfig.node16.json",
|
|
6
3
|
"include": ["src/**/*"],
|
|
7
4
|
"exclude": ["dist", "node_modules"],
|
|
8
5
|
"compilerOptions": {
|
|
9
6
|
"rootDir": "./src",
|
|
10
|
-
"outDir": "./
|
|
7
|
+
"outDir": "./lib",
|
|
11
8
|
"types": ["node"],
|
|
12
9
|
"noUnusedLocals": false,
|
|
13
10
|
},
|