Add OpenAPI

This commit is contained in:
2025-07-05 22:32:52 +02:00
parent acd910e013
commit 54a4f7e08a
98 changed files with 4816 additions and 696 deletions

View File

@@ -13,33 +13,31 @@
*/
// May contain unused imports in some cases
// @ts-ignore
import type { RegionalSet } from './regional-set';
/**
*
* @export
* @interface Region
* @enum {string}
*/
export interface Region {
/**
*
* @type {number}
* @memberof Region
*/
'id': number;
/**
*
* @type {string}
* @memberof Region
*/
'name': string;
/**
*
* @type {Set<RegionalSet>}
* @memberof Region
*/
'regionalSets': Set<RegionalSet>;
}
export const Region = {
AsianEnglish: 'ASIAN_ENGLISH',
Japanese: 'JAPANESE',
JapaneseAsian: 'JAPANESE_ASIAN',
English: 'ENGLISH',
EuropeanEnglish: 'EUROPEAN_ENGLISH',
Korean: 'KOREAN',
French: 'FRENCH',
FrenchCanadian: 'FRENCH_CANADIAN',
NaEnglish: 'NA_ENGLISH',
Oceanic: 'OCEANIC',
German: 'GERMAN',
Portuguese: 'PORTUGUESE',
Italian: 'ITALIAN',
Spanish: 'SPANISH'
} as const;
export type Region = typeof Region[keyof typeof Region];