🔄 Synchronize Biome linting rules between relay and frontend
🛠️ Apply identical Biome configuration from frontend to relay service 🧹 Ensure consistent code formatting and quality standards across components 📝 Maintain unified development experience throughout the project
This commit is contained in:
parent
4bd0839669
commit
a4134fa416
9 changed files with 273 additions and 195 deletions
|
@ -1,4 +1,4 @@
|
|||
import type { BindValue, Database } from "@db/sqlite";
|
||||
import type { BindValue, Database } from '@db/sqlite';
|
||||
|
||||
/**
|
||||
* Construct a SQL query with placeholders for values.
|
||||
|
@ -23,8 +23,8 @@ export function sqlPartial(
|
|||
) {
|
||||
return {
|
||||
query: segments.reduce(
|
||||
(acc, str, i) => acc + str + (i < values.length ? "?" : ""),
|
||||
"",
|
||||
(acc, str, i) => acc + str + (i < values.length ? '?' : ''),
|
||||
'',
|
||||
),
|
||||
values: values,
|
||||
};
|
||||
|
@ -72,7 +72,7 @@ export function mixQuery(...queries: { query: string; values: BindValue[] }[]) {
|
|||
query: `${acc.query} ${query}`,
|
||||
values: [...acc.values, ...values],
|
||||
}),
|
||||
{ query: "", values: [] },
|
||||
{ query: '', values: [] },
|
||||
);
|
||||
return { query, values };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue