@mintlify/models 0.0.368 → 0.0.370
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities/index.d.ts +1 -2
- package/dist/mintconfig/index.d.ts +4 -3
- package/dist/mintconfig/index.js +3 -2
- package/dist/mintconfig/localization.d.ts +13 -4
- package/dist/mintconfig/localization.js +88 -3
- package/dist/mintconfig/regions.d.ts +2 -0
- package/dist/mintconfig/regions.js +253 -0
- package/dist/mintconfig/version.d.ts +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/entities/autopilotSuggestionType.d.ts +0 -34
- package/dist/entities/autopilotSuggestionType.js +0 -1
package/dist/entities/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { AutopilotSuggestionType, PrAutopilotSuggestion } from './autopilotSuggestionType.js';
|
|
2
1
|
import { CssFileType } from './cssFileType.js';
|
|
3
2
|
import { CustomerPageType } from './customerPageType.js';
|
|
4
3
|
import { DeploymentHistoryType } from './deploymentHistoryType.js';
|
|
@@ -14,5 +13,5 @@ import { PrivatePageType, PrivatePageGrant, PrivatePageGrantRole, PrivatePageGra
|
|
|
14
13
|
import { RssFileType } from './rssFileType.js';
|
|
15
14
|
import { SnippetType } from './snippetType.js';
|
|
16
15
|
import { type DashboardStartingPage, UserType } from './userType.js';
|
|
17
|
-
export type {
|
|
16
|
+
export type { CustomerPageType, DeploymentHistoryType, DeploymentQuotaType, DraftType, LlmTranslationHistoryType, OriginalOrgType, PlanTypeV2, OrgType, StaticPropsOrgType, SnippetType, UserType, DashboardStartingPage, CssFileType, JsFileType, OpenApiFileType, FeatureFlag, FeatureFlags, OrgEntitlement, OrgEntitlements, PrivatePageType, PrivatePageGrant, PrivatePageGrantRole, PrivatePageGrantType, RssFileType, };
|
|
18
17
|
export { orgEntitlements, PLAN_TIERS, normalizeOrgType, normalizePlan };
|
|
@@ -6,7 +6,8 @@ import { fontFormats } from './font.js';
|
|
|
6
6
|
import { footerSocialKeys } from './footer.js';
|
|
7
7
|
import { IconLibrary, iconLibraries, isNotDefaultFontawesome } from './iconLibraries.js';
|
|
8
8
|
import { IconType, iconTypes } from './iconTypes.js';
|
|
9
|
-
import { LocaleDisplayFlag, LocaleDisplayName, LocaleType, LocaleCodes, LocaleDisplayNames, LocaleDisplayFlags, locales, getLocaleDisplayName, getLocaleDisplayFlag, LlmSupportedLocaleCodes, LlmSupportedLocaleDisplayNames, LlmSupportedLocaleDisplayFlags, LlmSupportedLocaleType, LlmSupportedLocaleDisplayName, LlmSupportedLocaleDisplayFlag } from './localization.js';
|
|
9
|
+
import { KnownLocale, LocaleBaseLanguage, LocaleDisplayFlag, LocaleDisplayName, LocaleType, RegionalLocale, LocaleCodes, LocaleDisplayNames, LocaleDisplayFlags, locales, localeBaseLanguages, isKnownLocale, isLocale, normalizeLocale, getBaseLanguage, getClosestKnownLocale, getLocaleDisplayName, getLocaleDisplayFlag, LlmSupportedLocaleCodes, LlmSupportedLocaleDisplayNames, LlmSupportedLocaleDisplayFlags, LlmSupportedLocaleType, LlmSupportedLocaleDisplayName, LlmSupportedLocaleDisplayFlag } from './localization.js';
|
|
10
|
+
import { localeRegionCodes } from './regions.js';
|
|
10
11
|
import { ThemeType, themes } from './theme.js';
|
|
11
12
|
export type MintConfig = MintConfigType;
|
|
12
13
|
export type { AdobeAnalyticsConfig, AmplitudeConfig, Analytics, ClarityConfig, ClearbitConfig, FathomConfig, GoogleAnalyticsConfig, GoogleTagManagerConfig, HeapConfig, HightouchConfig, HotjarConfig, KoalaConfig, LogrocketConfig, MixpanelConfig, MixpanelRegion, PirschConfig, PlausibleConfig, PostHogConfig, SegmentConfig, } from './analytics.js';
|
|
@@ -25,7 +26,7 @@ export type { Integrations } from './mintConfigIntegrations.js';
|
|
|
25
26
|
export type { DecoratedNavigation, DecoratedNavigationEntry, DecoratedNavigationGroup, DecoratedNavigationPage, Navigation, NavigationEntry, NavigationGroup, } from './navigation.js';
|
|
26
27
|
export type { PrimaryTab, Tab } from './tab.js';
|
|
27
28
|
export type { VersionObjectType, VersionType } from './version.js';
|
|
28
|
-
export { apiParamFieldOptions, codeBlockModes, fontFormats, footerSocialKeys, iconTypes, iconLibraries, isNotDefaultFontawesome, locales, LocaleCodes, LocaleDisplayNames, LocaleDisplayFlags, getLocaleDisplayName, getLocaleDisplayFlag, LlmSupportedLocaleCodes, LlmSupportedLocaleDisplayNames, LlmSupportedLocaleDisplayFlags, requestExampleLanguages, themes, eyebrowDisplayTypes, };
|
|
29
|
+
export { apiParamFieldOptions, codeBlockModes, fontFormats, footerSocialKeys, iconTypes, iconLibraries, isNotDefaultFontawesome, locales, localeBaseLanguages, localeRegionCodes, isKnownLocale, isLocale, normalizeLocale, getBaseLanguage, getClosestKnownLocale, LocaleCodes, LocaleDisplayNames, LocaleDisplayFlags, getLocaleDisplayName, getLocaleDisplayFlag, LlmSupportedLocaleCodes, LlmSupportedLocaleDisplayNames, LlmSupportedLocaleDisplayFlags, requestExampleLanguages, themes, eyebrowDisplayTypes, };
|
|
29
30
|
export type { MintConfigType, IconType, ThemeType, IconLibrary };
|
|
30
|
-
export type { LocaleType, LocaleDisplayName, LocaleDisplayFlag, LlmSupportedLocaleType, LlmSupportedLocaleDisplayName, LlmSupportedLocaleDisplayFlag, };
|
|
31
|
+
export type { KnownLocale, LocaleBaseLanguage, LocaleType, RegionalLocale, LocaleDisplayName, LocaleDisplayFlag, LlmSupportedLocaleType, LlmSupportedLocaleDisplayName, LlmSupportedLocaleDisplayFlag, };
|
|
31
32
|
export type { Eyebrow } from './eyebrow.js';
|
package/dist/mintconfig/index.js
CHANGED
|
@@ -5,6 +5,7 @@ import { fontFormats } from './font.js';
|
|
|
5
5
|
import { footerSocialKeys } from './footer.js';
|
|
6
6
|
import { iconLibraries, isNotDefaultFontawesome } from './iconLibraries.js';
|
|
7
7
|
import { iconTypes } from './iconTypes.js';
|
|
8
|
-
import { LocaleCodes, LocaleDisplayNames, LocaleDisplayFlags, locales, getLocaleDisplayName, getLocaleDisplayFlag, LlmSupportedLocaleCodes, LlmSupportedLocaleDisplayNames, LlmSupportedLocaleDisplayFlags, } from './localization.js';
|
|
8
|
+
import { LocaleCodes, LocaleDisplayNames, LocaleDisplayFlags, locales, localeBaseLanguages, isKnownLocale, isLocale, normalizeLocale, getBaseLanguage, getClosestKnownLocale, getLocaleDisplayName, getLocaleDisplayFlag, LlmSupportedLocaleCodes, LlmSupportedLocaleDisplayNames, LlmSupportedLocaleDisplayFlags, } from './localization.js';
|
|
9
|
+
import { localeRegionCodes } from './regions.js';
|
|
9
10
|
import { themes } from './theme.js';
|
|
10
|
-
export { apiParamFieldOptions, codeBlockModes, fontFormats, footerSocialKeys, iconTypes, iconLibraries, isNotDefaultFontawesome, locales, LocaleCodes, LocaleDisplayNames, LocaleDisplayFlags, getLocaleDisplayName, getLocaleDisplayFlag, LlmSupportedLocaleCodes, LlmSupportedLocaleDisplayNames, LlmSupportedLocaleDisplayFlags, requestExampleLanguages, themes, eyebrowDisplayTypes, };
|
|
11
|
+
export { apiParamFieldOptions, codeBlockModes, fontFormats, footerSocialKeys, iconTypes, iconLibraries, isNotDefaultFontawesome, locales, localeBaseLanguages, localeRegionCodes, isKnownLocale, isLocale, normalizeLocale, getBaseLanguage, getClosestKnownLocale, LocaleCodes, LocaleDisplayNames, LocaleDisplayFlags, getLocaleDisplayName, getLocaleDisplayFlag, LlmSupportedLocaleCodes, LlmSupportedLocaleDisplayNames, LlmSupportedLocaleDisplayFlags, requestExampleLanguages, themes, eyebrowDisplayTypes, };
|
|
@@ -83,15 +83,24 @@ export declare const localeDisplayFlags: {
|
|
|
83
83
|
readonly fi: "🇫🇮";
|
|
84
84
|
readonly hu: "🇭🇺";
|
|
85
85
|
};
|
|
86
|
-
export type
|
|
86
|
+
export type KnownLocale = (typeof locales)[number];
|
|
87
|
+
export declare const localeBaseLanguages: readonly ["en", "zh", "es", "fr", "ja", "pt", "de", "ko", "it", "ru", "ro", "cs", "id", "ar", "tr", "hi", "sv", "no", "da", "lv", "nl", "uk", "vi", "pl", "uz", "he", "ca", "fi", "hu"];
|
|
88
|
+
export type LocaleBaseLanguage = (typeof localeBaseLanguages)[number];
|
|
89
|
+
export type RegionalLocale = `${LocaleBaseLanguage}-${string}`;
|
|
90
|
+
export type LocaleType = KnownLocale | RegionalLocale;
|
|
87
91
|
export type LocaleDisplayName = (typeof localeDisplayNames)[keyof typeof localeDisplayNames];
|
|
88
92
|
export type LocaleDisplayFlag = (typeof localeDisplayFlags)[keyof typeof localeDisplayFlags];
|
|
89
|
-
export declare const
|
|
90
|
-
export declare const
|
|
93
|
+
export declare const isKnownLocale: (value: string) => value is KnownLocale;
|
|
94
|
+
export declare const normalizeLocale: (value: string) => LocaleType | undefined;
|
|
95
|
+
export declare const isLocale: (value: string) => value is LocaleType;
|
|
96
|
+
export declare const getBaseLanguage: (locale: LocaleType) => LocaleBaseLanguage;
|
|
97
|
+
export declare const getClosestKnownLocale: (locale: LocaleType) => KnownLocale;
|
|
98
|
+
export declare const getLocaleDisplayName: (locale: LocaleType) => string;
|
|
99
|
+
export declare const getLocaleDisplayFlag: (locale: LocaleType) => string;
|
|
91
100
|
export declare const LocaleCodes: LocaleType[];
|
|
92
101
|
export declare const LocaleDisplayNames: LocaleDisplayName[];
|
|
93
102
|
export declare const LocaleDisplayFlags: LocaleDisplayFlag[];
|
|
94
|
-
export declare const LlmSupportedLocaleCodes:
|
|
103
|
+
export declare const LlmSupportedLocaleCodes: LocaleType[];
|
|
95
104
|
export declare const LlmSupportedLocaleDisplayNames: LocaleDisplayName[];
|
|
96
105
|
export declare const LlmSupportedLocaleDisplayFlags: LocaleDisplayFlag[];
|
|
97
106
|
export type LlmSupportedLocaleType = (typeof LlmSupportedLocaleCodes)[number];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { LATIN_AMERICA_REGION, localeRegionCodes } from './regions.js';
|
|
1
2
|
/*
|
|
2
3
|
Currently supported languages, should be ISO 639:
|
|
3
4
|
English - en
|
|
@@ -159,13 +160,97 @@ export const localeDisplayFlags = {
|
|
|
159
160
|
fi: '🇫🇮',
|
|
160
161
|
hu: '🇭🇺',
|
|
161
162
|
};
|
|
163
|
+
export const localeBaseLanguages = [
|
|
164
|
+
'en',
|
|
165
|
+
'zh',
|
|
166
|
+
'es',
|
|
167
|
+
'fr',
|
|
168
|
+
'ja',
|
|
169
|
+
'pt',
|
|
170
|
+
'de',
|
|
171
|
+
'ko',
|
|
172
|
+
'it',
|
|
173
|
+
'ru',
|
|
174
|
+
'ro',
|
|
175
|
+
'cs',
|
|
176
|
+
'id',
|
|
177
|
+
'ar',
|
|
178
|
+
'tr',
|
|
179
|
+
'hi',
|
|
180
|
+
'sv',
|
|
181
|
+
'no',
|
|
182
|
+
'da',
|
|
183
|
+
'lv',
|
|
184
|
+
'nl',
|
|
185
|
+
'uk',
|
|
186
|
+
'vi',
|
|
187
|
+
'pl',
|
|
188
|
+
'uz',
|
|
189
|
+
'he',
|
|
190
|
+
'ca',
|
|
191
|
+
'fi',
|
|
192
|
+
'hu',
|
|
193
|
+
];
|
|
194
|
+
const knownLocales = new Set(locales);
|
|
195
|
+
const baseLanguages = new Set(localeBaseLanguages);
|
|
196
|
+
const regions = new Set(localeRegionCodes);
|
|
197
|
+
const traditionalChineseRegions = new Set(['HK', 'MO']);
|
|
198
|
+
export const isKnownLocale = (value) => knownLocales.has(value);
|
|
199
|
+
const isBaseLanguage = (value) => baseLanguages.has(value);
|
|
200
|
+
export const normalizeLocale = (value) => {
|
|
201
|
+
const [language, region, ...rest] = value.split('-');
|
|
202
|
+
const upperRegion = region === null || region === void 0 ? void 0 : region.toUpperCase();
|
|
203
|
+
if (language &&
|
|
204
|
+
isBaseLanguage(language) &&
|
|
205
|
+
upperRegion &&
|
|
206
|
+
regions.has(upperRegion) &&
|
|
207
|
+
!rest.length) {
|
|
208
|
+
return `${language}-${upperRegion}`;
|
|
209
|
+
}
|
|
210
|
+
return isKnownLocale(value) ? value : undefined;
|
|
211
|
+
};
|
|
212
|
+
export const isLocale = (value) => normalizeLocale(value) !== undefined;
|
|
213
|
+
export const getBaseLanguage = (locale) => {
|
|
214
|
+
if (locale === 'cn')
|
|
215
|
+
return 'zh';
|
|
216
|
+
if (locale === 'jp')
|
|
217
|
+
return 'ja';
|
|
218
|
+
const [language = ''] = locale.split('-');
|
|
219
|
+
return isBaseLanguage(language) ? language : 'en';
|
|
220
|
+
};
|
|
221
|
+
export const getClosestKnownLocale = (locale) => {
|
|
222
|
+
var _a;
|
|
223
|
+
const normalized = (_a = normalizeLocale(locale)) !== null && _a !== void 0 ? _a : locale;
|
|
224
|
+
if (isKnownLocale(normalized))
|
|
225
|
+
return normalized;
|
|
226
|
+
const [language, region = ''] = normalized.split('-');
|
|
227
|
+
if (language === 'zh' && traditionalChineseRegions.has(region))
|
|
228
|
+
return 'zh-Hant';
|
|
229
|
+
return getBaseLanguage(locale);
|
|
230
|
+
};
|
|
162
231
|
export const getLocaleDisplayName = (locale) => {
|
|
163
|
-
|
|
232
|
+
var _a;
|
|
233
|
+
const normalized = normalizeLocale(locale);
|
|
234
|
+
if (!normalized)
|
|
235
|
+
return locale;
|
|
236
|
+
if (isKnownLocale(normalized))
|
|
237
|
+
return localeDisplayNames[normalized];
|
|
238
|
+
const names = new Intl.DisplayNames(['en'], { type: 'language', languageDisplay: 'standard' });
|
|
239
|
+
return (_a = names.of(normalized)) !== null && _a !== void 0 ? _a : normalized;
|
|
164
240
|
};
|
|
241
|
+
const REGIONAL_INDICATOR_OFFSET = 0x1f1e6 - 'A'.charCodeAt(0);
|
|
242
|
+
const regionToFlagEmoji = (region) => String.fromCodePoint(...[...region].map((letter) => letter.charCodeAt(0) + REGIONAL_INDICATOR_OFFSET));
|
|
165
243
|
export const getLocaleDisplayFlag = (locale) => {
|
|
166
|
-
|
|
244
|
+
var _a;
|
|
245
|
+
const normalized = normalizeLocale(locale);
|
|
246
|
+
if (normalized && isKnownLocale(normalized))
|
|
247
|
+
return localeDisplayFlags[normalized];
|
|
248
|
+
const [, region = ''] = (_a = normalized === null || normalized === void 0 ? void 0 : normalized.split('-')) !== null && _a !== void 0 ? _a : [];
|
|
249
|
+
if (!region || region === LATIN_AMERICA_REGION)
|
|
250
|
+
return localeDisplayFlags[getBaseLanguage(locale)];
|
|
251
|
+
return regionToFlagEmoji(region);
|
|
167
252
|
};
|
|
168
|
-
export const LocaleCodes =
|
|
253
|
+
export const LocaleCodes = [...locales];
|
|
169
254
|
export const LocaleDisplayNames = Object.values(localeDisplayNames);
|
|
170
255
|
export const LocaleDisplayFlags = Object.values(localeDisplayFlags);
|
|
171
256
|
export const LlmSupportedLocaleCodes = LocaleCodes;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const LATIN_AMERICA_REGION = "419";
|
|
2
|
+
export declare const localeRegionCodes: readonly ["419", "AD", "AE", "AF", "AG", "AI", "AL", "AM", "AO", "AQ", "AR", "AS", "AT", "AU", "AW", "AX", "AZ", "BA", "BB", "BD", "BE", "BF", "BG", "BH", "BI", "BJ", "BL", "BM", "BN", "BO", "BQ", "BR", "BS", "BT", "BV", "BW", "BY", "BZ", "CA", "CC", "CD", "CF", "CG", "CH", "CI", "CK", "CL", "CM", "CN", "CO", "CR", "CU", "CV", "CW", "CX", "CY", "CZ", "DE", "DJ", "DK", "DM", "DO", "DZ", "EC", "EE", "EG", "EH", "ER", "ES", "ET", "FI", "FJ", "FK", "FM", "FO", "FR", "GA", "GB", "GD", "GE", "GF", "GG", "GH", "GI", "GL", "GM", "GN", "GP", "GQ", "GR", "GS", "GT", "GU", "GW", "GY", "HK", "HM", "HN", "HR", "HT", "HU", "ID", "IE", "IL", "IM", "IN", "IO", "IQ", "IR", "IS", "IT", "JE", "JM", "JO", "JP", "KE", "KG", "KH", "KI", "KM", "KN", "KP", "KR", "KW", "KY", "KZ", "LA", "LB", "LC", "LI", "LK", "LR", "LS", "LT", "LU", "LV", "LY", "MA", "MC", "MD", "ME", "MF", "MG", "MH", "MK", "ML", "MM", "MN", "MO", "MP", "MQ", "MR", "MS", "MT", "MU", "MV", "MW", "MX", "MY", "MZ", "NA", "NC", "NE", "NF", "NG", "NI", "NL", "NO", "NP", "NR", "NU", "NZ", "OM", "PA", "PE", "PF", "PG", "PH", "PK", "PL", "PM", "PN", "PR", "PS", "PT", "PW", "PY", "QA", "RE", "RO", "RS", "RU", "RW", "SA", "SB", "SC", "SD", "SE", "SG", "SH", "SI", "SJ", "SK", "SL", "SM", "SN", "SO", "SR", "SS", "ST", "SV", "SX", "SY", "SZ", "TC", "TD", "TF", "TG", "TH", "TJ", "TK", "TL", "TM", "TN", "TO", "TR", "TT", "TV", "TW", "TZ", "UA", "UG", "UM", "US", "UY", "UZ", "VA", "VC", "VE", "VG", "VI", "VN", "VU", "WF", "WS", "YE", "YT", "ZA", "ZM", "ZW"];
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
export const LATIN_AMERICA_REGION = '419';
|
|
2
|
+
export const localeRegionCodes = [
|
|
3
|
+
LATIN_AMERICA_REGION,
|
|
4
|
+
'AD',
|
|
5
|
+
'AE',
|
|
6
|
+
'AF',
|
|
7
|
+
'AG',
|
|
8
|
+
'AI',
|
|
9
|
+
'AL',
|
|
10
|
+
'AM',
|
|
11
|
+
'AO',
|
|
12
|
+
'AQ',
|
|
13
|
+
'AR',
|
|
14
|
+
'AS',
|
|
15
|
+
'AT',
|
|
16
|
+
'AU',
|
|
17
|
+
'AW',
|
|
18
|
+
'AX',
|
|
19
|
+
'AZ',
|
|
20
|
+
'BA',
|
|
21
|
+
'BB',
|
|
22
|
+
'BD',
|
|
23
|
+
'BE',
|
|
24
|
+
'BF',
|
|
25
|
+
'BG',
|
|
26
|
+
'BH',
|
|
27
|
+
'BI',
|
|
28
|
+
'BJ',
|
|
29
|
+
'BL',
|
|
30
|
+
'BM',
|
|
31
|
+
'BN',
|
|
32
|
+
'BO',
|
|
33
|
+
'BQ',
|
|
34
|
+
'BR',
|
|
35
|
+
'BS',
|
|
36
|
+
'BT',
|
|
37
|
+
'BV',
|
|
38
|
+
'BW',
|
|
39
|
+
'BY',
|
|
40
|
+
'BZ',
|
|
41
|
+
'CA',
|
|
42
|
+
'CC',
|
|
43
|
+
'CD',
|
|
44
|
+
'CF',
|
|
45
|
+
'CG',
|
|
46
|
+
'CH',
|
|
47
|
+
'CI',
|
|
48
|
+
'CK',
|
|
49
|
+
'CL',
|
|
50
|
+
'CM',
|
|
51
|
+
'CN',
|
|
52
|
+
'CO',
|
|
53
|
+
'CR',
|
|
54
|
+
'CU',
|
|
55
|
+
'CV',
|
|
56
|
+
'CW',
|
|
57
|
+
'CX',
|
|
58
|
+
'CY',
|
|
59
|
+
'CZ',
|
|
60
|
+
'DE',
|
|
61
|
+
'DJ',
|
|
62
|
+
'DK',
|
|
63
|
+
'DM',
|
|
64
|
+
'DO',
|
|
65
|
+
'DZ',
|
|
66
|
+
'EC',
|
|
67
|
+
'EE',
|
|
68
|
+
'EG',
|
|
69
|
+
'EH',
|
|
70
|
+
'ER',
|
|
71
|
+
'ES',
|
|
72
|
+
'ET',
|
|
73
|
+
'FI',
|
|
74
|
+
'FJ',
|
|
75
|
+
'FK',
|
|
76
|
+
'FM',
|
|
77
|
+
'FO',
|
|
78
|
+
'FR',
|
|
79
|
+
'GA',
|
|
80
|
+
'GB',
|
|
81
|
+
'GD',
|
|
82
|
+
'GE',
|
|
83
|
+
'GF',
|
|
84
|
+
'GG',
|
|
85
|
+
'GH',
|
|
86
|
+
'GI',
|
|
87
|
+
'GL',
|
|
88
|
+
'GM',
|
|
89
|
+
'GN',
|
|
90
|
+
'GP',
|
|
91
|
+
'GQ',
|
|
92
|
+
'GR',
|
|
93
|
+
'GS',
|
|
94
|
+
'GT',
|
|
95
|
+
'GU',
|
|
96
|
+
'GW',
|
|
97
|
+
'GY',
|
|
98
|
+
'HK',
|
|
99
|
+
'HM',
|
|
100
|
+
'HN',
|
|
101
|
+
'HR',
|
|
102
|
+
'HT',
|
|
103
|
+
'HU',
|
|
104
|
+
'ID',
|
|
105
|
+
'IE',
|
|
106
|
+
'IL',
|
|
107
|
+
'IM',
|
|
108
|
+
'IN',
|
|
109
|
+
'IO',
|
|
110
|
+
'IQ',
|
|
111
|
+
'IR',
|
|
112
|
+
'IS',
|
|
113
|
+
'IT',
|
|
114
|
+
'JE',
|
|
115
|
+
'JM',
|
|
116
|
+
'JO',
|
|
117
|
+
'JP',
|
|
118
|
+
'KE',
|
|
119
|
+
'KG',
|
|
120
|
+
'KH',
|
|
121
|
+
'KI',
|
|
122
|
+
'KM',
|
|
123
|
+
'KN',
|
|
124
|
+
'KP',
|
|
125
|
+
'KR',
|
|
126
|
+
'KW',
|
|
127
|
+
'KY',
|
|
128
|
+
'KZ',
|
|
129
|
+
'LA',
|
|
130
|
+
'LB',
|
|
131
|
+
'LC',
|
|
132
|
+
'LI',
|
|
133
|
+
'LK',
|
|
134
|
+
'LR',
|
|
135
|
+
'LS',
|
|
136
|
+
'LT',
|
|
137
|
+
'LU',
|
|
138
|
+
'LV',
|
|
139
|
+
'LY',
|
|
140
|
+
'MA',
|
|
141
|
+
'MC',
|
|
142
|
+
'MD',
|
|
143
|
+
'ME',
|
|
144
|
+
'MF',
|
|
145
|
+
'MG',
|
|
146
|
+
'MH',
|
|
147
|
+
'MK',
|
|
148
|
+
'ML',
|
|
149
|
+
'MM',
|
|
150
|
+
'MN',
|
|
151
|
+
'MO',
|
|
152
|
+
'MP',
|
|
153
|
+
'MQ',
|
|
154
|
+
'MR',
|
|
155
|
+
'MS',
|
|
156
|
+
'MT',
|
|
157
|
+
'MU',
|
|
158
|
+
'MV',
|
|
159
|
+
'MW',
|
|
160
|
+
'MX',
|
|
161
|
+
'MY',
|
|
162
|
+
'MZ',
|
|
163
|
+
'NA',
|
|
164
|
+
'NC',
|
|
165
|
+
'NE',
|
|
166
|
+
'NF',
|
|
167
|
+
'NG',
|
|
168
|
+
'NI',
|
|
169
|
+
'NL',
|
|
170
|
+
'NO',
|
|
171
|
+
'NP',
|
|
172
|
+
'NR',
|
|
173
|
+
'NU',
|
|
174
|
+
'NZ',
|
|
175
|
+
'OM',
|
|
176
|
+
'PA',
|
|
177
|
+
'PE',
|
|
178
|
+
'PF',
|
|
179
|
+
'PG',
|
|
180
|
+
'PH',
|
|
181
|
+
'PK',
|
|
182
|
+
'PL',
|
|
183
|
+
'PM',
|
|
184
|
+
'PN',
|
|
185
|
+
'PR',
|
|
186
|
+
'PS',
|
|
187
|
+
'PT',
|
|
188
|
+
'PW',
|
|
189
|
+
'PY',
|
|
190
|
+
'QA',
|
|
191
|
+
'RE',
|
|
192
|
+
'RO',
|
|
193
|
+
'RS',
|
|
194
|
+
'RU',
|
|
195
|
+
'RW',
|
|
196
|
+
'SA',
|
|
197
|
+
'SB',
|
|
198
|
+
'SC',
|
|
199
|
+
'SD',
|
|
200
|
+
'SE',
|
|
201
|
+
'SG',
|
|
202
|
+
'SH',
|
|
203
|
+
'SI',
|
|
204
|
+
'SJ',
|
|
205
|
+
'SK',
|
|
206
|
+
'SL',
|
|
207
|
+
'SM',
|
|
208
|
+
'SN',
|
|
209
|
+
'SO',
|
|
210
|
+
'SR',
|
|
211
|
+
'SS',
|
|
212
|
+
'ST',
|
|
213
|
+
'SV',
|
|
214
|
+
'SX',
|
|
215
|
+
'SY',
|
|
216
|
+
'SZ',
|
|
217
|
+
'TC',
|
|
218
|
+
'TD',
|
|
219
|
+
'TF',
|
|
220
|
+
'TG',
|
|
221
|
+
'TH',
|
|
222
|
+
'TJ',
|
|
223
|
+
'TK',
|
|
224
|
+
'TL',
|
|
225
|
+
'TM',
|
|
226
|
+
'TN',
|
|
227
|
+
'TO',
|
|
228
|
+
'TR',
|
|
229
|
+
'TT',
|
|
230
|
+
'TV',
|
|
231
|
+
'TW',
|
|
232
|
+
'TZ',
|
|
233
|
+
'UA',
|
|
234
|
+
'UG',
|
|
235
|
+
'UM',
|
|
236
|
+
'US',
|
|
237
|
+
'UY',
|
|
238
|
+
'UZ',
|
|
239
|
+
'VA',
|
|
240
|
+
'VC',
|
|
241
|
+
'VE',
|
|
242
|
+
'VG',
|
|
243
|
+
'VI',
|
|
244
|
+
'VN',
|
|
245
|
+
'VU',
|
|
246
|
+
'WF',
|
|
247
|
+
'WS',
|
|
248
|
+
'YE',
|
|
249
|
+
'YT',
|
|
250
|
+
'ZA',
|
|
251
|
+
'ZM',
|
|
252
|
+
'ZW',
|
|
253
|
+
];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { KnownLocale } from './localization.js';
|
|
2
2
|
export type VersionType = string | VersionObjectType;
|
|
3
3
|
export type VersionObjectType = {
|
|
4
4
|
name: string;
|
|
5
5
|
url?: string;
|
|
6
6
|
default?: true;
|
|
7
|
-
locale?:
|
|
7
|
+
locale?: KnownLocale;
|
|
8
8
|
};
|