@rcsb/rcsb-saguaro-app 4.0.0-interfaces.10 → 4.0.0-interfaces.11

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/CHANGELOG.md CHANGED
@@ -13,6 +13,8 @@
13
13
  dropdown menu changes and before rendering the new 1D RcsbFv.
14
14
  The callback may return a `RcsbContextType` object that will be included in the `additionalConfig`
15
15
  - Added two new classes (`AssemblyInterfacesCollector` and `AssemblyInterfacesTranslate`) to collect and handle assembly and interface id relationships
16
+ - Exposing all feature types in a single object `FeatureType` (file: `src/RcsbExport/FeatureType.ts`)
17
+ - New package `RcsbExport` to expose classes and methods outside the library
16
18
 
17
19
  ## [4.0.0-master] - 2021-12-07
18
20
  ### Breaking change
@@ -0,0 +1,13 @@
1
+ import { Type } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
2
+ declare const ExtendedTypes: {
3
+ BurialFraction: "BURIAL_FRACTION";
4
+ BuriedResidues: "BURIED_RESIDUES";
5
+ };
6
+ declare type MergedType = typeof Type & typeof ExtendedTypes;
7
+ declare const MergedType: MergedType;
8
+ declare type MergedTypeKeys = keyof typeof MergedType;
9
+ declare type FeatureTypeInterface = {
10
+ [key in MergedTypeKeys]: Type;
11
+ };
12
+ export declare const FeatureType: FeatureTypeInterface;
13
+ export {};
@@ -0,0 +1,4 @@
1
+ import { InterfaceInstanceTranslate } from "../RcsbUtils/Translators/InterfaceInstanceTranslate";
2
+ export declare class RcsbFvContextManager {
3
+ static getInterfaceToInstance(interfaceId: string): Promise<InterfaceInstanceTranslate>;
4
+ }
@@ -0,0 +1,7 @@
1
+ import { GroupedOptionsInterface, SelectOptionInterface } from "../RcsbFvWeb/WebTools/SelectButton";
2
+ import { SelectButtonConfigInterface } from "../RcsbFvWeb/WebTools/WebToolsManager";
3
+ export declare class RcsbFvUI {
4
+ static clearSelectButton(elementFvId: string, selectButtonId: string): void;
5
+ static createSelectButton(elementFvId: string, selectButtonId: string, options: Array<SelectOptionInterface> | Array<GroupedOptionsInterface>, config?: SelectButtonConfigInterface): void;
6
+ static addSelectButton(elementFvId: string, selectButtonId: string, options: Array<SelectOptionInterface>, config?: SelectButtonConfigInterface): void;
7
+ }
@@ -1,4 +1,3 @@
1
- import { AnnotationFeatures, Type } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
2
- export declare const BURIAL_FRACTION: Type;
1
+ import { AnnotationFeatures } from "@rcsb/rcsb-api-tools/build/RcsbGraphQL/Types/Borrego/GqlTypes";
3
2
  export declare function burialFraction(annotations: Array<AnnotationFeatures>): Array<AnnotationFeatures>;
4
3
  export declare function burialFractionFilter(annotations: Array<AnnotationFeatures>): Array<AnnotationFeatures>;
@@ -1,12 +1,3 @@
1
- import { GroupedOptionsInterface, SelectOptionInterface } from "./RcsbFvWeb/WebTools/SelectButton";
2
1
  export { buildEntryChromosome, buildFullChromosome, buildEntityChromosome, buildChromosome, buildEntityFv, buildEntitySummaryFv, buildSingleEntitySummaryFv, buildInstanceFv, buildInstanceSequenceFv, buildMultipleInstanceSequenceFv, buildAssemblySequenceFv, buildPairwiseAlignment, buildPfv, buildMultipleAlignmentSequenceFv, buildUniprotEntityFv, buildUniprotEntityInstanceFv, buildUniprotFv, unmount } from "./RcsbFvWeb/RcsbFvBuilder";
3
- import { SelectButtonConfigInterface } from "./RcsbFvWeb/WebTools/WebToolsManager";
4
- import { InterfaceInstanceTranslate } from "./RcsbUtils/Translators/InterfaceInstanceTranslate";
5
- export declare class RcsbFvUI {
6
- static clearSelectButton(elementFvId: string, selectButtonId: string): void;
7
- static createSelectButton(elementFvId: string, selectButtonId: string, options: Array<SelectOptionInterface> | Array<GroupedOptionsInterface>, config?: SelectButtonConfigInterface): void;
8
- static addSelectButton(elementFvId: string, selectButtonId: string, options: Array<SelectOptionInterface>, config?: SelectButtonConfigInterface): void;
9
- }
10
- export declare class RcsbFvContextManager {
11
- static getInterfaceToInstance(interfaceId: string): Promise<InterfaceInstanceTranslate>;
12
- }
2
+ export { RcsbFvContextManager } from "./RcsbExport/RcsbFvContextManager";
3
+ export { RcsbFvUI } from "./RcsbExport/RcsbFvUI";