style(biome): using biome for format, lint, check

This commit is contained in:
2025-11-08 12:58:40 +02:00
parent 075a388ccb
commit fdd1cbbfd5
152 changed files with 3737 additions and 3989 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ export function createPageState(request: PageRequest = {}): PageState {
const cursor = request.cursor ?? null;
const offset = (page - 1) * limit;
return { page, limit, cursor, offset };
return { cursor, limit, offset, page };
}
export function encodeCursor(
@@ -111,9 +111,9 @@ export function buildPaginationResult<T extends Record<string, unknown>>(
data,
pagination: {
current: page.page,
limit: page.limit,
cursor,
hasNext,
limit: page.limit,
},
};
}