@types/sharedb 3.3.10 → 3.3.11
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/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: Tue,
|
|
11
|
+
* Last updated: Tue, 02 Jul 2024 16:38:39 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
|
|
14
14
|
# Credits
|
sharedb/index.d.ts
CHANGED
|
@@ -221,7 +221,12 @@ declare namespace sharedb {
|
|
|
221
221
|
private _removeStream(channel, stream): void;
|
|
222
222
|
}
|
|
223
223
|
|
|
224
|
-
|
|
224
|
+
interface MilestoneDBEventMap {
|
|
225
|
+
"error": (error: Error) => void;
|
|
226
|
+
"save": (collection: string, snapshot: Snapshot) => void;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
abstract class MilestoneDB extends ShareDB.TypedEmitter<MilestoneDBEventMap> {
|
|
225
230
|
close(callback?: BasicCallback): void;
|
|
226
231
|
getMilestoneSnapshot(collection: string, id: string, version: number, callback?: BasicCallback): void;
|
|
227
232
|
saveMilestoneSnapshot(collection: string, snapshot: Snapshot, callback?: BasicCallback): void;
|
sharedb/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/sharedb",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.11",
|
|
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": "
|
|
49
|
-
"typeScriptVersion": "4.
|
|
48
|
+
"typesPublisherContentHash": "8f3b25ddc3f162745d0c748500548b97527227e1c1822c015bd9002b5a22bc2f",
|
|
49
|
+
"typeScriptVersion": "4.8"
|
|
50
50
|
}
|