2021-08-10 15:56:53 +02:00
|
|
|
// cf. https://www.papaparse.com/docs#results
|
|
|
|
|
2021-09-17 18:05:08 +02:00
|
|
|
export interface PapaParseDatas
|
2021-08-10 15:56:53 +02:00
|
|
|
{
|
|
|
|
[key: string]: string;
|
|
|
|
}
|
|
|
|
|
2021-09-17 18:05:08 +02:00
|
|
|
export interface PapaParseErrors
|
2021-08-10 15:56:53 +02:00
|
|
|
{
|
|
|
|
type: string;
|
|
|
|
code: string;
|
|
|
|
message: string;
|
|
|
|
row: number;
|
|
|
|
}
|
|
|
|
|
2021-09-17 18:05:08 +02:00
|
|
|
export interface PapaParseMeta
|
2021-08-10 15:56:53 +02:00
|
|
|
{
|
|
|
|
delimiter?: string;
|
|
|
|
linebreak?: string;
|
|
|
|
aborted?: boolean;
|
|
|
|
fields?: string[];
|
|
|
|
truncated?: boolean;
|
|
|
|
}
|