@fluidframework/runtime-utils 2.0.0-dev.7.4.0.215747 → 2.0.0-dev.7.4.0.216897

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 (93) hide show
  1. package/api-extractor-lint.json +13 -0
  2. package/api-extractor.json +0 -4
  3. package/api-report/runtime-utils.api.md +29 -29
  4. package/dist/dataStoreHandleContextUtils.d.ts +1 -0
  5. package/dist/dataStoreHandleContextUtils.d.ts.map +1 -1
  6. package/dist/dataStoreHandleContextUtils.js +1 -0
  7. package/dist/dataStoreHandleContextUtils.js.map +1 -1
  8. package/dist/dataStoreHelpers.d.ts +19 -0
  9. package/dist/dataStoreHelpers.d.ts.map +1 -1
  10. package/dist/dataStoreHelpers.js +16 -0
  11. package/dist/dataStoreHelpers.js.map +1 -1
  12. package/dist/objectstoragepartition.d.ts +1 -0
  13. package/dist/objectstoragepartition.d.ts.map +1 -1
  14. package/dist/objectstoragepartition.js +1 -0
  15. package/dist/objectstoragepartition.js.map +1 -1
  16. package/dist/objectstorageutils.d.ts +6 -0
  17. package/dist/objectstorageutils.d.ts.map +1 -1
  18. package/dist/objectstorageutils.js +6 -0
  19. package/dist/objectstorageutils.js.map +1 -1
  20. package/dist/requestParser.d.ts +1 -0
  21. package/dist/requestParser.d.ts.map +1 -1
  22. package/dist/requestParser.js +1 -0
  23. package/dist/requestParser.js.map +1 -1
  24. package/dist/runtime-utils-alpha.d.ts +82 -195
  25. package/dist/runtime-utils-beta.d.ts +82 -195
  26. package/dist/runtime-utils-public.d.ts +82 -195
  27. package/dist/runtime-utils-untrimmed.d.ts +67 -1
  28. package/dist/runtimeFactoryHelper.d.ts +3 -0
  29. package/dist/runtimeFactoryHelper.d.ts.map +1 -1
  30. package/dist/runtimeFactoryHelper.js +3 -0
  31. package/dist/runtimeFactoryHelper.js.map +1 -1
  32. package/dist/summaryUtils.d.ts +29 -0
  33. package/dist/summaryUtils.d.ts.map +1 -1
  34. package/dist/summaryUtils.js +29 -0
  35. package/dist/summaryUtils.js.map +1 -1
  36. package/dist/unpackUsedRoutes.d.ts +1 -0
  37. package/dist/unpackUsedRoutes.d.ts.map +1 -1
  38. package/dist/unpackUsedRoutes.js +1 -0
  39. package/dist/unpackUsedRoutes.js.map +1 -1
  40. package/dist/utils.d.ts +6 -1
  41. package/dist/utils.d.ts.map +1 -1
  42. package/dist/utils.js +1 -0
  43. package/dist/utils.js.map +1 -1
  44. package/lib/dataStoreHandleContextUtils.d.ts +1 -0
  45. package/lib/dataStoreHandleContextUtils.d.ts.map +1 -1
  46. package/lib/dataStoreHandleContextUtils.js +1 -0
  47. package/lib/dataStoreHandleContextUtils.js.map +1 -1
  48. package/lib/dataStoreHelpers.d.ts +19 -0
  49. package/lib/dataStoreHelpers.d.ts.map +1 -1
  50. package/lib/dataStoreHelpers.js +16 -0
  51. package/lib/dataStoreHelpers.js.map +1 -1
  52. package/lib/objectstoragepartition.d.ts +1 -0
  53. package/lib/objectstoragepartition.d.ts.map +1 -1
  54. package/lib/objectstoragepartition.js +1 -0
  55. package/lib/objectstoragepartition.js.map +1 -1
  56. package/lib/objectstorageutils.d.ts +6 -0
  57. package/lib/objectstorageutils.d.ts.map +1 -1
  58. package/lib/objectstorageutils.js +6 -0
  59. package/lib/objectstorageutils.js.map +1 -1
  60. package/lib/requestParser.d.ts +1 -0
  61. package/lib/requestParser.d.ts.map +1 -1
  62. package/lib/requestParser.js +1 -0
  63. package/lib/requestParser.js.map +1 -1
  64. package/lib/runtime-utils-alpha.d.ts +82 -195
  65. package/lib/runtime-utils-beta.d.ts +82 -195
  66. package/lib/runtime-utils-public.d.ts +82 -195
  67. package/lib/runtime-utils-untrimmed.d.ts +67 -1
  68. package/lib/runtimeFactoryHelper.d.ts +3 -0
  69. package/lib/runtimeFactoryHelper.d.ts.map +1 -1
  70. package/lib/runtimeFactoryHelper.js +3 -0
  71. package/lib/runtimeFactoryHelper.js.map +1 -1
  72. package/lib/summaryUtils.d.ts +29 -0
  73. package/lib/summaryUtils.d.ts.map +1 -1
  74. package/lib/summaryUtils.js +29 -0
  75. package/lib/summaryUtils.js.map +1 -1
  76. package/lib/unpackUsedRoutes.d.ts +1 -0
  77. package/lib/unpackUsedRoutes.d.ts.map +1 -1
  78. package/lib/unpackUsedRoutes.js +1 -0
  79. package/lib/unpackUsedRoutes.js.map +1 -1
  80. package/lib/utils.d.ts +6 -1
  81. package/lib/utils.d.ts.map +1 -1
  82. package/lib/utils.js +1 -0
  83. package/lib/utils.js.map +1 -1
  84. package/package.json +13 -12
  85. package/src/dataStoreHandleContextUtils.ts +1 -0
  86. package/src/dataStoreHelpers.ts +19 -0
  87. package/src/objectstoragepartition.ts +1 -0
  88. package/src/objectstorageutils.ts +6 -0
  89. package/src/requestParser.ts +1 -0
  90. package/src/runtimeFactoryHelper.ts +3 -0
  91. package/src/summaryUtils.ts +29 -0
  92. package/src/unpackUsedRoutes.ts +1 -0
  93. package/src/utils.ts +6 -1
