@fluidframework/datastore-definitions 2.23.0-325054 → 2.30.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 +18 -0
- package/api-report/datastore-definitions.legacy.alpha.api.md +1 -3
- package/dist/channel.d.ts +1 -11
- package/dist/channel.d.ts.map +1 -1
- package/lib/channel.d.ts +1 -11
- package/lib/channel.d.ts.map +1 -1
- package/package.json +13 -8
- package/src/channel.ts +1 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @fluidframework/datastore-definitions
|
|
2
2
|
|
|
3
|
+
## 2.30.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- The process and processDocumentSchemaOp functions have been removed ([#24018](https://github.com/microsoft/FluidFramework/pull/24018)) [bc35d543d5](https://github.com/microsoft/FluidFramework/commit/bc35d543d58c7e4bf28944b09d645cc26bf28a29)
|
|
8
|
+
|
|
9
|
+
`process` has been replaced by `processMessages` from the following:
|
|
10
|
+
|
|
11
|
+
- `FluidDataStoreRuntime`
|
|
12
|
+
- `IDeltaHandler`
|
|
13
|
+
- `IFluidDataStoreChannel`
|
|
14
|
+
- `MockFluidDataStoreRuntime`
|
|
15
|
+
- `MockDeltaConnection`
|
|
16
|
+
|
|
17
|
+
`processDocumentSchemaOp` has been replaced by `processDocumentSchemaMessages` from `DocumentsSchemaController`.
|
|
18
|
+
|
|
19
|
+
See the [deprecation release note](https://github.com/microsoft/FluidFramework/releases/tag/client_v2.5.0#user-content-the-process-function-on-ifluiddatastorechannel-ideltahandler-mockfluiddatastoreruntime-and-mockdeltaconnection-is-now-deprecated-22840) for more details.
|
|
20
|
+
|
|
3
21
|
## 2.23.0
|
|
4
22
|
|
|
5
23
|
Dependency updates only.
|
|
@@ -58,9 +58,7 @@ export interface IDeltaConnection {
|
|
|
58
58
|
// @alpha
|
|
59
59
|
export interface IDeltaHandler {
|
|
60
60
|
applyStashedOp(message: any): void;
|
|
61
|
-
|
|
62
|
-
process: (message: ISequencedDocumentMessage, local: boolean, localOpMetadata: unknown) => void;
|
|
63
|
-
processMessages?: (messageCollection: IRuntimeMessageCollection) => void;
|
|
61
|
+
processMessages: (messageCollection: IRuntimeMessageCollection) => void;
|
|
64
62
|
reSubmit(message: any, localOpMetadata: unknown): void;
|
|
65
63
|
rollback?(message: any, localOpMetadata: unknown): void;
|
|
66
64
|
setConnectionState(connected: boolean): void;
|
package/dist/channel.d.ts
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
import type { IFluidLoadable } from "@fluidframework/core-interfaces";
|
|
6
|
-
import type { ISequencedDocumentMessage } from "@fluidframework/driver-definitions/internal";
|
|
7
6
|
import type { IExperimentalIncrementalSummaryContext, IGarbageCollectionData, IRuntimeMessageCollection, ISummaryTreeWithStats, ITelemetryContext } from "@fluidframework/runtime-definitions/internal";
|
|
8
7
|
import type { IFluidDataStoreRuntime } from "./dataStoreRuntime.js";
|
|
9
8
|
import type { IChannelAttributes } from "./storage.js";
|
|
@@ -100,20 +99,11 @@ export interface IChannel extends IFluidLoadable {
|
|
|
100
99
|
* @alpha
|
|
101
100
|
*/
|
|
102
101
|
export interface IDeltaHandler {
|
|
103
|
-
/**
|
|
104
|
-
* Processes the op.
|
|
105
|
-
* @param message - The message to process
|
|
106
|
-
* @param local - Whether the message originated from the local client
|
|
107
|
-
* @param localOpMetadata - For local client messages, this is the metadata that was submitted with the message.
|
|
108
|
-
* For messages from a remote client, this will be undefined.
|
|
109
|
-
* @deprecated - Use processMessages instead to process messages.
|
|
110
|
-
*/
|
|
111
|
-
process: (message: ISequencedDocumentMessage, local: boolean, localOpMetadata: unknown) => void;
|
|
112
102
|
/**
|
|
113
103
|
* Process messages for this channel. The messages here are contiguous messages for this channel in a batch.
|
|
114
104
|
* @param messageCollection - The collection of messages to process.
|
|
115
105
|
*/
|
|
116
|
-
processMessages
|
|
106
|
+
processMessages: (messageCollection: IRuntimeMessageCollection) => void;
|
|
117
107
|
/**
|
|
118
108
|
* State change events to indicate changes to the delta connection
|
|
119
109
|
* @param connected - true if connected, false otherwise
|
package/dist/channel.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../src/channel.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../src/channel.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EACX,sCAAsC,EACtC,sBAAsB,EACtB,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,MAAM,8CAA8C,CAAC;AAEtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAEvD;;;GAGG;AACH,MAAM,WAAW,QAAS,SAAQ,cAAc;IAC/C;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IAEpB,QAAQ,CAAC,UAAU,EAAE,kBAAkB,CAAC;IAExC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAgCG;IACH,gBAAgB,CACf,QAAQ,CAAC,EAAE,OAAO,EAClB,UAAU,CAAC,EAAE,OAAO,EACpB,gBAAgB,CAAC,EAAE,iBAAiB,GAClC,qBAAqB,CAAC;IAEzB;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,SAAS,CACR,QAAQ,CAAC,EAAE,OAAO,EAClB,UAAU,CAAC,EAAE,OAAO,EACpB,gBAAgB,CAAC,EAAE,iBAAiB,EACpC,yBAAyB,C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;OAEG;IACH,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;CACtC;AAED;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAChC,eAAe,EAAE,gBAAgB,CAAC;IAElC,aAAa,EAAE,sBAAsB,CAAC;CACtC;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAM,WAAW,eAAe,CAAC,GAAG,CAAC,QAAQ,GAAG,OAAO;IACtD;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,kBAAkB,CAAC;IAExC;;;;;;;;;;;;;;OAcG;IACH,IAAI,CACH,OAAO,EAAE,sBAAsB,EAC/B,EAAE,EAAE,MAAM,EACV,QAAQ,EAAE,gBAAgB,EAC1B,iBAAiB,EAAE,QAAQ,CAAC,kBAAkB,CAAC,GAC7C,OAAO,CAAC,QAAQ,GAAG,QAAQ,CAAC,CAAC;IAEhC;;;;;;;;;;OAUG;IACH,MAAM,CAAC,OAAO,EAAE,sBAAsB,EAAE,EAAE,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC;CACzE"}
|
package/lib/channel.d.ts
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*/
|
|
5
5
|
import type { IFluidLoadable } from "@fluidframework/core-interfaces";
|
|
6
|
-
import type { ISequencedDocumentMessage } from "@fluidframework/driver-definitions/internal";
|
|
7
6
|
import type { IExperimentalIncrementalSummaryContext, IGarbageCollectionData, IRuntimeMessageCollection, ISummaryTreeWithStats, ITelemetryContext } from "@fluidframework/runtime-definitions/internal";
|
|
8
7
|
import type { IFluidDataStoreRuntime } from "./dataStoreRuntime.js";
|
|
9
8
|
import type { IChannelAttributes } from "./storage.js";
|
|
@@ -100,20 +99,11 @@ export interface IChannel extends IFluidLoadable {
|
|
|
100
99
|
* @alpha
|
|
101
100
|
*/
|
|
102
101
|
export interface IDeltaHandler {
|
|
103
|
-
/**
|
|
104
|
-
* Processes the op.
|
|
105
|
-
* @param message - The message to process
|
|
106
|
-
* @param local - Whether the message originated from the local client
|
|
107
|
-
* @param localOpMetadata - For local client messages, this is the metadata that was submitted with the message.
|
|
108
|
-
* For messages from a remote client, this will be undefined.
|
|
109
|
-
* @deprecated - Use processMessages instead to process messages.
|
|
110
|
-
*/
|
|
111
|
-
process: (message: ISequencedDocumentMessage, local: boolean, localOpMetadata: unknown) => void;
|
|
112
102
|
/**
|
|
113
103
|
* Process messages for this channel. The messages here are contiguous messages for this channel in a batch.
|
|
114
104
|
* @param messageCollection - The collection of messages to process.
|
|
115
105
|
*/
|
|
116
|
-
processMessages
|
|
106
|
+
processMessages: (messageCollection: IRuntimeMessageCollection) => void;
|
|
117
107
|
/**
|
|
118
108
|
* State change events to indicate changes to the delta connection
|
|
119
109
|
* @param connected - true if connected, false otherwise
|
package/lib/channel.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../src/channel.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"channel.d.ts","sourceRoot":"","sources":["../src/channel.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,KAAK,EACX,sCAAsC,EACtC,sBAAsB,EACtB,yBAAyB,EACzB,qBAAqB,EACrB,iBAAiB,EACjB,MAAM,8CAA8C,CAAC;AAEtD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAEvD;;;GAGG;AACH,MAAM,WAAW,QAAS,SAAQ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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluidframework/datastore-definitions",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.30.0",
|
|
4
4
|
"description": "Fluid data store definitions",
|
|
5
5
|
"homepage": "https://fluidframework.com",
|
|
6
6
|
"repository": {
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"main": "",
|
|
42
42
|
"types": "lib/public.d.ts",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@fluidframework/container-definitions": "2.
|
|
45
|
-
"@fluidframework/core-interfaces": "2.
|
|
46
|
-
"@fluidframework/driver-definitions": "2.
|
|
47
|
-
"@fluidframework/id-compressor": "2.
|
|
48
|
-
"@fluidframework/runtime-definitions": "2.
|
|
44
|
+
"@fluidframework/container-definitions": "~2.30.0",
|
|
45
|
+
"@fluidframework/core-interfaces": "~2.30.0",
|
|
46
|
+
"@fluidframework/driver-definitions": "~2.30.0",
|
|
47
|
+
"@fluidframework/id-compressor": "~2.30.0",
|
|
48
|
+
"@fluidframework/runtime-definitions": "~2.30.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@arethetypeswrong/cli": "^0.17.1",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@fluid-tools/build-cli": "^0.54.0",
|
|
54
54
|
"@fluidframework/build-common": "^2.0.3",
|
|
55
55
|
"@fluidframework/build-tools": "^0.54.0",
|
|
56
|
-
"@fluidframework/datastore-definitions-previous": "npm:@fluidframework/datastore-definitions@2.
|
|
56
|
+
"@fluidframework/datastore-definitions-previous": "npm:@fluidframework/datastore-definitions@2.23.0",
|
|
57
57
|
"@fluidframework/eslint-config-fluid": "^5.7.3",
|
|
58
58
|
"@microsoft/api-extractor": "7.47.8",
|
|
59
59
|
"concurrently": "^8.2.1",
|
|
@@ -64,7 +64,12 @@
|
|
|
64
64
|
"typescript": "~5.4.5"
|
|
65
65
|
},
|
|
66
66
|
"typeValidation": {
|
|
67
|
-
"broken": {
|
|
67
|
+
"broken": {
|
|
68
|
+
"Interface_IDeltaHandler": {
|
|
69
|
+
"forwardCompat": false,
|
|
70
|
+
"backCompat": false
|
|
71
|
+
}
|
|
72
|
+
},
|
|
68
73
|
"entrypoint": "legacy"
|
|
69
74
|
},
|
|
70
75
|
"scripts": {
|
package/src/channel.ts
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { IFluidLoadable } from "@fluidframework/core-interfaces";
|
|
7
|
-
import type { ISequencedDocumentMessage } from "@fluidframework/driver-definitions/internal";
|
|
8
7
|
import type {
|
|
9
8
|
IExperimentalIncrementalSummaryContext,
|
|
10
9
|
IGarbageCollectionData,
|
|
@@ -125,25 +124,11 @@ export interface IChannel extends IFluidLoadable {
|
|
|
125
124
|
* @alpha
|
|
126
125
|
*/
|
|
127
126
|
export interface IDeltaHandler {
|
|
128
|
-
/**
|
|
129
|
-
* Processes the op.
|
|
130
|
-
* @param message - The message to process
|
|
131
|
-
* @param local - Whether the message originated from the local client
|
|
132
|
-
* @param localOpMetadata - For local client messages, this is the metadata that was submitted with the message.
|
|
133
|
-
* For messages from a remote client, this will be undefined.
|
|
134
|
-
* @deprecated - Use processMessages instead to process messages.
|
|
135
|
-
*/
|
|
136
|
-
process: (
|
|
137
|
-
message: ISequencedDocumentMessage,
|
|
138
|
-
local: boolean,
|
|
139
|
-
localOpMetadata: unknown,
|
|
140
|
-
) => void;
|
|
141
|
-
|
|
142
127
|
/**
|
|
143
128
|
* Process messages for this channel. The messages here are contiguous messages for this channel in a batch.
|
|
144
129
|
* @param messageCollection - The collection of messages to process.
|
|
145
130
|
*/
|
|
146
|
-
processMessages
|
|
131
|
+
processMessages: (messageCollection: IRuntimeMessageCollection) => void;
|
|
147
132
|
|
|
148
133
|
/**
|
|
149
134
|
* State change events to indicate changes to the delta connection
|