From ae12336f85e1647d2373b62f10ef473ab604e1a8 Mon Sep 17 00:00:00 2001 From: adueck Date: Sun, 22 Jan 2023 20:40:34 +0500 Subject: [PATCH] add AllWordsWithInflections type --- package-lock.json | 4 ++-- package.json | 2 +- src/components/package.json | 2 +- src/lib/package.json | 2 +- src/types.ts | 5 +++++ 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 50447d8..7fb7439 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pashto-inflector", - "version": "5.4.1", + "version": "5.4.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "pashto-inflector", - "version": "5.4.1", + "version": "5.4.2", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 87a8588..d397af1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pashto-inflector", - "version": "5.4.1", + "version": "5.4.2", "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/components/package.json b/src/components/package.json index ab6a8c7..02e3bf3 100644 --- a/src/components/package.json +++ b/src/components/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/ps-react", - "version": "5.4.1", + "version": "5.4.2", "description": "Pashto inflector library module with React components", "main": "dist/components/library.js", "module": "dist/components/library.js", diff --git a/src/lib/package.json b/src/lib/package.json index 1e51aa5..bf4063c 100644 --- a/src/lib/package.json +++ b/src/lib/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/inflect", - "version": "5.4.1", + "version": "5.4.2", "description": "Pashto inflector library", "main": "dist/index.js", "types": "dist/lib/library.d.ts", diff --git a/src/types.ts b/src/types.ts index fa609db..3d64836 100644 --- a/src/types.ts +++ b/src/types.ts @@ -28,6 +28,11 @@ export type Dictionary = { entries: DictionaryEntry[]; } +export type WordlistWithInflections = { + info: DictionaryInfo, + words: PsString[], +}; + // TODO: MAKE THIS A RECORD TYPE // Record && Record && // Partial> && Partial>