@jupyterlab/rendermime-interfaces
Advanced tools
Comparing version 1.1.7 to 1.2.1-alpha.0
@@ -52,2 +52,9 @@ import { ReadonlyJSONObject } from '@phosphor/coreutils'; | ||
/** | ||
* A toolbar item. | ||
*/ | ||
interface IToolbarItem { | ||
name: string; | ||
widget: Widget; | ||
} | ||
/** | ||
* The options used to initialize a document widget factory. | ||
@@ -85,2 +92,6 @@ * | ||
readonly defaultRendered?: ReadonlyArray<string>; | ||
/** | ||
* A function returning a list of toolbar items to add to the toolbar. | ||
*/ | ||
readonly toolbarFactory?: (widget: IRenderer) => IToolbarItem[]; | ||
} | ||
@@ -275,9 +286,9 @@ /** | ||
/** | ||
* Resolve a relative url to a correct server path. | ||
* Resolve a relative url to an absolute url path. | ||
*/ | ||
resolveUrl(url: string): Promise<string>; | ||
/** | ||
* Get the download url of a given absolute server path. | ||
* Get the download url for a given absolute url path. | ||
*/ | ||
getDownloadUrl(path: string): Promise<string>; | ||
getDownloadUrl(url: string): Promise<string>; | ||
/** | ||
@@ -284,0 +295,0 @@ * Whether the URL should be handled by the resolver |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
{ | ||
"name": "@jupyterlab/rendermime-interfaces", | ||
"version": "1.1.7", | ||
"version": "1.2.1-alpha.0", | ||
"description": "JupyterLab - Interfaces for Mime Renderers", | ||
@@ -26,6 +26,7 @@ "homepage": "https://github.com/jupyterlab/jupyterlab", | ||
"scripts": { | ||
"build": "tsc", | ||
"build": "tsc -b src", | ||
"clean": "rimraf lib", | ||
"docs": "typedoc --options tdoptions.json --theme ../../typedoc-theme src", | ||
"prepublishOnly": "npm run build", | ||
"watch": "tsc -w --listEmittedFiles" | ||
"watch": "tsc -b src --watch" | ||
}, | ||
@@ -38,4 +39,6 @@ "dependencies": { | ||
"rimraf": "~2.6.2", | ||
"typescript": "~2.9.2" | ||
} | ||
"typedoc": "~0.12.0", | ||
"typescript": "~3.1.1" | ||
}, | ||
"gitHead": "9d6193d318872a4a3600ee96fe6f3996312ffe07" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
322
14049
3
1