Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
+295
-27
@@ -47,6 +47,7 @@ export type FileUploadMinAggregateOutputType = {
|
||||
updatedAt: Date | null
|
||||
tenantId: string | null
|
||||
createdByUserId: string | null
|
||||
createdByPortalUserId: string | null
|
||||
originalFilename: string | null
|
||||
totalSizeBytes: number | null
|
||||
mimeType: string | null
|
||||
@@ -64,6 +65,7 @@ export type FileUploadMaxAggregateOutputType = {
|
||||
updatedAt: Date | null
|
||||
tenantId: string | null
|
||||
createdByUserId: string | null
|
||||
createdByPortalUserId: string | null
|
||||
originalFilename: string | null
|
||||
totalSizeBytes: number | null
|
||||
mimeType: string | null
|
||||
@@ -81,6 +83,7 @@ export type FileUploadCountAggregateOutputType = {
|
||||
updatedAt: number
|
||||
tenantId: number
|
||||
createdByUserId: number
|
||||
createdByPortalUserId: number
|
||||
originalFilename: number
|
||||
totalSizeBytes: number
|
||||
mimeType: number
|
||||
@@ -112,6 +115,7 @@ export type FileUploadMinAggregateInputType = {
|
||||
updatedAt?: true
|
||||
tenantId?: true
|
||||
createdByUserId?: true
|
||||
createdByPortalUserId?: true
|
||||
originalFilename?: true
|
||||
totalSizeBytes?: true
|
||||
mimeType?: true
|
||||
@@ -129,6 +133,7 @@ export type FileUploadMaxAggregateInputType = {
|
||||
updatedAt?: true
|
||||
tenantId?: true
|
||||
createdByUserId?: true
|
||||
createdByPortalUserId?: true
|
||||
originalFilename?: true
|
||||
totalSizeBytes?: true
|
||||
mimeType?: true
|
||||
@@ -146,6 +151,7 @@ export type FileUploadCountAggregateInputType = {
|
||||
updatedAt?: true
|
||||
tenantId?: true
|
||||
createdByUserId?: true
|
||||
createdByPortalUserId?: true
|
||||
originalFilename?: true
|
||||
totalSizeBytes?: true
|
||||
mimeType?: true
|
||||
@@ -249,7 +255,8 @@ export type FileUploadGroupByOutputType = {
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
tenantId: string
|
||||
createdByUserId: string
|
||||
createdByUserId: string | null
|
||||
createdByPortalUserId: string | null
|
||||
originalFilename: string
|
||||
totalSizeBytes: number
|
||||
mimeType: string
|
||||
@@ -289,7 +296,8 @@ export type FileUploadWhereInput = {
|
||||
createdAt?: Prisma.DateTimeFilter<"FileUpload"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"FileUpload"> | Date | string
|
||||
tenantId?: Prisma.StringFilter<"FileUpload"> | string
|
||||
createdByUserId?: Prisma.StringFilter<"FileUpload"> | string
|
||||
createdByUserId?: Prisma.StringNullableFilter<"FileUpload"> | string | null
|
||||
createdByPortalUserId?: Prisma.StringNullableFilter<"FileUpload"> | string | null
|
||||
originalFilename?: Prisma.StringFilter<"FileUpload"> | string
|
||||
totalSizeBytes?: Prisma.IntFilter<"FileUpload"> | number
|
||||
mimeType?: Prisma.StringFilter<"FileUpload"> | string
|
||||
@@ -300,6 +308,7 @@ export type FileUploadWhereInput = {
|
||||
expiresAt?: Prisma.DateTimeFilter<"FileUpload"> | Date | string
|
||||
failureReason?: Prisma.StringNullableFilter<"FileUpload"> | string | null
|
||||
chunks?: Prisma.FileUploadChunkListRelationFilter
|
||||
createdByPortalUser?: Prisma.XOR<Prisma.PortalUserNullableScalarRelationFilter, Prisma.PortalUserWhereInput> | null
|
||||
}
|
||||
|
||||
export type FileUploadOrderByWithRelationInput = {
|
||||
@@ -307,7 +316,8 @@ export type FileUploadOrderByWithRelationInput = {
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
tenantId?: Prisma.SortOrder
|
||||
createdByUserId?: Prisma.SortOrder
|
||||
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
createdByPortalUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
originalFilename?: Prisma.SortOrder
|
||||
totalSizeBytes?: Prisma.SortOrder
|
||||
mimeType?: Prisma.SortOrder
|
||||
@@ -318,6 +328,7 @@ export type FileUploadOrderByWithRelationInput = {
|
||||
expiresAt?: Prisma.SortOrder
|
||||
failureReason?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
chunks?: Prisma.FileUploadChunkOrderByRelationAggregateInput
|
||||
createdByPortalUser?: Prisma.PortalUserOrderByWithRelationInput
|
||||
}
|
||||
|
||||
export type FileUploadWhereUniqueInput = Prisma.AtLeast<{
|
||||
@@ -328,7 +339,8 @@ export type FileUploadWhereUniqueInput = Prisma.AtLeast<{
|
||||
createdAt?: Prisma.DateTimeFilter<"FileUpload"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"FileUpload"> | Date | string
|
||||
tenantId?: Prisma.StringFilter<"FileUpload"> | string
|
||||
createdByUserId?: Prisma.StringFilter<"FileUpload"> | string
|
||||
createdByUserId?: Prisma.StringNullableFilter<"FileUpload"> | string | null
|
||||
createdByPortalUserId?: Prisma.StringNullableFilter<"FileUpload"> | string | null
|
||||
originalFilename?: Prisma.StringFilter<"FileUpload"> | string
|
||||
totalSizeBytes?: Prisma.IntFilter<"FileUpload"> | number
|
||||
mimeType?: Prisma.StringFilter<"FileUpload"> | string
|
||||
@@ -339,6 +351,7 @@ export type FileUploadWhereUniqueInput = Prisma.AtLeast<{
|
||||
expiresAt?: Prisma.DateTimeFilter<"FileUpload"> | Date | string
|
||||
failureReason?: Prisma.StringNullableFilter<"FileUpload"> | string | null
|
||||
chunks?: Prisma.FileUploadChunkListRelationFilter
|
||||
createdByPortalUser?: Prisma.XOR<Prisma.PortalUserNullableScalarRelationFilter, Prisma.PortalUserWhereInput> | null
|
||||
}, "id">
|
||||
|
||||
export type FileUploadOrderByWithAggregationInput = {
|
||||
@@ -346,7 +359,8 @@ export type FileUploadOrderByWithAggregationInput = {
|
||||
createdAt?: Prisma.SortOrder
|
||||
updatedAt?: Prisma.SortOrder
|
||||
tenantId?: Prisma.SortOrder
|
||||
createdByUserId?: Prisma.SortOrder
|
||||
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
createdByPortalUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
||||
originalFilename?: Prisma.SortOrder
|
||||
totalSizeBytes?: Prisma.SortOrder
|
||||
mimeType?: Prisma.SortOrder
|
||||
@@ -371,7 +385,8 @@ export type FileUploadScalarWhereWithAggregatesInput = {
|
||||
createdAt?: Prisma.DateTimeWithAggregatesFilter<"FileUpload"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"FileUpload"> | Date | string
|
||||
tenantId?: Prisma.StringWithAggregatesFilter<"FileUpload"> | string
|
||||
createdByUserId?: Prisma.StringWithAggregatesFilter<"FileUpload"> | string
|
||||
createdByUserId?: Prisma.StringNullableWithAggregatesFilter<"FileUpload"> | string | null
|
||||
createdByPortalUserId?: Prisma.StringNullableWithAggregatesFilter<"FileUpload"> | string | null
|
||||
originalFilename?: Prisma.StringWithAggregatesFilter<"FileUpload"> | string
|
||||
totalSizeBytes?: Prisma.IntWithAggregatesFilter<"FileUpload"> | number
|
||||
mimeType?: Prisma.StringWithAggregatesFilter<"FileUpload"> | string
|
||||
@@ -387,8 +402,7 @@ export type FileUploadCreateInput = {
|
||||
id?: string
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
tenantId: string
|
||||
createdByUserId: string
|
||||
createdByUserId?: string | null
|
||||
originalFilename: string
|
||||
totalSizeBytes: number
|
||||
mimeType: string
|
||||
@@ -399,6 +413,7 @@ export type FileUploadCreateInput = {
|
||||
expiresAt: Date | string
|
||||
failureReason?: string | null
|
||||
chunks?: Prisma.FileUploadChunkCreateNestedManyWithoutUploadInput
|
||||
createdByPortalUser?: Prisma.PortalUserCreateNestedOneWithoutFileUploadsInput
|
||||
}
|
||||
|
||||
export type FileUploadUncheckedCreateInput = {
|
||||
@@ -406,7 +421,8 @@ export type FileUploadUncheckedCreateInput = {
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
tenantId: string
|
||||
createdByUserId: string
|
||||
createdByUserId?: string | null
|
||||
createdByPortalUserId?: string | null
|
||||
originalFilename: string
|
||||
totalSizeBytes: number
|
||||
mimeType: string
|
||||
@@ -423,8 +439,7 @@ export type FileUploadUpdateInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
originalFilename?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
totalSizeBytes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -435,6 +450,7 @@ export type FileUploadUpdateInput = {
|
||||
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
failureReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
chunks?: Prisma.FileUploadChunkUpdateManyWithoutUploadNestedInput
|
||||
createdByPortalUser?: Prisma.PortalUserUpdateOneWithoutFileUploadsNestedInput
|
||||
}
|
||||
|
||||
export type FileUploadUncheckedUpdateInput = {
|
||||
@@ -442,7 +458,8 @@ export type FileUploadUncheckedUpdateInput = {
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdByPortalUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
originalFilename?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
totalSizeBytes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -460,7 +477,8 @@ export type FileUploadCreateManyInput = {
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
tenantId: string
|
||||
createdByUserId: string
|
||||
createdByUserId?: string | null
|
||||
createdByPortalUserId?: string | null
|
||||
originalFilename: string
|
||||
totalSizeBytes: number
|
||||
mimeType: string
|
||||
@@ -476,8 +494,7 @@ export type FileUploadUpdateManyMutationInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
originalFilename?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
totalSizeBytes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -494,7 +511,8 @@ export type FileUploadUncheckedUpdateManyInput = {
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdByPortalUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
originalFilename?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
totalSizeBytes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -512,6 +530,7 @@ export type FileUploadCountOrderByAggregateInput = {
|
||||
updatedAt?: Prisma.SortOrder
|
||||
tenantId?: Prisma.SortOrder
|
||||
createdByUserId?: Prisma.SortOrder
|
||||
createdByPortalUserId?: Prisma.SortOrder
|
||||
originalFilename?: Prisma.SortOrder
|
||||
totalSizeBytes?: Prisma.SortOrder
|
||||
mimeType?: Prisma.SortOrder
|
||||
@@ -535,6 +554,7 @@ export type FileUploadMaxOrderByAggregateInput = {
|
||||
updatedAt?: Prisma.SortOrder
|
||||
tenantId?: Prisma.SortOrder
|
||||
createdByUserId?: Prisma.SortOrder
|
||||
createdByPortalUserId?: Prisma.SortOrder
|
||||
originalFilename?: Prisma.SortOrder
|
||||
totalSizeBytes?: Prisma.SortOrder
|
||||
mimeType?: Prisma.SortOrder
|
||||
@@ -552,6 +572,7 @@ export type FileUploadMinOrderByAggregateInput = {
|
||||
updatedAt?: Prisma.SortOrder
|
||||
tenantId?: Prisma.SortOrder
|
||||
createdByUserId?: Prisma.SortOrder
|
||||
createdByPortalUserId?: Prisma.SortOrder
|
||||
originalFilename?: Prisma.SortOrder
|
||||
totalSizeBytes?: Prisma.SortOrder
|
||||
mimeType?: Prisma.SortOrder
|
||||
@@ -574,6 +595,16 @@ export type FileUploadScalarRelationFilter = {
|
||||
isNot?: Prisma.FileUploadWhereInput
|
||||
}
|
||||
|
||||
export type FileUploadListRelationFilter = {
|
||||
every?: Prisma.FileUploadWhereInput
|
||||
some?: Prisma.FileUploadWhereInput
|
||||
none?: Prisma.FileUploadWhereInput
|
||||
}
|
||||
|
||||
export type FileUploadOrderByRelationAggregateInput = {
|
||||
_count?: Prisma.SortOrder
|
||||
}
|
||||
|
||||
export type EnumFileUploadStatusFieldUpdateOperationsInput = {
|
||||
set?: $Enums.FileUploadStatus
|
||||
}
|
||||
@@ -592,12 +623,53 @@ export type FileUploadUpdateOneRequiredWithoutChunksNestedInput = {
|
||||
update?: Prisma.XOR<Prisma.XOR<Prisma.FileUploadUpdateToOneWithWhereWithoutChunksInput, Prisma.FileUploadUpdateWithoutChunksInput>, Prisma.FileUploadUncheckedUpdateWithoutChunksInput>
|
||||
}
|
||||
|
||||
export type FileUploadCreateNestedManyWithoutCreatedByPortalUserInput = {
|
||||
create?: Prisma.XOR<Prisma.FileUploadCreateWithoutCreatedByPortalUserInput, Prisma.FileUploadUncheckedCreateWithoutCreatedByPortalUserInput> | Prisma.FileUploadCreateWithoutCreatedByPortalUserInput[] | Prisma.FileUploadUncheckedCreateWithoutCreatedByPortalUserInput[]
|
||||
connectOrCreate?: Prisma.FileUploadCreateOrConnectWithoutCreatedByPortalUserInput | Prisma.FileUploadCreateOrConnectWithoutCreatedByPortalUserInput[]
|
||||
createMany?: Prisma.FileUploadCreateManyCreatedByPortalUserInputEnvelope
|
||||
connect?: Prisma.FileUploadWhereUniqueInput | Prisma.FileUploadWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type FileUploadUncheckedCreateNestedManyWithoutCreatedByPortalUserInput = {
|
||||
create?: Prisma.XOR<Prisma.FileUploadCreateWithoutCreatedByPortalUserInput, Prisma.FileUploadUncheckedCreateWithoutCreatedByPortalUserInput> | Prisma.FileUploadCreateWithoutCreatedByPortalUserInput[] | Prisma.FileUploadUncheckedCreateWithoutCreatedByPortalUserInput[]
|
||||
connectOrCreate?: Prisma.FileUploadCreateOrConnectWithoutCreatedByPortalUserInput | Prisma.FileUploadCreateOrConnectWithoutCreatedByPortalUserInput[]
|
||||
createMany?: Prisma.FileUploadCreateManyCreatedByPortalUserInputEnvelope
|
||||
connect?: Prisma.FileUploadWhereUniqueInput | Prisma.FileUploadWhereUniqueInput[]
|
||||
}
|
||||
|
||||
export type FileUploadUpdateManyWithoutCreatedByPortalUserNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.FileUploadCreateWithoutCreatedByPortalUserInput, Prisma.FileUploadUncheckedCreateWithoutCreatedByPortalUserInput> | Prisma.FileUploadCreateWithoutCreatedByPortalUserInput[] | Prisma.FileUploadUncheckedCreateWithoutCreatedByPortalUserInput[]
|
||||
connectOrCreate?: Prisma.FileUploadCreateOrConnectWithoutCreatedByPortalUserInput | Prisma.FileUploadCreateOrConnectWithoutCreatedByPortalUserInput[]
|
||||
upsert?: Prisma.FileUploadUpsertWithWhereUniqueWithoutCreatedByPortalUserInput | Prisma.FileUploadUpsertWithWhereUniqueWithoutCreatedByPortalUserInput[]
|
||||
createMany?: Prisma.FileUploadCreateManyCreatedByPortalUserInputEnvelope
|
||||
set?: Prisma.FileUploadWhereUniqueInput | Prisma.FileUploadWhereUniqueInput[]
|
||||
disconnect?: Prisma.FileUploadWhereUniqueInput | Prisma.FileUploadWhereUniqueInput[]
|
||||
delete?: Prisma.FileUploadWhereUniqueInput | Prisma.FileUploadWhereUniqueInput[]
|
||||
connect?: Prisma.FileUploadWhereUniqueInput | Prisma.FileUploadWhereUniqueInput[]
|
||||
update?: Prisma.FileUploadUpdateWithWhereUniqueWithoutCreatedByPortalUserInput | Prisma.FileUploadUpdateWithWhereUniqueWithoutCreatedByPortalUserInput[]
|
||||
updateMany?: Prisma.FileUploadUpdateManyWithWhereWithoutCreatedByPortalUserInput | Prisma.FileUploadUpdateManyWithWhereWithoutCreatedByPortalUserInput[]
|
||||
deleteMany?: Prisma.FileUploadScalarWhereInput | Prisma.FileUploadScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type FileUploadUncheckedUpdateManyWithoutCreatedByPortalUserNestedInput = {
|
||||
create?: Prisma.XOR<Prisma.FileUploadCreateWithoutCreatedByPortalUserInput, Prisma.FileUploadUncheckedCreateWithoutCreatedByPortalUserInput> | Prisma.FileUploadCreateWithoutCreatedByPortalUserInput[] | Prisma.FileUploadUncheckedCreateWithoutCreatedByPortalUserInput[]
|
||||
connectOrCreate?: Prisma.FileUploadCreateOrConnectWithoutCreatedByPortalUserInput | Prisma.FileUploadCreateOrConnectWithoutCreatedByPortalUserInput[]
|
||||
upsert?: Prisma.FileUploadUpsertWithWhereUniqueWithoutCreatedByPortalUserInput | Prisma.FileUploadUpsertWithWhereUniqueWithoutCreatedByPortalUserInput[]
|
||||
createMany?: Prisma.FileUploadCreateManyCreatedByPortalUserInputEnvelope
|
||||
set?: Prisma.FileUploadWhereUniqueInput | Prisma.FileUploadWhereUniqueInput[]
|
||||
disconnect?: Prisma.FileUploadWhereUniqueInput | Prisma.FileUploadWhereUniqueInput[]
|
||||
delete?: Prisma.FileUploadWhereUniqueInput | Prisma.FileUploadWhereUniqueInput[]
|
||||
connect?: Prisma.FileUploadWhereUniqueInput | Prisma.FileUploadWhereUniqueInput[]
|
||||
update?: Prisma.FileUploadUpdateWithWhereUniqueWithoutCreatedByPortalUserInput | Prisma.FileUploadUpdateWithWhereUniqueWithoutCreatedByPortalUserInput[]
|
||||
updateMany?: Prisma.FileUploadUpdateManyWithWhereWithoutCreatedByPortalUserInput | Prisma.FileUploadUpdateManyWithWhereWithoutCreatedByPortalUserInput[]
|
||||
deleteMany?: Prisma.FileUploadScalarWhereInput | Prisma.FileUploadScalarWhereInput[]
|
||||
}
|
||||
|
||||
export type FileUploadCreateWithoutChunksInput = {
|
||||
id?: string
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
tenantId: string
|
||||
createdByUserId: string
|
||||
createdByUserId?: string | null
|
||||
originalFilename: string
|
||||
totalSizeBytes: number
|
||||
mimeType: string
|
||||
@@ -607,6 +679,7 @@ export type FileUploadCreateWithoutChunksInput = {
|
||||
targetFileId?: string | null
|
||||
expiresAt: Date | string
|
||||
failureReason?: string | null
|
||||
createdByPortalUser?: Prisma.PortalUserCreateNestedOneWithoutFileUploadsInput
|
||||
}
|
||||
|
||||
export type FileUploadUncheckedCreateWithoutChunksInput = {
|
||||
@@ -614,7 +687,8 @@ export type FileUploadUncheckedCreateWithoutChunksInput = {
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
tenantId: string
|
||||
createdByUserId: string
|
||||
createdByUserId?: string | null
|
||||
createdByPortalUserId?: string | null
|
||||
originalFilename: string
|
||||
totalSizeBytes: number
|
||||
mimeType: string
|
||||
@@ -643,11 +717,29 @@ export type FileUploadUpdateToOneWithWhereWithoutChunksInput = {
|
||||
}
|
||||
|
||||
export type FileUploadUpdateWithoutChunksInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
originalFilename?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
totalSizeBytes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
totalChunks?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
receivedChunks?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
status?: Prisma.EnumFileUploadStatusFieldUpdateOperationsInput | $Enums.FileUploadStatus
|
||||
targetFileId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
failureReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdByPortalUser?: Prisma.PortalUserUpdateOneWithoutFileUploadsNestedInput
|
||||
}
|
||||
|
||||
export type FileUploadUncheckedUpdateWithoutChunksInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
createdByPortalUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
originalFilename?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
totalSizeBytes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -659,12 +751,142 @@ export type FileUploadUpdateWithoutChunksInput = {
|
||||
failureReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
}
|
||||
|
||||
export type FileUploadUncheckedUpdateWithoutChunksInput = {
|
||||
export type FileUploadCreateWithoutCreatedByPortalUserInput = {
|
||||
id?: string
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
createdByUserId?: string | null
|
||||
originalFilename: string
|
||||
totalSizeBytes: number
|
||||
mimeType: string
|
||||
totalChunks: number
|
||||
receivedChunks?: number
|
||||
status?: $Enums.FileUploadStatus
|
||||
targetFileId?: string | null
|
||||
expiresAt: Date | string
|
||||
failureReason?: string | null
|
||||
chunks?: Prisma.FileUploadChunkCreateNestedManyWithoutUploadInput
|
||||
}
|
||||
|
||||
export type FileUploadUncheckedCreateWithoutCreatedByPortalUserInput = {
|
||||
id?: string
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
createdByUserId?: string | null
|
||||
originalFilename: string
|
||||
totalSizeBytes: number
|
||||
mimeType: string
|
||||
totalChunks: number
|
||||
receivedChunks?: number
|
||||
status?: $Enums.FileUploadStatus
|
||||
targetFileId?: string | null
|
||||
expiresAt: Date | string
|
||||
failureReason?: string | null
|
||||
chunks?: Prisma.FileUploadChunkUncheckedCreateNestedManyWithoutUploadInput
|
||||
}
|
||||
|
||||
export type FileUploadCreateOrConnectWithoutCreatedByPortalUserInput = {
|
||||
where: Prisma.FileUploadWhereUniqueInput
|
||||
create: Prisma.XOR<Prisma.FileUploadCreateWithoutCreatedByPortalUserInput, Prisma.FileUploadUncheckedCreateWithoutCreatedByPortalUserInput>
|
||||
}
|
||||
|
||||
export type FileUploadCreateManyCreatedByPortalUserInputEnvelope = {
|
||||
data: Prisma.FileUploadCreateManyCreatedByPortalUserInput | Prisma.FileUploadCreateManyCreatedByPortalUserInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
export type FileUploadUpsertWithWhereUniqueWithoutCreatedByPortalUserInput = {
|
||||
where: Prisma.FileUploadWhereUniqueInput
|
||||
update: Prisma.XOR<Prisma.FileUploadUpdateWithoutCreatedByPortalUserInput, Prisma.FileUploadUncheckedUpdateWithoutCreatedByPortalUserInput>
|
||||
create: Prisma.XOR<Prisma.FileUploadCreateWithoutCreatedByPortalUserInput, Prisma.FileUploadUncheckedCreateWithoutCreatedByPortalUserInput>
|
||||
}
|
||||
|
||||
export type FileUploadUpdateWithWhereUniqueWithoutCreatedByPortalUserInput = {
|
||||
where: Prisma.FileUploadWhereUniqueInput
|
||||
data: Prisma.XOR<Prisma.FileUploadUpdateWithoutCreatedByPortalUserInput, Prisma.FileUploadUncheckedUpdateWithoutCreatedByPortalUserInput>
|
||||
}
|
||||
|
||||
export type FileUploadUpdateManyWithWhereWithoutCreatedByPortalUserInput = {
|
||||
where: Prisma.FileUploadScalarWhereInput
|
||||
data: Prisma.XOR<Prisma.FileUploadUpdateManyMutationInput, Prisma.FileUploadUncheckedUpdateManyWithoutCreatedByPortalUserInput>
|
||||
}
|
||||
|
||||
export type FileUploadScalarWhereInput = {
|
||||
AND?: Prisma.FileUploadScalarWhereInput | Prisma.FileUploadScalarWhereInput[]
|
||||
OR?: Prisma.FileUploadScalarWhereInput[]
|
||||
NOT?: Prisma.FileUploadScalarWhereInput | Prisma.FileUploadScalarWhereInput[]
|
||||
id?: Prisma.StringFilter<"FileUpload"> | string
|
||||
createdAt?: Prisma.DateTimeFilter<"FileUpload"> | Date | string
|
||||
updatedAt?: Prisma.DateTimeFilter<"FileUpload"> | Date | string
|
||||
tenantId?: Prisma.StringFilter<"FileUpload"> | string
|
||||
createdByUserId?: Prisma.StringNullableFilter<"FileUpload"> | string | null
|
||||
createdByPortalUserId?: Prisma.StringNullableFilter<"FileUpload"> | string | null
|
||||
originalFilename?: Prisma.StringFilter<"FileUpload"> | string
|
||||
totalSizeBytes?: Prisma.IntFilter<"FileUpload"> | number
|
||||
mimeType?: Prisma.StringFilter<"FileUpload"> | string
|
||||
totalChunks?: Prisma.IntFilter<"FileUpload"> | number
|
||||
receivedChunks?: Prisma.IntFilter<"FileUpload"> | number
|
||||
status?: Prisma.EnumFileUploadStatusFilter<"FileUpload"> | $Enums.FileUploadStatus
|
||||
targetFileId?: Prisma.StringNullableFilter<"FileUpload"> | string | null
|
||||
expiresAt?: Prisma.DateTimeFilter<"FileUpload"> | Date | string
|
||||
failureReason?: Prisma.StringNullableFilter<"FileUpload"> | string | null
|
||||
}
|
||||
|
||||
export type FileUploadCreateManyCreatedByPortalUserInput = {
|
||||
id?: string
|
||||
createdAt?: Date | string
|
||||
updatedAt?: Date | string
|
||||
createdByUserId?: string | null
|
||||
originalFilename: string
|
||||
totalSizeBytes: number
|
||||
mimeType: string
|
||||
totalChunks: number
|
||||
receivedChunks?: number
|
||||
status?: $Enums.FileUploadStatus
|
||||
targetFileId?: string | null
|
||||
expiresAt: Date | string
|
||||
failureReason?: string | null
|
||||
}
|
||||
|
||||
export type FileUploadUpdateWithoutCreatedByPortalUserInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdByUserId?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
originalFilename?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
totalSizeBytes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
totalChunks?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
receivedChunks?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
status?: Prisma.EnumFileUploadStatusFieldUpdateOperationsInput | $Enums.FileUploadStatus
|
||||
targetFileId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
failureReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
chunks?: Prisma.FileUploadChunkUpdateManyWithoutUploadNestedInput
|
||||
}
|
||||
|
||||
export type FileUploadUncheckedUpdateWithoutCreatedByPortalUserInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
originalFilename?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
totalSizeBytes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
totalChunks?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
receivedChunks?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
status?: Prisma.EnumFileUploadStatusFieldUpdateOperationsInput | $Enums.FileUploadStatus
|
||||
targetFileId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
failureReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
chunks?: Prisma.FileUploadChunkUncheckedUpdateManyWithoutUploadNestedInput
|
||||
}
|
||||
|
||||
export type FileUploadUncheckedUpdateManyWithoutCreatedByPortalUserInput = {
|
||||
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||||
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||||
originalFilename?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
totalSizeBytes?: Prisma.IntFieldUpdateOperationsInput | number
|
||||
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
||||
@@ -713,6 +935,7 @@ export type FileUploadSelect<ExtArgs extends runtime.Types.Extensions.InternalAr
|
||||
updatedAt?: boolean
|
||||
tenantId?: boolean
|
||||
createdByUserId?: boolean
|
||||
createdByPortalUserId?: boolean
|
||||
originalFilename?: boolean
|
||||
totalSizeBytes?: boolean
|
||||
mimeType?: boolean
|
||||
@@ -723,6 +946,7 @@ export type FileUploadSelect<ExtArgs extends runtime.Types.Extensions.InternalAr
|
||||
expiresAt?: boolean
|
||||
failureReason?: boolean
|
||||
chunks?: boolean | Prisma.FileUpload$chunksArgs<ExtArgs>
|
||||
createdByPortalUser?: boolean | Prisma.FileUpload$createdByPortalUserArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.FileUploadCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["fileUpload"]>
|
||||
|
||||
@@ -732,6 +956,7 @@ export type FileUploadSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Ex
|
||||
updatedAt?: boolean
|
||||
tenantId?: boolean
|
||||
createdByUserId?: boolean
|
||||
createdByPortalUserId?: boolean
|
||||
originalFilename?: boolean
|
||||
totalSizeBytes?: boolean
|
||||
mimeType?: boolean
|
||||
@@ -741,6 +966,7 @@ export type FileUploadSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Ex
|
||||
targetFileId?: boolean
|
||||
expiresAt?: boolean
|
||||
failureReason?: boolean
|
||||
createdByPortalUser?: boolean | Prisma.FileUpload$createdByPortalUserArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["fileUpload"]>
|
||||
|
||||
export type FileUploadSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||||
@@ -749,6 +975,7 @@ export type FileUploadSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Ex
|
||||
updatedAt?: boolean
|
||||
tenantId?: boolean
|
||||
createdByUserId?: boolean
|
||||
createdByPortalUserId?: boolean
|
||||
originalFilename?: boolean
|
||||
totalSizeBytes?: boolean
|
||||
mimeType?: boolean
|
||||
@@ -758,6 +985,7 @@ export type FileUploadSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Ex
|
||||
targetFileId?: boolean
|
||||
expiresAt?: boolean
|
||||
failureReason?: boolean
|
||||
createdByPortalUser?: boolean | Prisma.FileUpload$createdByPortalUserArgs<ExtArgs>
|
||||
}, ExtArgs["result"]["fileUpload"]>
|
||||
|
||||
export type FileUploadSelectScalar = {
|
||||
@@ -766,6 +994,7 @@ export type FileUploadSelectScalar = {
|
||||
updatedAt?: boolean
|
||||
tenantId?: boolean
|
||||
createdByUserId?: boolean
|
||||
createdByPortalUserId?: boolean
|
||||
originalFilename?: boolean
|
||||
totalSizeBytes?: boolean
|
||||
mimeType?: boolean
|
||||
@@ -777,25 +1006,35 @@ export type FileUploadSelectScalar = {
|
||||
failureReason?: boolean
|
||||
}
|
||||
|
||||
export type FileUploadOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "createdByUserId" | "originalFilename" | "totalSizeBytes" | "mimeType" | "totalChunks" | "receivedChunks" | "status" | "targetFileId" | "expiresAt" | "failureReason", ExtArgs["result"]["fileUpload"]>
|
||||
export type FileUploadOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "createdByUserId" | "createdByPortalUserId" | "originalFilename" | "totalSizeBytes" | "mimeType" | "totalChunks" | "receivedChunks" | "status" | "targetFileId" | "expiresAt" | "failureReason", ExtArgs["result"]["fileUpload"]>
|
||||
export type FileUploadInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
chunks?: boolean | Prisma.FileUpload$chunksArgs<ExtArgs>
|
||||
createdByPortalUser?: boolean | Prisma.FileUpload$createdByPortalUserArgs<ExtArgs>
|
||||
_count?: boolean | Prisma.FileUploadCountOutputTypeDefaultArgs<ExtArgs>
|
||||
}
|
||||
export type FileUploadIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
||||
export type FileUploadIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
||||
export type FileUploadIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
createdByPortalUser?: boolean | Prisma.FileUpload$createdByPortalUserArgs<ExtArgs>
|
||||
}
|
||||
export type FileUploadIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
createdByPortalUser?: boolean | Prisma.FileUpload$createdByPortalUserArgs<ExtArgs>
|
||||
}
|
||||
|
||||
export type $FileUploadPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
name: "FileUpload"
|
||||
objects: {
|
||||
chunks: Prisma.$FileUploadChunkPayload<ExtArgs>[]
|
||||
createdByPortalUser: Prisma.$PortalUserPayload<ExtArgs> | null
|
||||
}
|
||||
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||||
id: string
|
||||
createdAt: Date
|
||||
updatedAt: Date
|
||||
tenantId: string
|
||||
createdByUserId: string
|
||||
/**
|
||||
* Exactly one actor column is set; see the merge-migration CHECK contract.
|
||||
*/
|
||||
createdByUserId: string | null
|
||||
createdByPortalUserId: string | null
|
||||
originalFilename: string
|
||||
totalSizeBytes: number
|
||||
mimeType: string
|
||||
@@ -1200,6 +1439,7 @@ readonly fields: FileUploadFieldRefs;
|
||||
export interface Prisma__FileUploadClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
||||
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||||
chunks<T extends Prisma.FileUpload$chunksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FileUpload$chunksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FileUploadChunkPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||||
createdByPortalUser<T extends Prisma.FileUpload$createdByPortalUserArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.FileUpload$createdByPortalUserArgs<ExtArgs>>): Prisma.Prisma__PortalUserClient<runtime.Types.Result.GetResult<Prisma.$PortalUserPayload<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.
|
||||
@@ -1234,6 +1474,7 @@ export interface FileUploadFieldRefs {
|
||||
readonly updatedAt: Prisma.FieldRef<"FileUpload", 'DateTime'>
|
||||
readonly tenantId: Prisma.FieldRef<"FileUpload", 'String'>
|
||||
readonly createdByUserId: Prisma.FieldRef<"FileUpload", 'String'>
|
||||
readonly createdByPortalUserId: Prisma.FieldRef<"FileUpload", 'String'>
|
||||
readonly originalFilename: Prisma.FieldRef<"FileUpload", 'String'>
|
||||
readonly totalSizeBytes: Prisma.FieldRef<"FileUpload", 'Int'>
|
||||
readonly mimeType: Prisma.FieldRef<"FileUpload", 'String'>
|
||||
@@ -1497,6 +1738,10 @@ export type FileUploadCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Exte
|
||||
*/
|
||||
data: Prisma.FileUploadCreateManyInput | Prisma.FileUploadCreateManyInput[]
|
||||
skipDuplicates?: boolean
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.FileUploadIncludeCreateManyAndReturn<ExtArgs> | null
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1567,6 +1812,10 @@ export type FileUploadUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Exte
|
||||
* Limit how many FileUploads to update.
|
||||
*/
|
||||
limit?: number
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.FileUploadIncludeUpdateManyAndReturn<ExtArgs> | null
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1659,6 +1908,25 @@ export type FileUpload$chunksArgs<ExtArgs extends runtime.Types.Extensions.Inter
|
||||
distinct?: Prisma.FileUploadChunkScalarFieldEnum | Prisma.FileUploadChunkScalarFieldEnum[]
|
||||
}
|
||||
|
||||
/**
|
||||
* FileUpload.createdByPortalUser
|
||||
*/
|
||||
export type FileUpload$createdByPortalUserArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||||
/**
|
||||
* Select specific fields to fetch from the PortalUser
|
||||
*/
|
||||
select?: Prisma.PortalUserSelect<ExtArgs> | null
|
||||
/**
|
||||
* Omit specific fields from the PortalUser
|
||||
*/
|
||||
omit?: Prisma.PortalUserOmit<ExtArgs> | null
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
include?: Prisma.PortalUserInclude<ExtArgs> | null
|
||||
where?: Prisma.PortalUserWhereInput
|
||||
}
|
||||
|
||||
/**
|
||||
* FileUpload without action
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user