Skip to content

Variable: ListImportResult ​

ts
const ListImportResult: z.ZodObject<{
  added: z.ZodNumber;
  invalid: z.ZodArray<z.ZodObject<{
     line: z.ZodNumber;
     reason: z.ZodString;
     value: z.ZodString;
  }, z.core.$strip>>;
  skipped: z.ZodNumber;
}, z.core.$strip>;

Outcome of a CSV import; invalid holds at most the first 100 rejected rows.

Released under the Apache-2.0 License.