@jupyter/ydoc
Advanced tools
Comparing version 0.3.0-a6 to 0.3.0
@@ -33,41 +33,2 @@ /** | ||
/** | ||
* A factory interface for creating `ISharedDocument` objects. | ||
*/ | ||
export interface IFactory { | ||
/** | ||
* Create a new `ISharedDocument` instance. | ||
* | ||
* It should return `undefined` if the factory is not able to create a `ISharedDocument`. | ||
*/ | ||
createNew(options: IFactory.IOptions): ISharedDocument | undefined; | ||
} | ||
/** | ||
* The namespace for `IFactory`. | ||
*/ | ||
export declare namespace IFactory { | ||
/** | ||
* The options used to instantiate a ISharedDocument | ||
*/ | ||
interface IOptions { | ||
/** | ||
* The path of the file. | ||
*/ | ||
path: string; | ||
/** | ||
* The format of the document. | ||
*/ | ||
format: string; | ||
/** | ||
* The content type of the document. | ||
*/ | ||
contentType: string; | ||
/** | ||
* Wether the document is collaborative or not. | ||
* | ||
* The default value is `true`. | ||
*/ | ||
collaborative?: boolean; | ||
} | ||
} | ||
/** | ||
* ISharedBase defines common operations that can be performed on any shared object. | ||
@@ -74,0 +35,0 @@ */ |
{ | ||
"name": "@jupyter/ydoc", | ||
"version": "0.3.0-a6", | ||
"version": "0.3.0", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "Jupyter document structures for collaborative editing using YJS", |
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
128230
2978