mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
refactor(schema): simplify validation and OpenAPI generation (#2709)
This commit is contained in:
1 parent
4bc5593f9f
commit
de1fd95a99
510 files changed
+29494
-36131
No files matched your search
@@ -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;
|
||||
Reference in new issue
Block a user