mirror of
https://github.com/n8n-io/n8n.git
synced 2024-09-21 15:27:32 -07:00
caa6a3d234
* Iterating additionalFields given instead of hard coding the interface to match them when creating a product * Removed redundancy for product creation/update and order create. Co-authored-by: Omar Ajoue <krynble@gmail.com>
18 lines
258 B
TypeScript
18 lines
258 B
TypeScript
import { IDataObject } from 'n8n-workflow';
|
|
|
|
export interface IDimension {
|
|
height?: string;
|
|
length?: string;
|
|
width?: string;
|
|
}
|
|
|
|
export interface IImage {
|
|
alt?: string;
|
|
name?: string;
|
|
src?: string;
|
|
}
|
|
|
|
export interface IProduct {
|
|
[index: string]: any
|
|
}
|