@rcsb/rcsb-saguaro-app 4.5.8 → 4.5.10
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,12 @@
|
|
|
1
|
+
import { QueryPolymer_EntitiesArgs } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Yosemite/GqlTypes";
|
|
2
|
+
import { PolymerEntityInstanceInterface } from "./PolymerEntityInstancesCollector";
|
|
3
|
+
export interface PolymerEntityInterface {
|
|
4
|
+
rcsbId: string;
|
|
5
|
+
entityId: string;
|
|
6
|
+
entryId: string;
|
|
7
|
+
instances: PolymerEntityInstanceInterface[];
|
|
8
|
+
}
|
|
9
|
+
export declare class MultiplePolymerEntityCollector {
|
|
10
|
+
private readonly multipleEntityInstanceCollector;
|
|
11
|
+
collect(requestConfig: QueryPolymer_EntitiesArgs): Promise<Array<PolymerEntityInterface>>;
|
|
12
|
+
}
|
|
@@ -3,7 +3,6 @@ import { EntryAssemblyTranslate } from "../RcsbUtils/Translators/EntryAssemblyTr
|
|
|
3
3
|
import { GroupPropertiesProvider } from "../RcsbUtils/Groups/GroupPropertiesProvider";
|
|
4
4
|
import { QueryResult } from "@rcsb/rcsb-api-tools/build/RcsbSearch/Types/SearchResultInterface";
|
|
5
5
|
import { InterfaceInstanceTranslate } from "../RcsbUtils/Translators/InterfaceInstanceTranslate";
|
|
6
|
-
import { PolymerEntityInstanceInterface } from "../RcsbCollectTools/DataCollectors/PolymerEntityInstancesCollector";
|
|
7
6
|
import { PolymerEntityChromosomeTranslate } from "../RcsbUtils/Translators/PolymerEntityChromosomeTranslate";
|
|
8
7
|
import { QueryPolymer_Entity_GroupArgs } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Yosemite/GqlTypes";
|
|
9
8
|
import { EntryPropertyIntreface } from "../RcsbCollectTools/DataCollectors/MultipleEntryPropertyCollector";
|
|
@@ -12,6 +11,7 @@ import { FacetType } from "../RcsbSeacrh/FacetStore/FacetMemberInterface";
|
|
|
12
11
|
import { ReturnType } from "@rcsb/rcsb-api-tools/build/RcsbSearch/Types/SearchEnums";
|
|
13
12
|
import { ResultsContentType, SearchQuery } from "@rcsb/rcsb-api-tools/build/RcsbSearch/Types/SearchQueryInterface";
|
|
14
13
|
import { RequestInit as GraphqlRequestInit } from "graphql-request/src/types.dom";
|
|
14
|
+
import { PolymerEntityInterface } from "../RcsbCollectTools/DataCollectors/MultiplePolymerEntityCollector";
|
|
15
15
|
declare class RcsbRequestContextManager {
|
|
16
16
|
private readonly polymerEntityToInstanceMap;
|
|
17
17
|
private readonly entryToAssemblyMap;
|
|
@@ -28,9 +28,9 @@ declare class RcsbRequestContextManager {
|
|
|
28
28
|
private readonly multipleEntryPropertyCollector;
|
|
29
29
|
private readonly interfaceCollector;
|
|
30
30
|
private readonly assemblyInterfacesCollector;
|
|
31
|
-
private readonly
|
|
31
|
+
private readonly multipleEntityCollector;
|
|
32
32
|
readonly modelKey: string;
|
|
33
|
-
getEntityProperties(entityIds: string | Array<string>): Promise<Array<
|
|
33
|
+
getEntityProperties(entityIds: string | Array<string>): Promise<Array<PolymerEntityInterface>>;
|
|
34
34
|
getEntryProperties(entryIds: string | Array<string>): Promise<Array<EntryPropertyIntreface>>;
|
|
35
35
|
getEntityToInstance(entryId: string): Promise<PolymerEntityInstanceTranslate>;
|
|
36
36
|
getEntryToAssembly(entryId: string): Promise<EntryAssemblyTranslate>;
|