@gen3/frontend 0.10.78 → 0.10.79

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/dist/index.d.ts CHANGED
@@ -50,15 +50,22 @@ interface ResourcesFiltersProps {
50
50
  declare const ResourcesFilters: ({ selectedFilters, setFilters, }: ResourcesFiltersProps) => react_jsx_runtime.JSX.Element;
51
51
  //# sourceMappingURL=ResourcesFilters.d.ts.map
52
52
 
53
+ /**
54
+ * Enum representing various content types for text-based data.
55
+ *
56
+ * Each content type corresponds to a specific format or structure of textual content.
57
+ */
53
58
  declare enum ContentType {
54
- Text = "text",
55
- TextArray = "textArray",
56
- Html = "html",
57
- Markdown = "markdown",
58
- TextWithEmail = "textWithEmail",
59
- TextWithLink = "textWithLink",
60
- Link = "link"
59
+ Text = "text",// a text string
60
+ TextArray = "textArray",// a array of text, each is a paragraph
61
+ Html = "html",// text content is HTML
62
+ Markdown = "markdown",// text content is Markdown
63
+ TextWithEmail = "textWithEmail",// text is a string and the email field is appended to it
64
+ TextWithLink = "textWithLink"
61
65
  }
66
+ /**
67
+ * Interface representing the properties for rendering text content.
68
+ */
62
69
  interface TextContentProps {
63
70
  readonly text: string | string[];
64
71
  readonly className?: string;