/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `Block` 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 Block * */ export type BlockModel = runtime.Types.Result.DefaultSelection export type AggregateBlock = { _count: BlockCountAggregateOutputType | null _avg: BlockAvgAggregateOutputType | null _sum: BlockSumAggregateOutputType | null _min: BlockMinAggregateOutputType | null _max: BlockMaxAggregateOutputType | null } export type BlockAvgAggregateOutputType = { startMinutes: number | null endMinutes: number | null } export type BlockSumAggregateOutputType = { startMinutes: number | null endMinutes: number | null } export type BlockMinAggregateOutputType = { id: string | null scheduleId: string | null startMinutes: number | null endMinutes: number | null dynamicAudio: boolean | null createdAt: Date | null updatedAt: Date | null } export type BlockMaxAggregateOutputType = { id: string | null scheduleId: string | null startMinutes: number | null endMinutes: number | null dynamicAudio: boolean | null createdAt: Date | null updatedAt: Date | null } export type BlockCountAggregateOutputType = { id: number scheduleId: number startMinutes: number endMinutes: number dynamicAudio: number createdAt: number updatedAt: number _all: number } export type BlockAvgAggregateInputType = { startMinutes?: true endMinutes?: true } export type BlockSumAggregateInputType = { startMinutes?: true endMinutes?: true } export type BlockMinAggregateInputType = { id?: true scheduleId?: true startMinutes?: true endMinutes?: true dynamicAudio?: true createdAt?: true updatedAt?: true } export type BlockMaxAggregateInputType = { id?: true scheduleId?: true startMinutes?: true endMinutes?: true dynamicAudio?: true createdAt?: true updatedAt?: true } export type BlockCountAggregateInputType = { id?: true scheduleId?: true startMinutes?: true endMinutes?: true dynamicAudio?: true createdAt?: true updatedAt?: true _all?: true } export type BlockAggregateArgs = { /** * Filter which Block to aggregate. */ where?: Prisma.BlockWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Blocks to fetch. */ orderBy?: Prisma.BlockOrderByWithRelationInput | Prisma.BlockOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.BlockWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Blocks 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` Blocks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Blocks **/ _count?: true | BlockCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: BlockAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: BlockSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: BlockMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: BlockMaxAggregateInputType } export type GetBlockAggregateType = { [P in keyof T & keyof AggregateBlock]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type BlockGroupByArgs = { where?: Prisma.BlockWhereInput orderBy?: Prisma.BlockOrderByWithAggregationInput | Prisma.BlockOrderByWithAggregationInput[] by: Prisma.BlockScalarFieldEnum[] | Prisma.BlockScalarFieldEnum having?: Prisma.BlockScalarWhereWithAggregatesInput take?: number skip?: number _count?: BlockCountAggregateInputType | true _avg?: BlockAvgAggregateInputType _sum?: BlockSumAggregateInputType _min?: BlockMinAggregateInputType _max?: BlockMaxAggregateInputType } export type BlockGroupByOutputType = { id: string scheduleId: string startMinutes: number endMinutes: number dynamicAudio: boolean createdAt: Date updatedAt: Date _count: BlockCountAggregateOutputType | null _avg: BlockAvgAggregateOutputType | null _sum: BlockSumAggregateOutputType | null _min: BlockMinAggregateOutputType | null _max: BlockMaxAggregateOutputType | null } export type GetBlockGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof BlockGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type BlockWhereInput = { AND?: Prisma.BlockWhereInput | Prisma.BlockWhereInput[] OR?: Prisma.BlockWhereInput[] NOT?: Prisma.BlockWhereInput | Prisma.BlockWhereInput[] id?: Prisma.StringFilter<"Block"> | string scheduleId?: Prisma.StringFilter<"Block"> | string startMinutes?: Prisma.IntFilter<"Block"> | number endMinutes?: Prisma.IntFilter<"Block"> | number dynamicAudio?: Prisma.BoolFilter<"Block"> | boolean createdAt?: Prisma.DateTimeFilter<"Block"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Block"> | Date | string schedule?: Prisma.XOR proclamations?: Prisma.BlockProclamationsListRelationFilter } export type BlockOrderByWithRelationInput = { id?: Prisma.SortOrder scheduleId?: Prisma.SortOrder startMinutes?: Prisma.SortOrder endMinutes?: Prisma.SortOrder dynamicAudio?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder schedule?: Prisma.ScheduleOrderByWithRelationInput proclamations?: Prisma.BlockProclamationsOrderByRelationAggregateInput } export type BlockWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.BlockWhereInput | Prisma.BlockWhereInput[] OR?: Prisma.BlockWhereInput[] NOT?: Prisma.BlockWhereInput | Prisma.BlockWhereInput[] scheduleId?: Prisma.StringFilter<"Block"> | string startMinutes?: Prisma.IntFilter<"Block"> | number endMinutes?: Prisma.IntFilter<"Block"> | number dynamicAudio?: Prisma.BoolFilter<"Block"> | boolean createdAt?: Prisma.DateTimeFilter<"Block"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Block"> | Date | string schedule?: Prisma.XOR proclamations?: Prisma.BlockProclamationsListRelationFilter }, "id"> export type BlockOrderByWithAggregationInput = { id?: Prisma.SortOrder scheduleId?: Prisma.SortOrder startMinutes?: Prisma.SortOrder endMinutes?: Prisma.SortOrder dynamicAudio?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder _count?: Prisma.BlockCountOrderByAggregateInput _avg?: Prisma.BlockAvgOrderByAggregateInput _max?: Prisma.BlockMaxOrderByAggregateInput _min?: Prisma.BlockMinOrderByAggregateInput _sum?: Prisma.BlockSumOrderByAggregateInput } export type BlockScalarWhereWithAggregatesInput = { AND?: Prisma.BlockScalarWhereWithAggregatesInput | Prisma.BlockScalarWhereWithAggregatesInput[] OR?: Prisma.BlockScalarWhereWithAggregatesInput[] NOT?: Prisma.BlockScalarWhereWithAggregatesInput | Prisma.BlockScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"Block"> | string scheduleId?: Prisma.StringWithAggregatesFilter<"Block"> | string startMinutes?: Prisma.IntWithAggregatesFilter<"Block"> | number endMinutes?: Prisma.IntWithAggregatesFilter<"Block"> | number dynamicAudio?: Prisma.BoolWithAggregatesFilter<"Block"> | boolean createdAt?: Prisma.DateTimeWithAggregatesFilter<"Block"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Block"> | Date | string } export type BlockCreateInput = { id?: string startMinutes: number endMinutes: number dynamicAudio?: boolean createdAt?: Date | string updatedAt?: Date | string schedule: Prisma.ScheduleCreateNestedOneWithoutBlocksInput proclamations?: Prisma.BlockProclamationsCreateNestedManyWithoutBlockInput } export type BlockUncheckedCreateInput = { id?: string scheduleId: string startMinutes: number endMinutes: number dynamicAudio?: boolean createdAt?: Date | string updatedAt?: Date | string proclamations?: Prisma.BlockProclamationsUncheckedCreateNestedManyWithoutBlockInput } export type BlockUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string startMinutes?: Prisma.IntFieldUpdateOperationsInput | number endMinutes?: Prisma.IntFieldUpdateOperationsInput | number dynamicAudio?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string schedule?: Prisma.ScheduleUpdateOneRequiredWithoutBlocksNestedInput proclamations?: Prisma.BlockProclamationsUpdateManyWithoutBlockNestedInput } export type BlockUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string scheduleId?: Prisma.StringFieldUpdateOperationsInput | string startMinutes?: Prisma.IntFieldUpdateOperationsInput | number endMinutes?: Prisma.IntFieldUpdateOperationsInput | number dynamicAudio?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string proclamations?: Prisma.BlockProclamationsUncheckedUpdateManyWithoutBlockNestedInput } export type BlockCreateManyInput = { id?: string scheduleId: string startMinutes: number endMinutes: number dynamicAudio?: boolean createdAt?: Date | string updatedAt?: Date | string } export type BlockUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string startMinutes?: Prisma.IntFieldUpdateOperationsInput | number endMinutes?: Prisma.IntFieldUpdateOperationsInput | number dynamicAudio?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type BlockUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string scheduleId?: Prisma.StringFieldUpdateOperationsInput | string startMinutes?: Prisma.IntFieldUpdateOperationsInput | number endMinutes?: Prisma.IntFieldUpdateOperationsInput | number dynamicAudio?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type BlockListRelationFilter = { every?: Prisma.BlockWhereInput some?: Prisma.BlockWhereInput none?: Prisma.BlockWhereInput } export type BlockOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type BlockCountOrderByAggregateInput = { id?: Prisma.SortOrder scheduleId?: Prisma.SortOrder startMinutes?: Prisma.SortOrder endMinutes?: Prisma.SortOrder dynamicAudio?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type BlockAvgOrderByAggregateInput = { startMinutes?: Prisma.SortOrder endMinutes?: Prisma.SortOrder } export type BlockMaxOrderByAggregateInput = { id?: Prisma.SortOrder scheduleId?: Prisma.SortOrder startMinutes?: Prisma.SortOrder endMinutes?: Prisma.SortOrder dynamicAudio?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type BlockMinOrderByAggregateInput = { id?: Prisma.SortOrder scheduleId?: Prisma.SortOrder startMinutes?: Prisma.SortOrder endMinutes?: Prisma.SortOrder dynamicAudio?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type BlockSumOrderByAggregateInput = { startMinutes?: Prisma.SortOrder endMinutes?: Prisma.SortOrder } export type BlockScalarRelationFilter = { is?: Prisma.BlockWhereInput isNot?: Prisma.BlockWhereInput } export type BlockCreateNestedManyWithoutScheduleInput = { create?: Prisma.XOR | Prisma.BlockCreateWithoutScheduleInput[] | Prisma.BlockUncheckedCreateWithoutScheduleInput[] connectOrCreate?: Prisma.BlockCreateOrConnectWithoutScheduleInput | Prisma.BlockCreateOrConnectWithoutScheduleInput[] createMany?: Prisma.BlockCreateManyScheduleInputEnvelope connect?: Prisma.BlockWhereUniqueInput | Prisma.BlockWhereUniqueInput[] } export type BlockUncheckedCreateNestedManyWithoutScheduleInput = { create?: Prisma.XOR | Prisma.BlockCreateWithoutScheduleInput[] | Prisma.BlockUncheckedCreateWithoutScheduleInput[] connectOrCreate?: Prisma.BlockCreateOrConnectWithoutScheduleInput | Prisma.BlockCreateOrConnectWithoutScheduleInput[] createMany?: Prisma.BlockCreateManyScheduleInputEnvelope connect?: Prisma.BlockWhereUniqueInput | Prisma.BlockWhereUniqueInput[] } export type BlockUpdateManyWithoutScheduleNestedInput = { create?: Prisma.XOR | Prisma.BlockCreateWithoutScheduleInput[] | Prisma.BlockUncheckedCreateWithoutScheduleInput[] connectOrCreate?: Prisma.BlockCreateOrConnectWithoutScheduleInput | Prisma.BlockCreateOrConnectWithoutScheduleInput[] upsert?: Prisma.BlockUpsertWithWhereUniqueWithoutScheduleInput | Prisma.BlockUpsertWithWhereUniqueWithoutScheduleInput[] createMany?: Prisma.BlockCreateManyScheduleInputEnvelope set?: Prisma.BlockWhereUniqueInput | Prisma.BlockWhereUniqueInput[] disconnect?: Prisma.BlockWhereUniqueInput | Prisma.BlockWhereUniqueInput[] delete?: Prisma.BlockWhereUniqueInput | Prisma.BlockWhereUniqueInput[] connect?: Prisma.BlockWhereUniqueInput | Prisma.BlockWhereUniqueInput[] update?: Prisma.BlockUpdateWithWhereUniqueWithoutScheduleInput | Prisma.BlockUpdateWithWhereUniqueWithoutScheduleInput[] updateMany?: Prisma.BlockUpdateManyWithWhereWithoutScheduleInput | Prisma.BlockUpdateManyWithWhereWithoutScheduleInput[] deleteMany?: Prisma.BlockScalarWhereInput | Prisma.BlockScalarWhereInput[] } export type BlockUncheckedUpdateManyWithoutScheduleNestedInput = { create?: Prisma.XOR | Prisma.BlockCreateWithoutScheduleInput[] | Prisma.BlockUncheckedCreateWithoutScheduleInput[] connectOrCreate?: Prisma.BlockCreateOrConnectWithoutScheduleInput | Prisma.BlockCreateOrConnectWithoutScheduleInput[] upsert?: Prisma.BlockUpsertWithWhereUniqueWithoutScheduleInput | Prisma.BlockUpsertWithWhereUniqueWithoutScheduleInput[] createMany?: Prisma.BlockCreateManyScheduleInputEnvelope set?: Prisma.BlockWhereUniqueInput | Prisma.BlockWhereUniqueInput[] disconnect?: Prisma.BlockWhereUniqueInput | Prisma.BlockWhereUniqueInput[] delete?: Prisma.BlockWhereUniqueInput | Prisma.BlockWhereUniqueInput[] connect?: Prisma.BlockWhereUniqueInput | Prisma.BlockWhereUniqueInput[] update?: Prisma.BlockUpdateWithWhereUniqueWithoutScheduleInput | Prisma.BlockUpdateWithWhereUniqueWithoutScheduleInput[] updateMany?: Prisma.BlockUpdateManyWithWhereWithoutScheduleInput | Prisma.BlockUpdateManyWithWhereWithoutScheduleInput[] deleteMany?: Prisma.BlockScalarWhereInput | Prisma.BlockScalarWhereInput[] } export type BlockCreateNestedOneWithoutProclamationsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.BlockCreateOrConnectWithoutProclamationsInput connect?: Prisma.BlockWhereUniqueInput } export type BlockUpdateOneRequiredWithoutProclamationsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.BlockCreateOrConnectWithoutProclamationsInput upsert?: Prisma.BlockUpsertWithoutProclamationsInput connect?: Prisma.BlockWhereUniqueInput update?: Prisma.XOR, Prisma.BlockUncheckedUpdateWithoutProclamationsInput> } export type BlockCreateWithoutScheduleInput = { id?: string startMinutes: number endMinutes: number dynamicAudio?: boolean createdAt?: Date | string updatedAt?: Date | string proclamations?: Prisma.BlockProclamationsCreateNestedManyWithoutBlockInput } export type BlockUncheckedCreateWithoutScheduleInput = { id?: string startMinutes: number endMinutes: number dynamicAudio?: boolean createdAt?: Date | string updatedAt?: Date | string proclamations?: Prisma.BlockProclamationsUncheckedCreateNestedManyWithoutBlockInput } export type BlockCreateOrConnectWithoutScheduleInput = { where: Prisma.BlockWhereUniqueInput create: Prisma.XOR } export type BlockCreateManyScheduleInputEnvelope = { data: Prisma.BlockCreateManyScheduleInput | Prisma.BlockCreateManyScheduleInput[] skipDuplicates?: boolean } export type BlockUpsertWithWhereUniqueWithoutScheduleInput = { where: Prisma.BlockWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type BlockUpdateWithWhereUniqueWithoutScheduleInput = { where: Prisma.BlockWhereUniqueInput data: Prisma.XOR } export type BlockUpdateManyWithWhereWithoutScheduleInput = { where: Prisma.BlockScalarWhereInput data: Prisma.XOR } export type BlockScalarWhereInput = { AND?: Prisma.BlockScalarWhereInput | Prisma.BlockScalarWhereInput[] OR?: Prisma.BlockScalarWhereInput[] NOT?: Prisma.BlockScalarWhereInput | Prisma.BlockScalarWhereInput[] id?: Prisma.StringFilter<"Block"> | string scheduleId?: Prisma.StringFilter<"Block"> | string startMinutes?: Prisma.IntFilter<"Block"> | number endMinutes?: Prisma.IntFilter<"Block"> | number dynamicAudio?: Prisma.BoolFilter<"Block"> | boolean createdAt?: Prisma.DateTimeFilter<"Block"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Block"> | Date | string } export type BlockCreateWithoutProclamationsInput = { id?: string startMinutes: number endMinutes: number dynamicAudio?: boolean createdAt?: Date | string updatedAt?: Date | string schedule: Prisma.ScheduleCreateNestedOneWithoutBlocksInput } export type BlockUncheckedCreateWithoutProclamationsInput = { id?: string scheduleId: string startMinutes: number endMinutes: number dynamicAudio?: boolean createdAt?: Date | string updatedAt?: Date | string } export type BlockCreateOrConnectWithoutProclamationsInput = { where: Prisma.BlockWhereUniqueInput create: Prisma.XOR } export type BlockUpsertWithoutProclamationsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.BlockWhereInput } export type BlockUpdateToOneWithWhereWithoutProclamationsInput = { where?: Prisma.BlockWhereInput data: Prisma.XOR } export type BlockUpdateWithoutProclamationsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string startMinutes?: Prisma.IntFieldUpdateOperationsInput | number endMinutes?: Prisma.IntFieldUpdateOperationsInput | number dynamicAudio?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string schedule?: Prisma.ScheduleUpdateOneRequiredWithoutBlocksNestedInput } export type BlockUncheckedUpdateWithoutProclamationsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string scheduleId?: Prisma.StringFieldUpdateOperationsInput | string startMinutes?: Prisma.IntFieldUpdateOperationsInput | number endMinutes?: Prisma.IntFieldUpdateOperationsInput | number dynamicAudio?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type BlockCreateManyScheduleInput = { id?: string startMinutes: number endMinutes: number dynamicAudio?: boolean createdAt?: Date | string updatedAt?: Date | string } export type BlockUpdateWithoutScheduleInput = { id?: Prisma.StringFieldUpdateOperationsInput | string startMinutes?: Prisma.IntFieldUpdateOperationsInput | number endMinutes?: Prisma.IntFieldUpdateOperationsInput | number dynamicAudio?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string proclamations?: Prisma.BlockProclamationsUpdateManyWithoutBlockNestedInput } export type BlockUncheckedUpdateWithoutScheduleInput = { id?: Prisma.StringFieldUpdateOperationsInput | string startMinutes?: Prisma.IntFieldUpdateOperationsInput | number endMinutes?: Prisma.IntFieldUpdateOperationsInput | number dynamicAudio?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string proclamations?: Prisma.BlockProclamationsUncheckedUpdateManyWithoutBlockNestedInput } export type BlockUncheckedUpdateManyWithoutScheduleInput = { id?: Prisma.StringFieldUpdateOperationsInput | string startMinutes?: Prisma.IntFieldUpdateOperationsInput | number endMinutes?: Prisma.IntFieldUpdateOperationsInput | number dynamicAudio?: Prisma.BoolFieldUpdateOperationsInput | boolean createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } /** * Count Type BlockCountOutputType */ export type BlockCountOutputType = { proclamations: number } export type BlockCountOutputTypeSelect = { proclamations?: boolean | BlockCountOutputTypeCountProclamationsArgs } /** * BlockCountOutputType without action */ export type BlockCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the BlockCountOutputType */ select?: Prisma.BlockCountOutputTypeSelect | null } /** * BlockCountOutputType without action */ export type BlockCountOutputTypeCountProclamationsArgs = { where?: Prisma.BlockProclamationsWhereInput } export type BlockSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean scheduleId?: boolean startMinutes?: boolean endMinutes?: boolean dynamicAudio?: boolean createdAt?: boolean updatedAt?: boolean schedule?: boolean | Prisma.ScheduleDefaultArgs proclamations?: boolean | Prisma.Block$proclamationsArgs _count?: boolean | Prisma.BlockCountOutputTypeDefaultArgs }, ExtArgs["result"]["block"]> export type BlockSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean scheduleId?: boolean startMinutes?: boolean endMinutes?: boolean dynamicAudio?: boolean createdAt?: boolean updatedAt?: boolean schedule?: boolean | Prisma.ScheduleDefaultArgs }, ExtArgs["result"]["block"]> export type BlockSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean scheduleId?: boolean startMinutes?: boolean endMinutes?: boolean dynamicAudio?: boolean createdAt?: boolean updatedAt?: boolean schedule?: boolean | Prisma.ScheduleDefaultArgs }, ExtArgs["result"]["block"]> export type BlockSelectScalar = { id?: boolean scheduleId?: boolean startMinutes?: boolean endMinutes?: boolean dynamicAudio?: boolean createdAt?: boolean updatedAt?: boolean } export type BlockOmit = runtime.Types.Extensions.GetOmit<"id" | "scheduleId" | "startMinutes" | "endMinutes" | "dynamicAudio" | "createdAt" | "updatedAt", ExtArgs["result"]["block"]> export type BlockInclude = { schedule?: boolean | Prisma.ScheduleDefaultArgs proclamations?: boolean | Prisma.Block$proclamationsArgs _count?: boolean | Prisma.BlockCountOutputTypeDefaultArgs } export type BlockIncludeCreateManyAndReturn = { schedule?: boolean | Prisma.ScheduleDefaultArgs } export type BlockIncludeUpdateManyAndReturn = { schedule?: boolean | Prisma.ScheduleDefaultArgs } export type $BlockPayload = { name: "Block" objects: { schedule: Prisma.$SchedulePayload proclamations: Prisma.$BlockProclamationsPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string scheduleId: string startMinutes: number endMinutes: number dynamicAudio: boolean createdAt: Date updatedAt: Date }, ExtArgs["result"]["block"]> composites: {} } export type BlockGetPayload = runtime.Types.Result.GetResult export type BlockCountArgs = Omit & { select?: BlockCountAggregateInputType | true } export interface BlockDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Block'], meta: { name: 'Block' } } /** * Find zero or one Block that matches the filter. * @param {BlockFindUniqueArgs} args - Arguments to find a Block * @example * // Get one Block * const block = await prisma.block.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__BlockClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Block that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {BlockFindUniqueOrThrowArgs} args - Arguments to find a Block * @example * // Get one Block * const block = await prisma.block.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__BlockClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Block 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 {BlockFindFirstArgs} args - Arguments to find a Block * @example * // Get one Block * const block = await prisma.block.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__BlockClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Block 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 {BlockFindFirstOrThrowArgs} args - Arguments to find a Block * @example * // Get one Block * const block = await prisma.block.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__BlockClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Blocks 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 {BlockFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Blocks * const blocks = await prisma.block.findMany() * * // Get first 10 Blocks * const blocks = await prisma.block.findMany({ take: 10 }) * * // Only select the `id` * const blockWithIdOnly = await prisma.block.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Block. * @param {BlockCreateArgs} args - Arguments to create a Block. * @example * // Create one Block * const Block = await prisma.block.create({ * data: { * // ... data to create a Block * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__BlockClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Blocks. * @param {BlockCreateManyArgs} args - Arguments to create many Blocks. * @example * // Create many Blocks * const block = await prisma.block.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many Blocks and returns the data saved in the database. * @param {BlockCreateManyAndReturnArgs} args - Arguments to create many Blocks. * @example * // Create many Blocks * const block = await prisma.block.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Blocks and only return the `id` * const blockWithIdOnly = await prisma.block.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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a Block. * @param {BlockDeleteArgs} args - Arguments to delete one Block. * @example * // Delete one Block * const Block = await prisma.block.delete({ * where: { * // ... filter to delete one Block * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__BlockClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Block. * @param {BlockUpdateArgs} args - Arguments to update one Block. * @example * // Update one Block * const block = await prisma.block.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__BlockClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Blocks. * @param {BlockDeleteManyArgs} args - Arguments to filter Blocks to delete. * @example * // Delete a few Blocks * const { count } = await prisma.block.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Blocks. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BlockUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Blocks * const block = await prisma.block.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Blocks and returns the data updated in the database. * @param {BlockUpdateManyAndReturnArgs} args - Arguments to update many Blocks. * @example * // Update many Blocks * const block = await prisma.block.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Blocks and only return the `id` * const blockWithIdOnly = await prisma.block.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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one Block. * @param {BlockUpsertArgs} args - Arguments to update or create a Block. * @example * // Update or create a Block * const block = await prisma.block.upsert({ * create: { * // ... data to create a Block * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Block we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__BlockClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Blocks. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BlockCountArgs} args - Arguments to filter Blocks to count. * @example * // Count the number of Blocks * const count = await prisma.block.count({ * where: { * // ... the filter for the Blocks we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a Block. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BlockAggregateArgs} 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by Block. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {BlockGroupByArgs} 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 BlockGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: BlockGroupByArgs['orderBy'] } : { orderBy?: BlockGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetBlockGroupByPayload : Prisma.PrismaPromise /** * Fields of the Block model */ readonly fields: BlockFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Block. * 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__BlockClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" schedule = {}>(args?: Prisma.Subset>): Prisma.Prisma__ScheduleClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> proclamations = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * Fields of the Block model */ export interface BlockFieldRefs { readonly id: Prisma.FieldRef<"Block", 'String'> readonly scheduleId: Prisma.FieldRef<"Block", 'String'> readonly startMinutes: Prisma.FieldRef<"Block", 'Int'> readonly endMinutes: Prisma.FieldRef<"Block", 'Int'> readonly dynamicAudio: Prisma.FieldRef<"Block", 'Boolean'> readonly createdAt: Prisma.FieldRef<"Block", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"Block", 'DateTime'> } // Custom InputTypes /** * Block findUnique */ export type BlockFindUniqueArgs = { /** * Select specific fields to fetch from the Block */ select?: Prisma.BlockSelect | null /** * Omit specific fields from the Block */ omit?: Prisma.BlockOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BlockInclude | null /** * Filter, which Block to fetch. */ where: Prisma.BlockWhereUniqueInput } /** * Block findUniqueOrThrow */ export type BlockFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Block */ select?: Prisma.BlockSelect | null /** * Omit specific fields from the Block */ omit?: Prisma.BlockOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BlockInclude | null /** * Filter, which Block to fetch. */ where: Prisma.BlockWhereUniqueInput } /** * Block findFirst */ export type BlockFindFirstArgs = { /** * Select specific fields to fetch from the Block */ select?: Prisma.BlockSelect | null /** * Omit specific fields from the Block */ omit?: Prisma.BlockOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BlockInclude | null /** * Filter, which Block to fetch. */ where?: Prisma.BlockWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Blocks to fetch. */ orderBy?: Prisma.BlockOrderByWithRelationInput | Prisma.BlockOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Blocks. */ cursor?: Prisma.BlockWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Blocks 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` Blocks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Blocks. */ distinct?: Prisma.BlockScalarFieldEnum | Prisma.BlockScalarFieldEnum[] } /** * Block findFirstOrThrow */ export type BlockFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Block */ select?: Prisma.BlockSelect | null /** * Omit specific fields from the Block */ omit?: Prisma.BlockOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BlockInclude | null /** * Filter, which Block to fetch. */ where?: Prisma.BlockWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Blocks to fetch. */ orderBy?: Prisma.BlockOrderByWithRelationInput | Prisma.BlockOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Blocks. */ cursor?: Prisma.BlockWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Blocks 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` Blocks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Blocks. */ distinct?: Prisma.BlockScalarFieldEnum | Prisma.BlockScalarFieldEnum[] } /** * Block findMany */ export type BlockFindManyArgs = { /** * Select specific fields to fetch from the Block */ select?: Prisma.BlockSelect | null /** * Omit specific fields from the Block */ omit?: Prisma.BlockOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BlockInclude | null /** * Filter, which Blocks to fetch. */ where?: Prisma.BlockWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Blocks to fetch. */ orderBy?: Prisma.BlockOrderByWithRelationInput | Prisma.BlockOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Blocks. */ cursor?: Prisma.BlockWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Blocks 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` Blocks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Blocks. */ distinct?: Prisma.BlockScalarFieldEnum | Prisma.BlockScalarFieldEnum[] } /** * Block create */ export type BlockCreateArgs = { /** * Select specific fields to fetch from the Block */ select?: Prisma.BlockSelect | null /** * Omit specific fields from the Block */ omit?: Prisma.BlockOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BlockInclude | null /** * The data needed to create a Block. */ data: Prisma.XOR } /** * Block createMany */ export type BlockCreateManyArgs = { /** * The data used to create many Blocks. */ data: Prisma.BlockCreateManyInput | Prisma.BlockCreateManyInput[] skipDuplicates?: boolean } /** * Block createManyAndReturn */ export type BlockCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Block */ select?: Prisma.BlockSelectCreateManyAndReturn | null /** * Omit specific fields from the Block */ omit?: Prisma.BlockOmit | null /** * The data used to create many Blocks. */ data: Prisma.BlockCreateManyInput | Prisma.BlockCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.BlockIncludeCreateManyAndReturn | null } /** * Block update */ export type BlockUpdateArgs = { /** * Select specific fields to fetch from the Block */ select?: Prisma.BlockSelect | null /** * Omit specific fields from the Block */ omit?: Prisma.BlockOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BlockInclude | null /** * The data needed to update a Block. */ data: Prisma.XOR /** * Choose, which Block to update. */ where: Prisma.BlockWhereUniqueInput } /** * Block updateMany */ export type BlockUpdateManyArgs = { /** * The data used to update Blocks. */ data: Prisma.XOR /** * Filter which Blocks to update */ where?: Prisma.BlockWhereInput /** * Limit how many Blocks to update. */ limit?: number } /** * Block updateManyAndReturn */ export type BlockUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Block */ select?: Prisma.BlockSelectUpdateManyAndReturn | null /** * Omit specific fields from the Block */ omit?: Prisma.BlockOmit | null /** * The data used to update Blocks. */ data: Prisma.XOR /** * Filter which Blocks to update */ where?: Prisma.BlockWhereInput /** * Limit how many Blocks to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.BlockIncludeUpdateManyAndReturn | null } /** * Block upsert */ export type BlockUpsertArgs = { /** * Select specific fields to fetch from the Block */ select?: Prisma.BlockSelect | null /** * Omit specific fields from the Block */ omit?: Prisma.BlockOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BlockInclude | null /** * The filter to search for the Block to update in case it exists. */ where: Prisma.BlockWhereUniqueInput /** * In case the Block found by the `where` argument doesn't exist, create a new Block with this data. */ create: Prisma.XOR /** * In case the Block was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * Block delete */ export type BlockDeleteArgs = { /** * Select specific fields to fetch from the Block */ select?: Prisma.BlockSelect | null /** * Omit specific fields from the Block */ omit?: Prisma.BlockOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BlockInclude | null /** * Filter which Block to delete. */ where: Prisma.BlockWhereUniqueInput } /** * Block deleteMany */ export type BlockDeleteManyArgs = { /** * Filter which Blocks to delete */ where?: Prisma.BlockWhereInput /** * Limit how many Blocks to delete. */ limit?: number } /** * Block.proclamations */ export type Block$proclamationsArgs = { /** * Select specific fields to fetch from the BlockProclamations */ select?: Prisma.BlockProclamationsSelect | null /** * Omit specific fields from the BlockProclamations */ omit?: Prisma.BlockProclamationsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BlockProclamationsInclude | null where?: Prisma.BlockProclamationsWhereInput orderBy?: Prisma.BlockProclamationsOrderByWithRelationInput | Prisma.BlockProclamationsOrderByWithRelationInput[] cursor?: Prisma.BlockProclamationsWhereUniqueInput take?: number skip?: number distinct?: Prisma.BlockProclamationsScalarFieldEnum | Prisma.BlockProclamationsScalarFieldEnum[] } /** * Block without action */ export type BlockDefaultArgs = { /** * Select specific fields to fetch from the Block */ select?: Prisma.BlockSelect | null /** * Omit specific fields from the Block */ omit?: Prisma.BlockOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.BlockInclude | null }