@fluidframework/runtime-utils 2.0.0-internal.2.0.2 → 2.0.0-internal.2.1.0

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/dist/index.d.ts CHANGED
@@ -2,13 +2,13 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export * from "./dataStoreHandleContextUtils";
6
- export * from "./dataStoreHelpers";
7
- export * from "./objectstoragepartition";
8
- export * from "./objectstorageutils";
9
- export * from "./requestParser";
10
- export * from "./runtimeFactoryHelper";
11
- export * from "./summarizerNode";
12
- export * from "./summaryUtils";
13
- export * from "./utils";
5
+ export { generateHandleContextPath } from "./dataStoreHandleContextUtils";
6
+ export { create404Response, createDataStoreFactory, createResponseError, exceptionToResponse, Factory, requestFluidObject, responseToException, } from "./dataStoreHelpers";
7
+ export { ObjectStoragePartition } from "./objectstoragepartition";
8
+ export { getNormalizedObjectStoragePathParts, listBlobsAtTreePath } from "./objectstorageutils";
9
+ export { RequestParser } from "./requestParser";
10
+ export { RuntimeFactoryHelper } from "./runtimeFactoryHelper";
11
+ export { createRootSummarizerNode, createRootSummarizerNodeWithGC, IRootSummarizerNode, IRootSummarizerNodeWithGC, ISummarizerNodeRootContract, RefreshSummaryResult, } from "./summarizerNode";
12
+ export { addBlobToSummary, addSummarizeResultToSummary, addTreeToSummary, calculateStats, convertSnapshotTreeToSummaryTree, convertSummaryTreeToITree, convertToSummaryTree, convertToSummaryTreeWithStats, getBlobSize, mergeStats, SummaryTreeBuilder, TelemetryContext, utf8ByteLength, } from "./summaryUtils";
13
+ export { ReadAndParseBlob, seqFromTree } from "./utils";
14
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EACN,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACnB,mBAAmB,EACnB,OAAO,EACP,kBAAkB,EAClB,mBAAmB,GACnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,mCAAmC,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAChG,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EACN,wBAAwB,EACxB,8BAA8B,EAC9B,mBAAmB,EACnB,yBAAyB,EACzB,2BAA2B,EAC3B,oBAAoB,GACpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACN,gBAAgB,EAChB,2BAA2B,EAC3B,gBAAgB,EAChB,cAAc,EACd,gCAAgC,EAChC,yBAAyB,EACzB,oBAAoB,EACpB,6BAA6B,EAC7B,WAAW,EACX,UAAU,EACV,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,GACd,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC"}
package/dist/index.js CHANGED
@@ -3,24 +3,43 @@
3
3
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
4
4
  * Licensed under the MIT License.
5
5
  */
