Skip to content

Commit ae897b9

Browse files
authored
chore: update protobuf (#221)
1 parent f724f18 commit ae897b9

6 files changed

Lines changed: 755 additions & 528 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"fontfaceobserver": "2.3.0",
3737
"framer-motion": "12.40.0",
3838
"nearley": "2.20.1",
39-
"protobufjs": "8.0.1",
39+
"protobufjs": "8.6.3",
4040
"react": "19.2.7",
4141
"react-dom": "19.2.7",
4242
"tailwindcss": "4.3.1",
@@ -57,7 +57,7 @@
5757
"oxfmt": "0.54.0",
5858
"oxlint": "1.69.0",
5959
"oxlint-tsgolint": "0.23.0",
60-
"protobufjs-cli": "2.0.1",
60+
"protobufjs-cli": "2.5.4",
6161
"source-map-explorer": "2.5.3",
6262
"typescript": "6.0.3"
6363
},

pnpm-lock.yaml

Lines changed: 14 additions & 86 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

repo/data/ruleset.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
* limitations under the License.
1515
*/
1616

17-
import { IRuleSet } from '../proto/bundle.js'
17+
import { RuleSet } from '../proto/bundle.js'
1818

19-
export const DEFAULT_RULESET: IRuleSet = {
19+
export const DEFAULT_RULESET: RuleSet.$Properties = {
2020
roots: ['CP'],
2121
pos: ['N', 'D', 'V', 'Adj', 'Adv', 'P', 'T', 'C', 'Conj'],
2222
rules: [
@@ -177,7 +177,7 @@ export const DEFAULT_RULESET: IRuleSet = {
177177
]
178178
}
179179

180-
export const XBAR_RULESET: IRuleSet = {
180+
export const XBAR_RULESET: RuleSet.$Properties = {
181181
roots: ['CP'],
182182
pos: ['N', 'D', 'V', 'Adj', 'Adv', 'P', 'T', 'C', 'Conj'],
183183
rules: [
@@ -477,7 +477,7 @@ export const XBAR_RULESET: IRuleSet = {
477477
]
478478
}
479479

480-
export const DP_HYPOTHESIS_RULESET: IRuleSet = {
480+
export const DP_HYPOTHESIS_RULESET: RuleSet.$Properties = {
481481
roots: ['CP'],
482482
pos: ['N', 'D', 'V', 'Adj', 'Adv', 'P', 'T', 'C', 'Conj'],
483483
rules: [

repo/data/sentence.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
* limitations under the License.
1515
*/
1616

17-
import { ISentence } from '../proto/bundle.js'
17+
import { Sentence } from '../proto/bundle.js'
1818

19-
export const DEFAULT_SENTENCE: ISentence = {
19+
export const DEFAULT_SENTENCE: Sentence.$Properties = {
2020
words: [
2121
{ text: 'The', pos: ['D'] },
2222
{ text: 'small', pos: ['Adj'] },
@@ -30,7 +30,7 @@ export const DEFAULT_SENTENCE: ISentence = {
3030
]
3131
}
3232

33-
export const DP_HYPOTHESIS_SENTENCE: ISentence = {
33+
export const DP_HYPOTHESIS_SENTENCE: Sentence.$Properties = {
3434
words: [
3535
{ text: 'The', pos: ['D'] },
3636
{ text: 'small', pos: ['Adj'] },

0 commit comments

Comments
 (0)