@nteract/types
Advanced tools
Comparing version 6.0.0-alpha.0 to 6.0.0
@@ -22,3 +22,3 @@ import { Observable } from "rxjs"; | ||
export interface IContent<FT extends FileType = FileType> extends IStatContent<FT> { | ||
content: FT extends "file" ? string : FT extends "notebook" ? Notebook : FT extends "directory" ? Array<IEmptyContent<FT>> : null; | ||
content: FT extends "file" ? string : FT extends "notebook" ? Notebook : FT extends "directory" ? Array<IEmptyContent<FileType>> : null; | ||
} | ||
@@ -25,0 +25,0 @@ /** |
@@ -10,2 +10,4 @@ import { MediaBundle } from "@nteract/commutable"; | ||
export * from "./refs"; | ||
import * as errors from "./errors"; | ||
export { errors }; | ||
export interface KernelspecMetadata { | ||
@@ -12,0 +14,0 @@ display_name: string; |
@@ -18,2 +18,4 @@ "use strict"; | ||
__export(require("./refs")); | ||
const errors = __importStar(require("./errors")); | ||
exports.errors = errors; | ||
exports.makeCommsRecord = Immutable.Record({ | ||
@@ -20,0 +22,0 @@ targets: Immutable.Map(), |
{ | ||
"name": "@nteract/types", | ||
"version": "6.0.0-alpha.0", | ||
"version": "6.0.0", | ||
"description": "A collection of type definitions used within core nteract packages", | ||
@@ -16,3 +16,3 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@nteract/commutable": "^7.2.6-alpha.0", | ||
"@nteract/commutable": "^7.2.6", | ||
"immutable": "^4.0.0-rc.12", | ||
@@ -22,3 +22,3 @@ "rxjs": "^6.3.3", | ||
}, | ||
"gitHead": "91df8b50624d099fcaeefdd993512de11c42072d" | ||
"gitHead": "d58b7ba291f5902c5ea36f78462d4bc607ea6f0d" | ||
} |
@@ -34,3 +34,3 @@ import { Observable } from "rxjs"; | ||
: FT extends "directory" | ||
? Array<IEmptyContent<FT>> | ||
? Array<IEmptyContent<FileType>> | ||
: null; | ||
@@ -37,0 +37,0 @@ } |
import { MediaBundle } from "@nteract/commutable"; | ||
import * as Immutable from "immutable"; | ||
import { EntitiesRecordProps, makeEmptyHostRecord, makeEntitiesRecord } from "./entities"; | ||
import { | ||
EntitiesRecordProps, | ||
makeEmptyHostRecord, | ||
makeEntitiesRecord | ||
} from "./entities"; | ||
import { HostRecord } from "./entities/hosts"; | ||
@@ -12,2 +16,5 @@ import { KernelRef, KernelspecsRef } from "./refs"; | ||
import * as errors from "./errors"; | ||
export { errors }; | ||
export interface KernelspecMetadata { | ||
@@ -14,0 +21,0 @@ display_name: string; |
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
673644
78
2343
1
Updated@nteract/commutable@^7.2.6