From bd22266cfc63424dd0076b9b0c0de805d3f787c5 Mon Sep 17 00:00:00 2001 From: Bill D Date: Tue, 16 Mar 2021 17:50:51 +0400 Subject: [PATCH] mistake in dictionary.proto --- package.json | 2 +- src/lib/dictionary-models.js | 6 +++--- src/lib/dictionary.proto | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index ba54757..ec8271f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/pashto-inflector", - "version": "0.2.8", + "version": "0.2.9", "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/dictionary-models.js b/src/lib/dictionary-models.js index 60a6f6d..791ce06 100644 --- a/src/lib/dictionary-models.js +++ b/src/lib/dictionary-models.js @@ -1,4 +1,4 @@ -// code generated by pbf v3.2.1 +'use strict'; // code generated by pbf v3.2.1 // DictionaryInfo ======================================== @@ -44,7 +44,7 @@ Entry._readField = function (tag, obj, pbf) { else if (tag === 10) obj.infaf = pbf.readString(); else if (tag === 11) obj.infbp = pbf.readString(); else if (tag === 12) obj.infbf = pbf.readString(); - else if (tag === 13) obj.noInf = pbf.readString(); + else if (tag === 13) obj.noInf = pbf.readBoolean(); else if (tag === 14) obj.app = pbf.readString(); else if (tag === 15) obj.apf = pbf.readString(); else if (tag === 16) obj.ppp = pbf.readString(); @@ -79,7 +79,7 @@ Entry.write = function (obj, pbf) { if (obj.infaf) pbf.writeStringField(10, obj.infaf); if (obj.infbp) pbf.writeStringField(11, obj.infbp); if (obj.infbf) pbf.writeStringField(12, obj.infbf); - if (obj.noInf) pbf.writeStringField(13, obj.noInf); + if (obj.noInf) pbf.writeBooleanField(13, obj.noInf); if (obj.app) pbf.writeStringField(14, obj.app); if (obj.apf) pbf.writeStringField(15, obj.apf); if (obj.ppp) pbf.writeStringField(16, obj.ppp); diff --git a/src/lib/dictionary.proto b/src/lib/dictionary.proto index 0944eee..f6b8e77 100644 --- a/src/lib/dictionary.proto +++ b/src/lib/dictionary.proto @@ -22,7 +22,7 @@ message Entry { string infaf = 10; string infbp = 11; string infbf = 12; - string noInf = 13; + bool noInf = 13; string app = 14; string apf = 15; string ppp = 16;