Reimplement refinement in zod select schema #219
Annotations
11 errors
|
Build
drizzle-zod#test:types: command (/home/runner/work/drizzle-orm/drizzle-orm/drizzle-zod) pnpm run test:types exited (2)
|
Build
'"~/index"' has no exported member named 'createInsertSchema'. Did you mean 'createSelectSchema'?
|
Build
Module '"~/index"' has no exported member 'jsonSchema'.
|
Build
Property 'bigint' does not exist on type 'ZodBigInt'.
|
Build
Argument of type 'BuildSelectSchema<{ bigint: MySqlColumn<{ name: "bigint"; tableName: "test"; dataType: "bigint"; columnType: "MySqlBigInt64"; data: bigint; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; generated: undefined; }, object>; bigintNumber: MySqlColumn<{ name: "bigintNumber"; tableName: "test"; dataType: "number"; columnType: "MySqlBigInt53"; data: number; driverParam: string | number; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; generated: undefined; }, object>; binary: MySqlColumn<{ name: "binary"; tableName: "test"; dataType: "string"; columnType: "MySqlBinary"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; generated: undefined; }, object>; boolean: MySqlColumn<{ name: "boolean"; tableName: "test"; dataType: "boolean"; columnType: "MySqlBoolean"; data: boolean; driverParam: number | boolean; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; generated: undefined; }, object>; char: MySqlColumn<{ name: "char"; tableName: "test"; dataType: "string"; columnType: "MySqlChar"; data: string; driverParam: string | number; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: [string, ...string[]]; baseColumn: never; generated: undefined; }, object>; charEnum: MySqlColumn<{ name: "char"; tableName: "test"; dataType: "string"; columnType: "MySqlChar"; data: "a" | "b" | "c"; driverParam: string | number; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: ["a", "b", "c"]; baseColumn: never; generated: undefined; }, object>; customInt: MySqlColumn<{ name: "customInt"; tableName: "test"; dataType: "custom"; columnType: "MySqlCustomColumn"; data: number; driverParam: unknown; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; generated: undefined; }, object>; date: MySqlColumn<{ name: "date"; tableName: "test"; dataType: "date"; columnType: "MySqlDate"; data: Date; driverParam: string | number; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; generated: undefined; }, object>; dateString: MySqlColumn<{ name: "dateString"; tableName: "test"; dataType: "string"; columnType: "MySqlDateString"; data: string; driverParam: string | number; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; generated: undefined; }, object>; datetime: MySqlColumn<{ name: "datetime"; tableName: "test"; dataType: "date"; columnType: "MySqlDateTime"; data: Date; driverParam: string | number; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; generated: undefined; }, object>; datetimeString: MySqlColumn<{ name: "datetimeString"; tableName: "test"; dataType: "string"; columnType: "MySqlDateTimeString"; data: string; driverParam: string | number; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; generated: undefined; }, object>; decimal: MySqlColumn<{ name: "decimal"; tableName: "test"; dataType: "string"; columnType: "MySqlDecimal"; data: string; driverParam: string; notNull: true; hasDefault: false; isPrimaryKey: false; isAutoincrement: false; hasRuntimeDefault: false; enumValues: undefined; baseColumn: never; generated: undefined; }, object>; double: MySqlColumn<{ name: "double"; tableName: "test"; data
|
Build
'"../src"' has no exported member named 'createInsertSchema'. Did you mean 'createSelectSchema'?
|
Build
Module '"../src"' has no exported member 'jsonSchema'.
|
Build
Binding element 'id' implicitly has an 'any' type.
|
Build
Unused '@ts-expect-error' directive.
|
Build
Unused '@ts-expect-error' directive.
|
Loading