From 57d928bb82130f8f1dcbc85ddd5430721a0dbf04 Mon Sep 17 00:00:00 2001 From: StefanVukovic99 Date: Thu, 9 May 2024 03:10:48 +0200 Subject: add source and target language dictionary metadata (#891) * add source and target language dictionary metadata * validate iso * add description and grc --- types/ext/dictionary-data.d.ts | 2 ++ types/ext/dictionary-importer.d.ts | 2 ++ 2 files changed, 4 insertions(+) (limited to 'types') diff --git a/types/ext/dictionary-data.d.ts b/types/ext/dictionary-data.d.ts index 0128f83f..68752bbb 100644 --- a/types/ext/dictionary-data.d.ts +++ b/types/ext/dictionary-data.d.ts @@ -29,6 +29,8 @@ export type Index = { url?: string; description?: string; attribution?: string; + sourceLanguage?: string; + targetLanguage?: string; frequencyMode?: 'occurrence-based' | 'rank-based'; tagMeta?: IndexTagMeta; }; diff --git a/types/ext/dictionary-importer.d.ts b/types/ext/dictionary-importer.d.ts index 3a320f96..8807b3bc 100644 --- a/types/ext/dictionary-importer.d.ts +++ b/types/ext/dictionary-importer.d.ts @@ -65,6 +65,8 @@ export type Summary = { url?: string; description?: string; attribution?: string; + sourceLanguage?: string; + targetLanguage?: string; frequencyMode?: 'occurrence-based' | 'rank-based'; }; -- cgit v1.2.3