Remove superseded Material/PrintParameters/PrintJob/Template mirrors

They described the old flat continuum/v1 shape, replaced by the
material/printer/vendor restructure. Nothing outside this repo imported
them (checked continuum-proxy, continuum-ai-worker, continuum-backend,
continuum-app). Left both packages in place as empty shells - add a
hand-written mirror back per new schema file once something actually
consumes it.
This commit is contained in:
2026-09-05 20:54:30 +00:00
parent b35fdf9e6a
commit f94e59a981
17 changed files with 14 additions and 313 deletions
+1 -4
View File
@@ -1,4 +1 @@
export * from "./material";
export * from "./print-params";
export * from "./template";
export * from "./print-job";
export {};
+1 -4
View File
@@ -1,4 +1 @@
export * from "./material";
export * from "./print-params";
export * from "./template";
export * from "./print-job";
export {};
+7 -4
View File
@@ -1,4 +1,7 @@
export * from "./material";
export * from "./print-params";
export * from "./template";
export * from "./print-job";
// The old Material/PrintParameters/PrintJob/Template mirrors were removed
// (2026-09) when schemas/continuum/v1/ was restructured into
// material/printer/vendor - see that directory and its README. Add a
// hand-written TypeBox schema here per file under schemas/continuum/v1/
// once something actually consumes it (continuum-backend's validators,
// most likely), same convention as before.
export {};
-11
View File
@@ -1,11 +0,0 @@
import { type Static } from "@sinclair/typebox";
export declare const MaterialProfileSchema: import("@sinclair/typebox").TObject<{
id: import("@sinclair/typebox").TString;
name: import("@sinclair/typebox").TString;
filamentType: import("@sinclair/typebox").TString;
nozzleTempC: import("@sinclair/typebox").TNumber;
bedTempC: import("@sinclair/typebox").TNumber;
densityGCm3: import("@sinclair/typebox").TNumber;
colorHex: import("@sinclair/typebox").TString;
}>;
export type MaterialProfile = Static<typeof MaterialProfileSchema>;
-10
View File
@@ -1,10 +0,0 @@
import { Type } from "@sinclair/typebox";
export const MaterialProfileSchema = Type.Object({
id: Type.String({ format: "uuid" }),
name: Type.String({ minLength: 1 }),
filamentType: Type.String({ minLength: 1 }),
nozzleTempC: Type.Number(),
bedTempC: Type.Number(),
densityGCm3: Type.Number(),
colorHex: Type.String({ pattern: "^#[0-9a-fA-F]{6}$" }),
});
-13
View File
@@ -1,13 +0,0 @@
import { Type, type Static } from "@sinclair/typebox";
export const MaterialProfileSchema = Type.Object({
id: Type.String({ format: "uuid" }),
name: Type.String({ minLength: 1 }),
filamentType: Type.String({ minLength: 1 }),
nozzleTempC: Type.Number(),
bedTempC: Type.Number(),
densityGCm3: Type.Number(),
colorHex: Type.String({ pattern: "^#[0-9a-fA-F]{6}$" }),
});
export type MaterialProfile = Static<typeof MaterialProfileSchema>;
-15
View File
@@ -1,15 +0,0 @@
import { type Static } from "@sinclair/typebox";
export declare const PrintJobStatusSchema: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"PRINT_JOB_STATUS_UNSPECIFIED">, import("@sinclair/typebox").TLiteral<"PRINT_JOB_STATUS_QUEUED">, import("@sinclair/typebox").TLiteral<"PRINT_JOB_STATUS_PRINTING">, import("@sinclair/typebox").TLiteral<"PRINT_JOB_STATUS_PAUSED">, import("@sinclair/typebox").TLiteral<"PRINT_JOB_STATUS_COMPLETED">, import("@sinclair/typebox").TLiteral<"PRINT_JOB_STATUS_FAILED">, import("@sinclair/typebox").TLiteral<"PRINT_JOB_STATUS_CANCELLED">]>;
export type PrintJobStatus = Static<typeof PrintJobStatusSchema>;
export declare const PrintJobSchema: import("@sinclair/typebox").TObject<{
id: import("@sinclair/typebox").TString;
farmId: import("@sinclair/typebox").TString;
printerId: import("@sinclair/typebox").TString;
templateId: import("@sinclair/typebox").TString;
status: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"PRINT_JOB_STATUS_UNSPECIFIED">, import("@sinclair/typebox").TLiteral<"PRINT_JOB_STATUS_QUEUED">, import("@sinclair/typebox").TLiteral<"PRINT_JOB_STATUS_PRINTING">, import("@sinclair/typebox").TLiteral<"PRINT_JOB_STATUS_PAUSED">, import("@sinclair/typebox").TLiteral<"PRINT_JOB_STATUS_COMPLETED">, import("@sinclair/typebox").TLiteral<"PRINT_JOB_STATUS_FAILED">, import("@sinclair/typebox").TLiteral<"PRINT_JOB_STATUS_CANCELLED">]>;
progressPercent: import("@sinclair/typebox").TNumber;
startedAtUnix: import("@sinclair/typebox").TInteger;
completedAtUnix: import("@sinclair/typebox").TInteger;
gcodeFileKey: import("@sinclair/typebox").TString;
}>;
export type PrintJob = Static<typeof PrintJobSchema>;
@@ -1,21 +0,0 @@
import { Type } from "@sinclair/typebox";
export const PrintJobStatusSchema = Type.Union([
Type.Literal("PRINT_JOB_STATUS_UNSPECIFIED"),
Type.Literal("PRINT_JOB_STATUS_QUEUED"),
Type.Literal("PRINT_JOB_STATUS_PRINTING"),
Type.Literal("PRINT_JOB_STATUS_PAUSED"),
Type.Literal("PRINT_JOB_STATUS_COMPLETED"),
Type.Literal("PRINT_JOB_STATUS_FAILED"),
Type.Literal("PRINT_JOB_STATUS_CANCELLED"),
]);
export const PrintJobSchema = Type.Object({
id: Type.String({ format: "uuid" }),
farmId: Type.String({ format: "uuid" }),
printerId: Type.String({ format: "uuid" }),
templateId: Type.String({ format: "uuid" }),
status: PrintJobStatusSchema,
progressPercent: Type.Number({ minimum: 0, maximum: 100 }),
startedAtUnix: Type.Integer(),
completedAtUnix: Type.Integer(),
gcodeFileKey: Type.String({ minLength: 1 }),
});
@@ -1,27 +0,0 @@
import { Type, type Static } from "@sinclair/typebox";
export const PrintJobStatusSchema = Type.Union([
Type.Literal("PRINT_JOB_STATUS_UNSPECIFIED"),
Type.Literal("PRINT_JOB_STATUS_QUEUED"),
Type.Literal("PRINT_JOB_STATUS_PRINTING"),
Type.Literal("PRINT_JOB_STATUS_PAUSED"),
Type.Literal("PRINT_JOB_STATUS_COMPLETED"),
Type.Literal("PRINT_JOB_STATUS_FAILED"),
Type.Literal("PRINT_JOB_STATUS_CANCELLED"),
]);
export type PrintJobStatus = Static<typeof PrintJobStatusSchema>;
export const PrintJobSchema = Type.Object({
id: Type.String({ format: "uuid" }),
farmId: Type.String({ format: "uuid" }),
printerId: Type.String({ format: "uuid" }),
templateId: Type.String({ format: "uuid" }),
status: PrintJobStatusSchema,
progressPercent: Type.Number({ minimum: 0, maximum: 100 }),
startedAtUnix: Type.Integer(),
completedAtUnix: Type.Integer(),
gcodeFileKey: Type.String({ minLength: 1 }),
});
export type PrintJob = Static<typeof PrintJobSchema>;
-10
View File
@@ -1,10 +0,0 @@
import { type Static } from "@sinclair/typebox";
export declare const PrintParametersSchema: import("@sinclair/typebox").TObject<{
layerHeightMm: import("@sinclair/typebox").TNumber;
infillPercent: import("@sinclair/typebox").TInteger;
infillPattern: import("@sinclair/typebox").TString;
printSpeedMmS: import("@sinclair/typebox").TNumber;
supportsEnabled: import("@sinclair/typebox").TBoolean;
wallCount: import("@sinclair/typebox").TInteger;
}>;
export type PrintParameters = Static<typeof PrintParametersSchema>;
@@ -1,9 +0,0 @@
import { Type } from "@sinclair/typebox";
export const PrintParametersSchema = Type.Object({
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 }),
});
@@ -1,12 +0,0 @@
import { Type, type Static } from "@sinclair/typebox";
export const PrintParametersSchema = Type.Object({
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 }),
});
export type PrintParameters = Static<typeof PrintParametersSchema>;
-29
View File
@@ -1,29 +0,0 @@
import { type Static } from "@sinclair/typebox";
export declare const TemplateSchema: import("@sinclair/typebox").TObject<{
id: import("@sinclair/typebox").TString;
name: import("@sinclair/typebox").TString;
description: import("@sinclair/typebox").TString;
ownerId: import("@sinclair/typebox").TString;
modelFileKey: import("@sinclair/typebox").TString;
material: import("@sinclair/typebox").TObject<{
id: import("@sinclair/typebox").TString;
name: import("@sinclair/typebox").TString;
filamentType: import("@sinclair/typebox").TString;
nozzleTempC: import("@sinclair/typebox").TNumber;
bedTempC: import("@sinclair/typebox").TNumber;
densityGCm3: import("@sinclair/typebox").TNumber;
colorHex: import("@sinclair/typebox").TString;
}>;
printParameters: import("@sinclair/typebox").TObject<{
layerHeightMm: import("@sinclair/typebox").TNumber;
infillPercent: import("@sinclair/typebox").TInteger;
infillPattern: import("@sinclair/typebox").TString;
printSpeedMmS: import("@sinclair/typebox").TNumber;
supportsEnabled: import("@sinclair/typebox").TBoolean;
wallCount: import("@sinclair/typebox").TInteger;
}>;
createdAtUnix: import("@sinclair/typebox").TInteger;
updatedAtUnix: import("@sinclair/typebox").TInteger;
tags: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
}>;
export type Template = Static<typeof TemplateSchema>;
-15
View File
@@ -1,15 +0,0 @@
import { Type } from "@sinclair/typebox";
import { MaterialProfileSchema } from "./material";
import { PrintParametersSchema } from "./print-params";
export const TemplateSchema = Type.Object({
id: Type.String({ format: "uuid" }),
name: Type.String({ minLength: 1 }),
description: Type.String(),
ownerId: Type.String({ format: "uuid" }),
modelFileKey: Type.String({ minLength: 1 }),
material: MaterialProfileSchema,
printParameters: PrintParametersSchema,
createdAtUnix: Type.Integer(),
updatedAtUnix: Type.Integer(),
tags: Type.Array(Type.String()),
});
-18
View File
@@ -1,18 +0,0 @@
import { Type, type Static } from "@sinclair/typebox";
import { MaterialProfileSchema } from "./material";
import { PrintParametersSchema } from "./print-params";
export const TemplateSchema = Type.Object({
id: Type.String({ format: "uuid" }),
name: Type.String({ minLength: 1 }),
description: Type.String(),
ownerId: Type.String({ format: "uuid" }),
modelFileKey: Type.String({ minLength: 1 }),
material: MaterialProfileSchema,
printParameters: PrintParametersSchema,
createdAtUnix: Type.Integer(),
updatedAtUnix: Type.Integer(),
tags: Type.Array(Type.String()),
});
export type Template = Static<typeof TemplateSchema>;