@fluidframework/file-driver 0.58.2000 → 0.58.3000-61081

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.
@@ -22,7 +22,7 @@ export declare class FileDocumentServiceFactory implements IDocumentServiceFacto
22
22
  * @param fileURL - Path of directory containing ops/snapshots.
23
23
  * @returns file document service.
24
24
  */
25
- createDocumentService(fileURL: IResolvedUrl, logger?: ITelemetryBaseLogger): Promise<IDocumentService>;
26
- createContainer(createNewSummary: ISummaryTree, resolvedUrl: IResolvedUrl, logger?: ITelemetryBaseLogger): Promise<IDocumentService>;
25
+ createDocumentService(fileURL: IResolvedUrl, logger?: ITelemetryBaseLogger, clientIsSummarizer?: boolean): Promise<IDocumentService>;
26
+ createContainer(createNewSummary: ISummaryTree, resolvedUrl: IResolvedUrl, logger?: ITelemetryBaseLogger, clientIsSummarizer?: boolean): Promise<IDocumentService>;
27
27
  }
28
28
  //# sourceMappingURL=fileDocumentServiceFactory.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fileDocumentServiceFactory.d.ts","sourceRoot":"","sources":["../src/fileDocumentServiceFactory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACH,wBAAwB,EACxB,gBAAgB,EAChB,uBAAuB,EACvB,uBAAuB,EACvB,YAAY,EACf,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAE,YAAY,EAAE,MAAM,sCAAsC,CAAC;AACpE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAGpE;;;GAGG;AACH,qBAAa,0BAA2B,YAAW,uBAAuB;IAGlE,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAJpC,SAAgB,YAAY,iBAAiB;gBAExB,OAAO,EAAE,uBAAuB,EA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EAAE,OAAO,GAC7B,OAAO,CAAC,gBAAgB,CAAC;CAG/B"}
