@ts4nfdi/terminology-service-suite 7.6.0 → 7.6.1

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.
@@ -53,3 +53,4 @@ type Story = StoryObj<typeof meta>;
53
53
  export declare const AlternativeNameTabWidget1: Story;
54
54
  export declare const SelectingDefiningOntology: Story;
55
55
  export declare const DefiningOntologyUnavailable: Story;
56
+ export declare const RequestFailed: Story;
@@ -52,6 +52,17 @@ export declare const DefiningOntologyUnavailableArgs: {
52
52
  readonly entityType: "term";
53
53
  readonly parameter: "";
54
54
  };
55
+ /**
56
+ * Points at a host that does not answer, so the tab shows the error message
57
+ * instead of its empty state.
58
+ */
59
+ export declare const RequestFailedArgs: {
60
+ readonly api: "https://example.com/nonexistent/";
61
+ readonly iri: "http://purl.obolibrary.org/obo/NCIT_C2985";
62
+ readonly entityType: "term";
63
+ readonly ontologyId: "ncit";
64
+ readonly parameter: "";
65
+ };
55
66
  export declare const commonAlternativeNameTabWidgetPlay: ({ canvasElement, }: {
56
67
  canvasElement: HTMLElement;
57
68
  }) => Promise<void>;
@@ -52,3 +52,4 @@ type Story = StoryObj<typeof meta>;
52
52
  export declare const CrossRefTabWidget1: Story;
53
53
  export declare const SelectingDefiningOntology: Story;
54
54
  export declare const DefiningOntologyUnavailable: Story;
55
+ export declare const RequestFailed: Story;
@@ -52,6 +52,17 @@ export declare const DefiningOntologyUnavailableArgs: {
52
52
  readonly entityType: "term";
53
53
  readonly parameter: "";
54
54
  };
55
+ /**
56
+ * Points at a host that does not answer, so the tab shows the error message
57
+ * instead of its empty state.
58
+ */
59
+ export declare const RequestFailedArgs: {
60
+ readonly api: "https://example.com/nonexistent/";
61
+ readonly iri: "http://purl.obolibrary.org/obo/RXNO_0000138";
62
+ readonly entityType: "term";
63
+ readonly ontologyId: "rxno";
64
+ readonly parameter: "";
65
+ };
55
66
  export declare const commonCrossRefWidgetPlay: ({ canvasElement, }: {
56
67
  canvasElement: HTMLElement;
57
68
  }) => Promise<void>;