aboutsummaryrefslogtreecommitdiff
path: root/types/ext
diff options
context:
space:
mode:
authorStefanVukovic99 <stefanvukovic44@gmail.com>2024-05-09 03:10:48 +0200
committerGitHub <noreply@github.com>2024-05-09 01:10:48 +0000
commit57d928bb82130f8f1dcbc85ddd5430721a0dbf04 (patch)
tree1c6c63a267a9eda67c17b16dd38ed89a76d6cc84 /types/ext
parentd6b3745b7fe983e1397a00f4cb0cea53cbc61f22 (diff)
add source and target language dictionary metadata (#891)
* add source and target language dictionary metadata * validate iso * add description and grc
Diffstat (limited to 'types/ext')
-rw-r--r--types/ext/dictionary-data.d.ts2
-rw-r--r--types/ext/dictionary-importer.d.ts2
2 files changed, 4 insertions, 0 deletions
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';
};