Add OpenAPI
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user