Files
rk-backend/src/_dto/draw.dto.ts
T
2026-08-31 16:19:06 +02:00

33 lines
518 B
TypeScript

import { Types } from "mongoose";
export class DrawDto {
name!:string;
svg!:string;
raster!:number;
scale!:number;
height!: number;
length!:number;
px_height!:number;
px_width!:number;
offset_x!:number;
offset_y!:number;
}
export class DrawShapeOptionenDto{
scale?:number;
raster?:number;
angle?:number;
width?:number;
height?:number;
fullSvg?:boolean;
xaml?:boolean;
variant?:string;
state?:"inactive" | "active" | "error";
colorInactive?:string;
colorActive?:string;
colorError?:string;
}