@rcsb/rcsb-saguaro-app 4.4.0-models.32 → 4.4.0-models.35

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.
@@ -3,6 +3,7 @@ export interface AnnotationConfigInterface {
3
3
  provenance_color_code: {
4
4
  external: string;
5
5
  rcsb_pdb: string;
6
+ rcsb_link: string;
6
7
  csm: string;
7
8
  };
8
9
  merge?: Array<{
@@ -1,5 +1,6 @@
1
1
  export declare const RcsbAnnotationConstants: {
2
2
  provenanceColorCode: {
3
+ rcsbLink: string;
3
4
  rcsbPdb: string;
4
5
  external: string;
5
6
  csm: string;
@@ -1,6 +1,9 @@
1
1
  import { TrackFactoryInterface } from "../TrackFactoryInterface";
2
2
  import { RcsbFvRowConfigInterface } from "@rcsb/rcsb-saguaro";
3
3
  import { TrackManagerInterface } from "../../RcsbFvBlockFactory/BlockManager/TrackManagerInterface";
4
+ import { TrackTitleFactoryInterface } from "../TrackTitleFactoryInterface";
4
5
  export declare class AnnotationsTrackFactory implements TrackFactoryInterface<[TrackManagerInterface]> {
6
+ private readonly trackTitleFactory;
7
+ constructor(trackTitleFactory?: TrackTitleFactoryInterface<[TrackManagerInterface]>);
5
8
  getTrack(annotations: TrackManagerInterface): Promise<RcsbFvRowConfigInterface>;
6
9
  }
@@ -0,0 +1,8 @@
1
+ import { TrackTitleFactoryInterface } from "../TrackTitleFactoryInterface";
2
+ import { TrackManagerInterface } from "../../RcsbFvBlockFactory/BlockManager/TrackManagerInterface";
3
+ import { RcsbFvLink } from "@rcsb/rcsb-saguaro";
4
+ export declare class AnnotationsTrackTitleFactory implements TrackTitleFactoryInterface<[TrackManagerInterface]> {
5
+ getTrackTitle(trackManager: TrackManagerInterface): Promise<string | RcsbFvLink>;
6
+ getTrackTitleFlagColor(trackManager: TrackManagerInterface): Promise<string>;
7
+ getTrackTitlePrefix(trackManager: TrackManagerInterface): Promise<string>;
8
+ }