1309 lines
49 KiB
TypeScript
1309 lines
49 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 `ProclamationGroup` 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.ts"
|
|
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
|
|
/**
|
|
* Model ProclamationGroup
|
|
*
|
|
*/
|
|
export type ProclamationGroupModel = runtime.Types.Result.DefaultSelection<Prisma.$ProclamationGroupPayload>
|
|
|
|
export type AggregateProclamationGroup = {
|
|
_count: ProclamationGroupCountAggregateOutputType | null
|
|
_avg: ProclamationGroupAvgAggregateOutputType | null
|
|
_sum: ProclamationGroupSumAggregateOutputType | null
|
|
_min: ProclamationGroupMinAggregateOutputType | null
|
|
_max: ProclamationGroupMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type ProclamationGroupAvgAggregateOutputType = {
|
|
id: number | null
|
|
sortOrder: number | null
|
|
}
|
|
|
|
export type ProclamationGroupSumAggregateOutputType = {
|
|
id: number | null
|
|
sortOrder: number | null
|
|
}
|
|
|
|
export type ProclamationGroupMinAggregateOutputType = {
|
|
id: number | null
|
|
name: string | null
|
|
sortOrder: number | null
|
|
}
|
|
|
|
export type ProclamationGroupMaxAggregateOutputType = {
|
|
id: number | null
|
|
name: string | null
|
|
sortOrder: number | null
|
|
}
|
|
|
|
export type ProclamationGroupCountAggregateOutputType = {
|
|
id: number
|
|
name: number
|
|
sortOrder: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type ProclamationGroupAvgAggregateInputType = {
|
|
id?: true
|
|
sortOrder?: true
|
|
}
|
|
|
|
export type ProclamationGroupSumAggregateInputType = {
|
|
id?: true
|
|
sortOrder?: true
|
|
}
|
|
|
|
export type ProclamationGroupMinAggregateInputType = {
|
|
id?: true
|
|
name?: true
|
|
sortOrder?: true
|
|
}
|
|
|
|
export type ProclamationGroupMaxAggregateInputType = {
|
|
id?: true
|
|
name?: true
|
|
sortOrder?: true
|
|
}
|
|
|
|
export type ProclamationGroupCountAggregateInputType = {
|
|
id?: true
|
|
name?: true
|
|
sortOrder?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type ProclamationGroupAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which ProclamationGroup to aggregate.
|
|
*/
|
|
where?: Prisma.ProclamationGroupWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ProclamationGroups to fetch.
|
|
*/
|
|
orderBy?: Prisma.ProclamationGroupOrderByWithRelationInput | Prisma.ProclamationGroupOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.ProclamationGroupWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ProclamationGroups 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` ProclamationGroups.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned ProclamationGroups
|
|
**/
|
|
_count?: true | ProclamationGroupCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: ProclamationGroupAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: ProclamationGroupSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: ProclamationGroupMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: ProclamationGroupMaxAggregateInputType
|
|
}
|
|
|
|
export type GetProclamationGroupAggregateType<T extends ProclamationGroupAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateProclamationGroup]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateProclamationGroup[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateProclamationGroup[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProclamationGroupGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.ProclamationGroupWhereInput
|
|
orderBy?: Prisma.ProclamationGroupOrderByWithAggregationInput | Prisma.ProclamationGroupOrderByWithAggregationInput[]
|
|
by: Prisma.ProclamationGroupScalarFieldEnum[] | Prisma.ProclamationGroupScalarFieldEnum
|
|
having?: Prisma.ProclamationGroupScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: ProclamationGroupCountAggregateInputType | true
|
|
_avg?: ProclamationGroupAvgAggregateInputType
|
|
_sum?: ProclamationGroupSumAggregateInputType
|
|
_min?: ProclamationGroupMinAggregateInputType
|
|
_max?: ProclamationGroupMaxAggregateInputType
|
|
}
|
|
|
|
export type ProclamationGroupGroupByOutputType = {
|
|
id: number
|
|
name: string
|
|
sortOrder: number
|
|
_count: ProclamationGroupCountAggregateOutputType | null
|
|
_avg: ProclamationGroupAvgAggregateOutputType | null
|
|
_sum: ProclamationGroupSumAggregateOutputType | null
|
|
_min: ProclamationGroupMinAggregateOutputType | null
|
|
_max: ProclamationGroupMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetProclamationGroupGroupByPayload<T extends ProclamationGroupGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<ProclamationGroupGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof ProclamationGroupGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], ProclamationGroupGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], ProclamationGroupGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type ProclamationGroupWhereInput = {
|
|
AND?: Prisma.ProclamationGroupWhereInput | Prisma.ProclamationGroupWhereInput[]
|
|
OR?: Prisma.ProclamationGroupWhereInput[]
|
|
NOT?: Prisma.ProclamationGroupWhereInput | Prisma.ProclamationGroupWhereInput[]
|
|
id?: Prisma.IntFilter<"ProclamationGroup"> | number
|
|
name?: Prisma.StringFilter<"ProclamationGroup"> | string
|
|
sortOrder?: Prisma.IntFilter<"ProclamationGroup"> | number
|
|
proclamations?: Prisma.ProclamationListRelationFilter
|
|
}
|
|
|
|
export type ProclamationGroupOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
proclamations?: Prisma.ProclamationOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type ProclamationGroupWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: number
|
|
name?: string
|
|
AND?: Prisma.ProclamationGroupWhereInput | Prisma.ProclamationGroupWhereInput[]
|
|
OR?: Prisma.ProclamationGroupWhereInput[]
|
|
NOT?: Prisma.ProclamationGroupWhereInput | Prisma.ProclamationGroupWhereInput[]
|
|
sortOrder?: Prisma.IntFilter<"ProclamationGroup"> | number
|
|
proclamations?: Prisma.ProclamationListRelationFilter
|
|
}, "id" | "name">
|
|
|
|
export type ProclamationGroupOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
_count?: Prisma.ProclamationGroupCountOrderByAggregateInput
|
|
_avg?: Prisma.ProclamationGroupAvgOrderByAggregateInput
|
|
_max?: Prisma.ProclamationGroupMaxOrderByAggregateInput
|
|
_min?: Prisma.ProclamationGroupMinOrderByAggregateInput
|
|
_sum?: Prisma.ProclamationGroupSumOrderByAggregateInput
|
|
}
|
|
|
|
export type ProclamationGroupScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.ProclamationGroupScalarWhereWithAggregatesInput | Prisma.ProclamationGroupScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.ProclamationGroupScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.ProclamationGroupScalarWhereWithAggregatesInput | Prisma.ProclamationGroupScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.IntWithAggregatesFilter<"ProclamationGroup"> | number
|
|
name?: Prisma.StringWithAggregatesFilter<"ProclamationGroup"> | string
|
|
sortOrder?: Prisma.IntWithAggregatesFilter<"ProclamationGroup"> | number
|
|
}
|
|
|
|
export type ProclamationGroupCreateInput = {
|
|
name: string
|
|
sortOrder?: number
|
|
proclamations?: Prisma.ProclamationCreateNestedManyWithoutGroupInput
|
|
}
|
|
|
|
export type ProclamationGroupUncheckedCreateInput = {
|
|
id?: number
|
|
name: string
|
|
sortOrder?: number
|
|
proclamations?: Prisma.ProclamationUncheckedCreateNestedManyWithoutGroupInput
|
|
}
|
|
|
|
export type ProclamationGroupUpdateInput = {
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
proclamations?: Prisma.ProclamationUpdateManyWithoutGroupNestedInput
|
|
}
|
|
|
|
export type ProclamationGroupUncheckedUpdateInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
proclamations?: Prisma.ProclamationUncheckedUpdateManyWithoutGroupNestedInput
|
|
}
|
|
|
|
export type ProclamationGroupCreateManyInput = {
|
|
id?: number
|
|
name: string
|
|
sortOrder?: number
|
|
}
|
|
|
|
export type ProclamationGroupUpdateManyMutationInput = {
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type ProclamationGroupUncheckedUpdateManyInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type ProclamationGroupScalarRelationFilter = {
|
|
is?: Prisma.ProclamationGroupWhereInput
|
|
isNot?: Prisma.ProclamationGroupWhereInput
|
|
}
|
|
|
|
export type ProclamationGroupCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ProclamationGroupAvgOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ProclamationGroupMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ProclamationGroupMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ProclamationGroupSumOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
}
|
|
|
|
export type ProclamationGroupCreateNestedOneWithoutProclamationsInput = {
|
|
create?: Prisma.XOR<Prisma.ProclamationGroupCreateWithoutProclamationsInput, Prisma.ProclamationGroupUncheckedCreateWithoutProclamationsInput>
|
|
connectOrCreate?: Prisma.ProclamationGroupCreateOrConnectWithoutProclamationsInput
|
|
connect?: Prisma.ProclamationGroupWhereUniqueInput
|
|
}
|
|
|
|
export type ProclamationGroupUpdateOneRequiredWithoutProclamationsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.ProclamationGroupCreateWithoutProclamationsInput, Prisma.ProclamationGroupUncheckedCreateWithoutProclamationsInput>
|
|
connectOrCreate?: Prisma.ProclamationGroupCreateOrConnectWithoutProclamationsInput
|
|
upsert?: Prisma.ProclamationGroupUpsertWithoutProclamationsInput
|
|
connect?: Prisma.ProclamationGroupWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.ProclamationGroupUpdateToOneWithWhereWithoutProclamationsInput, Prisma.ProclamationGroupUpdateWithoutProclamationsInput>, Prisma.ProclamationGroupUncheckedUpdateWithoutProclamationsInput>
|
|
}
|
|
|
|
export type ProclamationGroupCreateWithoutProclamationsInput = {
|
|
name: string
|
|
sortOrder?: number
|
|
}
|
|
|
|
export type ProclamationGroupUncheckedCreateWithoutProclamationsInput = {
|
|
id?: number
|
|
name: string
|
|
sortOrder?: number
|
|
}
|
|
|
|
export type ProclamationGroupCreateOrConnectWithoutProclamationsInput = {
|
|
where: Prisma.ProclamationGroupWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.ProclamationGroupCreateWithoutProclamationsInput, Prisma.ProclamationGroupUncheckedCreateWithoutProclamationsInput>
|
|
}
|
|
|
|
export type ProclamationGroupUpsertWithoutProclamationsInput = {
|
|
update: Prisma.XOR<Prisma.ProclamationGroupUpdateWithoutProclamationsInput, Prisma.ProclamationGroupUncheckedUpdateWithoutProclamationsInput>
|
|
create: Prisma.XOR<Prisma.ProclamationGroupCreateWithoutProclamationsInput, Prisma.ProclamationGroupUncheckedCreateWithoutProclamationsInput>
|
|
where?: Prisma.ProclamationGroupWhereInput
|
|
}
|
|
|
|
export type ProclamationGroupUpdateToOneWithWhereWithoutProclamationsInput = {
|
|
where?: Prisma.ProclamationGroupWhereInput
|
|
data: Prisma.XOR<Prisma.ProclamationGroupUpdateWithoutProclamationsInput, Prisma.ProclamationGroupUncheckedUpdateWithoutProclamationsInput>
|
|
}
|
|
|
|
export type ProclamationGroupUpdateWithoutProclamationsInput = {
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
export type ProclamationGroupUncheckedUpdateWithoutProclamationsInput = {
|
|
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type ProclamationGroupCountOutputType
|
|
*/
|
|
|
|
export type ProclamationGroupCountOutputType = {
|
|
proclamations: number
|
|
}
|
|
|
|
export type ProclamationGroupCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
proclamations?: boolean | ProclamationGroupCountOutputTypeCountProclamationsArgs
|
|
}
|
|
|
|
/**
|
|
* ProclamationGroupCountOutputType without action
|
|
*/
|
|
export type ProclamationGroupCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProclamationGroupCountOutputType
|
|
*/
|
|
select?: Prisma.ProclamationGroupCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* ProclamationGroupCountOutputType without action
|
|
*/
|
|
export type ProclamationGroupCountOutputTypeCountProclamationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.ProclamationWhereInput
|
|
}
|
|
|
|
|
|
export type ProclamationGroupSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
name?: boolean
|
|
sortOrder?: boolean
|
|
proclamations?: boolean | Prisma.ProclamationGroup$proclamationsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.ProclamationGroupCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["proclamationGroup"]>
|
|
|
|
export type ProclamationGroupSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
name?: boolean
|
|
sortOrder?: boolean
|
|
}, ExtArgs["result"]["proclamationGroup"]>
|
|
|
|
export type ProclamationGroupSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
name?: boolean
|
|
sortOrder?: boolean
|
|
}, ExtArgs["result"]["proclamationGroup"]>
|
|
|
|
export type ProclamationGroupSelectScalar = {
|
|
id?: boolean
|
|
name?: boolean
|
|
sortOrder?: boolean
|
|
}
|
|
|
|
export type ProclamationGroupOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "sortOrder", ExtArgs["result"]["proclamationGroup"]>
|
|
export type ProclamationGroupInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
proclamations?: boolean | Prisma.ProclamationGroup$proclamationsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.ProclamationGroupCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type ProclamationGroupIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
export type ProclamationGroupIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
|
|
export type $ProclamationGroupPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "ProclamationGroup"
|
|
objects: {
|
|
proclamations: Prisma.$ProclamationPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: number
|
|
name: string
|
|
sortOrder: number
|
|
}, ExtArgs["result"]["proclamationGroup"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type ProclamationGroupGetPayload<S extends boolean | null | undefined | ProclamationGroupDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProclamationGroupPayload, S>
|
|
|
|
export type ProclamationGroupCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<ProclamationGroupFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: ProclamationGroupCountAggregateInputType | true
|
|
}
|
|
|
|
export interface ProclamationGroupDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ProclamationGroup'], meta: { name: 'ProclamationGroup' } }
|
|
/**
|
|
* Find zero or one ProclamationGroup that matches the filter.
|
|
* @param {ProclamationGroupFindUniqueArgs} args - Arguments to find a ProclamationGroup
|
|
* @example
|
|
* // Get one ProclamationGroup
|
|
* const proclamationGroup = await prisma.proclamationGroup.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends ProclamationGroupFindUniqueArgs>(args: Prisma.SelectSubset<T, ProclamationGroupFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProclamationGroupClient<runtime.Types.Result.GetResult<Prisma.$ProclamationGroupPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one ProclamationGroup that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {ProclamationGroupFindUniqueOrThrowArgs} args - Arguments to find a ProclamationGroup
|
|
* @example
|
|
* // Get one ProclamationGroup
|
|
* const proclamationGroup = await prisma.proclamationGroup.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends ProclamationGroupFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProclamationGroupFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProclamationGroupClient<runtime.Types.Result.GetResult<Prisma.$ProclamationGroupPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first ProclamationGroup 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 {ProclamationGroupFindFirstArgs} args - Arguments to find a ProclamationGroup
|
|
* @example
|
|
* // Get one ProclamationGroup
|
|
* const proclamationGroup = await prisma.proclamationGroup.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends ProclamationGroupFindFirstArgs>(args?: Prisma.SelectSubset<T, ProclamationGroupFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProclamationGroupClient<runtime.Types.Result.GetResult<Prisma.$ProclamationGroupPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first ProclamationGroup 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 {ProclamationGroupFindFirstOrThrowArgs} args - Arguments to find a ProclamationGroup
|
|
* @example
|
|
* // Get one ProclamationGroup
|
|
* const proclamationGroup = await prisma.proclamationGroup.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends ProclamationGroupFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProclamationGroupFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProclamationGroupClient<runtime.Types.Result.GetResult<Prisma.$ProclamationGroupPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more ProclamationGroups 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 {ProclamationGroupFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all ProclamationGroups
|
|
* const proclamationGroups = await prisma.proclamationGroup.findMany()
|
|
*
|
|
* // Get first 10 ProclamationGroups
|
|
* const proclamationGroups = await prisma.proclamationGroup.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const proclamationGroupWithIdOnly = await prisma.proclamationGroup.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends ProclamationGroupFindManyArgs>(args?: Prisma.SelectSubset<T, ProclamationGroupFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProclamationGroupPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a ProclamationGroup.
|
|
* @param {ProclamationGroupCreateArgs} args - Arguments to create a ProclamationGroup.
|
|
* @example
|
|
* // Create one ProclamationGroup
|
|
* const ProclamationGroup = await prisma.proclamationGroup.create({
|
|
* data: {
|
|
* // ... data to create a ProclamationGroup
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends ProclamationGroupCreateArgs>(args: Prisma.SelectSubset<T, ProclamationGroupCreateArgs<ExtArgs>>): Prisma.Prisma__ProclamationGroupClient<runtime.Types.Result.GetResult<Prisma.$ProclamationGroupPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many ProclamationGroups.
|
|
* @param {ProclamationGroupCreateManyArgs} args - Arguments to create many ProclamationGroups.
|
|
* @example
|
|
* // Create many ProclamationGroups
|
|
* const proclamationGroup = await prisma.proclamationGroup.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends ProclamationGroupCreateManyArgs>(args?: Prisma.SelectSubset<T, ProclamationGroupCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many ProclamationGroups and returns the data saved in the database.
|
|
* @param {ProclamationGroupCreateManyAndReturnArgs} args - Arguments to create many ProclamationGroups.
|
|
* @example
|
|
* // Create many ProclamationGroups
|
|
* const proclamationGroup = await prisma.proclamationGroup.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many ProclamationGroups and only return the `id`
|
|
* const proclamationGroupWithIdOnly = await prisma.proclamationGroup.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 ProclamationGroupCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProclamationGroupCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProclamationGroupPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a ProclamationGroup.
|
|
* @param {ProclamationGroupDeleteArgs} args - Arguments to delete one ProclamationGroup.
|
|
* @example
|
|
* // Delete one ProclamationGroup
|
|
* const ProclamationGroup = await prisma.proclamationGroup.delete({
|
|
* where: {
|
|
* // ... filter to delete one ProclamationGroup
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends ProclamationGroupDeleteArgs>(args: Prisma.SelectSubset<T, ProclamationGroupDeleteArgs<ExtArgs>>): Prisma.Prisma__ProclamationGroupClient<runtime.Types.Result.GetResult<Prisma.$ProclamationGroupPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one ProclamationGroup.
|
|
* @param {ProclamationGroupUpdateArgs} args - Arguments to update one ProclamationGroup.
|
|
* @example
|
|
* // Update one ProclamationGroup
|
|
* const proclamationGroup = await prisma.proclamationGroup.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends ProclamationGroupUpdateArgs>(args: Prisma.SelectSubset<T, ProclamationGroupUpdateArgs<ExtArgs>>): Prisma.Prisma__ProclamationGroupClient<runtime.Types.Result.GetResult<Prisma.$ProclamationGroupPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more ProclamationGroups.
|
|
* @param {ProclamationGroupDeleteManyArgs} args - Arguments to filter ProclamationGroups to delete.
|
|
* @example
|
|
* // Delete a few ProclamationGroups
|
|
* const { count } = await prisma.proclamationGroup.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends ProclamationGroupDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProclamationGroupDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more ProclamationGroups.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ProclamationGroupUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many ProclamationGroups
|
|
* const proclamationGroup = await prisma.proclamationGroup.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends ProclamationGroupUpdateManyArgs>(args: Prisma.SelectSubset<T, ProclamationGroupUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more ProclamationGroups and returns the data updated in the database.
|
|
* @param {ProclamationGroupUpdateManyAndReturnArgs} args - Arguments to update many ProclamationGroups.
|
|
* @example
|
|
* // Update many ProclamationGroups
|
|
* const proclamationGroup = await prisma.proclamationGroup.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more ProclamationGroups and only return the `id`
|
|
* const proclamationGroupWithIdOnly = await prisma.proclamationGroup.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 ProclamationGroupUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProclamationGroupUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProclamationGroupPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one ProclamationGroup.
|
|
* @param {ProclamationGroupUpsertArgs} args - Arguments to update or create a ProclamationGroup.
|
|
* @example
|
|
* // Update or create a ProclamationGroup
|
|
* const proclamationGroup = await prisma.proclamationGroup.upsert({
|
|
* create: {
|
|
* // ... data to create a ProclamationGroup
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the ProclamationGroup we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends ProclamationGroupUpsertArgs>(args: Prisma.SelectSubset<T, ProclamationGroupUpsertArgs<ExtArgs>>): Prisma.Prisma__ProclamationGroupClient<runtime.Types.Result.GetResult<Prisma.$ProclamationGroupPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of ProclamationGroups.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ProclamationGroupCountArgs} args - Arguments to filter ProclamationGroups to count.
|
|
* @example
|
|
* // Count the number of ProclamationGroups
|
|
* const count = await prisma.proclamationGroup.count({
|
|
* where: {
|
|
* // ... the filter for the ProclamationGroups we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends ProclamationGroupCountArgs>(
|
|
args?: Prisma.Subset<T, ProclamationGroupCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], ProclamationGroupCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a ProclamationGroup.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ProclamationGroupAggregateArgs} 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 ProclamationGroupAggregateArgs>(args: Prisma.Subset<T, ProclamationGroupAggregateArgs>): Prisma.PrismaPromise<GetProclamationGroupAggregateType<T>>
|
|
|
|
/**
|
|
* Group by ProclamationGroup.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {ProclamationGroupGroupByArgs} 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 ProclamationGroupGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: ProclamationGroupGroupByArgs['orderBy'] }
|
|
: { orderBy?: ProclamationGroupGroupByArgs['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, ProclamationGroupGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProclamationGroupGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the ProclamationGroup model
|
|
*/
|
|
readonly fields: ProclamationGroupFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for ProclamationGroup.
|
|
* 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__ProclamationGroupClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
proclamations<T extends Prisma.ProclamationGroup$proclamationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProclamationGroup$proclamationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProclamationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
/**
|
|
* 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 ProclamationGroup model
|
|
*/
|
|
export interface ProclamationGroupFieldRefs {
|
|
readonly id: Prisma.FieldRef<"ProclamationGroup", 'Int'>
|
|
readonly name: Prisma.FieldRef<"ProclamationGroup", 'String'>
|
|
readonly sortOrder: Prisma.FieldRef<"ProclamationGroup", 'Int'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* ProclamationGroup findUnique
|
|
*/
|
|
export type ProclamationGroupFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProclamationGroup
|
|
*/
|
|
select?: Prisma.ProclamationGroupSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProclamationGroup
|
|
*/
|
|
omit?: Prisma.ProclamationGroupOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProclamationGroupInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which ProclamationGroup to fetch.
|
|
*/
|
|
where: Prisma.ProclamationGroupWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ProclamationGroup findUniqueOrThrow
|
|
*/
|
|
export type ProclamationGroupFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProclamationGroup
|
|
*/
|
|
select?: Prisma.ProclamationGroupSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProclamationGroup
|
|
*/
|
|
omit?: Prisma.ProclamationGroupOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProclamationGroupInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which ProclamationGroup to fetch.
|
|
*/
|
|
where: Prisma.ProclamationGroupWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ProclamationGroup findFirst
|
|
*/
|
|
export type ProclamationGroupFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProclamationGroup
|
|
*/
|
|
select?: Prisma.ProclamationGroupSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProclamationGroup
|
|
*/
|
|
omit?: Prisma.ProclamationGroupOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProclamationGroupInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which ProclamationGroup to fetch.
|
|
*/
|
|
where?: Prisma.ProclamationGroupWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ProclamationGroups to fetch.
|
|
*/
|
|
orderBy?: Prisma.ProclamationGroupOrderByWithRelationInput | Prisma.ProclamationGroupOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for ProclamationGroups.
|
|
*/
|
|
cursor?: Prisma.ProclamationGroupWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ProclamationGroups 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` ProclamationGroups.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of ProclamationGroups.
|
|
*/
|
|
distinct?: Prisma.ProclamationGroupScalarFieldEnum | Prisma.ProclamationGroupScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ProclamationGroup findFirstOrThrow
|
|
*/
|
|
export type ProclamationGroupFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProclamationGroup
|
|
*/
|
|
select?: Prisma.ProclamationGroupSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProclamationGroup
|
|
*/
|
|
omit?: Prisma.ProclamationGroupOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProclamationGroupInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which ProclamationGroup to fetch.
|
|
*/
|
|
where?: Prisma.ProclamationGroupWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ProclamationGroups to fetch.
|
|
*/
|
|
orderBy?: Prisma.ProclamationGroupOrderByWithRelationInput | Prisma.ProclamationGroupOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for ProclamationGroups.
|
|
*/
|
|
cursor?: Prisma.ProclamationGroupWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ProclamationGroups 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` ProclamationGroups.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of ProclamationGroups.
|
|
*/
|
|
distinct?: Prisma.ProclamationGroupScalarFieldEnum | Prisma.ProclamationGroupScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ProclamationGroup findMany
|
|
*/
|
|
export type ProclamationGroupFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProclamationGroup
|
|
*/
|
|
select?: Prisma.ProclamationGroupSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProclamationGroup
|
|
*/
|
|
omit?: Prisma.ProclamationGroupOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProclamationGroupInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which ProclamationGroups to fetch.
|
|
*/
|
|
where?: Prisma.ProclamationGroupWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of ProclamationGroups to fetch.
|
|
*/
|
|
orderBy?: Prisma.ProclamationGroupOrderByWithRelationInput | Prisma.ProclamationGroupOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing ProclamationGroups.
|
|
*/
|
|
cursor?: Prisma.ProclamationGroupWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` ProclamationGroups 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` ProclamationGroups.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of ProclamationGroups.
|
|
*/
|
|
distinct?: Prisma.ProclamationGroupScalarFieldEnum | Prisma.ProclamationGroupScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ProclamationGroup create
|
|
*/
|
|
export type ProclamationGroupCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProclamationGroup
|
|
*/
|
|
select?: Prisma.ProclamationGroupSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProclamationGroup
|
|
*/
|
|
omit?: Prisma.ProclamationGroupOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProclamationGroupInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a ProclamationGroup.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ProclamationGroupCreateInput, Prisma.ProclamationGroupUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* ProclamationGroup createMany
|
|
*/
|
|
export type ProclamationGroupCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many ProclamationGroups.
|
|
*/
|
|
data: Prisma.ProclamationGroupCreateManyInput | Prisma.ProclamationGroupCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* ProclamationGroup createManyAndReturn
|
|
*/
|
|
export type ProclamationGroupCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProclamationGroup
|
|
*/
|
|
select?: Prisma.ProclamationGroupSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProclamationGroup
|
|
*/
|
|
omit?: Prisma.ProclamationGroupOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many ProclamationGroups.
|
|
*/
|
|
data: Prisma.ProclamationGroupCreateManyInput | Prisma.ProclamationGroupCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* ProclamationGroup update
|
|
*/
|
|
export type ProclamationGroupUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProclamationGroup
|
|
*/
|
|
select?: Prisma.ProclamationGroupSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProclamationGroup
|
|
*/
|
|
omit?: Prisma.ProclamationGroupOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProclamationGroupInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a ProclamationGroup.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ProclamationGroupUpdateInput, Prisma.ProclamationGroupUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which ProclamationGroup to update.
|
|
*/
|
|
where: Prisma.ProclamationGroupWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ProclamationGroup updateMany
|
|
*/
|
|
export type ProclamationGroupUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update ProclamationGroups.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ProclamationGroupUpdateManyMutationInput, Prisma.ProclamationGroupUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which ProclamationGroups to update
|
|
*/
|
|
where?: Prisma.ProclamationGroupWhereInput
|
|
/**
|
|
* Limit how many ProclamationGroups to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* ProclamationGroup updateManyAndReturn
|
|
*/
|
|
export type ProclamationGroupUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProclamationGroup
|
|
*/
|
|
select?: Prisma.ProclamationGroupSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProclamationGroup
|
|
*/
|
|
omit?: Prisma.ProclamationGroupOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update ProclamationGroups.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ProclamationGroupUpdateManyMutationInput, Prisma.ProclamationGroupUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which ProclamationGroups to update
|
|
*/
|
|
where?: Prisma.ProclamationGroupWhereInput
|
|
/**
|
|
* Limit how many ProclamationGroups to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* ProclamationGroup upsert
|
|
*/
|
|
export type ProclamationGroupUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProclamationGroup
|
|
*/
|
|
select?: Prisma.ProclamationGroupSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProclamationGroup
|
|
*/
|
|
omit?: Prisma.ProclamationGroupOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProclamationGroupInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the ProclamationGroup to update in case it exists.
|
|
*/
|
|
where: Prisma.ProclamationGroupWhereUniqueInput
|
|
/**
|
|
* In case the ProclamationGroup found by the `where` argument doesn't exist, create a new ProclamationGroup with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.ProclamationGroupCreateInput, Prisma.ProclamationGroupUncheckedCreateInput>
|
|
/**
|
|
* In case the ProclamationGroup was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.ProclamationGroupUpdateInput, Prisma.ProclamationGroupUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* ProclamationGroup delete
|
|
*/
|
|
export type ProclamationGroupDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProclamationGroup
|
|
*/
|
|
select?: Prisma.ProclamationGroupSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProclamationGroup
|
|
*/
|
|
omit?: Prisma.ProclamationGroupOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProclamationGroupInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which ProclamationGroup to delete.
|
|
*/
|
|
where: Prisma.ProclamationGroupWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ProclamationGroup deleteMany
|
|
*/
|
|
export type ProclamationGroupDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which ProclamationGroups to delete
|
|
*/
|
|
where?: Prisma.ProclamationGroupWhereInput
|
|
/**
|
|
* Limit how many ProclamationGroups to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* ProclamationGroup.proclamations
|
|
*/
|
|
export type ProclamationGroup$proclamationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Proclamation
|
|
*/
|
|
select?: Prisma.ProclamationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Proclamation
|
|
*/
|
|
omit?: Prisma.ProclamationOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProclamationInclude<ExtArgs> | null
|
|
where?: Prisma.ProclamationWhereInput
|
|
orderBy?: Prisma.ProclamationOrderByWithRelationInput | Prisma.ProclamationOrderByWithRelationInput[]
|
|
cursor?: Prisma.ProclamationWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.ProclamationScalarFieldEnum | Prisma.ProclamationScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* ProclamationGroup without action
|
|
*/
|
|
export type ProclamationGroupDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProclamationGroup
|
|
*/
|
|
select?: Prisma.ProclamationGroupSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ProclamationGroup
|
|
*/
|
|
omit?: Prisma.ProclamationGroupOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProclamationGroupInclude<ExtArgs> | null
|
|
}
|