@@ -1,220 +1,107 @@
1
- import { FluidObject } from '@fluidframework/core-interfaces';
2
- import { IChannelStorageService } from '@fluidframework/datastore-definitions';
3
- import { IContainerContext } from '@fluidframework/container-definitions';
4
- import { IContainerRuntime } from '@fluidframework/container-runtime-definitions';
5
- import { IFluidDataStoreFactory } from '@fluidframework/runtime-definitions';
6
- import { IFluidDataStoreRegistry } from '@fluidframework/runtime-definitions';
7
- import { IFluidHandleContext } from '@fluidframework/core-interfaces';
8
- import { IFluidRouter } from '@fluidframework/core-interfaces';
9
- import { IGarbageCollectionData } from '@fluidframework/runtime-definitions';
10
- import { IProvideFluidDataStoreRegistry } from '@fluidframework/runtime-definitions';
11
- import { IRequest } from '@fluidframework/core-interfaces';
12
1
  import { IRequestHeader } from '@fluidframework/core-interfaces';
13
- import { IResponse } from '@fluidframework/core-interfaces';
14
- import { IRuntime } from '@fluidframework/container-definitions';
15
- import { IRuntimeFactory } from '@fluidframework/container-definitions';
16
2
  import { ISnapshotTree } from '@fluidframework/protocol-definitions';
17
- import { ISummarizeResult } from '@fluidframework/runtime-definitions';
18
3
  import { ISummaryBlob } from '@fluidframework/protocol-definitions';
19
- import { ISummaryStats } from '@fluidframework/runtime-definitions';
20
4
  import { ISummaryTree } from '@fluidframework/protocol-definitions';
21
- import { ISummaryTreeWithStats } from '@fluidframework/runtime-definitions';
22
- import { ITelemetryContext } from '@fluidframework/runtime-definitions';
23
5
  import { ITree } from '@fluidframework/protocol-definitions';
24
6
  import { SummaryObject } from '@fluidframework/protocol-definitions';
25
7
  import { SummaryType } from '@fluidframework/protocol-definitions';
26
- import { TelemetryEventPropertyType } from '@fluidframework/core-interfaces';
27
8
 
28
- export declare function addBlobToSummary(summary: ISummaryTreeWithStats, key: string, content: string | Uint8Array): void;
9
+ /* Excluded from this release type: addBlobToSummary */
29
10
 
30
- export declare function addSummarizeResultToSummary(summary: ISummaryTreeWithStats, key: string, summarizeResult: ISummarizeResult): void;
11
+ /* Excluded from this release type: addSummarizeResultToSummary */
31
12
 
32
- export declare function addTreeToSummary(summary: ISummaryTreeWithStats, key: string, summarizeResult: ISummarizeResult): void;
13
+ /* Excluded from this release type: addTreeToSummary */
33
14
 
34
- export declare function calculateStats(summary: SummaryObject): ISummaryStats;
15
+ /* Excluded from this release type: calculateStats */
35
16
 
36
- /**
37
- * Converts ISnapshotTree to ISummaryTree format and tracks stats. This snapshot tree was
38
- * was taken by serialize api in detached container.
39
- * @param snapshot - snapshot in ISnapshotTree format
40
- */
41
- export declare function convertSnapshotTreeToSummaryTree(snapshot: ISnapshotTree): ISummaryTreeWithStats;
17
+ /* Excluded from this release type: convertSnapshotTreeToSummaryTree */
42
18
 
43
- /**
44
- * Converts ISummaryTree to ITree format. This is needed for back-compat while we get rid of snapshot.
45
- * @param summaryTree - summary tree in ISummaryTree format
46
- */
47
- export declare function convertSummaryTreeToITree(summaryTree: ISummaryTree): ITree;
19
+ /* Excluded from this release type: convertSummaryTreeToITree */
48
20
 
49
- /**
50
- * Converts snapshot ITree to ISummaryTree format and tracks stats.
51
- * @param snapshot - snapshot in ITree format
52
- * @param fullTree - true to never use handles, even if id is specified
53
- */
54
- export declare function convertToSummaryTree(snapshot: ITree, fullTree?: boolean): ISummarizeResult;
21
+ /* Excluded from this release type: convertToSummaryTree */
55
22
 
56
- /**
57
- * Converts snapshot ITree to ISummaryTree format and tracks stats.
58
- * @param snapshot - snapshot in ITree format
59
- * @param fullTree - true to never use handles, even if id is specified
60
- */
61
- export declare function convertToSummaryTreeWithStats(snapshot: ITree, fullTree?: boolean): ISummaryTreeWithStats;
23
+ /* Excluded from this release type: convertToSummaryTreeWithStats */
62
24
 
