diff --git a/src/cards/types.d.ts b/src/cards/types.d.ts index 966964a5884c3..dce964d21af7e 100644 --- a/src/cards/types.d.ts +++ b/src/cards/types.d.ts @@ -10,13 +10,13 @@ export type CommonOptions = { border_radius: number; border_color: string; locale: string; + hide_border: boolean; }; export type StatCardOptions = CommonOptions & { hide: string[]; show_icons: boolean; hide_title: boolean; - hide_border: boolean; card_width: number; hide_rank: boolean; include_all_commits: boolean; @@ -31,13 +31,11 @@ export type StatCardOptions = CommonOptions & { }; export type RepoCardOptions = CommonOptions & { - hide_border: boolean; show_owner: boolean; }; export type TopLangOptions = CommonOptions & { hide_title: boolean; - hide_border: boolean; card_width: number; hide: string[]; layout: "compact" | "normal" | "donut" | "donut-vertical" | "pie"; @@ -49,7 +47,6 @@ export type TopLangOptions = CommonOptions & { type WakaTimeOptions = CommonOptions & { hide_title: boolean; - hide_border: boolean; hide: string[]; line_height: string; hide_progress: boolean; @@ -59,6 +56,5 @@ type WakaTimeOptions = CommonOptions & { }; export type GistCardOptions = CommonOptions & { - hide_border: boolean; show_owner: boolean; };