@ethnolib/find-language 0.1.2 → 0.1.4

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.
@@ -17,19 +17,31 @@ export declare enum LanguageType {
17
17
  Unknown = "Unknown",
18
18
  Custom = "Custom"
19
19
  }
20
- export declare const MACROLANGUAGE_SITUATION_UNKNOWN = "unknown";
21
20
  export interface ILanguage {
22
21
  autonym?: string;
23
22
  exonym: string;
24
23
  iso639_3_code: string;
25
24
  languageSubtag: string;
26
- regionNames: string;
25
+ regionNamesForDisplay: string;
26
+ regionNamesForSearch: string[];
27
27
  names: string[];
28
28
  scripts: IScript[];
29
29
  variants?: string;
30
30
  alternativeTags: string[];
31
- aliasMacrolanguage?: string;
31
+ isMacrolanguage: boolean;
32
+ parentMacrolanguage?: ILanguage;
33
+ isRepresentativeForMacrolanguage?: boolean;
32
34
  languageType: LanguageType;
33
35
  manuallyEnteredTag?: string;
34
36
  [key: string]: any;
35
37
  }
38
+ export interface ICustomizableLanguageDetails {
39
+ customDisplayName?: string;
40
+ region?: IRegion;
41
+ dialect?: string;
42
+ }
43
+ export interface IOrthography {
44
+ language?: ILanguage;
45
+ script?: IScript;
46
+ customDetails?: ICustomizableLanguageDetails;
47
+ }