63
- export declare const create404Response: (request: IRequest) => IResponse;
25
+ /* Excluded from this release type: create404Response */
64
26
 
65
- export declare function createDataStoreFactory(type: string, factory: Factory | Promise<Factory>): IFluidDataStoreFactory & IFluidDataStoreRegistry;
27
+ /* Excluded from this release type: createDataStoreFactory */
66
28
 
67
- export declare function createResponseError(status: number, value: string, request: IRequest, headers?: {
68
- [key: string]: any;
69
- }): IResponse;
29
+ /* Excluded from this release type: createResponseError */
70
30
 
71
- export declare function exceptionToResponse(err: any): IResponse;
31
+ /* Excluded from this release type: exceptionToResponse */
72
32
 
73
- export declare type Factory = IFluidDataStoreFactory & Partial<IProvideFluidDataStoreRegistry>;
33
+ /* Excluded from this release type: Factory */
34
+
35
+ /* Excluded from this release type: FluidObject */
74
36
 
75
37
  /* Excluded from this release type: GCDataBuilder */
76
38
 
77
- /**
78
- * Generates the absolute path for a Fluid object given its path and its parent routeContext.
79
- * @param path - The path to the Fluid object relative to the route context.
80
- * @param routeContext - The route context that contains the Fluid object.
81
- * @returns The absolute path to the Fluid object from the root of the Container.
82
- */
83
- export declare function generateHandleContextPath(path: string, routeContext?: IFluidHandleContext): string;
84
-
85
- export declare function getBlobSize(content: ISummaryBlob["content"]): number;
86
-
87
- export declare function getNormalizedObjectStoragePathParts(path: string): string[];
88
-
89
- export declare function listBlobsAtTreePath(inputTree: ITree | undefined, path: string): Promise<string[]>;
90
-
91
- /**
92
- * Combines summary stats by adding their totals together.
93
- * Returns empty stats if called without args.
94
- * @param stats - stats to merge
95
- */
96
- export declare function mergeStats(...stats: ISummaryStats[]): ISummaryStats;
97
-
98
- /**
99
- * Returns a new IChannelStorageService that resolves the given `path` as root.
100
- */
101
- export declare class ObjectStoragePartition implements IChannelStorageService {
102
- private readonly storage;
103
- private readonly path;
104
- constructor(storage: IChannelStorageService, path: string);
105
- readBlob(path: string): Promise<ArrayBufferLike>;
106
- contains(path: string): Promise<boolean>;
107
- list(path: string): Promise<string[]>;
108
- }
109
-
110
- /** Reads a blob from storage and parses it from JSON. */
111
- export declare type ReadAndParseBlob = <T>(id: string) => Promise<T>;
112
-
113
- /**
114
- * @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
115
- */
116
- export declare function requestFluidObject<T = FluidObject>(router: IFluidRouter, url: string | IRequest): Promise<T>;
117
-
118
- /**
119
- * The Request Parser takes an IRequest provides parsing and sub request creation
120
- */
121
- export declare class RequestParser implements IRequest {
122
- private readonly request;
123
- /**
124
- * Splits the path of the url and decodes each path part
125
- * @param url - the url to get path parts of
126
- */
127
- static getPathParts(url: string): readonly string[];
128
- private requestPathParts;
129
- readonly query: string;
130
- static create(request: Readonly<IRequest>): RequestParser;
131
- protected constructor(request: Readonly<IRequest>);
132
- get url(): string;
133
- get headers(): IRequestHeader | undefined;
134
- /**
135
- * Returns the decoded path parts of the request's url
136
- */
137
- get pathParts(): readonly string[];
138
- /**
139
- * Returns true if it's a terminating path, i.e. no more elements after `elements` entries and empty query.
140
- * @param elements - number of elements in path
141
- */
142
- isLeaf(elements: number): boolean;
143
- /**
144
- * Creates a sub request starting at a specific path part of this request's url
145
- * The sub request url always has a leading slash, and always include query params if original url has any
146
- * e.g. original url is /a/b/?queryParams, createSubRequest(0) is /a/b/?queryParams
147
- * createSubRequest(1) is /b/?queryParams
148
- * createSubRequest(2) is /?queryParams
149
- * createSubRequest(n) where n is bigger than parts length, e.g. 2, or n is less than 0 will throw an exception
150
- *
151
- * note: query params are not counted towards path parts.
152
- *
153
- * @param startingPathIndex - The index of the first path part of the sub request
154
- */
155
- createSubRequest(startingPathIndex: number): IRequest;
156
- }
157
-
158
- export declare function responseToException(response: IResponse, request: IRequest): Error;
159
-
160
- export declare abstract class RuntimeFactoryHelper<T = IContainerRuntime> implements IRuntimeFactory {
161
- get IRuntimeFactory(): this;
162
- instantiateRuntime(context: IContainerContext, existing: boolean): Promise<IRuntime>;
163
- abstract preInitialize(context: IContainerContext, existing: boolean): Promise<IRuntime & T>;
164
- instantiateFirstTime(_runtime: T): Promise<void>;
165
- instantiateFromExisting(_runtime: T): Promise<void>;
166
- hasInitialized(_runtime: T): Promise<void>;
167
- }
168
-
169
- /**
170
- * Fetches the sequence number of the snapshot tree by examining the protocol.
171
- * @param tree - snapshot tree to examine
172
- * @param readAndParseBlob - function to read blob contents from storage
173
- * and parse the result from JSON.
174
- */
175
- export declare function seqFromTree(tree: ISnapshotTree, readAndParseBlob: ReadAndParseBlob): Promise<number>;
176
-
177
- export declare class SummaryTreeBuilder implements ISummaryTreeWithStats {
178
- private attachmentCounter;
179
- get summary(): ISummaryTree;
180
- get stats(): Readonly<ISummaryStats>;
181
- constructor();
182
- private readonly summaryTree;
183
- private summaryStats;
184
- addBlob(key: string, content: string | Uint8Array): void;
185
- addHandle(key: string, handleType: SummaryType.Tree | SummaryType.Blob | SummaryType.Attachment, handle: string): void;
186
- addWithStats(key: string, summarizeResult: ISummarizeResult): void;
187
- addAttachment(id: string): void;
188
- getSummaryTree(): ISummaryTreeWithStats;
189
- }
190
-
191
- export declare class TelemetryContext implements ITelemetryContext {
192
- private readonly telemetry;
193
- /**
194
- * {@inheritDoc @fluidframework/runtime-definitions#ITelemetryContext.set}
195
- */
196
- set(prefix: string, property: string, value: TelemetryEventPropertyType): void;
197
- /**
198
- * {@inheritDoc @fluidframework/runtime-definitions#ITelemetryContext.setMultiple}
199
- */
200
- setMultiple(prefix: string, property: string, values: Record<string, TelemetryEventPropertyType>): void;
201
- /**
202
- * {@inheritDoc @fluidframework/runtime-definitions#ITelemetryContext.get}
203
- */
204
- get(prefix: string, property: string): TelemetryEventPropertyType;
205
- /**
206
- * {@inheritDoc @fluidframework/runtime-definitions#ITelemetryContext.serialize}
207
- */
208
- serialize(): string;
209
- }
210
-
211
- /**
212
- * Helper function that unpacks the used routes of children from a given node's used routes.
213
- * @param usedRoutes - The used routes of a node.
214
- * @returns A map of used routes of each children of the the given node.
215
- */
216
- export declare function unpackChildNodesUsedRoutes(usedRoutes: string[]): Map<string, string[]>;
217
-
218
- export declare function utf8ByteLength(str: string): number;
39
+ /* Excluded from this release type: generateHandleContextPath */
40
+
41
+ /* Excluded from this release type: getBlobSize */
42
+
43
+ /* Excluded from this release type: getNormalizedObjectStoragePathParts */
44
+
45
+ /* Excluded from this release type: IChannelStorageService */
46
+
47
+ /* Excluded from this release type: IContainerContext */
48
+
49
+ /* Excluded from this release type: IContainerRuntime */
50
+
51
+ /* Excluded from this release type: IFluidDataStoreFactory */
52
+
53
+ /* Excluded from this release type: IFluidDataStoreRegistry */
54
+
55
+ /* Excluded from this release type: IFluidHandleContext */
56
+
57
+ /* Excluded from this release type: IFluidRouter */
58
+
59
+ /* Excluded from this release type: IGarbageCollectionData */
60
+
61
+ /* Excluded from this release type: IProvideFluidDataStoreRegistry */
62
+
63
+ /* Excluded from this release type: IRequest */
64
+
65
+ /* Excluded from this release type: IResponse */
66
+
67
+ /* Excluded from this release type: IRuntime */
68
+
69
+ /* Excluded from this release type: IRuntimeFactory */
70
+
71
+ /* Excluded from this release type: ISummarizeResult */
72
+
73
+ /* Excluded from this release type: ISummaryStats */
74
+
75
+ /* Excluded from this release type: ISummaryTreeWithStats */
76
+
77
+ /* Excluded from this release type: ITelemetryContext */
78
+
79
+ /* Excluded from this release type: listBlobsAtTreePath */
80
+
81
+ /* Excluded from this release type: mergeStats */
82
+
83
+ /* Excluded from this release type: ObjectStoragePartition */
84
+
85
+ /* Excluded from this release type: ReadAndParseBlob */
86
+
87
+ /* Excluded from this release type: requestFluidObject */
88
+
89
+ /* Excluded from this release type: RequestParser */
90
+
91
+ /* Excluded from this release type: responseToException */
92
+
93
+ /* Excluded from this release type: RuntimeFactoryHelper */
94
+
95
+ /* Excluded from this release type: seqFromTree */
96
+
97
+ /* Excluded from this release type: SummaryTreeBuilder */
98
+
99
+ /* Excluded from this release type: TelemetryContext */
100
+
101
+ /* Excluded from this release type: TelemetryEventPropertyType */
102
+
103
+ /* Excluded from this release type: unpackChildNodesUsedRoutes */
104
+
105
+ /* Excluded from this release type: utf8ByteLength */
219
106
 
