Remove the generic $lib/svelte-admin CRUD layer and AdminTable.svelte; each admin route now owns its own form/modal logic. Add DataTable.svelte, superform-errors.ts, and profile-specific modal/field components. Flatten proclamation categories/groups and drop subscription levels; add the v2 groups API; update v1/v2 endpoints, serializers, auth, and regenerated Prisma client with the new migrations. Document the overhaul plan in docs/ADMIN_OVERHAUL.md.
1838 lines
77 KiB
TypeScript
1838 lines
77 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `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<Prisma.$ProclamationPayload>
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends ProclamationAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateProclamation]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateProclamation[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateProclamation[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProclamationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
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<T extends ProclamationGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<ProclamationGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof ProclamationGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], ProclamationGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], ProclamationGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
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<Prisma.SolfeggioFrequencyScalarRelationFilter, Prisma.SolfeggioFrequencyWhereInput>
|
|
category?: Prisma.XOR<Prisma.ProclamationCategoryScalarRelationFilter, Prisma.ProclamationCategoryWhereInput>
|
|
group?: Prisma.XOR<Prisma.ProclamationGroupScalarRelationFilter, Prisma.ProclamationGroupWhereInput>
|
|
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<Prisma.SolfeggioFrequencyScalarRelationFilter, Prisma.SolfeggioFrequencyWhereInput>
|
|
category?: Prisma.XOR<Prisma.ProclamationCategoryScalarRelationFilter, Prisma.ProclamationCategoryWhereInput>
|
|
group?: Prisma.XOR<Prisma.ProclamationGroupScalarRelationFilter, Prisma.ProclamationGroupWhereInput>
|
|
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> | 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> | 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> | 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> | 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<Prisma.ProclamationCreateWithoutUserProclamationsInput, Prisma.ProclamationUncheckedCreateWithoutUserProclamationsInput>
|
|
connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutUserProclamationsInput
|
|
connect?: Prisma.ProclamationWhereUniqueInput
|
|
}
|
|
|
|
export type ProclamationUpdateOneRequiredWithoutUserProclamationsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.ProclamationCreateWithoutUserProclamationsInput, Prisma.ProclamationUncheckedCreateWithoutUserProclamationsInput>
|
|
connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutUserProclamationsInput
|
|
upsert?: Prisma.ProclamationUpsertWithoutUserProclamationsInput
|
|
connect?: Prisma.ProclamationWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.ProclamationUpdateToOneWithWhereWithoutUserProclamationsInput, Prisma.ProclamationUpdateWithoutUserProclamationsInput>, Prisma.ProclamationUncheckedUpdateWithoutUserProclamationsInput>
|
|
}
|
|
|
|
export type ProclamationCreateNestedManyWithoutSolfeggioFrequencyInput = {
|
|
create?: Prisma.XOR<Prisma.ProclamationCreateWithoutSolfeggioFrequencyInput, Prisma.ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput> | 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> | 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> | 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> | 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> | 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> | 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> | 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> | 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<Prisma.ProclamationCreateWithoutGroupInput, Prisma.ProclamationUncheckedCreateWithoutGroupInput>
|
|
}
|
|
|
|
export type ProclamationCreateManyGroupInputEnvelope = {
|
|
data: Prisma.ProclamationCreateManyGroupInput | Prisma.ProclamationCreateManyGroupInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type ProclamationUpsertWithWhereUniqueWithoutGroupInput = {
|
|
where: Prisma.ProclamationWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.ProclamationUpdateWithoutGroupInput, Prisma.ProclamationUncheckedUpdateWithoutGroupInput>
|
|
create: Prisma.XOR<Prisma.ProclamationCreateWithoutGroupInput, Prisma.ProclamationUncheckedCreateWithoutGroupInput>
|
|
}
|
|
|
|
export type ProclamationUpdateWithWhereUniqueWithoutGroupInput = {
|
|
where: Prisma.ProclamationWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.ProclamationUpdateWithoutGroupInput, Prisma.ProclamationUncheckedUpdateWithoutGroupInput>
|
|
}
|
|
|
|
export type ProclamationUpdateManyWithWhereWithoutGroupInput = {
|
|
where: Prisma.ProclamationScalarWhereInput
|
|
data: Prisma.XOR<Prisma.ProclamationUpdateManyMutationInput, Prisma.ProclamationUncheckedUpdateManyWithoutGroupInput>
|
|
}
|
|
|
|
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<Prisma.ProclamationCreateWithoutUserProclamationsInput, Prisma.ProclamationUncheckedCreateWithoutUserProclamationsInput>
|
|
}
|
|
|
|
export type ProclamationUpsertWithoutUserProclamationsInput = {
|
|
update: Prisma.XOR<Prisma.ProclamationUpdateWithoutUserProclamationsInput, Prisma.ProclamationUncheckedUpdateWithoutUserProclamationsInput>
|
|
create: Prisma.XOR<Prisma.ProclamationCreateWithoutUserProclamationsInput, Prisma.ProclamationUncheckedCreateWithoutUserProclamationsInput>
|
|
where?: Prisma.ProclamationWhereInput
|
|
}
|
|
|
|
export type ProclamationUpdateToOneWithWhereWithoutUserProclamationsInput = {
|
|
where?: Prisma.ProclamationWhereInput
|
|
data: Prisma.XOR<Prisma.ProclamationUpdateWithoutUserProclamationsInput, Prisma.ProclamationUncheckedUpdateWithoutUserProclamationsInput>
|
|
}
|
|
|
|
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<Prisma.ProclamationCreateWithoutSolfeggioFrequencyInput, Prisma.ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput>
|
|
}
|
|
|
|
export type ProclamationCreateManySolfeggioFrequencyInputEnvelope = {
|
|
data: Prisma.ProclamationCreateManySolfeggioFrequencyInput | Prisma.ProclamationCreateManySolfeggioFrequencyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type ProclamationUpsertWithWhereUniqueWithoutSolfeggioFrequencyInput = {
|
|
where: Prisma.ProclamationWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.ProclamationUpdateWithoutSolfeggioFrequencyInput, Prisma.ProclamationUncheckedUpdateWithoutSolfeggioFrequencyInput>
|
|
create: Prisma.XOR<Prisma.ProclamationCreateWithoutSolfeggioFrequencyInput, Prisma.ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput>
|
|
}
|
|
|
|
export type ProclamationUpdateWithWhereUniqueWithoutSolfeggioFrequencyInput = {
|
|
where: Prisma.ProclamationWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.ProclamationUpdateWithoutSolfeggioFrequencyInput, Prisma.ProclamationUncheckedUpdateWithoutSolfeggioFrequencyInput>
|
|
}
|
|
|
|
export type ProclamationUpdateManyWithWhereWithoutSolfeggioFrequencyInput = {
|
|
where: Prisma.ProclamationScalarWhereInput
|
|
data: Prisma.XOR<Prisma.ProclamationUpdateManyMutationInput, Prisma.ProclamationUncheckedUpdateManyWithoutSolfeggioFrequencyInput>
|
|
}
|
|
|
|
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<Prisma.ProclamationCreateWithoutCategoryInput, Prisma.ProclamationUncheckedCreateWithoutCategoryInput>
|
|
}
|
|
|
|
export type ProclamationCreateManyCategoryInputEnvelope = {
|
|
data: Prisma.ProclamationCreateManyCategoryInput | Prisma.ProclamationCreateManyCategoryInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type ProclamationUpsertWithWhereUniqueWithoutCategoryInput = {
|
|
where: Prisma.ProclamationWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.ProclamationUpdateWithoutCategoryInput, Prisma.ProclamationUncheckedUpdateWithoutCategoryInput>
|
|
create: Prisma.XOR<Prisma.ProclamationCreateWithoutCategoryInput, Prisma.ProclamationUncheckedCreateWithoutCategoryInput>
|
|
}
|
|
|
|
export type ProclamationUpdateWithWhereUniqueWithoutCategoryInput = {
|
|
where: Prisma.ProclamationWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.ProclamationUpdateWithoutCategoryInput, Prisma.ProclamationUncheckedUpdateWithoutCategoryInput>
|
|
}
|
|
|
|
export type ProclamationUpdateManyWithWhereWithoutCategoryInput = {
|
|
where: Prisma.ProclamationScalarWhereInput
|
|
data: Prisma.XOR<Prisma.ProclamationUpdateManyMutationInput, Prisma.ProclamationUncheckedUpdateManyWithoutCategoryInput>
|
|
}
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
userProclamations?: boolean | ProclamationCountOutputTypeCountUserProclamationsArgs
|
|
}
|
|
|
|
/**
|
|
* ProclamationCountOutputType without action
|
|
*/
|
|
export type ProclamationCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProclamationCountOutputType
|
|
*/
|
|
select?: Prisma.ProclamationCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* ProclamationCountOutputType without action
|
|
*/
|
|
export type ProclamationCountOutputTypeCountUserProclamationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.UserProclamationsWhereInput
|
|
}
|
|
|
|
|
|
export type ProclamationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
name?: boolean
|
|
content?: boolean
|
|
solfeggioFrequencyId?: boolean
|
|
categoryId?: boolean
|
|
groupId?: boolean
|
|
solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs<ExtArgs>
|
|
category?: boolean | Prisma.ProclamationCategoryDefaultArgs<ExtArgs>
|
|
group?: boolean | Prisma.ProclamationGroupDefaultArgs<ExtArgs>
|
|
userProclamations?: boolean | Prisma.Proclamation$userProclamationsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.ProclamationCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["proclamation"]>
|
|
|
|
export type ProclamationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
name?: boolean
|
|
content?: boolean
|
|
solfeggioFrequencyId?: boolean
|
|
categoryId?: boolean
|
|
groupId?: boolean
|
|
solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs<ExtArgs>
|
|
category?: boolean | Prisma.ProclamationCategoryDefaultArgs<ExtArgs>
|
|
group?: boolean | Prisma.ProclamationGroupDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["proclamation"]>
|
|
|
|
export type ProclamationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
name?: boolean
|
|
content?: boolean
|
|
solfeggioFrequencyId?: boolean
|
|
categoryId?: boolean
|
|
groupId?: boolean
|
|
solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs<ExtArgs>
|
|
category?: boolean | Prisma.ProclamationCategoryDefaultArgs<ExtArgs>
|
|
group?: boolean | Prisma.ProclamationGroupDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["proclamation"]>
|
|
|
|
export type ProclamationSelectScalar = {
|
|
id?: boolean
|
|
name?: boolean
|
|
content?: boolean
|
|
solfeggioFrequencyId?: boolean
|
|
categoryId?: boolean
|
|
groupId?: boolean
|
|
}
|
|
|
|
export type ProclamationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "content" | "solfeggioFrequencyId" | "categoryId" | "groupId", ExtArgs["result"]["proclamation"]>
|
|
export type ProclamationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs<ExtArgs>
|
|
category?: boolean | Prisma.ProclamationCategoryDefaultArgs<ExtArgs>
|
|
group?: boolean | Prisma.ProclamationGroupDefaultArgs<ExtArgs>
|
|
userProclamations?: boolean | Prisma.Proclamation$userProclamationsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.ProclamationCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type ProclamationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs<ExtArgs>
|
|
category?: boolean | Prisma.ProclamationCategoryDefaultArgs<ExtArgs>
|
|
group?: boolean | Prisma.ProclamationGroupDefaultArgs<ExtArgs>
|
|
}
|
|
export type ProclamationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs<ExtArgs>
|
|
category?: boolean | Prisma.ProclamationCategoryDefaultArgs<ExtArgs>
|
|
group?: boolean | Prisma.ProclamationGroupDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $ProclamationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "Proclamation"
|
|
objects: {
|
|
solfeggioFrequency: Prisma.$SolfeggioFrequencyPayload<ExtArgs>
|
|
category: Prisma.$ProclamationCategoryPayload<ExtArgs>
|
|
group: Prisma.$ProclamationGroupPayload<ExtArgs>
|
|
userProclamations: Prisma.$UserProclamationsPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
name: string
|
|
content: string
|
|
solfeggioFrequencyId: number
|
|
categoryId: number
|
|
groupId: number
|
|
}, ExtArgs["result"]["proclamation"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type ProclamationGetPayload<S extends boolean | null | undefined | ProclamationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProclamationPayload, S>
|
|
|
|
export type ProclamationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<ProclamationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: ProclamationCountAggregateInputType | true
|
|
}
|
|
|
|
export interface ProclamationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends ProclamationFindUniqueArgs>(args: Prisma.SelectSubset<T, ProclamationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProclamationClient<runtime.Types.Result.GetResult<Prisma.$ProclamationPayload<ExtArgs>, 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<T extends ProclamationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProclamationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProclamationClient<runtime.Types.Result.GetResult<Prisma.$ProclamationPayload<ExtArgs>, 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<T extends ProclamationFindFirstArgs>(args?: Prisma.SelectSubset<T, ProclamationFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProclamationClient<runtime.Types.Result.GetResult<Prisma.$ProclamationPayload<ExtArgs>, 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<T extends ProclamationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProclamationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProclamationClient<runtime.Types.Result.GetResult<Prisma.$ProclamationPayload<ExtArgs>, 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<T extends ProclamationFindManyArgs>(args?: Prisma.SelectSubset<T, ProclamationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProclamationPayload<ExtArgs>, 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<T extends ProclamationCreateArgs>(args: Prisma.SelectSubset<T, ProclamationCreateArgs<ExtArgs>>): Prisma.Prisma__ProclamationClient<runtime.Types.Result.GetResult<Prisma.$ProclamationPayload<ExtArgs>, 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<T extends ProclamationCreateManyArgs>(args?: Prisma.SelectSubset<T, ProclamationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends ProclamationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProclamationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProclamationPayload<ExtArgs>, 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<T extends ProclamationDeleteArgs>(args: Prisma.SelectSubset<T, ProclamationDeleteArgs<ExtArgs>>): Prisma.Prisma__ProclamationClient<runtime.Types.Result.GetResult<Prisma.$ProclamationPayload<ExtArgs>, 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<T extends ProclamationUpdateArgs>(args: Prisma.SelectSubset<T, ProclamationUpdateArgs<ExtArgs>>): Prisma.Prisma__ProclamationClient<runtime.Types.Result.GetResult<Prisma.$ProclamationPayload<ExtArgs>, 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<T extends ProclamationDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProclamationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends ProclamationUpdateManyArgs>(args: Prisma.SelectSubset<T, ProclamationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends ProclamationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProclamationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProclamationPayload<ExtArgs>, 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<T extends ProclamationUpsertArgs>(args: Prisma.SelectSubset<T, ProclamationUpsertArgs<ExtArgs>>): Prisma.Prisma__ProclamationClient<runtime.Types.Result.GetResult<Prisma.$ProclamationPayload<ExtArgs>, 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<T extends ProclamationCountArgs>(
|
|
args?: Prisma.Subset<T, ProclamationCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], ProclamationCountAggregateOutputType>
|
|
: 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<T extends ProclamationAggregateArgs>(args: Prisma.Subset<T, ProclamationAggregateArgs>): Prisma.PrismaPromise<GetProclamationAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: ProclamationGroupByArgs['orderBy'] }
|
|
: { orderBy?: ProclamationGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
InputErrors extends ByEmpty extends Prisma.True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends Prisma.False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: Prisma.SubsetIntersection<T, ProclamationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProclamationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
solfeggioFrequency<T extends Prisma.SolfeggioFrequencyDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.SolfeggioFrequencyDefaultArgs<ExtArgs>>): Prisma.Prisma__SolfeggioFrequencyClient<runtime.Types.Result.GetResult<Prisma.$SolfeggioFrequencyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
category<T extends Prisma.ProclamationCategoryDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProclamationCategoryDefaultArgs<ExtArgs>>): Prisma.Prisma__ProclamationCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProclamationCategoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
group<T extends Prisma.ProclamationGroupDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProclamationGroupDefaultArgs<ExtArgs>>): Prisma.Prisma__ProclamationGroupClient<runtime.Types.Result.GetResult<Prisma.$ProclamationGroupPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
userProclamations<T extends Prisma.Proclamation$userProclamationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Proclamation$userProclamationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserProclamationsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Proclamation
|
|
*/
|
|
select?: Prisma.ProclamationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Proclamation
|
|
*/
|
|
omit?: Prisma.ProclamationOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProclamationInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Proclamation to fetch.
|
|
*/
|
|
where: Prisma.ProclamationWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Proclamation findUniqueOrThrow
|
|
*/
|
|
export type ProclamationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Proclamation
|
|
*/
|
|
select?: Prisma.ProclamationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Proclamation
|
|
*/
|
|
omit?: Prisma.ProclamationOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProclamationInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which Proclamation to fetch.
|
|
*/
|
|
where: Prisma.ProclamationWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Proclamation findFirst
|
|
*/
|
|
export type ProclamationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Proclamation
|
|
*/
|
|
select?: Prisma.ProclamationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Proclamation
|
|
*/
|
|
omit?: Prisma.ProclamationOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProclamationInclude<ExtArgs> | null
|
|
/**
|
|
* 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Proclamation
|
|
*/
|
|
select?: Prisma.ProclamationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Proclamation
|
|
*/
|
|
omit?: Prisma.ProclamationOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProclamationInclude<ExtArgs> | null
|
|
/**
|
|
* 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Proclamation
|
|
*/
|
|
select?: Prisma.ProclamationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Proclamation
|
|
*/
|
|
omit?: Prisma.ProclamationOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProclamationInclude<ExtArgs> | null
|
|
/**
|
|
* 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Proclamation
|
|
*/
|
|
select?: Prisma.ProclamationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Proclamation
|
|
*/
|
|
omit?: Prisma.ProclamationOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProclamationInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a Proclamation.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ProclamationCreateInput, Prisma.ProclamationUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* Proclamation createMany
|
|
*/
|
|
export type ProclamationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many Proclamations.
|
|
*/
|
|
data: Prisma.ProclamationCreateManyInput | Prisma.ProclamationCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* Proclamation createManyAndReturn
|
|
*/
|
|
export type ProclamationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Proclamation
|
|
*/
|
|
select?: Prisma.ProclamationSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Proclamation
|
|
*/
|
|
omit?: Prisma.ProclamationOmit<ExtArgs> | 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<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* Proclamation update
|
|
*/
|
|
export type ProclamationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Proclamation
|
|
*/
|
|
select?: Prisma.ProclamationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Proclamation
|
|
*/
|
|
omit?: Prisma.ProclamationOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProclamationInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a Proclamation.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ProclamationUpdateInput, Prisma.ProclamationUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which Proclamation to update.
|
|
*/
|
|
where: Prisma.ProclamationWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Proclamation updateMany
|
|
*/
|
|
export type ProclamationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update Proclamations.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ProclamationUpdateManyMutationInput, Prisma.ProclamationUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which Proclamations to update
|
|
*/
|
|
where?: Prisma.ProclamationWhereInput
|
|
/**
|
|
* Limit how many Proclamations to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* Proclamation updateManyAndReturn
|
|
*/
|
|
export type ProclamationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Proclamation
|
|
*/
|
|
select?: Prisma.ProclamationSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Proclamation
|
|
*/
|
|
omit?: Prisma.ProclamationOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update Proclamations.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ProclamationUpdateManyMutationInput, Prisma.ProclamationUncheckedUpdateManyInput>
|
|
/**
|
|
* 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<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* Proclamation upsert
|
|
*/
|
|
export type ProclamationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Proclamation
|
|
*/
|
|
select?: Prisma.ProclamationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Proclamation
|
|
*/
|
|
omit?: Prisma.ProclamationOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProclamationInclude<ExtArgs> | null
|
|
/**
|
|
* 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<Prisma.ProclamationCreateInput, Prisma.ProclamationUncheckedCreateInput>
|
|
/**
|
|
* In case the Proclamation was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.ProclamationUpdateInput, Prisma.ProclamationUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* Proclamation delete
|
|
*/
|
|
export type ProclamationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Proclamation
|
|
*/
|
|
select?: Prisma.ProclamationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Proclamation
|
|
*/
|
|
omit?: Prisma.ProclamationOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProclamationInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which Proclamation to delete.
|
|
*/
|
|
where: Prisma.ProclamationWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* Proclamation deleteMany
|
|
*/
|
|
export type ProclamationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which Proclamations to delete
|
|
*/
|
|
where?: Prisma.ProclamationWhereInput
|
|
/**
|
|
* Limit how many Proclamations to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* Proclamation.userProclamations
|
|
*/
|
|
export type Proclamation$userProclamationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the UserProclamations
|
|
*/
|
|
select?: Prisma.UserProclamationsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the UserProclamations
|
|
*/
|
|
omit?: Prisma.UserProclamationsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.UserProclamationsInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Proclamation
|
|
*/
|
|
select?: Prisma.ProclamationSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Proclamation
|
|
*/
|
|
omit?: Prisma.ProclamationOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.ProclamationInclude<ExtArgs> | null
|
|
}
|