refactor(schema): simplify validation and OpenAPI generation (#2709)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-11 23:24:26 +02:00
1 parent 4bc5593f9f
commit de1fd95a99
510 files changed
+29494 -36131

No files matched your search

+3 -5
View File
@@ -1,9 +1,7 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
import ageGeos from '@fluxer/constants/src/AgeGeos.json' with {type: 'json'};
import type {GeoEntry} from './Types';
export const AGE_RESTRICTED_GEOS: ReadonlyArray<GeoEntry> = [
{countryCode: 'GB', regionCode: null},
{countryCode: 'BR', regionCode: null},
];
export const AGE_BLOCKED_GEOS: ReadonlyArray<GeoEntry> = [{countryCode: 'US', regionCode: 'MS'}];
export const AGE_RESTRICTED_GEOS: ReadonlyArray<GeoEntry> = ageGeos.ageRestrictedGeos;
export const AGE_BLOCKED_GEOS: ReadonlyArray<GeoEntry> = ageGeos.ageBlockedGeos;