zenstack/tests/regression/test/issue-422/input.ts
Yiming Cao 880e3b6f8c
chore: regenerate schemas (#575)
* feat(cli): implement watch mode for generate

* chore(root): update pnpm-lock.yaml

* chore(cli): track all model declaration and removed paths, logs in past tense

* fix(cli): typo, unused double array from

* fix(orm): preserve zod validation errors when validating custom json types

* update

* chore(cli): move import, fix parallel generation on watch

* feat(common-helpers): implement single-debounce

* chore(cli): use single-debounce for debouncing

* feat(common-helpers): implement single-debounce

* fix(common-helpers): re run single-debounce

* chore: regenerate schemas

---------

Co-authored-by: FTB_lag <tabolskyy.git@gmail.com>
2026-01-08 16:59:49 +08:00

73 lines
5.8 KiB
TypeScript

//////////////////////////////////////////////////////////////////////////////////////////////
// DO NOT MODIFY THIS FILE //
// This file is automatically generated by ZenStack CLI and should not be manually updated. //
//////////////////////////////////////////////////////////////////////////////////////////////
/* eslint-disable */
import { type SchemaType as $Schema } from "./schema";
import type { FindManyArgs as $FindManyArgs, FindUniqueArgs as $FindUniqueArgs, FindFirstArgs as $FindFirstArgs, ExistsArgs as $ExistsArgs, CreateArgs as $CreateArgs, CreateManyArgs as $CreateManyArgs, CreateManyAndReturnArgs as $CreateManyAndReturnArgs, UpdateArgs as $UpdateArgs, UpdateManyArgs as $UpdateManyArgs, UpdateManyAndReturnArgs as $UpdateManyAndReturnArgs, UpsertArgs as $UpsertArgs, DeleteArgs as $DeleteArgs, DeleteManyArgs as $DeleteManyArgs, CountArgs as $CountArgs, AggregateArgs as $AggregateArgs, GroupByArgs as $GroupByArgs, WhereInput as $WhereInput, SelectInput as $SelectInput, IncludeInput as $IncludeInput, OmitInput as $OmitInput, QueryOptions as $QueryOptions } from "@zenstackhq/orm";
import type { SimplifiedPlainResult as $Result, SelectIncludeOmit as $SelectIncludeOmit } from "@zenstackhq/orm";
export type SessionFindManyArgs = $FindManyArgs<$Schema, "Session">;
export type SessionFindUniqueArgs = $FindUniqueArgs<$Schema, "Session">;
export type SessionFindFirstArgs = $FindFirstArgs<$Schema, "Session">;
export type SessionExistsArgs = $ExistsArgs<$Schema, "Session">;
export type SessionCreateArgs = $CreateArgs<$Schema, "Session">;
export type SessionCreateManyArgs = $CreateManyArgs<$Schema, "Session">;
export type SessionCreateManyAndReturnArgs = $CreateManyAndReturnArgs<$Schema, "Session">;
export type SessionUpdateArgs = $UpdateArgs<$Schema, "Session">;
export type SessionUpdateManyArgs = $UpdateManyArgs<$Schema, "Session">;
export type SessionUpdateManyAndReturnArgs = $UpdateManyAndReturnArgs<$Schema, "Session">;
export type SessionUpsertArgs = $UpsertArgs<$Schema, "Session">;
export type SessionDeleteArgs = $DeleteArgs<$Schema, "Session">;
export type SessionDeleteManyArgs = $DeleteManyArgs<$Schema, "Session">;
export type SessionCountArgs = $CountArgs<$Schema, "Session">;
export type SessionAggregateArgs = $AggregateArgs<$Schema, "Session">;
export type SessionGroupByArgs = $GroupByArgs<$Schema, "Session">;
export type SessionWhereInput = $WhereInput<$Schema, "Session">;
export type SessionSelect = $SelectInput<$Schema, "Session">;
export type SessionInclude = $IncludeInput<$Schema, "Session">;
export type SessionOmit = $OmitInput<$Schema, "Session">;
export type SessionGetPayload<Args extends $SelectIncludeOmit<$Schema, "Session", true>, Options extends $QueryOptions<$Schema> = $QueryOptions<$Schema>> = $Result<$Schema, "Session", Args, Options>;
export type UserFindManyArgs = $FindManyArgs<$Schema, "User">;
export type UserFindUniqueArgs = $FindUniqueArgs<$Schema, "User">;
export type UserFindFirstArgs = $FindFirstArgs<$Schema, "User">;
export type UserExistsArgs = $ExistsArgs<$Schema, "User">;
export type UserCreateArgs = $CreateArgs<$Schema, "User">;
export type UserCreateManyArgs = $CreateManyArgs<$Schema, "User">;
export type UserCreateManyAndReturnArgs = $CreateManyAndReturnArgs<$Schema, "User">;
export type UserUpdateArgs = $UpdateArgs<$Schema, "User">;
export type UserUpdateManyArgs = $UpdateManyArgs<$Schema, "User">;
export type UserUpdateManyAndReturnArgs = $UpdateManyAndReturnArgs<$Schema, "User">;
export type UserUpsertArgs = $UpsertArgs<$Schema, "User">;
export type UserDeleteArgs = $DeleteArgs<$Schema, "User">;
export type UserDeleteManyArgs = $DeleteManyArgs<$Schema, "User">;
export type UserCountArgs = $CountArgs<$Schema, "User">;
export type UserAggregateArgs = $AggregateArgs<$Schema, "User">;
export type UserGroupByArgs = $GroupByArgs<$Schema, "User">;
export type UserWhereInput = $WhereInput<$Schema, "User">;
export type UserSelect = $SelectInput<$Schema, "User">;
export type UserInclude = $IncludeInput<$Schema, "User">;
export type UserOmit = $OmitInput<$Schema, "User">;
export type UserGetPayload<Args extends $SelectIncludeOmit<$Schema, "User", true>, Options extends $QueryOptions<$Schema> = $QueryOptions<$Schema>> = $Result<$Schema, "User", Args, Options>;
export type ProfileFindManyArgs = $FindManyArgs<$Schema, "Profile">;
export type ProfileFindUniqueArgs = $FindUniqueArgs<$Schema, "Profile">;
export type ProfileFindFirstArgs = $FindFirstArgs<$Schema, "Profile">;
export type ProfileExistsArgs = $ExistsArgs<$Schema, "Profile">;
export type ProfileCreateArgs = $CreateArgs<$Schema, "Profile">;
export type ProfileCreateManyArgs = $CreateManyArgs<$Schema, "Profile">;
export type ProfileCreateManyAndReturnArgs = $CreateManyAndReturnArgs<$Schema, "Profile">;
export type ProfileUpdateArgs = $UpdateArgs<$Schema, "Profile">;
export type ProfileUpdateManyArgs = $UpdateManyArgs<$Schema, "Profile">;
export type ProfileUpdateManyAndReturnArgs = $UpdateManyAndReturnArgs<$Schema, "Profile">;
export type ProfileUpsertArgs = $UpsertArgs<$Schema, "Profile">;
export type ProfileDeleteArgs = $DeleteArgs<$Schema, "Profile">;
export type ProfileDeleteManyArgs = $DeleteManyArgs<$Schema, "Profile">;
export type ProfileCountArgs = $CountArgs<$Schema, "Profile">;
export type ProfileAggregateArgs = $AggregateArgs<$Schema, "Profile">;
export type ProfileGroupByArgs = $GroupByArgs<$Schema, "Profile">;
export type ProfileWhereInput = $WhereInput<$Schema, "Profile">;
export type ProfileSelect = $SelectInput<$Schema, "Profile">;
export type ProfileInclude = $IncludeInput<$Schema, "Profile">;
export type ProfileOmit = $OmitInput<$Schema, "Profile">;
export type ProfileGetPayload<Args extends $SelectIncludeOmit<$Schema, "Profile", true>, Options extends $QueryOptions<$Schema> = $QueryOptions<$Schema>> = $Result<$Schema, "Profile", Args, Options>;