transform core api codes into this project, update modules as admin/pos context modules

This commit is contained in:
2026-03-07 11:25:11 +03:30
parent b949500482
commit 8c5f1d4d49
167 changed files with 26975 additions and 1837 deletions
+443 -49
View File
@@ -29,8 +29,9 @@ export type GoodCategoryMinAggregateOutputType = {
name: string | null
description: string | null
image_url: string | null
account_id: string | null
complex_id: string | null
is_default_guild_good: boolean | null
guild_id: string | null
created_at: Date | null
updated_at: Date | null
deleted_at: Date | null
@@ -41,8 +42,9 @@ export type GoodCategoryMaxAggregateOutputType = {
name: string | null
description: string | null
image_url: string | null
account_id: string | null
complex_id: string | null
is_default_guild_good: boolean | null
guild_id: string | null
created_at: Date | null
updated_at: Date | null
deleted_at: Date | null
@@ -53,8 +55,9 @@ export type GoodCategoryCountAggregateOutputType = {
name: number
description: number
image_url: number
account_id: number
complex_id: number
is_default_guild_good: number
guild_id: number
created_at: number
updated_at: number
deleted_at: number
@@ -67,8 +70,9 @@ export type GoodCategoryMinAggregateInputType = {
name?: true
description?: true
image_url?: true
account_id?: true
complex_id?: true
is_default_guild_good?: true
guild_id?: true
created_at?: true
updated_at?: true
deleted_at?: true
@@ -79,8 +83,9 @@ export type GoodCategoryMaxAggregateInputType = {
name?: true
description?: true
image_url?: true
account_id?: true
complex_id?: true
is_default_guild_good?: true
guild_id?: true
created_at?: true
updated_at?: true
deleted_at?: true
@@ -91,8 +96,9 @@ export type GoodCategoryCountAggregateInputType = {
name?: true
description?: true
image_url?: true
account_id?: true
complex_id?: true
is_default_guild_good?: true
guild_id?: true
created_at?: true
updated_at?: true
deleted_at?: true
@@ -176,8 +182,9 @@ export type GoodCategoryGroupByOutputType = {
name: string
description: string | null
image_url: string | null
account_id: string
complex_id: string
complex_id: string | null
is_default_guild_good: boolean
guild_id: string | null
created_at: Date
updated_at: Date
deleted_at: Date | null
@@ -209,12 +216,15 @@ export type GoodCategoryWhereInput = {
name?: Prisma.StringFilter<"GoodCategory"> | string
description?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
image_url?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
account_id?: Prisma.StringFilter<"GoodCategory"> | string
complex_id?: Prisma.StringFilter<"GoodCategory"> | string
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
goods?: Prisma.GoodListRelationFilter
guild?: Prisma.XOR<Prisma.GuildNullableScalarRelationFilter, Prisma.GuildWhereInput> | null
complex?: Prisma.XOR<Prisma.ComplexNullableScalarRelationFilter, Prisma.ComplexWhereInput> | null
}
export type GoodCategoryOrderByWithRelationInput = {
@@ -222,12 +232,15 @@ export type GoodCategoryOrderByWithRelationInput = {
name?: Prisma.SortOrder
description?: Prisma.SortOrderInput | Prisma.SortOrder
image_url?: Prisma.SortOrderInput | Prisma.SortOrder
account_id?: Prisma.SortOrder
complex_id?: Prisma.SortOrder
complex_id?: Prisma.SortOrderInput | Prisma.SortOrder
is_default_guild_good?: Prisma.SortOrder
guild_id?: Prisma.SortOrderInput | Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
goods?: Prisma.GoodOrderByRelationAggregateInput
guild?: Prisma.GuildOrderByWithRelationInput
complex?: Prisma.ComplexOrderByWithRelationInput
_relevance?: Prisma.GoodCategoryOrderByRelevanceInput
}
@@ -239,12 +252,15 @@ export type GoodCategoryWhereUniqueInput = Prisma.AtLeast<{
name?: Prisma.StringFilter<"GoodCategory"> | string
description?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
image_url?: Prisma.StringNullableFilter<"GoodCategory"> | string | null
account_id?: Prisma.StringFilter<"GoodCategory"> | string
complex_id?: Prisma.StringFilter<"GoodCategory"> | string
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
goods?: Prisma.GoodListRelationFilter
guild?: Prisma.XOR<Prisma.GuildNullableScalarRelationFilter, Prisma.GuildWhereInput> | null
complex?: Prisma.XOR<Prisma.ComplexNullableScalarRelationFilter, Prisma.ComplexWhereInput> | null
}, "id">
export type GoodCategoryOrderByWithAggregationInput = {
@@ -252,8 +268,9 @@ export type GoodCategoryOrderByWithAggregationInput = {
name?: Prisma.SortOrder
description?: Prisma.SortOrderInput | Prisma.SortOrder
image_url?: Prisma.SortOrderInput | Prisma.SortOrder
account_id?: Prisma.SortOrder
complex_id?: Prisma.SortOrder
complex_id?: Prisma.SortOrderInput | Prisma.SortOrder
is_default_guild_good?: Prisma.SortOrder
guild_id?: Prisma.SortOrderInput | Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
deleted_at?: Prisma.SortOrderInput | Prisma.SortOrder
@@ -270,8 +287,9 @@ export type GoodCategoryScalarWhereWithAggregatesInput = {
name?: Prisma.StringWithAggregatesFilter<"GoodCategory"> | string
description?: Prisma.StringNullableWithAggregatesFilter<"GoodCategory"> | string | null
image_url?: Prisma.StringNullableWithAggregatesFilter<"GoodCategory"> | string | null
account_id?: Prisma.StringWithAggregatesFilter<"GoodCategory"> | string
complex_id?: Prisma.StringWithAggregatesFilter<"GoodCategory"> | string
complex_id?: Prisma.StringNullableWithAggregatesFilter<"GoodCategory"> | string | null
is_default_guild_good?: Prisma.BoolWithAggregatesFilter<"GoodCategory"> | boolean
guild_id?: Prisma.StringNullableWithAggregatesFilter<"GoodCategory"> | string | null
created_at?: Prisma.DateTimeWithAggregatesFilter<"GoodCategory"> | Date | string
updated_at?: Prisma.DateTimeWithAggregatesFilter<"GoodCategory"> | Date | string
deleted_at?: Prisma.DateTimeNullableWithAggregatesFilter<"GoodCategory"> | Date | string | null
@@ -282,12 +300,13 @@ export type GoodCategoryCreateInput = {
name: string
description?: string | null
image_url?: string | null
account_id: string
complex_id: string
is_default_guild_good?: boolean
created_at?: Date | string
updated_at?: Date | string
deleted_at?: Date | string | null
goods?: Prisma.GoodCreateNestedManyWithoutCategoryInput
guild?: Prisma.GuildCreateNestedOneWithoutGood_categoriesInput
complex?: Prisma.ComplexCreateNestedOneWithoutGood_categoriesInput
}
export type GoodCategoryUncheckedCreateInput = {
@@ -295,8 +314,9 @@ export type GoodCategoryUncheckedCreateInput = {
name: string
description?: string | null
image_url?: string | null
account_id: string
complex_id: string
complex_id?: string | null
is_default_guild_good?: boolean
guild_id?: string | null
created_at?: Date | string
updated_at?: Date | string
deleted_at?: Date | string | null
@@ -308,12 +328,13 @@ export type GoodCategoryUpdateInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
account_id?: Prisma.StringFieldUpdateOperationsInput | string
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
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
guild?: Prisma.GuildUpdateOneWithoutGood_categoriesNestedInput
complex?: Prisma.ComplexUpdateOneWithoutGood_categoriesNestedInput
}
export type GoodCategoryUncheckedUpdateInput = {
@@ -321,8 +342,9 @@ export type GoodCategoryUncheckedUpdateInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
account_id?: Prisma.StringFieldUpdateOperationsInput | string
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
guild_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -334,8 +356,9 @@ export type GoodCategoryCreateManyInput = {
name: string
description?: string | null
image_url?: string | null
account_id: string
complex_id: string
complex_id?: string | null
is_default_guild_good?: boolean
guild_id?: string | null
created_at?: Date | string
updated_at?: Date | string
deleted_at?: Date | string | null
@@ -346,8 +369,7 @@ export type GoodCategoryUpdateManyMutationInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
account_id?: Prisma.StringFieldUpdateOperationsInput | string
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
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
@@ -358,13 +380,24 @@ export type GoodCategoryUncheckedUpdateManyInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
account_id?: Prisma.StringFieldUpdateOperationsInput | string
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
guild_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type GoodCategoryListRelationFilter = {
every?: Prisma.GoodCategoryWhereInput
some?: Prisma.GoodCategoryWhereInput
none?: Prisma.GoodCategoryWhereInput
}
export type GoodCategoryOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type GoodCategoryNullableScalarRelationFilter = {
is?: Prisma.GoodCategoryWhereInput | null
isNot?: Prisma.GoodCategoryWhereInput | null
@@ -381,8 +414,9 @@ export type GoodCategoryCountOrderByAggregateInput = {
name?: Prisma.SortOrder
description?: Prisma.SortOrder
image_url?: Prisma.SortOrder
account_id?: Prisma.SortOrder
complex_id?: Prisma.SortOrder
is_default_guild_good?: Prisma.SortOrder
guild_id?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
deleted_at?: Prisma.SortOrder
@@ -393,8 +427,9 @@ export type GoodCategoryMaxOrderByAggregateInput = {
name?: Prisma.SortOrder
description?: Prisma.SortOrder
image_url?: Prisma.SortOrder
account_id?: Prisma.SortOrder
complex_id?: Prisma.SortOrder
is_default_guild_good?: Prisma.SortOrder
guild_id?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
deleted_at?: Prisma.SortOrder
@@ -405,13 +440,98 @@ export type GoodCategoryMinOrderByAggregateInput = {
name?: Prisma.SortOrder
description?: Prisma.SortOrder
image_url?: Prisma.SortOrder
account_id?: Prisma.SortOrder
complex_id?: Prisma.SortOrder
is_default_guild_good?: Prisma.SortOrder
guild_id?: Prisma.SortOrder
created_at?: Prisma.SortOrder
updated_at?: Prisma.SortOrder
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[]
createMany?: Prisma.GoodCategoryCreateManyComplexInputEnvelope
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
}
export type GoodCategoryUncheckedCreateNestedManyWithoutComplexInput = {
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutComplexInput, Prisma.GoodCategoryUncheckedCreateWithoutComplexInput> | Prisma.GoodCategoryCreateWithoutComplexInput[] | Prisma.GoodCategoryUncheckedCreateWithoutComplexInput[]
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutComplexInput | Prisma.GoodCategoryCreateOrConnectWithoutComplexInput[]
createMany?: Prisma.GoodCategoryCreateManyComplexInputEnvelope
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
}
export type GoodCategoryUpdateManyWithoutComplexNestedInput = {
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutComplexInput, Prisma.GoodCategoryUncheckedCreateWithoutComplexInput> | Prisma.GoodCategoryCreateWithoutComplexInput[] | Prisma.GoodCategoryUncheckedCreateWithoutComplexInput[]
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutComplexInput | Prisma.GoodCategoryCreateOrConnectWithoutComplexInput[]
upsert?: Prisma.GoodCategoryUpsertWithWhereUniqueWithoutComplexInput | Prisma.GoodCategoryUpsertWithWhereUniqueWithoutComplexInput[]
createMany?: Prisma.GoodCategoryCreateManyComplexInputEnvelope
set?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
disconnect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
delete?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
update?: Prisma.GoodCategoryUpdateWithWhereUniqueWithoutComplexInput | Prisma.GoodCategoryUpdateWithWhereUniqueWithoutComplexInput[]
updateMany?: Prisma.GoodCategoryUpdateManyWithWhereWithoutComplexInput | Prisma.GoodCategoryUpdateManyWithWhereWithoutComplexInput[]
deleteMany?: Prisma.GoodCategoryScalarWhereInput | Prisma.GoodCategoryScalarWhereInput[]
}
export type GoodCategoryUncheckedUpdateManyWithoutComplexNestedInput = {
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutComplexInput, Prisma.GoodCategoryUncheckedCreateWithoutComplexInput> | Prisma.GoodCategoryCreateWithoutComplexInput[] | Prisma.GoodCategoryUncheckedCreateWithoutComplexInput[]
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutComplexInput | Prisma.GoodCategoryCreateOrConnectWithoutComplexInput[]
upsert?: Prisma.GoodCategoryUpsertWithWhereUniqueWithoutComplexInput | Prisma.GoodCategoryUpsertWithWhereUniqueWithoutComplexInput[]
createMany?: Prisma.GoodCategoryCreateManyComplexInputEnvelope
set?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
disconnect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
delete?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
connect?: Prisma.GoodCategoryWhereUniqueInput | Prisma.GoodCategoryWhereUniqueInput[]
update?: Prisma.GoodCategoryUpdateWithWhereUniqueWithoutComplexInput | Prisma.GoodCategoryUpdateWithWhereUniqueWithoutComplexInput[]
updateMany?: Prisma.GoodCategoryUpdateManyWithWhereWithoutComplexInput | Prisma.GoodCategoryUpdateManyWithWhereWithoutComplexInput[]
deleteMany?: Prisma.GoodCategoryScalarWhereInput | Prisma.GoodCategoryScalarWhereInput[]
}
export type GoodCategoryCreateNestedOneWithoutGoodsInput = {
create?: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGoodsInput, Prisma.GoodCategoryUncheckedCreateWithoutGoodsInput>
connectOrCreate?: Prisma.GoodCategoryCreateOrConnectWithoutGoodsInput
@@ -428,16 +548,137 @@ 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 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 GoodCategoryCreateOrConnectWithoutGuildInput = {
where: Prisma.GoodCategoryWhereUniqueInput
create: Prisma.XOR<Prisma.GoodCategoryCreateWithoutGuildInput, Prisma.GoodCategoryUncheckedCreateWithoutGuildInput>
}
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 GoodCategoryCreateWithoutComplexInput = {
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
guild?: Prisma.GuildCreateNestedOneWithoutGood_categoriesInput
}
export type GoodCategoryUncheckedCreateWithoutComplexInput = {
id?: string
name: string
description?: string | null
image_url?: string | null
is_default_guild_good?: boolean
guild_id?: string | null
created_at?: Date | string
updated_at?: Date | string
deleted_at?: Date | string | null
goods?: Prisma.GoodUncheckedCreateNestedManyWithoutCategoryInput
}
export type GoodCategoryCreateOrConnectWithoutComplexInput = {
where: Prisma.GoodCategoryWhereUniqueInput
create: Prisma.XOR<Prisma.GoodCategoryCreateWithoutComplexInput, Prisma.GoodCategoryUncheckedCreateWithoutComplexInput>
}
export type GoodCategoryCreateManyComplexInputEnvelope = {
data: Prisma.GoodCategoryCreateManyComplexInput | Prisma.GoodCategoryCreateManyComplexInput[]
skipDuplicates?: boolean
}
export type GoodCategoryUpsertWithWhereUniqueWithoutComplexInput = {
where: Prisma.GoodCategoryWhereUniqueInput
update: Prisma.XOR<Prisma.GoodCategoryUpdateWithoutComplexInput, Prisma.GoodCategoryUncheckedUpdateWithoutComplexInput>
create: Prisma.XOR<Prisma.GoodCategoryCreateWithoutComplexInput, Prisma.GoodCategoryUncheckedCreateWithoutComplexInput>
}
export type GoodCategoryUpdateWithWhereUniqueWithoutComplexInput = {
where: Prisma.GoodCategoryWhereUniqueInput
data: Prisma.XOR<Prisma.GoodCategoryUpdateWithoutComplexInput, Prisma.GoodCategoryUncheckedUpdateWithoutComplexInput>
}
export type GoodCategoryUpdateManyWithWhereWithoutComplexInput = {
where: Prisma.GoodCategoryScalarWhereInput
data: Prisma.XOR<Prisma.GoodCategoryUpdateManyMutationInput, Prisma.GoodCategoryUncheckedUpdateManyWithoutComplexInput>
}
export type GoodCategoryCreateWithoutGoodsInput = {
id?: string
name: string
description?: string | null
image_url?: string | null
account_id: string
complex_id: string
is_default_guild_good?: boolean
created_at?: Date | string
updated_at?: Date | string
deleted_at?: Date | string | null
guild?: Prisma.GuildCreateNestedOneWithoutGood_categoriesInput
complex?: Prisma.ComplexCreateNestedOneWithoutGood_categoriesInput
}
export type GoodCategoryUncheckedCreateWithoutGoodsInput = {
@@ -445,8 +686,9 @@ export type GoodCategoryUncheckedCreateWithoutGoodsInput = {
name: string
description?: string | null
image_url?: string | null
account_id: string
complex_id: string
complex_id?: string | null
is_default_guild_good?: boolean
guild_id?: string | null
created_at?: Date | string
updated_at?: Date | string
deleted_at?: Date | string | null
@@ -473,11 +715,12 @@ export type GoodCategoryUpdateWithoutGoodsInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
account_id?: Prisma.StringFieldUpdateOperationsInput | string
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
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
guild?: Prisma.GuildUpdateOneWithoutGood_categoriesNestedInput
complex?: Prisma.ComplexUpdateOneWithoutGood_categoriesNestedInput
}
export type GoodCategoryUncheckedUpdateWithoutGoodsInput = {
@@ -485,8 +728,109 @@ export type GoodCategoryUncheckedUpdateWithoutGoodsInput = {
name?: Prisma.StringFieldUpdateOperationsInput | string
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
image_url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
account_id?: Prisma.StringFieldUpdateOperationsInput | string
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
complex_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
is_default_guild_good?: Prisma.BoolFieldUpdateOperationsInput | boolean
guild_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
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
}
export type GoodCategoryCreateManyComplexInput = {
id?: string
name: string
description?: string | null
image_url?: string | null
is_default_guild_good?: boolean
guild_id?: string | null
created_at?: Date | string
updated_at?: Date | string
deleted_at?: Date | string | null
}
export type GoodCategoryUpdateWithoutComplexInput = {
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
guild?: Prisma.GuildUpdateOneWithoutGood_categoriesNestedInput
}
export type GoodCategoryUncheckedUpdateWithoutComplexInput = {
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
guild_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
goods?: Prisma.GoodUncheckedUpdateManyWithoutCategoryNestedInput
}
export type GoodCategoryUncheckedUpdateManyWithoutComplexInput = {
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
guild_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
deleted_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
@@ -528,12 +872,15 @@ export type GoodCategorySelect<ExtArgs extends runtime.Types.Extensions.Internal
name?: boolean
description?: boolean
image_url?: boolean
account_id?: boolean
complex_id?: boolean
is_default_guild_good?: boolean
guild_id?: boolean
created_at?: boolean
updated_at?: boolean
deleted_at?: boolean
goods?: boolean | Prisma.GoodCategory$goodsArgs<ExtArgs>
guild?: boolean | Prisma.GoodCategory$guildArgs<ExtArgs>
complex?: boolean | Prisma.GoodCategory$complexArgs<ExtArgs>
_count?: boolean | Prisma.GoodCategoryCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["goodCategory"]>
@@ -544,16 +891,19 @@ export type GoodCategorySelectScalar = {
name?: boolean
description?: boolean
image_url?: boolean
account_id?: boolean
complex_id?: boolean
is_default_guild_good?: boolean
guild_id?: boolean
created_at?: boolean
updated_at?: boolean
deleted_at?: boolean
}
export type GoodCategoryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "image_url" | "account_id" | "complex_id" | "created_at" | "updated_at" | "deleted_at", ExtArgs["result"]["goodCategory"]>
export type GoodCategoryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "description" | "image_url" | "complex_id" | "is_default_guild_good" | "guild_id" | "created_at" | "updated_at" | "deleted_at", ExtArgs["result"]["goodCategory"]>
export type GoodCategoryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
goods?: boolean | Prisma.GoodCategory$goodsArgs<ExtArgs>
guild?: boolean | Prisma.GoodCategory$guildArgs<ExtArgs>
complex?: boolean | Prisma.GoodCategory$complexArgs<ExtArgs>
_count?: boolean | Prisma.GoodCategoryCountOutputTypeDefaultArgs<ExtArgs>
}
@@ -561,14 +911,17 @@ export type $GoodCategoryPayload<ExtArgs extends runtime.Types.Extensions.Intern
name: "GoodCategory"
objects: {
goods: Prisma.$GoodPayload<ExtArgs>[]
guild: Prisma.$GuildPayload<ExtArgs> | null
complex: Prisma.$ComplexPayload<ExtArgs> | null
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
name: string
description: string | null
image_url: string | null
account_id: string
complex_id: string
complex_id: string | null
is_default_guild_good: boolean
guild_id: string | null
created_at: Date
updated_at: Date
deleted_at: Date | null
@@ -913,6 +1266,8 @@ readonly fields: GoodCategoryFieldRefs;
export interface Prisma__GoodCategoryClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
goods<T extends Prisma.GoodCategory$goodsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.GoodCategory$goodsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GoodPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
guild<T extends Prisma.GoodCategory$guildArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.GoodCategory$guildArgs<ExtArgs>>): Prisma.Prisma__GuildClient<runtime.Types.Result.GetResult<Prisma.$GuildPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
complex<T extends Prisma.GoodCategory$complexArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.GoodCategory$complexArgs<ExtArgs>>): Prisma.Prisma__ComplexClient<runtime.Types.Result.GetResult<Prisma.$ComplexPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Attaches callbacks for the resolution and/or rejection of the Promise.
* @param onfulfilled The callback to execute when the Promise is resolved.
@@ -946,8 +1301,9 @@ export interface GoodCategoryFieldRefs {
readonly name: Prisma.FieldRef<"GoodCategory", 'String'>
readonly description: Prisma.FieldRef<"GoodCategory", 'String'>
readonly image_url: Prisma.FieldRef<"GoodCategory", 'String'>
readonly account_id: Prisma.FieldRef<"GoodCategory", 'String'>
readonly complex_id: Prisma.FieldRef<"GoodCategory", 'String'>
readonly is_default_guild_good: Prisma.FieldRef<"GoodCategory", 'Boolean'>
readonly guild_id: Prisma.FieldRef<"GoodCategory", 'String'>
readonly created_at: Prisma.FieldRef<"GoodCategory", 'DateTime'>
readonly updated_at: Prisma.FieldRef<"GoodCategory", 'DateTime'>
readonly deleted_at: Prisma.FieldRef<"GoodCategory", 'DateTime'>
@@ -1317,6 +1673,44 @@ export type GoodCategory$goodsArgs<ExtArgs extends runtime.Types.Extensions.Inte
distinct?: Prisma.GoodScalarFieldEnum | Prisma.GoodScalarFieldEnum[]
}
/**
* GoodCategory.guild
*/
export type GoodCategory$guildArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Guild
*/
select?: Prisma.GuildSelect<ExtArgs> | null
/**
* Omit specific fields from the Guild
*/
omit?: Prisma.GuildOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.GuildInclude<ExtArgs> | null
where?: Prisma.GuildWhereInput
}
/**
* GoodCategory.complex
*/
export type GoodCategory$complexArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Complex
*/
select?: Prisma.ComplexSelect<ExtArgs> | null
/**
* Omit specific fields from the Complex
*/
omit?: Prisma.ComplexOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.ComplexInclude<ExtArgs> | null
where?: Prisma.ComplexWhereInput
}
/**
* GoodCategory without action
*/