@types/sharedb 3.2.1 → 3.3.1
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.
- sharedb/README.md +1 -1
- sharedb/index.d.ts +6 -1
- sharedb/lib/agent.d.ts +4 -0
- sharedb/package.json +3 -3
sharedb/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for sharedb (https://github.com/share/sha
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sharedb.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 27 Mar 2023 18:25:41 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: none
|
|
14
14
|
|
sharedb/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for sharedb 3.
|
|
1
|
+
// Type definitions for sharedb 3.3
|
|
2
2
|
// Project: https://github.com/share/sharedb
|
|
3
3
|
// Definitions by: Steve Oney <https://github.com/soney>
|
|
4
4
|
// Eric Hwang <https://github.com/ericyhwang>
|
|
@@ -242,6 +242,7 @@ declare namespace sharedb {
|
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
interface ApplyContext extends BaseContext, SubmitRequest {
|
|
245
|
+
$fixup: (op: any) => void;
|
|
245
246
|
}
|
|
246
247
|
|
|
247
248
|
interface CommitContext extends BaseContext, SubmitRequest {
|
|
@@ -274,7 +275,11 @@ declare namespace sharedb {
|
|
|
274
275
|
collection: string;
|
|
275
276
|
projection: ReadonlyProjection;
|
|
276
277
|
fields: ProjectionFields;
|
|
278
|
+
/**
|
|
279
|
+
* @deprecated Use channels property instead
|
|
280
|
+
*/
|
|
277
281
|
channel: string;
|
|
282
|
+
channels: string[];
|
|
278
283
|
query: any;
|
|
279
284
|
options?: {[key: string]: any};
|
|
280
285
|
db: DB | null;
|
sharedb/lib/agent.d.ts
CHANGED
sharedb/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/sharedb",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.1",
|
|
4
4
|
"description": "TypeScript definitions for sharedb",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sharedb",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,6 +40,6 @@
|
|
|
40
40
|
},
|
|
41
41
|
"scripts": {},
|
|
42
42
|
"dependencies": {},
|
|
43
|
-
"typesPublisherContentHash": "
|
|
44
|
-
"typeScriptVersion": "4.
|
|
43
|
+
"typesPublisherContentHash": "530d038cfa18315dd9ba5ee947e1ef71d8d2855440c3cab3a987b84ff9cbd647",
|
|
44
|
+
"typeScriptVersion": "4.3"
|
|
45
45
|
}
|