@atlaskit/prosemirror-collab 0.2.2 → 0.2.4
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 +12 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +5 -4
- package/tmp/api-report-tmp.d.ts +54 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
## 1.3.0 (2022-05-30)
|
|
2
2
|
|
|
3
|
+
## 0.2.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`73b5128036b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/73b5128036b) - [ED-17082] Mark package as a singleton one
|
|
8
|
+
|
|
9
|
+
## 0.2.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
14
|
+
|
|
3
15
|
## 0.2.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/prosemirror-collab",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "Collaborative editing for ProseMirror - Atlassian Fork",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -24,8 +24,9 @@
|
|
|
24
24
|
"atlaskit:src": "src/index.ts",
|
|
25
25
|
"atlassian": {
|
|
26
26
|
"team": "Editor Services",
|
|
27
|
+
"singleton": true,
|
|
27
28
|
"inPublicMirror": true,
|
|
28
|
-
"releaseModel": "
|
|
29
|
+
"releaseModel": "continuous"
|
|
29
30
|
},
|
|
30
31
|
"af:exports": {
|
|
31
32
|
".": "./src/index.ts"
|
|
@@ -35,8 +36,8 @@
|
|
|
35
36
|
"prosemirror-state": "1.3.4"
|
|
36
37
|
},
|
|
37
38
|
"devDependencies": {
|
|
38
|
-
"@atlaskit/adf-schema": "^25.
|
|
39
|
-
"@atlaskit/editor-test-helpers": "^18.
|
|
39
|
+
"@atlaskit/adf-schema": "^25.9.0",
|
|
40
|
+
"@atlaskit/editor-test-helpers": "^18.7.0",
|
|
40
41
|
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
|
41
42
|
"@types/prosemirror-history": "^1.0.1",
|
|
42
43
|
"@types/prosemirror-model": "^1.11.0",
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
## API Report File for "@atlaskit/prosemirror-collab"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import { EditorState } from 'prosemirror-state';
|
|
8
|
+
import { Plugin as Plugin_2 } from 'prosemirror-state';
|
|
9
|
+
import type { Step } from 'prosemirror-transform';
|
|
10
|
+
import { Transaction } from 'prosemirror-state';
|
|
11
|
+
import type { Transform } from 'prosemirror-transform';
|
|
12
|
+
|
|
13
|
+
// @public (undocumented)
|
|
14
|
+
export function collab(config?: CollabConfig): Plugin_2;
|
|
15
|
+
|
|
16
|
+
// @public (undocumented)
|
|
17
|
+
type CollabConfig = {
|
|
18
|
+
version?: number;
|
|
19
|
+
clientID?: null | number | string;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
// @public (undocumented)
|
|
23
|
+
export function getVersion(state: EditorState): number;
|
|
24
|
+
|
|
25
|
+
// @public (undocumented)
|
|
26
|
+
class Rebaseable {
|
|
27
|
+
constructor(step: Step, inverted: Step, origin: Transform);
|
|
28
|
+
// (undocumented)
|
|
29
|
+
readonly inverted: Step;
|
|
30
|
+
// (undocumented)
|
|
31
|
+
readonly origin: Transform;
|
|
32
|
+
// (undocumented)
|
|
33
|
+
readonly step: Step;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// @public (undocumented)
|
|
37
|
+
export function rebaseSteps(steps: readonly Rebaseable[], over: readonly Step[], transform: Transform): Rebaseable[];
|
|
38
|
+
|
|
39
|
+
// @public (undocumented)
|
|
40
|
+
export function receiveTransaction(state: EditorState, steps: readonly Step[], clientIDs: readonly (number | string)[], options?: {
|
|
41
|
+
mapSelectionBackward?: boolean;
|
|
42
|
+
}): Transaction<any>;
|
|
43
|
+
|
|
44
|
+
// @public (undocumented)
|
|
45
|
+
export function sendableSteps(state: EditorState): null | {
|
|
46
|
+
version: number;
|
|
47
|
+
steps: readonly Step[];
|
|
48
|
+
clientID: number | string;
|
|
49
|
+
origins: readonly Transaction[];
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
// (No @packageDocumentation comment for this package)
|
|
53
|
+
|
|
54
|
+
```
|