chore: add paraglide generated folders to prettier ignore files

This commit is contained in:
yiling
2026-06-27 10:24:20 +08:00
parent d5dbb3c01b
commit 4dc53063ea
1443 changed files with 26198 additions and 35007 deletions
@@ -1,32 +1,29 @@
/* eslint-disable */
import { getLocale, experimentalStaticLocale } from '../runtime.js'
import { getLocale, experimentalStaticLocale } from '../runtime.js';
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
/** @typedef {{}} All_ProjectsInputs */
const en_all_projects = /** @type {(inputs: All_ProjectsInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ (`All Projects`)
}
return /** @type {LocalizedString} */ (`All Projects`)
};
const zh_all_projects = /** @type {(inputs: All_ProjectsInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ (`所有项目`)
}
return /** @type {LocalizedString} */ (`所有项目`)
};
/**
* | output |
* | --- |
* | "All Projects" |
*
* @param {All_ProjectsInputs} inputs
* @param {{ locale?: "en" | "zh" }} options
* @returns {LocalizedString}
*/
export const all_projects =
/** @type {((inputs?: All_ProjectsInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<All_ProjectsInputs, { locale?: "en" | "zh" }, {}>} */ (
(inputs = {}, options = {}) => {
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
if (locale === 'en') return en_all_projects(inputs)
return zh_all_projects(inputs)
}
)
* | output |
* | --- |
* | "All Projects" |
*
* @param {All_ProjectsInputs} inputs
* @param {{ locale?: "en" | "zh" }} options
* @returns {LocalizedString}
*/
export const all_projects = /** @type {((inputs?: All_ProjectsInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<All_ProjectsInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
if (locale === "en") return en_all_projects(inputs)
return zh_all_projects(inputs)
});