@atlaskit/prosemirror-collab 1.0.67 → 1.1.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 +7 -0
- package/package.json +1 -1
- package/report.api.md +0 -86
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/prosemirror-collab
|
|
2
2
|
|
|
3
|
+
## 1.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`bd2c5b0112185`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd2c5b0112185) -
|
|
8
|
+
Remove stale API report artifacts from published Platform packages.
|
|
9
|
+
|
|
3
10
|
## 1.0.67
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/package.json
CHANGED
package/report.api.md
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
<!-- API Report Version: 2.3 -->
|
|
2
|
-
|
|
3
|
-
## API Report File for "@atlaskit/prosemirror-collab"
|
|
4
|
-
|
|
5
|
-
> Do not edit this file. This report is auto-generated using
|
|
6
|
-
> [API Extractor](https://api-extractor.com/).
|
|
7
|
-
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
8
|
-
|
|
9
|
-
### Table of contents
|
|
10
|
-
|
|
11
|
-
- [Main Entry Types](#main-entry-types)
|
|
12
|
-
- [Peer Dependencies](#peer-dependencies)
|
|
13
|
-
|
|
14
|
-
### Main Entry Types
|
|
15
|
-
|
|
16
|
-
<!--SECTION START: Main Entry Types-->
|
|
17
|
-
|
|
18
|
-
```ts
|
|
19
|
-
import { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
20
|
-
import { Plugin as Plugin_2 } from '@atlaskit/editor-prosemirror/state';
|
|
21
|
-
import type { Step } from '@atlaskit/editor-prosemirror/transform';
|
|
22
|
-
import { Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
23
|
-
import type { Transform } from '@atlaskit/editor-prosemirror/transform';
|
|
24
|
-
|
|
25
|
-
// @public (undocumented)
|
|
26
|
-
export function collab(config?: CollabConfig): Plugin_2;
|
|
27
|
-
|
|
28
|
-
// @public (undocumented)
|
|
29
|
-
type CollabConfig = {
|
|
30
|
-
version?: number;
|
|
31
|
-
clientID?: null | number | string;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
// @public (undocumented)
|
|
35
|
-
export function getVersion(state: EditorState): number;
|
|
36
|
-
|
|
37
|
-
// @public (undocumented)
|
|
38
|
-
class Rebaseable {
|
|
39
|
-
constructor(step: Step, inverted: Step, origin: Transform);
|
|
40
|
-
// (undocumented)
|
|
41
|
-
readonly inverted: Step;
|
|
42
|
-
// (undocumented)
|
|
43
|
-
readonly origin: Transform;
|
|
44
|
-
// (undocumented)
|
|
45
|
-
readonly step: Step;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
// @public (undocumented)
|
|
49
|
-
export function rebaseSteps(
|
|
50
|
-
steps: readonly Rebaseable[],
|
|
51
|
-
over: readonly Step[],
|
|
52
|
-
transform: Transform,
|
|
53
|
-
): Rebaseable[];
|
|
54
|
-
|
|
55
|
-
// @public (undocumented)
|
|
56
|
-
export function receiveTransaction(
|
|
57
|
-
state: EditorState,
|
|
58
|
-
steps: readonly Step[],
|
|
59
|
-
clientIDs: readonly (number | string)[],
|
|
60
|
-
options?: {
|
|
61
|
-
mapSelectionBackward?: boolean;
|
|
62
|
-
},
|
|
63
|
-
): Transaction;
|
|
64
|
-
|
|
65
|
-
// @public (undocumented)
|
|
66
|
-
export function sendableSteps(state: EditorState): null | {
|
|
67
|
-
version: number;
|
|
68
|
-
steps: readonly Step[];
|
|
69
|
-
clientID: number | string;
|
|
70
|
-
origins: readonly Transaction[];
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
// (No @packageDocumentation comment for this package)
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
<!--SECTION END: Main Entry Types-->
|
|
77
|
-
|
|
78
|
-
### Peer Dependencies
|
|
79
|
-
|
|
80
|
-
<!--SECTION START: Peer Dependencies-->
|
|
81
|
-
|
|
82
|
-
```json
|
|
83
|
-
{}
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
<!--SECTION END: Peer Dependencies-->
|