chore: format
This commit is contained in:
parent
d65c00f219
commit
1d0223e653
6 changed files with 14 additions and 41 deletions
|
@ -463,7 +463,7 @@ export default abstract class Chart<T extends Schema> {
|
|||
protected commit(diff: Commit<T>, group: string | null = null): void {
|
||||
for (const [k, v] of Object.entries(diff)) {
|
||||
if (v == null || v === 0 || (Array.isArray(v) && v.length === 0))
|
||||
// rome-ignore lint/performance/noDelete: needs to be deleted not just set to undefined
|
||||
// biome-ignore lint/performance/noDelete: needs to be deleted not just set to undefined
|
||||
delete diff[k];
|
||||
}
|
||||
this.buffer.push({
|
||||
|
|
|
@ -26,16 +26,9 @@
|
|||
"paths": {
|
||||
"@/*": ["../src/*"]
|
||||
},
|
||||
"typeRoots": [
|
||||
"../node_modules/@types",
|
||||
"../src/@types"
|
||||
],
|
||||
"lib": [
|
||||
"esnext"
|
||||
]
|
||||
"typeRoots": ["../node_modules/@types", "../src/@types"],
|
||||
"lib": ["esnext"]
|
||||
},
|
||||
"compileOnSave": false,
|
||||
"include": [
|
||||
"./**/*.ts"
|
||||
]
|
||||
"include": ["./**/*.ts"]
|
||||
}
|
||||
|
|
|
@ -25,24 +25,13 @@
|
|||
"rootDir": "./src",
|
||||
"baseUrl": "./",
|
||||
"paths": {
|
||||
"@/*": [
|
||||
"./src/*"
|
||||
]
|
||||
"@/*": ["./src/*"]
|
||||
},
|
||||
"outDir": "./built",
|
||||
"types": [
|
||||
"node"
|
||||
],
|
||||
"typeRoots": [
|
||||
"./node_modules/@types",
|
||||
"./src/@types"
|
||||
],
|
||||
"lib": [
|
||||
"esnext"
|
||||
]
|
||||
"types": ["node"],
|
||||
"typeRoots": ["./node_modules/@types", "./src/@types"],
|
||||
"lib": ["esnext"]
|
||||
},
|
||||
"compileOnSave": false,
|
||||
"include": [
|
||||
"./src/**/*.ts"
|
||||
]
|
||||
"include": ["./src/**/*.ts"]
|
||||
}
|
||||
|
|
|
@ -632,9 +632,7 @@ function setPostExpanded(val: boolean) {
|
|||
const accessibleLabel = computed(() => {
|
||||
let label = `${appearNote.value.user.username}; `;
|
||||
if (appearNote.value.renote) {
|
||||
label += `${i18n.t("renoted")} ${
|
||||
appearNote.value.renote.user.username
|
||||
}; `;
|
||||
label += `${i18n.t("renoted")} ${appearNote.value.renote.user.username}; `;
|
||||
if (appearNote.value.renote.cw) {
|
||||
label += `${i18n.t("cw")}: ${appearNote.value.renote.cw}; `;
|
||||
if (postIsExpanded.value) {
|
||||
|
|
|
@ -130,9 +130,7 @@ const searchUsers = ref(
|
|||
);
|
||||
const searchRange = ref(
|
||||
searchParams.has("since") || searchParams.has("until")
|
||||
? `${searchParams.get("since") ?? ""}-${
|
||||
searchParams.get("until") ?? ""
|
||||
}`
|
||||
? `${searchParams.get("since") ?? ""}-${searchParams.get("until") ?? ""}`
|
||||
: "",
|
||||
);
|
||||
const searchPostsWithFiles = ref(searchParams.get("withFiles") === "1");
|
||||
|
|
|
@ -23,15 +23,10 @@
|
|||
"useDefineForClassFields": true,
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["./src/*"],
|
||||
"@/*": ["./src/*"]
|
||||
},
|
||||
"typeRoots": [
|
||||
"node_modules/@types",
|
||||
"@types",
|
||||
],
|
||||
"types": [
|
||||
"vite/client",
|
||||
],
|
||||
"typeRoots": ["node_modules/@types", "@types"],
|
||||
"types": ["vite/client"],
|
||||
"lib": ["esnext", "dom"],
|
||||
"jsx": "preserve"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue