89-poster-defaults (#96)
* print defaults in printproducts * Add default to printproduct mutation * added insertDefaults when changing productgroup * fixed bug for square in square * cleanup, and tests for calculations * small fixes, added return values for update
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
export enum BorderType {
|
||||
NONE = 0,
|
||||
WHITE = 1,
|
||||
BLACK = 2,
|
||||
}
|
||||
|
||||
export interface PrintProductDefaults {
|
||||
printId: number;
|
||||
widthMm: number;
|
||||
heightMm: number;
|
||||
cropX: number;
|
||||
cropY: number;
|
||||
border: string;
|
||||
}
|
||||
Reference in New Issue
Block a user