procon aggregate

This commit is contained in:
marco committed 2026-10-22 07:57:46 +02:00
1 parent e284fae7b4
commit d0655f3638
32 files changed
+1520 -1058

No files matched your search

+26 -2
View File
@@ -1,9 +1,14 @@
import { Types } from "mongoose";
export class DrawData{
state!:"inactive" | "active" | "error";
svg!:string;
xaml!:string;
xamlBase64!:string;
}
export class DrawDto {
name!:string;
svg!:string;
raster!:number;
scale!:number;
height!: number;
@@ -12,10 +17,20 @@ export class DrawDto {
px_width!:number;
offset_x!:number;
offset_y!:number;
xaml?:string
svg!:string;
xaml?:string;
graphicsData?:DrawData[]
}
export class DrawDataDto {
name!:string;
height!: number;
width!:number;
svg!:{state:string,data:string}[]
xaml!:{state:"inactive" | "active" | "error",data:string,base64?:string}[]
}
export class DrawShapeOptionenDto{
scale?:number;
raster?:number;
@@ -31,3 +46,12 @@ export class DrawShapeOptionenDto{
colorError?:string;
}
export class DrawParameterDto{
height?:number;
width?:number;
colorInactive?:string;
colorActive?:string;
colorError?:string;
}