1516 lines
64 KiB
TypeScript
1516 lines
64 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 `BlockProclamations` 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 BlockProclamations
|
|
*
|
|
*/
|
|
export type BlockProclamationsModel = runtime.Types.Result.DefaultSelection<Prisma.$BlockProclamationsPayload>
|
|
|
|
export type AggregateBlockProclamations = {
|
|
_count: BlockProclamationsCountAggregateOutputType | null
|
|
_avg: BlockProclamationsAvgAggregateOutputType | null
|
|
_sum: BlockProclamationsSumAggregateOutputType | null
|
|
_min: BlockProclamationsMinAggregateOutputType | null
|
|
_max: BlockProclamationsMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type BlockProclamationsAvgAggregateOutputType = {
|
|
sortOrder: number | null
|
|
}
|
|
|
|
export type BlockProclamationsSumAggregateOutputType = {
|
|
sortOrder: number | null
|
|
}
|
|
|
|
export type BlockProclamationsMinAggregateOutputType = {
|
|
blockId: string | null
|
|
proclamationId: string | null
|
|
sortOrder: number | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
}
|
|
|
|
export type BlockProclamationsMaxAggregateOutputType = {
|
|
blockId: string | null
|
|
proclamationId: string | null
|
|
sortOrder: number | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
}
|
|
|
|
export type BlockProclamationsCountAggregateOutputType = {
|
|
blockId: number
|
|
proclamationId: number
|
|
sortOrder: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type BlockProclamationsAvgAggregateInputType = {
|
|
sortOrder?: true
|
|
}
|
|
|
|
export type BlockProclamationsSumAggregateInputType = {
|
|
sortOrder?: true
|
|
}
|
|
|
|
export type BlockProclamationsMinAggregateInputType = {
|
|
blockId?: true
|
|
proclamationId?: true
|
|
sortOrder?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
}
|
|
|
|
export type BlockProclamationsMaxAggregateInputType = {
|
|
blockId?: true
|
|
proclamationId?: true
|
|
sortOrder?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
}
|
|
|
|
export type BlockProclamationsCountAggregateInputType = {
|
|
blockId?: true
|
|
proclamationId?: true
|
|
sortOrder?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type BlockProclamationsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which BlockProclamations to aggregate.
|
|
*/
|
|
where?: Prisma.BlockProclamationsWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of BlockProclamations to fetch.
|
|
*/
|
|
orderBy?: Prisma.BlockProclamationsOrderByWithRelationInput | Prisma.BlockProclamationsOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.BlockProclamationsWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` BlockProclamations 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` BlockProclamations.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned BlockProclamations
|
|
**/
|
|
_count?: true | BlockProclamationsCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to average
|
|
**/
|
|
_avg?: BlockProclamationsAvgAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to sum
|
|
**/
|
|
_sum?: BlockProclamationsSumAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: BlockProclamationsMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: BlockProclamationsMaxAggregateInputType
|
|
}
|
|
|
|
export type GetBlockProclamationsAggregateType<T extends BlockProclamationsAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateBlockProclamations]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateBlockProclamations[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateBlockProclamations[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type BlockProclamationsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.BlockProclamationsWhereInput
|
|
orderBy?: Prisma.BlockProclamationsOrderByWithAggregationInput | Prisma.BlockProclamationsOrderByWithAggregationInput[]
|
|
by: Prisma.BlockProclamationsScalarFieldEnum[] | Prisma.BlockProclamationsScalarFieldEnum
|
|
having?: Prisma.BlockProclamationsScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: BlockProclamationsCountAggregateInputType | true
|
|
_avg?: BlockProclamationsAvgAggregateInputType
|
|
_sum?: BlockProclamationsSumAggregateInputType
|
|
_min?: BlockProclamationsMinAggregateInputType
|
|
_max?: BlockProclamationsMaxAggregateInputType
|
|
}
|
|
|
|
export type BlockProclamationsGroupByOutputType = {
|
|
blockId: string
|
|
proclamationId: string
|
|
sortOrder: number
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
_count: BlockProclamationsCountAggregateOutputType | null
|
|
_avg: BlockProclamationsAvgAggregateOutputType | null
|
|
_sum: BlockProclamationsSumAggregateOutputType | null
|
|
_min: BlockProclamationsMinAggregateOutputType | null
|
|
_max: BlockProclamationsMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetBlockProclamationsGroupByPayload<T extends BlockProclamationsGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<BlockProclamationsGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof BlockProclamationsGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], BlockProclamationsGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], BlockProclamationsGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type BlockProclamationsWhereInput = {
|
|
AND?: Prisma.BlockProclamationsWhereInput | Prisma.BlockProclamationsWhereInput[]
|
|
OR?: Prisma.BlockProclamationsWhereInput[]
|
|
NOT?: Prisma.BlockProclamationsWhereInput | Prisma.BlockProclamationsWhereInput[]
|
|
blockId?: Prisma.StringFilter<"BlockProclamations"> | string
|
|
proclamationId?: Prisma.StringFilter<"BlockProclamations"> | string
|
|
sortOrder?: Prisma.IntFilter<"BlockProclamations"> | number
|
|
createdAt?: Prisma.DateTimeFilter<"BlockProclamations"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"BlockProclamations"> | Date | string
|
|
block?: Prisma.XOR<Prisma.BlockScalarRelationFilter, Prisma.BlockWhereInput>
|
|
proclamation?: Prisma.XOR<Prisma.ProclamationScalarRelationFilter, Prisma.ProclamationWhereInput>
|
|
}
|
|
|
|
export type BlockProclamationsOrderByWithRelationInput = {
|
|
blockId?: Prisma.SortOrder
|
|
proclamationId?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
block?: Prisma.BlockOrderByWithRelationInput
|
|
proclamation?: Prisma.ProclamationOrderByWithRelationInput
|
|
}
|
|
|
|
export type BlockProclamationsWhereUniqueInput = Prisma.AtLeast<{
|
|
blockId_proclamationId?: Prisma.BlockProclamationsBlockIdProclamationIdCompoundUniqueInput
|
|
AND?: Prisma.BlockProclamationsWhereInput | Prisma.BlockProclamationsWhereInput[]
|
|
OR?: Prisma.BlockProclamationsWhereInput[]
|
|
NOT?: Prisma.BlockProclamationsWhereInput | Prisma.BlockProclamationsWhereInput[]
|
|
blockId?: Prisma.StringFilter<"BlockProclamations"> | string
|
|
proclamationId?: Prisma.StringFilter<"BlockProclamations"> | string
|
|
sortOrder?: Prisma.IntFilter<"BlockProclamations"> | number
|
|
createdAt?: Prisma.DateTimeFilter<"BlockProclamations"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"BlockProclamations"> | Date | string
|
|
block?: Prisma.XOR<Prisma.BlockScalarRelationFilter, Prisma.BlockWhereInput>
|
|
proclamation?: Prisma.XOR<Prisma.ProclamationScalarRelationFilter, Prisma.ProclamationWhereInput>
|
|
}, "blockId_proclamationId">
|
|
|
|
export type BlockProclamationsOrderByWithAggregationInput = {
|
|
blockId?: Prisma.SortOrder
|
|
proclamationId?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
_count?: Prisma.BlockProclamationsCountOrderByAggregateInput
|
|
_avg?: Prisma.BlockProclamationsAvgOrderByAggregateInput
|
|
_max?: Prisma.BlockProclamationsMaxOrderByAggregateInput
|
|
_min?: Prisma.BlockProclamationsMinOrderByAggregateInput
|
|
_sum?: Prisma.BlockProclamationsSumOrderByAggregateInput
|
|
}
|
|
|
|
export type BlockProclamationsScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.BlockProclamationsScalarWhereWithAggregatesInput | Prisma.BlockProclamationsScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.BlockProclamationsScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.BlockProclamationsScalarWhereWithAggregatesInput | Prisma.BlockProclamationsScalarWhereWithAggregatesInput[]
|
|
blockId?: Prisma.StringWithAggregatesFilter<"BlockProclamations"> | string
|
|
proclamationId?: Prisma.StringWithAggregatesFilter<"BlockProclamations"> | string
|
|
sortOrder?: Prisma.IntWithAggregatesFilter<"BlockProclamations"> | number
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"BlockProclamations"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"BlockProclamations"> | Date | string
|
|
}
|
|
|
|
export type BlockProclamationsCreateInput = {
|
|
sortOrder?: number
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
block: Prisma.BlockCreateNestedOneWithoutProclamationsInput
|
|
proclamation: Prisma.ProclamationCreateNestedOneWithoutBlockProclamationsInput
|
|
}
|
|
|
|
export type BlockProclamationsUncheckedCreateInput = {
|
|
blockId: string
|
|
proclamationId: string
|
|
sortOrder?: number
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type BlockProclamationsUpdateInput = {
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
block?: Prisma.BlockUpdateOneRequiredWithoutProclamationsNestedInput
|
|
proclamation?: Prisma.ProclamationUpdateOneRequiredWithoutBlockProclamationsNestedInput
|
|
}
|
|
|
|
export type BlockProclamationsUncheckedUpdateInput = {
|
|
blockId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
proclamationId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type BlockProclamationsCreateManyInput = {
|
|
blockId: string
|
|
proclamationId: string
|
|
sortOrder?: number
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type BlockProclamationsUpdateManyMutationInput = {
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type BlockProclamationsUncheckedUpdateManyInput = {
|
|
blockId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
proclamationId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type BlockProclamationsListRelationFilter = {
|
|
every?: Prisma.BlockProclamationsWhereInput
|
|
some?: Prisma.BlockProclamationsWhereInput
|
|
none?: Prisma.BlockProclamationsWhereInput
|
|
}
|
|
|
|
export type BlockProclamationsOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type BlockProclamationsBlockIdProclamationIdCompoundUniqueInput = {
|
|
blockId: string
|
|
proclamationId: string
|
|
}
|
|
|
|
export type BlockProclamationsCountOrderByAggregateInput = {
|
|
blockId?: Prisma.SortOrder
|
|
proclamationId?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type BlockProclamationsAvgOrderByAggregateInput = {
|
|
sortOrder?: Prisma.SortOrder
|
|
}
|
|
|
|
export type BlockProclamationsMaxOrderByAggregateInput = {
|
|
blockId?: Prisma.SortOrder
|
|
proclamationId?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type BlockProclamationsMinOrderByAggregateInput = {
|
|
blockId?: Prisma.SortOrder
|
|
proclamationId?: Prisma.SortOrder
|
|
sortOrder?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type BlockProclamationsSumOrderByAggregateInput = {
|
|
sortOrder?: Prisma.SortOrder
|
|
}
|
|
|
|
export type BlockProclamationsCreateNestedManyWithoutProclamationInput = {
|
|
create?: Prisma.XOR<Prisma.BlockProclamationsCreateWithoutProclamationInput, Prisma.BlockProclamationsUncheckedCreateWithoutProclamationInput> | Prisma.BlockProclamationsCreateWithoutProclamationInput[] | Prisma.BlockProclamationsUncheckedCreateWithoutProclamationInput[]
|
|
connectOrCreate?: Prisma.BlockProclamationsCreateOrConnectWithoutProclamationInput | Prisma.BlockProclamationsCreateOrConnectWithoutProclamationInput[]
|
|
createMany?: Prisma.BlockProclamationsCreateManyProclamationInputEnvelope
|
|
connect?: Prisma.BlockProclamationsWhereUniqueInput | Prisma.BlockProclamationsWhereUniqueInput[]
|
|
}
|
|
|
|
export type BlockProclamationsUncheckedCreateNestedManyWithoutProclamationInput = {
|
|
create?: Prisma.XOR<Prisma.BlockProclamationsCreateWithoutProclamationInput, Prisma.BlockProclamationsUncheckedCreateWithoutProclamationInput> | Prisma.BlockProclamationsCreateWithoutProclamationInput[] | Prisma.BlockProclamationsUncheckedCreateWithoutProclamationInput[]
|
|
connectOrCreate?: Prisma.BlockProclamationsCreateOrConnectWithoutProclamationInput | Prisma.BlockProclamationsCreateOrConnectWithoutProclamationInput[]
|
|
createMany?: Prisma.BlockProclamationsCreateManyProclamationInputEnvelope
|
|
connect?: Prisma.BlockProclamationsWhereUniqueInput | Prisma.BlockProclamationsWhereUniqueInput[]
|
|
}
|
|
|
|
export type BlockProclamationsUpdateManyWithoutProclamationNestedInput = {
|
|
create?: Prisma.XOR<Prisma.BlockProclamationsCreateWithoutProclamationInput, Prisma.BlockProclamationsUncheckedCreateWithoutProclamationInput> | Prisma.BlockProclamationsCreateWithoutProclamationInput[] | Prisma.BlockProclamationsUncheckedCreateWithoutProclamationInput[]
|
|
connectOrCreate?: Prisma.BlockProclamationsCreateOrConnectWithoutProclamationInput | Prisma.BlockProclamationsCreateOrConnectWithoutProclamationInput[]
|
|
upsert?: Prisma.BlockProclamationsUpsertWithWhereUniqueWithoutProclamationInput | Prisma.BlockProclamationsUpsertWithWhereUniqueWithoutProclamationInput[]
|
|
createMany?: Prisma.BlockProclamationsCreateManyProclamationInputEnvelope
|
|
set?: Prisma.BlockProclamationsWhereUniqueInput | Prisma.BlockProclamationsWhereUniqueInput[]
|
|
disconnect?: Prisma.BlockProclamationsWhereUniqueInput | Prisma.BlockProclamationsWhereUniqueInput[]
|
|
delete?: Prisma.BlockProclamationsWhereUniqueInput | Prisma.BlockProclamationsWhereUniqueInput[]
|
|
connect?: Prisma.BlockProclamationsWhereUniqueInput | Prisma.BlockProclamationsWhereUniqueInput[]
|
|
update?: Prisma.BlockProclamationsUpdateWithWhereUniqueWithoutProclamationInput | Prisma.BlockProclamationsUpdateWithWhereUniqueWithoutProclamationInput[]
|
|
updateMany?: Prisma.BlockProclamationsUpdateManyWithWhereWithoutProclamationInput | Prisma.BlockProclamationsUpdateManyWithWhereWithoutProclamationInput[]
|
|
deleteMany?: Prisma.BlockProclamationsScalarWhereInput | Prisma.BlockProclamationsScalarWhereInput[]
|
|
}
|
|
|
|
export type BlockProclamationsUncheckedUpdateManyWithoutProclamationNestedInput = {
|
|
create?: Prisma.XOR<Prisma.BlockProclamationsCreateWithoutProclamationInput, Prisma.BlockProclamationsUncheckedCreateWithoutProclamationInput> | Prisma.BlockProclamationsCreateWithoutProclamationInput[] | Prisma.BlockProclamationsUncheckedCreateWithoutProclamationInput[]
|
|
connectOrCreate?: Prisma.BlockProclamationsCreateOrConnectWithoutProclamationInput | Prisma.BlockProclamationsCreateOrConnectWithoutProclamationInput[]
|
|
upsert?: Prisma.BlockProclamationsUpsertWithWhereUniqueWithoutProclamationInput | Prisma.BlockProclamationsUpsertWithWhereUniqueWithoutProclamationInput[]
|
|
createMany?: Prisma.BlockProclamationsCreateManyProclamationInputEnvelope
|
|
set?: Prisma.BlockProclamationsWhereUniqueInput | Prisma.BlockProclamationsWhereUniqueInput[]
|
|
disconnect?: Prisma.BlockProclamationsWhereUniqueInput | Prisma.BlockProclamationsWhereUniqueInput[]
|
|
delete?: Prisma.BlockProclamationsWhereUniqueInput | Prisma.BlockProclamationsWhereUniqueInput[]
|
|
connect?: Prisma.BlockProclamationsWhereUniqueInput | Prisma.BlockProclamationsWhereUniqueInput[]
|
|
update?: Prisma.BlockProclamationsUpdateWithWhereUniqueWithoutProclamationInput | Prisma.BlockProclamationsUpdateWithWhereUniqueWithoutProclamationInput[]
|
|
updateMany?: Prisma.BlockProclamationsUpdateManyWithWhereWithoutProclamationInput | Prisma.BlockProclamationsUpdateManyWithWhereWithoutProclamationInput[]
|
|
deleteMany?: Prisma.BlockProclamationsScalarWhereInput | Prisma.BlockProclamationsScalarWhereInput[]
|
|
}
|
|
|
|
export type BlockProclamationsCreateNestedManyWithoutBlockInput = {
|
|
create?: Prisma.XOR<Prisma.BlockProclamationsCreateWithoutBlockInput, Prisma.BlockProclamationsUncheckedCreateWithoutBlockInput> | Prisma.BlockProclamationsCreateWithoutBlockInput[] | Prisma.BlockProclamationsUncheckedCreateWithoutBlockInput[]
|
|
connectOrCreate?: Prisma.BlockProclamationsCreateOrConnectWithoutBlockInput | Prisma.BlockProclamationsCreateOrConnectWithoutBlockInput[]
|
|
createMany?: Prisma.BlockProclamationsCreateManyBlockInputEnvelope
|
|
connect?: Prisma.BlockProclamationsWhereUniqueInput | Prisma.BlockProclamationsWhereUniqueInput[]
|
|
}
|
|
|
|
export type BlockProclamationsUncheckedCreateNestedManyWithoutBlockInput = {
|
|
create?: Prisma.XOR<Prisma.BlockProclamationsCreateWithoutBlockInput, Prisma.BlockProclamationsUncheckedCreateWithoutBlockInput> | Prisma.BlockProclamationsCreateWithoutBlockInput[] | Prisma.BlockProclamationsUncheckedCreateWithoutBlockInput[]
|
|
connectOrCreate?: Prisma.BlockProclamationsCreateOrConnectWithoutBlockInput | Prisma.BlockProclamationsCreateOrConnectWithoutBlockInput[]
|
|
createMany?: Prisma.BlockProclamationsCreateManyBlockInputEnvelope
|
|
connect?: Prisma.BlockProclamationsWhereUniqueInput | Prisma.BlockProclamationsWhereUniqueInput[]
|
|
}
|
|
|
|
export type BlockProclamationsUpdateManyWithoutBlockNestedInput = {
|
|
create?: Prisma.XOR<Prisma.BlockProclamationsCreateWithoutBlockInput, Prisma.BlockProclamationsUncheckedCreateWithoutBlockInput> | Prisma.BlockProclamationsCreateWithoutBlockInput[] | Prisma.BlockProclamationsUncheckedCreateWithoutBlockInput[]
|
|
connectOrCreate?: Prisma.BlockProclamationsCreateOrConnectWithoutBlockInput | Prisma.BlockProclamationsCreateOrConnectWithoutBlockInput[]
|
|
upsert?: Prisma.BlockProclamationsUpsertWithWhereUniqueWithoutBlockInput | Prisma.BlockProclamationsUpsertWithWhereUniqueWithoutBlockInput[]
|
|
createMany?: Prisma.BlockProclamationsCreateManyBlockInputEnvelope
|
|
set?: Prisma.BlockProclamationsWhereUniqueInput | Prisma.BlockProclamationsWhereUniqueInput[]
|
|
disconnect?: Prisma.BlockProclamationsWhereUniqueInput | Prisma.BlockProclamationsWhereUniqueInput[]
|
|
delete?: Prisma.BlockProclamationsWhereUniqueInput | Prisma.BlockProclamationsWhereUniqueInput[]
|
|
connect?: Prisma.BlockProclamationsWhereUniqueInput | Prisma.BlockProclamationsWhereUniqueInput[]
|
|
update?: Prisma.BlockProclamationsUpdateWithWhereUniqueWithoutBlockInput | Prisma.BlockProclamationsUpdateWithWhereUniqueWithoutBlockInput[]
|
|
updateMany?: Prisma.BlockProclamationsUpdateManyWithWhereWithoutBlockInput | Prisma.BlockProclamationsUpdateManyWithWhereWithoutBlockInput[]
|
|
deleteMany?: Prisma.BlockProclamationsScalarWhereInput | Prisma.BlockProclamationsScalarWhereInput[]
|
|
}
|
|
|
|
export type BlockProclamationsUncheckedUpdateManyWithoutBlockNestedInput = {
|
|
create?: Prisma.XOR<Prisma.BlockProclamationsCreateWithoutBlockInput, Prisma.BlockProclamationsUncheckedCreateWithoutBlockInput> | Prisma.BlockProclamationsCreateWithoutBlockInput[] | Prisma.BlockProclamationsUncheckedCreateWithoutBlockInput[]
|
|
connectOrCreate?: Prisma.BlockProclamationsCreateOrConnectWithoutBlockInput | Prisma.BlockProclamationsCreateOrConnectWithoutBlockInput[]
|
|
upsert?: Prisma.BlockProclamationsUpsertWithWhereUniqueWithoutBlockInput | Prisma.BlockProclamationsUpsertWithWhereUniqueWithoutBlockInput[]
|
|
createMany?: Prisma.BlockProclamationsCreateManyBlockInputEnvelope
|
|
set?: Prisma.BlockProclamationsWhereUniqueInput | Prisma.BlockProclamationsWhereUniqueInput[]
|
|
disconnect?: Prisma.BlockProclamationsWhereUniqueInput | Prisma.BlockProclamationsWhereUniqueInput[]
|
|
delete?: Prisma.BlockProclamationsWhereUniqueInput | Prisma.BlockProclamationsWhereUniqueInput[]
|
|
connect?: Prisma.BlockProclamationsWhereUniqueInput | Prisma.BlockProclamationsWhereUniqueInput[]
|
|
update?: Prisma.BlockProclamationsUpdateWithWhereUniqueWithoutBlockInput | Prisma.BlockProclamationsUpdateWithWhereUniqueWithoutBlockInput[]
|
|
updateMany?: Prisma.BlockProclamationsUpdateManyWithWhereWithoutBlockInput | Prisma.BlockProclamationsUpdateManyWithWhereWithoutBlockInput[]
|
|
deleteMany?: Prisma.BlockProclamationsScalarWhereInput | Prisma.BlockProclamationsScalarWhereInput[]
|
|
}
|
|
|
|
export type BlockProclamationsCreateWithoutProclamationInput = {
|
|
sortOrder?: number
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
block: Prisma.BlockCreateNestedOneWithoutProclamationsInput
|
|
}
|
|
|
|
export type BlockProclamationsUncheckedCreateWithoutProclamationInput = {
|
|
blockId: string
|
|
sortOrder?: number
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type BlockProclamationsCreateOrConnectWithoutProclamationInput = {
|
|
where: Prisma.BlockProclamationsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.BlockProclamationsCreateWithoutProclamationInput, Prisma.BlockProclamationsUncheckedCreateWithoutProclamationInput>
|
|
}
|
|
|
|
export type BlockProclamationsCreateManyProclamationInputEnvelope = {
|
|
data: Prisma.BlockProclamationsCreateManyProclamationInput | Prisma.BlockProclamationsCreateManyProclamationInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type BlockProclamationsUpsertWithWhereUniqueWithoutProclamationInput = {
|
|
where: Prisma.BlockProclamationsWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.BlockProclamationsUpdateWithoutProclamationInput, Prisma.BlockProclamationsUncheckedUpdateWithoutProclamationInput>
|
|
create: Prisma.XOR<Prisma.BlockProclamationsCreateWithoutProclamationInput, Prisma.BlockProclamationsUncheckedCreateWithoutProclamationInput>
|
|
}
|
|
|
|
export type BlockProclamationsUpdateWithWhereUniqueWithoutProclamationInput = {
|
|
where: Prisma.BlockProclamationsWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.BlockProclamationsUpdateWithoutProclamationInput, Prisma.BlockProclamationsUncheckedUpdateWithoutProclamationInput>
|
|
}
|
|
|
|
export type BlockProclamationsUpdateManyWithWhereWithoutProclamationInput = {
|
|
where: Prisma.BlockProclamationsScalarWhereInput
|
|
data: Prisma.XOR<Prisma.BlockProclamationsUpdateManyMutationInput, Prisma.BlockProclamationsUncheckedUpdateManyWithoutProclamationInput>
|
|
}
|
|
|
|
export type BlockProclamationsScalarWhereInput = {
|
|
AND?: Prisma.BlockProclamationsScalarWhereInput | Prisma.BlockProclamationsScalarWhereInput[]
|
|
OR?: Prisma.BlockProclamationsScalarWhereInput[]
|
|
NOT?: Prisma.BlockProclamationsScalarWhereInput | Prisma.BlockProclamationsScalarWhereInput[]
|
|
blockId?: Prisma.StringFilter<"BlockProclamations"> | string
|
|
proclamationId?: Prisma.StringFilter<"BlockProclamations"> | string
|
|
sortOrder?: Prisma.IntFilter<"BlockProclamations"> | number
|
|
createdAt?: Prisma.DateTimeFilter<"BlockProclamations"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"BlockProclamations"> | Date | string
|
|
}
|
|
|
|
export type BlockProclamationsCreateWithoutBlockInput = {
|
|
sortOrder?: number
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
proclamation: Prisma.ProclamationCreateNestedOneWithoutBlockProclamationsInput
|
|
}
|
|
|
|
export type BlockProclamationsUncheckedCreateWithoutBlockInput = {
|
|
proclamationId: string
|
|
sortOrder?: number
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type BlockProclamationsCreateOrConnectWithoutBlockInput = {
|
|
where: Prisma.BlockProclamationsWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.BlockProclamationsCreateWithoutBlockInput, Prisma.BlockProclamationsUncheckedCreateWithoutBlockInput>
|
|
}
|
|
|
|
export type BlockProclamationsCreateManyBlockInputEnvelope = {
|
|
data: Prisma.BlockProclamationsCreateManyBlockInput | Prisma.BlockProclamationsCreateManyBlockInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type BlockProclamationsUpsertWithWhereUniqueWithoutBlockInput = {
|
|
where: Prisma.BlockProclamationsWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.BlockProclamationsUpdateWithoutBlockInput, Prisma.BlockProclamationsUncheckedUpdateWithoutBlockInput>
|
|
create: Prisma.XOR<Prisma.BlockProclamationsCreateWithoutBlockInput, Prisma.BlockProclamationsUncheckedCreateWithoutBlockInput>
|
|
}
|
|
|
|
export type BlockProclamationsUpdateWithWhereUniqueWithoutBlockInput = {
|
|
where: Prisma.BlockProclamationsWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.BlockProclamationsUpdateWithoutBlockInput, Prisma.BlockProclamationsUncheckedUpdateWithoutBlockInput>
|
|
}
|
|
|
|
export type BlockProclamationsUpdateManyWithWhereWithoutBlockInput = {
|
|
where: Prisma.BlockProclamationsScalarWhereInput
|
|
data: Prisma.XOR<Prisma.BlockProclamationsUpdateManyMutationInput, Prisma.BlockProclamationsUncheckedUpdateManyWithoutBlockInput>
|
|
}
|
|
|
|
export type BlockProclamationsCreateManyProclamationInput = {
|
|
blockId: string
|
|
sortOrder?: number
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type BlockProclamationsUpdateWithoutProclamationInput = {
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
block?: Prisma.BlockUpdateOneRequiredWithoutProclamationsNestedInput
|
|
}
|
|
|
|
export type BlockProclamationsUncheckedUpdateWithoutProclamationInput = {
|
|
blockId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type BlockProclamationsUncheckedUpdateManyWithoutProclamationInput = {
|
|
blockId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type BlockProclamationsCreateManyBlockInput = {
|
|
proclamationId: string
|
|
sortOrder?: number
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
}
|
|
|
|
export type BlockProclamationsUpdateWithoutBlockInput = {
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
proclamation?: Prisma.ProclamationUpdateOneRequiredWithoutBlockProclamationsNestedInput
|
|
}
|
|
|
|
export type BlockProclamationsUncheckedUpdateWithoutBlockInput = {
|
|
proclamationId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
export type BlockProclamationsUncheckedUpdateManyWithoutBlockInput = {
|
|
proclamationId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
}
|
|
|
|
|
|
|
|
export type BlockProclamationsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
blockId?: boolean
|
|
proclamationId?: boolean
|
|
sortOrder?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
block?: boolean | Prisma.BlockDefaultArgs<ExtArgs>
|
|
proclamation?: boolean | Prisma.ProclamationDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["blockProclamations"]>
|
|
|
|
export type BlockProclamationsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
blockId?: boolean
|
|
proclamationId?: boolean
|
|
sortOrder?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
block?: boolean | Prisma.BlockDefaultArgs<ExtArgs>
|
|
proclamation?: boolean | Prisma.ProclamationDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["blockProclamations"]>
|
|
|
|
export type BlockProclamationsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
blockId?: boolean
|
|
proclamationId?: boolean
|
|
sortOrder?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
block?: boolean | Prisma.BlockDefaultArgs<ExtArgs>
|
|
proclamation?: boolean | Prisma.ProclamationDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["blockProclamations"]>
|
|
|
|
export type BlockProclamationsSelectScalar = {
|
|
blockId?: boolean
|
|
proclamationId?: boolean
|
|
sortOrder?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
}
|
|
|
|
export type BlockProclamationsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"blockId" | "proclamationId" | "sortOrder" | "createdAt" | "updatedAt", ExtArgs["result"]["blockProclamations"]>
|
|
export type BlockProclamationsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
block?: boolean | Prisma.BlockDefaultArgs<ExtArgs>
|
|
proclamation?: boolean | Prisma.ProclamationDefaultArgs<ExtArgs>
|
|
}
|
|
export type BlockProclamationsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
block?: boolean | Prisma.BlockDefaultArgs<ExtArgs>
|
|
proclamation?: boolean | Prisma.ProclamationDefaultArgs<ExtArgs>
|
|
}
|
|
export type BlockProclamationsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
block?: boolean | Prisma.BlockDefaultArgs<ExtArgs>
|
|
proclamation?: boolean | Prisma.ProclamationDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $BlockProclamationsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "BlockProclamations"
|
|
objects: {
|
|
block: Prisma.$BlockPayload<ExtArgs>
|
|
proclamation: Prisma.$ProclamationPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
blockId: string
|
|
proclamationId: string
|
|
sortOrder: number
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
}, ExtArgs["result"]["blockProclamations"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type BlockProclamationsGetPayload<S extends boolean | null | undefined | BlockProclamationsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$BlockProclamationsPayload, S>
|
|
|
|
export type BlockProclamationsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<BlockProclamationsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: BlockProclamationsCountAggregateInputType | true
|
|
}
|
|
|
|
export interface BlockProclamationsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['BlockProclamations'], meta: { name: 'BlockProclamations' } }
|
|
/**
|
|
* Find zero or one BlockProclamations that matches the filter.
|
|
* @param {BlockProclamationsFindUniqueArgs} args - Arguments to find a BlockProclamations
|
|
* @example
|
|
* // Get one BlockProclamations
|
|
* const blockProclamations = await prisma.blockProclamations.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends BlockProclamationsFindUniqueArgs>(args: Prisma.SelectSubset<T, BlockProclamationsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__BlockProclamationsClient<runtime.Types.Result.GetResult<Prisma.$BlockProclamationsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one BlockProclamations that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {BlockProclamationsFindUniqueOrThrowArgs} args - Arguments to find a BlockProclamations
|
|
* @example
|
|
* // Get one BlockProclamations
|
|
* const blockProclamations = await prisma.blockProclamations.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends BlockProclamationsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, BlockProclamationsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__BlockProclamationsClient<runtime.Types.Result.GetResult<Prisma.$BlockProclamationsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first BlockProclamations 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 {BlockProclamationsFindFirstArgs} args - Arguments to find a BlockProclamations
|
|
* @example
|
|
* // Get one BlockProclamations
|
|
* const blockProclamations = await prisma.blockProclamations.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends BlockProclamationsFindFirstArgs>(args?: Prisma.SelectSubset<T, BlockProclamationsFindFirstArgs<ExtArgs>>): Prisma.Prisma__BlockProclamationsClient<runtime.Types.Result.GetResult<Prisma.$BlockProclamationsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first BlockProclamations 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 {BlockProclamationsFindFirstOrThrowArgs} args - Arguments to find a BlockProclamations
|
|
* @example
|
|
* // Get one BlockProclamations
|
|
* const blockProclamations = await prisma.blockProclamations.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends BlockProclamationsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, BlockProclamationsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__BlockProclamationsClient<runtime.Types.Result.GetResult<Prisma.$BlockProclamationsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more BlockProclamations 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 {BlockProclamationsFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all BlockProclamations
|
|
* const blockProclamations = await prisma.blockProclamations.findMany()
|
|
*
|
|
* // Get first 10 BlockProclamations
|
|
* const blockProclamations = await prisma.blockProclamations.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `blockId`
|
|
* const blockProclamationsWithBlockIdOnly = await prisma.blockProclamations.findMany({ select: { blockId: true } })
|
|
*
|
|
*/
|
|
findMany<T extends BlockProclamationsFindManyArgs>(args?: Prisma.SelectSubset<T, BlockProclamationsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BlockProclamationsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a BlockProclamations.
|
|
* @param {BlockProclamationsCreateArgs} args - Arguments to create a BlockProclamations.
|
|
* @example
|
|
* // Create one BlockProclamations
|
|
* const BlockProclamations = await prisma.blockProclamations.create({
|
|
* data: {
|
|
* // ... data to create a BlockProclamations
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends BlockProclamationsCreateArgs>(args: Prisma.SelectSubset<T, BlockProclamationsCreateArgs<ExtArgs>>): Prisma.Prisma__BlockProclamationsClient<runtime.Types.Result.GetResult<Prisma.$BlockProclamationsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many BlockProclamations.
|
|
* @param {BlockProclamationsCreateManyArgs} args - Arguments to create many BlockProclamations.
|
|
* @example
|
|
* // Create many BlockProclamations
|
|
* const blockProclamations = await prisma.blockProclamations.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends BlockProclamationsCreateManyArgs>(args?: Prisma.SelectSubset<T, BlockProclamationsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many BlockProclamations and returns the data saved in the database.
|
|
* @param {BlockProclamationsCreateManyAndReturnArgs} args - Arguments to create many BlockProclamations.
|
|
* @example
|
|
* // Create many BlockProclamations
|
|
* const blockProclamations = await prisma.blockProclamations.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many BlockProclamations and only return the `blockId`
|
|
* const blockProclamationsWithBlockIdOnly = await prisma.blockProclamations.createManyAndReturn({
|
|
* select: { blockId: 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 BlockProclamationsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, BlockProclamationsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BlockProclamationsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a BlockProclamations.
|
|
* @param {BlockProclamationsDeleteArgs} args - Arguments to delete one BlockProclamations.
|
|
* @example
|
|
* // Delete one BlockProclamations
|
|
* const BlockProclamations = await prisma.blockProclamations.delete({
|
|
* where: {
|
|
* // ... filter to delete one BlockProclamations
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends BlockProclamationsDeleteArgs>(args: Prisma.SelectSubset<T, BlockProclamationsDeleteArgs<ExtArgs>>): Prisma.Prisma__BlockProclamationsClient<runtime.Types.Result.GetResult<Prisma.$BlockProclamationsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one BlockProclamations.
|
|
* @param {BlockProclamationsUpdateArgs} args - Arguments to update one BlockProclamations.
|
|
* @example
|
|
* // Update one BlockProclamations
|
|
* const blockProclamations = await prisma.blockProclamations.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends BlockProclamationsUpdateArgs>(args: Prisma.SelectSubset<T, BlockProclamationsUpdateArgs<ExtArgs>>): Prisma.Prisma__BlockProclamationsClient<runtime.Types.Result.GetResult<Prisma.$BlockProclamationsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more BlockProclamations.
|
|
* @param {BlockProclamationsDeleteManyArgs} args - Arguments to filter BlockProclamations to delete.
|
|
* @example
|
|
* // Delete a few BlockProclamations
|
|
* const { count } = await prisma.blockProclamations.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends BlockProclamationsDeleteManyArgs>(args?: Prisma.SelectSubset<T, BlockProclamationsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more BlockProclamations.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {BlockProclamationsUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many BlockProclamations
|
|
* const blockProclamations = await prisma.blockProclamations.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends BlockProclamationsUpdateManyArgs>(args: Prisma.SelectSubset<T, BlockProclamationsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more BlockProclamations and returns the data updated in the database.
|
|
* @param {BlockProclamationsUpdateManyAndReturnArgs} args - Arguments to update many BlockProclamations.
|
|
* @example
|
|
* // Update many BlockProclamations
|
|
* const blockProclamations = await prisma.blockProclamations.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more BlockProclamations and only return the `blockId`
|
|
* const blockProclamationsWithBlockIdOnly = await prisma.blockProclamations.updateManyAndReturn({
|
|
* select: { blockId: 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 BlockProclamationsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, BlockProclamationsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BlockProclamationsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one BlockProclamations.
|
|
* @param {BlockProclamationsUpsertArgs} args - Arguments to update or create a BlockProclamations.
|
|
* @example
|
|
* // Update or create a BlockProclamations
|
|
* const blockProclamations = await prisma.blockProclamations.upsert({
|
|
* create: {
|
|
* // ... data to create a BlockProclamations
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the BlockProclamations we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends BlockProclamationsUpsertArgs>(args: Prisma.SelectSubset<T, BlockProclamationsUpsertArgs<ExtArgs>>): Prisma.Prisma__BlockProclamationsClient<runtime.Types.Result.GetResult<Prisma.$BlockProclamationsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of BlockProclamations.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {BlockProclamationsCountArgs} args - Arguments to filter BlockProclamations to count.
|
|
* @example
|
|
* // Count the number of BlockProclamations
|
|
* const count = await prisma.blockProclamations.count({
|
|
* where: {
|
|
* // ... the filter for the BlockProclamations we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends BlockProclamationsCountArgs>(
|
|
args?: Prisma.Subset<T, BlockProclamationsCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], BlockProclamationsCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a BlockProclamations.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {BlockProclamationsAggregateArgs} 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 BlockProclamationsAggregateArgs>(args: Prisma.Subset<T, BlockProclamationsAggregateArgs>): Prisma.PrismaPromise<GetBlockProclamationsAggregateType<T>>
|
|
|
|
/**
|
|
* Group by BlockProclamations.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {BlockProclamationsGroupByArgs} 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 BlockProclamationsGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: BlockProclamationsGroupByArgs['orderBy'] }
|
|
: { orderBy?: BlockProclamationsGroupByArgs['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, BlockProclamationsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBlockProclamationsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the BlockProclamations model
|
|
*/
|
|
readonly fields: BlockProclamationsFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for BlockProclamations.
|
|
* 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__BlockProclamationsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
block<T extends Prisma.BlockDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BlockDefaultArgs<ExtArgs>>): Prisma.Prisma__BlockClient<runtime.Types.Result.GetResult<Prisma.$BlockPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
proclamation<T extends Prisma.ProclamationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProclamationDefaultArgs<ExtArgs>>): Prisma.Prisma__ProclamationClient<runtime.Types.Result.GetResult<Prisma.$ProclamationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
/**
|
|
* 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 BlockProclamations model
|
|
*/
|
|
export interface BlockProclamationsFieldRefs {
|
|
readonly blockId: Prisma.FieldRef<"BlockProclamations", 'String'>
|
|
readonly proclamationId: Prisma.FieldRef<"BlockProclamations", 'String'>
|
|
readonly sortOrder: Prisma.FieldRef<"BlockProclamations", 'Int'>
|
|
readonly createdAt: Prisma.FieldRef<"BlockProclamations", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"BlockProclamations", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* BlockProclamations findUnique
|
|
*/
|
|
export type BlockProclamationsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BlockProclamations
|
|
*/
|
|
select?: Prisma.BlockProclamationsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BlockProclamations
|
|
*/
|
|
omit?: Prisma.BlockProclamationsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BlockProclamationsInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which BlockProclamations to fetch.
|
|
*/
|
|
where: Prisma.BlockProclamationsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* BlockProclamations findUniqueOrThrow
|
|
*/
|
|
export type BlockProclamationsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BlockProclamations
|
|
*/
|
|
select?: Prisma.BlockProclamationsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BlockProclamations
|
|
*/
|
|
omit?: Prisma.BlockProclamationsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BlockProclamationsInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which BlockProclamations to fetch.
|
|
*/
|
|
where: Prisma.BlockProclamationsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* BlockProclamations findFirst
|
|
*/
|
|
export type BlockProclamationsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BlockProclamations
|
|
*/
|
|
select?: Prisma.BlockProclamationsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BlockProclamations
|
|
*/
|
|
omit?: Prisma.BlockProclamationsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BlockProclamationsInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which BlockProclamations to fetch.
|
|
*/
|
|
where?: Prisma.BlockProclamationsWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of BlockProclamations to fetch.
|
|
*/
|
|
orderBy?: Prisma.BlockProclamationsOrderByWithRelationInput | Prisma.BlockProclamationsOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for BlockProclamations.
|
|
*/
|
|
cursor?: Prisma.BlockProclamationsWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` BlockProclamations 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` BlockProclamations.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of BlockProclamations.
|
|
*/
|
|
distinct?: Prisma.BlockProclamationsScalarFieldEnum | Prisma.BlockProclamationsScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* BlockProclamations findFirstOrThrow
|
|
*/
|
|
export type BlockProclamationsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BlockProclamations
|
|
*/
|
|
select?: Prisma.BlockProclamationsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BlockProclamations
|
|
*/
|
|
omit?: Prisma.BlockProclamationsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BlockProclamationsInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which BlockProclamations to fetch.
|
|
*/
|
|
where?: Prisma.BlockProclamationsWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of BlockProclamations to fetch.
|
|
*/
|
|
orderBy?: Prisma.BlockProclamationsOrderByWithRelationInput | Prisma.BlockProclamationsOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for BlockProclamations.
|
|
*/
|
|
cursor?: Prisma.BlockProclamationsWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` BlockProclamations 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` BlockProclamations.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of BlockProclamations.
|
|
*/
|
|
distinct?: Prisma.BlockProclamationsScalarFieldEnum | Prisma.BlockProclamationsScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* BlockProclamations findMany
|
|
*/
|
|
export type BlockProclamationsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BlockProclamations
|
|
*/
|
|
select?: Prisma.BlockProclamationsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BlockProclamations
|
|
*/
|
|
omit?: Prisma.BlockProclamationsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BlockProclamationsInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which BlockProclamations to fetch.
|
|
*/
|
|
where?: Prisma.BlockProclamationsWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of BlockProclamations to fetch.
|
|
*/
|
|
orderBy?: Prisma.BlockProclamationsOrderByWithRelationInput | Prisma.BlockProclamationsOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing BlockProclamations.
|
|
*/
|
|
cursor?: Prisma.BlockProclamationsWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` BlockProclamations 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` BlockProclamations.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of BlockProclamations.
|
|
*/
|
|
distinct?: Prisma.BlockProclamationsScalarFieldEnum | Prisma.BlockProclamationsScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* BlockProclamations create
|
|
*/
|
|
export type BlockProclamationsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BlockProclamations
|
|
*/
|
|
select?: Prisma.BlockProclamationsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BlockProclamations
|
|
*/
|
|
omit?: Prisma.BlockProclamationsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BlockProclamationsInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a BlockProclamations.
|
|
*/
|
|
data: Prisma.XOR<Prisma.BlockProclamationsCreateInput, Prisma.BlockProclamationsUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* BlockProclamations createMany
|
|
*/
|
|
export type BlockProclamationsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many BlockProclamations.
|
|
*/
|
|
data: Prisma.BlockProclamationsCreateManyInput | Prisma.BlockProclamationsCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* BlockProclamations createManyAndReturn
|
|
*/
|
|
export type BlockProclamationsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BlockProclamations
|
|
*/
|
|
select?: Prisma.BlockProclamationsSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BlockProclamations
|
|
*/
|
|
omit?: Prisma.BlockProclamationsOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many BlockProclamations.
|
|
*/
|
|
data: Prisma.BlockProclamationsCreateManyInput | Prisma.BlockProclamationsCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BlockProclamationsIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* BlockProclamations update
|
|
*/
|
|
export type BlockProclamationsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BlockProclamations
|
|
*/
|
|
select?: Prisma.BlockProclamationsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BlockProclamations
|
|
*/
|
|
omit?: Prisma.BlockProclamationsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BlockProclamationsInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a BlockProclamations.
|
|
*/
|
|
data: Prisma.XOR<Prisma.BlockProclamationsUpdateInput, Prisma.BlockProclamationsUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which BlockProclamations to update.
|
|
*/
|
|
where: Prisma.BlockProclamationsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* BlockProclamations updateMany
|
|
*/
|
|
export type BlockProclamationsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update BlockProclamations.
|
|
*/
|
|
data: Prisma.XOR<Prisma.BlockProclamationsUpdateManyMutationInput, Prisma.BlockProclamationsUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which BlockProclamations to update
|
|
*/
|
|
where?: Prisma.BlockProclamationsWhereInput
|
|
/**
|
|
* Limit how many BlockProclamations to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* BlockProclamations updateManyAndReturn
|
|
*/
|
|
export type BlockProclamationsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BlockProclamations
|
|
*/
|
|
select?: Prisma.BlockProclamationsSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BlockProclamations
|
|
*/
|
|
omit?: Prisma.BlockProclamationsOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update BlockProclamations.
|
|
*/
|
|
data: Prisma.XOR<Prisma.BlockProclamationsUpdateManyMutationInput, Prisma.BlockProclamationsUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which BlockProclamations to update
|
|
*/
|
|
where?: Prisma.BlockProclamationsWhereInput
|
|
/**
|
|
* Limit how many BlockProclamations to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BlockProclamationsIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* BlockProclamations upsert
|
|
*/
|
|
export type BlockProclamationsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BlockProclamations
|
|
*/
|
|
select?: Prisma.BlockProclamationsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BlockProclamations
|
|
*/
|
|
omit?: Prisma.BlockProclamationsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BlockProclamationsInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the BlockProclamations to update in case it exists.
|
|
*/
|
|
where: Prisma.BlockProclamationsWhereUniqueInput
|
|
/**
|
|
* In case the BlockProclamations found by the `where` argument doesn't exist, create a new BlockProclamations with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.BlockProclamationsCreateInput, Prisma.BlockProclamationsUncheckedCreateInput>
|
|
/**
|
|
* In case the BlockProclamations was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.BlockProclamationsUpdateInput, Prisma.BlockProclamationsUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* BlockProclamations delete
|
|
*/
|
|
export type BlockProclamationsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BlockProclamations
|
|
*/
|
|
select?: Prisma.BlockProclamationsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BlockProclamations
|
|
*/
|
|
omit?: Prisma.BlockProclamationsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BlockProclamationsInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which BlockProclamations to delete.
|
|
*/
|
|
where: Prisma.BlockProclamationsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* BlockProclamations deleteMany
|
|
*/
|
|
export type BlockProclamationsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which BlockProclamations to delete
|
|
*/
|
|
where?: Prisma.BlockProclamationsWhereInput
|
|
/**
|
|
* Limit how many BlockProclamations to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* BlockProclamations without action
|
|
*/
|
|
export type BlockProclamationsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BlockProclamations
|
|
*/
|
|
select?: Prisma.BlockProclamationsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BlockProclamations
|
|
*/
|
|
omit?: Prisma.BlockProclamationsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.BlockProclamationsInclude<ExtArgs> | null
|
|
}
|