From 34cadd45151fe86dff4116876db2f169d14838f9 Mon Sep 17 00:00:00 2001 From: lingdocs <71590811+lingdocs@users.noreply.github.com> Date: Sun, 4 Jul 2021 21:55:43 +0300 Subject: [PATCH] oops --- package.json | 2 +- src/lib/fields.ts | 25 ++++++++++++++++++++++++- src/lib/protobuf.test.ts | 2 +- 3 files changed, 26 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index ff984b7..0e9fa6f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/pashto-inflector", - "version": "0.5.0", + "version": "0.5.1", "author": "lingdocs.com", "description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations", "homepage": "https://verbs.lingdocs.com", diff --git a/src/lib/fields.ts b/src/lib/fields.ts index 3cec6bb..db7d398 100644 --- a/src/lib/fields.ts +++ b/src/lib/fields.ts @@ -1,7 +1,30 @@ import * as T from "../types"; export const dictionaryEntryTextFields: T.DictionaryEntryTextField[] = [ - "p", "f", "e", "c", "infap", "infaf", "infbp", "infbf", "app", "apf", "ppp", "ppf", "psp", "psf", "ssp", "ssf", "prp", "prf", "pprtp", "pprtf", "tppp", "tppf", "ec", + "p", + "f", + "e", + "c", + "infap", + "infaf", + "infbp", + "infbf", + "app", + "apf", + "ppp", + "ppf", + "psp", + "psf", + "ssp", + "ssf", + "prp", + "prf", + "pprtp", + "pprtf", + "tppp", + "tppf", + "ec", + "ep", ]; export const dictionaryEntryBooleanFields: T.DictionaryEntryBooleanField[] = [ "noInf", "shortIntrans", "noOo", "sepOo", "diacExcept", diff --git a/src/lib/protobuf.test.ts b/src/lib/protobuf.test.ts index 20f86f1..5f6449a 100644 --- a/src/lib/protobuf.test.ts +++ b/src/lib/protobuf.test.ts @@ -18,7 +18,7 @@ const sampleDictionaryInfo: T.DictionaryInfo = { const sampleDictionary: T.Dictionary = { info: sampleDictionaryInfo, entries: [ - {"i":616,"ts":1527813108,"p":"اظهار","f":"izháar","g":"izhaar","e":"expression, statement, declaration","c":"n. m."}, + {"i":616,"ts":1527813108,"p":"اظهار","f":"izháar","g":"izhaar","e":"expression, statement, declaration","c":"n. m.","ec":"cool"}, ], }