@themachinarium/google-merchant-feed
Version:
A simple library to generate Google Merchant XML Feed
10 lines (9 loc) • 416 B
TypeScript
import { Product } from "./models/product";
export type XmlPropertiesMapNode = {
xmlName?: string;
xmlFormatter?: (...value: any) => Record<string, string> | string | void;
allowRepeat?: boolean;
items?: Record<string, XmlPropertiesMapNode>;
};
export type XmlPropertiesMapNodeItems = XmlPropertiesMapNode["items"];
export declare const xmlPropertiesMap: Record<keyof Product, XmlPropertiesMapNode>;