Skip to content

Commit

Permalink
common: Update types
Browse files Browse the repository at this point in the history
  • Loading branch information
laymonage committed Feb 25, 2024
1 parent 4d1a50e commit 232ae0d
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 0 deletions.
11 changes: 11 additions & 0 deletions react/src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,30 @@ export type Theme =
| 'transparent_dark'
| 'noborder_light'
| 'noborder_dark'
| 'noborder_gray'
| 'cobalt'
| 'purple_dark'
| `https://${string}`
| GenericString;

export type AvailableLanguage =
| 'ar'
| 'ca'
| 'da'
| 'de'
| 'en'
| 'eo'
| 'es'
| 'fa'
| 'fr'
| 'gr'
| 'gsw'
| 'he'
| 'hu'
| 'id'
| 'it'
| 'ja'
| 'kh'
| 'ko'
| 'nl'
| 'pl'
Expand All @@ -54,7 +62,10 @@ export type AvailableLanguage =
| 'tr'
| 'vi'
| 'uk'
| 'uz'
| 'zh-CN'
| 'zh-Hans'
| 'zh-Hant'
| 'zh-TW'
| GenericString;

Expand Down
11 changes: 11 additions & 0 deletions solid/src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,30 @@ export type Theme =
| 'transparent_dark'
| 'noborder_light'
| 'noborder_dark'
| 'noborder_gray'
| 'cobalt'
| 'purple_dark'
| `https://${string}`
| GenericString;

export type AvailableLanguage =
| 'ar'
| 'ca'
| 'da'
| 'de'
| 'en'
| 'eo'
| 'es'
| 'fa'
| 'fr'
| 'gr'
| 'gsw'
| 'he'
| 'hu'
| 'id'
| 'it'
| 'ja'
| 'kh'
| 'ko'
| 'nl'
| 'pl'
Expand All @@ -54,7 +62,10 @@ export type AvailableLanguage =
| 'tr'
| 'vi'
| 'uk'
| 'uz'
| 'zh-CN'
| 'zh-Hans'
| 'zh-Hant'
| 'zh-TW'
| GenericString;

Expand Down
11 changes: 11 additions & 0 deletions svelte/src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,30 @@ export type Theme =
| 'transparent_dark'
| 'noborder_light'
| 'noborder_dark'
| 'noborder_gray'
| 'cobalt'
| 'purple_dark'
| `https://${string}`
| GenericString;

export type AvailableLanguage =
| 'ar'
| 'ca'
| 'da'
| 'de'
| 'en'
| 'eo'
| 'es'
| 'fa'
| 'fr'
| 'gr'
| 'gsw'
| 'he'
| 'hu'
| 'id'
| 'it'
| 'ja'
| 'kh'
| 'ko'
| 'nl'
| 'pl'
Expand All @@ -54,7 +62,10 @@ export type AvailableLanguage =
| 'tr'
| 'vi'
| 'uk'
| 'uz'
| 'zh-CN'
| 'zh-Hans'
| 'zh-Hant'
| 'zh-TW'
| GenericString;

Expand Down
11 changes: 11 additions & 0 deletions vue/src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,30 @@ export type Theme =
| 'transparent_dark'
| 'noborder_light'
| 'noborder_dark'
| 'noborder_gray'
| 'cobalt'
| 'purple_dark'
| `https://${string}`
| GenericString;

export type AvailableLanguage =
| 'ar'
| 'ca'
| 'da'
| 'de'
| 'en'
| 'eo'
| 'es'
| 'fa'
| 'fr'
| 'gr'
| 'gsw'
| 'he'
| 'hu'
| 'id'
| 'it'
| 'ja'
| 'kh'
| 'ko'
| 'nl'
| 'pl'
Expand All @@ -54,7 +62,10 @@ export type AvailableLanguage =
| 'tr'
| 'vi'
| 'uk'
| 'uz'
| 'zh-CN'
| 'zh-Hans'
| 'zh-Hant'
| 'zh-TW'
| GenericString;

Expand Down
11 changes: 11 additions & 0 deletions web/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,22 +28,30 @@ export type Theme =
| 'transparent_dark'
| 'noborder_light'
| 'noborder_dark'
| 'noborder_gray'
| 'cobalt'
| 'purple_dark'
| `https://${string}`
| GenericString;

export type AvailableLanguage =
| 'ar'
| 'ca'
| 'da'
| 'de'
| 'en'
| 'eo'
| 'es'
| 'fa'
| 'fr'
| 'gr'
| 'gsw'
| 'he'
| 'hu'
| 'id'
| 'it'
| 'ja'
| 'kh'
| 'ko'
| 'nl'
| 'pl'
Expand All @@ -54,7 +62,10 @@ export type AvailableLanguage =
| 'tr'
| 'vi'
| 'uk'
| 'uz'
| 'zh-CN'
| 'zh-Hans'
| 'zh-Hant'
| 'zh-TW'
| GenericString;

Expand Down

0 comments on commit 232ae0d

Please sign in to comment.