n8n/packages/nodes-base/nodes/WooCommerce/ProductInterface.ts

26 lines
370 B
TypeScript
Raw Normal View History

import type { IDataObject } from 'n8n-workflow';
2020-02-16 10:43:51 -08:00
export interface IDimension {
height?: string;
length?: string;
width?: string;
}
export interface IImage {
alt?: string;
name?: string;
src?: string;
}
export interface IProduct {
[index: string]:
| string
| number
| string[]
| number[]
| IDataObject
| IDataObject[]
| IImage[]
| IDimension;
2020-02-16 10:43:51 -08:00
}