Skip to content

DatasetError

const DatasetError: ZodIntersection<ZodUnion<readonly [ZodObject<{ jsonPointer: ZodString; message: ZodString; type: ZodLiteral<"metadata">; }, $strip>, ZodDiscriminatedUnion<[ZodObject<{ resourceName: ZodString; type: ZodLiteral<"resource/missing">; }, $strip>, ZodObject<{ expectedResourceType: ZodEnum<{ data: "data"; table: "table"; }>; type: ZodLiteral<"resource/type">; }, $strip>], "type">, ZodUnion<readonly [ZodDiscriminatedUnion<[ZodObject<{ columnName: ZodString; type: ZodLiteral<"column/missing">; }, $strip>, ZodObject<{ actualColumnType: ZodEnum<{ array: …; base64: …; boolean: …; categorical: …; date: …; date-time: …; decimal: …; duration: …; email: …; geojson: …; hex: …; integer: …; list: …; number: …; object: …; string: …; time: …; topojson: …; unknown: …; url: …; wkb: …; wkt: …; }>; columnName: ZodString; expectedColumnType: ZodEnum<{ array: …; base64: …; boolean: …; categorical: …; date: …; date-time: …; decimal: …; duration: …; email: …; geojson: …; hex: …; integer: …; list: …; number: …; object: …; string: …; time: …; topojson: …; unknown: …; url: …; wkb: …; wkt: …; }>; type: ZodLiteral<"column/type">; }, $strip>], "type">, ZodDiscriminatedUnion<[ZodObject<{ columnNames: ZodArray<ZodString>; rowNumber: ZodNumber; type: ZodLiteral<"row/primaryKey">; }, $strip>, ZodObject<{ columnNames: ZodArray<ZodString>; rowNumber: ZodNumber; type: ZodLiteral<"row/uniqueKey">; }, $strip>], "type">, ZodDiscriminatedUnion<[ZodObject<{ cell: ZodString; columnName: ZodString; columnType: ZodEnum<{ array: …; base64: …; boolean: …; categorical: …; date: …; date-time: …; decimal: …; duration: …; email: …; geojson: …; hex: …; integer: …; list: …; number: …; object: …; string: …; time: …; topojson: …; unknown: …; url: …; wkb: …; wkt: …; }>; rowNumber: ZodNumber; type: ZodLiteral<"cell/type">; }, $strip>, ZodObject<{ cell: ZodString; columnName: ZodString; rowNumber: ZodNumber; type: ZodLiteral<"cell/required">; }, $strip>, ZodObject<{ cell: ZodString; columnName: ZodString; minimum: ZodString; rowNumber: ZodNumber; type: ZodLiteral<"cell/minimum">; }, $strip>], "type">, ZodObject<{ cells: ZodArray<ZodString>; foreignKey: ZodObject<{ columns: ZodArray<ZodString>; reference: ZodObject<{ columns: …; resource: …; }, $strip>; }, $strip>; type: ZodLiteral<"foreignKey">; }, $strip>]>, ZodObject<{ jsonPointer: ZodString; message: ZodString; type: ZodLiteral<"data">; }, $strip>, ZodDiscriminatedUnion<[ZodObject<{ actualEncoding: ZodOptional<ZodString>; type: ZodLiteral<"file/textual">; }, $strip>, ZodObject<{ actualHash: ZodString; expectedHash: ZodString; hashType: ZodString; type: ZodLiteral<"file/integrity">; }, $strip>], "type">]>, ZodObject<{ resource: ZodString; }, $strip>>

Defined in: metadata/models/error/dataset.ts:4