diff options
author | LASER-Yi <[email protected]> | 2021-06-10 10:08:31 +0800 |
---|---|---|
committer | LASER-Yi <[email protected]> | 2021-06-10 10:08:31 +0800 |
commit | ac8f5c0ca5856c085b361f33735a89fb8239ff9f (patch) | |
tree | fc3d76c7201cd0d40446359a359c9e5bd4cef67c | |
parent | 054d1174000cae371ff17fe348db4ce26e71e947 (diff) | |
download | bazarr-ac8f5c0ca5856c085b361f33735a89fb8239ff9f.tar.gz bazarr-ac8f5c0ca5856c085b361f33735a89fb8239ff9f.zip |
no log: Update api.d.ts to reflect the changes in API endpoint
-rw-r--r-- | frontend/src/@types/api.d.ts | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/frontend/src/@types/api.d.ts b/frontend/src/@types/api.d.ts index 745abd12c..60cabec75 100644 --- a/frontend/src/@types/api.d.ts +++ b/frontend/src/@types/api.d.ts @@ -10,12 +10,14 @@ interface Badge { interface ApiLanguage { code2: LanguageCodeType; name: string; - hi?: boolean; - forced?: boolean; enabled: boolean; } -type Language = Omit<ApiLanguage, "enabled">; +type Language = Omit<ApiLanguage, "enabled"> & { + // TODO: Make things unify + hi?: boolean; + forced?: boolean; +}; namespace Profile { interface Item { |