@@ -697,7 +697,7 @@ import { CLIOptions, Inquirerer, extractFirst } from "inquirerer";
697697import { getClient } from "../executor";
698698import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from "../utils";
699699import type { FieldSchema } from "../utils";
700- import type { CreateCarInput, CarPatch, CarSelect, CarFilter, CarCondition, CarsOrderBy } from "../../orm/input-types";
700+ import type { CreateCarInput, CarPatch, CarSelect, CarFilter, CarsOrderBy } from "../../orm/input-types";
701701import type { FindManyArgs, FindFirstArgs } from "../../orm/select-types";
702702const fieldSchema: FieldSchema = {
703703 id: "uuid",
@@ -757,7 +757,7 @@ async function handleList(argv: Partial<Record<string, unknown>>, _prompter: Inq
757757 isElectric: true,
758758 createdAt: true
759759 };
760- const findManyArgs = parseFindManyArgs<FindManyArgs<CarSelect, CarFilter, CarCondition , CarsOrderBy>>(argv, defaultSelect);
760+ const findManyArgs = parseFindManyArgs<FindManyArgs<CarSelect, CarFilter, never , CarsOrderBy>>(argv, defaultSelect);
761761 const client = getClient();
762762 const result = await client.car.findMany(findManyArgs).execute();
763763 console.log(JSON.stringify(result, null, 2));
@@ -779,7 +779,7 @@ async function handleFindFirst(argv: Partial<Record<string, unknown>>, _prompter
779779 isElectric: true,
780780 createdAt: true
781781 };
782- const findFirstArgs = parseFindFirstArgs<FindFirstArgs<CarSelect, CarFilter, CarCondition >>(argv, defaultSelect);
782+ const findFirstArgs = parseFindFirstArgs<FindFirstArgs<CarSelect, CarFilter, never >>(argv, defaultSelect);
783783 const client = getClient();
784784 const result = await client.car.findFirst(findFirstArgs).execute();
785785 console.log(JSON.stringify(result, null, 2));
@@ -1161,7 +1161,7 @@ import { CLIOptions, Inquirerer, extractFirst } from "inquirerer";
11611161import { getClient } from "../executor";
11621162import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from "../utils";
11631163import type { FieldSchema } from "../utils";
1164- import type { CreateDriverInput, DriverPatch, DriverSelect, DriverFilter, DriverCondition, DriversOrderBy } from "../../orm/input-types";
1164+ import type { CreateDriverInput, DriverPatch, DriverSelect, DriverFilter, DriversOrderBy } from "../../orm/input-types";
11651165import type { FindManyArgs, FindFirstArgs } from "../../orm/select-types";
11661166const fieldSchema: FieldSchema = {
11671167 id: "uuid",
@@ -1215,7 +1215,7 @@ async function handleList(argv: Partial<Record<string, unknown>>, _prompter: Inq
12151215 name: true,
12161216 licenseNumber: true
12171217 };
1218- const findManyArgs = parseFindManyArgs<FindManyArgs<DriverSelect, DriverFilter, DriverCondition , DriversOrderBy>>(argv, defaultSelect);
1218+ const findManyArgs = parseFindManyArgs<FindManyArgs<DriverSelect, DriverFilter, never , DriversOrderBy>>(argv, defaultSelect);
12191219 const client = getClient();
12201220 const result = await client.driver.findMany(findManyArgs).execute();
12211221 console.log(JSON.stringify(result, null, 2));
@@ -1234,7 +1234,7 @@ async function handleFindFirst(argv: Partial<Record<string, unknown>>, _prompter
12341234 name: true,
12351235 licenseNumber: true
12361236 };
1237- const findFirstArgs = parseFindFirstArgs<FindFirstArgs<DriverSelect, DriverFilter, DriverCondition >>(argv, defaultSelect);
1237+ const findFirstArgs = parseFindFirstArgs<FindFirstArgs<DriverSelect, DriverFilter, never >>(argv, defaultSelect);
12381238 const client = getClient();
12391239 const result = await client.driver.findFirst(findFirstArgs).execute();
12401240 console.log(JSON.stringify(result, null, 2));
@@ -3193,7 +3193,7 @@ import { CLIOptions, Inquirerer, extractFirst } from "inquirerer";
31933193import { getClient } from "../../executor";
31943194import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from "../../utils";
31953195import type { FieldSchema } from "../../utils";
3196- import type { CreateUserInput, UserPatch, UserSelect, UserFilter, UserCondition, UsersOrderBy } from "../../../orm/input-types";
3196+ import type { CreateUserInput, UserPatch, UserSelect, UserFilter, UsersOrderBy } from "../../../orm/input-types";
31973197import type { FindManyArgs, FindFirstArgs } from "../../../orm/select-types";
31983198const fieldSchema: FieldSchema = {
31993199 id: "uuid",
@@ -3247,7 +3247,7 @@ async function handleList(argv: Partial<Record<string, unknown>>, _prompter: Inq
32473247 email: true,
32483248 name: true
32493249 };
3250- const findManyArgs = parseFindManyArgs<FindManyArgs<UserSelect, UserFilter, UserCondition , UsersOrderBy>>(argv, defaultSelect);
3250+ const findManyArgs = parseFindManyArgs<FindManyArgs<UserSelect, UserFilter, never , UsersOrderBy>>(argv, defaultSelect);
32513251 const client = getClient("auth");
32523252 const result = await client.user.findMany(findManyArgs).execute();
32533253 console.log(JSON.stringify(result, null, 2));
@@ -3266,7 +3266,7 @@ async function handleFindFirst(argv: Partial<Record<string, unknown>>, _prompter
32663266 email: true,
32673267 name: true
32683268 };
3269- const findFirstArgs = parseFindFirstArgs<FindFirstArgs<UserSelect, UserFilter, UserCondition >>(argv, defaultSelect);
3269+ const findFirstArgs = parseFindFirstArgs<FindFirstArgs<UserSelect, UserFilter, never >>(argv, defaultSelect);
32703270 const client = getClient("auth");
32713271 const result = await client.user.findFirst(findFirstArgs).execute();
32723272 console.log(JSON.stringify(result, null, 2));
@@ -3423,7 +3423,7 @@ import { CLIOptions, Inquirerer, extractFirst } from "inquirerer";
34233423import { getClient } from "../../executor";
34243424import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from "../../utils";
34253425import type { FieldSchema } from "../../utils";
3426- import type { CreateMemberInput, MemberPatch, MemberSelect, MemberFilter, MemberCondition, MembersOrderBy } from "../../../orm/input-types";
3426+ import type { CreateMemberInput, MemberPatch, MemberSelect, MemberFilter, MembersOrderBy } from "../../../orm/input-types";
34273427import type { FindManyArgs, FindFirstArgs } from "../../../orm/select-types";
34283428const fieldSchema: FieldSchema = {
34293429 id: "uuid",
@@ -3475,7 +3475,7 @@ async function handleList(argv: Partial<Record<string, unknown>>, _prompter: Inq
34753475 id: true,
34763476 role: true
34773477 };
3478- const findManyArgs = parseFindManyArgs<FindManyArgs<MemberSelect, MemberFilter, MemberCondition , MembersOrderBy>>(argv, defaultSelect);
3478+ const findManyArgs = parseFindManyArgs<FindManyArgs<MemberSelect, MemberFilter, never , MembersOrderBy>>(argv, defaultSelect);
34793479 const client = getClient("members");
34803480 const result = await client.member.findMany(findManyArgs).execute();
34813481 console.log(JSON.stringify(result, null, 2));
@@ -3493,7 +3493,7 @@ async function handleFindFirst(argv: Partial<Record<string, unknown>>, _prompter
34933493 id: true,
34943494 role: true
34953495 };
3496- const findFirstArgs = parseFindFirstArgs<FindFirstArgs<MemberSelect, MemberFilter, MemberCondition >>(argv, defaultSelect);
3496+ const findFirstArgs = parseFindFirstArgs<FindFirstArgs<MemberSelect, MemberFilter, never >>(argv, defaultSelect);
34973497 const client = getClient("members");
34983498 const result = await client.member.findFirst(findFirstArgs).execute();
34993499 console.log(JSON.stringify(result, null, 2));
@@ -3635,7 +3635,7 @@ import { CLIOptions, Inquirerer, extractFirst } from "inquirerer";
36353635import { getClient } from "../../executor";
36363636import { coerceAnswers, parseFindFirstArgs, parseFindManyArgs, stripUndefined } from "../../utils";
36373637import type { FieldSchema } from "../../utils";
3638- import type { CreateCarInput, CarPatch, CarSelect, CarFilter, CarCondition, CarsOrderBy } from "../../../orm/input-types";
3638+ import type { CreateCarInput, CarPatch, CarSelect, CarFilter, CarsOrderBy } from "../../../orm/input-types";
36393639import type { FindManyArgs, FindFirstArgs } from "../../../orm/select-types";
36403640const fieldSchema: FieldSchema = {
36413641 id: "uuid",
@@ -3695,7 +3695,7 @@ async function handleList(argv: Partial<Record<string, unknown>>, _prompter: Inq
36953695 isElectric: true,
36963696 createdAt: true
36973697 };
3698- const findManyArgs = parseFindManyArgs<FindManyArgs<CarSelect, CarFilter, CarCondition , CarsOrderBy>>(argv, defaultSelect);
3698+ const findManyArgs = parseFindManyArgs<FindManyArgs<CarSelect, CarFilter, never , CarsOrderBy>>(argv, defaultSelect);
36993699 const client = getClient("app");
37003700 const result = await client.car.findMany(findManyArgs).execute();
37013701 console.log(JSON.stringify(result, null, 2));
@@ -3717,7 +3717,7 @@ async function handleFindFirst(argv: Partial<Record<string, unknown>>, _prompter
37173717 isElectric: true,
37183718 createdAt: true
37193719 };
3720- const findFirstArgs = parseFindFirstArgs<FindFirstArgs<CarSelect, CarFilter, CarCondition >>(argv, defaultSelect);
3720+ const findFirstArgs = parseFindFirstArgs<FindFirstArgs<CarSelect, CarFilter, never >>(argv, defaultSelect);
37213721 const client = getClient("app");
37223722 const result = await client.car.findFirst(findFirstArgs).execute();
37233723 console.log(JSON.stringify(result, null, 2));
0 commit comments