revert all remaining unnecessary changes
This commit is contained in:
@@ -30,8 +30,8 @@ const CARD_DEFAULT_WIDTH = 400;
|
||||
const HEADER_MAX_LENGTH = 35;
|
||||
|
||||
/**
|
||||
* @typedef {import('./types.js').GistCardOptions} GistCardOptions Gist card options.
|
||||
* @typedef {import('../fetchers/types.js').GistData} GistData Gist data.
|
||||
* @typedef {import('./types').GistCardOptions} GistCardOptions Gist card options.
|
||||
* @typedef {import('../fetchers/types').GistData} GistData Gist data.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
@@ -45,8 +45,8 @@ const getBadgeSVG = (label, textColor, xOffset = 0) => `
|
||||
`;
|
||||
|
||||
/**
|
||||
* @typedef {import("../fetchers/types.js").RepositoryData} RepositoryData Repository data.
|
||||
* @typedef {import("./types.js").RepoCardOptions} RepoCardOptions Repo card options.
|
||||
* @typedef {import("../fetchers/types").RepositoryData} RepositoryData Repository data.
|
||||
* @typedef {import("./types").RepoCardOptions} RepoCardOptions Repo card options.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
@@ -199,8 +199,8 @@ const getStyles = ({
|
||||
};
|
||||
|
||||
/**
|
||||
* @typedef {import('../fetchers/types.js').StatsData} StatsData
|
||||
* @typedef {import('./types.js').StatCardOptions} StatCardOptions
|
||||
* @typedef {import('../fetchers/types').StatsData} StatsData
|
||||
* @typedef {import('./types').StatCardOptions} StatCardOptions
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
@@ -26,7 +26,7 @@ const PIE_LAYOUT_DEFAULT_LANGS_COUNT = 6;
|
||||
const DONUT_VERTICAL_LAYOUT_DEFAULT_LANGS_COUNT = 6;
|
||||
|
||||
/**
|
||||
* @typedef {import("../fetchers/types.js").Lang} Lang
|
||||
* @typedef {import("../fetchers/types").Lang} Lang
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -666,7 +666,7 @@ const renderDonutLayout = (langs, width, totalLanguageSize) => {
|
||||
};
|
||||
|
||||
/**
|
||||
* @typedef {import("./types.js").TopLangOptions} TopLangOptions
|
||||
* @typedef {import("./types").TopLangOptions} TopLangOptions
|
||||
* @typedef {TopLangOptions["layout"]} Layout
|
||||
*/
|
||||
|
||||
@@ -710,7 +710,7 @@ const getDefaultLanguagesCountByLayout = ({ layout, hide_progress }) => {
|
||||
};
|
||||
|
||||
/**
|
||||
* @typedef {import('../fetchers/types.js').TopLangData} TopLangData
|
||||
* @typedef {import('../fetchers/types').TopLangData} TopLangData
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
type ThemeNames = keyof typeof import("../../themes");
|
||||
type ThemeNames = keyof typeof import("../../themes/index.js");
|
||||
type RankIcon = "default" | "github" | "percentile";
|
||||
|
||||
export type CommonOptions = {
|
||||
|
||||
@@ -36,7 +36,7 @@ const noCodingActivityNode = ({ color, text }) => {
|
||||
};
|
||||
|
||||
/**
|
||||
* @typedef {import('../fetchers/types.js').WakaTimeLang} WakaTimeLang
|
||||
* @typedef {import('../fetchers/types').WakaTimeLang} WakaTimeLang
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -207,8 +207,8 @@ const getStyles = ({
|
||||
};
|
||||
|
||||
/**
|
||||
* @typedef {import('../fetchers/types.js').WakaTimeData} WakaTimeData
|
||||
* @typedef {import('./types.js').WakaTimeOptions} WakaTimeOptions
|
||||
* @typedef {import('../fetchers/types').WakaTimeData} WakaTimeData
|
||||
* @typedef {import('./types').WakaTimeOptions} WakaTimeOptions
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
@@ -77,7 +77,7 @@ const calculatePrimaryLanguage = (files) => {
|
||||
};
|
||||
|
||||
/**
|
||||
* @typedef {import('./types.js').GistData} GistData Gist data.
|
||||
* @typedef {import('./types').GistData} GistData Gist data.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
@@ -60,7 +60,7 @@ const fetcher = (variables, token) => {
|
||||
const urlExample = "/api/pin?username=USERNAME&repo=REPO_NAME";
|
||||
|
||||
/**
|
||||
* @typedef {import("./types.js").RepositoryData} RepositoryData Repository data.
|
||||
* @typedef {import("./types").RepositoryData} RepositoryData Repository data.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
@@ -273,7 +273,7 @@ const fetchRepoUserStats = async (
|
||||
};
|
||||
|
||||
/**
|
||||
* @typedef {import("./types.js").StatsData} StatsData Stats data.
|
||||
* @typedef {import("./types").StatsData} StatsData Stats data.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
@@ -53,7 +53,7 @@ const fetcher = (variables, token) => {
|
||||
};
|
||||
|
||||
/**
|
||||
* @typedef {import("./types.js").TopLangData} TopLangData Top languages data.
|
||||
* @typedef {import("./types").TopLangData} TopLangData Top languages data.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user