@jupyter/collaborative-drive 3.1.0 → 4.0.0-alpha.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/lib/tokens.d.ts CHANGED
@@ -1,24 +1,15 @@
1
- import { DocumentChange, YDocument } from '@jupyter/ydoc';
2
- import { Contents } from '@jupyterlab/services';
1
+ import { Contents, SharedDocumentFactory } from '@jupyterlab/services';
3
2
  import { IDisposable } from '@lumino/disposable';
4
3
  import { Token } from '@lumino/coreutils';
5
4
  /**
6
5
  * The collaborative drive.
7
6
  */
8
- export declare const ICollaborativeDrive: Token<ICollaborativeDrive>;
7
+ export declare const ICollaborativeContentProvider: Token<ICollaborativeContentProvider>;
9
8
  /**
10
9
  * The global awareness token.
11
10
  */
12
11
  export declare const IGlobalAwareness: Token<import("y-protocols/awareness").Awareness>;
13
- /**
14
- * A document factory for registering shared models
15
- */
16
- export type SharedDocumentFactory = (options: Contents.ISharedFactoryOptions) => YDocument<DocumentChange>;
17
- /**
18
- * A Collaborative implementation for an `IDrive`, talking to the
19
- * server using the Jupyter REST API and a WebSocket connection.
20
- */
21
- export interface ICollaborativeDrive extends Contents.IDrive {
12
+ export interface ICollaborativeContentProvider {
22
13
  /**
23
14
  * SharedModel factory for the YDrive.
24
15
  */
package/lib/tokens.js CHANGED
@@ -4,7 +4,7 @@ import { Token } from '@lumino/coreutils';
4
4
  /**
5
5
  * The collaborative drive.
6
6
  */
7
- export const ICollaborativeDrive = new Token('@jupyter/collaboration-extension:ICollaborativeDrive');
7
+ export const ICollaborativeContentProvider = new Token('@jupyter/collaboration-extension:ICollaborativeContentProvider');
8
8
  /**
9
9
  * The global awareness token.
10
10
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyter/collaborative-drive",
3
- "version": "3.1.0",
3
+ "version": "4.0.0-alpha.0",
4
4
  "description": "JupyterLab - Collaborative Drive",
5
5
  "homepage": "https://github.com/jupyterlab/jupyter-collaboration",
6
6
  "bugs": {
@@ -37,14 +37,14 @@
37
37
  "watch": "tsc -b --watch"
38
38
  },
39
39
  "dependencies": {
40
- "@jupyter/ydoc": "^2.0.0 || ^3.0.0",
41
- "@jupyterlab/services": "^7.2.0",
40
+ "@jupyter/ydoc": "^2.1.3 || ^3.0.0",
41
+ "@jupyterlab/services": "^7.4.0-alpha.2",
42
42
  "@lumino/coreutils": "^2.1.0",
43
43
  "@lumino/disposable": "^2.1.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "rimraf": "^4.1.2",
47
- "typescript": "~5.0.4"
47
+ "typescript": "~5.1.6"
48
48
  },
49
49
  "publishConfig": {
50
50
  "access": "public"