@magmonium/one 0.4.69 → 0.4.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/types/magmonium-one.d.ts
CHANGED
|
@@ -1334,6 +1334,12 @@ export declare function getFromMap<T>(id: string | undefined, map: Record<string
|
|
|
1334
1334
|
* reading an unloaded store answers "not there yet" rather than nothing.
|
|
1335
1335
|
*/
|
|
1336
1336
|
export declare function existsInMap(id: string | undefined, map: Record<string, unknown> | undefined): boolean;
|
|
1337
|
+
/**
|
|
1338
|
+
* Whether a map does not hold anything under `id` — the named inverse of
|
|
1339
|
+
* `existsInMap` for a StoreMethod's CallCondition (ADR 0202). A missing id or
|
|
1340
|
+
* map is absent too.
|
|
1341
|
+
*/
|
|
1342
|
+
export declare function notExistsInMap(id: string | undefined, map: Record<string, unknown> | undefined): boolean;
|
|
1337
1343
|
export declare function createMap<T extends object>(elems: T[], key?: keyof T | 'id', elemMap?: Record<string, T>): Record<string, T>;
|
|
1338
1344
|
/**
|
|
1339
1345
|
* Total over the three Sizes. Deliberately accepts nothing else — the old
|