@fluidframework/datastore 2.53.0 → 2.60.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/CHANGELOG.md +4 -0
- package/api-report/{datastore.legacy.alpha.api.md → datastore.legacy.beta.api.md} +7 -7
- package/dist/channelContext.d.ts +5 -5
- package/dist/channelContext.d.ts.map +1 -1
- package/dist/channelContext.js.map +1 -1
- package/dist/channelDeltaConnection.d.ts +1 -1
- package/dist/channelDeltaConnection.d.ts.map +1 -1
- package/dist/channelDeltaConnection.js.map +1 -1
- package/dist/channelStorageService.d.ts +3 -3
- package/dist/channelStorageService.d.ts.map +1 -1
- package/dist/channelStorageService.js.map +1 -1
- package/dist/dataStoreRuntime.d.ts +15 -21
- package/dist/dataStoreRuntime.d.ts.map +1 -1
- package/dist/dataStoreRuntime.js +5 -26
- package/dist/dataStoreRuntime.js.map +1 -1
- package/dist/fluidHandle.d.ts +3 -4
- package/dist/fluidHandle.d.ts.map +1 -1
- package/dist/fluidHandle.js +1 -2
- package/dist/fluidHandle.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/localChannelContext.d.ts +6 -6
- package/dist/localChannelContext.d.ts.map +1 -1
- package/dist/localChannelContext.js.map +1 -1
- package/dist/localChannelStorageService.d.ts +2 -2
- package/dist/localChannelStorageService.d.ts.map +1 -1
- package/dist/localChannelStorageService.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/remoteChannelContext.d.ts +5 -5
- package/dist/remoteChannelContext.d.ts.map +1 -1
- package/dist/remoteChannelContext.js.map +1 -1
- package/lib/channelContext.d.ts +5 -5
- package/lib/channelContext.d.ts.map +1 -1
- package/lib/channelContext.js.map +1 -1
- package/lib/channelDeltaConnection.d.ts +1 -1
- package/lib/channelDeltaConnection.d.ts.map +1 -1
- package/lib/channelDeltaConnection.js.map +1 -1
- package/lib/channelStorageService.d.ts +3 -3
- package/lib/channelStorageService.d.ts.map +1 -1
- package/lib/channelStorageService.js.map +1 -1
- package/lib/dataStoreRuntime.d.ts +15 -21
- package/lib/dataStoreRuntime.d.ts.map +1 -1
- package/lib/dataStoreRuntime.js +5 -26
- package/lib/dataStoreRuntime.js.map +1 -1
- package/lib/fluidHandle.d.ts +3 -4
- package/lib/fluidHandle.d.ts.map +1 -1
- package/lib/fluidHandle.js +1 -2
- package/lib/fluidHandle.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/localChannelContext.d.ts +6 -6
- package/lib/localChannelContext.d.ts.map +1 -1
- package/lib/localChannelContext.js.map +1 -1
- package/lib/localChannelStorageService.d.ts +2 -2
- package/lib/localChannelStorageService.d.ts.map +1 -1
- package/lib/localChannelStorageService.js +1 -1
- package/lib/localChannelStorageService.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/remoteChannelContext.d.ts +5 -5
- package/lib/remoteChannelContext.d.ts.map +1 -1
- package/lib/remoteChannelContext.js.map +1 -1
- package/package.json +16 -16
- package/src/channelContext.ts +7 -7
- package/src/channelDeltaConnection.ts +1 -1
- package/src/channelStorageService.ts +3 -3
- package/src/dataStoreRuntime.ts +38 -56
- package/src/fluidHandle.ts +3 -4
- package/src/index.ts +1 -1
- package/src/localChannelContext.ts +11 -11
- package/src/localChannelStorageService.ts +6 -2
- package/src/packageVersion.ts +1 -1
- package/src/remoteChannelContext.ts +10 -10
package/src/fluidHandle.ts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { FluidObject } from "@fluidframework/core-interfaces";
|
|
7
|
-
import { IFluidHandleContext } from "@fluidframework/core-interfaces/internal";
|
|
6
|
+
import type { FluidObject } from "@fluidframework/core-interfaces";
|
|
7
|
+
import type { IFluidHandleContext } from "@fluidframework/core-interfaces/internal";
|
|
8
8
|
import {
|
|
9
9
|
generateHandleContextPath,
|
|
10
10
|
FluidHandleBase,
|
|
@@ -12,8 +12,7 @@ import {
|
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Handle for a shared {@link @fluidframework/core-interfaces#FluidObject}.
|
|
15
|
-
* @legacy
|
|
16
|
-
* @alpha
|
|
15
|
+
* @legacy @beta
|
|
17
16
|
*/
|
|
18
17
|
export class FluidObjectHandle<
|
|
19
18
|
T extends FluidObject = FluidObject,
|
package/src/index.ts
CHANGED
|
@@ -3,37 +3,37 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import { ISnapshotTreeWithBlobContents } from "@fluidframework/container-definitions/internal";
|
|
6
|
+
import type { ISnapshotTreeWithBlobContents } from "@fluidframework/container-definitions/internal";
|
|
7
7
|
import { assert, Lazy, LazyPromise } from "@fluidframework/core-utils/internal";
|
|
8
|
-
import {
|
|
8
|
+
import type {
|
|
9
9
|
IChannel,
|
|
10
10
|
IFluidDataStoreRuntime,
|
|
11
11
|
} from "@fluidframework/datastore-definitions/internal";
|
|
12
|
-
import { ISnapshotTree } from "@fluidframework/driver-definitions/internal";
|
|
13
|
-
import {
|
|
12
|
+
import type { ISnapshotTree } from "@fluidframework/driver-definitions/internal";
|
|
13
|
+
import type {
|
|
14
14
|
ITelemetryContext,
|
|
15
15
|
IFluidDataStoreContext,
|
|
16
16
|
IGarbageCollectionData,
|
|
17
17
|
ISummarizeResult,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
IPendingMessagesState,
|
|
19
|
+
IRuntimeMessageCollection,
|
|
20
|
+
IRuntimeStorageService,
|
|
21
21
|
} from "@fluidframework/runtime-definitions/internal";
|
|
22
22
|
import {
|
|
23
|
-
ITelemetryLoggerExt,
|
|
23
|
+
type ITelemetryLoggerExt,
|
|
24
24
|
DataProcessingError,
|
|
25
25
|
} from "@fluidframework/telemetry-utils/internal";
|
|
26
26
|
|
|
27
27
|
import {
|
|
28
|
-
ChannelServiceEndpoints,
|
|
29
|
-
IChannelContext,
|
|
28
|
+
type ChannelServiceEndpoints,
|
|
29
|
+
type IChannelContext,
|
|
30
30
|
createChannelServiceEndpoints,
|
|
31
31
|
loadChannel,
|
|
32
32
|
loadChannelFactoryAndAttributes,
|
|
33
33
|
summarizeChannel,
|
|
34
34
|
summarizeChannelAsync,
|
|
35
35
|
} from "./channelContext.js";
|
|
36
|
-
import { ISharedObjectRegistry } from "./dataStoreRuntime.js";
|
|
36
|
+
import type { ISharedObjectRegistry } from "./dataStoreRuntime.js";
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
39
|
* Channel context for a locally created channel
|
|
@@ -4,8 +4,12 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { stringToBuffer } from "@fluid-internal/client-utils";
|
|
7
|
-
import { IChannelStorageService } from "@fluidframework/datastore-definitions/internal";
|
|
8
|
-
import {
|
|
7
|
+
import type { IChannelStorageService } from "@fluidframework/datastore-definitions/internal";
|
|
8
|
+
import {
|
|
9
|
+
type IBlob,
|
|
10
|
+
type ITree,
|
|
11
|
+
TreeEntry,
|
|
12
|
+
} from "@fluidframework/driver-definitions/internal";
|
|
9
13
|
import { listBlobsAtTreePath } from "@fluidframework/runtime-utils/internal";
|
|
10
14
|
|
|
11
15
|
export class LocalChannelStorageService implements IChannelStorageService {
|
package/src/packageVersion.ts
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
import { AttachState } from "@fluidframework/container-definitions/internal";
|
|
7
7
|
import { assert, LazyPromise } from "@fluidframework/core-utils/internal";
|
|
8
|
-
import {
|
|
8
|
+
import type {
|
|
9
9
|
IChannel,
|
|
10
10
|
IFluidDataStoreRuntime,
|
|
11
11
|
} from "@fluidframework/datastore-definitions/internal";
|
|
12
|
-
import { ISnapshotTree } from "@fluidframework/driver-definitions/internal";
|
|
13
|
-
import {
|
|
12
|
+
import type { ISnapshotTree } from "@fluidframework/driver-definitions/internal";
|
|
13
|
+
import type {
|
|
14
14
|
IExperimentalIncrementalSummaryContext,
|
|
15
15
|
ITelemetryContext,
|
|
16
16
|
IGarbageCollectionData,
|
|
@@ -19,25 +19,25 @@ import {
|
|
|
19
19
|
ISummarizeInternalResult,
|
|
20
20
|
ISummarizeResult,
|
|
21
21
|
ISummarizerNodeWithGC,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
IPendingMessagesState,
|
|
23
|
+
IRuntimeMessageCollection,
|
|
24
|
+
IRuntimeStorageService,
|
|
25
25
|
} from "@fluidframework/runtime-definitions/internal";
|
|
26
26
|
import {
|
|
27
|
-
ITelemetryLoggerExt,
|
|
27
|
+
type ITelemetryLoggerExt,
|
|
28
28
|
ThresholdCounter,
|
|
29
29
|
createChildLogger,
|
|
30
30
|
} from "@fluidframework/telemetry-utils/internal";
|
|
31
31
|
|
|
32
32
|
import {
|
|
33
|
-
ChannelServiceEndpoints,
|
|
34
|
-
IChannelContext,
|
|
33
|
+
type ChannelServiceEndpoints,
|
|
34
|
+
type IChannelContext,
|
|
35
35
|
createChannelServiceEndpoints,
|
|
36
36
|
loadChannel,
|
|
37
37
|
loadChannelFactoryAndAttributes,
|
|
38
38
|
summarizeChannelAsync,
|
|
39
39
|
} from "./channelContext.js";
|
|
40
|
-
import { ISharedObjectRegistry } from "./dataStoreRuntime.js";
|
|
40
|
+
import type { ISharedObjectRegistry } from "./dataStoreRuntime.js";
|
|
41
41
|
|
|
42
42
|
export class RemoteChannelContext implements IChannelContext {
|
|
43
43
|
private isLoaded = false;
|