Document `DiffWebLinkInfo` as being unused
Release-Notes: skip
Change-Id: I2130510f36b4514add989891f11021856c41903f
diff --git a/polygerrit-ui/app/types/diff.ts b/polygerrit-ui/app/types/diff.ts
index c03a167..2a8c7e5 100644
--- a/polygerrit-ui/app/types/diff.ts
+++ b/polygerrit-ui/app/types/diff.ts
@@ -44,6 +44,8 @@
/**
* Links to the file diff in external sites as a list of DiffWebLinkInfo
* entries.
+ *
+ * NOTE: Unused as of Feb 2023.
*/
web_links?: DiffWebLinkInfo[];
@@ -58,18 +60,15 @@
* The DiffWebLinkInfo entity describes a link on a diff screen to an external
* site.
* https://gerrit-review.googlesource.com/Documentation/rest-api-changes.html#diff-web-link-info
+ *
+ * NOTE: Unused as of Feb 2023.
*/
export declare interface DiffWebLinkInfo {
- /** The link name. */
name: string;
- /** The link URL. */
url: string;
- /** URL to the icon of the link. */
image_url: string;
- // TODO: Are these really of type string? Not able to trigger them, but the
- // docs sound more like boolean.
- show_on_side_by_side_diff_view: string;
- show_on_unified_diff_view: string;
+ show_on_side_by_side_diff_view: boolean;
+ show_on_unified_diff_view: boolean;
}
export interface DiffFileMetaInfo extends DiffFileMetaInfoApi {