2021-10-18 10:52:04 +02:00
|
|
|
// Options de Papa Parse
|
|
|
|
// cf. https://www.papaparse.com/docs#config
|
2021-10-18 11:26:21 +02:00
|
|
|
export interface PublicPapaParseOptions
|
2021-10-18 10:52:04 +02:00
|
|
|
{
|
|
|
|
delimiter: string;
|
|
|
|
newline: string;
|
|
|
|
quoteChar: string;
|
|
|
|
escapeChar: string;
|
|
|
|
transformHeader?(field: string, index: number): string;
|
|
|
|
preview: number;
|
|
|
|
comments: false|string;
|
|
|
|
fastMode: boolean|undefined;
|
|
|
|
transform?(value: string): string;
|
|
|
|
}
|
2021-10-18 11:26:21 +02:00
|
|
|
export interface PrivatePapaParseOptions
|
2021-10-18 10:52:04 +02:00
|
|
|
{
|
|
|
|
header: boolean;
|
|
|
|
download: boolean;
|
|
|
|
downloadRequestHeaders: undefined| { [index: string]:string };
|
|
|
|
skipEmptyLines: string;
|
|
|
|
withCredentials: boolean|undefined;
|
|
|
|
}
|