@rimbu/graph-arrow-valued
Advanced tools
Comparing version 0.5.10-alpha.11 to 0.5.10-alpha.12
@@ -9,3 +9,3 @@ "use strict"; | ||
var _a, _b; | ||
return new graph_1.CustomGraphNonValuedBase.ValuedGraphContext(true, 'ArrowValuedGraphHashed', (_a = options === null || options === void 0 ? void 0 : options.linkMapContext) !== null && _a !== void 0 ? _a : hashed_1.HashMap.defaultContext(), (_b = options === null || options === void 0 ? void 0 : options.linkConnectionsContext) !== null && _b !== void 0 ? _b : hashed_1.HashMap.defaultContext()); | ||
return new graph_1.ValuedGraphCustom.ValuedGraphContext(true, 'ArrowValuedGraphHashed', (_a = options === null || options === void 0 ? void 0 : options.linkMapContext) !== null && _a !== void 0 ? _a : hashed_1.HashMap.defaultContext(), (_b = options === null || options === void 0 ? void 0 : options.linkConnectionsContext) !== null && _b !== void 0 ? _b : hashed_1.HashMap.defaultContext()); | ||
} | ||
@@ -12,0 +12,0 @@ var _defaultContext = createContext(); |
@@ -9,3 +9,3 @@ "use strict"; | ||
var _a, _b; | ||
return new graph_1.CustomGraphNonValuedBase.ValuedGraphContext(true, 'ArrowValuedGraphSorted', (_a = options === null || options === void 0 ? void 0 : options.linkMapContext) !== null && _a !== void 0 ? _a : sorted_1.SortedMap.defaultContext(), (_b = options === null || options === void 0 ? void 0 : options.linkConnectionsContext) !== null && _b !== void 0 ? _b : sorted_1.SortedMap.defaultContext()); | ||
return new graph_1.ValuedGraphCustom.ValuedGraphContext(true, 'ArrowValuedGraphSorted', (_a = options === null || options === void 0 ? void 0 : options.linkMapContext) !== null && _a !== void 0 ? _a : sorted_1.SortedMap.defaultContext(), (_b = options === null || options === void 0 ? void 0 : options.linkConnectionsContext) !== null && _b !== void 0 ? _b : sorted_1.SortedMap.defaultContext()); | ||
} | ||
@@ -12,0 +12,0 @@ var _defaultContext = createContext(); |
@@ -14,5 +14,5 @@ "use strict"; | ||
createContext: function (options) { | ||
return new graph_1.CustomGraphNonValuedBase.ValuedGraphContext(true, 'ArrowValuedGraph', options.linkMapContext, options.linkConnectionsContext); | ||
return new graph_1.ValuedGraphCustom.ValuedGraphContext(true, 'ArrowValuedGraph', options.linkMapContext, options.linkConnectionsContext); | ||
}, | ||
}; | ||
//# sourceMappingURL=arrow-valued-graph.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CustomGraphValuedBase = void 0; | ||
exports.ArrowValuedGraphCustom = void 0; | ||
var tslib_1 = require("tslib"); | ||
exports.CustomGraphValuedBase = tslib_1.__importStar(require("./graph-custom")); | ||
exports.ArrowValuedGraphCustom = tslib_1.__importStar(require("./graph-custom")); | ||
tslib_1.__exportStar(require("./arrow/arrow-valued-graph"), exports); | ||
@@ -7,0 +7,0 @@ tslib_1.__exportStar(require("./arrow/arrow-valued-graph-hashed"), exports); |
@@ -1,6 +0,6 @@ | ||
import { CustomGraphNonValuedBase } from '@rimbu/graph'; | ||
import { ValuedGraphCustom } from '@rimbu/graph'; | ||
import { HashMap } from '@rimbu/hashed'; | ||
function createContext(options) { | ||
var _a, _b; | ||
return new CustomGraphNonValuedBase.ValuedGraphContext(true, 'ArrowValuedGraphHashed', (_a = options === null || options === void 0 ? void 0 : options.linkMapContext) !== null && _a !== void 0 ? _a : HashMap.defaultContext(), (_b = options === null || options === void 0 ? void 0 : options.linkConnectionsContext) !== null && _b !== void 0 ? _b : HashMap.defaultContext()); | ||
return new ValuedGraphCustom.ValuedGraphContext(true, 'ArrowValuedGraphHashed', (_a = options === null || options === void 0 ? void 0 : options.linkMapContext) !== null && _a !== void 0 ? _a : HashMap.defaultContext(), (_b = options === null || options === void 0 ? void 0 : options.linkConnectionsContext) !== null && _b !== void 0 ? _b : HashMap.defaultContext()); | ||
} | ||
@@ -7,0 +7,0 @@ const _defaultContext = createContext(); |
@@ -1,6 +0,6 @@ | ||
import { CustomGraphNonValuedBase } from '@rimbu/graph'; | ||
import { ValuedGraphCustom } from '@rimbu/graph'; | ||
import { SortedMap } from '@rimbu/sorted'; | ||
function createContext(options) { | ||
var _a, _b; | ||
return new CustomGraphNonValuedBase.ValuedGraphContext(true, 'ArrowValuedGraphSorted', (_a = options === null || options === void 0 ? void 0 : options.linkMapContext) !== null && _a !== void 0 ? _a : SortedMap.defaultContext(), (_b = options === null || options === void 0 ? void 0 : options.linkConnectionsContext) !== null && _b !== void 0 ? _b : SortedMap.defaultContext()); | ||
return new ValuedGraphCustom.ValuedGraphContext(true, 'ArrowValuedGraphSorted', (_a = options === null || options === void 0 ? void 0 : options.linkMapContext) !== null && _a !== void 0 ? _a : SortedMap.defaultContext(), (_b = options === null || options === void 0 ? void 0 : options.linkConnectionsContext) !== null && _b !== void 0 ? _b : SortedMap.defaultContext()); | ||
} | ||
@@ -7,0 +7,0 @@ const _defaultContext = createContext(); |
@@ -1,2 +0,2 @@ | ||
import { CustomGraphNonValuedBase } from '@rimbu/graph'; | ||
import { ValuedGraphCustom } from '@rimbu/graph'; | ||
export const ArrowValuedGraph = { | ||
@@ -11,5 +11,5 @@ /** | ||
createContext(options) { | ||
return new CustomGraphNonValuedBase.ValuedGraphContext(true, 'ArrowValuedGraph', options.linkMapContext, options.linkConnectionsContext); | ||
return new ValuedGraphCustom.ValuedGraphContext(true, 'ArrowValuedGraph', options.linkMapContext, options.linkConnectionsContext); | ||
}, | ||
}; | ||
//# sourceMappingURL=arrow-valued-graph.js.map |
@@ -1,2 +0,2 @@ | ||
export * as CustomGraphValuedBase from './graph-custom'; | ||
export * as ArrowValuedGraphCustom from './graph-custom'; | ||
export * from './arrow/arrow-valued-graph'; | ||
@@ -3,0 +3,0 @@ export * from './arrow/arrow-valued-graph-hashed'; |
import { RelatedTo } from '@rimbu/common'; | ||
import { CustomGraphNonValuedBase, ValuedGraphElement } from '@rimbu/graph'; | ||
import { ValuedGraphCustom, ValuedGraphElement } from '@rimbu/graph'; | ||
import { Stream, Streamable } from '@rimbu/stream'; | ||
export interface ArrowValuedGraphBase<N, V, Tp extends ArrowValuedGraphBase.Types = ArrowValuedGraphBase.Types> extends CustomGraphNonValuedBase.ValuedGraphBase<N, V, Tp> { | ||
export interface ArrowValuedGraphBase<N, V, Tp extends ArrowValuedGraphBase.Types = ArrowValuedGraphBase.Types> extends ValuedGraphCustom.ValuedGraphBase<N, V, Tp> { | ||
/** | ||
@@ -31,3 +31,3 @@ * Returns true since this is an arrow (directed) graph instance. | ||
export declare namespace ArrowValuedGraphBase { | ||
type NonEmptyBase<N, V, Tp extends ArrowValuedGraphBase.Types> = CustomGraphNonValuedBase.ValuedGraphBase.NonEmpty<N, V, Tp> & ArrowValuedGraphBase<N, V, Tp>; | ||
type NonEmptyBase<N, V, Tp extends ArrowValuedGraphBase.Types> = ValuedGraphCustom.ValuedGraphBase.NonEmpty<N, V, Tp> & ArrowValuedGraphBase<N, V, Tp>; | ||
export interface NonEmpty<N, V, Tp extends ArrowValuedGraphBase.Types = ArrowValuedGraphBase.Types> extends NonEmptyBase<N, V, Tp>, Streamable.NonEmpty<ValuedGraphElement<N, V>> { | ||
@@ -42,7 +42,7 @@ /** | ||
} | ||
export interface Builder<N, V, Tp extends ArrowValuedGraphBase.Types = ArrowValuedGraphBase.Types> extends CustomGraphNonValuedBase.ValuedGraphBase.Builder<N, V, Tp> { | ||
export interface Builder<N, V, Tp extends ArrowValuedGraphBase.Types = ArrowValuedGraphBase.Types> extends ValuedGraphCustom.ValuedGraphBase.Builder<N, V, Tp> { | ||
} | ||
export interface Context<UN, Tp extends ArrowValuedGraphBase.Types = ArrowValuedGraphBase.Types> extends CustomGraphNonValuedBase.ValuedGraphBase.Context<UN, Tp> { | ||
export interface Context<UN, Tp extends ArrowValuedGraphBase.Types = ArrowValuedGraphBase.Types> extends ValuedGraphCustom.ValuedGraphBase.Context<UN, Tp> { | ||
} | ||
export interface Types extends CustomGraphNonValuedBase.ValuedGraphBase.Types { | ||
export interface Types extends ValuedGraphCustom.ValuedGraphBase.Types { | ||
readonly normal: ArrowValuedGraphBase<this['_N'], this['_V']>; | ||
@@ -49,0 +49,0 @@ readonly nonEmpty: ArrowValuedGraphBase.NonEmpty<this['_N'], this['_V']>; |
@@ -1,4 +0,4 @@ | ||
export * as CustomGraphValuedBase from './graph-custom'; | ||
export * as ArrowValuedGraphCustom from './graph-custom'; | ||
export * from './arrow/arrow-valued-graph'; | ||
export * from './arrow/arrow-valued-graph-hashed'; | ||
export * from './arrow/arrow-valued-graph-sorted'; |
{ | ||
"name": "@rimbu/graph-arrow-valued", | ||
"version": "0.5.10-alpha.11", | ||
"version": "0.5.10-alpha.12", | ||
"description": "Immutable Graph data structures for TypeScript", | ||
@@ -69,3 +69,3 @@ "keywords": [ | ||
"@rimbu/common": "^0.5.7", | ||
"@rimbu/graph": "^0.5.10-alpha.11", | ||
"@rimbu/graph": "^0.5.10-alpha.12", | ||
"@rimbu/hashed": "^0.5.10-alpha.11", | ||
@@ -78,3 +78,3 @@ "@rimbu/sorted": "^0.5.10-alpha.0", | ||
}, | ||
"gitHead": "8f2b4225c045edb4fc8d8c2de7545080ac489828" | ||
"gitHead": "e1c7448f992ffba3e9c7db821203339755952701" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
33323