admin: Superforms + Zod validation, three-address-defaults schema, profiles toast fix
- Add Superforms + Zod 4 for all admin form validation - Replace address isDefault with three separate boolean defaults (Mailing, Billing, Shipping) - Update profiles page with three-checkbox address form and toast improvements - Convert all admin page server actions to pass request directly to crud - Export superFormErrorsToFieldErrors helper for profiles server actions - Regenerate Prisma client for new schema fields
This commit is contained in:
@@ -29,14 +29,12 @@ export type AggregateProclamation = {
|
||||
export type ProclamationAvgAggregateOutputType = {
|
||||
solfeggioFrequencyId: number | null
|
||||
categoryId: number | null
|
||||
price: number | null
|
||||
subscriptionLevelId: number | null
|
||||
}
|
||||
|
||||
export type ProclamationSumAggregateOutputType = {
|
||||
solfeggioFrequencyId: number | null
|
||||
categoryId: number | null
|
||||
price: number | null
|
||||
subscriptionLevelId: number | null
|
||||
}
|
||||
|
||||
@@ -46,7 +44,6 @@ export type ProclamationMinAggregateOutputType = {
|
||||
content: string | null
|
||||
solfeggioFrequencyId: number | null
|
||||
categoryId: number | null
|
||||
price: number | null
|
||||
subscriptionLevelId: number | null
|
||||
}
|
||||
|
||||
@@ -56,7 +53,6 @@ export type ProclamationMaxAggregateOutputType = {
|
||||
content: string | null
|
||||
solfeggioFrequencyId: number | null
|
||||
categoryId: number | null
|
||||
price: number | null
|
||||
subscriptionLevelId: number | null
|
||||
}
|
||||
|
||||
@@ -66,7 +62,6 @@ export type ProclamationCountAggregateOutputType = {
|
||||
content: number
|
||||
solfeggioFrequencyId: number
|
||||
categoryId: number
|
||||
price: number
|
||||
subscriptionLevelId: number
|
||||
_all: number
|
||||
}
|
||||
@@ -75,14 +70,12 @@ export type ProclamationCountAggregateOutputType = {
|
||||
export type ProclamationAvgAggregateInputType = {
|
||||
solfeggioFrequencyId?: true
|
||||
categoryId?: true
|
||||
price?: true
|
||||
subscriptionLevelId?: true
|
||||
}
|
||||
|
||||
export type ProclamationSumAggregateInputType = {
|
||||
solfeggioFrequencyId?: true
|
||||
categoryId?: true
|
||||
price?: true
|
||||
subscriptionLevelId?: true
|
||||
}
|
||||
|
||||
@@ -92,7 +85,6 @@ export type ProclamationMinAggregateInputType = {
|
||||
content?: true
|
||||
solfeggioFrequencyId?: true
|
||||
categoryId?: true
|
||||
price?: true
|
||||
subscriptionLevelId?: true
|
||||
}
|
||||
|
||||
@@ -102,7 +94,6 @@ export type ProclamationMaxAggregateInputType = {
|
||||
content?: true
|
||||
solfeggioFrequencyId?: true
|
||||
categoryId?: true
|
||||
price?: true
|
||||
subscriptionLevelId?: true
|
||||
}
|
||||
|
||||
@@ -112,7 +103,6 @@ export type ProclamationCountAggregateInputType = {
|
||||
content?: true
|
||||
solfeggioFrequencyId?: true
|
||||
categoryId?: true
|
||||
price?: true
|
||||
subscriptionLevelId?: true
|
||||
_all?: true
|
||||
}
|
||||
@@ -209,7 +199,6 @@ export type ProclamationGroupByOutputType = {
|
||||
content: string
|
||||
solfeggioFrequencyId: number
|
||||
categoryId: number
|
||||
price: number
|
||||
subscriptionLevelId: number
|
||||
_count: ProclamationCountAggregateOutputType | null
|
||||
_avg: ProclamationAvgAggregateOutputType | null
|
||||
@@ -218,7 +207,7 @@ export type ProclamationGroupByOutputType = {
|
||||
_max: ProclamationMaxAggregateOutputType | null
|
||||
}
|
||||
|
||||
type GetProclamationGroupByPayload<T extends ProclamationGroupByArgs> = Prisma.PrismaPromise<
|
||||
export type GetProclamationGroupByPayload<T extends ProclamationGroupByArgs> = Prisma.PrismaPromise<
|
||||
Array<
|
||||
Prisma.PickEnumerable<ProclamationGroupByOutputType, T['by']> &
|
||||
{
|
||||
@@ -242,7 +231,6 @@ export type ProclamationWhereInput = {
|
||||
content?: Prisma.StringFilter<"Proclamation"> | string
|
||||
solfeggioFrequencyId?: Prisma.IntFilter<"Proclamation"> | number
|
||||
categoryId?: Prisma.IntFilter<"Proclamation"> | number
|
||||
price?: Prisma.FloatFilter<"Proclamation"> | number
|
||||
subscriptionLevelId?: Prisma.IntFilter<"Proclamation"> | number
|
||||
solfeggioFrequency?: Prisma.XOR<Prisma.SolfeggioFrequencyScalarRelationFilter, Prisma.SolfeggioFrequencyWhereInput>
|
||||
category?: Prisma.XOR<Prisma.ProclamationCategoryScalarRelationFilter, Prisma.ProclamationCategoryWhereInput>
|
||||
@@ -256,7 +244,6 @@ export type ProclamationOrderByWithRelationInput = {
|
||||
content?: Prisma.SortOrder
|
||||
solfeggioFrequencyId?: Prisma.SortOrder
|
||||
categoryId?: Prisma.SortOrder
|
||||
price?: Prisma.SortOrder
|
||||
subscriptionLevelId?: Prisma.SortOrder
|
||||
solfeggioFrequency?: Prisma.SolfeggioFrequencyOrderByWithRelationInput
|
||||
category?: Prisma.ProclamationCategoryOrderByWithRelationInput
|
||||
@@ -273,7 +260,6 @@ export type ProclamationWhereUniqueInput = Prisma.AtLeast<{
|
||||
content?: Prisma.StringFilter<"Proclamation"> | string
|
||||
solfeggioFrequencyId?: Prisma.IntFilter<"Proclamation"> | number
|
||||
categoryId?: Prisma.IntFilter<"Proclamation"> | number
|
||||
price?: Prisma.FloatFilter<"Proclamation"> | number
|
||||
subscriptionLevelId?: Prisma.IntFilter<"Proclamation"> | number
|
||||
solfeggioFrequency?: Prisma.XOR<Prisma.SolfeggioFrequencyScalarRelationFilter, Prisma.SolfeggioFrequencyWhereInput>
|
||||
category?: Prisma.XOR<Prisma.ProclamationCategoryScalarRelationFilter, Prisma.ProclamationCategoryWhereInput>
|
||||
@@ -287,7 +273,6 @@ export type ProclamationOrderByWithAggregationInput = {
|
||||
content?: Prisma.SortOrder
|
||||
solfeggioFrequencyId?: Prisma.SortOrder
|
||||
categoryId?: Prisma.SortOrder
|
||||
price?: Prisma.SortOrder
|
||||
subscriptionLevelId?: Prisma.SortOrder
|
||||
_count?: Prisma.ProclamationCountOrderByAggregateInput
|
||||
_avg?: Prisma.ProclamationAvgOrderByAggregateInput
|
||||
@@ -305,7 +290,6 @@ export type ProclamationScalarWhereWithAggregatesInput = {
|
||||
content?: Prisma.StringWithAggregatesFilter<"Proclamation"> | string
|
||||
solfeggioFrequencyId?: Prisma.IntWithAggregatesFilter<"Proclamation"> | number
|
||||
categoryId?: Prisma.IntWithAggregatesFilter<"Proclamation"> | number
|
||||
price?: Prisma.FloatWithAggregatesFilter<"Proclamation"> | number
|
||||
subscriptionLevelId?: Prisma.IntWithAggregatesFilter<"Proclamation"> | number
|
||||
}
|
||||
|
||||
@@ -313,7 +297,6 @@ export type ProclamationCreateInput = {
|
||||
id?: string
|
||||
name: string
|
||||
content: string
|
||||
price?: number
|
||||
solfeggioFrequency: Prisma.SolfeggioFrequencyCreateNestedOneWithoutProclamationsInput
|
||||
category: Prisma.ProclamationCategoryCreateNestedOneWithoutProclamationsInput
|
||||
userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutProclamationInput
|
||||
@@ -326,7 +309,6 @@ export type ProclamationUncheckedCreateInput = {
|
||||
content: string
|
||||
solfeggioFrequencyId: number
|
||||
categoryId: number
|
||||
price?: number
|
||||
subscriptionLevelId?: number
|
||||
userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutProclamationInput
|
||||
}
|
||||
@@ -335,7 +317,6 @@ export type ProclamationUpdateInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
content?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
price?: Prisma.FloatFieldUpdateOperationsInput | number
|
||||
solfeggioFrequency?: Prisma.SolfeggioFrequencyUpdateOneRequiredWithoutProclamationsNestedInput
|
||||
category?: Prisma.ProclamationCategoryUpdateOneRequiredWithoutProclamationsNestedInput
|
||||
userProclamations?: Prisma.UserProclamationsUpdateManyWithoutProclamationNestedInput
|
||||
@@ -348,7 +329,6 @@ export type ProclamationUncheckedUpdateInput = {
|
||||
content?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
categoryId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
price?: Prisma.FloatFieldUpdateOperationsInput | number
|
||||
subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutProclamationNestedInput
|
||||
}
|
||||
@@ -359,7 +339,6 @@ export type ProclamationCreateManyInput = {
|
||||
content: string
|
||||
solfeggioFrequencyId: number
|
||||
categoryId: number
|
||||
price?: number
|
||||
subscriptionLevelId?: number
|
||||
}
|
||||
|
||||
@@ -367,7 +346,6 @@ export type ProclamationUpdateManyMutationInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
content?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
price?: Prisma.FloatFieldUpdateOperationsInput | number
|
||||
}
|
||||
|
||||
export type ProclamationUncheckedUpdateManyInput = {
|
||||
@@ -376,7 +354,6 @@ export type ProclamationUncheckedUpdateManyInput = {
|
||||
content?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
categoryId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
price?: Prisma.FloatFieldUpdateOperationsInput | number
|
||||
subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
}
|
||||
|
||||
@@ -386,14 +363,12 @@ export type ProclamationCountOrderByAggregateInput = {
|
||||
content?: Prisma.SortOrder
|
||||
solfeggioFrequencyId?: Prisma.SortOrder
|
||||
categoryId?: Prisma.SortOrder
|
||||
price?: Prisma.SortOrder
|
||||
subscriptionLevelId?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type ProclamationAvgOrderByAggregateInput = {
|
||||
solfeggioFrequencyId?: Prisma.SortOrder
|
||||
categoryId?: Prisma.SortOrder
|
||||
price?: Prisma.SortOrder
|
||||
subscriptionLevelId?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
@@ -403,7 +378,6 @@ export type ProclamationMaxOrderByAggregateInput = {
|
||||
content?: Prisma.SortOrder
|
||||
solfeggioFrequencyId?: Prisma.SortOrder
|
||||
categoryId?: Prisma.SortOrder
|
||||
price?: Prisma.SortOrder
|
||||
subscriptionLevelId?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
@@ -413,14 +387,12 @@ export type ProclamationMinOrderByAggregateInput = {
|
||||
content?: Prisma.SortOrder
|
||||
solfeggioFrequencyId?: Prisma.SortOrder
|
||||
categoryId?: Prisma.SortOrder
|
||||
price?: Prisma.SortOrder
|
||||
subscriptionLevelId?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type ProclamationSumOrderByAggregateInput = {
|
||||
solfeggioFrequencyId?: Prisma.SortOrder
|
||||
categoryId?: Prisma.SortOrder
|
||||
price?: Prisma.SortOrder
|
||||
subscriptionLevelId?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
@@ -439,14 +411,6 @@ export type ProclamationOrderByRelationAggregateInput = {
|
||||
_count?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type FloatFieldUpdateOperationsInput = {
|
||||
set?: number
|
||||
increment?: number
|
||||
decrement?: number
|
||||
multiply?: number
|
||||
divide?: number
|
||||
}
|
||||
|
||||
export type ProclamationCreateNestedOneWithoutUserProclamationsInput = {
|
||||
create?: Prisma.XOR<Prisma.ProclamationCreateWithoutUserProclamationsInput, Prisma.ProclamationUncheckedCreateWithoutUserProclamationsInput>
|
||||
connectOrCreate?: Prisma.ProclamationCreateOrConnectWithoutUserProclamationsInput
|
||||
@@ -591,7 +555,6 @@ export type ProclamationCreateWithoutUserProclamationsInput = {
|
||||
id?: string
|
||||
name: string
|
||||
content: string
|
||||
price?: number
|
||||
solfeggioFrequency: Prisma.SolfeggioFrequencyCreateNestedOneWithoutProclamationsInput
|
||||
category: Prisma.ProclamationCategoryCreateNestedOneWithoutProclamationsInput
|
||||
subscriptionLevel?: Prisma.SubscriptionLevelCreateNestedOneWithoutProclamationsInput
|
||||
@@ -603,7 +566,6 @@ export type ProclamationUncheckedCreateWithoutUserProclamationsInput = {
|
||||
content: string
|
||||
solfeggioFrequencyId: number
|
||||
categoryId: number
|
||||
price?: number
|
||||
subscriptionLevelId?: number
|
||||
}
|
||||
|
||||
@@ -627,7 +589,6 @@ export type ProclamationUpdateWithoutUserProclamationsInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
content?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
price?: Prisma.FloatFieldUpdateOperationsInput | number
|
||||
solfeggioFrequency?: Prisma.SolfeggioFrequencyUpdateOneRequiredWithoutProclamationsNestedInput
|
||||
category?: Prisma.ProclamationCategoryUpdateOneRequiredWithoutProclamationsNestedInput
|
||||
subscriptionLevel?: Prisma.SubscriptionLevelUpdateOneRequiredWithoutProclamationsNestedInput
|
||||
@@ -639,7 +600,6 @@ export type ProclamationUncheckedUpdateWithoutUserProclamationsInput = {
|
||||
content?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
categoryId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
price?: Prisma.FloatFieldUpdateOperationsInput | number
|
||||
subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
}
|
||||
|
||||
@@ -647,7 +607,6 @@ export type ProclamationCreateWithoutSolfeggioFrequencyInput = {
|
||||
id?: string
|
||||
name: string
|
||||
content: string
|
||||
price?: number
|
||||
category: Prisma.ProclamationCategoryCreateNestedOneWithoutProclamationsInput
|
||||
userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutProclamationInput
|
||||
subscriptionLevel?: Prisma.SubscriptionLevelCreateNestedOneWithoutProclamationsInput
|
||||
@@ -658,7 +617,6 @@ export type ProclamationUncheckedCreateWithoutSolfeggioFrequencyInput = {
|
||||
name: string
|
||||
content: string
|
||||
categoryId: number
|
||||
price?: number
|
||||
subscriptionLevelId?: number
|
||||
userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutProclamationInput
|
||||
}
|
||||
@@ -698,7 +656,6 @@ export type ProclamationScalarWhereInput = {
|
||||
content?: Prisma.StringFilter<"Proclamation"> | string
|
||||
solfeggioFrequencyId?: Prisma.IntFilter<"Proclamation"> | number
|
||||
categoryId?: Prisma.IntFilter<"Proclamation"> | number
|
||||
price?: Prisma.FloatFilter<"Proclamation"> | number
|
||||
subscriptionLevelId?: Prisma.IntFilter<"Proclamation"> | number
|
||||
}
|
||||
|
||||
@@ -706,7 +663,6 @@ export type ProclamationCreateWithoutCategoryInput = {
|
||||
id?: string
|
||||
name: string
|
||||
content: string
|
||||
price?: number
|
||||
solfeggioFrequency: Prisma.SolfeggioFrequencyCreateNestedOneWithoutProclamationsInput
|
||||
userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutProclamationInput
|
||||
subscriptionLevel?: Prisma.SubscriptionLevelCreateNestedOneWithoutProclamationsInput
|
||||
@@ -717,7 +673,6 @@ export type ProclamationUncheckedCreateWithoutCategoryInput = {
|
||||
name: string
|
||||
content: string
|
||||
solfeggioFrequencyId: number
|
||||
price?: number
|
||||
subscriptionLevelId?: number
|
||||
userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutProclamationInput
|
||||
}
|
||||
@@ -752,7 +707,6 @@ export type ProclamationCreateWithoutSubscriptionLevelInput = {
|
||||
id?: string
|
||||
name: string
|
||||
content: string
|
||||
price?: number
|
||||
solfeggioFrequency: Prisma.SolfeggioFrequencyCreateNestedOneWithoutProclamationsInput
|
||||
category: Prisma.ProclamationCategoryCreateNestedOneWithoutProclamationsInput
|
||||
userProclamations?: Prisma.UserProclamationsCreateNestedManyWithoutProclamationInput
|
||||
@@ -764,7 +718,6 @@ export type ProclamationUncheckedCreateWithoutSubscriptionLevelInput = {
|
||||
content: string
|
||||
solfeggioFrequencyId: number
|
||||
categoryId: number
|
||||
price?: number
|
||||
userProclamations?: Prisma.UserProclamationsUncheckedCreateNestedManyWithoutProclamationInput
|
||||
}
|
||||
|
||||
@@ -799,7 +752,6 @@ export type ProclamationCreateManySolfeggioFrequencyInput = {
|
||||
name: string
|
||||
content: string
|
||||
categoryId: number
|
||||
price?: number
|
||||
subscriptionLevelId?: number
|
||||
}
|
||||
|
||||
@@ -807,7 +759,6 @@ export type ProclamationUpdateWithoutSolfeggioFrequencyInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
content?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
price?: Prisma.FloatFieldUpdateOperationsInput | number
|
||||
category?: Prisma.ProclamationCategoryUpdateOneRequiredWithoutProclamationsNestedInput
|
||||
userProclamations?: Prisma.UserProclamationsUpdateManyWithoutProclamationNestedInput
|
||||
subscriptionLevel?: Prisma.SubscriptionLevelUpdateOneRequiredWithoutProclamationsNestedInput
|
||||
@@ -818,7 +769,6 @@ export type ProclamationUncheckedUpdateWithoutSolfeggioFrequencyInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
content?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
categoryId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
price?: Prisma.FloatFieldUpdateOperationsInput | number
|
||||
subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutProclamationNestedInput
|
||||
}
|
||||
@@ -828,7 +778,6 @@ export type ProclamationUncheckedUpdateManyWithoutSolfeggioFrequencyInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
content?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
categoryId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
price?: Prisma.FloatFieldUpdateOperationsInput | number
|
||||
subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
}
|
||||
|
||||
@@ -837,7 +786,6 @@ export type ProclamationCreateManyCategoryInput = {
|
||||
name: string
|
||||
content: string
|
||||
solfeggioFrequencyId: number
|
||||
price?: number
|
||||
subscriptionLevelId?: number
|
||||
}
|
||||
|
||||
@@ -845,7 +793,6 @@ export type ProclamationUpdateWithoutCategoryInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
content?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
price?: Prisma.FloatFieldUpdateOperationsInput | number
|
||||
solfeggioFrequency?: Prisma.SolfeggioFrequencyUpdateOneRequiredWithoutProclamationsNestedInput
|
||||
userProclamations?: Prisma.UserProclamationsUpdateManyWithoutProclamationNestedInput
|
||||
subscriptionLevel?: Prisma.SubscriptionLevelUpdateOneRequiredWithoutProclamationsNestedInput
|
||||
@@ -856,7 +803,6 @@ export type ProclamationUncheckedUpdateWithoutCategoryInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
content?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
price?: Prisma.FloatFieldUpdateOperationsInput | number
|
||||
subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutProclamationNestedInput
|
||||
}
|
||||
@@ -866,7 +812,6 @@ export type ProclamationUncheckedUpdateManyWithoutCategoryInput = {
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
content?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
price?: Prisma.FloatFieldUpdateOperationsInput | number
|
||||
subscriptionLevelId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
}
|
||||
|
||||
@@ -876,14 +821,12 @@ export type ProclamationCreateManySubscriptionLevelInput = {
|
||||
content: string
|
||||
solfeggioFrequencyId: number
|
||||
categoryId: number
|
||||
price?: number
|
||||
}
|
||||
|
||||
export type ProclamationUpdateWithoutSubscriptionLevelInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
content?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
price?: Prisma.FloatFieldUpdateOperationsInput | number
|
||||
solfeggioFrequency?: Prisma.SolfeggioFrequencyUpdateOneRequiredWithoutProclamationsNestedInput
|
||||
category?: Prisma.ProclamationCategoryUpdateOneRequiredWithoutProclamationsNestedInput
|
||||
userProclamations?: Prisma.UserProclamationsUpdateManyWithoutProclamationNestedInput
|
||||
@@ -895,7 +838,6 @@ export type ProclamationUncheckedUpdateWithoutSubscriptionLevelInput = {
|
||||
content?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
categoryId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
price?: Prisma.FloatFieldUpdateOperationsInput | number
|
||||
userProclamations?: Prisma.UserProclamationsUncheckedUpdateManyWithoutProclamationNestedInput
|
||||
}
|
||||
|
||||
@@ -905,7 +847,6 @@ export type ProclamationUncheckedUpdateManyWithoutSubscriptionLevelInput = {
|
||||
content?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
solfeggioFrequencyId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
categoryId?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
price?: Prisma.FloatFieldUpdateOperationsInput | number
|
||||
}
|
||||
|
||||
|
||||
@@ -945,7 +886,6 @@ export type ProclamationSelect<ExtArgs extends runtime.Types.Extensions.Internal
|
||||
content?: boolean
|
||||
solfeggioFrequencyId?: boolean
|
||||
categoryId?: boolean
|
||||
price?: boolean
|
||||
subscriptionLevelId?: boolean
|
||||
solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs<ExtArgs>
|
||||
category?: boolean | Prisma.ProclamationCategoryDefaultArgs<ExtArgs>
|
||||
@@ -960,7 +900,6 @@ export type ProclamationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.
|
||||
content?: boolean
|
||||
solfeggioFrequencyId?: boolean
|
||||
categoryId?: boolean
|
||||
price?: boolean
|
||||
subscriptionLevelId?: boolean
|
||||
solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs<ExtArgs>
|
||||
category?: boolean | Prisma.ProclamationCategoryDefaultArgs<ExtArgs>
|
||||
@@ -973,7 +912,6 @@ export type ProclamationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.
|
||||
content?: boolean
|
||||
solfeggioFrequencyId?: boolean
|
||||
categoryId?: boolean
|
||||
price?: boolean
|
||||
subscriptionLevelId?: boolean
|
||||
solfeggioFrequency?: boolean | Prisma.SolfeggioFrequencyDefaultArgs<ExtArgs>
|
||||
category?: boolean | Prisma.ProclamationCategoryDefaultArgs<ExtArgs>
|
||||
@@ -986,11 +924,10 @@ export type ProclamationSelectScalar = {
|
||||
content?: boolean
|
||||
solfeggioFrequencyId?: boolean
|
||||
categoryId?: boolean
|
||||
price?: boolean
|
||||
subscriptionLevelId?: boolean
|
||||
}
|
||||
|
||||
export type ProclamationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "content" | "solfeggioFrequencyId" | "categoryId" | "price" | "subscriptionLevelId", ExtArgs["result"]["proclamation"]>
|
||||
export type ProclamationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "content" | "solfeggioFrequencyId" | "categoryId" | "subscriptionLevelId", 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>
|
||||
@@ -1023,7 +960,6 @@ export type $ProclamationPayload<ExtArgs extends runtime.Types.Extensions.Intern
|
||||
content: string
|
||||
solfeggioFrequencyId: number
|
||||
categoryId: number
|
||||
price: number
|
||||
subscriptionLevelId: number
|
||||
}, ExtArgs["result"]["proclamation"]>
|
||||
composites: {}
|
||||
@@ -1457,7 +1393,6 @@ export interface ProclamationFieldRefs {
|
||||
readonly content: Prisma.FieldRef<"Proclamation", 'String'>
|
||||
readonly solfeggioFrequencyId: Prisma.FieldRef<"Proclamation", 'Int'>
|
||||
readonly categoryId: Prisma.FieldRef<"Proclamation", 'Int'>
|
||||
readonly price: Prisma.FieldRef<"Proclamation", 'Float'>
|
||||
readonly subscriptionLevelId: Prisma.FieldRef<"Proclamation", 'Int'>
|
||||
}
|
||||
|
||||
@@ -1655,6 +1590,11 @@ export type ProclamationFindManyArgs<ExtArgs extends runtime.Types.Extensions.In
|
||||
* 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[]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user