220
107
  export { }
@@ -25,24 +25,38 @@ import { SummaryObject } from '@fluidframework/protocol-definitions';
25
25
  import { SummaryType } from '@fluidframework/protocol-definitions';
26
26
  import { TelemetryEventPropertyType } from '@fluidframework/core-interfaces';
27
27
 
28
+ /**
29
+ * @internal
30
+ */
28
31
  export declare function addBlobToSummary(summary: ISummaryTreeWithStats, key: string, content: string | Uint8Array): void;
29
32
 
33
+ /**
34
+ * @internal
35
+ */
30
36
  export declare function addSummarizeResultToSummary(summary: ISummaryTreeWithStats, key: string, summarizeResult: ISummarizeResult): void;
31
37
 
38
+ /**
39
+ * @internal
40
+ */
32
41
  export declare function addTreeToSummary(summary: ISummaryTreeWithStats, key: string, summarizeResult: ISummarizeResult): void;
33
42
 
43
+ /**
44
+ * @internal
45
+ */
34
46
  export declare function calculateStats(summary: SummaryObject): ISummaryStats;
35
47
 
36
48
  /**
37
49
  * Converts ISnapshotTree to ISummaryTree format and tracks stats. This snapshot tree was
38
50
  * was taken by serialize api in detached container.
39
51
  * @param snapshot - snapshot in ISnapshotTree format
52
+ * @internal
40
53
  */
