@eturino/key-set
Advanced tools
Comparing version 3.1.0 to 4.0.0
{ | ||
"printWidth": 100 | ||
} |
@@ -58,2 +58,2 @@ "use strict"; | ||
exports.uniqueKeyLabelArray = unique_array_1.uniqueKeyLabelArray; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2V5LXNldC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9saWIva2V5LXNldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLDJDQWdCeUI7QUFpRnZCLG1CQWhHQSxnQkFBUSxDQWdHQTtBQUNSLHNCQWhHQSxtQkFBVyxDQWdHQTtBQUdYLGdDQWxHQSw2QkFBcUIsQ0FrR0E7QUFGckIsdUJBL0ZBLG9CQUFZLENBK0ZBO0FBQ1osdUJBL0ZBLG9CQUFZLENBK0ZBO0FBUVoscUJBdEdBLGtCQUFVLENBc0dBO0FBekJWLHNCQXBFQSxtQkFBVyxDQW9FQTtBQWxFYix1Q0FBK0M7QUEyQzdDLGNBM0NPLFNBQUcsQ0EyQ1A7QUFVSCxvQkFyRFksZUFBUyxDQXFEWjtBQXBEWCwrREFJbUM7QUF1Q2pDLHdCQTFDQSwrQkFBYSxDQTBDQTtBQUNiLDhCQTFDQSxxQ0FBbUIsQ0EwQ0E7QUFTbkIsOEJBbERBLHFDQUFtQixDQWtEQTtBQWhEckIscUVBS3NDO0FBdUZwQyxvQ0EzRkEsOENBQXlCLENBMkZBO0FBRnpCLDRCQXhGQSxzQ0FBaUIsQ0F3RkE7QUFDakIsb0NBeEZBLDhDQUF5QixDQXdGQTtBQUZ6Qiw0QkFyRkEsc0NBQWlCLENBcUZBO0FBbkZuQiwyRkFLaUQ7QUFrRi9DLDhDQXRGQSxtRUFBbUMsQ0FzRkE7QUFDbkMsc0NBdEZBLDJEQUEyQixDQXNGQTtBQUMzQiw4Q0F0RkEsbUVBQW1DLENBc0ZBO0F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ZCO0FBdUQzQiwwQ0E5REEsMkNBQStCLENBOERBO0FBSC9CLGdDQTFEQSxpQ0FBcUIsQ0EwREE7QUFDckIsaUNBMURBLGtDQUFzQixDQTBEQTtBQUZ0Qiw2QkF2REEsOEJBQWtCLENBdURBO0FBR2xCLGlDQXpEQSxrQ0FBc0IsQ0F5REE7QUFuQnRCLHNCQXJDQSx1QkFBVyxDQXFDQTtBQURYLDBCQW5DQSwyQkFBZSxDQW1DQTtBQWpDakIseUNBQThEO0FBcUI1RCxxQkFyQk8saUJBQVUsQ0FxQlA7QUFUVixlQVptQixXQUFJLENBWW5CO0FBQ0oscUJBYnlCLGlCQUFVLENBYXpCO0FBWlosb0RBQThGO0FBMEM1Rix1QkExQ21CLDBCQUFZLENBMENuQjtBQUNaLDBCQTNDaUMsNkJBQWUsQ0EyQ2pDO0FBMUNqQixzREFBa0Q7QUFvQ2hELHNCQXBDTywwQkFBVyxDQW9DUDtBQW5DYixzREFBc0U7QUFzRHBFLHFCQXREa0IseUJBQVUsQ0FzRGxCO0FBQ1YsbUJBdkQ4Qix1QkFBUSxDQXVEOUI7QUF0RFYsc0RBQXVFO0FBZ0NyRSxzQkFoQ08sMEJBQVcsQ0FnQ1A7QUFDWCw4QkFqQ29CLGtDQUFtQixDQWlDcEIifQ== |
@@ -9,4 +9,4 @@ import { IKeyLabel } from "../key-set"; | ||
export declare function isValidKey(x: any): x is Key; | ||
export declare type KeySet<T extends Key = Key> = KeySetAll | KeySetNone | KeySetSome<T> | KeySetAllExceptSome<T>; | ||
export declare type KeyLabelSet<T extends string | number = string | number> = KeySetAll | KeySetNone | KeySetSome<IKeyLabel<T>> | KeySetAllExceptSome<IKeyLabel<T>>; | ||
export declare type KeySet<T extends Key = Key> = KeySetAll<T> | KeySetNone<T> | KeySetSome<T> | KeySetAllExceptSome<T>; | ||
export declare type KeyLabelSet<T extends string | number = string | number> = KeySetAll<IKeyLabel<T>> | KeySetNone<IKeyLabel<T>> | KeySetSome<IKeyLabel<T>> | KeySetAllExceptSome<IKeyLabel<T>>; | ||
/** | ||
@@ -13,0 +13,0 @@ * one type for each of the 4 sets |
@@ -42,8 +42,5 @@ "use strict"; | ||
function isKeySet(x) { | ||
return (isKeySetAll(x) || | ||
isKeySetNone(x) || | ||
isKeySetSome(x) || | ||
isKeySetAllExceptSome(x)); | ||
return isKeySetAll(x) || isKeySetNone(x) || isKeySetSome(x) || isKeySetAllExceptSome(x); | ||
} | ||
exports.isKeySet = isKeySet; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLWJhc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGliL2tleS1zZXQvLWJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxnREFBZ0Q7QUFDaEQsd0NBQW1EO0FBRW5ELCtCQUFrQztBQUNsQyx1REFBd0Q7QUFDeEQsaUNBQW9DO0FBQ3BDLGlDQUFvQztBQVNwQyxTQUFnQixVQUFVLENBQUMsQ0FBTTtJQUMvQixJQUFJLE9BQU8sQ0FBQyxLQUFLLFFBQVEsSUFBSSxPQUFPLENBQUMsS0FBSyxRQUFRO1FBQUUsT0FBTyxJQUFJLENBQUM7SUFDaEUsT0FBTyxvQkFBVSxDQUFDLENBQUMsQ0FBQyxDQUFDO0FBQ3ZCLENBQUM7QUFIRCxnQ0FHQztBQWNEOztHQUVHO0FBQ0gsSUFBWSxXQUtYO0FBTEQsV0FBWSxXQUFXO0lBQ3JCLDBCQUFXLENBQUE7SUFDWCxnREFBaUMsQ0FBQTtJQUNqQyw0QkFBYSxDQUFBO0lBQ2IsNEJBQWEsQ0FBQTtBQUNmLENBQUMsRUFMVyxXQUFXLEdBQVgsbUJBQVcsS0FBWCxtQkFBVyxRQUt0QjtBQTJGRCxTQUFnQixXQUFXLENBQUMsQ0FBTTtJQUNoQyxPQUFPLENBQUMsWUFBWSxlQUFTLENBQUM7Q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xDQUFDO0FBQ3ZCLENBQUM7QUFIRCxnQ0FHQztBQWNEOztHQUVHO0FBQ0gsSUFBWSxXQUtYO0FBTEQsV0FBWSxXQUFXO0lBQ3JCLDBCQUFXLENBQUE7SUFDWCxnREFBaUMsQ0FBQTtJQUNqQyw0QkFBYSxDQUFBO0lBQ2IsNEJBQWEsQ0FBQTtBQUNmLENBQUMsRUFMVyxXQUFXLEdBQVgsbUJBQVcsS0FBWCxtQkFBVyxRQUt0QjtBQTJGRCxTQUFnQixXQUFXLENBQUMsQ0FBTTtJQUNoQyxPQUFPLENBQUMsWUFBWSxlQUFTLENBQUM7QUFDaEMsQ0FBQztBQUZELGtDQUVDO0FBRUQsU0FBZ0IsWUFBWSxDQUFDLENBQU07SUFDakMsT0FBTyxDQUFDLFlBQVksaUJBQVUsQ0FBQztBQUNqQyxDQUFDO0FBRkQsb0NBRUM7QUFFRCxTQUFnQixZQUFZLENBQUMsQ0FBTTtJQUNqQyxPQUFPLENBQUMsWUFBWSxpQkFBVSxDQUFDO0FBQ2pDLENBQUM7QUFGRCxvQ0FFQztBQUVELFNBQWdCLHFCQUFxQixDQUFDLENBQU07SUFDMUMsT0FBTyxDQUFDLFlBQVkscUNBQW1CLENBQUM7QUFDMUMsQ0FBQztBQUZELHNEQUVDO0FBRUQsU0FBZ0IsUUFBUSxDQUFDLENBQU07SUFDN0IsT0FBTyxXQUFXLENBQUMsQ0FBQyxDQUFDLElBQUksWUFBWSxDQUFDLENBQUMsQ0FBQyxJQUFJLFlBQVksQ0FBQyxDQUFDLENBQUMsSUFBSSxxQkFBcUIsQ0FBQyxDQUFDLENBQUMsQ0FBQztBQUMxRixDQUFDO0FBRkQsNEJBRUMifQ== |
import { IKeySetClass, Key, KeySet, KeySetAllExceptSomeSerialized, KeySetSomeSerialized, KeySetTypes } from "./-base"; | ||
import { KeySetGlobal } from "./-global"; | ||
import { KeySetAllExceptSome } from "./all-except-some"; | ||
@@ -16,4 +17,4 @@ import { KeySetSome } from "./some"; | ||
abstract isEqual(other: KeySet): boolean; | ||
abstract remove(other: KeySet): KeySet; | ||
abstract intersect(other: KeySet): KeySet; | ||
abstract remove(other: KeySet | KeySetGlobal<Key>): KeySet; | ||
abstract intersect(other: KeySet | KeySetGlobal<Key>): KeySet; | ||
get keys(): T[]; | ||
@@ -20,0 +21,0 @@ get elements(): T[]; |
@@ -25,2 +25,2 @@ "use strict"; | ||
exports.KeySetByKeys = KeySetByKeys; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLWJ5LWtleXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGliL2tleS1zZXQvLWJ5LWtleXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSx1REFBbUQ7QUFDbkQsdURBQWtEO0FBVWxELHVFQUFpRTtBQUdqRSxNQUFzQixZQUFZO0lBS2hDLFlBQVksSUFBNEI7UUFDdEMsTUFBTSxRQUFRLEdBQUcseUJBQVUsQ0FBQyxJQUFJLENBQUMsQ0FBQyxJQUFJLEVBQUUsQ0FBQztRQUN6QyxJQUFJLFFBQVEsQ0FBQyxNQUFNLEtBQUssQ0FBQyxFQUFFO1lBQ3pCLE1BQU0sSUFBSSw4Q0FBb0IsRUFBRSxDQUFDO1NBQ2xDO1FBQ0QsSUFBSSxDQUFDLFNBQVMsR0FBRyxRQUE0QixDQUFDO0lBQ2hELENBQUM7SUF3QkQsSUFBVyxJQUFJO1FBQ2IsT0FBTyxJQUFJLENBQUMsUUFBUSxDQUFDO0lBQ3ZCLENBQUM7SUFFRCxJQUFXLFFBQVE7UUFDakIsT0FBTyxDQUFDLEdBQUcsSUFBSSxDQUFDLFNBQVMsQ0FBQyxDQUFDO0lBQzdCLENBQUM7SUFFUyxXQUFXLENBQUMsS0FBd0I7UUFDNUMsT0FBTywwQkFBVyxDQUFDLElBQUksQ0FBQyxJQUFJLEVBQUUsS0FBSyxDQUFDLElBQUksQ0FBQyxDQUFDO0lBQzVDLENBQUM7Q0FDRjtBQTlDRCxvQ0E4Q0MifQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLWJ5LWtleXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGliL2tleS1zZXQvLWJ5LWtleXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSx1REFBbUQ7QUFDbkQsdURBQWtEO0FBV2xELHVFQUFpRTtBQUdqRSxNQUFzQixZQUFZO0lBS2hDLFlBQVksSUFBNEI7UUFDdEMsTUFBTSxRQUFRLEdBQUcseUJBQVUsQ0FBQyxJQUFJLENBQUMsQ0FBQyxJQUFJLEVBQUUsQ0FBQztRQUN6QyxJQUFJLFFBQVEsQ0FBQyxNQUFNLEtBQUssQ0FBQyxFQUFFO1lBQ3pCLE1BQU0sSUFBSSw4Q0FBb0IsRUFBRSxDQUFDO1NBQ2xDO1FBQ0QsSUFBSSxDQUFDLFNBQVMsR0FBRyxRQUE0QixDQUFDO0lBQ2hELENBQUM7SUFzQkQsSUFBVyxJQUFJO1FBQ2IsT0FBTyxJQUFJLENBQUMsUUFBUSxDQUFDO0lBQ3ZCLENBQUM7SUFFRCxJQUFXLFFBQVE7UUFDakIsT0FBTyxDQUFDLEdBQUcsSUFBSSxDQUFDLFNBQVMsQ0FBQyxDQUFDO0lBQzdCLENBQUM7SUFFUyxXQUFXLENBQUMsS0FBd0I7UUFDNUMsT0FBTywwQkFBVyxDQUFDLElBQUksQ0FBQyxJQUFJLEVBQUUsS0FBSyxDQUFDLElBQUksQ0FBQyxDQUFDO0lBQzVDLENBQUM7Q0FDRjtBQTVDRCxvQ0E0Q0MifQ== |
@@ -17,4 +17,4 @@ import { EmptyArray } from "../util/array-types"; | ||
abstract isEqual(other: KeySet): boolean; | ||
abstract remove(other: KeySet): KeySet; | ||
abstract intersect(other: KeySet): KeySet; | ||
abstract remove(other: KeySet | KeySetGlobal<Key>): KeySet; | ||
abstract intersect(other: KeySet | KeySetGlobal<Key>): KeySet; | ||
} |
@@ -12,2 +12,2 @@ "use strict"; | ||
exports.KeySetGlobal = KeySetGlobal; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLWdsb2JhbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIva2V5LXNldC8tZ2xvYmFsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBWUEsTUFBc0IsWUFBWTtJQUdoQyxJQUFXLElBQUk7UUFDYixPQUFPLEVBQW1CLENBQUM7SUFDN0IsQ0FBQztJQUVELElBQVcsUUFBUTtRQUNqQixPQUFPLEVBQW1CLENBQUM7SUFDN0IsQ0FBQztDQXVCRjtBQWhDRCxvQ0FnQ0MifQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLWdsb2JhbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIva2V5LXNldC8tZ2xvYmFsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBWUEsTUFBc0IsWUFBWTtJQUdoQyxJQUFXLElBQUk7UUFDYixPQUFPLEVBQW1CLENBQUM7SUFDN0IsQ0FBQztJQUVELElBQVcsUUFBUTtRQUNqQixPQUFPLEVBQW1CLENBQUM7SUFDN0IsQ0FBQztDQXFCRjtBQTlCRCxvQ0E4QkMifQ== |
@@ -16,4 +16,9 @@ import { Key, KeySet, KeySetAllExceptSomeSerialized, KeySetTypes } from "./-base"; | ||
isEqual(other: KeySet): boolean; | ||
remove(other: KeySet<T>): KeySetAllExceptSome<T> | KeySetSome<T> | KeySetNone; | ||
intersect(other: KeySet<T>): KeySetAllExceptSome<T> | KeySetNone | KeySetSome<T> | KeySetAll; | ||
remove(other: KeySetAll<T> | KeySetAll<Key>): KeySetNone<T>; | ||
remove(other: KeySetNone<T> | KeySetNone<Key> | KeySetSome<T>): KeySetAllExceptSome<T>; | ||
remove(other: KeySetAllExceptSome<T>): KeySetNone<T> | KeySetSome<T>; | ||
intersect(other: KeySetAll<T> | KeySetAll<Key>): KeySetAllExceptSome<T>; | ||
intersect(other: KeySetNone<T> | KeySetNone<Key>): KeySetNone<T>; | ||
intersect(other: KeySetSome<T>): KeySetNone<T> | KeySetSome<T>; | ||
intersect(other: KeySetAllExceptSome<T>): KeySetAll<T> | KeySetAllExceptSome<T>; | ||
private excludeMyKeys; | ||
@@ -33,2 +38,2 @@ } | ||
*/ | ||
export declare function allExceptSome<T extends Key>(keys: T[] | ReadonlyArray<T>): KeySetAll | KeySetAllExceptSome<T>; | ||
export declare function allExceptSome<T extends Key>(keys: T[] | ReadonlyArray<T>): KeySetAll<T> | KeySetAllExceptSome<T>; |
@@ -92,2 +92,2 @@ "use strict"; | ||
exports.allExceptSome = allExceptSome; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxsLWV4Y2VwdC1zb21lLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpYi9rZXktc2V0L2FsbC1leGNlcHQtc29tZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUNBLG1DQUtpQjtBQUNqQix5Q0FBMEM7QUFDMUMsK0JBQXVDO0FBQ3ZDLHVFQUFpRTtBQUNqRSxpQ0FBb0M7QUFDcEMsaUNBQTBDO0FBRTFDLE1BQWEsbUJBQW1DLFNBQVEsdUJBQWU7SUFBdkU7O1FBQ2tCLFNBQUksR0FBRyxtQkFBVyxDQUFDLGFBQWEsQ0FBQztJQXlFbkQsQ0FBQztJQXZFUSxVQUFVO1FBQ2YsT0FBTyxFQUFFLElBQUksRUF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ILFNBQWdCLGFBQWEsQ0FDM0IsSUFBNEI7SUFFNUIsSUFBSSxDQUFDLElBQUksQ0FBQyxNQUFNO1FBQUUsT0FBTyxTQUFHLEVBQUssQ0FBQztJQUVsQyxPQUFPLG1CQUFtQixDQUFDLElBQUksQ0FBQyxDQUFDO0FBQ25DLENBQUM7QUFORCxzQ0FNQyJ9 |
@@ -8,3 +8,3 @@ import { Key, KeySet, KeySetAllSerialized, KeySetTypes } from "./-base"; | ||
readonly type = KeySetTypes.all; | ||
serialized(): KeySetAllSerialized; | ||
serialized(): KeySetAllSerialized<T>; | ||
representsAll(): boolean; | ||
@@ -14,16 +14,16 @@ representsNone(): boolean; | ||
representsAllExceptSome(): boolean; | ||
clone(): KeySetAll; | ||
invert(): KeySetNone; | ||
clone(): KeySetAll<T>; | ||
invert(): KeySetNone<T>; | ||
isEqual(other: KeySet): boolean; | ||
remove(other: KeySetAll): KeySetNone; | ||
remove(other: KeySetNone): KeySetAll; | ||
remove(other: KeySetAll<T> | KeySetAll<Key>): KeySetNone<T>; | ||
remove(other: KeySetNone<T> | KeySetNone<Key>): KeySetAll<T>; | ||
remove(other: KeySetSome<T>): KeySetAllExceptSome<T>; | ||
remove(other: KeySetAllExceptSome<T>): KeySetSome<T>; | ||
remove(other: KeySet<T>): KeySet<T>; | ||
intersect(other: KeySetAll): KeySetAll; | ||
intersect(other: KeySetNone): KeySetNone; | ||
intersect(other: KeySetAll<T> | KeySetAll<Key>): KeySetAll<T>; | ||
intersect(other: KeySetNone<T> | KeySetNone<Key>): KeySetNone<T>; | ||
intersect(other: KeySetSome<T>): KeySetSome<T>; | ||
intersect(other: KeySetAllExceptSome<T>): KeySetAllExceptSome<T>; | ||
intersect(other: KeySet<T>): KeySet<T>; | ||
intersect(other: KeySet<T> | KeySetGlobal<Key>): KeySet<T>; | ||
} | ||
export declare function all(): KeySetAll; | ||
export declare function all<T extends Key = Key>(): KeySetAll<T>; |
@@ -36,3 +36,3 @@ "use strict"; | ||
isEqual(other) { | ||
return other instanceof KeySetAll; | ||
return other.representsAll(); | ||
} | ||
@@ -66,2 +66,2 @@ remove(other) { | ||
exports.all = all; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpYi9rZXktc2V0L2FsbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLG1DQUF3RTtBQUN4RSx1Q0FBeUM7QUFDekMsdURBQXdEO0FBQ3hELG1FQUE2RDtBQUM3RCxpQ0FBb0M7QUFDcEMsaUNBQW9DO0FBRXBDLE1BQWEsU0FBK0IsU0FBUSxzQkFBZTtJQUFuRTs7UUFDa0IsU0FBSSxHQUFHLG1CQUFXLENBQUMsR0FBRyxDQUFDO0lBOER6QyxDQUFDO0lBNURRLFVBQVU7UUFDZixPQUFPLEVBQUUsSUFBSSxFQUFFLElBQUksQ0FBQyxJQUFJLEVBQUUsQ0FBQztJQUM3QixDQUFDO0lBRU0sYUFBYTtRQUNsQixPQUFPLElBQUksQ0FBQztJQUNkLENBQUM7SUFFTSxjQUFjO1FBQ25CLE9BQU8sS0FBSyxDQUFDO0lBQ2YsQ0FBQztJQUVNLGNBQWM7UUFDbkIsT0FBTyxLQUFLLENBQUM7SUFDZixDQUFDO0lBRU0sdUJBQXVCO1FBQzVCLE9BQU8sS0FBSyxDQUFDO0lBQ2YsQ0FBQztJQUVNLEtBQUs7UUFDVixPQUFPLElBQUksU0FBUyxFQUFFLENBQUM7SUFDekIsQ0FBQztJQUVNLE1BQU07UUFDWCxPQUFPLElBQUksaUJBQVUsRUFBRSxDQUFDO0lBQzFCLENBQUM7SUFFTSxPQUFPLENBQUMsS0FBYTtRQUMxQixPQUFPLEtBQUssWUFBWSxTQUFTLENBQUM7SUFDcEMsQ0FBQztJQU9NLE1BQU0sQ0FBQyxLQUFnQjtRQUM1QixJQUFJLEtBQ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FDLENBQUMsR0FBRyxLQUFLLFFBQVEsQ0FBQztBQUNwRCxDQUFDO0FBTEQsOERBS0MifQ== |
@@ -35,2 +35,2 @@ "use strict"; | ||
exports.isKeySetSerializedOfNumberKeyLabels = isKeySetSerializedOfNumberKeyLabels; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2stc2VyaWFsaXplZC1lbGVtZW50LXR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGliL2tleS1zZXQvY2hlY2stc2VyaWFsaXplZC1lbGVtZW50LXR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSx1REFBNkQ7QUFRN0QsMkNBR3FCO0FBaUJyQixTQUFnQiwyQkFBMkIsQ0FDekMsQ0FBbUI7SUFFbkIsSUFBSSxxQ0FBeUIsQ0FBQyxDQUFDLENBQUM7UUFBRSxPQUFPLElBQUksQ0FBQztJQUM5QyxPQUFPLHNDQUEwQixDQUFDLENBQUMsQ0FBQyxJQUFJLE9BQU8sQ0FBQyxDQUFDLFFBQVEsQ0FBQyxDQUFDLENBQUMsS0FBSyxRQUFRLENBQUM7QUFDNUUsQ0FBQztBQUxELGtFQUtDO0FBaUJELFNBQWdCLDJCQUEyQixDQUN6QyxDQUFtQjtJQUVuQixJQUFJLHFDQUF5QixDQUFDLENBQUMsQ0FBQztRQUFFLE9BQU8sSUFBSSxDQUFDO0lBQzlDLE9BQU8sc0NBQTBCLENBQUMsQ0FBQyxDQUFDLElBQUksT0FBTyxDQUFDLENBQUMsUUFBUSxDQUFDLENBQUMsQ0FBQyxLQUFLLFFBQVEsQ0FBQztBQUM1RSxDQUFDO0FBTEQsa0VBS0M7QUFpQkQsU0FBZ0IsbUNBQW1DLENBQ2pELENBQW1CO0lBRW5CLElBQUkscUNBQXlCLENBQUMsQ0FBQyxDQUFDO1FBQUUsT0FBTyxJQUFJLENBQU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0FBQyxDQUFDLENBQUM7SUFDeEIsT0FBTyx5QkFBVSxDQUFDLENBQUMsQ0FBQyxJQUFJLE9BQU8sQ0FBQyxDQUFDLEdBQUcsS0FBSyxRQUFRLENBQUM7QUFDcEQsQ0FBQztBQVJELGtGQVFDIn0= |
import { Key, KeySet, KeySetNoneSerialized, KeySetTypes } from "./-base"; | ||
import { KeySetGlobal } from "./-global"; | ||
import { KeySetAll } from "./all"; | ||
export declare class KeySetNone<K extends Key = Key> extends KeySetGlobal<K> { | ||
export declare class KeySetNone<T extends Key = Key> extends KeySetGlobal<T> { | ||
readonly type = KeySetTypes.none; | ||
serialized(): KeySetNoneSerialized; | ||
serialized(): KeySetNoneSerialized<T>; | ||
representsAll(): boolean; | ||
@@ -11,8 +11,8 @@ representsNone(): boolean; | ||
representsAllExceptSome(): boolean; | ||
clone(): KeySetNone; | ||
invert(): KeySetAll; | ||
clone(): KeySetNone<T>; | ||
invert(): KeySetAll<T>; | ||
isEqual(other: KeySet): boolean; | ||
remove(_other: KeySet): KeySetNone; | ||
intersect(_other: KeySet): KeySetNone; | ||
remove(_other: KeySet<T> | KeySetGlobal<Key>): KeySetNone<T>; | ||
intersect(_other: KeySet | KeySetGlobal<Key>): KeySetNone<T>; | ||
} | ||
export declare function none(): KeySetNone; | ||
export declare function none<T extends Key = Key>(): KeySetNone<T>; |
@@ -47,2 +47,2 @@ "use strict"; | ||
exports.none = none; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9uZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIva2V5LXNldC9ub25lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsbUNBQXlFO0FBQ3pFLHVDQUF5QztBQUN6QywrQkFBa0M7QUFFbEMsTUFBYSxVQUFnQyxTQUFRLHNCQUFlO0lBQXBFOztRQUNrQixTQUFJLEdBQUcs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{ | ||
return (hasShapeOfSerialized(given) && | ||
isValidKeySetAllNone(given.type, given.elements)); | ||
return hasShapeOfSerialized(given) && isValidKeySetAllNone(given.type, given.elements); | ||
} | ||
exports.isKeySetAllNoneSerialized = isKeySetAllNoneSerialized; | ||
function isKeySetElementsSerialized(given) { | ||
return (hasShapeOfSerialized(given) && | ||
isValidKeySetElements(given.type, given.elements)); | ||
return hasShapeOfSerialized(given) && isValidKeySetElements(given.type, given.elements); | ||
} | ||
@@ -71,4 +69,3 @@ exports.isKeySetElementsSerialized = isKeySetElementsSerialized; | ||
function isKeySetAllExceptSomeSerialized(given) { | ||
return (isKeySetElementsSerialized(given) && | ||
given.type === _base_1.KeySetTypes.allExceptSome); | ||
return isKeySetElementsSerialized(given) && given.type === _base_1.KeySetTypes.allExceptSome; | ||
} | ||
@@ -101,2 +98,2 @@ exports.isKeySetAllExceptSomeSerialized = isKeySetAllExceptSomeSerialized; | ||
exports.parseKeySet = parseKeySet; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWFsaXplLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpYi9rZXktc2V0L3NlcmlhbGl6ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHVEQUFnRDtBQUNoRCxtQ0FVaUI7QUFDakIsK0JBQXVDO0FBQ3ZDLHVEQUF1RTtBQUN2RSxtRUFBNkQ7QUFDN0QsaUNBQTBDO0FBQzFDLGlDQUEwQztBQUUxQzs7O0dBR0c7QUFDSCxTQUFTLG9CQUFvQixDQUMzQixLQUFVO0lBRVYsSUFBSSxDQUFDLHVCQUFRLENBQUMsS0FBSyxDQUFDO1FBQUUsT0FBTyxLQUFLLENBQUM7SUFFbkMsSUFBSSxLQUFLLENBQUMsUUFBUSxJQUFJLENBQUMsS0FBSyxDQUFDLE9BQU8sQ0FBQyxLQUFLLENBQUMsUUFB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FWRCwwQ0FVQztBQVdELFNBQWdCLFdBQVcsQ0FBZ0IsQ0FBa0M7SUFDM0UsSUFBSSxnQkFBUSxDQUFDLENBQUMsQ0FBQztRQUFFLE9BQU8sQ0FBQyxDQUFDO0lBRTFCLElBQUksQ0FBQyxrQkFBa0IsQ0FBQyxDQUFDLENBQUMsRUFBRTtRQUMxQixNQUFNLElBQUksMENBQWtCLENBQUMsb0NBQW9DLElBQUksQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDO0tBQ3ZGO0lBRUQsSUFBSSxDQUFDLENBQUMsSUFBSSxLQUFLLG1CQUFXLENBQUMsR0FBRztRQUFFLE9BQU8sU0FBRyxFQUFFLENBQUM7SUFDN0MsSUFBSSxDQUFDLENBQUMsSUFBSSxLQUFLLG1CQUFXLENBQUMsSUFBSTtRQUFFLE9BQU8sV0FBSSxFQUFFLENBQUM7SUFDL0MsSUFBSSxDQUFDLENBQUMsSUFBSSxLQUFLLG1CQUFXLENBQUMsSUFBSSxFQUFFO1FBQy9CLE9BQU8sV0FBSSxDQUFFLENBQTZCLENBQUMsUUFBUSxDQUFDLENBQUM7S0FDdEQ7SUFDRCxPQUFPLCtCQUFhLENBQUUsQ0FBc0MsQ0FBQyxRQUFRLENBQUMsQ0FBQztBQUN6RSxDQUFDO0FBYkQsa0NBYUMifQ== |
@@ -16,8 +16,8 @@ import { Key, KeySet, KeySetSomeSerialized, KeySetTypes } from "./-base"; | ||
isEqual(other: KeySet): boolean; | ||
remove(other: KeySetNone): KeySetSome<T>; | ||
remove(other: KeySetAll): KeySetNone; | ||
remove(other: KeySetAllExceptSome<T> | KeySetSome<T>): KeySetSome<T> | KeySetNone; | ||
intersect(other: KeySetAll): KeySetSome<T>; | ||
intersect(other: KeySetNone): KeySetNone; | ||
intersect(other: KeySetSome<T> | KeySetAllExceptSome<T>): KeySetSome<T> | KeySetNone; | ||
remove(other: KeySetNone<T> | KeySetNone<Key>): KeySetSome<T>; | ||
remove(other: KeySetAll<T> | KeySetAll<Key>): KeySetNone<T>; | ||
remove(other: KeySetAllExceptSome<T> | KeySetSome<T>): KeySetSome<T> | KeySetNone<T>; | ||
intersect(other: KeySetAll<T> | KeySetAll<Key>): KeySetSome<T>; | ||
intersect(other: KeySetNone<T> | KeySetNone<Key>): KeySetNone<T>; | ||
intersect(other: KeySetSome<T> | KeySetAllExceptSome<T>): KeySetSome<T> | KeySetNone<T>; | ||
private intersectKeys; | ||
@@ -38,2 +38,2 @@ private excludeKeys; | ||
*/ | ||
export declare function some<T extends Key>(keys: T[] | ReadonlyArray<T>): KeySetNone | KeySetSome<T>; | ||
export declare function some<T extends Key>(keys: T[] | ReadonlyArray<T>): KeySetNone<T> | KeySetSome<T>; |
@@ -93,2 +93,2 @@ "use strict"; | ||
exports.some = some; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29tZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIva2V5LXNldC9zb21lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQ0EsbUNBQXlFO0FBQ3pFLHlDQUEwQztBQUMxQywrQkFBa0M7QUFDbEMsdURBQXdEO0FBQ3hELHVFQUFpRTtBQUNqRSxpQ0FBMEM7QUFFMUMsTUFBYSxVQUEwQixTQUFRLHVCQUFlO0lBQTlEOztRQUNrQixTQUFJLEdBQUcsbUJBQVcsQ0FBQyxJQUFJLENBQUM7SUFpRjFDLENBQUM7SUEvRVEsVUFBVTtRQUNmLE9BQU8sRUFBRSxJQUFJLEVBQUUsSUFBSSxDQUFDLElBQUksRUFBRSxRQUFRLEVBQUUsQ0FBQyxHQUFHLElBQUksQ0FBQyxJQUFJLENBQWtCLEVBQUUsQ0FBQztJQUN4RSxDQUFDO0lBRU0sYUFBYTtRQUNsQixPQUFPLEtBQUssQ0FBQztJQUNmLENBQUM7SUFFTSxjQ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UFDLENBQUM7UUFDNUIsTUFBTSxHQUFHLEdBQUcsS0FBSyxDQUFDLEdBQUcsQ0FBQztRQUN0QixJQUFJLElBQUksQ0FBQyxHQUFHLENBQUMsR0FBRyxDQUFDO1lBQUUsU0FBUyxLQUFLLENBQUM7UUFDbEMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxHQUFHLENBQUMsQ0FBQztRQUNkLE1BQU0sQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUM7S0FDcEI7SUFDRCxPQUFPLE1BQU0sQ0FBQztBQUNoQixDQUFDO0FBZEQsa0RBY0M7QUFFRCxTQUFnQixVQUFVLENBQWdCLE1BQThCO0lBQ3RFLElBQUksQ0FBQyxNQUFNLElBQUksQ0FBQyxNQUFNLENBQUMsTUFBTTtRQUFFLE9BQU8sRUFBRSxDQUFDO0lBRXpDLElBQUkseUJBQVUsQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDLENBQUMsRUFBRTtRQUN6QixPQUFPLG1CQUFtQixDQUFDLE1BQTJDLENBQVEsQ0FBQztLQUNoRjtJQUVELE9BQU8sV0FBVyxDQUFDLE1BQU0sQ0FBQyxDQUFDO0FBQzdCLENBQUM7QUFSRCxnQ0FRQyJ9 |
@@ -30,2 +30,2 @@ import { isKeySet, isKeySetAll, isKeySetAllExceptSome, isKeySetNone, isKeySetSome, isValidKey, KeySetTypes } from "./key-set/-base"; | ||
isKeySetOfStrings, isKeySetOfNumbers, isKeySetOfStringKeyLabels, isKeySetOfNumberKeyLabels, isKeySetSerializedOfNumberKeyLabels, isKeySetSerializedOfNumbers, isKeySetSerializedOfStringKeyLabels, isKeySetSerializedOfStrings }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2V5LXNldC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9saWIva2V5LXNldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIj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yLabel } from "../key-set"; | ||
export declare function isValidKey(x: any): x is Key; | ||
export declare type KeySet<T extends Key = Key> = KeySetAll | KeySetNone | KeySetSome<T> | KeySetAllExceptSome<T>; | ||
export declare type KeyLabelSet<T extends string | number = string | number> = KeySetAll | KeySetNone | KeySetSome<IKeyLabel<T>> | KeySetAllExceptSome<IKeyLabel<T>>; | ||
export declare type KeySet<T extends Key = Key> = KeySetAll<T> | KeySetNone<T> | KeySetSome<T> | KeySetAllExceptSome<T>; | ||
export declare type KeyLabelSet<T extends string | number = string | number> = KeySetAll<IKeyLabel<T>> | KeySetNone<IKeyLabel<T>> | KeySetSome<IKeyLabel<T>> | KeySetAllExceptSome<IKeyLabel<T>>; | ||
/** | ||
@@ -13,0 +13,0 @@ * one type for each of the 4 sets |
@@ -35,7 +35,4 @@ /* tslint:disable:interface-over-type-literal */ | ||
export function isKeySet(x) { | ||
return (isKeySetAll(x) || | ||
isKeySetNone(x) || | ||
isKeySetSome(x) || | ||
isKeySetAllExceptSome(x)); | ||
return isKeySetAll(x) || isKeySetNone(x) || isKeySetSome(x) || isKeySetAllExceptSome(x); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLWJhc2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGliL2tleS1zZXQvLWJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsZ0RBQWdEO0FBQ2hELE9BQU8sRUFBYSxVQUFVLEVBQUUsTUFBTSxZQUFZLENBQUM7QUFFbkQsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLE9BQU8sQ0FBQztBQUNsQyxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUN4RCxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sUUFBUSxDQUFDO0FBQ3BDLE9BQU8sRUFBRSxVQUFVLEV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0FBTyxDQUFDLFlBQVksVUFBVSxDQUFDO0FBQ2pDLENBQUM7QUFFRCxNQUFNLFVBQVUsWUFBWSxDQUFDLENBQU07SUFDakMsT0FBTyxDQUFDLFlBQVksVUFBVSxDQUFDO0FBQ2pDLENBQUM7QUFFRCxNQUFNLFVBQVUscUJBQXFCLENBQUMsQ0FBTTtJQUMxQyxPQUFPLENBQUMsWUFBWSxtQkFBbUIsQ0FBQztBQUMxQyxDQUFDO0FBRUQsTUFBTSxVQUFVLFFBQVEsQ0FBQyxDQUFNO0lBQzdCLE9BQU8sV0FBVyxDQUFDLENBQUMsQ0FBQyxJQUFJLFlBQVksQ0FBQyxDQUFDLENBQUMsSUFBSSxZQUFZLENBQUMsQ0FBQyxDQUFDLElBQUkscUJBQXFCLENBQUMsQ0FBQyxDQUFDLENBQUM7QUFDMUYsQ0FBQyJ9 |
import { IKeySetClass, Key, KeySet, KeySetAllExceptSomeSerialized, KeySetSomeSerialized, KeySetTypes } from "./-base"; | ||
import { KeySetGlobal } from "./-global"; | ||
import { KeySetAllExceptSome } from "./all-except-some"; | ||
@@ -16,4 +17,4 @@ import { KeySetSome } from "./some"; | ||
abstract isEqual(other: KeySet): boolean; | ||
abstract remove(other: KeySet): KeySet; | ||
abstract intersect(other: KeySet): KeySet; | ||
abstract remove(other: KeySet | KeySetGlobal<Key>): KeySet; | ||
abstract intersect(other: KeySet | KeySetGlobal<Key>): KeySet; | ||
get keys(): T[]; | ||
@@ -20,0 +21,0 @@ get elements(): T[]; |
@@ -22,2 +22,2 @@ import { arraysEqual } from "../util/arrays-equal"; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLWJ5LWtleXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGliL2tleS1zZXQvLWJ5LWtleXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLF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UFBTSxzQkFBc0IsQ0FBQztBQVdsRCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUdqRSxNQUFNLE9BQWdCLFlBQVk7SUFLaEMsWUFBWSxJQUE0QjtRQUN0QyxNQUFNLFFBQVEsR0FBRyxVQUFVLENBQUMsSUFBSSxDQUFDLENBQUMsSUFBSSxFQUFFLENBQUM7UUFDekMsSUFBSSxRQUFRLENBQUMsTUFBTSxLQUFLLENBQUMsRUFBRTtZQUN6QixNQUFNLElBQUksb0JBQW9CLEVBQUUsQ0FBQztTQUNsQztRQUNELElBQUksQ0FBQyxTQUFTLEdBQUcsUUFBNEIsQ0FBQztJQUNoRCxDQUFDO0lBc0JELElBQVcsSUFBSTtRQUNiLE9BQU8sSUFBSSxDQUFDLFFBQVEsQ0FBQztJQUN2QixDQUFDO0lBRUQsSUFBVyxRQUFRO1FBQ2pCLE9BQU8sQ0FBQyxHQUFHLElBQUksQ0FBQyxTQUFTLENBQUMsQ0FBQztJQUM3QixDQUFDO0lBRVMsV0FBVyxDQUFDLEtBQXdCO1FBQzVDLE9BQU8sV0FBVyxDQUFDLElBQUksQ0FBQyxJQUFJLEVBQUUsS0FBSyxDQUFDLElBQUksQ0FBQyxDQUFDO0lBQzVDLENBQUM7Q0FDRiJ9 |
@@ -17,4 +17,4 @@ import { EmptyArray } from "../util/array-types"; | ||
abstract isEqual(other: KeySet): boolean; | ||
abstract remove(other: KeySet): KeySet; | ||
abstract intersect(other: KeySet): KeySet; | ||
abstract remove(other: KeySet | KeySetGlobal<Key>): KeySet; | ||
abstract intersect(other: KeySet | KeySetGlobal<Key>): KeySet; | ||
} |
@@ -9,2 +9,2 @@ export class KeySetGlobal { | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLWdsb2JhbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIva2V5LXNldC8tZ2xvYmFsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVlBLE1BQU0sT0FBZ0IsWUFBWTtJQUdoQyxJQUFXLElBQUk7UUFDYixPQUFPLEVBQW1CLENBQUM7SUFDN0IsQ0FBQztJQUVELElBQVcsUUFBUTtRQUNqQixPQUFPLEVBQW1CLENBQUM7SUFDN0IsQ0FBQztDQXVCRiJ9 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLWdsb2JhbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIva2V5LXNldC8tZ2xvYmFsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVlBLE1BQU0sT0FBZ0IsWUFBWTtJQUdoQyxJQUFXLElBQUk7UUFDYixPQUFPLEVBQW1CLENBQUM7SUFDN0IsQ0FBQztJQUVELElBQVcsUUFBUTtRQUNqQixPQUFPLEVBQW1CLENBQUM7SUFDN0IsQ0FBQztDQXFCRiJ9 |
@@ -16,4 +16,9 @@ import { Key, KeySet, KeySetAllExceptSomeSerialized, KeySetTypes } from "./-base"; | ||
isEqual(other: KeySet): boolean; | ||
remove(other: KeySet<T>): KeySetAllExceptSome<T> | KeySetSome<T> | KeySetNone; | ||
intersect(other: KeySet<T>): KeySetAllExceptSome<T> | KeySetNone | KeySetSome<T> | KeySetAll; | ||
remove(other: KeySetAll<T> | KeySetAll<Key>): KeySetNone<T>; | ||
remove(other: KeySetNone<T> | KeySetNone<Key> | KeySetSome<T>): KeySetAllExceptSome<T>; | ||
remove(other: KeySetAllExceptSome<T>): KeySetNone<T> | KeySetSome<T>; | ||
intersect(other: KeySetAll<T> | KeySetAll<Key>): KeySetAllExceptSome<T>; | ||
intersect(other: KeySetNone<T> | KeySetNone<Key>): KeySetNone<T>; | ||
intersect(other: KeySetSome<T>): KeySetNone<T> | KeySetSome<T>; | ||
intersect(other: KeySetAllExceptSome<T>): KeySetAll<T> | KeySetAllExceptSome<T>; | ||
private excludeMyKeys; | ||
@@ -33,2 +38,2 @@ } | ||
*/ | ||
export declare function allExceptSome<T extends Key>(keys: T[] | ReadonlyArray<T>): KeySetAll | KeySetAllExceptSome<T>; | ||
export declare function allExceptSome<T extends Key>(keys: T[] | ReadonlyArray<T>): KeySetAll<T> | KeySetAllExceptSome<T>; |
@@ -87,2 +87,2 @@ import { KeySetTypes } from "./-base"; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxsLWV4Y2VwdC1zb21lLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpYi9rZXktc2V0L2FsbC1leGNlcHQtc29tZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBSUwsV0FBVyxFQUNaLE1BQU0sU0FBUyxDQUFDO0FBQ2pCLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxZQUFZLENBQUM7QUFDMUMsT0FBTyxFQUFFLEdBQUcsRUFBRSxTQUFTLEVBQUUsTUFBTSxPQUFPLENBQUM7QUFDdkMsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDakUsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLFFBQVEsQ0FBQztBQUNwQyxPQUFPLEVBQUUsVUFBVSxFQUFFLElBQUksRUFBRSxNQUFNLFFBQVEsQ0FBQztBQUUxQyxNQUFNLE9BQU8sbUJBQW1DLFNBQVEsWUFBZTtJQUF2RTs7UUFDa0IsU0FBSSxHQUFHLFdBQVcsQ0FBQyxhQUFhLENBQUM7SUF5RW5ELENBQUM7SUF2RVEsVUFBVTtRQUNmLE9BQU8sRUFBRSxJQUFJLEVBQUUsSUFBSSxDQUFDLElBQUksRUFBRSxRQUFRLEVBQUUsQ0FBQyx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uRjtJQUVELE9BQU8sSUFBSSxtQkFBbUIsQ0FBQyxJQUFJLENBQUMsQ0FBQztBQUN2QyxDQUFDO0FBRUQ7Ozs7R0FJRztBQUNILE1BQU0sVUFBVSxhQUFhLENBQzNCLElBQTRCO0lBRTVCLElBQUksQ0FBQyxJQUFJLENBQUMsTUFBTTtRQUFFLE9BQU8sR0FBRyxFQUFLLENBQUM7SUFFbEMsT0FBTyxtQkFBbUIsQ0FBQyxJQUFJLENBQUMsQ0FBQztBQUNuQyxDQUFDIn0= |
@@ -8,3 +8,3 @@ import { Key, KeySet, KeySetAllSerialized, KeySetTypes } from "./-base"; | ||
readonly type = KeySetTypes.all; | ||
serialized(): KeySetAllSerialized; | ||
serialized(): KeySetAllSerialized<T>; | ||
representsAll(): boolean; | ||
@@ -14,16 +14,16 @@ representsNone(): boolean; | ||
representsAllExceptSome(): boolean; | ||
clone(): KeySetAll; | ||
invert(): KeySetNone; | ||
clone(): KeySetAll<T>; | ||
invert(): KeySetNone<T>; | ||
isEqual(other: KeySet): boolean; | ||
remove(other: KeySetAll): KeySetNone; | ||
remove(other: KeySetNone): KeySetAll; | ||
remove(other: KeySetAll<T> | KeySetAll<Key>): KeySetNone<T>; | ||
remove(other: KeySetNone<T> | KeySetNone<Key>): KeySetAll<T>; | ||
remove(other: KeySetSome<T>): KeySetAllExceptSome<T>; | ||
remove(other: KeySetAllExceptSome<T>): KeySetSome<T>; | ||
remove(other: KeySet<T>): KeySet<T>; | ||
intersect(other: KeySetAll): KeySetAll; | ||
intersect(other: KeySetNone): KeySetNone; | ||
intersect(other: KeySetAll<T> | KeySetAll<Key>): KeySetAll<T>; | ||
intersect(other: KeySetNone<T> | KeySetNone<Key>): KeySetNone<T>; | ||
intersect(other: KeySetSome<T>): KeySetSome<T>; | ||
intersect(other: KeySetAllExceptSome<T>): KeySetAllExceptSome<T>; | ||
intersect(other: KeySet<T>): KeySet<T>; | ||
intersect(other: KeySet<T> | KeySetGlobal<Key>): KeySet<T>; | ||
} | ||
export declare function all(): KeySetAll; | ||
export declare function all<T extends Key = Key>(): KeySetAll<T>; |
@@ -34,3 +34,3 @@ import { KeySetTypes } from "./-base"; | ||
isEqual(other) { | ||
return other instanceof KeySetAll; | ||
return other.representsAll(); | ||
} | ||
@@ -62,2 +62,2 @@ remove(other) { | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpYi9rZXktc2V0L2FsbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQW9DLFdBQVcsRUFBRSxNQUFNLFNBQVMsQ0FBQztBQUN4RSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sV0FBVyxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ3hELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQzdELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxRQUFRLENBQUM7QUFDcEMsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLFFBQVEsQ0FBQztBQUVwQyxNQUFNLE9BQU8sU0FBK0IsU0FBUSxZQUFlO0lBQW5FOztRQUNrQixTQUFJLEdBQUcsV0FBVyxDQUFDLEdBQUcsQ0FBQztJQThEekMsQ0FBQztJQTVEUSxVQUFVO1FBQ2YsT0FBTyxFQUFFLElBQUksRUFBRSxJQUFJLENBQUMsSUFBSSxFQUFFLENBQUM7SUFDN0IsQ0FBQztJQUVNLGFBQWE7UUFDbEIsT0FBTyxJQUFJLENBQUM7SUFDZCxDQUFDO0lBRU0sY0FBYztRQUNuQixPQUFPLEtBQUssQ0FBQztJQUNmLENBQUM7SUFFTSxjQUFjO1FBQ25CLE9BQU8sS0FBSyxDQUFDO0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RQUFFLE9BQU8sSUFBSSxDQUFDO0lBQzlDLE9BQU8sMEJBQTBCLENBQUMsQ0FBQyxDQUFDLElBQUksT0FBTyxDQUFDLENBQUMsUUFBUSxDQUFDLENBQUMsQ0FBQyxLQUFLLFFBQVEsQ0FBQztBQUM1RSxDQUFDO0FBaUJELE1BQU0sVUFBVSxtQ0FBbUMsQ0FDakQsQ0FBbUI7SUFFbkIsSUFBSSx5QkFBeUIsQ0FBQyxDQUFDLENBQUM7UUFBRSxPQUFPLElBQUksQ0FBQztJQUM5QyxJQUFJLENBQUMsMEJBQTBCLENBQUMsQ0FBQyxDQUFDO1FBQUUsT0FBTyxLQUFLLENBQUM7SUFFakQsTUFBTSxDQUFDLEdBQUcsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxDQUFDLENBQUMsQ0FBQztJQUN4QixPQUFPLFVBQVUsQ0FBQyxDQUFDLENBQUMsSUFBSSxPQUFPLENBQUMsQ0FBQyxHQUFHLEtBQUssUUFBUSxDQUFDO0FBQ3BELENBQUM7QUFpQkQsTUFBTSxVQUFVLG1DQUFtQyxDQUNqRCxDQUFtQjtJQUVuQixJQUFJLHlCQUF5QixDQUFDLENBQUMsQ0FBQztRQUFFLE9BQU8sSUFBSSxDQUFDO0lBQzlDLElBQUksQ0FBQywwQkFBMEIsQ0FBQyxDQUFDLENBQUM7UUFBRSxPQUFPLEtBQUssQ0FBQztJQUVqRCxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUMsUUFBUSxDQUFDLENBQUMsQ0FBQyxDQUFDO0lBQ3hCLE9BQU8sVUFBVSxDQUFDLENBQUMsQ0FBQyxJQUFJLE9BQU8sQ0FBQyxDQUFDLEdBQUcsS0FBSyxRQUFRLENBQUM7QUFDcEQsQ0FBQyJ9 |
import { Key, KeySet, KeySetNoneSerialized, KeySetTypes } from "./-base"; | ||
import { KeySetGlobal } from "./-global"; | ||
import { KeySetAll } from "./all"; | ||
export declare class KeySetNone<K extends Key = Key> extends KeySetGlobal<K> { | ||
export declare class KeySetNone<T extends Key = Key> extends KeySetGlobal<T> { | ||
readonly type = KeySetTypes.none; | ||
serialized(): KeySetNoneSerialized; | ||
serialized(): KeySetNoneSerialized<T>; | ||
representsAll(): boolean; | ||
@@ -11,8 +11,8 @@ representsNone(): boolean; | ||
representsAllExceptSome(): boolean; | ||
clone(): KeySetNone; | ||
invert(): KeySetAll; | ||
clone(): KeySetNone<T>; | ||
invert(): KeySetAll<T>; | ||
isEqual(other: KeySet): boolean; | ||
remove(_other: KeySet): KeySetNone; | ||
intersect(_other: KeySet): KeySetNone; | ||
remove(_other: KeySet<T> | KeySetGlobal<Key>): KeySetNone<T>; | ||
intersect(_other: KeySet | KeySetGlobal<Key>): KeySetNone<T>; | ||
} | ||
export declare function none(): KeySetNone; | ||
export declare function none<T extends Key = Key>(): KeySetNone<T>; |
@@ -43,2 +43,2 @@ import { KeySetTypes } from "./-base"; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9uZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIva2V5LXNldC9ub25lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBcUMsV0FBVyxFQUFFLE1BQU0sU0FBUyxDQUFDO0FBQ3pFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxXQUFXLENBQUM7QUFDekMsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLE9BQU8sQ0FBQztBQUVsQyxNQUFNLE9BQU8sVUFBZ0MsU0FBUSxZQUFlO0lBQXBFOztRQUNrQixTQUFJLEdBQUcsV0FBVyxDQUFDLElBQUksQ0FBQztJQXlDMUMsQ0FBQztJQXZDUSxVQUFVO1FBQ2YsT0FBTyxFQUFFLElBQUksRUFBRSxJQUFJLENBQUMsSUFBSSxFQUFFLENBQUM7SUFDN0IsQ0FBQztJQUVNLGFBQ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QUFNLE9BQU8sVUFBZ0MsU0FBUSxZQUFlO0lBQXBFOztRQUNrQixTQUFJLEdBQUcsV0FBVyxDQUFDLElBQUksQ0FBQztJQXlDMUMsQ0FBQztJQXZDUSxVQUFVO1FBQ2YsT0FBTyxFQUFFLElBQUksRUFBRSxJQUFJLENBQUMsSUFBSSxFQUFFLENBQUM7SUFDN0IsQ0FBQztJQUVNLGFBQWE7UUFDbEIsT0FBTyxLQUFLLENBQUM7SUFDZixDQUFDO0lBRU0sY0FBYztRQUNuQixPQUFPLElBQUksQ0FBQztJQUNkLENBQUM7SUFFTSxjQUFjO1FBQ25CLE9BQU8sS0FBSyxDQUFDO0lBQ2YsQ0FBQztJQUVNLHVCQUF1QjtRQUM1QixPQUFPLEtBQUssQ0FBQztJQUNmLENBQUM7SUFFTSxLQUFLO1FBQ1YsT0FBTyxJQUFJLFVBQVUsRUFBSyxDQUFDO0lBQzdCLENBQUM7SUFFTSxNQUFNO1FBQ1gsT0FBTyxJQUFJLFNBQVMsRUFBSyxDQUFDO0lBQzVCLENBQUM7SUFFTSxPQUFPLENBQUMsS0FBYTtRQUMxQixPQUFPLEtBQUssQ0FBQyxjQUFjLEVBQUUsQ0FBQztJQUNoQyxDQUFDO0lBRU0sTUFBTSxDQUFDLE1BQXFDO1FBQ2pELE9BQU8sSUFBSSxVQUFVLEVBQUssQ0FBQztJQUM3QixDQUFDO0lBRU0sU0FBUyxDQUFDLE1BQWtDO1FBQ2pELE9BQU8sSUFBSSxVQUFVLEVBQUssQ0FBQztJQUM3QixDQUFDO0NBQ0Y7QUFFRCxNQUFNLFVBQVUsSUFBSTtJQUNsQixPQUFPLElBQUksVUFBVSxFQUFLLENBQUM7QUFDN0IsQ0FBQyJ9 |
@@ -45,8 +45,6 @@ import { isObject } from "../util/object-utils"; | ||
export function isKeySetAllNoneSerialized(given) { | ||
return (hasShapeOfSerialized(given) && | ||
isValidKeySetAllNone(given.type, given.elements)); | ||
return hasShapeOfSerialized(given) && isValidKeySetAllNone(given.type, given.elements); | ||
} | ||
export function isKeySetElementsSerialized(given) { | ||
return (hasShapeOfSerialized(given) && | ||
isValidKeySetElements(given.type, given.elements)); | ||
return hasShapeOfSerialized(given) && isValidKeySetElements(given.type, given.elements); | ||
} | ||
@@ -63,4 +61,3 @@ export function isKeySetAllSerialized(given) { | ||
export function isKeySetAllExceptSomeSerialized(given) { | ||
return (isKeySetElementsSerialized(given) && | ||
given.type === KeySetTypes.allExceptSome); | ||
return isKeySetElementsSerialized(given) && given.type === KeySetTypes.allExceptSome; | ||
} | ||
@@ -90,2 +87,2 @@ export function serializeKeySet(keySet) { | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VyaWFsaXplLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpYi9rZXktc2V0L3NlcmlhbGl6ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDaEQsT0FBTyxFQUNMLFFBQVEsRUFRUixXQUFXLEVBQ1osTUFBTSxTQUFTLENBQUM7QUFDakIsT0FBTyxFQUFFLEdBQUcsRUFBYSxNQUFNLE9BQU8sQ0FBQztBQUN2QyxPQUFPLEVBQUUsYUFBYSxFQUF1QixNQUFNLG1CQUFtQixDQUFDO0FBQ3ZFLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBQzdELE9BQU8sRUFBYyxJQUFJLEVBQUUsTUFBTSxRQUFRLENBQUM7QUFDMUMsT0FBTyxFQUFjLElBQUksRUFBRSxNQUFNLFFBQVEsQ0FBQztBQUUxQzs7O0dBR0c7QUFDSCxTQUFTLG9CQUFvQixDQUMzQixLQUFVO0lBRVYsSUFBSSxDQUFDLFFBQVEsQ0FBQyxLQUFLLENBQUM7UUFBRSxPQUFPLEtBQ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VSxFQUFFLENBQUM7S0FDNUI7SUFFRCxJQUFJLGtCQUFrQixDQUFDLE1BQU0sQ0FBQztRQUFFLE9BQU8sTUFBTSxDQUFDO0lBRTlDLE1BQU0sSUFBSSxrQkFBa0IsQ0FBQywwQkFBMEIsSUFBSSxDQUFDLFNBQVMsQ0FBQyxNQUFNLENBQUMsRUFBRSxDQUFDLENBQUM7QUFDbkYsQ0FBQztBQVdELE1BQU0sVUFBVSxXQUFXLENBQWdCLENBQWtDO0lBQzNFLElBQUksUUFBUSxDQUFDLENBQUMsQ0FBQztRQUFFLE9BQU8sQ0FBQyxDQUFDO0lBRTFCLElBQUksQ0FBQyxrQkFBa0IsQ0FBQyxDQUFDLENBQUMsRUFBRTtRQUMxQixNQUFNLElBQUksa0JBQWtCLENBQUMsb0NBQW9DLElBQUksQ0FBQyxTQUFTLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDO0tBQ3ZGO0lBRUQsSUFBSSxDQUFDLENBQUMsSUFBSSxLQUFLLFdBQVcsQ0FBQyxHQUFHO1FBQUUsT0FBTyxHQUFHLEVBQUUsQ0FBQztJQUM3QyxJQUFJLENBQUMsQ0FBQyxJQUFJLEtBQUssV0FBVyxDQUFDLElBQUk7UUFBRSxPQUFPLElBQUksRUFBRSxDQUFDO0lBQy9DLElBQUksQ0FBQyxDQUFDLElBQUksS0FBSyxXQUFXLENBQUMsSUFBSSxFQUFFO1FBQy9CLE9BQU8sSUFBSSxDQUFFLENBQTZCLENBQUMsUUFBUSxDQUFDLENBQUM7S0FDdEQ7SUFDRCxPQUFPLGFBQWEsQ0FBRSxDQUFzQyxDQUFDLFFBQVEsQ0FBQyxDQUFDO0FBQ3pFLENBQUMifQ== |
@@ -16,8 +16,8 @@ import { Key, KeySet, KeySetSomeSerialized, KeySetTypes } from "./-base"; | ||
isEqual(other: KeySet): boolean; | ||
remove(other: KeySetNone): KeySetSome<T>; | ||
remove(other: KeySetAll): KeySetNone; | ||
remove(other: KeySetAllExceptSome<T> | KeySetSome<T>): KeySetSome<T> | KeySetNone; | ||
intersect(other: KeySetAll): KeySetSome<T>; | ||
intersect(other: KeySetNone): KeySetNone; | ||
intersect(other: KeySetSome<T> | KeySetAllExceptSome<T>): KeySetSome<T> | KeySetNone; | ||
remove(other: KeySetNone<T> | KeySetNone<Key>): KeySetSome<T>; | ||
remove(other: KeySetAll<T> | KeySetAll<Key>): KeySetNone<T>; | ||
remove(other: KeySetAllExceptSome<T> | KeySetSome<T>): KeySetSome<T> | KeySetNone<T>; | ||
intersect(other: KeySetAll<T> | KeySetAll<Key>): KeySetSome<T>; | ||
intersect(other: KeySetNone<T> | KeySetNone<Key>): KeySetNone<T>; | ||
intersect(other: KeySetSome<T> | KeySetAllExceptSome<T>): KeySetSome<T> | KeySetNone<T>; | ||
private intersectKeys; | ||
@@ -38,2 +38,2 @@ private excludeKeys; | ||
*/ | ||
export declare function some<T extends Key>(keys: T[] | ReadonlyArray<T>): KeySetNone | KeySetSome<T>; | ||
export declare function some<T extends Key>(keys: T[] | ReadonlyArray<T>): KeySetNone<T> | KeySetSome<T>; |
@@ -88,2 +88,2 @@ import { KeySetTypes } from "./-base"; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29tZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIva2V5LXNldC9zb21lLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBcUMsV0FBVyxFQUFFLE1BQU0sU0FBUyxDQUFDO0FBQ3pFLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxZQUFZLENBQUM7QUFDMUMsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLE9BQU8sQ0FBQztBQUNsQyxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUN4RCxPQUFPLEVBQU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FBTTtRQUFFLE9BQU8sRUFBRSxDQUFDO0lBRXpDLElBQUksVUFBVSxDQUFDLE1BQU0sQ0FBQyxDQUFDLENBQUMsQ0FBQyxFQUFFO1FBQ3pCLE9BQU8sbUJBQW1CLENBQUMsTUFBMkMsQ0FBUSxDQUFDO0tBQ2hGO0lBRUQsT0FBTyxXQUFXLENBQUMsTUFBTSxDQUFDLENBQUM7QUFDN0IsQ0FBQyJ9 |
@@ -5,2 +5,15 @@ # Changelog | ||
## [4.0.0](https://github.com/eturino/ts-key-set/compare/v3.1.0...v4.0.0) (2020-02-29) | ||
### ⚠ BREAKING CHANGES | ||
* While KeySetAll and KeySetNone were before non typed, now they are. Most of the | ||
time no adaptation is needed but in some cases when using TypeScript it may be needed to specify the | ||
type of the universe when creating a desired All or None key sets. | ||
### Features | ||
* keySetAll and KeySetNone with key type ([bb5b1c9](https://github.com/eturino/ts-key-set/commit/bb5b1c9cba1028d8ba2a63fc16ba920d6c029b7e)) | ||
## [3.1.0](https://github.com/eturino/ts-key-set/compare/v3.0.0...v3.1.0) (2020-02-29) | ||
@@ -7,0 +20,0 @@ |
{ | ||
"name": "@eturino/key-set", | ||
"version": "3.1.0", | ||
"version": "4.0.0", | ||
"author": "Eduardo Turiño <eturino@eturino.com>", | ||
@@ -5,0 +5,0 @@ "description": "KeySet with 4 classes to represent concepts of All, None, Some, and AllExceptSome, the last 2 with a sorted uniq list of keys, and all with intersection calculations (TypeScript port of https://github.com/eturino/ruby_key_set)", |
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
159007
2106