feat: add typed page schema registry

This commit is contained in:
2026-06-17 08:39:51 +08:00
parent b05f0e89b5
commit 5eb95a4ef4
12 changed files with 408 additions and 2 deletions

View File

@@ -87,6 +87,12 @@ java -jar platform-cli/target/platform-cli-0.1.0-SNAPSHOT.jar release export --p
java -jar platform-cli/target/platform-cli-0.1.0-SNAPSHOT.jar release import-preview --package-file target/ai-runs/package.eip4pkg.json
java -jar platform-cli/target/platform-cli-0.1.0-SNAPSHOT.jar release diff --left target/ai-runs/package-old.json --right target/ai-runs/package.json
java -jar platform-cli/target/platform-cli-0.1.0-SNAPSHOT.jar release rollback-plan --package-file target/ai-runs/package.eip4pkg.json --output target/ai-runs/rollback-plan.json
# Typed page schema
curl http://localhost:8084/api/page/schema/components
curl -X POST http://localhost:8084/api/page/schema/validate \
-H "Content-Type: application/json" \
--data-binary @target/ai-runs/page-schema.json
```
## tools/