41
54
  export declare function convertSnapshotTreeToSummaryTree(snapshot: ISnapshotTree): ISummaryTreeWithStats;
42
55
 
43
56
  /**
44
57
  * Converts ISummaryTree to ITree format. This is needed for back-compat while we get rid of snapshot.
45
58
  * @param summaryTree - summary tree in ISummaryTree format
59
+ * @internal
46
60
  */
47
61
  export declare function convertSummaryTreeToITree(summaryTree: ISummaryTree): ITree;
48
62
 
@@ -50,6 +64,7 @@ export declare function convertSummaryTreeToITree(summaryTree: ISummaryTree): IT
50
64
  * Converts snapshot ITree to ISummaryTree format and tracks stats.
51
65
  * @param snapshot - snapshot in ITree format
52
66
  * @param fullTree - true to never use handles, even if id is specified
67
+ * @internal
53
68
  */
54
69
  export declare function convertToSummaryTree(snapshot: ITree, fullTree?: boolean): ISummarizeResult;
55
70
 
@@ -57,19 +72,35 @@ export declare function convertToSummaryTree(snapshot: ITree, fullTree?: boolean
57
72
  * Converts snapshot ITree to ISummaryTree format and tracks stats.
58
73
  * @param snapshot - snapshot in ITree format
59
74
  * @param fullTree - true to never use handles, even if id is specified
75
+ * @internal
60
76
  */
61
77
  export declare function convertToSummaryTreeWithStats(snapshot: ITree, fullTree?: boolean): ISummaryTreeWithStats;
62
78
 
79
+ /**
80
+ * @internal
81
+ */
63
82
  export declare const create404Response: (request: IRequest) => IResponse;
64
83
 
84
+ /**
85
+ * @internal
86
+ */
65
87
  export declare function createDataStoreFactory(type: string, factory: Factory | Promise<Factory>): IFluidDataStoreFactory & IFluidDataStoreRegistry;
66
88
 
89
+ /**
90
+ * @internal
91
+ */
67
92
  export declare function createResponseError(status: number, value: string, request: IRequest, headers?: {
68
93
  [key: string]: any;
69
94
  }): IResponse;
70
95
 
96
+ /**
97
+ * @internal
98
+ */
71
99
  export declare function exceptionToResponse(err: any): IResponse;
72
100
 
101
+ /**
102
+ * @internal
103
+ */
73
104
  export declare type Factory = IFluidDataStoreFactory & Partial<IProvideFluidDataStoreRegistry>;
74
105
 
75
106
  /**
@@ -106,24 +137,36 @@ export declare class GCDataBuilder implements IGarbageCollectionData {
106
137
  * @param path - The path to the Fluid object relative to the route context.
107
138
  * @param routeContext - The route context that contains the Fluid object.
108
139
  * @returns The absolute path to the Fluid object from the root of the Container.
140
+ * @internal
109
141
  */
110
142
  export declare function generateHandleContextPath(path: string, routeContext?: IFluidHandleContext): string;
111
143
 
144
+ /**
145
+ * @internal
146
+ */
112
147
  export declare function getBlobSize(content: ISummaryBlob["content"]): number;
113
148
 
149
+ /**
150
+ * @internal
151
+ */
114
152
  export declare function getNormalizedObjectStoragePathParts(path: string): string[];
115
153
 
154
+ /**
155
+ * @internal
156
+ */
116
157
  export declare function listBlobsAtTreePath(inputTree: ITree | undefined, path: string): Promise<string[]>;
117
158
 
118
159
  /**
119
160
  * Combines summary stats by adding their totals together.
120
161
  * Returns empty stats if called without args.
121
162
  * @param stats - stats to merge
163
+ * @internal
122
164
  */
123
165
  export declare function mergeStats(...stats: ISummaryStats[]): ISummaryStats;
124
166
 
125
167
  /**
126
168
  * Returns a new IChannelStorageService that resolves the given `path` as root.
169
+ * @internal
127
170
  */
128
171
  export declare class ObjectStoragePartition implements IChannelStorageService {
129
172
  private readonly storage;
@@ -134,16 +177,22 @@ export declare class ObjectStoragePartition implements IChannelStorageService {
134
177
  list(path: string): Promise<string[]>;
135
178
  }
136
179
 
137
- /** Reads a blob from storage and parses it from JSON. */
180
+ /**
181
+ * Reads a blob from storage and parses it from JSON.
182
+ *
183
+ * @internal
184
+ */
138
185
  export declare type ReadAndParseBlob = <T>(id: string) => Promise<T>;
139
186
 
140
187
  /**
141
188
  * @deprecated Will be removed in future major release. Migrate all usage of IFluidRouter to the "entryPoint" pattern. Refer to Removing-IFluidRouter.md
189
+ * @internal
142
190
  */
143
191
  export declare function requestFluidObject<T = FluidObject>(router: IFluidRouter, url: string | IRequest): Promise<T>;
144
192
 
145
193
  /**
146
194
  * The Request Parser takes an IRequest provides parsing and sub request creation
195
+ * @internal
147
196
  */
148
197
  export declare class RequestParser implements IRequest {
149
198
  private readonly request;
@@ -182,8 +231,14 @@ export declare class RequestParser implements IRequest {
182
231
  createSubRequest(startingPathIndex: number): IRequest;
183
232
  }
184
233
 
234
+ /**
235
+ * @internal
236
+ */
185
237
  export declare function responseToException(response: IResponse, request: IRequest): Error;
186
238
 
239
+ /**
240
+ * @internal
241
+ */
187
242
  export declare abstract class RuntimeFactoryHelper<T = IContainerRuntime> implements IRuntimeFactory {
188
243
  get IRuntimeFactory(): this;
189
244
  instantiateRuntime(context: IContainerContext, existing: boolean): Promise<IRuntime>;
@@ -198,9 +253,13 @@ export declare abstract class RuntimeFactoryHelper<T = IContainerRuntime> implem
198
253
  * @param tree - snapshot tree to examine
199
254
  * @param readAndParseBlob - function to read blob contents from storage
200
255
  * and parse the result from JSON.
256
+ * @internal
201
257
  */
202
258
  export declare function seqFromTree(tree: ISnapshotTree, readAndParseBlob: ReadAndParseBlob): Promise<number>;
203
259
 
260
+ /**
261
+ * @internal
262
+ */
204
263
  export declare class SummaryTreeBuilder implements ISummaryTreeWithStats {
205
264
  private attachmentCounter;
206
265
  get summary(): ISummaryTree;
@@ -215,6 +274,9 @@ export declare class SummaryTreeBuilder implements ISummaryTreeWithStats {
215
274
  getSummaryTree(): ISummaryTreeWithStats;
216
275
  }
217
276
 
277
+ /**
278
+ * @internal
279
+ */
218
280
  export declare class TelemetryContext implements ITelemetryContext {
219
281
  private readonly telemetry;
220
282
  /**
@@ -239,9 +301,13 @@ export declare class TelemetryContext implements ITelemetryContext {
239
301
  * Helper function that unpacks the used routes of children from a given node's used routes.
240
302
  * @param usedRoutes - The used routes of a node.
241
303
  * @returns A map of used routes of each children of the the given node.
304
+ * @internal
242
305
  */
243
306
  export declare function unpackChildNodesUsedRoutes(usedRoutes: string[]): Map<string, string[]>;
244
307
 
308
+ /**
309
+ * @internal
310
+ */
245
311
  export declare function utf8ByteLength(str: string): number;
246
312
 
247
313
  export { }
@@ -4,6 +4,9 @@
4
4
  */
5
5
  import { IContainerContext, IRuntime, IRuntimeFactory } from "@fluidframework/container-definitions";
6
6
  import { IContainerRuntime } from "@fluidframework/container-runtime-definitions";
7
+ /**
8
+ * @internal
9
+ */
7
10
  export declare abstract class RuntimeFactoryHelper<T = IContainerRuntime> implements IRuntimeFactory {
8
11
  get IRuntimeFactory(): this;
9
12
  instantiateRuntime(context: IContainerContext, existing: boolean): Promise<IRuntime>;
@@ -1 +1 @@
1
- {"version":3,"file":"runtimeFactoryHelper.d.ts","sourceRoot":"","sources":["../src/runtimeFactoryHelper.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,iBAAiB,EACjB,QAAQ,EACR,eAAe,EACf,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAElF,8BAAsB,oBAAoB,CAAC,CAAC,GAAG,iBAAiB,CAAE,YAAW,eAAe;IAC3F,IAAW,eAAe,SAEzB;IAEY,kBAAkB,CAC9B,OAAO,EAAE,iBAAiB,EAC1B,QAAQ,EAAE,OAAO,GACf,OAAO,CAAC,QAAQ,CAAC;aASJ,aAAa,CAC5B,OAAO,EAAE,iBAAiB,EAC1B,QAAQ,EAAE,OAAO,GACf,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;IACX,oBAAoB,CAAC,QAAQ,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAChD,uBAAuB,CAAC,QAAQ,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IACnD,cAAc,CAAC,QAAQ,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;CACvD"}
1
+ {"version":3,"file":"runtimeFactoryHelper.d.ts","sourceRoot":"","sources":["../src/runtimeFactoryHelper.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACN,iBAAiB,EACjB,QAAQ,EACR,eAAe,EACf,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAElF;;GAEG;AACH,8BAAsB,oBAAoB,CAAC,CAAC,GAAG,iBAAiB,CAAE,YAAW,eAAe;IAC3F,IAAW,eAAe,SAEzB;IAEY,kBAAkB,CAC9B,OAAO,EAAE,iBAAiB,EAC1B,QAAQ,EAAE,OAAO,GACf,OAAO,CAAC,QAAQ,CAAC;aASJ,aAAa,CAC5B,OAAO,EAAE,iBAAiB,EAC1B,QAAQ,EAAE,OAAO,GACf,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC;IACX,oBAAoB,CAAC,QAAQ,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAChD,uBAAuB,CAAC,QAAQ,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IACnD,cAAc,CAAC,QAAQ,EAAE,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;CACvD"}
@@ -2,6 +2,9 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
+ /**
6
+ * @internal
7
+ */
5
8
  export class RuntimeFactoryHelper {
6
9
  get IRuntimeFactory() {
7
10
  return this;
@@ -1 +1 @@
1
- {"version":3,"file":"runtimeFactoryHelper.js","sourceRoot":"","sources":["../src/runtimeFactoryHelper.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,MAAM,OAAgB,oBAAoB;IACzC,IAAW,eAAe;QACzB,OAAO,IAAI,CAAC;IACb,CAAC;IAEM,KAAK,CAAC,kBAAkB,CAC9B,OAA0B,EAC1B,QAAiB;QAEjB,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QAC5D,MAAM,CAAC,QAAQ;YACd,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC,OAAO,CAAC;YACvC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAC;QACvC,MAAM,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QACnC,OAAO,OAAO,CAAC;IAChB,CAAC;IAMM,KAAK,CAAC,oBAAoB,CAAC,QAAW,IAAkB,CAAC;IACzD,KAAK,CAAC,uBAAuB,CAAC,QAAW,IAAkB,CAAC;IAC5D,KAAK,CAAC,cAAc,CAAC,QAAW,IAAkB,CAAC;CAC1D","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tIContainerContext,\n\tIRuntime,\n\tIRuntimeFactory,\n} from \"@fluidframework/container-definitions\";\nimport { IContainerRuntime } from \"@fluidframework/container-runtime-definitions\";\n\nexport abstract class RuntimeFactoryHelper<T = IContainerRuntime> implements IRuntimeFactory {\n\tpublic get IRuntimeFactory() {\n\t\treturn this;\n\t}\n\n\tpublic async instantiateRuntime(\n\t\tcontext: IContainerContext,\n\t\texisting: boolean,\n\t): Promise<IRuntime> {\n\t\tconst runtime = await this.preInitialize(context, existing);\n\t\tawait (existing\n\t\t\t? this.instantiateFromExisting(runtime)\n\t\t\t: this.instantiateFirstTime(runtime));\n\t\tawait this.hasInitialized(runtime);\n\t\treturn runtime;\n\t}\n\n\tpublic abstract preInitialize(\n\t\tcontext: IContainerContext,\n\t\texisting: boolean,\n\t): Promise<IRuntime & T>;\n\tpublic async instantiateFirstTime(_runtime: T): Promise<void> {}\n\tpublic async instantiateFromExisting(_runtime: T): Promise<void> {}\n\tpublic async hasInitialized(_runtime: T): Promise<void> {}\n}\n"]}
1
+ {"version":3,"file":"runtimeFactoryHelper.js","sourceRoot":"","sources":["../src/runtimeFactoryHelper.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH;;GAEG;AACH,MAAM,OAAgB,oBAAoB;IACzC,IAAW,eAAe;QACzB,OAAO,IAAI,CAAC;IACb,CAAC;IAEM,KAAK,CAAC,kBAAkB,CAC9B,OAA0B,EAC1B,QAAiB;QAEjB,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QAC5D,MAAM,CAAC,QAAQ;YACd,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC,OAAO,CAAC;YACvC,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,OAAO,CAAC,CAAC,CAAC;QACvC,MAAM,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QACnC,OAAO,OAAO,CAAC;IAChB,CAAC;IAMM,KAAK,CAAC,oBAAoB,CAAC,QAAW,IAAkB,CAAC;IACzD,KAAK,CAAC,uBAAuB,CAAC,QAAW,IAAkB,CAAC;IAC5D,KAAK,CAAC,cAAc,CAAC,QAAW,IAAkB,CAAC;CAC1D","sourcesContent":["/*!\n * Copyright (c) Microsoft Corporation and contributors. All rights reserved.\n * Licensed under the MIT License.\n */\n\nimport {\n\tIContainerContext,\n\tIRuntime,\n\tIRuntimeFactory,\n} from \"@fluidframework/container-definitions\";\nimport { IContainerRuntime } from \"@fluidframework/container-runtime-definitions\";\n\n/**\n * @internal\n */\nexport abstract class RuntimeFactoryHelper<T = IContainerRuntime> implements IRuntimeFactory {\n\tpublic get IRuntimeFactory() {\n\t\treturn this;\n\t}\n\n\tpublic async instantiateRuntime(\n\t\tcontext: IContainerContext,\n\t\texisting: boolean,\n\t): Promise<IRuntime> {\n\t\tconst runtime = await this.preInitialize(context, existing);\n\t\tawait (existing\n\t\t\t? this.instantiateFromExisting(runtime)\n\t\t\t: this.instantiateFirstTime(runtime));\n\t\tawait this.hasInitialized(runtime);\n\t\treturn runtime;\n\t}\n\n\tpublic abstract preInitialize(\n\t\tcontext: IContainerContext,\n\t\texisting: boolean,\n\t): Promise<IRuntime & T>;\n\tpublic async instantiateFirstTime(_runtime: T): Promise<void> {}\n\tpublic async instantiateFromExisting(_runtime: T): Promise<void> {}\n\tpublic async hasInitialized(_runtime: T): Promise<void> {}\n}\n"]}
@@ -9,14 +9,36 @@ import { ISummaryStats, ISummarizeResult, ISummaryTreeWithStats, ITelemetryConte
9
9
  * Combines summary stats by adding their totals together.
10
10
  * Returns empty stats if called without args.
11
11
  * @param stats - stats to merge
12
+ * @internal
12
13
  */
13
14
  export declare function mergeStats(...stats: ISummaryStats[]): ISummaryStats;
15
+ /**
16
+ * @internal
17
+ */
14
18
  export declare function utf8ByteLength(str: string): number;
19
+ /**
20
+ * @internal
21
+ */
15
22
  export declare function getBlobSize(content: ISummaryBlob["content"]): number;
23
+ /**
24
+ * @internal
25
+ */
16
26
  export declare function calculateStats(summary: SummaryObject): ISummaryStats;
27
+ /**
28
+ * @internal
29
+ */
17
30
  export declare function addBlobToSummary(summary: ISummaryTreeWithStats, key: string, content: string | Uint8Array): void;
31
+ /**
32
+ * @internal
33
+ */
18
34
  export declare function addTreeToSummary(summary: ISummaryTreeWithStats, key: string, summarizeResult: ISummarizeResult): void;
35
+ /**
36
+ * @internal
37
+ */
19
38
  export declare function addSummarizeResultToSummary(summary: ISummaryTreeWithStats, key: string, summarizeResult: ISummarizeResult): void;
39
+ /**
40
+ * @internal
41
+ */
20
42
  export declare class SummaryTreeBuilder implements ISummaryTreeWithStats {
21
43
  private attachmentCounter;
22
44
  get summary(): ISummaryTree;
@@ -34,25 +56,32 @@ export declare class SummaryTreeBuilder implements ISummaryTreeWithStats {
34
56
  * Converts snapshot ITree to ISummaryTree format and tracks stats.
35
57
  * @param snapshot - snapshot in ITree format
36
58
  * @param fullTree - true to never use handles, even if id is specified
59
+ * @internal
37
60
  */
38
61
  export declare function convertToSummaryTreeWithStats(snapshot: ITree, fullTree?: boolean): ISummaryTreeWithStats;
39
62
  /**
40
63
  * Converts snapshot ITree to ISummaryTree format and tracks stats.
41
64
  * @param snapshot - snapshot in ITree format
42
65
  * @param fullTree - true to never use handles, even if id is specified
66
+ * @internal
43
67
  */
44
68
  export declare function convertToSummaryTree(snapshot: ITree, fullTree?: boolean): ISummarizeResult;
45
69
  /**
46
70
  * Converts ISnapshotTree to ISummaryTree format and tracks stats. This snapshot tree was
47
71
  * was taken by serialize api in detached container.
48
72
  * @param snapshot - snapshot in ISnapshotTree format
73
+ * @internal
49
74
  */
50
75
  export declare function convertSnapshotTreeToSummaryTree(snapshot: ISnapshotTree): ISummaryTreeWithStats;
51
76
  /**
52
77
  * Converts ISummaryTree to ITree format. This is needed for back-compat while we get rid of snapshot.
53
78
  * @param summaryTree - summary tree in ISummaryTree format
79
+ * @internal
54
80
  */
55
81
  export declare function convertSummaryTreeToITree(summaryTree: ISummaryTree): ITree;
82
+ /**
83
+ * @internal
84
+ */
56
85
  export declare class TelemetryContext implements ITelemetryContext {
57
86
  private readonly telemetry;
58
87
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"summaryUtils.d.ts","sourceRoot":"","sources":["../src/summaryUtils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAS7E,OAAO,EACN,KAAK,EACL,WAAW,EACX,YAAY,EACZ,aAAa,EACb,YAAY,EAGZ,aAAa,EACb,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACN,aAAa,EACb,gBAAgB,EAChB,qBAAqB,EACrB,iBAAiB,EACjB,sBAAsB,EACtB,MAAM,qCAAqC,CAAC;AAE7C;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,GAAG,KAAK,EAAE,aAAa,EAAE,GAAG,aAAa,CAgBnE;AAED,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAelD;AAED,wBAAgB,WAAW,CAAC,OAAO,EAAE,YAAY,CAAC,SAAS,CAAC,GAAG,MAAM,CAEpE;AAyBD,wBAAgB,cAAc,CAAC,OAAO,EAAE,aAAa,GAAG,aAAa,CAIpE;AAED,wBAAgB,gBAAgB,CAC/B,OAAO,EAAE,qBAAqB,EAC9B,GAAG,EAAE,MAAM,EACX,OAAO,EAAE,MAAM,GAAG,UAAU,GAC1B,IAAI,CAQN;AAED,wBAAgB,gBAAgB,CAC/B,OAAO,EAAE,qBAAqB,EAC9B,GAAG,EAAE,MAAM,EACX,eAAe,EAAE,gBAAgB,GAC/B,IAAI,CAGN;AAED,wBAAgB,2BAA2B,CAC1C,OAAO,EAAE,qBAAqB,EAC9B,GAAG,EAAE,MAAM,EACX,eAAe,EAAE,gBAAgB,GAC/B,IAAI,CAGN;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