@types/prosemirror-collab
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -29,6 +29,3 @@ // Type definitions for prosemirror-collab 1.1 | ||
*/ | ||
export function collab(config?: { | ||
version?: number | null; | ||
clientID?: number | string | null; | ||
}): Plugin; | ||
export function collab(config?: { version?: number | null; clientID?: number | string | null }): Plugin; | ||
@@ -51,6 +48,6 @@ /** | ||
export function receiveTransaction<S extends Schema = any>( | ||
state: EditorState<S>, | ||
steps: Array<Step<S>>, | ||
clientIDs: Array<number | string>, | ||
options?: { mapSelectionBackward?: boolean } | ||
state: EditorState<S>, | ||
steps: Array<Step<S>>, | ||
clientIDs: Array<number | string>, | ||
options?: { mapSelectionBackward?: boolean }, | ||
): Transaction<S>; | ||
@@ -70,9 +67,12 @@ | ||
export function sendableSteps<S extends Schema = any>( | ||
state: EditorState<S> | ||
): { | ||
version: number; | ||
steps: Array<Step<S>>; | ||
clientID: number | string; | ||
origins: Array<Transaction<S>>; | ||
} | null | undefined; | ||
state: EditorState<S>, | ||
): | ||
| { | ||
version: number; | ||
steps: Array<Step<S>>; | ||
clientID: number | string; | ||
origins: Array<Transaction<S>>; | ||
} | ||
| null | ||
| undefined; | ||
@@ -79,0 +79,0 @@ /** |
{ | ||
"name": "@types/prosemirror-collab", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "TypeScript definitions for prosemirror-collab", | ||
@@ -46,4 +46,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "a8cdb47af5093e9df612f5d899abb1027f1c1d4f0ec53b6d21d75921f56412cd", | ||
"typeScriptVersion": "3.0" | ||
"typesPublisherContentHash": "670e6b4a1f9a2629f8842aca4119f3c97502d78b408d0c21b9ffd622513b6393", | ||
"typeScriptVersion": "3.4" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 21 May 2020 06:14:58 GMT | ||
* Last updated: Mon, 18 Jan 2021 15:07:05 GMT | ||
* Dependencies: [@types/prosemirror-model](https://npmjs.com/package/@types/prosemirror-model), [@types/prosemirror-state](https://npmjs.com/package/@types/prosemirror-state), [@types/prosemirror-transform](https://npmjs.com/package/@types/prosemirror-transform) | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6536