Nothing imported the proto-generated code (zero references to continuum-rust-types or @continuum/ts-types's proto export in any consumer repo), and protobuf's real value - one schema compiled to a compact binary wire format for both languages - never applied: BE<->proxy and FE<->BE are both JSON. Also fixes 8 broken $ref paths in the bambulab schemas and a root tsconfig.json that was sweeping the gitignored examples/ directory into typecheck. - proto/continuum/v1/*.proto -> schemas/continuum/v1/*.schema.json - packages/rust-types: hand-written serde structs instead of prost-build codegen - packages/ts-types: drop the generated/ proto barrel export, keep the hand-written TypeBox schemas as the TS source of truth - root package.json: drop build:ts, protoc, ts-proto
24 lines
807 B
JSON
24 lines
807 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://git.octoturge.com/Continuum/continuum-schemas/raw/branch/main/schemas/continuum/v1/print_params.schema.json",
|
|
"title": "PrintParameters",
|
|
"type": "object",
|
|
"properties": {
|
|
"layerHeightMm": { "type": "number", "minimum": 0.04, "maximum": 1.0 },
|
|
"infillPercent": { "type": "integer", "minimum": 0, "maximum": 100 },
|
|
"infillPattern": { "type": "string", "minLength": 1 },
|
|
"printSpeedMmS": { "type": "number", "minimum": 0 },
|
|
"supportsEnabled": { "type": "boolean" },
|
|
"wallCount": { "type": "integer", "minimum": 0 }
|
|
},
|
|
"required": [
|
|
"layerHeightMm",
|
|
"infillPercent",
|
|
"infillPattern",
|
|
"printSpeedMmS",
|
|
"supportsEnabled",
|
|
"wallCount"
|
|
],
|
|
"additionalProperties": false
|
|
}
|