n8n/packages/nodes-base/nodes/WooCommerce/ProductInterface.ts
Jacob Burrell caa6a3d234
Removing redundancies in Woo-Commerce node. (#596)
* 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>
2021-08-04 18:06:15 +02:00

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
}