UNPKG

@levo-so/client

Version:

<img alt="Levo" src="https://static.levocdn.com/png/Levo-Logo.png" width="50" height="50">

13 lines (12 loc) 484 B
import type { RawDocument } from '@levo.libraries/types'; import type { LemaCollection } from '../collection'; /** * * Transform the data to a string format based on the field kind suitable for exporting to CSV * * @param data - data to be transformed * @param fields - fields of the table * @param level - current recursion level * @returns - transformed data */ export declare const stringify: (item: RawDocument<any>, fields: LemaCollection["fields"]) => RawDocument<any>;