6
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
- if (k2 === undefined) k2 = k;
8
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
6
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./dataStoreHandleContextUtils"), exports);
18
- __exportStar(require("./dataStoreHelpers"), exports);
19
- __exportStar(require("./objectstoragepartition"), exports);
20
- __exportStar(require("./objectstorageutils"), exports);
21
- __exportStar(require("./requestParser"), exports);
22
- __exportStar(require("./runtimeFactoryHelper"), exports);
23
- __exportStar(require("./summarizerNode"), exports);
24
- __exportStar(require("./summaryUtils"), exports);
25
- __exportStar(require("./utils"), exports);
7
+ exports.seqFromTree = exports.utf8ByteLength = exports.TelemetryContext = exports.SummaryTreeBuilder = exports.mergeStats = exports.getBlobSize = exports.convertToSummaryTreeWithStats = exports.convertToSummaryTree = exports.convertSummaryTreeToITree = exports.convertSnapshotTreeToSummaryTree = exports.calculateStats = exports.addTreeToSummary = exports.addSummarizeResultToSummary = exports.addBlobToSummary = exports.createRootSummarizerNodeWithGC = exports.createRootSummarizerNode = exports.RuntimeFactoryHelper = exports.RequestParser = exports.listBlobsAtTreePath = exports.getNormalizedObjectStoragePathParts = exports.ObjectStoragePartition = exports.responseToException = exports.requestFluidObject = exports.exceptionToResponse = exports.createResponseError = exports.createDataStoreFactory = exports.create404Response = exports.generateHandleContextPath = void 0;
8
+ var dataStoreHandleContextUtils_1 = require("./dataStoreHandleContextUtils");
9
+ Object.defineProperty(exports, "generateHandleContextPath", { enumerable: true, get: function () { return dataStoreHandleContextUtils_1.generateHandleContextPath; } });
10
+ var dataStoreHelpers_1 = require("./dataStoreHelpers");
11
+ Object.defineProperty(exports, "create404Response", { enumerable: true, get: function () { return dataStoreHelpers_1.create404Response; } });
12
+ Object.defineProperty(exports, "createDataStoreFactory", { enumerable: true, get: function () { return dataStoreHelpers_1.createDataStoreFactory; } });
13
+ Object.defineProperty(exports, "createResponseError", { enumerable: true, get: function () { return dataStoreHelpers_1.createResponseError; } });
14
+ Object.defineProperty(exports, "exceptionToResponse", { enumerable: true, get: function () { return dataStoreHelpers_1.exceptionToResponse; } });
15
+ Object.defineProperty(exports, "requestFluidObject", { enumerable: true, get: function () { return dataStoreHelpers_1.requestFluidObject; } });
16
+ Object.defineProperty(exports, "responseToException", { enumerable: true, get: function () { return dataStoreHelpers_1.responseToException; } });
17
+ var objectstoragepartition_1 = require("./objectstoragepartition");
18
+ Object.defineProperty(exports, "ObjectStoragePartition", { enumerable: true, get: function () { return objectstoragepartition_1.ObjectStoragePartition; } });
19
+ var objectstorageutils_1 = require("./objectstorageutils");
20
+ Object.defineProperty(exports, "getNormalizedObjectStoragePathParts", { enumerable: true, get: function () { return objectstorageutils_1.getNormalizedObjectStoragePathParts; } });
21
+ Object.defineProperty(exports, "listBlobsAtTreePath", { enumerable: true, get: function () { return objectstorageutils_1.listBlobsAtTreePath; } });
22
+ var requestParser_1 = require("./requestParser");
23
+ Object.defineProperty(exports, "RequestParser", { enumerable: true, get: function () { return requestParser_1.RequestParser; } });
24
+ var runtimeFactoryHelper_1 = require("./runtimeFactoryHelper");
25
+ Object.defineProperty(exports, "RuntimeFactoryHelper", { enumerable: true, get: function () { return runtimeFactoryHelper_1.RuntimeFactoryHelper; } });
26
+ var summarizerNode_1 = require("./summarizerNode");
27
+ Object.defineProperty(exports, "createRootSummarizerNode", { enumerable: true, get: function () { return summarizerNode_1.createRootSummarizerNode; } });
28
+ Object.defineProperty(exports, "createRootSummarizerNodeWithGC", { enumerable: true, get: function () { return summarizerNode_1.createRootSummarizerNodeWithGC; } });
29
+ var summaryUtils_1 = require("./summaryUtils");
30
+ Object.defineProperty(exports, "addBlobToSummary", { enumerable: true, get: function () { return summaryUtils_1.addBlobToSummary; } });
31
+ Object.defineProperty(exports, "addSummarizeResultToSummary", { enumerable: true, get: function () { return summaryUtils_1.addSummarizeResultToSummary; } });
32
+ Object.defineProperty(exports, "addTreeToSummary", { enumerable: true, get: function () { return summaryUtils_1.addTreeToSummary; } });
33
+ Object.defineProperty(exports, "calculateStats", { enumerable: true, get: function () { return summaryUtils_1.calculateStats; } });
34
+ Object.defineProperty(exports, "convertSnapshotTreeToSummaryTree", { enumerable: true, get: function () { return summaryUtils_1.convertSnapshotTreeToSummaryTree; } });
35
+ Object.defineProperty(exports, "convertSummaryTreeToITree", { enumerable: true, get: function () { return summaryUtils_1.convertSummaryTreeToITree; } });
36
+ Object.defineProperty(exports, "convertToSummaryTree", { enumerable: true, get: function () { return summaryUtils_1.convertToSummaryTree; } });
37
+ Object.defineProperty(exports, "convertToSummaryTreeWithStats", { enumerable: true, get: function () { return summaryUtils_1.convertToSummaryTreeWithStats; } });
38
+ Object.defineProperty(exports, "getBlobSize", { enumerable: true, get: function () { return summaryUtils_1.getBlobSize; } });
39
+ Object.defineProperty(exports, "mergeStats", { enumerable: true, get: function () { return summaryUtils_1.mergeStats; } });
40
+ Object.defineProperty(exports, "SummaryTreeBuilder", { enumerable: true, get: function () { return summaryUtils_1.SummaryTreeBuilder; } });
41
+ Object.defineProperty(exports, "TelemetryContext", { enumerable: true, get: function () { return summaryUtils_1.TelemetryContext; } });
42
+ Object.defineProperty(exports, "utf8ByteLength", { enumerable: true, get: function () { return summaryUtils_1.utf8ByteLength; } });
43
+ var utils_1 = require("./utils");
44
+ Object.defineProperty(exports, "seqFromTree", { enumerable: true, get: function () { return utils_1.seqFromTree; } });
26
45
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;;;;;;;;AAEH,gEAA8C;AAC9C,qDAAmC;AACnC,2DAAyC;AACzC,uDAAqC;AACrC,kDAAgC;AAChC,yDAAuC;AACvC,mDAAiC;AACjC,iDAA+B;AAC/B,0CAAwB","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport * from \"./dataStoreHandleContextUtils\";\nexport * from \"./dataStoreHelpers\";\nexport * from \"./objectstoragepartition\";\nexport * from \"./objectstorageutils\";\nexport * from \"./requestParser\";\nexport * from \"./runtimeFactoryHelper\";\nexport * from \"./summarizerNode\";\nexport * from \"./summaryUtils\";\nexport * from \"./utils\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH,6EAA0E;AAAjE,wIAAA,yBAAyB,OAAA;AAClC,uDAQ4B;AAP3B,qHAAA,iBAAiB,OAAA;AACjB,0HAAA,sBAAsB,OAAA;AACtB,uHAAA,mBAAmB,OAAA;AACnB,uHAAA,mBAAmB,OAAA;AAEnB,sHAAA,kBAAkB,OAAA;AAClB,uHAAA,mBAAmB,OAAA;AAEpB,mEAAkE;AAAzD,gIAAA,sBAAsB,OAAA;AAC/B,2DAAgG;AAAvF,yIAAA,mCAAmC,OAAA;AAAE,yHAAA,mBAAmB,OAAA;AACjE,iDAAgD;AAAvC,8GAAA,aAAa,OAAA;AACtB,+DAA8D;AAArD,4HAAA,oBAAoB,OAAA;AAC7B,mDAO0B;AANzB,0HAAA,wBAAwB,OAAA;AACxB,gIAAA,8BAA8B,OAAA;AAM/B,+CAcwB;AAbvB,gHAAA,gBAAgB,OAAA;AAChB,2HAAA,2BAA2B,OAAA;AAC3B,gHAAA,gBAAgB,OAAA;AAChB,8GAAA,cAAc,OAAA;AACd,gIAAA,gCAAgC,OAAA;AAChC,yHAAA,yBAAyB,OAAA;AACzB,oHAAA,oBAAoB,OAAA;AACpB,6HAAA,6BAA6B,OAAA;AAC7B,2GAAA,WAAW,OAAA;AACX,0GAAA,UAAU,OAAA;AACV,kHAAA,kBAAkB,OAAA;AAClB,gHAAA,gBAAgB,OAAA;AAChB,8GAAA,cAAc,OAAA;AAEf,iCAAwD;AAA7B,oGAAA,WAAW,OAAA","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport { generateHandleContextPath } from \"./dataStoreHandleContextUtils\";\nexport {\n\tcreate404Response,\n\tcreateDataStoreFactory,\n\tcreateResponseError,\n\texceptionToResponse,\n\tFactory,\n\trequestFluidObject,\n\tresponseToException,\n} from \"./dataStoreHelpers\";\nexport { ObjectStoragePartition } from \"./objectstoragepartition\";\nexport { getNormalizedObjectStoragePathParts, listBlobsAtTreePath } from \"./objectstorageutils\";\nexport { RequestParser } from \"./requestParser\";\nexport { RuntimeFactoryHelper } from \"./runtimeFactoryHelper\";\nexport {\n\tcreateRootSummarizerNode,\n\tcreateRootSummarizerNodeWithGC,\n\tIRootSummarizerNode,\n\tIRootSummarizerNodeWithGC,\n\tISummarizerNodeRootContract,\n\tRefreshSummaryResult,\n} from \"./summarizerNode\";\nexport {\n\taddBlobToSummary,\n\taddSummarizeResultToSummary,\n\taddTreeToSummary,\n\tcalculateStats,\n\tconvertSnapshotTreeToSummaryTree,\n\tconvertSummaryTreeToITree,\n\tconvertToSummaryTree,\n\tconvertToSummaryTreeWithStats,\n\tgetBlobSize,\n\tmergeStats,\n\tSummaryTreeBuilder,\n\tTelemetryContext,\n\tutf8ByteLength,\n} from \"./summaryUtils\";\nexport { ReadAndParseBlob, seqFromTree } from \"./utils\";\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/runtime-utils";
8
- export declare const pkgVersion = "2.0.0-internal.2.0.2";
8
+ export declare const pkgVersion = "2.0.0-internal.2.1.0";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -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/runtime-utils";
11
- exports.pkgVersion = "2.0.0-internal.2.0.2";
11
+ exports.pkgVersion = "2.0.0-internal.2.1.0";
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,+BAA+B,CAAC;AAC1C,QAAA,UAAU,GAAG,sBAAsB,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/runtime-utils\";\nexport const pkgVersion = \"2.0.0-internal.2.0.2\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEU,QAAA,OAAO,GAAG,+BAA+B,CAAC;AAC1C,QAAA,UAAU,GAAG,sBAAsB,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/runtime-utils\";\nexport const pkgVersion = \"2.0.0-internal.2.1.0\";\n"]}
package/lib/index.d.ts CHANGED
@@ -2,13 +2,13 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export * from "./dataStoreHandleContextUtils";
6
- export * from "./dataStoreHelpers";
7
- export * from "./objectstoragepartition";
8
- export * from "./objectstorageutils";
9
- export * from "./requestParser";
10
- export * from "./runtimeFactoryHelper";
11
- export * from "./summarizerNode";
12
- export * from "./summaryUtils";
13
- export * from "./utils";
5
+ export { generateHandleContextPath } from "./dataStoreHandleContextUtils";
6
+ export { create404Response, createDataStoreFactory, createResponseError, exceptionToResponse, Factory, requestFluidObject, responseToException, } from "./dataStoreHelpers";
7
+ export { ObjectStoragePartition } from "./objectstoragepartition";
8
+ export { getNormalizedObjectStoragePathParts, listBlobsAtTreePath } from "./objectstorageutils";
9
+ export { RequestParser } from "./requestParser";
10
+ export { RuntimeFactoryHelper } from "./runtimeFactoryHelper";
11
+ export { createRootSummarizerNode, createRootSummarizerNodeWithGC, IRootSummarizerNode, IRootSummarizerNodeWithGC, ISummarizerNodeRootContract, RefreshSummaryResult, } from "./summarizerNode";
12
+ export { addBlobToSummary, addSummarizeResultToSummary, addTreeToSummary, calculateStats, convertSnapshotTreeToSummaryTree, convertSummaryTreeToITree, convertToSummaryTree, convertToSummaryTreeWithStats, getBlobSize, mergeStats, SummaryTreeBuilder, TelemetryContext, utf8ByteLength, } from "./summaryUtils";
13
+ export { ReadAndParseBlob, seqFromTree } from "./utils";
14
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EACN,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACnB,mBAAmB,EACnB,OAAO,EACP,kBAAkB,EAClB,mBAAmB,GACnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,mCAAmC,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAChG,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EACN,wBAAwB,EACxB,8BAA8B,EAC9B,mBAAmB,EACnB,yBAAyB,EACzB,2BAA2B,EAC3B,oBAAoB,GACpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACN,gBAAgB,EAChB,2BAA2B,EAC3B,gBAAgB,EAChB,cAAc,EACd,gCAAgC,EAChC,yBAAyB,EACzB,oBAAoB,EACpB,6BAA6B,EAC7B,WAAW,EACX,UAAU,EACV,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,GACd,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC"}
package/lib/index.js CHANGED
@@ -2,13 +2,13 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- export * from "./dataStoreHandleContextUtils";
6
- export * from "./dataStoreHelpers";
7
- export * from "./objectstoragepartition";
8
- export * from "./objectstorageutils";
9
- export * from "./requestParser";
10
- export * from "./runtimeFactoryHelper";
11
- export * from "./summarizerNode";
12
- export * from "./summaryUtils";
13
- export * from "./utils";
5
+ export { generateHandleContextPath } from "./dataStoreHandleContextUtils";
6
+ export { create404Response, createDataStoreFactory, createResponseError, exceptionToResponse, requestFluidObject, responseToException, } from "./dataStoreHelpers";
7
+ export { ObjectStoragePartition } from "./objectstoragepartition";
8
+ export { getNormalizedObjectStoragePathParts, listBlobsAtTreePath } from "./objectstorageutils";
9
+ export { RequestParser } from "./requestParser";
10
+ export { RuntimeFactoryHelper } from "./runtimeFactoryHelper";
11
+ export { createRootSummarizerNode, createRootSummarizerNodeWithGC, } from "./summarizerNode";
12
+ export { addBlobToSummary, addSummarizeResultToSummary, addTreeToSummary, calculateStats, convertSnapshotTreeToSummaryTree, convertSummaryTreeToITree, convertToSummaryTree, convertToSummaryTreeWithStats, getBlobSize, mergeStats, SummaryTreeBuilder, TelemetryContext, utf8ByteLength, } from "./summaryUtils";
13
+ export { seqFromTree } from "./utils";
14
14
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport * from \"./dataStoreHandleContextUtils\";\nexport * from \"./dataStoreHelpers\";\nexport * from \"./objectstoragepartition\";\nexport * from \"./objectstorageutils\";\nexport * from \"./requestParser\";\nexport * from \"./runtimeFactoryHelper\";\nexport * from \"./summarizerNode\";\nexport * from \"./summaryUtils\";\nexport * from \"./utils\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAC1E,OAAO,EACN,iBAAiB,EACjB,sBAAsB,EACtB,mBAAmB,EACnB,mBAAmB,EAEnB,kBAAkB,EAClB,mBAAmB,GACnB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,mCAAmC,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAChG,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EACN,wBAAwB,EACxB,8BAA8B,GAK9B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACN,gBAAgB,EAChB,2BAA2B,EAC3B,gBAAgB,EAChB,cAAc,EACd,gCAAgC,EAChC,yBAAyB,EACzB,oBAAoB,EACpB,6BAA6B,EAC7B,WAAW,EACX,UAAU,EACV,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,GACd,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAoB,WAAW,EAAE,MAAM,SAAS,CAAC","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nexport { generateHandleContextPath } from \"./dataStoreHandleContextUtils\";\nexport {\n\tcreate404Response,\n\tcreateDataStoreFactory,\n\tcreateResponseError,\n\texceptionToResponse,\n\tFactory,\n\trequestFluidObject,\n\tresponseToException,\n} from \"./dataStoreHelpers\";\nexport { ObjectStoragePartition } from \"./objectstoragepartition\";\nexport { getNormalizedObjectStoragePathParts, listBlobsAtTreePath } from \"./objectstorageutils\";\nexport { RequestParser } from \"./requestParser\";\nexport { RuntimeFactoryHelper } from \"./runtimeFactoryHelper\";\nexport {\n\tcreateRootSummarizerNode,\n\tcreateRootSummarizerNodeWithGC,\n\tIRootSummarizerNode,\n\tIRootSummarizerNodeWithGC,\n\tISummarizerNodeRootContract,\n\tRefreshSummaryResult,\n} from \"./summarizerNode\";\nexport {\n\taddBlobToSummary,\n\taddSummarizeResultToSummary,\n\taddTreeToSummary,\n\tcalculateStats,\n\tconvertSnapshotTreeToSummaryTree,\n\tconvertSummaryTreeToITree,\n\tconvertToSummaryTree,\n\tconvertToSummaryTreeWithStats,\n\tgetBlobSize,\n\tmergeStats,\n\tSummaryTreeBuilder,\n\tTelemetryContext,\n\tutf8ByteLength,\n} from \"./summaryUtils\";\nexport { ReadAndParseBlob, seqFromTree } from \"./utils\";\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/runtime-utils";
8
- export declare const pkgVersion = "2.0.0-internal.2.0.2";
8
+ export declare const pkgVersion = "2.0.0-internal.2.1.0";
9
9
  //# sourceMappingURL=packageVersion.d.ts.map
