@types/sharedb 3.3.11 → 3.3.12
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/lib/sharedb.d.ts +2 -0
- sharedb/package.json +2 -2
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: Tue,
|
|
11
|
+
* Last updated: Tue, 30 Jul 2024 16:38:51 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
sharedb/lib/sharedb.d.ts
CHANGED
|
@@ -119,11 +119,13 @@ export interface Type {
|
|
|
119
119
|
invert?(op: any): any;
|
|
120
120
|
normalize?(op: any): any;
|
|
121
121
|
transformCursor?(cursor: any, op: any, isOwnOp: boolean): any;
|
|
122
|
+
transformPresence?<T>(presence: T, op: any, isOwnOp: boolean): T;
|
|
122
123
|
serialize?(snapshot: any): any;
|
|
123
124
|
deserialize?(data: any): any;
|
|
124
125
|
[key: string]: any;
|
|
125
126
|
}
|
|
126
127
|
export interface Types {
|
|
128
|
+
defaultType: Type;
|
|
127
129
|
register: (type: Type) => void;
|
|
128
130
|
map: { [key: string]: Type };
|
|
129
131
|
}
|
sharedb/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/sharedb",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.12",
|
|
4
4
|
"description": "TypeScript definitions for sharedb",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sharedb",
|
|
6
6
|
"license": "MIT",
|
|
@@ -45,6 +45,6 @@
|
|
|
45
45
|
},
|
|
46
46
|
"scripts": {},
|
|
47
47
|
"dependencies": {},
|
|
48
|
-
"typesPublisherContentHash": "
|
|
48
|
+
"typesPublisherContentHash": "146ef826470232d7d8af2ca4cb9ab8d4f841b3bd044b7ee69ad4a87fdb97ca78",
|
|
49
49
|
"typeScriptVersion": "4.8"
|
|
50
50
|
}
|