expose renderSandwich

This commit is contained in:
adueck 2023-01-14 17:40:12 +05:00
parent ea5196c803
commit db458f291c
7 changed files with 9 additions and 12 deletions

4
package-lock.json generated
View File

@ -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": {

View File

@ -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",

View File

@ -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",

View File

@ -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,

View File

@ -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",

View File

@ -30,7 +30,6 @@ import {
kidsBlank,
} from "../misc-helpers";
type BlankoutOptions = {
equative?: boolean,
ba?: boolean,

View File

@ -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" },