@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.
Files changed (78) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/api-report/{datastore.legacy.alpha.api.md → datastore.legacy.beta.api.md} +7 -7
  3. package/dist/channelContext.d.ts +5 -5
  4. package/dist/channelContext.d.ts.map +1 -1
  5. package/dist/channelContext.js.map +1 -1
  6. package/dist/channelDeltaConnection.d.ts +1 -1
  7. package/dist/channelDeltaConnection.d.ts.map +1 -1
  8. package/dist/channelDeltaConnection.js.map +1 -1
  9. package/dist/channelStorageService.d.ts +3 -3
  10. package/dist/channelStorageService.d.ts.map +1 -1
  11. package/dist/channelStorageService.js.map +1 -1
  12. package/dist/dataStoreRuntime.d.ts +15 -21
  13. package/dist/dataStoreRuntime.d.ts.map +1 -1
  14. package/dist/dataStoreRuntime.js +5 -26
  15. package/dist/dataStoreRuntime.js.map +1 -1
  16. package/dist/fluidHandle.d.ts +3 -4
  17. package/dist/fluidHandle.d.ts.map +1 -1
  18. package/dist/fluidHandle.js +1 -2
  19. package/dist/fluidHandle.js.map +1 -1
  20. package/dist/index.d.ts +1 -1
  21. package/dist/index.d.ts.map +1 -1
  22. package/dist/index.js.map +1 -1
  23. package/dist/localChannelContext.d.ts +6 -6
  24. package/dist/localChannelContext.d.ts.map +1 -1
  25. package/dist/localChannelContext.js.map +1 -1
  26. package/dist/localChannelStorageService.d.ts +2 -2
  27. package/dist/localChannelStorageService.d.ts.map +1 -1
  28. package/dist/localChannelStorageService.js.map +1 -1
  29. package/dist/packageVersion.d.ts +1 -1
  30. package/dist/packageVersion.js +1 -1
  31. package/dist/packageVersion.js.map +1 -1
  32. package/dist/remoteChannelContext.d.ts +5 -5
  33. package/dist/remoteChannelContext.d.ts.map +1 -1
  34. package/dist/remoteChannelContext.js.map +1 -1
  35. package/lib/channelContext.d.ts +5 -5
  36. package/lib/channelContext.d.ts.map +1 -1
  37. package/lib/channelContext.js.map +1 -1
  38. package/lib/channelDeltaConnection.d.ts +1 -1
  39. package/lib/channelDeltaConnection.d.ts.map +1 -1
  40. package/lib/channelDeltaConnection.js.map +1 -1
  41. package/lib/channelStorageService.d.ts +3 -3
  42. package/lib/channelStorageService.d.ts.map +1 -1
  43. package/lib/channelStorageService.js.map +1 -1
  44. package/lib/dataStoreRuntime.d.ts +15 -21
  45. package/lib/dataStoreRuntime.d.ts.map +1 -1
  46. package/lib/dataStoreRuntime.js +5 -26
  47. package/lib/dataStoreRuntime.js.map +1 -1
  48. package/lib/fluidHandle.d.ts +3 -4
  49. package/lib/fluidHandle.d.ts.map +1 -1
  50. package/lib/fluidHandle.js +1 -2
  51. package/lib/fluidHandle.js.map +1 -1
  52. package/lib/index.d.ts +1 -1
  53. package/lib/index.d.ts.map +1 -1
  54. package/lib/index.js.map +1 -1
  55. package/lib/localChannelContext.d.ts +6 -6
  56. package/lib/localChannelContext.d.ts.map +1 -1
  57. package/lib/localChannelContext.js.map +1 -1
  58. package/lib/localChannelStorageService.d.ts +2 -2
  59. package/lib/localChannelStorageService.d.ts.map +1 -1
  60. package/lib/localChannelStorageService.js +1 -1
  61. package/lib/localChannelStorageService.js.map +1 -1
  62. package/lib/packageVersion.d.ts +1 -1
  63. package/lib/packageVersion.js +1 -1
  64. package/lib/packageVersion.js.map +1 -1
  65. package/lib/remoteChannelContext.d.ts +5 -5
  66. package/lib/remoteChannelContext.d.ts.map +1 -1
  67. package/lib/remoteChannelContext.js.map +1 -1
  68. package/package.json +16 -16
  69. package/src/channelContext.ts +7 -7
  70. package/src/channelDeltaConnection.ts +1 -1
  71. package/src/channelStorageService.ts +3 -3
  72. package/src/dataStoreRuntime.ts +38 -56
  73. package/src/fluidHandle.ts +3 -4
  74. package/src/index.ts +1 -1
  75. package/src/localChannelContext.ts +11 -11
  76. package/src/localChannelStorageService.ts +6 -2
  77. package/src/packageVersion.ts +1 -1
  78. package/src/remoteChannelContext.ts +10 -10
@@ -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
@@ -7,7 +7,7 @@ export { FluidObjectHandle } from "./fluidHandle.js";
7
7
  export {
8
8
  DataStoreMessageType,
9
9
  FluidDataStoreRuntime,
10
- ISharedObjectRegistry,
10
+ type ISharedObjectRegistry,
11
11
  mixinRequestHandler,
12
12
  mixinSummaryHandler,
13
13
  } from "./dataStoreRuntime.js";
@@ -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
- type IPendingMessagesState,
19
- type IRuntimeMessageCollection,
20
- type IRuntimeStorageService,
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 { IBlob, ITree, TreeEntry } from "@fluidframework/driver-definitions/internal";
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 {
@@ -6,4 +6,4 @@
6
6
  */
7
7
 
8
8
  export const pkgName = "@fluidframework/datastore";
9
- export const pkgVersion = "2.53.0";
9
+ export const pkgVersion = "2.60.0";
@@ -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
- type IPendingMessagesState,
23
- type IRuntimeMessageCollection,
24
- type IRuntimeStorageService,
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;