|
|
|
|
@@ -152,7 +152,7 @@ export type ProjectGroupByOutputType = {
|
|
|
|
|
name: string
|
|
|
|
|
createdAt: Date
|
|
|
|
|
updatedAt: Date
|
|
|
|
|
archivedAt: Date
|
|
|
|
|
archivedAt: Date | null
|
|
|
|
|
_count: ProjectCountAggregateOutputType | null
|
|
|
|
|
_min: ProjectMinAggregateOutputType | null
|
|
|
|
|
_max: ProjectMaxAggregateOutputType | null
|
|
|
|
|
@@ -181,7 +181,7 @@ export type ProjectWhereInput = {
|
|
|
|
|
name?: Prisma.StringFilter<"Project"> | string
|
|
|
|
|
createdAt?: Prisma.DateTimeFilter<"Project"> | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFilter<"Project"> | Date | string
|
|
|
|
|
archivedAt?: Prisma.DateTimeFilter<"Project"> | Date | string
|
|
|
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"Project"> | Date | string | null
|
|
|
|
|
memberships?: Prisma.MembershipListRelationFilter
|
|
|
|
|
invites?: Prisma.InviteTokenListRelationFilter
|
|
|
|
|
events?: Prisma.EventListRelationFilter
|
|
|
|
|
@@ -193,7 +193,7 @@ export type ProjectOrderByWithRelationInput = {
|
|
|
|
|
name?: Prisma.SortOrder
|
|
|
|
|
createdAt?: Prisma.SortOrder
|
|
|
|
|
updatedAt?: Prisma.SortOrder
|
|
|
|
|
archivedAt?: Prisma.SortOrder
|
|
|
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
memberships?: Prisma.MembershipOrderByRelationAggregateInput
|
|
|
|
|
invites?: Prisma.InviteTokenOrderByRelationAggregateInput
|
|
|
|
|
events?: Prisma.EventOrderByRelationAggregateInput
|
|
|
|
|
@@ -208,7 +208,7 @@ export type ProjectWhereUniqueInput = Prisma.AtLeast<{
|
|
|
|
|
NOT?: Prisma.ProjectWhereInput | Prisma.ProjectWhereInput[]
|
|
|
|
|
createdAt?: Prisma.DateTimeFilter<"Project"> | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFilter<"Project"> | Date | string
|
|
|
|
|
archivedAt?: Prisma.DateTimeFilter<"Project"> | Date | string
|
|
|
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"Project"> | Date | string | null
|
|
|
|
|
memberships?: Prisma.MembershipListRelationFilter
|
|
|
|
|
invites?: Prisma.InviteTokenListRelationFilter
|
|
|
|
|
events?: Prisma.EventListRelationFilter
|
|
|
|
|
@@ -220,7 +220,7 @@ export type ProjectOrderByWithAggregationInput = {
|
|
|
|
|
name?: Prisma.SortOrder
|
|
|
|
|
createdAt?: Prisma.SortOrder
|
|
|
|
|
updatedAt?: Prisma.SortOrder
|
|
|
|
|
archivedAt?: Prisma.SortOrder
|
|
|
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
_count?: Prisma.ProjectCountOrderByAggregateInput
|
|
|
|
|
_max?: Prisma.ProjectMaxOrderByAggregateInput
|
|
|
|
|
_min?: Prisma.ProjectMinOrderByAggregateInput
|
|
|
|
|
@@ -234,7 +234,7 @@ export type ProjectScalarWhereWithAggregatesInput = {
|
|
|
|
|
name?: Prisma.StringWithAggregatesFilter<"Project"> | string
|
|
|
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Project"> | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Project"> | Date | string
|
|
|
|
|
archivedAt?: Prisma.DateTimeWithAggregatesFilter<"Project"> | Date | string
|
|
|
|
|
archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Project"> | Date | string | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProjectCreateInput = {
|
|
|
|
|
@@ -242,7 +242,7 @@ export type ProjectCreateInput = {
|
|
|
|
|
name: string
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
archivedAt: Date | string
|
|
|
|
|
archivedAt?: Date | string | null
|
|
|
|
|
memberships?: Prisma.MembershipCreateNestedManyWithoutProjectInput
|
|
|
|
|
invites?: Prisma.InviteTokenCreateNestedManyWithoutProjectInput
|
|
|
|
|
events?: Prisma.EventCreateNestedManyWithoutProjectInput
|
|
|
|
|
@@ -254,7 +254,7 @@ export type ProjectUncheckedCreateInput = {
|
|
|
|
|
name: string
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
archivedAt: Date | string
|
|
|
|
|
archivedAt?: Date | string | null
|
|
|
|
|
memberships?: Prisma.MembershipUncheckedCreateNestedManyWithoutProjectInput
|
|
|
|
|
invites?: Prisma.InviteTokenUncheckedCreateNestedManyWithoutProjectInput
|
|
|
|
|
events?: Prisma.EventUncheckedCreateNestedManyWithoutProjectInput
|
|
|
|
|
@@ -266,7 +266,7 @@ export type ProjectUpdateInput = {
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
memberships?: Prisma.MembershipUpdateManyWithoutProjectNestedInput
|
|
|
|
|
invites?: Prisma.InviteTokenUpdateManyWithoutProjectNestedInput
|
|
|
|
|
events?: Prisma.EventUpdateManyWithoutProjectNestedInput
|
|
|
|
|
@@ -278,7 +278,7 @@ export type ProjectUncheckedUpdateInput = {
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
memberships?: Prisma.MembershipUncheckedUpdateManyWithoutProjectNestedInput
|
|
|
|
|
invites?: Prisma.InviteTokenUncheckedUpdateManyWithoutProjectNestedInput
|
|
|
|
|
events?: Prisma.EventUncheckedUpdateManyWithoutProjectNestedInput
|
|
|
|
|
@@ -290,7 +290,7 @@ export type ProjectCreateManyInput = {
|
|
|
|
|
name: string
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
archivedAt: Date | string
|
|
|
|
|
archivedAt?: Date | string | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProjectUpdateManyMutationInput = {
|
|
|
|
|
@@ -298,7 +298,7 @@ export type ProjectUpdateManyMutationInput = {
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProjectUncheckedUpdateManyInput = {
|
|
|
|
|
@@ -306,7 +306,7 @@ export type ProjectUncheckedUpdateManyInput = {
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProjectCountOrderByAggregateInput = {
|
|
|
|
|
@@ -338,6 +338,10 @@ export type ProjectScalarRelationFilter = {
|
|
|
|
|
isNot?: Prisma.ProjectWhereInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type NullableDateTimeFieldUpdateOperationsInput = {
|
|
|
|
|
set?: Date | string | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ProjectCreateNestedOneWithoutMembershipsInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ProjectCreateWithoutMembershipsInput, Prisma.ProjectUncheckedCreateWithoutMembershipsInput>
|
|
|
|
|
connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutMembershipsInput
|
|
|
|
|
@@ -399,7 +403,7 @@ export type ProjectCreateWithoutMembershipsInput = {
|
|
|
|
|
name: string
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
archivedAt: Date | string
|
|
|
|
|
archivedAt?: Date | string | null
|
|
|
|
|
invites?: Prisma.InviteTokenCreateNestedManyWithoutProjectInput
|
|
|
|
|
events?: Prisma.EventCreateNestedManyWithoutProjectInput
|
|
|
|
|
households?: Prisma.HouseholdCreateNestedManyWithoutProjectInput
|
|
|
|
|
@@ -410,7 +414,7 @@ export type ProjectUncheckedCreateWithoutMembershipsInput = {
|
|
|
|
|
name: string
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
archivedAt: Date | string
|
|
|
|
|
archivedAt?: Date | string | null
|
|
|
|
|
invites?: Prisma.InviteTokenUncheckedCreateNestedManyWithoutProjectInput
|
|
|
|
|
events?: Prisma.EventUncheckedCreateNestedManyWithoutProjectInput
|
|
|
|
|
households?: Prisma.HouseholdUncheckedCreateNestedManyWithoutProjectInput
|
|
|
|
|
@@ -437,7 +441,7 @@ export type ProjectUpdateWithoutMembershipsInput = {
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
invites?: Prisma.InviteTokenUpdateManyWithoutProjectNestedInput
|
|
|
|
|
events?: Prisma.EventUpdateManyWithoutProjectNestedInput
|
|
|
|
|
households?: Prisma.HouseholdUpdateManyWithoutProjectNestedInput
|
|
|
|
|
@@ -448,7 +452,7 @@ export type ProjectUncheckedUpdateWithoutMembershipsInput = {
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
invites?: Prisma.InviteTokenUncheckedUpdateManyWithoutProjectNestedInput
|
|
|
|
|
events?: Prisma.EventUncheckedUpdateManyWithoutProjectNestedInput
|
|
|
|
|
households?: Prisma.HouseholdUncheckedUpdateManyWithoutProjectNestedInput
|
|
|
|
|
@@ -459,7 +463,7 @@ export type ProjectCreateWithoutInvitesInput = {
|
|
|
|
|
name: string
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
archivedAt: Date | string
|
|
|
|
|
archivedAt?: Date | string | null
|
|
|
|
|
memberships?: Prisma.MembershipCreateNestedManyWithoutProjectInput
|
|
|
|
|
events?: Prisma.EventCreateNestedManyWithoutProjectInput
|
|
|
|
|
households?: Prisma.HouseholdCreateNestedManyWithoutProjectInput
|
|
|
|
|
@@ -470,7 +474,7 @@ export type ProjectUncheckedCreateWithoutInvitesInput = {
|
|
|
|
|
name: string
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
archivedAt: Date | string
|
|
|
|
|
archivedAt?: Date | string | null
|
|
|
|
|
memberships?: Prisma.MembershipUncheckedCreateNestedManyWithoutProjectInput
|
|
|
|
|
events?: Prisma.EventUncheckedCreateNestedManyWithoutProjectInput
|
|
|
|
|
households?: Prisma.HouseholdUncheckedCreateNestedManyWithoutProjectInput
|
|
|
|
|
@@ -497,7 +501,7 @@ export type ProjectUpdateWithoutInvitesInput = {
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
memberships?: Prisma.MembershipUpdateManyWithoutProjectNestedInput
|
|
|
|
|
events?: Prisma.EventUpdateManyWithoutProjectNestedInput
|
|
|
|
|
households?: Prisma.HouseholdUpdateManyWithoutProjectNestedInput
|
|
|
|
|
@@ -508,7 +512,7 @@ export type ProjectUncheckedUpdateWithoutInvitesInput = {
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
memberships?: Prisma.MembershipUncheckedUpdateManyWithoutProjectNestedInput
|
|
|
|
|
events?: Prisma.EventUncheckedUpdateManyWithoutProjectNestedInput
|
|
|
|
|
households?: Prisma.HouseholdUncheckedUpdateManyWithoutProjectNestedInput
|
|
|
|
|
@@ -519,7 +523,7 @@ export type ProjectCreateWithoutEventsInput = {
|
|
|
|
|
name: string
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
archivedAt: Date | string
|
|
|
|
|
archivedAt?: Date | string | null
|
|
|
|
|
memberships?: Prisma.MembershipCreateNestedManyWithoutProjectInput
|
|
|
|
|
invites?: Prisma.InviteTokenCreateNestedManyWithoutProjectInput
|
|
|
|
|
households?: Prisma.HouseholdCreateNestedManyWithoutProjectInput
|
|
|
|
|
@@ -530,7 +534,7 @@ export type ProjectUncheckedCreateWithoutEventsInput = {
|
|
|
|
|
name: string
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
archivedAt: Date | string
|
|
|
|
|
archivedAt?: Date | string | null
|
|
|
|
|
memberships?: Prisma.MembershipUncheckedCreateNestedManyWithoutProjectInput
|
|
|
|
|
invites?: Prisma.InviteTokenUncheckedCreateNestedManyWithoutProjectInput
|
|
|
|
|
households?: Prisma.HouseholdUncheckedCreateNestedManyWithoutProjectInput
|
|
|
|
|
@@ -557,7 +561,7 @@ export type ProjectUpdateWithoutEventsInput = {
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
memberships?: Prisma.MembershipUpdateManyWithoutProjectNestedInput
|
|
|
|
|
invites?: Prisma.InviteTokenUpdateManyWithoutProjectNestedInput
|
|
|
|
|
households?: Prisma.HouseholdUpdateManyWithoutProjectNestedInput
|
|
|
|
|
@@ -568,7 +572,7 @@ export type ProjectUncheckedUpdateWithoutEventsInput = {
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
memberships?: Prisma.MembershipUncheckedUpdateManyWithoutProjectNestedInput
|
|
|
|
|
invites?: Prisma.InviteTokenUncheckedUpdateManyWithoutProjectNestedInput
|
|
|
|
|
households?: Prisma.HouseholdUncheckedUpdateManyWithoutProjectNestedInput
|
|
|
|
|
@@ -579,7 +583,7 @@ export type ProjectCreateWithoutHouseholdsInput = {
|
|
|
|
|
name: string
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
archivedAt: Date | string
|
|
|
|
|
archivedAt?: Date | string | null
|
|
|
|
|
memberships?: Prisma.MembershipCreateNestedManyWithoutProjectInput
|
|
|
|
|
invites?: Prisma.InviteTokenCreateNestedManyWithoutProjectInput
|
|
|
|
|
events?: Prisma.EventCreateNestedManyWithoutProjectInput
|
|
|
|
|
@@ -590,7 +594,7 @@ export type ProjectUncheckedCreateWithoutHouseholdsInput = {
|
|
|
|
|
name: string
|
|
|
|
|
createdAt?: Date | string
|
|
|
|
|
updatedAt?: Date | string
|
|
|
|
|
archivedAt: Date | string
|
|
|
|
|
archivedAt?: Date | string | null
|
|
|
|
|
memberships?: Prisma.MembershipUncheckedCreateNestedManyWithoutProjectInput
|
|
|
|
|
invites?: Prisma.InviteTokenUncheckedCreateNestedManyWithoutProjectInput
|
|
|
|
|
events?: Prisma.EventUncheckedCreateNestedManyWithoutProjectInput
|
|
|
|
|
@@ -617,7 +621,7 @@ export type ProjectUpdateWithoutHouseholdsInput = {
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
memberships?: Prisma.MembershipUpdateManyWithoutProjectNestedInput
|
|
|
|
|
invites?: Prisma.InviteTokenUpdateManyWithoutProjectNestedInput
|
|
|
|
|
events?: Prisma.EventUpdateManyWithoutProjectNestedInput
|
|
|
|
|
@@ -628,7 +632,7 @@ export type ProjectUncheckedUpdateWithoutHouseholdsInput = {
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
|
|
|
memberships?: Prisma.MembershipUncheckedUpdateManyWithoutProjectNestedInput
|
|
|
|
|
invites?: Prisma.InviteTokenUncheckedUpdateManyWithoutProjectNestedInput
|
|
|
|
|
events?: Prisma.EventUncheckedUpdateManyWithoutProjectNestedInput
|
|
|
|
|
@@ -753,7 +757,7 @@ export type $ProjectPayload<ExtArgs extends runtime.Types.Extensions.InternalArg
|
|
|
|
|
name: string
|
|
|
|
|
createdAt: Date
|
|
|
|
|
updatedAt: Date
|
|
|
|
|
archivedAt: Date
|
|
|
|
|
archivedAt: Date | null
|
|
|
|
|
}, ExtArgs["result"]["project"]>
|
|
|
|
|
composites: {}
|
|
|
|
|
}
|
|
|
|
|
|