Break out ref and copyright to own responses (#79)
This commit is contained in:
@@ -55,6 +55,8 @@ export interface ProductsSearchResult {
|
||||
keywords: Promise<Array<Keyword>>;
|
||||
categories: Promise<Array<Category>>;
|
||||
designers: Promise<Array<Designer>>;
|
||||
copyrights: Promise<Array<Copyright>>;
|
||||
references: Promise<Array<Product>>;
|
||||
}
|
||||
export interface ProductListResult {
|
||||
pagination: PaginationResult;
|
||||
@@ -128,6 +130,11 @@ export interface Batch {
|
||||
products: Promise<Array<Product>>;
|
||||
}
|
||||
|
||||
export interface Copyright {
|
||||
name: string;
|
||||
products: Promise<Array<Product>>;
|
||||
}
|
||||
|
||||
export interface Product {
|
||||
id: number;
|
||||
stockid: number;
|
||||
@@ -136,6 +143,9 @@ export interface Product {
|
||||
browsable: boolean;
|
||||
inserted: Date;
|
||||
updated?: Date;
|
||||
ref1: string;
|
||||
ref2: string;
|
||||
ref3: string;
|
||||
orientation?: Orientation;
|
||||
printProducts: [PrintProduct];
|
||||
blacklisting: [ProductBlacklist];
|
||||
|
||||
Reference in New Issue
Block a user