Adrià Vilanova MartÃnez | 2b50e91 | 2022-06-01 00:05:40 +0200 | [diff] [blame] | 1 | import creditsRaw from './credits.json5'; |
| 2 | import i18nCreditsRaw from './i18n-credits.json5'; |
| 3 | |
| 4 | interface Credit { |
| 5 | name: string; |
| 6 | url?: string; |
| 7 | author?: string; |
| 8 | license?: string; |
| 9 | } |
| 10 | |
| 11 | type Credits = Credit[] |
| 12 | |
| 13 | interface CrowdinLang { |
| 14 | id: string; |
| 15 | name: string; |
| 16 | } |
| 17 | |
| 18 | interface IntCredit { |
| 19 | name: string; |
| 20 | languages: CrowdinLang[]; |
| 21 | } |
| 22 | |
| 23 | type IntCredits = IntCredit[]; |
| 24 | |
| 25 | export const credits: Credits = creditsRaw; |
| 26 | export const i18nCredits: IntCredits = i18nCreditsRaw; |