From db458f291c80e293dc3bdff26580368cca3dbb0d Mon Sep 17 00:00:00 2001 From: adueck Date: Sat, 14 Jan 2023 17:40:12 +0500 Subject: [PATCH] expose renderSandwich --- package-lock.json | 4 ++-- package.json | 2 +- src/components/package.json | 2 +- src/lib/library.ts | 4 ++++ src/lib/package.json | 2 +- src/lib/src/phrase-building/compile.ts | 1 - src/lib/src/sandwiches.ts | 6 ------ 7 files changed, 9 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6b9f9b7..613b0d0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pashto-inflector", - "version": "5.3.3", + "version": "5.3.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "pashto-inflector", - "version": "5.3.3", + "version": "5.3.4", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 781635f..6d22702 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pashto-inflector", - "version": "5.3.3", + "version": "5.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/components/package.json b/src/components/package.json index 56a5486..1cfdbfc 100644 --- a/src/components/package.json +++ b/src/components/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/ps-react", - "version": "5.3.3", + "version": "5.3.4", "description": "Pashto inflector library module with React components", "main": "dist/components/library.js", "module": "dist/components/library.js", diff --git a/src/lib/library.ts b/src/lib/library.ts index 7b6763d..c93ab0c 100644 --- a/src/lib/library.ts +++ b/src/lib/library.ts @@ -149,6 +149,9 @@ import { import { renderAPSelection, } from "./src/phrase-building/render-ap"; +import { + renderSandwich, +} from "./src/phrase-building/render-sandwich"; import { humanReadableVerbForm, humanReadableEquativeTense, @@ -219,6 +222,7 @@ export { makeLocativeAdverbSelection, makeParticipleSelection, randFromArray, + renderSandwich, renderEP, renderVP, compileEP, diff --git a/src/lib/package.json b/src/lib/package.json index 21b2887..7aef36a 100644 --- a/src/lib/package.json +++ b/src/lib/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/inflect", - "version": "5.3.3", + "version": "5.3.4", "description": "Pashto inflector library", "main": "dist/index.js", "types": "dist/lib/library.d.ts", diff --git a/src/lib/src/phrase-building/compile.ts b/src/lib/src/phrase-building/compile.ts index 6e4c012..8402434 100644 --- a/src/lib/src/phrase-building/compile.ts +++ b/src/lib/src/phrase-building/compile.ts @@ -30,7 +30,6 @@ import { kidsBlank, } from "../misc-helpers"; - type BlankoutOptions = { equative?: boolean, ba?: boolean, diff --git a/src/lib/src/sandwiches.ts b/src/lib/src/sandwiches.ts index e3db367..bd9b4c2 100644 --- a/src/lib/src/sandwiches.ts +++ b/src/lib/src/sandwiches.ts @@ -38,12 +38,6 @@ export const sandwiches: T.Sandwich[] = [ after: { p: "لپاره", f: "lapaara" }, e: "for", }, - { - type: "sandwich", - before: { p: "د", f: "du" }, - after: { p: "دپاره", f: "dupáara" }, - e: "for", - }, { type: "sandwich", before: { p: "د", f: "du" },