@@ -23,11 +23,11 @@ class FileDocumentServiceFactory {
23
23
  * @param fileURL - Path of directory containing ops/snapshots.
24
24
  * @returns file document service.
25
25
  */
26
- async createDocumentService(fileURL, logger) {
26
+ async createDocumentService(fileURL, logger, clientIsSummarizer) {
27
27
  return new fileDocumentService_1.FileDocumentService(this.storage, this.deltaStorage, this.deltaConnection);
28
28
  }
29
29
  // TODO: Issue-2109 Implement detach container api or put appropriate comment.
30
- async createContainer(createNewSummary, resolvedUrl, logger) {
30
+ async createContainer(createNewSummary, resolvedUrl, logger, clientIsSummarizer) {
31
31
  throw new Error("Not implemented");
32
32
  }
33
33
  }
@@ -1 +1 @@
1
- {"version":3,"file":"fileDocumentServiceFactory.js","sourceRoot":"","sources":["../src/fileDocumentServiceFactory.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAYH,+DAA4D;AAE5D;;;GAGG;AACH,MAAa,0BAA0B;IAEnC,YACqB,OAAgC,EAChC,YAAqC,EACrC,eAAyC;QAFzC,YAAO,GAAP,OAAO,CAAyB;QAChC,iBAAY,GAAZ,YAAY,CAAyB;QACrC,oBAAe,GAAf,eAAe,CAA0B;QAJ9C,iBAAY,GAAG,aAAa,CAAC;IAK7C,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,qBAAqB,CAC9B,OAAqB,EACrB,MAA6B;QAE7B,OAAO,IAAI,yCAAmB,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;IAC1F,CAAC;IAED,8EAA8E;IACvE,KAAK,CAAC,eAAe,CACxB,gBAA8B,EAC9B,WAAyB,EACzB,MAA6B;QAE7B,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACvC,CAAC;CACJ;AA7BD,gEA6BC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n IDocumentDeltaConnection,\n IDocumentService,\n IDocumentServiceFactory,\n IDocumentStorageService,\n IResolvedUrl,\n} from \"@fluidframework/driver-definitions\";\nimport { ITelemetryBaseLogger } from \"@fluidframework/common-definitions\";\nimport { ISummaryTree } from \"@fluidframework/protocol-definitions\";\nimport { FileDeltaStorageService } from \"./fileDeltaStorageService\";\nimport { FileDocumentService } from \"./fileDocumentService\";\n\n/**\n * Factory for creating the file document service. Use this if you want to\n * use the local file storage as underlying storage.\n */\nexport class FileDocumentServiceFactory implements IDocumentServiceFactory {\n public readonly protocolName = \"fluid-file:\";\n constructor(\n private readonly storage: IDocumentStorageService,\n private readonly deltaStorage: FileDeltaStorageService,\n private readonly deltaConnection: IDocumentDeltaConnection) {\n }\n\n /**\n * Creates the file document service if the path exists.\n *\n * @param fileURL - Path of directory containing ops/snapshots.\n * @returns file document service.\n */\n public async createDocumentService(\n fileURL: IResolvedUrl,\n logger?: ITelemetryBaseLogger,\n ): Promise<IDocumentService> {\n return new FileDocumentService(this.storage, this.deltaStorage, this.deltaConnection);\n }\n\n // TODO: Issue-2109 Implement detach container api or put appropriate comment.\n public async createContainer(\n createNewSummary: ISummaryTree,\n resolvedUrl: IResolvedUrl,\n logger?: ITelemetryBaseLogger,\n ): Promise<IDocumentService> {\n throw new Error(\"Not implemented\");\n }\n}\n"]}
1
+ {"version":3,"file":"fileDocumentServiceFactory.js","sourceRoot":"","sources":["../src/fileDocumentServiceFactory.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAYH,+DAA4D;AAE5D;;;GAGG;AACH,MAAa,0BAA0B;IAEnC,YACqB,OAAgC,EAChC,YAAqC,EACrC,eAAyC;QAFzC,YAAO,GAAP,OAAO,CAAyB;QAChC,iBAAY,GAAZ,YAAY,CAAyB;QACrC,oBAAe,GAAf,eAAe,CAA0B;QAJ9C,iBAAY,GAAG,aAAa,CAAC;IAK7C,CAAC;IAED;;;;;OAKG;IACI,KAAK,CAAC,qBAAqB,CAC9B,OAAqB,EACrB,MAA6B,EAC7B,kBAA4B;QAE5B,OAAO,IAAI,yCAAmB,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,YAAY,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC;IAC1F,CAAC;IAED,8EAA8E;IACvE,KAAK,CAAC,eAAe,CACxB,gBAA8B,EAC9B,WAAyB,EACzB,MAA6B,EAC7B,kBAA4B;QAE5B,MAAM,IAAI,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACvC,CAAC;CACJ;AA/BD,gEA+BC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n IDocumentDeltaConnection,\n IDocumentService,\n IDocumentServiceFactory,\n IDocumentStorageService,\n IResolvedUrl,\n} from \"@fluidframework/driver-definitions\";\nimport { ITelemetryBaseLogger } from \"@fluidframework/common-definitions\";\nimport { ISummaryTree } from \"@fluidframework/protocol-definitions\";\nimport { FileDeltaStorageService } from \"./fileDeltaStorageService\";\nimport { FileDocumentService } from \"./fileDocumentService\";\n\n/**\n * Factory for creating the file document service. Use this if you want to\n * use the local file storage as underlying storage.\n */\nexport class FileDocumentServiceFactory implements IDocumentServiceFactory {\n public readonly protocolName = \"fluid-file:\";\n constructor(\n private readonly storage: IDocumentStorageService,\n private readonly deltaStorage: FileDeltaStorageService,\n private readonly deltaConnection: IDocumentDeltaConnection) {\n }\n\n /**\n * Creates the file document service if the path exists.\n *\n * @param fileURL - Path of directory containing ops/snapshots.\n * @returns file document service.\n */\n public async createDocumentService(\n fileURL: IResolvedUrl,\n logger?: ITelemetryBaseLogger,\n clientIsSummarizer?: boolean,\n ): Promise<IDocumentService> {\n return new FileDocumentService(this.storage, this.deltaStorage, this.deltaConnection);\n }\n\n // TODO: Issue-2109 Implement detach container api or put appropriate comment.\n public async createContainer(\n createNewSummary: ISummaryTree,\n resolvedUrl: IResolvedUrl,\n logger?: ITelemetryBaseLogger,\n clientIsSummarizer?: boolean,\n ): Promise<IDocumentService> {\n throw new Error(\"Not implemented\");\n }\n}\n"]}
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export declare const pkgName = "@fluidframework/file-driver";
8
- export declare const pkgVersion = "0.58.2000";
8
+ export declare const pkgVersion = "0.58.3000-61081";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,gCAAgC,CAAC;AACrD,eAAO,MAAM,UAAU,cAAc,CAAC"}
1
+ {"version":3,"file":"packageVersion.d.ts","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,eAAO,MAAM,OAAO,gCAAgC,CAAC;AACrD,eAAO,MAAM,UAAU,oBAAoB,CAAC"}
@@ -8,5 +8,5 @@
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.pkgVersion = exports.pkgName = void 0;
10
10
  exports.pkgName = "@fluidframework/file-driver";
11
- exports.pkgVersion = "0.58.2000";
11
+ exports.pkgVersion = "0.58.3000-61081";
12
12
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,6BAA6B,CAAC;AACxC,QAAA,UAAU,GAAG,WAAW,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/file-driver\";\nexport const pkgVersion = \"0.58.2000\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,6BAA6B,CAAC;AACxC,QAAA,UAAU,GAAG,iBAAiB,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n *\n * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY\n */\n\nexport const pkgName = \"@fluidframework/file-driver\";\nexport const pkgVersion = \"0.58.3000-61081\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/file-driver",
3
- "version": "0.58.2000",
3
+ "version": "0.58.3000-61081",
4
4
  "description": "A driver that reads/write from/to local file storage.",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -34,14 +34,15 @@
34
34
  "dependencies": {
35
35
  "@fluidframework/common-definitions": "^0.20.1",
36
36
  "@fluidframework/common-utils": "^0.32.1",
37
- "@fluidframework/driver-definitions": "^0.45.1000",
38
- "@fluidframework/driver-utils": "^0.58.2000",
37
+ "@fluidframework/driver-definitions": "^0.45.2000-0",
38
+ "@fluidframework/driver-utils": "0.58.3000-61081",
39
39
  "@fluidframework/protocol-definitions": "^0.1027.1000",
40
- "@fluidframework/replay-driver": "^0.58.2000"
40
+ "@fluidframework/replay-driver": "0.58.3000-61081"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@fluidframework/build-common": "^0.23.0",
44
- "@fluidframework/eslint-config-fluid": "^0.27.0",
44
+ "@fluidframework/eslint-config-fluid": "^0.27.2000-59622",
45
+ "@fluidframework/file-driver-previous": "npm:@fluidframework/file-driver@0.58.2000",
45
46
  "@microsoft/api-extractor": "^7.16.1",
46
47
  "@rushstack/eslint-config": "^2.5.1",
47
48
  "@types/node": "^14.18.0",
@@ -59,5 +60,9 @@
59
60
  "rimraf": "^2.6.2",
60
61
  "typescript": "~4.1.3",
61
62
  "typescript-formatter": "7.1.0"
63
+ },
64
+ "typeValidation": {
65
+ "version": "0.58.3000",
66
+ "broken": {}
62
67
  }
63
68
  }
@@ -36,6 +36,7 @@ export class FileDocumentServiceFactory implements IDocumentServiceFactory {
36
36
  public async createDocumentService(
37
37
  fileURL: IResolvedUrl,
38
38
  logger?: ITelemetryBaseLogger,
39
+ clientIsSummarizer?: boolean,
39
40
  ): Promise<IDocumentService> {
40
41
  return new FileDocumentService(this.storage, this.deltaStorage, this.deltaConnection);
41
42
  }
@@ -45,6 +46,7 @@ export class FileDocumentServiceFactory implements IDocumentServiceFactory {
45
46
  createNewSummary: ISummaryTree,
46
47
  resolvedUrl: IResolvedUrl,
47
48
  logger?: ITelemetryBaseLogger,
49
+ clientIsSummarizer?: boolean,
48
50
  ): Promise<IDocumentService> {
49
51
  throw new Error("Not implemented");
50
52
  }
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/file-driver";
9
- export const pkgVersion = "0.58.2000";
9
+ export const pkgVersion = "0.58.3000-61081";