targo-backend/prisma/generated/legacy/models/shifts_of_template.ts

1263 lines
47 KiB
TypeScript

/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck
/*
* This file exports the `shifts_of_template` model and its related types.
*
* 🟢 You can import this file directly.
*/
import type * as runtime from "@prisma/client/runtime/client"
import type * as $Enums from "../enums"
import type * as Prisma from "../internal/prismaNamespace"
/**
* Model shifts_of_template
*
*/
export type shifts_of_templateModel = runtime.Types.Result.DefaultSelection<Prisma.$shifts_of_templatePayload>
export type AggregateShifts_of_template = {
_count: Shifts_of_templateCountAggregateOutputType | null
_avg: Shifts_of_templateAvgAggregateOutputType | null
_sum: Shifts_of_templateSumAggregateOutputType | null
_min: Shifts_of_templateMinAggregateOutputType | null
_max: Shifts_of_templateMaxAggregateOutputType | null
}
export type Shifts_of_templateAvgAggregateOutputType = {
start_time: number | null
end_time: number | null
created_at: number | null
updated_at: number | null
}
export type Shifts_of_templateSumAggregateOutputType = {
start_time: bigint | null
end_time: bigint | null
created_at: bigint | null
updated_at: bigint | null
}
export type Shifts_of_templateMinAggregateOutputType = {
id: string | null
model_id: string | null
day_of_the_week: string | null
start_time: bigint | null
end_time: bigint | null
created_at: bigint | null
updated_at: bigint | null
}
export type Shifts_of_templateMaxAggregateOutputType = {
id: string | null
model_id: string | null
day_of_the_week: string | null
start_time: bigint | null
end_time: bigint | null
created_at: bigint | null
updated_at: bigint | null
}
export type Shifts_of_templateCountAggregateOutputType = {
id: number
model_id: number
day_of_the_week: number
start_time: number
end_time: number
created_at: number
updated_at: number
_all: number
}
export type Shifts_of_templateAvgAggregateInputType = {
start_time?: true
end_time?: true
created_at?: true
updated_at?: true
}
export type Shifts_of_templateSumAggregateInputType = {
start_time?: true
end_time?: true
created_at?: true
updated_at?: true
}
export type Shifts_of_templateMinAggregateInputType = {
id?: true
model_id?: true
day_of_the_week?: true
start_time?: true
end_time?: true
created_at?: true
updated_at?: true
}
export type Shifts_of_templateMaxAggregateInputType = {
id?: true
model_id?: true
day_of_the_week?: true
start_time?: true
end_time?: true
created_at?: true
updated_at?: true
}
export type Shifts_of_templateCountAggregateInputType = {
id?: true
model_id?: true
day_of_the_week?: true
start_time?: true
end_time?: true
created_at?: true
updated_at?: true
_all?: true
}
export type Shifts_of_templateAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which shifts_of_template to aggregate.
*/
where?: Prisma.shifts_of_templateWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of shifts_of_templates to fetch.
*/
orderBy?: Prisma.shifts_of_templateOrderByWithRelationInput | Prisma.shifts_of_templateOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.shifts_of_templateWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` shifts_of_templates from the position of the cursor.
*/
take?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Skip the first `n` shifts_of_templates.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned shifts_of_templates
**/
_count?: true | Shifts_of_templateCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: Shifts_of_templateAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: Shifts_of_templateSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: Shifts_of_templateMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: Shifts_of_templateMaxAggregateInputType
}
export type GetShifts_of_templateAggregateType<T extends Shifts_of_templateAggregateArgs> = {
[P in keyof T & keyof AggregateShifts_of_template]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateShifts_of_template[P]>
: Prisma.GetScalarType<T[P], AggregateShifts_of_template[P]>
}
export type shifts_of_templateGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.shifts_of_templateWhereInput
orderBy?: Prisma.shifts_of_templateOrderByWithAggregationInput | Prisma.shifts_of_templateOrderByWithAggregationInput[]
by: Prisma.Shifts_of_templateScalarFieldEnum[] | Prisma.Shifts_of_templateScalarFieldEnum
having?: Prisma.shifts_of_templateScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: Shifts_of_templateCountAggregateInputType | true
_avg?: Shifts_of_templateAvgAggregateInputType
_sum?: Shifts_of_templateSumAggregateInputType
_min?: Shifts_of_templateMinAggregateInputType
_max?: Shifts_of_templateMaxAggregateInputType
}
export type Shifts_of_templateGroupByOutputType = {
id: string
model_id: string
day_of_the_week: string
start_time: bigint
end_time: bigint
created_at: bigint
updated_at: bigint
_count: Shifts_of_templateCountAggregateOutputType | null
_avg: Shifts_of_templateAvgAggregateOutputType | null
_sum: Shifts_of_templateSumAggregateOutputType | null
_min: Shifts_of_templateMinAggregateOutputType | null
_max: Shifts_of_templateMaxAggregateOutputType | null
}
type GetShifts_of_templateGroupByPayload<T extends shifts_of_templateGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<Shifts_of_templateGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof Shifts_of_templateGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], Shifts_of_templateGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], Shifts_of_templateGroupByOutputType[P]>
}
>
>
export type shifts_of_templateWhereInput = {
AND?: Prisma.shifts_of_templateWhereInput | Prisma.shifts_of_templateWhereInput[]
OR?: Prisma.shifts_of_templateWhereInput[]
NOT?: Prisma.shifts_of_templateWhereInput | Prisma.shifts_of_templateWhereInput[]
id?: Prisma.UuidFilter<"shifts_of_template"> | string
model_id?: Prisma.UuidFilter<"shifts_of_template"> | string
day_of_the_week?: Prisma.StringFilter<"shifts_of_template"> | string
start_time?: Prisma.BigIntFilter<"shifts_of_template"> | bigint | number
end_time?: Prisma.BigIntFilter<"shifts_of_template"> | bigint | number
created_at?: Prisma.BigIntFilter<"shifts_of_template"> | bigint | number
updated_at?: Prisma.BigIntFilter<"shifts_of_template"> | bigint | number
}
export type shifts_of_templateOrderByWithRelationInput = {
id?: Prisma.SortOrder
model_id?: Prisma.SortOrder
day_of_the_week?: Prisma.SortOrder
start_time?: Prisma.SortOrder
end_time?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
}
export type shifts_of_templateWhereUniqueInput = Prisma.AtLeast<{
id?: string
AND?: Prisma.shifts_of_templateWhereInput | Prisma.shifts_of_templateWhereInput[]
OR?: Prisma.shifts_of_templateWhereInput[]
NOT?: Prisma.shifts_of_templateWhereInput | Prisma.shifts_of_templateWhereInput[]
model_id?: Prisma.UuidFilter<"shifts_of_template"> | string
day_of_the_week?: Prisma.StringFilter<"shifts_of_template"> | string
start_time?: Prisma.BigIntFilter<"shifts_of_template"> | bigint | number
end_time?: Prisma.BigIntFilter<"shifts_of_template"> | bigint | number
created_at?: Prisma.BigIntFilter<"shifts_of_template"> | bigint | number
updated_at?: Prisma.BigIntFilter<"shifts_of_template"> | bigint | number
}, "id">
export type shifts_of_templateOrderByWithAggregationInput = {
id?: Prisma.SortOrder
model_id?: Prisma.SortOrder
day_of_the_week?: Prisma.SortOrder
start_time?: Prisma.SortOrder
end_time?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
_count?: Prisma.shifts_of_templateCountOrderByAggregateInput
_avg?: Prisma.shifts_of_templateAvgOrderByAggregateInput
_max?: Prisma.shifts_of_templateMaxOrderByAggregateInput
_min?: Prisma.shifts_of_templateMinOrderByAggregateInput
_sum?: Prisma.shifts_of_templateSumOrderByAggregateInput
}
export type shifts_of_templateScalarWhereWithAggregatesInput = {
AND?: Prisma.shifts_of_templateScalarWhereWithAggregatesInput | Prisma.shifts_of_templateScalarWhereWithAggregatesInput[]
OR?: Prisma.shifts_of_templateScalarWhereWithAggregatesInput[]
NOT?: Prisma.shifts_of_templateScalarWhereWithAggregatesInput | Prisma.shifts_of_templateScalarWhereWithAggregatesInput[]
id?: Prisma.UuidWithAggregatesFilter<"shifts_of_template"> | string
model_id?: Prisma.UuidWithAggregatesFilter<"shifts_of_template"> | string
day_of_the_week?: Prisma.StringWithAggregatesFilter<"shifts_of_template"> | string
start_time?: Prisma.BigIntWithAggregatesFilter<"shifts_of_template"> | bigint | number
end_time?: Prisma.BigIntWithAggregatesFilter<"shifts_of_template"> | bigint | number
created_at?: Prisma.BigIntWithAggregatesFilter<"shifts_of_template"> | bigint | number
updated_at?: Prisma.BigIntWithAggregatesFilter<"shifts_of_template"> | bigint | number
}
export type shifts_of_templateCreateInput = {
id: string
model_id: string
day_of_the_week: string
start_time: bigint | number
end_time: bigint | number
created_at: bigint | number
updated_at: bigint | number
}
export type shifts_of_templateUncheckedCreateInput = {
id: string
model_id: string
day_of_the_week: string
start_time: bigint | number
end_time: bigint | number
created_at: bigint | number
updated_at: bigint | number
}
export type shifts_of_templateUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
model_id?: Prisma.StringFieldUpdateOperationsInput | string
day_of_the_week?: Prisma.StringFieldUpdateOperationsInput | string
start_time?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
end_time?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
created_at?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
updated_at?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
}
export type shifts_of_templateUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
model_id?: Prisma.StringFieldUpdateOperationsInput | string
day_of_the_week?: Prisma.StringFieldUpdateOperationsInput | string
start_time?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
end_time?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
created_at?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
updated_at?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
}
export type shifts_of_templateCreateManyInput = {
id: string
model_id: string
day_of_the_week: string
start_time: bigint | number
end_time: bigint | number
created_at: bigint | number
updated_at: bigint | number
}
export type shifts_of_templateUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
model_id?: Prisma.StringFieldUpdateOperationsInput | string
day_of_the_week?: Prisma.StringFieldUpdateOperationsInput | string
start_time?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
end_time?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
created_at?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
updated_at?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
}
export type shifts_of_templateUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
model_id?: Prisma.StringFieldUpdateOperationsInput | string
day_of_the_week?: Prisma.StringFieldUpdateOperationsInput | string
start_time?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
end_time?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
created_at?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
updated_at?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
}
export type shifts_of_templateCountOrderByAggregateInput = {
id?: Prisma.SortOrder
model_id?: Prisma.SortOrder
day_of_the_week?: Prisma.SortOrder
start_time?: Prisma.SortOrder
end_time?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
}
export type shifts_of_templateAvgOrderByAggregateInput = {
start_time?: Prisma.SortOrder
end_time?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
}
export type shifts_of_templateMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
model_id?: Prisma.SortOrder
day_of_the_week?: Prisma.SortOrder
start_time?: Prisma.SortOrder
end_time?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
}
export type shifts_of_templateMinOrderByAggregateInput = {
id?: Prisma.SortOrder
model_id?: Prisma.SortOrder
day_of_the_week?: Prisma.SortOrder
start_time?: Prisma.SortOrder
end_time?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
}
export type shifts_of_templateSumOrderByAggregateInput = {
start_time?: Prisma.SortOrder
end_time?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
}
export type shifts_of_templateSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
model_id?: boolean
day_of_the_week?: boolean
start_time?: boolean
end_time?: boolean
created_at?: boolean
updated_at?: boolean
}, ExtArgs["result"]["shifts_of_template"]>
export type shifts_of_templateSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
model_id?: boolean
day_of_the_week?: boolean
start_time?: boolean
end_time?: boolean
created_at?: boolean
updated_at?: boolean
}, ExtArgs["result"]["shifts_of_template"]>
export type shifts_of_templateSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
model_id?: boolean
day_of_the_week?: boolean
start_time?: boolean
end_time?: boolean
created_at?: boolean
updated_at?: boolean
}, ExtArgs["result"]["shifts_of_template"]>
export type shifts_of_templateSelectScalar = {
id?: boolean
model_id?: boolean
day_of_the_week?: boolean
start_time?: boolean
end_time?: boolean
created_at?: boolean
updated_at?: boolean
}
export type shifts_of_templateOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "model_id" | "day_of_the_week" | "start_time" | "end_time" | "created_at" | "updated_at", ExtArgs["result"]["shifts_of_template"]>
export type $shifts_of_templatePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "shifts_of_template"
objects: {}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
model_id: string
day_of_the_week: string
start_time: bigint
end_time: bigint
created_at: bigint
updated_at: bigint
}, ExtArgs["result"]["shifts_of_template"]>
composites: {}
}
export type shifts_of_templateGetPayload<S extends boolean | null | undefined | shifts_of_templateDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$shifts_of_templatePayload, S>
export type shifts_of_templateCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<shifts_of_templateFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: Shifts_of_templateCountAggregateInputType | true
}
export interface shifts_of_templateDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['shifts_of_template'], meta: { name: 'shifts_of_template' } }
/**
* Find zero or one Shifts_of_template that matches the filter.
* @param {shifts_of_templateFindUniqueArgs} args - Arguments to find a Shifts_of_template
* @example
* // Get one Shifts_of_template
* const shifts_of_template = await prisma.shifts_of_template.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends shifts_of_templateFindUniqueArgs>(args: Prisma.SelectSubset<T, shifts_of_templateFindUniqueArgs<ExtArgs>>): Prisma.Prisma__shifts_of_templateClient<runtime.Types.Result.GetResult<Prisma.$shifts_of_templatePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one Shifts_of_template that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {shifts_of_templateFindUniqueOrThrowArgs} args - Arguments to find a Shifts_of_template
* @example
* // Get one Shifts_of_template
* const shifts_of_template = await prisma.shifts_of_template.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends shifts_of_templateFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, shifts_of_templateFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__shifts_of_templateClient<runtime.Types.Result.GetResult<Prisma.$shifts_of_templatePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first Shifts_of_template that matches the filter.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {shifts_of_templateFindFirstArgs} args - Arguments to find a Shifts_of_template
* @example
* // Get one Shifts_of_template
* const shifts_of_template = await prisma.shifts_of_template.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends shifts_of_templateFindFirstArgs>(args?: Prisma.SelectSubset<T, shifts_of_templateFindFirstArgs<ExtArgs>>): Prisma.Prisma__shifts_of_templateClient<runtime.Types.Result.GetResult<Prisma.$shifts_of_templatePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first Shifts_of_template that matches the filter or
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {shifts_of_templateFindFirstOrThrowArgs} args - Arguments to find a Shifts_of_template
* @example
* // Get one Shifts_of_template
* const shifts_of_template = await prisma.shifts_of_template.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends shifts_of_templateFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, shifts_of_templateFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__shifts_of_templateClient<runtime.Types.Result.GetResult<Prisma.$shifts_of_templatePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more Shifts_of_templates that matches the filter.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {shifts_of_templateFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all Shifts_of_templates
* const shifts_of_templates = await prisma.shifts_of_template.findMany()
*
* // Get first 10 Shifts_of_templates
* const shifts_of_templates = await prisma.shifts_of_template.findMany({ take: 10 })
*
* // Only select the `id`
* const shifts_of_templateWithIdOnly = await prisma.shifts_of_template.findMany({ select: { id: true } })
*
*/
findMany<T extends shifts_of_templateFindManyArgs>(args?: Prisma.SelectSubset<T, shifts_of_templateFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$shifts_of_templatePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a Shifts_of_template.
* @param {shifts_of_templateCreateArgs} args - Arguments to create a Shifts_of_template.
* @example
* // Create one Shifts_of_template
* const Shifts_of_template = await prisma.shifts_of_template.create({
* data: {
* // ... data to create a Shifts_of_template
* }
* })
*
*/
create<T extends shifts_of_templateCreateArgs>(args: Prisma.SelectSubset<T, shifts_of_templateCreateArgs<ExtArgs>>): Prisma.Prisma__shifts_of_templateClient<runtime.Types.Result.GetResult<Prisma.$shifts_of_templatePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many Shifts_of_templates.
* @param {shifts_of_templateCreateManyArgs} args - Arguments to create many Shifts_of_templates.
* @example
* // Create many Shifts_of_templates
* const shifts_of_template = await prisma.shifts_of_template.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends shifts_of_templateCreateManyArgs>(args?: Prisma.SelectSubset<T, shifts_of_templateCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many Shifts_of_templates and returns the data saved in the database.
* @param {shifts_of_templateCreateManyAndReturnArgs} args - Arguments to create many Shifts_of_templates.
* @example
* // Create many Shifts_of_templates
* const shifts_of_template = await prisma.shifts_of_template.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many Shifts_of_templates and only return the `id`
* const shifts_of_templateWithIdOnly = await prisma.shifts_of_template.createManyAndReturn({
* select: { id: true },
* data: [
* // ... provide data here
* ]
* })
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
*
*/
createManyAndReturn<T extends shifts_of_templateCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, shifts_of_templateCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$shifts_of_templatePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a Shifts_of_template.
* @param {shifts_of_templateDeleteArgs} args - Arguments to delete one Shifts_of_template.
* @example
* // Delete one Shifts_of_template
* const Shifts_of_template = await prisma.shifts_of_template.delete({
* where: {
* // ... filter to delete one Shifts_of_template
* }
* })
*
*/
delete<T extends shifts_of_templateDeleteArgs>(args: Prisma.SelectSubset<T, shifts_of_templateDeleteArgs<ExtArgs>>): Prisma.Prisma__shifts_of_templateClient<runtime.Types.Result.GetResult<Prisma.$shifts_of_templatePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one Shifts_of_template.
* @param {shifts_of_templateUpdateArgs} args - Arguments to update one Shifts_of_template.
* @example
* // Update one Shifts_of_template
* const shifts_of_template = await prisma.shifts_of_template.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends shifts_of_templateUpdateArgs>(args: Prisma.SelectSubset<T, shifts_of_templateUpdateArgs<ExtArgs>>): Prisma.Prisma__shifts_of_templateClient<runtime.Types.Result.GetResult<Prisma.$shifts_of_templatePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more Shifts_of_templates.
* @param {shifts_of_templateDeleteManyArgs} args - Arguments to filter Shifts_of_templates to delete.
* @example
* // Delete a few Shifts_of_templates
* const { count } = await prisma.shifts_of_template.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends shifts_of_templateDeleteManyArgs>(args?: Prisma.SelectSubset<T, shifts_of_templateDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Shifts_of_templates.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {shifts_of_templateUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many Shifts_of_templates
* const shifts_of_template = await prisma.shifts_of_template.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends shifts_of_templateUpdateManyArgs>(args: Prisma.SelectSubset<T, shifts_of_templateUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more Shifts_of_templates and returns the data updated in the database.
* @param {shifts_of_templateUpdateManyAndReturnArgs} args - Arguments to update many Shifts_of_templates.
* @example
* // Update many Shifts_of_templates
* const shifts_of_template = await prisma.shifts_of_template.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more Shifts_of_templates and only return the `id`
* const shifts_of_templateWithIdOnly = await prisma.shifts_of_template.updateManyAndReturn({
* select: { id: true },
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
*
*/
updateManyAndReturn<T extends shifts_of_templateUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, shifts_of_templateUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$shifts_of_templatePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one Shifts_of_template.
* @param {shifts_of_templateUpsertArgs} args - Arguments to update or create a Shifts_of_template.
* @example
* // Update or create a Shifts_of_template
* const shifts_of_template = await prisma.shifts_of_template.upsert({
* create: {
* // ... data to create a Shifts_of_template
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the Shifts_of_template we want to update
* }
* })
*/
upsert<T extends shifts_of_templateUpsertArgs>(args: Prisma.SelectSubset<T, shifts_of_templateUpsertArgs<ExtArgs>>): Prisma.Prisma__shifts_of_templateClient<runtime.Types.Result.GetResult<Prisma.$shifts_of_templatePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of Shifts_of_templates.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {shifts_of_templateCountArgs} args - Arguments to filter Shifts_of_templates to count.
* @example
* // Count the number of Shifts_of_templates
* const count = await prisma.shifts_of_template.count({
* where: {
* // ... the filter for the Shifts_of_templates we want to count
* }
* })
**/
count<T extends shifts_of_templateCountArgs>(
args?: Prisma.Subset<T, shifts_of_templateCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], Shifts_of_templateCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a Shifts_of_template.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {Shifts_of_templateAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
* @example
* // Ordered by age ascending
* // Where email contains prisma.io
* // Limited to the 10 users
* const aggregations = await prisma.user.aggregate({
* _avg: {
* age: true,
* },
* where: {
* email: {
* contains: "prisma.io",
* },
* },
* orderBy: {
* age: "asc",
* },
* take: 10,
* })
**/
aggregate<T extends Shifts_of_templateAggregateArgs>(args: Prisma.Subset<T, Shifts_of_templateAggregateArgs>): Prisma.PrismaPromise<GetShifts_of_templateAggregateType<T>>
/**
* Group by Shifts_of_template.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {shifts_of_templateGroupByArgs} args - Group by arguments.
* @example
* // Group by city, order by createdAt, get count
* const result = await prisma.user.groupBy({
* by: ['city', 'createdAt'],
* orderBy: {
* createdAt: true
* },
* _count: {
* _all: true
* },
* })
*
**/
groupBy<
T extends shifts_of_templateGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: shifts_of_templateGroupByArgs['orderBy'] }
: { orderBy?: shifts_of_templateGroupByArgs['orderBy'] },
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
ByValid extends Prisma.Has<ByFields, OrderFields>,
HavingFields extends Prisma.GetHavingFields<T['having']>,
HavingValid extends Prisma.Has<ByFields, HavingFields>,
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
InputErrors extends ByEmpty extends Prisma.True
? `Error: "by" must not be empty.`
: HavingValid extends Prisma.False
? {
[P in HavingFields]: P extends ByFields
? never
: P extends string
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
: [
Error,
'Field ',
P,
` in "having" needs to be provided in "by"`,
]
}[HavingFields]
: 'take' extends Prisma.Keys<T>
? 'orderBy' extends Prisma.Keys<T>
? ByValid extends Prisma.True
? {}
: {
[P in OrderFields]: P extends ByFields
? never
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
}[OrderFields]
: 'Error: If you provide "take", you also need to provide "orderBy"'
: 'skip' extends Prisma.Keys<T>
? 'orderBy' extends Prisma.Keys<T>
? ByValid extends Prisma.True
? {}
: {
[P in OrderFields]: P extends ByFields
? never
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
}[OrderFields]
: 'Error: If you provide "skip", you also need to provide "orderBy"'
: ByValid extends Prisma.True
? {}
: {
[P in OrderFields]: P extends ByFields
? never
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
}[OrderFields]
>(args: Prisma.SubsetIntersection<T, shifts_of_templateGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetShifts_of_templateGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the shifts_of_template model
*/
readonly fields: shifts_of_templateFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for shifts_of_template.
* Why is this prefixed with `Prisma__`?
* Because we want to prevent naming conflicts as mentioned in
* https://github.com/prisma/prisma-client-js/issues/707
*/
export interface Prisma__shifts_of_templateClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
/**
* Attaches callbacks for the resolution and/or rejection of the Promise.
* @param onfulfilled The callback to execute when the Promise is resolved.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of which ever callback is executed.
*/
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
/**
* Attaches a callback for only the rejection of the Promise.
* @param onrejected The callback to execute when the Promise is rejected.
* @returns A Promise for the completion of the callback.
*/
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
/**
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
* resolved value cannot be modified from the callback.
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
* @returns A Promise for the completion of the callback.
*/
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}
/**
* Fields of the shifts_of_template model
*/
export interface shifts_of_templateFieldRefs {
readonly id: Prisma.FieldRef<"shifts_of_template", 'String'>
readonly model_id: Prisma.FieldRef<"shifts_of_template", 'String'>
readonly day_of_the_week: Prisma.FieldRef<"shifts_of_template", 'String'>
readonly start_time: Prisma.FieldRef<"shifts_of_template", 'BigInt'>
readonly end_time: Prisma.FieldRef<"shifts_of_template", 'BigInt'>
readonly created_at: Prisma.FieldRef<"shifts_of_template", 'BigInt'>
readonly updated_at: Prisma.FieldRef<"shifts_of_template", 'BigInt'>
}
// Custom InputTypes
/**
* shifts_of_template findUnique
*/
export type shifts_of_templateFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the shifts_of_template
*/
select?: Prisma.shifts_of_templateSelect<ExtArgs> | null
/**
* Omit specific fields from the shifts_of_template
*/
omit?: Prisma.shifts_of_templateOmit<ExtArgs> | null
/**
* Filter, which shifts_of_template to fetch.
*/
where: Prisma.shifts_of_templateWhereUniqueInput
}
/**
* shifts_of_template findUniqueOrThrow
*/
export type shifts_of_templateFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the shifts_of_template
*/
select?: Prisma.shifts_of_templateSelect<ExtArgs> | null
/**
* Omit specific fields from the shifts_of_template
*/
omit?: Prisma.shifts_of_templateOmit<ExtArgs> | null
/**
* Filter, which shifts_of_template to fetch.
*/
where: Prisma.shifts_of_templateWhereUniqueInput
}
/**
* shifts_of_template findFirst
*/
export type shifts_of_templateFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the shifts_of_template
*/
select?: Prisma.shifts_of_templateSelect<ExtArgs> | null
/**
* Omit specific fields from the shifts_of_template
*/
omit?: Prisma.shifts_of_templateOmit<ExtArgs> | null
/**
* Filter, which shifts_of_template to fetch.
*/
where?: Prisma.shifts_of_templateWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of shifts_of_templates to fetch.
*/
orderBy?: Prisma.shifts_of_templateOrderByWithRelationInput | Prisma.shifts_of_templateOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for shifts_of_templates.
*/
cursor?: Prisma.shifts_of_templateWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` shifts_of_templates from the position of the cursor.
*/
take?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Skip the first `n` shifts_of_templates.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of shifts_of_templates.
*/
distinct?: Prisma.Shifts_of_templateScalarFieldEnum | Prisma.Shifts_of_templateScalarFieldEnum[]
}
/**
* shifts_of_template findFirstOrThrow
*/
export type shifts_of_templateFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the shifts_of_template
*/
select?: Prisma.shifts_of_templateSelect<ExtArgs> | null
/**
* Omit specific fields from the shifts_of_template
*/
omit?: Prisma.shifts_of_templateOmit<ExtArgs> | null
/**
* Filter, which shifts_of_template to fetch.
*/
where?: Prisma.shifts_of_templateWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of shifts_of_templates to fetch.
*/
orderBy?: Prisma.shifts_of_templateOrderByWithRelationInput | Prisma.shifts_of_templateOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for shifts_of_templates.
*/
cursor?: Prisma.shifts_of_templateWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` shifts_of_templates from the position of the cursor.
*/
take?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Skip the first `n` shifts_of_templates.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of shifts_of_templates.
*/
distinct?: Prisma.Shifts_of_templateScalarFieldEnum | Prisma.Shifts_of_templateScalarFieldEnum[]
}
/**
* shifts_of_template findMany
*/
export type shifts_of_templateFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the shifts_of_template
*/
select?: Prisma.shifts_of_templateSelect<ExtArgs> | null
/**
* Omit specific fields from the shifts_of_template
*/
omit?: Prisma.shifts_of_templateOmit<ExtArgs> | null
/**
* Filter, which shifts_of_templates to fetch.
*/
where?: Prisma.shifts_of_templateWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of shifts_of_templates to fetch.
*/
orderBy?: Prisma.shifts_of_templateOrderByWithRelationInput | Prisma.shifts_of_templateOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing shifts_of_templates.
*/
cursor?: Prisma.shifts_of_templateWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` shifts_of_templates from the position of the cursor.
*/
take?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Skip the first `n` shifts_of_templates.
*/
skip?: number
distinct?: Prisma.Shifts_of_templateScalarFieldEnum | Prisma.Shifts_of_templateScalarFieldEnum[]
}
/**
* shifts_of_template create
*/
export type shifts_of_templateCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the shifts_of_template
*/
select?: Prisma.shifts_of_templateSelect<ExtArgs> | null
/**
* Omit specific fields from the shifts_of_template
*/
omit?: Prisma.shifts_of_templateOmit<ExtArgs> | null
/**
* The data needed to create a shifts_of_template.
*/
data: Prisma.XOR<Prisma.shifts_of_templateCreateInput, Prisma.shifts_of_templateUncheckedCreateInput>
}
/**
* shifts_of_template createMany
*/
export type shifts_of_templateCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many shifts_of_templates.
*/
data: Prisma.shifts_of_templateCreateManyInput | Prisma.shifts_of_templateCreateManyInput[]
skipDuplicates?: boolean
}
/**
* shifts_of_template createManyAndReturn
*/
export type shifts_of_templateCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the shifts_of_template
*/
select?: Prisma.shifts_of_templateSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the shifts_of_template
*/
omit?: Prisma.shifts_of_templateOmit<ExtArgs> | null
/**
* The data used to create many shifts_of_templates.
*/
data: Prisma.shifts_of_templateCreateManyInput | Prisma.shifts_of_templateCreateManyInput[]
skipDuplicates?: boolean
}
/**
* shifts_of_template update
*/
export type shifts_of_templateUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the shifts_of_template
*/
select?: Prisma.shifts_of_templateSelect<ExtArgs> | null
/**
* Omit specific fields from the shifts_of_template
*/
omit?: Prisma.shifts_of_templateOmit<ExtArgs> | null
/**
* The data needed to update a shifts_of_template.
*/
data: Prisma.XOR<Prisma.shifts_of_templateUpdateInput, Prisma.shifts_of_templateUncheckedUpdateInput>
/**
* Choose, which shifts_of_template to update.
*/
where: Prisma.shifts_of_templateWhereUniqueInput
}
/**
* shifts_of_template updateMany
*/
export type shifts_of_templateUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update shifts_of_templates.
*/
data: Prisma.XOR<Prisma.shifts_of_templateUpdateManyMutationInput, Prisma.shifts_of_templateUncheckedUpdateManyInput>
/**
* Filter which shifts_of_templates to update
*/
where?: Prisma.shifts_of_templateWhereInput
/**
* Limit how many shifts_of_templates to update.
*/
limit?: number
}
/**
* shifts_of_template updateManyAndReturn
*/
export type shifts_of_templateUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the shifts_of_template
*/
select?: Prisma.shifts_of_templateSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the shifts_of_template
*/
omit?: Prisma.shifts_of_templateOmit<ExtArgs> | null
/**
* The data used to update shifts_of_templates.
*/
data: Prisma.XOR<Prisma.shifts_of_templateUpdateManyMutationInput, Prisma.shifts_of_templateUncheckedUpdateManyInput>
/**
* Filter which shifts_of_templates to update
*/
where?: Prisma.shifts_of_templateWhereInput
/**
* Limit how many shifts_of_templates to update.
*/
limit?: number
}
/**
* shifts_of_template upsert
*/
export type shifts_of_templateUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the shifts_of_template
*/
select?: Prisma.shifts_of_templateSelect<ExtArgs> | null
/**
* Omit specific fields from the shifts_of_template
*/
omit?: Prisma.shifts_of_templateOmit<ExtArgs> | null
/**
* The filter to search for the shifts_of_template to update in case it exists.
*/
where: Prisma.shifts_of_templateWhereUniqueInput
/**
* In case the shifts_of_template found by the `where` argument doesn't exist, create a new shifts_of_template with this data.
*/
create: Prisma.XOR<Prisma.shifts_of_templateCreateInput, Prisma.shifts_of_templateUncheckedCreateInput>
/**
* In case the shifts_of_template was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.shifts_of_templateUpdateInput, Prisma.shifts_of_templateUncheckedUpdateInput>
}
/**
* shifts_of_template delete
*/
export type shifts_of_templateDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the shifts_of_template
*/
select?: Prisma.shifts_of_templateSelect<ExtArgs> | null
/**
* Omit specific fields from the shifts_of_template
*/
omit?: Prisma.shifts_of_templateOmit<ExtArgs> | null
/**
* Filter which shifts_of_template to delete.
*/
where: Prisma.shifts_of_templateWhereUniqueInput
}
/**
* shifts_of_template deleteMany
*/
export type shifts_of_templateDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which shifts_of_templates to delete
*/
where?: Prisma.shifts_of_templateWhereInput
/**
* Limit how many shifts_of_templates to delete.
*/
limit?: number
}
/**
* shifts_of_template without action
*/
export type shifts_of_templateDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the shifts_of_template
*/
select?: Prisma.shifts_of_templateSelect<ExtArgs> | null
/**
* Omit specific fields from the shifts_of_template
*/
omit?: Prisma.shifts_of_templateOmit<ExtArgs> | null
}