Product info mutation (#14)

* Add mutation for product info

* Upgrade to apollo 3
This commit is contained in:
Niklas Fondberg
2021-08-27 16:44:27 +02:00
committed by GitHub
parent 964a904f42
commit 2b67bc506f
18 changed files with 12777 additions and 1052 deletions
+16 -1
View File
@@ -1,5 +1,20 @@
import { PaginationInput, PaginationResult } from './types';
// Mutation inputs
export interface ProductInfoInput {
name: string;
artNo: string;
path: string;
batch: string;
copyright: string;
ref1: string;
ref2: string;
ref3: string;
designerId: number;
browsable: boolean;
visible: boolean;
}
export interface ProductsFilterInput {
pagination: PaginationInput;
filter?: ProductsFilter;
@@ -39,7 +54,7 @@ export enum ProductWallpaperType {
export enum Orientation {
UNKNOWN = 0,
PORTRAIT = 1,
STANDING = 1,
LANDSCAPE = 2,
SQUARE = 3,
}