rx-jupyter
Advanced tools
Comparing version 5.1.0 to 5.2.0
@@ -6,2 +6,3 @@ /** | ||
import { Observable } from "rxjs"; | ||
import { AjaxResponse } from "rxjs/ajax"; | ||
import { JupyterAjaxResponse, ServerConfig } from "./base"; | ||
@@ -47,3 +48,3 @@ export declare type FileType = "directory" | "file" | "notebook"; | ||
*/ | ||
export declare const remove: (serverConfig: ServerConfig, path: string) => Observable<import("rxjs/ajax").AjaxResponse>; | ||
export declare const remove: (serverConfig: ServerConfig, path: string) => Observable<AjaxResponse>; | ||
interface IGetParams { | ||
@@ -76,3 +77,3 @@ type: "file" | "directory" | "notebook"; | ||
*/ | ||
export declare function update<FT extends FileType>(serverConfig: ServerConfig, path: string, model: Partial<IContent>): Observable<import("rxjs/ajax").AjaxResponse>; | ||
export declare function update<FT extends FileType>(serverConfig: ServerConfig, path: string, model: Partial<IContent>): Observable<AjaxResponse>; | ||
/** | ||
@@ -89,3 +90,3 @@ * Creates an AjaxObservable for creating content | ||
type: FT; | ||
}): Observable<import("rxjs/ajax").AjaxResponse>; | ||
}): Observable<AjaxResponse>; | ||
/** | ||
@@ -113,3 +114,3 @@ * Creates an AjaxObservable for saving the file in the location specified by | ||
*/ | ||
export declare const listCheckpoints: (serverConfig: ServerConfig, path: string) => Observable<import("rxjs/ajax").AjaxResponse>; | ||
export declare const listCheckpoints: (serverConfig: ServerConfig, path: string) => Observable<AjaxResponse>; | ||
/** | ||
@@ -125,3 +126,3 @@ * Creates an AjaxObservable for creating a new checkpoint with the current state of a file. | ||
*/ | ||
export declare const createCheckpoint: (serverConfig: ServerConfig, path: string) => Observable<import("rxjs/ajax").AjaxResponse>; | ||
export declare const createCheckpoint: (serverConfig: ServerConfig, path: string) => Observable<AjaxResponse>; | ||
/** | ||
@@ -136,3 +137,3 @@ * Creates an AjaxObservable for deleting a checkpoint for a given file. | ||
*/ | ||
export declare const deleteCheckpoint: (serverConfig: ServerConfig, path: string, checkpointID: string) => Observable<import("rxjs/ajax").AjaxResponse>; | ||
export declare const deleteCheckpoint: (serverConfig: ServerConfig, path: string, checkpointID: string) => Observable<AjaxResponse>; | ||
/** | ||
@@ -147,3 +148,3 @@ * Creates an AjaxObservable for restoring a file to a specified checkpoint. | ||
*/ | ||
export declare const restoreFromCheckpoint: (serverConfig: ServerConfig, path: string, checkpointID: string) => Observable<import("rxjs/ajax").AjaxResponse>; | ||
export declare const restoreFromCheckpoint: (serverConfig: ServerConfig, path: string, checkpointID: string) => Observable<AjaxResponse>; | ||
export {}; |
@@ -8,2 +8,3 @@ /** | ||
import { Observable } from "rxjs"; | ||
import * as bookstore from "./bookstore"; | ||
import * as contents from "./contents"; | ||
@@ -30,2 +31,2 @@ import * as kernels from "./kernels"; | ||
export declare const shutdown: (serverConfig: _ServerConfig) => Observable<AjaxResponse>; | ||
export { kernels, kernelspecs, sessions, contents, terminals }; | ||
export { kernels, kernelspecs, sessions, bookstore, contents, terminals }; |
@@ -15,2 +15,4 @@ "use strict"; | ||
const base_1 = require("./base"); | ||
const bookstore = __importStar(require("./bookstore")); | ||
exports.bookstore = bookstore; | ||
const contents = __importStar(require("./contents")); | ||
@@ -17,0 +19,0 @@ exports.contents = contents; |
{ | ||
"name": "rx-jupyter", | ||
"version": "5.1.0", | ||
"version": "5.2.0", | ||
"description": "RxJS 5 bindings for the Jupyter Notebook API", | ||
@@ -21,4 +21,4 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@nteract/commutable": "^7.1.0", | ||
"@nteract/messaging": "^6.0.4", | ||
"@nteract/commutable": "^7.1.1", | ||
"@nteract/messaging": "^6.0.5", | ||
"js-cookie": "^2.2.0", | ||
@@ -34,3 +34,3 @@ "rxjs": "^6.3.3", | ||
}, | ||
"gitHead": "f63a01c4067b05541ebddd3932345d7102ea3e5b" | ||
"gitHead": "7ce2f58970920ef40415b992c94d48d4eb0ebfd6" | ||
} |
@@ -7,3 +7,3 @@ /** | ||
import { Observable } from "rxjs"; | ||
import { ajax, AjaxRequest } from "rxjs/ajax"; | ||
import { ajax, AjaxRequest, AjaxResponse } from "rxjs/ajax"; | ||
import urljoin from "url-join"; | ||
@@ -150,3 +150,3 @@ import { createAJAXSettings, JupyterAjaxResponse, ServerConfig } from "./base"; | ||
model: Partial<IContent<FT>> & { type: FT } | ||
) { | ||
): Observable<AjaxResponse> { | ||
return ajax( | ||
@@ -153,0 +153,0 @@ createAJAXSettings(serverConfig, formURI(path), { |
@@ -11,2 +11,3 @@ /** | ||
import { Observable } from "rxjs"; | ||
import * as bookstore from "./bookstore"; | ||
import * as contents from "./contents"; | ||
@@ -41,2 +42,2 @@ import * as kernels from "./kernels"; | ||
export { kernels, kernelspecs, sessions, contents, terminals }; | ||
export { kernels, kernelspecs, sessions, bookstore, contents, terminals }; |
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
90325
42
2366
Updated@nteract/commutable@^7.1.1
Updated@nteract/messaging@^6.0.5