From cdba25414065717defdf7f4367f6159038f12fe1 Mon Sep 17 00:00:00 2001 From: Bill D Date: Sat, 20 Mar 2021 08:35:48 +0400 Subject: [PATCH] EntryEdits etc --- package.json | 2 +- src/types.ts | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3941efa..a5bd1f0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/pashto-inflector", - "version": "0.3.3", + "version": "0.3.4", "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/types.ts b/src/types.ts index 274ea76..f4bc0ae 100644 --- a/src/types.ts +++ b/src/types.ts @@ -417,4 +417,12 @@ export type DisplayFormSubgroup = { content: DisplayFormItem[], } -export type AayTail = "ey" | "aay"; \ No newline at end of file +export type AayTail = "ey" | "aay"; + +export type EntryEdit = { + entry: DictionaryEntry, + comment: string, + final?: boolean, +} + +export type EditsSubmission = EntryEdit[]; \ No newline at end of file