Skip to content

Commit f333d10

Browse files
authored
Merge pull request #23 from gramaziokohler/blueprint-datamodel-schema
Use the JSON schema to create the frontend interfaces for blueprint
2 parents e71b794 + 3038f89 commit f333d10

15 files changed

Lines changed: 1134 additions & 238 deletions

package-lock.json

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

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
8-
"build": "node scripts/update-protos.js && tsc -b && vite build",
8+
"build": "node scripts/update-blueprint-schema.js && node scripts/update-protos.js && tsc -b && vite build",
99
"proto:update": "node scripts/update-protos.js",
10+
"schema:update": "node scripts/update-blueprint-schema.js",
1011
"lint": "eslint .",
1112
"preview": "vite preview",
1213
"test": "vitest run",
@@ -17,6 +18,7 @@
1718
"@react-three/drei": "^10.7.7",
1819
"@react-three/fiber": "^9.5.0",
1920
"@xyflow/react": "^12.9.3",
21+
"ajv": "^8.20.0",
2022
"lucide-react": "^0.563.0",
2123
"mqtt": "^5.14.1",
2224
"protobufjs": "^7.5.4",
@@ -38,6 +40,7 @@
3840
"eslint-plugin-react-refresh": "^0.4.24",
3941
"globals": "^16.5.0",
4042
"jsdom": "^29.1.1",
43+
"json-schema-to-typescript": "^15.0.4",
4144
"protobufjs-cli": "^2.0.0",
4245
"typescript": "~5.9.3",
4346
"typescript-eslint": "^8.46.4",

0 commit comments

Comments
 (0)