Initial boilerplate scaffold for continuum-schemas

Protobuf data model (Template/PrintJob/MaterialProfile/PrintParameters)
with codegen targets for TypeBox+TS types (packages/ts-types) and
prost-derived Rust structs (packages/rust-types).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-28 16:12:03 +00:00
commit 660855ecd6
21 changed files with 309 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
syntax = "proto3";
package continuum.v1;
import "continuum/v1/template.proto";
enum PrintJobStatus {
PRINT_JOB_STATUS_UNSPECIFIED = 0;
PRINT_JOB_STATUS_QUEUED = 1;
PRINT_JOB_STATUS_PRINTING = 2;
PRINT_JOB_STATUS_PAUSED = 3;
PRINT_JOB_STATUS_COMPLETED = 4;
PRINT_JOB_STATUS_FAILED = 5;
PRINT_JOB_STATUS_CANCELLED = 6;
}
message PrintJob {
string id = 1;
string farm_id = 2;
string printer_id = 3;
string template_id = 4;
PrintJobStatus status = 5;
double progress_percent = 6;
int64 started_at_unix = 7;
int64 completed_at_unix = 8;
string gcode_file_key = 9;
}