Product info mutation (#14)
* Add mutation for product info * Upgrade to apollo 3
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user