@rcsb/rcsb-saguaro-app 5.1.0 → 5.1.1-request-tools.2
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
import { MultipleDocumentPropertyCollectorInterface } from "../RcsbCollectTools/DataCollectors/DataCollectorInterface";
|
|
2
2
|
export declare namespace RcsbRequestTools {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
resolveList: Array<(x: T) => void>;
|
|
6
|
-
status: "pending" | "available";
|
|
7
|
-
}
|
|
8
|
-
function getSingleObjectData<T>(id: string, map: Map<string, DataStatusInterface<T>>, collector: () => Promise<T>): Promise<T>;
|
|
9
|
-
function getMultipleObjectProperties<K extends string, T>(ids: string | Array<string>, map: Map<string, DataStatusInterface<T>>, collector: MultipleDocumentPropertyCollectorInterface<K, T>, collectorKey: K, propertyKey: (e: T) => string): Promise<Array<T>>;
|
|
10
|
-
function mapPending<T>(key: string, map: Map<string, DataStatusInterface<T>>): void;
|
|
11
|
-
function mapResolve<T>(mapItem: DataStatusInterface<T>): Promise<T>;
|
|
12
|
-
function mapSet<T>(mapItem: DataStatusInterface<T>, data: T): void;
|
|
3
|
+
function getSingleObjectData<T>(id: string, map: Map<string, Promise<T>>, collector: () => Promise<T>): Promise<T>;
|
|
4
|
+
function getMultipleObjectProperties<K extends string, T>(ids: string | Array<string>, map: Map<string, Promise<T>>, collector: MultipleDocumentPropertyCollectorInterface<K, T>, collectorKey: K, propertyKey: (e: T) => string): Promise<Array<T>>;
|
|
13
5
|
}
|