/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `Proclamation` 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 Proclamation * */ export type ProclamationModel = runtime.Types.Result.DefaultSelection export type AggregateProclamation = { _count: ProclamationCountAggregateOutputType | null _avg: ProclamationAvgAggregateOutputType | null _sum: ProclamationSumAggregateOutputType | null _min: ProclamationMinAggregateOutputType | null _max: ProclamationMaxAggregateOutputType | null } export type ProclamationAvgAggregateOutputType = { solfeggioFrequencyId: number | null categoryId: number | null groupId: number | null } export type ProclamationSumAggregateOutputType = { solfeggioFrequencyId: number | null categoryId: number | null groupId: number | null } export type ProclamationMinAggregateOutputType = { id: string | null name: string | null content: string | null solfeggioFrequencyId: number | null categoryId: number | null groupId: number | null } export type ProclamationMaxAggregateOutputType = { id: string | null name: string | null content: string | null solfeggioFrequencyId: number | null categoryId: number | null groupId: number | null } export type ProclamationCountAggregateOutputType = { id: number name: number content: number solfeggioFrequencyId: number categoryId: number groupId: number _all: number } export type ProclamationAvgAggregateInputType = { solfeggioFrequencyId?: true categoryId?: true groupId?: true } export type ProclamationSumAggregateInputType = { solfeggioFrequencyId?: true categoryId?: true groupId?: true } export type ProclamationMinAggregateInputType = { id?: true name?: true content?: true solfeggioFrequencyId?: true categoryId?: true groupId?: true } export type ProclamationMaxAggregateInputType = { id?: true name?: true content?: true solfeggioFrequencyId?: true categoryId?: true groupId?: true } export type ProclamationCountAggregateInputType = { id?: true name?: true content?: true solfeggioFrequencyId?: true categoryId?: true groupId?: true _all?: true } export type ProclamationAggregateArgs = { /** * Filter which Proclamation to aggregate. */ where?: Prisma.ProclamationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Proclamations to fetch. */ orderBy?: Prisma.ProclamationOrderByWithRelationInput | Prisma.ProclamationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.ProclamationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Proclamations 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` Proclamations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Proclamations **/ _count?: true | ProclamationCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: ProclamationAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: ProclamationSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ProclamationMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ProclamationMaxAggregateInputType } export type GetProclamationAggregateType = { [P in keyof T & keyof AggregateProclamation]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type ProclamationGroupByArgs = { where?: Prisma.ProclamationWhereInput orderBy?: Prisma.ProclamationOrderByWithAggregationInput | Prisma.ProclamationOrderByWithAggregationInput[] by: Prisma.ProclamationScalarFieldEnum[] | Prisma.ProclamationScalarFieldEnum having?: Prisma.ProclamationScalarWhereWithAggregatesInput take?: number skip?: number _count?: ProclamationCountAggregateInputType | true _avg?: ProclamationAvgAggregateInputType _sum?: ProclamationSumAggregateInputType _min?: ProclamationMinAggregateInputType _max?: ProclamationMaxAggregateInputType } export type ProclamationGroupByOutputType = { id: string name: string content: string solfeggioFrequencyId: number categoryId: number groupId: number _count: ProclamationCountAggregateOutputType | null _avg: ProclamationAvgAggregateOutputType | null _sum: ProclamationSumAggregateOutputType | null _min: ProclamationMinAggregateOutputType | null _max: ProclamationMaxAggregateOutputType | null } export type GetProclamationGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof ProclamationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type ProclamationWhereInput = { AND?: Prisma.ProclamationWhereInput | Prisma.ProclamationWhereInput[] OR?: Prisma.ProclamationWhereInput[] NOT?: Prisma.ProclamationWhereInput | Prisma.ProclamationWhereInput[] id?: Prisma.StringFilter<"Proclamation"> | string name?: Prisma.StringFilter<"Proclamation"> | string content?: Prisma.StringFilter<"Proclamation"> | string solfeggioFrequencyId?: Prisma.IntFilter<"Proclamation"> | number categoryId?: Prisma.IntFilter<"Proclamation"> | number groupId?: Prisma.IntFilter<"Proclamation"> | number solfeggioFrequency?: Prisma.XOR category?: Prisma.XOR group?: Prisma.XOR userProclamations?: Prisma.UserProclamationsListRelationFilter } export type ProclamationOrderByWithRelationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder content?: Prisma.SortOrder solfeggioFrequencyId?: Prisma.SortOrder categoryId?: Prisma.SortOrder groupId?: Prisma.SortOrder solfeggioFrequency?: Prisma.SolfeggioFrequencyOrderByWithRelationInput category?: Prisma.ProclamationCategoryOrderByWithRelationInput group?: Prisma.ProclamationGroupOrderByWithRelationInput userProclamations?: Prisma.UserProclamationsOrderByRelationAggregateInput } export type ProclamationWhereUniqueInput = Prisma.AtLeast<{ id?: string name?: string AND?: Prisma.ProclamationWhereInput | Prisma.ProclamationWhereInput[] OR?: Prisma.ProclamationWhereInput[] NOT?: Prisma.ProclamationWhereInput | Prisma.ProclamationWhereInput[] content?: Prisma.StringFilter<"Proclamation"> | string solfeggioFrequencyId?: Prisma.IntFilter<"Proclamation"> | number categoryId?: Prisma.IntFilter<"Proclamation"> | number groupId?: Prisma.IntFilter<"Proclamation"> | number solfeggioFrequency?: Prisma.XOR category?: Prisma.XOR group?: Prisma.XOR userProclamations?: Prisma.UserProclamationsListRelationFilter }, "id" | "name"> export type ProclamationOrderByWithAggregationInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder content?: Prisma.SortOrder solfeggioFrequencyId?: Prisma.SortOrder categoryId?: Prisma.SortOrder groupId?: Prisma.SortOrder _count?: Prisma.ProclamationCountOrderByAggregateInput _avg?: Prisma.ProclamationAvgOrderByAggregateInput _max?: Prisma.ProclamationMaxOrderByAggregateInput _min?: Prisma.ProclamationMinOrderByAggregateInput _sum?: Prisma.ProclamationSumOrderByAggregateInput } export type ProclamationScalarWhereWithAggregatesInput = { AND?: Prisma.ProclamationScalarWhereWithAggregatesInput | Prisma.ProclamationScalarWhereWithAggregatesInput[] OR?: Prisma.ProclamationScalarWhereWithAggregatesInput[] NOT?: Prisma.ProclamationScalarWhereWithAggregatesInput | Prisma.ProclamationScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"Proclamation"> | string name?: Prisma.StringWithAggregatesFilter<"Proclamation"> | string content?: Prisma.StringWithAggregatesFilter<"Proclamation"> | string solfeggioFrequencyId?: Prisma.IntWithAggregatesFilter<"Proclamation"> | number categoryId?: Prisma.IntWithAggregatesFilter<"Proclamation"> | number groupId?: Prisma.IntWithAggregatesFilter<"Proclamation"> | number } export type ProclamationCreateInput = { id?: string name: string content: string solfeggioFrequency: Prisma.SolfeggioFrequencyCreateNestedOneWithoutProclamationsInput category: Prisma.ProclamationCategoryCreateNestedOneWithoutProclamationsInput group: Prisma.ProclamationGroupCreateNestedOneWithoutProclamationsInput userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutProclamationInput } export type ProclamationUncheckedCreateInput = { id?: string name: string content: string solfeggioFrequencyId: number categoryId: number groupId: number userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutProclamationInput } export type ProclamationUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string content?: Prisma.StringFieldUpdateOperationsInput | string solfeggioFrequency?: Prisma.SolfeggioFrequencyUpdateOneRequiredWithoutProclamationsNestedInput category?: Prisma.ProclamationCategoryUpdateOneRequiredWithoutProclamationsNestedInput group?: Prisma.ProclamationGroupUpdateOneRequiredWithoutProclamationsNestedInput userProclamations?: Prisma.UserProclamationsUpdateManyWithoutProclamationNestedInput } export type ProclamationUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string content?: Prisma.StringFieldUpdateOperationsInput | string solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number categoryId?: Prisma.IntFieldUpdateOperationsInput | number groupId?: Prisma.IntFieldUpdateOperationsInput | number userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutProclamationNestedInput } export type ProclamationCreateManyInput = { id?: string name: string content: string solfeggioFrequencyId: number categoryId: number groupId: number } export type ProclamationUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string content?: Prisma.StringFieldUpdateOperationsInput | string } export type ProclamationUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string content?: Prisma.StringFieldUpdateOperationsInput | string solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number categoryId?: Prisma.IntFieldUpdateOperationsInput | number groupId?: Prisma.IntFieldUpdateOperationsInput | number } export type ProclamationCountOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder content?: Prisma.SortOrder solfeggioFrequencyId?: Prisma.SortOrder categoryId?: Prisma.SortOrder groupId?: Prisma.SortOrder } export type ProclamationAvgOrderByAggregateInput = { solfeggioFrequencyId?: Prisma.SortOrder categoryId?: Prisma.SortOrder groupId?: Prisma.SortOrder } export type ProclamationMaxOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder content?: Prisma.SortOrder solfeggioFrequencyId?: Prisma.SortOrder categoryId?: Prisma.SortOrder groupId?: Prisma.SortOrder } export type ProclamationMinOrderByAggregateInput = { id?: Prisma.SortOrder name?: Prisma.SortOrder content?: Prisma.SortOrder solfeggioFrequencyId?: Prisma.SortOrder categoryId?: Prisma.SortOrder groupId?: Prisma.SortOrder } export type ProclamationSumOrderByAggregateInput = { solfeggioFrequencyId?: Prisma.SortOrder categoryId?: Prisma.SortOrder groupId?: Prisma.SortOrder } export type ProclamationListRelationFilter = { every?: Prisma.ProclamationWhereInput some?: Prisma.ProclamationWhereInput none?: Prisma.ProclamationWhereInput } export type ProclamationOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type ProclamationScalarRelationFilter = { is?: Prisma.ProclamationWhereInput isNot?: Prisma.ProclamationWhereInput } export type ProclamationCreateNestedManyWithoutGroupInput = { create?: Prisma.XOR | Prisma.ProclamationCreateWithoutGroupInput[] | Prisma.ProclamationUncheckedCreateWithoutGroupInput[] connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutGroupInput | Prisma.ProclamationCreateOrConnectWithoutGroupInput[] createMany?: Prisma.ProclamationCreateManyGroupInputEnvelope connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] } export type ProclamationUncheckedCreateNestedManyWithoutGroupInput = { create?: Prisma.XOR | Prisma.ProclamationCreateWithoutGroupInput[] | Prisma.ProclamationUncheckedCreateWithoutGroupInput[] connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutGroupInput | Prisma.ProclamationCreateOrConnectWithoutGroupInput[] createMany?: Prisma.ProclamationCreateManyGroupInputEnvelope connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] } export type ProclamationUpdateManyWithoutGroupNestedInput = { create?: Prisma.XOR | Prisma.ProclamationCreateWithoutGroupInput[] | Prisma.ProclamationUncheckedCreateWithoutGroupInput[] connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutGroupInput | Prisma.ProclamationCreateOrConnectWithoutGroupInput[] upsert?: Prisma.ProclamationUpsertWithWhereUniqueWithoutGroupInput | Prisma.ProclamationUpsertWithWhereUniqueWithoutGroupInput[] createMany?: Prisma.ProclamationCreateManyGroupInputEnvelope set?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] disconnect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] delete?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] update?: Prisma.ProclamationUpdateWithWhereUniqueWithoutGroupInput | Prisma.ProclamationUpdateWithWhereUniqueWithoutGroupInput[] updateMany?: Prisma.ProclamationUpdateManyWithWhereWithoutGroupInput | Prisma.ProclamationUpdateManyWithWhereWithoutGroupInput[] deleteMany?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[] } export type ProclamationUncheckedUpdateManyWithoutGroupNestedInput = { create?: Prisma.XOR | Prisma.ProclamationCreateWithoutGroupInput[] | Prisma.ProclamationUncheckedCreateWithoutGroupInput[] connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutGroupInput | Prisma.ProclamationCreateOrConnectWithoutGroupInput[] upsert?: Prisma.ProclamationUpsertWithWhereUniqueWithoutGroupInput | Prisma.ProclamationUpsertWithWhereUniqueWithoutGroupInput[] createMany?: Prisma.ProclamationCreateManyGroupInputEnvelope set?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] disconnect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] delete?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] update?: Prisma.ProclamationUpdateWithWhereUniqueWithoutGroupInput | Prisma.ProclamationUpdateWithWhereUniqueWithoutGroupInput[] updateMany?: Prisma.ProclamationUpdateManyWithWhereWithoutGroupInput | Prisma.ProclamationUpdateManyWithWhereWithoutGroupInput[] deleteMany?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[] } export type ProclamationCreateNestedOneWithoutUserProclamationsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutUserProclamationsInput connect?: Prisma.ProclamationWhereUniqueInput } export type ProclamationUpdateOneRequiredWithoutUserProclamationsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutUserProclamationsInput upsert?: Prisma.ProclamationUpsertWithoutUserProclamationsInput connect?: Prisma.ProclamationWhereUniqueInput update?: Prisma.XOR, Prisma.ProclamationUncheckedUpdateWithoutUserProclamationsInput> } export type ProclamationCreateNestedManyWithoutSolfeggioFrequencyInput = { create?: Prisma.XOR | Prisma.ProclamationCreateWithoutSolfeggioFrequencyInput[] | Prisma.ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput[] connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput | Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput[] createMany?: Prisma.ProclamationCreateManySolfeggioFrequencyInputEnvelope connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] } export type ProclamationUncheckedCreateNestedManyWithoutSolfeggioFrequencyInput = { create?: Prisma.XOR | Prisma.ProclamationCreateWithoutSolfeggioFrequencyInput[] | Prisma.ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput[] connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput | Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput[] createMany?: Prisma.ProclamationCreateManySolfeggioFrequencyInputEnvelope connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] } export type ProclamationUpdateManyWithoutSolfeggioFrequencyNestedInput = { create?: Prisma.XOR | Prisma.ProclamationCreateWithoutSolfeggioFrequencyInput[] | Prisma.ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput[] connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput | Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput[] upsert?: Prisma.ProclamationUpsertWithWhereUniqueWithoutSolfeggioFrequencyInput | Prisma.ProclamationUpsertWithWhereUniqueWithoutSolfeggioFrequencyInput[] createMany?: Prisma.ProclamationCreateManySolfeggioFrequencyInputEnvelope set?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] disconnect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] delete?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] update?: Prisma.ProclamationUpdateWithWhereUniqueWithoutSolfeggioFrequencyInput | Prisma.ProclamationUpdateWithWhereUniqueWithoutSolfeggioFrequencyInput[] updateMany?: Prisma.ProclamationUpdateManyWithWhereWithoutSolfeggioFrequencyInput | Prisma.ProclamationUpdateManyWithWhereWithoutSolfeggioFrequencyInput[] deleteMany?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[] } export type ProclamationUncheckedUpdateManyWithoutSolfeggioFrequencyNestedInput = { create?: Prisma.XOR | Prisma.ProclamationCreateWithoutSolfeggioFrequencyInput[] | Prisma.ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput[] connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput | Prisma.ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput[] upsert?: Prisma.ProclamationUpsertWithWhereUniqueWithoutSolfeggioFrequencyInput | Prisma.ProclamationUpsertWithWhereUniqueWithoutSolfeggioFrequencyInput[] createMany?: Prisma.ProclamationCreateManySolfeggioFrequencyInputEnvelope set?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] disconnect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] delete?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] update?: Prisma.ProclamationUpdateWithWhereUniqueWithoutSolfeggioFrequencyInput | Prisma.ProclamationUpdateWithWhereUniqueWithoutSolfeggioFrequencyInput[] updateMany?: Prisma.ProclamationUpdateManyWithWhereWithoutSolfeggioFrequencyInput | Prisma.ProclamationUpdateManyWithWhereWithoutSolfeggioFrequencyInput[] deleteMany?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[] } export type ProclamationCreateNestedManyWithoutCategoryInput = { create?: Prisma.XOR | Prisma.ProclamationCreateWithoutCategoryInput[] | Prisma.ProclamationUncheckedCreateWithoutCategoryInput[] connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutCategoryInput | Prisma.ProclamationCreateOrConnectWithoutCategoryInput[] createMany?: Prisma.ProclamationCreateManyCategoryInputEnvelope connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] } export type ProclamationUncheckedCreateNestedManyWithoutCategoryInput = { create?: Prisma.XOR | Prisma.ProclamationCreateWithoutCategoryInput[] | Prisma.ProclamationUncheckedCreateWithoutCategoryInput[] connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutCategoryInput | Prisma.ProclamationCreateOrConnectWithoutCategoryInput[] createMany?: Prisma.ProclamationCreateManyCategoryInputEnvelope connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] } export type ProclamationUpdateManyWithoutCategoryNestedInput = { create?: Prisma.XOR | Prisma.ProclamationCreateWithoutCategoryInput[] | Prisma.ProclamationUncheckedCreateWithoutCategoryInput[] connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutCategoryInput | Prisma.ProclamationCreateOrConnectWithoutCategoryInput[] upsert?: Prisma.ProclamationUpsertWithWhereUniqueWithoutCategoryInput | Prisma.ProclamationUpsertWithWhereUniqueWithoutCategoryInput[] createMany?: Prisma.ProclamationCreateManyCategoryInputEnvelope set?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] disconnect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] delete?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] update?: Prisma.ProclamationUpdateWithWhereUniqueWithoutCategoryInput | Prisma.ProclamationUpdateWithWhereUniqueWithoutCategoryInput[] updateMany?: Prisma.ProclamationUpdateManyWithWhereWithoutCategoryInput | Prisma.ProclamationUpdateManyWithWhereWithoutCategoryInput[] deleteMany?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[] } export type ProclamationUncheckedUpdateManyWithoutCategoryNestedInput = { create?: Prisma.XOR | Prisma.ProclamationCreateWithoutCategoryInput[] | Prisma.ProclamationUncheckedCreateWithoutCategoryInput[] connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutCategoryInput | Prisma.ProclamationCreateOrConnectWithoutCategoryInput[] upsert?: Prisma.ProclamationUpsertWithWhereUniqueWithoutCategoryInput | Prisma.ProclamationUpsertWithWhereUniqueWithoutCategoryInput[] createMany?: Prisma.ProclamationCreateManyCategoryInputEnvelope set?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] disconnect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] delete?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] connect?: Prisma.ProclamationWhereUniqueInput | Prisma.ProclamationWhereUniqueInput[] update?: Prisma.ProclamationUpdateWithWhereUniqueWithoutCategoryInput | Prisma.ProclamationUpdateWithWhereUniqueWithoutCategoryInput[] updateMany?: Prisma.ProclamationUpdateManyWithWhereWithoutCategoryInput | Prisma.ProclamationUpdateManyWithWhereWithoutCategoryInput[] deleteMany?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[] } export type ProclamationCreateWithoutGroupInput = { id?: string name: string content: string solfeggioFrequency: Prisma.SolfeggioFrequencyCreateNestedOneWithoutProclamationsInput category: Prisma.ProclamationCategoryCreateNestedOneWithoutProclamationsInput userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutProclamationInput } export type ProclamationUncheckedCreateWithoutGroupInput = { id?: string name: string content: string solfeggioFrequencyId: number categoryId: number userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutProclamationInput } export type ProclamationCreateOrConnectWithoutGroupInput = { where: Prisma.ProclamationWhereUniqueInput create: Prisma.XOR } export type ProclamationCreateManyGroupInputEnvelope = { data: Prisma.ProclamationCreateManyGroupInput | Prisma.ProclamationCreateManyGroupInput[] skipDuplicates?: boolean } export type ProclamationUpsertWithWhereUniqueWithoutGroupInput = { where: Prisma.ProclamationWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type ProclamationUpdateWithWhereUniqueWithoutGroupInput = { where: Prisma.ProclamationWhereUniqueInput data: Prisma.XOR } export type ProclamationUpdateManyWithWhereWithoutGroupInput = { where: Prisma.ProclamationScalarWhereInput data: Prisma.XOR } export type ProclamationScalarWhereInput = { AND?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[] OR?: Prisma.ProclamationScalarWhereInput[] NOT?: Prisma.ProclamationScalarWhereInput | Prisma.ProclamationScalarWhereInput[] id?: Prisma.StringFilter<"Proclamation"> | string name?: Prisma.StringFilter<"Proclamation"> | string content?: Prisma.StringFilter<"Proclamation"> | string solfeggioFrequencyId?: Prisma.IntFilter<"Proclamation"> | number categoryId?: Prisma.IntFilter<"Proclamation"> | number groupId?: Prisma.IntFilter<"Proclamation"> | number } export type ProclamationCreateWithoutUserProclamationsInput = { id?: string name: string content: string solfeggioFrequency: Prisma.SolfeggioFrequencyCreateNestedOneWithoutProclamationsInput category: Prisma.ProclamationCategoryCreateNestedOneWithoutProclamationsInput group: Prisma.ProclamationGroupCreateNestedOneWithoutProclamationsInput } export type ProclamationUncheckedCreateWithoutUserProclamationsInput = { id?: string name: string content: string solfeggioFrequencyId: number categoryId: number groupId: number } export type ProclamationCreateOrConnectWithoutUserProclamationsInput = { where: Prisma.ProclamationWhereUniqueInput create: Prisma.XOR } export type ProclamationUpsertWithoutUserProclamationsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.ProclamationWhereInput } export type ProclamationUpdateToOneWithWhereWithoutUserProclamationsInput = { where?: Prisma.ProclamationWhereInput data: Prisma.XOR } export type ProclamationUpdateWithoutUserProclamationsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string content?: Prisma.StringFieldUpdateOperationsInput | string solfeggioFrequency?: Prisma.SolfeggioFrequencyUpdateOneRequiredWithoutProclamationsNestedInput category?: Prisma.ProclamationCategoryUpdateOneRequiredWithoutProclamationsNestedInput group?: Prisma.ProclamationGroupUpdateOneRequiredWithoutProclamationsNestedInput } export type ProclamationUncheckedUpdateWithoutUserProclamationsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string content?: Prisma.StringFieldUpdateOperationsInput | string solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number categoryId?: Prisma.IntFieldUpdateOperationsInput | number groupId?: Prisma.IntFieldUpdateOperationsInput | number } export type ProclamationCreateWithoutSolfeggioFrequencyInput = { id?: string name: string content: string category: Prisma.ProclamationCategoryCreateNestedOneWithoutProclamationsInput group: Prisma.ProclamationGroupCreateNestedOneWithoutProclamationsInput userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutProclamationInput } export type ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput = { id?: string name: string content: string categoryId: number groupId: number userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutProclamationInput } export type ProclamationCreateOrConnectWithoutSolfeggioFrequencyInput = { where: Prisma.ProclamationWhereUniqueInput create: Prisma.XOR } export type ProclamationCreateManySolfeggioFrequencyInputEnvelope = { data: Prisma.ProclamationCreateManySolfeggioFrequencyInput | Prisma.ProclamationCreateManySolfeggioFrequencyInput[] skipDuplicates?: boolean } export type ProclamationUpsertWithWhereUniqueWithoutSolfeggioFrequencyInput = { where: Prisma.ProclamationWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type ProclamationUpdateWithWhereUniqueWithoutSolfeggioFrequencyInput = { where: Prisma.ProclamationWhereUniqueInput data: Prisma.XOR } export type ProclamationUpdateManyWithWhereWithoutSolfeggioFrequencyInput = { where: Prisma.ProclamationScalarWhereInput data: Prisma.XOR } export type ProclamationCreateWithoutCategoryInput = { id?: string name: string content: string solfeggioFrequency: Prisma.SolfeggioFrequencyCreateNestedOneWithoutProclamationsInput group: Prisma.ProclamationGroupCreateNestedOneWithoutProclamationsInput userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutProclamationInput } export type ProclamationUncheckedCreateWithoutCategoryInput = { id?: string name: string content: string solfeggioFrequencyId: number groupId: number userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutProclamationInput } export type ProclamationCreateOrConnectWithoutCategoryInput = { where: Prisma.ProclamationWhereUniqueInput create: Prisma.XOR } export type ProclamationCreateManyCategoryInputEnvelope = { data: Prisma.ProclamationCreateManyCategoryInput | Prisma.ProclamationCreateManyCategoryInput[] skipDuplicates?: boolean } export type ProclamationUpsertWithWhereUniqueWithoutCategoryInput = { where: Prisma.ProclamationWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type ProclamationUpdateWithWhereUniqueWithoutCategoryInput = { where: Prisma.ProclamationWhereUniqueInput data: Prisma.XOR } export type ProclamationUpdateManyWithWhereWithoutCategoryInput = { where: Prisma.ProclamationScalarWhereInput data: Prisma.XOR } export type ProclamationCreateManyGroupInput = { id?: string name: string content: string solfeggioFrequencyId: number categoryId: number } export type ProclamationUpdateWithoutGroupInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string content?: Prisma.StringFieldUpdateOperationsInput | string solfeggioFrequency?: Prisma.SolfeggioFrequencyUpdateOneRequiredWithoutProclamationsNestedInput category?: Prisma.ProclamationCategoryUpdateOneRequiredWithoutProclamationsNestedInput userProclamations?: Prisma.UserProclamationsUpdateManyWithoutProclamationNestedInput } export type ProclamationUncheckedUpdateWithoutGroupInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string content?: Prisma.StringFieldUpdateOperationsInput | string solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number categoryId?: Prisma.IntFieldUpdateOperationsInput | number userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutProclamationNestedInput } export type ProclamationUncheckedUpdateManyWithoutGroupInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string content?: Prisma.StringFieldUpdateOperationsInput | string solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number categoryId?: Prisma.IntFieldUpdateOperationsInput | number } export type ProclamationCreateManySolfeggioFrequencyInput = { id?: string name: string content: string categoryId: number groupId: number } export type ProclamationUpdateWithoutSolfeggioFrequencyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string content?: Prisma.StringFieldUpdateOperationsInput | string category?: Prisma.ProclamationCategoryUpdateOneRequiredWithoutProclamationsNestedInput group?: Prisma.ProclamationGroupUpdateOneRequiredWithoutProclamationsNestedInput userProclamations?: Prisma.UserProclamationsUpdateManyWithoutProclamationNestedInput } export type ProclamationUncheckedUpdateWithoutSolfeggioFrequencyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string content?: Prisma.StringFieldUpdateOperationsInput | string categoryId?: Prisma.IntFieldUpdateOperationsInput | number groupId?: Prisma.IntFieldUpdateOperationsInput | number userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutProclamationNestedInput } export type ProclamationUncheckedUpdateManyWithoutSolfeggioFrequencyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string content?: Prisma.StringFieldUpdateOperationsInput | string categoryId?: Prisma.IntFieldUpdateOperationsInput | number groupId?: Prisma.IntFieldUpdateOperationsInput | number } export type ProclamationCreateManyCategoryInput = { id?: string name: string content: string solfeggioFrequencyId: number groupId: number } export type ProclamationUpdateWithoutCategoryInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string content?: Prisma.StringFieldUpdateOperationsInput | string solfeggioFrequency?: Prisma.SolfeggioFrequencyUpdateOneRequiredWithoutProclamationsNestedInput group?: Prisma.ProclamationGroupUpdateOneRequiredWithoutProclamationsNestedInput userProclamations?: Prisma.UserProclamationsUpdateManyWithoutProclamationNestedInput } export type ProclamationUncheckedUpdateWithoutCategoryInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string content?: Prisma.StringFieldUpdateOperationsInput | string solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number groupId?: Prisma.IntFieldUpdateOperationsInput | number userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutProclamationNestedInput } export type ProclamationUncheckedUpdateManyWithoutCategoryInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string content?: Prisma.StringFieldUpdateOperationsInput | string solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number groupId?: Prisma.IntFieldUpdateOperationsInput | number } /** * Count Type ProclamationCountOutputType */ export type ProclamationCountOutputType = { userProclamations: number } export type ProclamationCountOutputTypeSelect = { userProclamations?: boolean | ProclamationCountOutputTypeCountUserProclamationsArgs } /** * ProclamationCountOutputType without action */ export type ProclamationCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the ProclamationCountOutputType */ select?: Prisma.ProclamationCountOutputTypeSelect | null } /** * ProclamationCountOutputType without action */ export type ProclamationCountOutputTypeCountUserProclamationsArgs = { where?: Prisma.UserProclamationsWhereInput } export type ProclamationSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean content?: boolean solfeggioFrequencyId?: boolean categoryId?: boolean groupId?: boolean solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs category?: boolean | Prisma.ProclamationCategoryDefaultArgs group?: boolean | Prisma.ProclamationGroupDefaultArgs userProclamations?: boolean | Prisma.Proclamation$userProclamationsArgs _count?: boolean | Prisma.ProclamationCountOutputTypeDefaultArgs }, ExtArgs["result"]["proclamation"]> export type ProclamationSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean content?: boolean solfeggioFrequencyId?: boolean categoryId?: boolean groupId?: boolean solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs category?: boolean | Prisma.ProclamationCategoryDefaultArgs group?: boolean | Prisma.ProclamationGroupDefaultArgs }, ExtArgs["result"]["proclamation"]> export type ProclamationSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean name?: boolean content?: boolean solfeggioFrequencyId?: boolean categoryId?: boolean groupId?: boolean solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs category?: boolean | Prisma.ProclamationCategoryDefaultArgs group?: boolean | Prisma.ProclamationGroupDefaultArgs }, ExtArgs["result"]["proclamation"]> export type ProclamationSelectScalar = { id?: boolean name?: boolean content?: boolean solfeggioFrequencyId?: boolean categoryId?: boolean groupId?: boolean } export type ProclamationOmit = runtime.Types.Extensions.GetOmit<"id" | "name" | "content" | "solfeggioFrequencyId" | "categoryId" | "groupId", ExtArgs["result"]["proclamation"]> export type ProclamationInclude = { solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs category?: boolean | Prisma.ProclamationCategoryDefaultArgs group?: boolean | Prisma.ProclamationGroupDefaultArgs userProclamations?: boolean | Prisma.Proclamation$userProclamationsArgs _count?: boolean | Prisma.ProclamationCountOutputTypeDefaultArgs } export type ProclamationIncludeCreateManyAndReturn = { solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs category?: boolean | Prisma.ProclamationCategoryDefaultArgs group?: boolean | Prisma.ProclamationGroupDefaultArgs } export type ProclamationIncludeUpdateManyAndReturn = { solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs category?: boolean | Prisma.ProclamationCategoryDefaultArgs group?: boolean | Prisma.ProclamationGroupDefaultArgs } export type $ProclamationPayload = { name: "Proclamation" objects: { solfeggioFrequency: Prisma.$SolfeggioFrequencyPayload category: Prisma.$ProclamationCategoryPayload group: Prisma.$ProclamationGroupPayload userProclamations: Prisma.$UserProclamationsPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string name: string content: string solfeggioFrequencyId: number categoryId: number groupId: number }, ExtArgs["result"]["proclamation"]> composites: {} } export type ProclamationGetPayload = runtime.Types.Result.GetResult export type ProclamationCountArgs = Omit & { select?: ProclamationCountAggregateInputType | true } export interface ProclamationDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Proclamation'], meta: { name: 'Proclamation' } } /** * Find zero or one Proclamation that matches the filter. * @param {ProclamationFindUniqueArgs} args - Arguments to find a Proclamation * @example * // Get one Proclamation * const proclamation = await prisma.proclamation.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Proclamation that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ProclamationFindUniqueOrThrowArgs} args - Arguments to find a Proclamation * @example * // Get one Proclamation * const proclamation = await prisma.proclamation.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Proclamation 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 {ProclamationFindFirstArgs} args - Arguments to find a Proclamation * @example * // Get one Proclamation * const proclamation = await prisma.proclamation.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ProclamationClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Proclamation 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 {ProclamationFindFirstOrThrowArgs} args - Arguments to find a Proclamation * @example * // Get one Proclamation * const proclamation = await prisma.proclamation.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ProclamationClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Proclamations 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 {ProclamationFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Proclamations * const proclamations = await prisma.proclamation.findMany() * * // Get first 10 Proclamations * const proclamations = await prisma.proclamation.findMany({ take: 10 }) * * // Only select the `id` * const proclamationWithIdOnly = await prisma.proclamation.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Proclamation. * @param {ProclamationCreateArgs} args - Arguments to create a Proclamation. * @example * // Create one Proclamation * const Proclamation = await prisma.proclamation.create({ * data: { * // ... data to create a Proclamation * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Proclamations. * @param {ProclamationCreateManyArgs} args - Arguments to create many Proclamations. * @example * // Create many Proclamations * const proclamation = await prisma.proclamation.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many Proclamations and returns the data saved in the database. * @param {ProclamationCreateManyAndReturnArgs} args - Arguments to create many Proclamations. * @example * // Create many Proclamations * const proclamation = await prisma.proclamation.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Proclamations and only return the `id` * const proclamationWithIdOnly = await prisma.proclamation.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 Proclamation. * @param {ProclamationDeleteArgs} args - Arguments to delete one Proclamation. * @example * // Delete one Proclamation * const Proclamation = await prisma.proclamation.delete({ * where: { * // ... filter to delete one Proclamation * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Proclamation. * @param {ProclamationUpdateArgs} args - Arguments to update one Proclamation. * @example * // Update one Proclamation * const proclamation = await prisma.proclamation.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Proclamations. * @param {ProclamationDeleteManyArgs} args - Arguments to filter Proclamations to delete. * @example * // Delete a few Proclamations * const { count } = await prisma.proclamation.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Proclamations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProclamationUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Proclamations * const proclamation = await prisma.proclamation.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Proclamations and returns the data updated in the database. * @param {ProclamationUpdateManyAndReturnArgs} args - Arguments to update many Proclamations. * @example * // Update many Proclamations * const proclamation = await prisma.proclamation.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Proclamations and only return the `id` * const proclamationWithIdOnly = await prisma.proclamation.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 Proclamation. * @param {ProclamationUpsertArgs} args - Arguments to update or create a Proclamation. * @example * // Update or create a Proclamation * const proclamation = await prisma.proclamation.upsert({ * create: { * // ... data to create a Proclamation * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Proclamation we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ProclamationClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Proclamations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProclamationCountArgs} args - Arguments to filter Proclamations to count. * @example * // Count the number of Proclamations * const count = await prisma.proclamation.count({ * where: { * // ... the filter for the Proclamations 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 Proclamation. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProclamationAggregateArgs} 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 Proclamation. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProclamationGroupByArgs} 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 ProclamationGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: ProclamationGroupByArgs['orderBy'] } : { orderBy?: ProclamationGroupByArgs['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 ? GetProclamationGroupByPayload : Prisma.PrismaPromise /** * Fields of the Proclamation model */ readonly fields: ProclamationFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Proclamation. * 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__ProclamationClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" solfeggioFrequency = {}>(args?: Prisma.Subset>): Prisma.Prisma__SolfeggioFrequencyClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> category = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProclamationCategoryClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> group = {}>(args?: Prisma.Subset>): Prisma.Prisma__ProclamationGroupClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> userProclamations = {}>(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 Proclamation model */ export interface ProclamationFieldRefs { readonly id: Prisma.FieldRef<"Proclamation", 'String'> readonly name: Prisma.FieldRef<"Proclamation", 'String'> readonly content: Prisma.FieldRef<"Proclamation", 'String'> readonly solfeggioFrequencyId: Prisma.FieldRef<"Proclamation", 'Int'> readonly categoryId: Prisma.FieldRef<"Proclamation", 'Int'> readonly groupId: Prisma.FieldRef<"Proclamation", 'Int'> } // Custom InputTypes /** * Proclamation findUnique */ export type ProclamationFindUniqueArgs = { /** * Select specific fields to fetch from the Proclamation */ select?: Prisma.ProclamationSelect | null /** * Omit specific fields from the Proclamation */ omit?: Prisma.ProclamationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProclamationInclude | null /** * Filter, which Proclamation to fetch. */ where: Prisma.ProclamationWhereUniqueInput } /** * Proclamation findUniqueOrThrow */ export type ProclamationFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Proclamation */ select?: Prisma.ProclamationSelect | null /** * Omit specific fields from the Proclamation */ omit?: Prisma.ProclamationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProclamationInclude | null /** * Filter, which Proclamation to fetch. */ where: Prisma.ProclamationWhereUniqueInput } /** * Proclamation findFirst */ export type ProclamationFindFirstArgs = { /** * Select specific fields to fetch from the Proclamation */ select?: Prisma.ProclamationSelect | null /** * Omit specific fields from the Proclamation */ omit?: Prisma.ProclamationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProclamationInclude | null /** * Filter, which Proclamation to fetch. */ where?: Prisma.ProclamationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Proclamations to fetch. */ orderBy?: Prisma.ProclamationOrderByWithRelationInput | Prisma.ProclamationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Proclamations. */ cursor?: Prisma.ProclamationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Proclamations 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` Proclamations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Proclamations. */ distinct?: Prisma.ProclamationScalarFieldEnum | Prisma.ProclamationScalarFieldEnum[] } /** * Proclamation findFirstOrThrow */ export type ProclamationFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Proclamation */ select?: Prisma.ProclamationSelect | null /** * Omit specific fields from the Proclamation */ omit?: Prisma.ProclamationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProclamationInclude | null /** * Filter, which Proclamation to fetch. */ where?: Prisma.ProclamationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Proclamations to fetch. */ orderBy?: Prisma.ProclamationOrderByWithRelationInput | Prisma.ProclamationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Proclamations. */ cursor?: Prisma.ProclamationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Proclamations 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` Proclamations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Proclamations. */ distinct?: Prisma.ProclamationScalarFieldEnum | Prisma.ProclamationScalarFieldEnum[] } /** * Proclamation findMany */ export type ProclamationFindManyArgs = { /** * Select specific fields to fetch from the Proclamation */ select?: Prisma.ProclamationSelect | null /** * Omit specific fields from the Proclamation */ omit?: Prisma.ProclamationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProclamationInclude | null /** * Filter, which Proclamations to fetch. */ where?: Prisma.ProclamationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Proclamations to fetch. */ orderBy?: Prisma.ProclamationOrderByWithRelationInput | Prisma.ProclamationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Proclamations. */ cursor?: Prisma.ProclamationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Proclamations 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` Proclamations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Proclamations. */ distinct?: Prisma.ProclamationScalarFieldEnum | Prisma.ProclamationScalarFieldEnum[] } /** * Proclamation create */ export type ProclamationCreateArgs = { /** * Select specific fields to fetch from the Proclamation */ select?: Prisma.ProclamationSelect | null /** * Omit specific fields from the Proclamation */ omit?: Prisma.ProclamationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProclamationInclude | null /** * The data needed to create a Proclamation. */ data: Prisma.XOR } /** * Proclamation createMany */ export type ProclamationCreateManyArgs = { /** * The data used to create many Proclamations. */ data: Prisma.ProclamationCreateManyInput | Prisma.ProclamationCreateManyInput[] skipDuplicates?: boolean } /** * Proclamation createManyAndReturn */ export type ProclamationCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Proclamation */ select?: Prisma.ProclamationSelectCreateManyAndReturn | null /** * Omit specific fields from the Proclamation */ omit?: Prisma.ProclamationOmit | null /** * The data used to create many Proclamations. */ data: Prisma.ProclamationCreateManyInput | Prisma.ProclamationCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProclamationIncludeCreateManyAndReturn | null } /** * Proclamation update */ export type ProclamationUpdateArgs = { /** * Select specific fields to fetch from the Proclamation */ select?: Prisma.ProclamationSelect | null /** * Omit specific fields from the Proclamation */ omit?: Prisma.ProclamationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProclamationInclude | null /** * The data needed to update a Proclamation. */ data: Prisma.XOR /** * Choose, which Proclamation to update. */ where: Prisma.ProclamationWhereUniqueInput } /** * Proclamation updateMany */ export type ProclamationUpdateManyArgs = { /** * The data used to update Proclamations. */ data: Prisma.XOR /** * Filter which Proclamations to update */ where?: Prisma.ProclamationWhereInput /** * Limit how many Proclamations to update. */ limit?: number } /** * Proclamation updateManyAndReturn */ export type ProclamationUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Proclamation */ select?: Prisma.ProclamationSelectUpdateManyAndReturn | null /** * Omit specific fields from the Proclamation */ omit?: Prisma.ProclamationOmit | null /** * The data used to update Proclamations. */ data: Prisma.XOR /** * Filter which Proclamations to update */ where?: Prisma.ProclamationWhereInput /** * Limit how many Proclamations to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProclamationIncludeUpdateManyAndReturn | null } /** * Proclamation upsert */ export type ProclamationUpsertArgs = { /** * Select specific fields to fetch from the Proclamation */ select?: Prisma.ProclamationSelect | null /** * Omit specific fields from the Proclamation */ omit?: Prisma.ProclamationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProclamationInclude | null /** * The filter to search for the Proclamation to update in case it exists. */ where: Prisma.ProclamationWhereUniqueInput /** * In case the Proclamation found by the `where` argument doesn't exist, create a new Proclamation with this data. */ create: Prisma.XOR /** * In case the Proclamation was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * Proclamation delete */ export type ProclamationDeleteArgs = { /** * Select specific fields to fetch from the Proclamation */ select?: Prisma.ProclamationSelect | null /** * Omit specific fields from the Proclamation */ omit?: Prisma.ProclamationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProclamationInclude | null /** * Filter which Proclamation to delete. */ where: Prisma.ProclamationWhereUniqueInput } /** * Proclamation deleteMany */ export type ProclamationDeleteManyArgs = { /** * Filter which Proclamations to delete */ where?: Prisma.ProclamationWhereInput /** * Limit how many Proclamations to delete. */ limit?: number } /** * Proclamation.userProclamations */ export type Proclamation$userProclamationsArgs = { /** * Select specific fields to fetch from the UserProclamations */ select?: Prisma.UserProclamationsSelect | null /** * Omit specific fields from the UserProclamations */ omit?: Prisma.UserProclamationsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserProclamationsInclude | null where?: Prisma.UserProclamationsWhereInput orderBy?: Prisma.UserProclamationsOrderByWithRelationInput | Prisma.UserProclamationsOrderByWithRelationInput[] cursor?: Prisma.UserProclamationsWhereUniqueInput take?: number skip?: number distinct?: Prisma.UserProclamationsScalarFieldEnum | Prisma.UserProclamationsScalarFieldEnum[] } /** * Proclamation without action */ export type ProclamationDefaultArgs = { /** * Select specific fields to fetch from the Proclamation */ select?: Prisma.ProclamationSelect | null /** * Omit specific fields from the Proclamation */ omit?: Prisma.ProclamationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ProclamationInclude | null }