refactor user accounts structure
This commit is contained in:
@@ -448,48 +448,6 @@ export type GoodCategoryMinOrderByAggregateInput = {
|
||||
deleted_at?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateNestedManyWithoutGuildInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput> | Prisma.GoodCategoryCreateWithoutGuildInput[] | Prisma.GoodCategoryUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutGuildInput | Prisma.GoodCategoryCreateOrConnectWithoutGuildInput[]
|
||||
createMany?: Prisma.GoodCategoryCreateManyGuildInputEnvelope
|
||||
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedCreateNestedManyWithoutGuildInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput> | Prisma.GoodCategoryCreateWithoutGuildInput[] | Prisma.GoodCategoryUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutGuildInput | Prisma.GoodCategoryCreateOrConnectWithoutGuildInput[]
|
||||
createMany?: Prisma.GoodCategoryCreateManyGuildInputEnvelope
|
||||
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type GoodCategoryUpdateManyWithoutGuildNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput> | Prisma.GoodCategoryCreateWithoutGuildInput[] | Prisma.GoodCategoryUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutGuildInput | Prisma.GoodCategoryCreateOrConnectWithoutGuildInput[]
|
||||
upsert?: Prisma.GoodCategoryUpsertWithWhereUniqueWithoutGuildInput | Prisma.GoodCategoryUpsertWithWhereUniqueWithoutGuildInput[]
|
||||
createMany?: Prisma.GoodCategoryCreateManyGuildInputEnvelope
|
||||
set?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
disconnect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
delete?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
update?: Prisma.GoodCategoryUpdateWithWhereUniqueWithoutGuildInput | Prisma.GoodCategoryUpdateWithWhereUniqueWithoutGuildInput[]
|
||||
updateMany?: Prisma.GoodCategoryUpdateManyWithWhereWithoutGuildInput | Prisma.GoodCategoryUpdateManyWithWhereWithoutGuildInput[]
|
||||
deleteMany?: Prisma.GoodCategoryScalarWhereInput | Prisma.GoodCategoryScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedUpdateManyWithoutGuildNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput> | Prisma.GoodCategoryCreateWithoutGuildInput[] | Prisma.GoodCategoryUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutGuildInput | Prisma.GoodCategoryCreateOrConnectWithoutGuildInput[]
|
||||
upsert?: Prisma.GoodCategoryUpsertWithWhereUniqueWithoutGuildInput | Prisma.GoodCategoryUpsertWithWhereUniqueWithoutGuildInput[]
|
||||
createMany?: Prisma.GoodCategoryCreateManyGuildInputEnvelope
|
||||
set?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
disconnect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
delete?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
update?: Prisma.GoodCategoryUpdateWithWhereUniqueWithoutGuildInput | Prisma.GoodCategoryUpdateWithWhereUniqueWithoutGuildInput[]
|
||||
updateMany?: Prisma.GoodCategoryUpdateManyWithWhereWithoutGuildInput | Prisma.GoodCategoryUpdateManyWithWhereWithoutGuildInput[]
|
||||
deleteMany?: Prisma.GoodCategoryScalarWhereInput | Prisma.GoodCategoryScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateNestedManyWithoutComplexInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutComplexInput, Prisma.GoodCategoryUncheckedCreateWithoutComplexInput> | Prisma.GoodCategoryCreateWithoutComplexInput[] | Prisma.GoodCategoryUncheckedCreateWithoutComplexInput[]
|
||||
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutComplexInput | Prisma.GoodCategoryCreateOrConnectWithoutComplexInput[]
|
||||
@@ -548,72 +506,46 @@ export type GoodCategoryUpdateOneWithoutGoodsNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.GoodCategoryUpdateToOneWithWhereWithoutGoodsInput, Prisma.GoodCategoryUpdateWithoutGoodsInput>, Prisma.GoodCategoryUncheckedUpdateWithoutGoodsInput>
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateWithoutGuildInput = {
|
||||
id?: string
|
||||
name: string
|
||||
description?: string | null
|
||||
image_url?: string | null
|
||||
is_default_guild_good?: boolean
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
goods?: Prisma.GoodCreateNestedManyWithoutCategoryInput
|
||||
complex?: Prisma.ComplexCreateNestedOneWithoutGood_categoriesInput
|
||||
export type GoodCategoryCreateNestedManyWithoutGuildInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput> | Prisma.GoodCategoryCreateWithoutGuildInput[] | Prisma.GoodCategoryUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutGuildInput | Prisma.GoodCategoryCreateOrConnectWithoutGuildInput[]
|
||||
createMany?: Prisma.GoodCategoryCreateManyGuildInputEnvelope
|
||||
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedCreateWithoutGuildInput = {
|
||||
id?: string
|
||||
name: string
|
||||
description?: string | null
|
||||
image_url?: string | null
|
||||
complex_id?: string | null
|
||||
is_default_guild_good?: boolean
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
goods?: Prisma.GoodUncheckedCreateNestedManyWithoutCategoryInput
|
||||
export type GoodCategoryUncheckedCreateNestedManyWithoutGuildInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput> | Prisma.GoodCategoryCreateWithoutGuildInput[] | Prisma.GoodCategoryUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutGuildInput | Prisma.GoodCategoryCreateOrConnectWithoutGuildInput[]
|
||||
createMany?: Prisma.GoodCategoryCreateManyGuildInputEnvelope
|
||||
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateOrConnectWithoutGuildInput = {
|
||||
where: Prisma.GoodCategoryWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput>
|
||||
export type GoodCategoryUpdateManyWithoutGuildNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput> | Prisma.GoodCategoryCreateWithoutGuildInput[] | Prisma.GoodCategoryUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutGuildInput | Prisma.GoodCategoryCreateOrConnectWithoutGuildInput[]
|
||||
upsert?: Prisma.GoodCategoryUpsertWithWhereUniqueWithoutGuildInput | Prisma.GoodCategoryUpsertWithWhereUniqueWithoutGuildInput[]
|
||||
createMany?: Prisma.GoodCategoryCreateManyGuildInputEnvelope
|
||||
set?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
disconnect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
delete?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
update?: Prisma.GoodCategoryUpdateWithWhereUniqueWithoutGuildInput | Prisma.GoodCategoryUpdateWithWhereUniqueWithoutGuildInput[]
|
||||
updateMany?: Prisma.GoodCategoryUpdateManyWithWhereWithoutGuildInput | Prisma.GoodCategoryUpdateManyWithWhereWithoutGuildInput[]
|
||||
deleteMany?: Prisma.GoodCategoryScalarWhereInput | Prisma.GoodCategoryScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateManyGuildInputEnvelope = {
|
||||
data: Prisma.GoodCategoryCreateManyGuildInput | Prisma.GoodCategoryCreateManyGuildInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
export type GoodCategoryUpsertWithWhereUniqueWithoutGuildInput = {
|
||||
where: Prisma.GoodCategoryWhereUniqueInput
|
||||
update: Prisma.XOR<Prisma.GoodCategoryUpdateWithoutGuildInput, Prisma.GoodCategoryUncheckedUpdateWithoutGuildInput>
|
||||
create: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput>
|
||||
}
|
||||
|
||||
export type GoodCategoryUpdateWithWhereUniqueWithoutGuildInput = {
|
||||
where: Prisma.GoodCategoryWhereUniqueInput
|
||||
data: Prisma.XOR<Prisma.GoodCategoryUpdateWithoutGuildInput, Prisma.GoodCategoryUncheckedUpdateWithoutGuildInput>
|
||||
}
|
||||
|
||||
export type GoodCategoryUpdateManyWithWhereWithoutGuildInput = {
|
||||
where: Prisma.GoodCategoryScalarWhereInput
|
||||
data: Prisma.XOR<Prisma.GoodCategoryUpdateManyMutationInput, Prisma.GoodCategoryUncheckedUpdateManyWithoutGuildInput>
|
||||
}
|
||||
|
||||
export type GoodCategoryScalarWhereInput = {
|
||||
AND?: Prisma.GoodCategoryScalarWhereInput | Prisma.GoodCategoryScalarWhereInput[]
|
||||
OR?: Prisma.GoodCategoryScalarWhereInput[]
|
||||
NOT?: Prisma.GoodCategoryScalarWhereInput | Prisma.GoodCategoryScalarWhereInput[]
|
||||
id?: Prisma.StringFilter<"GoodCategory"> | string
|
||||
name?: Prisma.StringFilter<"GoodCategory"> | string
|
||||
description?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
image_url?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
complex_id?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
is_default_guild_good?: Prisma.BoolFilter<"GoodCategory"> | boolean
|
||||
guild_id?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
created_at?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
|
||||
deleted_at?: Prisma.DateTimeNullableFilter<"GoodCategory"> | Date | string | null
|
||||
export type GoodCategoryUncheckedUpdateManyWithoutGuildNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput> | Prisma.GoodCategoryCreateWithoutGuildInput[] | Prisma.GoodCategoryUncheckedCreateWithoutGuildInput[]
|
||||
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutGuildInput | Prisma.GoodCategoryCreateOrConnectWithoutGuildInput[]
|
||||
upsert?: Prisma.GoodCategoryUpsertWithWhereUniqueWithoutGuildInput | Prisma.GoodCategoryUpsertWithWhereUniqueWithoutGuildInput[]
|
||||
createMany?: Prisma.GoodCategoryCreateManyGuildInputEnvelope
|
||||
set?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
disconnect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
delete?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
|
||||
update?: Prisma.GoodCategoryUpdateWithWhereUniqueWithoutGuildInput | Prisma.GoodCategoryUpdateWithWhereUniqueWithoutGuildInput[]
|
||||
updateMany?: Prisma.GoodCategoryUpdateManyWithWhereWithoutGuildInput | Prisma.GoodCategoryUpdateManyWithWhereWithoutGuildInput[]
|
||||
deleteMany?: Prisma.GoodCategoryScalarWhereInput | Prisma.GoodCategoryScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateWithoutComplexInput = {
|
||||
@@ -668,6 +600,22 @@ export type GoodCategoryUpdateManyWithWhereWithoutComplexInput = {
|
||||
data: Prisma.XOR<Prisma.GoodCategoryUpdateManyMutationInput, Prisma.GoodCategoryUncheckedUpdateManyWithoutComplexInput>
|
||||
}
|
||||
|
||||
export type GoodCategoryScalarWhereInput = {
|
||||
AND?: Prisma.GoodCategoryScalarWhereInput | Prisma.GoodCategoryScalarWhereInput[]
|
||||
OR?: Prisma.GoodCategoryScalarWhereInput[]
|
||||
NOT?: Prisma.GoodCategoryScalarWhereInput | Prisma.GoodCategoryScalarWhereInput[]
|
||||
id?: Prisma.StringFilter<"GoodCategory"> | string
|
||||
name?: Prisma.StringFilter<"GoodCategory"> | string
|
||||
description?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
image_url?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
complex_id?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
is_default_guild_good?: Prisma.BoolFilter<"GoodCategory"> | boolean
|
||||
guild_id?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
|
||||
created_at?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
|
||||
updated_at?: Prisma.DateTimeFilter<"GoodCategory"> | Date | string
|
||||
deleted_at?: Prisma.DateTimeNullableFilter<"GoodCategory"> | Date | string | null
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateWithoutGoodsInput = {
|
||||
id?: string
|
||||
name: string
|
||||
@@ -736,7 +684,20 @@ export type GoodCategoryUncheckedUpdateWithoutGoodsInput = {
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateManyGuildInput = {
|
||||
export type GoodCategoryCreateWithoutGuildInput = {
|
||||
id?: string
|
||||
name: string
|
||||
description?: string | null
|
||||
image_url?: string | null
|
||||
is_default_guild_good?: boolean
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
goods?: Prisma.GoodCreateNestedManyWithoutCategoryInput
|
||||
complex?: Prisma.ComplexCreateNestedOneWithoutGood_categoriesInput
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedCreateWithoutGuildInput = {
|
||||
id?: string
|
||||
name: string
|
||||
description?: string | null
|
||||
@@ -746,44 +707,33 @@ export type GoodCategoryCreateManyGuildInput = {
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
goods?: Prisma.GoodUncheckedCreateNestedManyWithoutCategoryInput
|
||||
}
|
||||
|
||||
export type GoodCategoryUpdateWithoutGuildInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
goods?: Prisma.GoodUpdateManyWithoutCategoryNestedInput
|
||||
complex?: Prisma.ComplexUpdateOneWithoutGood_categoriesNestedInput
|
||||
export type GoodCategoryCreateOrConnectWithoutGuildInput = {
|
||||
where: Prisma.GoodCategoryWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput>
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedUpdateWithoutGuildInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
goods?: Prisma.GoodUncheckedUpdateManyWithoutCategoryNestedInput
|
||||
export type GoodCategoryCreateManyGuildInputEnvelope = {
|
||||
data: Prisma.GoodCategoryCreateManyGuildInput | Prisma.GoodCategoryCreateManyGuildInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedUpdateManyWithoutGuildInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
export type GoodCategoryUpsertWithWhereUniqueWithoutGuildInput = {
|
||||
where: Prisma.GoodCategoryWhereUniqueInput
|
||||
update: Prisma.XOR<Prisma.GoodCategoryUpdateWithoutGuildInput, Prisma.GoodCategoryUncheckedUpdateWithoutGuildInput>
|
||||
create: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput>
|
||||
}
|
||||
|
||||
export type GoodCategoryUpdateWithWhereUniqueWithoutGuildInput = {
|
||||
where: Prisma.GoodCategoryWhereUniqueInput
|
||||
data: Prisma.XOR<Prisma.GoodCategoryUpdateWithoutGuildInput, Prisma.GoodCategoryUncheckedUpdateWithoutGuildInput>
|
||||
}
|
||||
|
||||
export type GoodCategoryUpdateManyWithWhereWithoutGuildInput = {
|
||||
where: Prisma.GoodCategoryScalarWhereInput
|
||||
data: Prisma.XOR<Prisma.GoodCategoryUpdateManyMutationInput, Prisma.GoodCategoryUncheckedUpdateManyWithoutGuildInput>
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateManyComplexInput = {
|
||||
@@ -836,6 +786,56 @@ export type GoodCategoryUncheckedUpdateManyWithoutComplexInput = {
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
}
|
||||
|
||||
export type GoodCategoryCreateManyGuildInput = {
|
||||
id?: string
|
||||
name: string
|
||||
description?: string | null
|
||||
image_url?: string | null
|
||||
complex_id?: string | null
|
||||
is_default_guild_good?: boolean
|
||||
created_at?: Date | string
|
||||
updated_at?: Date | string
|
||||
deleted_at?: Date | string | null
|
||||
}
|
||||
|
||||
export type GoodCategoryUpdateWithoutGuildInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
goods?: Prisma.GoodUpdateManyWithoutCategoryNestedInput
|
||||
complex?: Prisma.ComplexUpdateOneWithoutGood_categoriesNestedInput
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedUpdateWithoutGuildInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
goods?: Prisma.GoodUncheckedUpdateManyWithoutCategoryNestedInput
|
||||
}
|
||||
|
||||
export type GoodCategoryUncheckedUpdateManyWithoutGuildInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
name?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
||||
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Count Type GoodCategoryCountOutputType
|
||||
|
||||
Reference in New Issue
Block a user