@@ -5,5 +5,5 @@
5
5
  * THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY
6
6
  */
7
7
  export const pkgName = "@fluidframework/runtime-utils";
8
- export const pkgVersion = "2.0.0-internal.2.0.2";
8
+ export const pkgVersion = "2.0.0-internal.2.1.0";
9
9
  //# sourceMappingURL=packageVersion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,+BAA+B,CAAC;AACvD,MAAM,CAAC,MAAM,UAAU,GAAG,sBAAsB,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/runtime-utils\";\nexport const pkgVersion = \"2.0.0-internal.2.0.2\";\n"]}
1
+ {"version":3,"file":"packageVersion.js","sourceRoot":"","sources":["../src/packageVersion.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,OAAO,GAAG,+BAA+B,CAAC;AACvD,MAAM,CAAC,MAAM,UAAU,GAAG,sBAAsB,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/runtime-utils\";\nexport const pkgVersion = \"2.0.0-internal.2.1.0\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/runtime-utils",
3
- "version": "2.0.0-internal.2.0.2",
3
+ "version": "2.0.0-internal.2.1.0",
4
4
  "description": "Collection of utility functions for Fluid Runtime",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -35,8 +35,6 @@
35
35
  "test:mocha": "mocha --ignore 'dist/test/types/*' --recursive dist/test -r node_modules/@fluidframework/mocha-test-setup --unhandled-rejections=strict",
36
36
  "test:mocha:verbose": "cross-env FLUID_TEST_VERBOSE=1 npm run test:mocha",
37
37
  "tsc": "tsc",
38
- "tsfmt": "tsfmt --verify",
39
- "tsfmt:fix": "tsfmt --replace",
40
38
  "typetests:gen": "fluid-type-validator -g -d ."
41
39
  },
42
40
  "nyc": {
@@ -62,21 +60,22 @@
62
60
  "dependencies": {
63
61
  "@fluidframework/common-definitions": "^0.20.1",
64
62
  "@fluidframework/common-utils": "^1.0.0",
65
- "@fluidframework/container-definitions": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
66
- "@fluidframework/container-runtime-definitions": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
67
- "@fluidframework/core-interfaces": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
68
- "@fluidframework/datastore-definitions": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
69
- "@fluidframework/garbage-collector": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
63
+ "@fluidframework/container-definitions": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
64
+ "@fluidframework/container-runtime-definitions": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
65
+ "@fluidframework/core-interfaces": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
66
+ "@fluidframework/datastore-definitions": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
67
+ "@fluidframework/garbage-collector": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
70
68
  "@fluidframework/protocol-base": "^0.1038.2000",
71
69
  "@fluidframework/protocol-definitions": "^1.1.0",
72
- "@fluidframework/runtime-definitions": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
73
- "@fluidframework/telemetry-utils": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0"
70
+ "@fluidframework/runtime-definitions": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
71
+ "@fluidframework/telemetry-utils": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0"
74
72
  },
75
73
  "devDependencies": {
76
- "@fluidframework/build-common": "^1.0.0",
77
- "@fluidframework/build-tools": "^0.4.6000",
78
- "@fluidframework/eslint-config-fluid": "^1.0.0",
79
- "@fluidframework/mocha-test-setup": ">=2.0.0-internal.2.0.2 <2.0.0-internal.3.0.0",
74
+ "@fluid-tools/build-cli": "^0.5.0",
75
+ "@fluidframework/build-common": "^1.1.0",
76
+ "@fluidframework/build-tools": "^0.5.0",
77
+ "@fluidframework/eslint-config-fluid": "^1.1.0",
78
+ "@fluidframework/mocha-test-setup": ">=2.0.0-internal.2.1.0 <2.0.0-internal.3.0.0",
80
79
  "@fluidframework/runtime-utils-previous": "npm:@fluidframework/runtime-utils@2.0.0-internal.2.0.0",
81
80
  "@microsoft/api-extractor": "^7.22.2",
82
81
  "@rushstack/eslint-config": "^2.5.1",
@@ -91,11 +90,10 @@
91
90
  "rimraf": "^2.6.2",
92
91
  "sinon": "^7.4.2",
93
92
  "ts-node": "^7.0.1",
94
- "typescript": "~4.5.5",
95
- "typescript-formatter": "7.1.0"
93
+ "typescript": "~4.5.5"
96
94
  },
97
95
  "typeValidation": {
98
- "version": "2.0.0-internal.2.0.1",
96
+ "version": "2.0.0-internal.2.1.0",
99
97
  "broken": {}
100
98
  }
101
99
  }
package/src/index.ts CHANGED
@@ -3,12 +3,41 @@
3
3
  * Licensed under the MIT License.
4
4
  */
5
5
 
6
- export * from "./dataStoreHandleContextUtils";
7
- export * from "./dataStoreHelpers";
8
- export * from "./objectstoragepartition";
9
- export * from "./objectstorageutils";
10
- export * from "./requestParser";
11
- export * from "./runtimeFactoryHelper";
12
- export * from "./summarizerNode";
13
- export * from "./summaryUtils";
14
- export * from "./utils";
6
+ export { generateHandleContextPath } from "./dataStoreHandleContextUtils";
7
+ export {
8
+ create404Response,
9
+ createDataStoreFactory,
10
+ createResponseError,
11
+ exceptionToResponse,
12
+ Factory,
13
+ requestFluidObject,
14
+ responseToException,
15
+ } from "./dataStoreHelpers";
16
+ export { ObjectStoragePartition } from "./objectstoragepartition";
17
+ export { getNormalizedObjectStoragePathParts, listBlobsAtTreePath } from "./objectstorageutils";
18
+ export { RequestParser } from "./requestParser";
19
+ export { RuntimeFactoryHelper } from "./runtimeFactoryHelper";
20
+ export {
21
+ createRootSummarizerNode,
22
+ createRootSummarizerNodeWithGC,
23
+ IRootSummarizerNode,
24
+ IRootSummarizerNodeWithGC,
25
+ ISummarizerNodeRootContract,
26
+ RefreshSummaryResult,
27
+ } from "./summarizerNode";
28
+ export {
29
+ addBlobToSummary,
30
+ addSummarizeResultToSummary,
31
+ addTreeToSummary,
32
+ calculateStats,
33
+ convertSnapshotTreeToSummaryTree,
34
+ convertSummaryTreeToITree,
35
+ convertToSummaryTree,
36
+ convertToSummaryTreeWithStats,
37
+ getBlobSize,
38
+ mergeStats,
39
+ SummaryTreeBuilder,
40
+ TelemetryContext,
41
+ utf8ByteLength,
42
+ } from "./summaryUtils";
43
+ export { ReadAndParseBlob, seqFromTree } from "./utils";
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/runtime-utils";
9
- export const pkgVersion = "2.0.0-internal.2.0.2";
9
+ export const pkgVersion = "2.0.0-internal.2.1.0";