refactor: finish internal export cleanup

This commit is contained in:
2026-08-15 07:08:03 +00:00
parent ab53c654ee
commit 602c6410e1
12 changed files with 11 additions and 18 deletions
@@ -201,7 +201,7 @@ const migratePaged = async (
}
};
export const mapGeneral = (row: SourceRow, options: CurrentSeasonFixtureOptions): TargetRow => {
const mapGeneral = (row: SourceRow, options: CurrentSeasonFixtureOptions): TargetRow => {
const id = toNumber(row.no, 'general.no');
const aux = jsonObjectOrLegacyEmpty(row.aux, `general.${id}.aux`);
const meta: Record<string, JsonValue> = {
@@ -281,7 +281,7 @@ export const mapGeneral = (row: SourceRow, options: CurrentSeasonFixtureOptions)
};
};
export const mapNation = (row: SourceRow, nationEnv: Record<string, JsonValue>): TargetRow => {
const mapNation = (row: SourceRow, nationEnv: Record<string, JsonValue>): TargetRow => {
const id = toNumber(row.nation, 'nation.nation');
const aux = jsonObject(row.aux, `nation.${id}.aux`);
return {