Add notificationText field to Server and Application Monitoring Notifications

This commit is contained in:
headlesdev 2025-05-25 22:45:35 +02:00
parent d51422e2a4
commit dc7280126d
9 changed files with 104 additions and 22 deletions

File diff suppressed because one or more lines are too long

View File

@ -203,13 +203,15 @@ exports.Prisma.ServerMonitoringNotificationScalarFieldEnum = {
gpuLimit: 'gpuLimit', gpuLimit: 'gpuLimit',
memoryLimit: 'memoryLimit', memoryLimit: 'memoryLimit',
diskLimit: 'diskLimit', diskLimit: 'diskLimit',
temperatureLimit: 'temperatureLimit' temperatureLimit: 'temperatureLimit',
notificationText: 'notificationText'
}; };
exports.Prisma.ApplicationMonitoringNotificationScalarFieldEnum = { exports.Prisma.ApplicationMonitoringNotificationScalarFieldEnum = {
id: 'id', id: 'id',
statusChange: 'statusChange', statusChange: 'statusChange',
latencyLimit: 'latencyLimit' latencyLimit: 'latencyLimit',
notificationText: 'notificationText'
}; };
exports.Prisma.NotificationProviderScalarFieldEnum = { exports.Prisma.NotificationProviderScalarFieldEnum = {

View File

@ -9991,6 +9991,7 @@ export namespace Prisma {
memoryLimit: number | null memoryLimit: number | null
diskLimit: number | null diskLimit: number | null
temperatureLimit: number | null temperatureLimit: number | null
notificationText: string | null
} }
export type ServerMonitoringNotificationMaxAggregateOutputType = { export type ServerMonitoringNotificationMaxAggregateOutputType = {
@ -10001,6 +10002,7 @@ export namespace Prisma {
memoryLimit: number | null memoryLimit: number | null
diskLimit: number | null diskLimit: number | null
temperatureLimit: number | null temperatureLimit: number | null
notificationText: string | null
} }
export type ServerMonitoringNotificationCountAggregateOutputType = { export type ServerMonitoringNotificationCountAggregateOutputType = {
@ -10011,6 +10013,7 @@ export namespace Prisma {
memoryLimit: number memoryLimit: number
diskLimit: number diskLimit: number
temperatureLimit: number temperatureLimit: number
notificationText: number
_all: number _all: number
} }
@ -10041,6 +10044,7 @@ export namespace Prisma {
memoryLimit?: true memoryLimit?: true
diskLimit?: true diskLimit?: true
temperatureLimit?: true temperatureLimit?: true
notificationText?: true
} }
export type ServerMonitoringNotificationMaxAggregateInputType = { export type ServerMonitoringNotificationMaxAggregateInputType = {
@ -10051,6 +10055,7 @@ export namespace Prisma {
memoryLimit?: true memoryLimit?: true
diskLimit?: true diskLimit?: true
temperatureLimit?: true temperatureLimit?: true
notificationText?: true
} }
export type ServerMonitoringNotificationCountAggregateInputType = { export type ServerMonitoringNotificationCountAggregateInputType = {
@ -10061,6 +10066,7 @@ export namespace Prisma {
memoryLimit?: true memoryLimit?: true
diskLimit?: true diskLimit?: true
temperatureLimit?: true temperatureLimit?: true
notificationText?: true
_all?: true _all?: true
} }
@ -10158,6 +10164,7 @@ export namespace Prisma {
memoryLimit: number memoryLimit: number
diskLimit: number diskLimit: number
temperatureLimit: number temperatureLimit: number
notificationText: string
_count: ServerMonitoringNotificationCountAggregateOutputType | null _count: ServerMonitoringNotificationCountAggregateOutputType | null
_avg: ServerMonitoringNotificationAvgAggregateOutputType | null _avg: ServerMonitoringNotificationAvgAggregateOutputType | null
_sum: ServerMonitoringNotificationSumAggregateOutputType | null _sum: ServerMonitoringNotificationSumAggregateOutputType | null
@ -10187,6 +10194,7 @@ export namespace Prisma {
memoryLimit?: boolean memoryLimit?: boolean
diskLimit?: boolean diskLimit?: boolean
temperatureLimit?: boolean temperatureLimit?: boolean
notificationText?: boolean
}, ExtArgs["result"]["serverMonitoringNotification"]> }, ExtArgs["result"]["serverMonitoringNotification"]>
export type ServerMonitoringNotificationSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{ export type ServerMonitoringNotificationSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
@ -10197,6 +10205,7 @@ export namespace Prisma {
memoryLimit?: boolean memoryLimit?: boolean
diskLimit?: boolean diskLimit?: boolean
temperatureLimit?: boolean temperatureLimit?: boolean
notificationText?: boolean
}, ExtArgs["result"]["serverMonitoringNotification"]> }, ExtArgs["result"]["serverMonitoringNotification"]>
export type ServerMonitoringNotificationSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{ export type ServerMonitoringNotificationSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
@ -10207,6 +10216,7 @@ export namespace Prisma {
memoryLimit?: boolean memoryLimit?: boolean
diskLimit?: boolean diskLimit?: boolean
temperatureLimit?: boolean temperatureLimit?: boolean
notificationText?: boolean
}, ExtArgs["result"]["serverMonitoringNotification"]> }, ExtArgs["result"]["serverMonitoringNotification"]>
export type ServerMonitoringNotificationSelectScalar = { export type ServerMonitoringNotificationSelectScalar = {
@ -10217,9 +10227,10 @@ export namespace Prisma {
memoryLimit?: boolean memoryLimit?: boolean
diskLimit?: boolean diskLimit?: boolean
temperatureLimit?: boolean temperatureLimit?: boolean
notificationText?: boolean
} }
export type ServerMonitoringNotificationOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "statusChange" | "cpuLimit" | "gpuLimit" | "memoryLimit" | "diskLimit" | "temperatureLimit", ExtArgs["result"]["serverMonitoringNotification"]> export type ServerMonitoringNotificationOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "statusChange" | "cpuLimit" | "gpuLimit" | "memoryLimit" | "diskLimit" | "temperatureLimit" | "notificationText", ExtArgs["result"]["serverMonitoringNotification"]>
export type $ServerMonitoringNotificationPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = { export type $ServerMonitoringNotificationPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
name: "ServerMonitoringNotification" name: "ServerMonitoringNotification"
@ -10232,6 +10243,7 @@ export namespace Prisma {
memoryLimit: number memoryLimit: number
diskLimit: number diskLimit: number
temperatureLimit: number temperatureLimit: number
notificationText: string
}, ExtArgs["result"]["serverMonitoringNotification"]> }, ExtArgs["result"]["serverMonitoringNotification"]>
composites: {} composites: {}
} }
@ -10662,6 +10674,7 @@ export namespace Prisma {
readonly memoryLimit: FieldRef<"ServerMonitoringNotification", 'Float'> readonly memoryLimit: FieldRef<"ServerMonitoringNotification", 'Float'>
readonly diskLimit: FieldRef<"ServerMonitoringNotification", 'Float'> readonly diskLimit: FieldRef<"ServerMonitoringNotification", 'Float'>
readonly temperatureLimit: FieldRef<"ServerMonitoringNotification", 'Float'> readonly temperatureLimit: FieldRef<"ServerMonitoringNotification", 'Float'>
readonly notificationText: FieldRef<"ServerMonitoringNotification", 'String'>
} }
@ -11054,18 +11067,21 @@ export namespace Prisma {
id: number | null id: number | null
statusChange: boolean | null statusChange: boolean | null
latencyLimit: number | null latencyLimit: number | null
notificationText: string | null
} }
export type ApplicationMonitoringNotificationMaxAggregateOutputType = { export type ApplicationMonitoringNotificationMaxAggregateOutputType = {
id: number | null id: number | null
statusChange: boolean | null statusChange: boolean | null
latencyLimit: number | null latencyLimit: number | null
notificationText: string | null
} }
export type ApplicationMonitoringNotificationCountAggregateOutputType = { export type ApplicationMonitoringNotificationCountAggregateOutputType = {
id: number id: number
statusChange: number statusChange: number
latencyLimit: number latencyLimit: number
notificationText: number
_all: number _all: number
} }
@ -11084,18 +11100,21 @@ export namespace Prisma {
id?: true id?: true
statusChange?: true statusChange?: true
latencyLimit?: true latencyLimit?: true
notificationText?: true
} }
export type ApplicationMonitoringNotificationMaxAggregateInputType = { export type ApplicationMonitoringNotificationMaxAggregateInputType = {
id?: true id?: true
statusChange?: true statusChange?: true
latencyLimit?: true latencyLimit?: true
notificationText?: true
} }
export type ApplicationMonitoringNotificationCountAggregateInputType = { export type ApplicationMonitoringNotificationCountAggregateInputType = {
id?: true id?: true
statusChange?: true statusChange?: true
latencyLimit?: true latencyLimit?: true
notificationText?: true
_all?: true _all?: true
} }
@ -11189,6 +11208,7 @@ export namespace Prisma {
id: number id: number
statusChange: boolean statusChange: boolean
latencyLimit: number latencyLimit: number
notificationText: string
_count: ApplicationMonitoringNotificationCountAggregateOutputType | null _count: ApplicationMonitoringNotificationCountAggregateOutputType | null
_avg: ApplicationMonitoringNotificationAvgAggregateOutputType | null _avg: ApplicationMonitoringNotificationAvgAggregateOutputType | null
_sum: ApplicationMonitoringNotificationSumAggregateOutputType | null _sum: ApplicationMonitoringNotificationSumAggregateOutputType | null
@ -11214,27 +11234,31 @@ export namespace Prisma {
id?: boolean id?: boolean
statusChange?: boolean statusChange?: boolean
latencyLimit?: boolean latencyLimit?: boolean
notificationText?: boolean
}, ExtArgs["result"]["applicationMonitoringNotification"]> }, ExtArgs["result"]["applicationMonitoringNotification"]>
export type ApplicationMonitoringNotificationSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{ export type ApplicationMonitoringNotificationSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
id?: boolean id?: boolean
statusChange?: boolean statusChange?: boolean
latencyLimit?: boolean latencyLimit?: boolean
notificationText?: boolean
}, ExtArgs["result"]["applicationMonitoringNotification"]> }, ExtArgs["result"]["applicationMonitoringNotification"]>
export type ApplicationMonitoringNotificationSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{ export type ApplicationMonitoringNotificationSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
id?: boolean id?: boolean
statusChange?: boolean statusChange?: boolean
latencyLimit?: boolean latencyLimit?: boolean
notificationText?: boolean
}, ExtArgs["result"]["applicationMonitoringNotification"]> }, ExtArgs["result"]["applicationMonitoringNotification"]>
export type ApplicationMonitoringNotificationSelectScalar = { export type ApplicationMonitoringNotificationSelectScalar = {
id?: boolean id?: boolean
statusChange?: boolean statusChange?: boolean
latencyLimit?: boolean latencyLimit?: boolean
notificationText?: boolean
} }
export type ApplicationMonitoringNotificationOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "statusChange" | "latencyLimit", ExtArgs["result"]["applicationMonitoringNotification"]> export type ApplicationMonitoringNotificationOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "statusChange" | "latencyLimit" | "notificationText", ExtArgs["result"]["applicationMonitoringNotification"]>
export type $ApplicationMonitoringNotificationPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = { export type $ApplicationMonitoringNotificationPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
name: "ApplicationMonitoringNotification" name: "ApplicationMonitoringNotification"
@ -11243,6 +11267,7 @@ export namespace Prisma {
id: number id: number
statusChange: boolean statusChange: boolean
latencyLimit: number latencyLimit: number
notificationText: string
}, ExtArgs["result"]["applicationMonitoringNotification"]> }, ExtArgs["result"]["applicationMonitoringNotification"]>
composites: {} composites: {}
} }
@ -11669,6 +11694,7 @@ export namespace Prisma {
readonly id: FieldRef<"ApplicationMonitoringNotification", 'Int'> readonly id: FieldRef<"ApplicationMonitoringNotification", 'Int'>
readonly statusChange: FieldRef<"ApplicationMonitoringNotification", 'Boolean'> readonly statusChange: FieldRef<"ApplicationMonitoringNotification", 'Boolean'>
readonly latencyLimit: FieldRef<"ApplicationMonitoringNotification", 'Float'> readonly latencyLimit: FieldRef<"ApplicationMonitoringNotification", 'Float'>
readonly notificationText: FieldRef<"ApplicationMonitoringNotification", 'String'>
} }
@ -14323,7 +14349,8 @@ export namespace Prisma {
gpuLimit: 'gpuLimit', gpuLimit: 'gpuLimit',
memoryLimit: 'memoryLimit', memoryLimit: 'memoryLimit',
diskLimit: 'diskLimit', diskLimit: 'diskLimit',
temperatureLimit: 'temperatureLimit' temperatureLimit: 'temperatureLimit',
notificationText: 'notificationText'
}; };
export type ServerMonitoringNotificationScalarFieldEnum = (typeof ServerMonitoringNotificationScalarFieldEnum)[keyof typeof ServerMonitoringNotificationScalarFieldEnum] export type ServerMonitoringNotificationScalarFieldEnum = (typeof ServerMonitoringNotificationScalarFieldEnum)[keyof typeof ServerMonitoringNotificationScalarFieldEnum]
@ -14332,7 +14359,8 @@ export namespace Prisma {
export const ApplicationMonitoringNotificationScalarFieldEnum: { export const ApplicationMonitoringNotificationScalarFieldEnum: {
id: 'id', id: 'id',
statusChange: 'statusChange', statusChange: 'statusChange',
latencyLimit: 'latencyLimit' latencyLimit: 'latencyLimit',
notificationText: 'notificationText'
}; };
export type ApplicationMonitoringNotificationScalarFieldEnum = (typeof ApplicationMonitoringNotificationScalarFieldEnum)[keyof typeof ApplicationMonitoringNotificationScalarFieldEnum] export type ApplicationMonitoringNotificationScalarFieldEnum = (typeof ApplicationMonitoringNotificationScalarFieldEnum)[keyof typeof ApplicationMonitoringNotificationScalarFieldEnum]
@ -15014,6 +15042,7 @@ export namespace Prisma {
memoryLimit?: FloatFilter<"ServerMonitoringNotification"> | number memoryLimit?: FloatFilter<"ServerMonitoringNotification"> | number
diskLimit?: FloatFilter<"ServerMonitoringNotification"> | number diskLimit?: FloatFilter<"ServerMonitoringNotification"> | number
temperatureLimit?: FloatFilter<"ServerMonitoringNotification"> | number temperatureLimit?: FloatFilter<"ServerMonitoringNotification"> | number
notificationText?: StringFilter<"ServerMonitoringNotification"> | string
} }
export type ServerMonitoringNotificationOrderByWithRelationInput = { export type ServerMonitoringNotificationOrderByWithRelationInput = {
@ -15024,6 +15053,7 @@ export namespace Prisma {
memoryLimit?: SortOrder memoryLimit?: SortOrder
diskLimit?: SortOrder diskLimit?: SortOrder
temperatureLimit?: SortOrder temperatureLimit?: SortOrder
notificationText?: SortOrder
} }
export type ServerMonitoringNotificationWhereUniqueInput = Prisma.AtLeast<{ export type ServerMonitoringNotificationWhereUniqueInput = Prisma.AtLeast<{
@ -15037,6 +15067,7 @@ export namespace Prisma {
memoryLimit?: FloatFilter<"ServerMonitoringNotification"> | number memoryLimit?: FloatFilter<"ServerMonitoringNotification"> | number
diskLimit?: FloatFilter<"ServerMonitoringNotification"> | number diskLimit?: FloatFilter<"ServerMonitoringNotification"> | number
temperatureLimit?: FloatFilter<"ServerMonitoringNotification"> | number temperatureLimit?: FloatFilter<"ServerMonitoringNotification"> | number
notificationText?: StringFilter<"ServerMonitoringNotification"> | string
}, "id"> }, "id">
export type ServerMonitoringNotificationOrderByWithAggregationInput = { export type ServerMonitoringNotificationOrderByWithAggregationInput = {
@ -15047,6 +15078,7 @@ export namespace Prisma {
memoryLimit?: SortOrder memoryLimit?: SortOrder
diskLimit?: SortOrder diskLimit?: SortOrder
temperatureLimit?: SortOrder temperatureLimit?: SortOrder
notificationText?: SortOrder
_count?: ServerMonitoringNotificationCountOrderByAggregateInput _count?: ServerMonitoringNotificationCountOrderByAggregateInput
_avg?: ServerMonitoringNotificationAvgOrderByAggregateInput _avg?: ServerMonitoringNotificationAvgOrderByAggregateInput
_max?: ServerMonitoringNotificationMaxOrderByAggregateInput _max?: ServerMonitoringNotificationMaxOrderByAggregateInput
@ -15065,6 +15097,7 @@ export namespace Prisma {
memoryLimit?: FloatWithAggregatesFilter<"ServerMonitoringNotification"> | number memoryLimit?: FloatWithAggregatesFilter<"ServerMonitoringNotification"> | number
diskLimit?: FloatWithAggregatesFilter<"ServerMonitoringNotification"> | number diskLimit?: FloatWithAggregatesFilter<"ServerMonitoringNotification"> | number
temperatureLimit?: FloatWithAggregatesFilter<"ServerMonitoringNotification"> | number temperatureLimit?: FloatWithAggregatesFilter<"ServerMonitoringNotification"> | number
notificationText?: StringWithAggregatesFilter<"ServerMonitoringNotification"> | string
} }
export type ApplicationMonitoringNotificationWhereInput = { export type ApplicationMonitoringNotificationWhereInput = {
@ -15074,12 +15107,14 @@ export namespace Prisma {
id?: IntFilter<"ApplicationMonitoringNotification"> | number id?: IntFilter<"ApplicationMonitoringNotification"> | number
statusChange?: BoolFilter<"ApplicationMonitoringNotification"> | boolean statusChange?: BoolFilter<"ApplicationMonitoringNotification"> | boolean
latencyLimit?: FloatFilter<"ApplicationMonitoringNotification"> | number latencyLimit?: FloatFilter<"ApplicationMonitoringNotification"> | number
notificationText?: StringFilter<"ApplicationMonitoringNotification"> | string
} }
export type ApplicationMonitoringNotificationOrderByWithRelationInput = { export type ApplicationMonitoringNotificationOrderByWithRelationInput = {
id?: SortOrder id?: SortOrder
statusChange?: SortOrder statusChange?: SortOrder
latencyLimit?: SortOrder latencyLimit?: SortOrder
notificationText?: SortOrder
} }
export type ApplicationMonitoringNotificationWhereUniqueInput = Prisma.AtLeast<{ export type ApplicationMonitoringNotificationWhereUniqueInput = Prisma.AtLeast<{
@ -15089,12 +15124,14 @@ export namespace Prisma {
NOT?: ApplicationMonitoringNotificationWhereInput | ApplicationMonitoringNotificationWhereInput[] NOT?: ApplicationMonitoringNotificationWhereInput | ApplicationMonitoringNotificationWhereInput[]
statusChange?: BoolFilter<"ApplicationMonitoringNotification"> | boolean statusChange?: BoolFilter<"ApplicationMonitoringNotification"> | boolean
latencyLimit?: FloatFilter<"ApplicationMonitoringNotification"> | number latencyLimit?: FloatFilter<"ApplicationMonitoringNotification"> | number
notificationText?: StringFilter<"ApplicationMonitoringNotification"> | string
}, "id"> }, "id">
export type ApplicationMonitoringNotificationOrderByWithAggregationInput = { export type ApplicationMonitoringNotificationOrderByWithAggregationInput = {
id?: SortOrder id?: SortOrder
statusChange?: SortOrder statusChange?: SortOrder
latencyLimit?: SortOrder latencyLimit?: SortOrder
notificationText?: SortOrder
_count?: ApplicationMonitoringNotificationCountOrderByAggregateInput _count?: ApplicationMonitoringNotificationCountOrderByAggregateInput
_avg?: ApplicationMonitoringNotificationAvgOrderByAggregateInput _avg?: ApplicationMonitoringNotificationAvgOrderByAggregateInput
_max?: ApplicationMonitoringNotificationMaxOrderByAggregateInput _max?: ApplicationMonitoringNotificationMaxOrderByAggregateInput
@ -15109,6 +15146,7 @@ export namespace Prisma {
id?: IntWithAggregatesFilter<"ApplicationMonitoringNotification"> | number id?: IntWithAggregatesFilter<"ApplicationMonitoringNotification"> | number
statusChange?: BoolWithAggregatesFilter<"ApplicationMonitoringNotification"> | boolean statusChange?: BoolWithAggregatesFilter<"ApplicationMonitoringNotification"> | boolean
latencyLimit?: FloatWithAggregatesFilter<"ApplicationMonitoringNotification"> | number latencyLimit?: FloatWithAggregatesFilter<"ApplicationMonitoringNotification"> | number
notificationText?: StringWithAggregatesFilter<"ApplicationMonitoringNotification"> | string
} }
export type NotificationProviderWhereInput = { export type NotificationProviderWhereInput = {
@ -15751,6 +15789,7 @@ export namespace Prisma {
memoryLimit: number memoryLimit: number
diskLimit: number diskLimit: number
temperatureLimit: number temperatureLimit: number
notificationText: string
} }
export type ServerMonitoringNotificationUncheckedCreateInput = { export type ServerMonitoringNotificationUncheckedCreateInput = {
@ -15761,6 +15800,7 @@ export namespace Prisma {
memoryLimit: number memoryLimit: number
diskLimit: number diskLimit: number
temperatureLimit: number temperatureLimit: number
notificationText: string
} }
export type ServerMonitoringNotificationUpdateInput = { export type ServerMonitoringNotificationUpdateInput = {
@ -15770,6 +15810,7 @@ export namespace Prisma {
memoryLimit?: FloatFieldUpdateOperationsInput | number memoryLimit?: FloatFieldUpdateOperationsInput | number
diskLimit?: FloatFieldUpdateOperationsInput | number diskLimit?: FloatFieldUpdateOperationsInput | number
temperatureLimit?: FloatFieldUpdateOperationsInput | number temperatureLimit?: FloatFieldUpdateOperationsInput | number
notificationText?: StringFieldUpdateOperationsInput | string
} }
export type ServerMonitoringNotificationUncheckedUpdateInput = { export type ServerMonitoringNotificationUncheckedUpdateInput = {
@ -15780,6 +15821,7 @@ export namespace Prisma {
memoryLimit?: FloatFieldUpdateOperationsInput | number memoryLimit?: FloatFieldUpdateOperationsInput | number
diskLimit?: FloatFieldUpdateOperationsInput | number diskLimit?: FloatFieldUpdateOperationsInput | number
temperatureLimit?: FloatFieldUpdateOperationsInput | number temperatureLimit?: FloatFieldUpdateOperationsInput | number
notificationText?: StringFieldUpdateOperationsInput | string
} }
export type ServerMonitoringNotificationCreateManyInput = { export type ServerMonitoringNotificationCreateManyInput = {
@ -15790,6 +15832,7 @@ export namespace Prisma {
memoryLimit: number memoryLimit: number
diskLimit: number diskLimit: number
temperatureLimit: number temperatureLimit: number
notificationText: string
} }
export type ServerMonitoringNotificationUpdateManyMutationInput = { export type ServerMonitoringNotificationUpdateManyMutationInput = {
@ -15799,6 +15842,7 @@ export namespace Prisma {
memoryLimit?: FloatFieldUpdateOperationsInput | number memoryLimit?: FloatFieldUpdateOperationsInput | number
diskLimit?: FloatFieldUpdateOperationsInput | number diskLimit?: FloatFieldUpdateOperationsInput | number
temperatureLimit?: FloatFieldUpdateOperationsInput | number temperatureLimit?: FloatFieldUpdateOperationsInput | number
notificationText?: StringFieldUpdateOperationsInput | string
} }
export type ServerMonitoringNotificationUncheckedUpdateManyInput = { export type ServerMonitoringNotificationUncheckedUpdateManyInput = {
@ -15809,45 +15853,53 @@ export namespace Prisma {
memoryLimit?: FloatFieldUpdateOperationsInput | number memoryLimit?: FloatFieldUpdateOperationsInput | number
diskLimit?: FloatFieldUpdateOperationsInput | number diskLimit?: FloatFieldUpdateOperationsInput | number
temperatureLimit?: FloatFieldUpdateOperationsInput | number temperatureLimit?: FloatFieldUpdateOperationsInput | number
notificationText?: StringFieldUpdateOperationsInput | string
} }
export type ApplicationMonitoringNotificationCreateInput = { export type ApplicationMonitoringNotificationCreateInput = {
statusChange: boolean statusChange: boolean
latencyLimit: number latencyLimit: number
notificationText: string
} }
export type ApplicationMonitoringNotificationUncheckedCreateInput = { export type ApplicationMonitoringNotificationUncheckedCreateInput = {
id?: number id?: number
statusChange: boolean statusChange: boolean
latencyLimit: number latencyLimit: number
notificationText: string
} }
export type ApplicationMonitoringNotificationUpdateInput = { export type ApplicationMonitoringNotificationUpdateInput = {
statusChange?: BoolFieldUpdateOperationsInput | boolean statusChange?: BoolFieldUpdateOperationsInput | boolean
latencyLimit?: FloatFieldUpdateOperationsInput | number latencyLimit?: FloatFieldUpdateOperationsInput | number
notificationText?: StringFieldUpdateOperationsInput | string
} }
export type ApplicationMonitoringNotificationUncheckedUpdateInput = { export type ApplicationMonitoringNotificationUncheckedUpdateInput = {
id?: IntFieldUpdateOperationsInput | number id?: IntFieldUpdateOperationsInput | number
statusChange?: BoolFieldUpdateOperationsInput | boolean statusChange?: BoolFieldUpdateOperationsInput | boolean
latencyLimit?: FloatFieldUpdateOperationsInput | number latencyLimit?: FloatFieldUpdateOperationsInput | number
notificationText?: StringFieldUpdateOperationsInput | string
} }
export type ApplicationMonitoringNotificationCreateManyInput = { export type ApplicationMonitoringNotificationCreateManyInput = {
id?: number id?: number
statusChange: boolean statusChange: boolean
latencyLimit: number latencyLimit: number
notificationText: string
} }
export type ApplicationMonitoringNotificationUpdateManyMutationInput = { export type ApplicationMonitoringNotificationUpdateManyMutationInput = {
statusChange?: BoolFieldUpdateOperationsInput | boolean statusChange?: BoolFieldUpdateOperationsInput | boolean
latencyLimit?: FloatFieldUpdateOperationsInput | number latencyLimit?: FloatFieldUpdateOperationsInput | number
notificationText?: StringFieldUpdateOperationsInput | string
} }
export type ApplicationMonitoringNotificationUncheckedUpdateManyInput = { export type ApplicationMonitoringNotificationUncheckedUpdateManyInput = {
id?: IntFieldUpdateOperationsInput | number id?: IntFieldUpdateOperationsInput | number
statusChange?: BoolFieldUpdateOperationsInput | boolean statusChange?: BoolFieldUpdateOperationsInput | boolean
latencyLimit?: FloatFieldUpdateOperationsInput | number latencyLimit?: FloatFieldUpdateOperationsInput | number
notificationText?: StringFieldUpdateOperationsInput | string
} }
export type NotificationProviderCreateInput = { export type NotificationProviderCreateInput = {
@ -16515,6 +16567,7 @@ export namespace Prisma {
memoryLimit?: SortOrder memoryLimit?: SortOrder
diskLimit?: SortOrder diskLimit?: SortOrder
temperatureLimit?: SortOrder temperatureLimit?: SortOrder
notificationText?: SortOrder
} }
export type ServerMonitoringNotificationAvgOrderByAggregateInput = { export type ServerMonitoringNotificationAvgOrderByAggregateInput = {
@ -16534,6 +16587,7 @@ export namespace Prisma {
memoryLimit?: SortOrder memoryLimit?: SortOrder
diskLimit?: SortOrder diskLimit?: SortOrder
temperatureLimit?: SortOrder temperatureLimit?: SortOrder
notificationText?: SortOrder
} }
export type ServerMonitoringNotificationMinOrderByAggregateInput = { export type ServerMonitoringNotificationMinOrderByAggregateInput = {
@ -16544,6 +16598,7 @@ export namespace Prisma {
memoryLimit?: SortOrder memoryLimit?: SortOrder
diskLimit?: SortOrder diskLimit?: SortOrder
temperatureLimit?: SortOrder temperatureLimit?: SortOrder
notificationText?: SortOrder
} }
export type ServerMonitoringNotificationSumOrderByAggregateInput = { export type ServerMonitoringNotificationSumOrderByAggregateInput = {
@ -16559,6 +16614,7 @@ export namespace Prisma {
id?: SortOrder id?: SortOrder
statusChange?: SortOrder statusChange?: SortOrder
latencyLimit?: SortOrder latencyLimit?: SortOrder
notificationText?: SortOrder
} }
export type ApplicationMonitoringNotificationAvgOrderByAggregateInput = { export type ApplicationMonitoringNotificationAvgOrderByAggregateInput = {
@ -16570,12 +16626,14 @@ export namespace Prisma {
id?: SortOrder id?: SortOrder
statusChange?: SortOrder statusChange?: SortOrder
latencyLimit?: SortOrder latencyLimit?: SortOrder
notificationText?: SortOrder
} }
export type ApplicationMonitoringNotificationMinOrderByAggregateInput = { export type ApplicationMonitoringNotificationMinOrderByAggregateInput = {
id?: SortOrder id?: SortOrder
statusChange?: SortOrder statusChange?: SortOrder
latencyLimit?: SortOrder latencyLimit?: SortOrder
notificationText?: SortOrder
} }
export type ApplicationMonitoringNotificationSumOrderByAggregateInput = { export type ApplicationMonitoringNotificationSumOrderByAggregateInput = {

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
{ {
"name": "prisma-client-b823c94fe5f895d95db8009db18bc50e6809c8320115146287940edb857ae7b6", "name": "prisma-client-ceb758502e3133384183e55bf39f3c7d2401a964558969943136088b2750e02f",
"main": "index.js", "main": "index.js",
"types": "index.d.ts", "types": "index.d.ts",
"browser": "index-browser.js", "browser": "index-browser.js",

View File

@ -126,6 +126,7 @@ model ServerMonitoringNotification {
memoryLimit Float memoryLimit Float
diskLimit Float diskLimit Float
temperatureLimit Float temperatureLimit Float
notificationText String
@@map("server_monitoring_notifications") @@map("server_monitoring_notifications")
} }
@ -134,6 +135,7 @@ model ApplicationMonitoringNotification {
id Int @id @default(autoincrement()) id Int @id @default(autoincrement())
statusChange Boolean statusChange Boolean
latencyLimit Float latencyLimit Float
notificationText String
@@map("application_monitoring_notifications") @@map("application_monitoring_notifications")
} }

View File

@ -203,13 +203,15 @@ exports.Prisma.ServerMonitoringNotificationScalarFieldEnum = {
gpuLimit: 'gpuLimit', gpuLimit: 'gpuLimit',
memoryLimit: 'memoryLimit', memoryLimit: 'memoryLimit',
diskLimit: 'diskLimit', diskLimit: 'diskLimit',
temperatureLimit: 'temperatureLimit' temperatureLimit: 'temperatureLimit',
notificationText: 'notificationText'
}; };
exports.Prisma.ApplicationMonitoringNotificationScalarFieldEnum = { exports.Prisma.ApplicationMonitoringNotificationScalarFieldEnum = {
id: 'id', id: 'id',
statusChange: 'statusChange', statusChange: 'statusChange',
latencyLimit: 'latencyLimit' latencyLimit: 'latencyLimit',
notificationText: 'notificationText'
}; };
exports.Prisma.NotificationProviderScalarFieldEnum = { exports.Prisma.NotificationProviderScalarFieldEnum = {

View File

@ -0,0 +1,12 @@
/*
Warnings:
- Added the required column `notificationText` to the `application_monitoring_notifications` table without a default value. This is not possible if the table is not empty.
- Added the required column `notificationText` to the `server_monitoring_notifications` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "application_monitoring_notifications" ADD COLUMN "notificationText" TEXT NOT NULL;
-- AlterTable
ALTER TABLE "server_monitoring_notifications" ADD COLUMN "notificationText" TEXT NOT NULL;

View File

@ -128,6 +128,7 @@ model ServerMonitoringNotification {
memoryLimit Float memoryLimit Float
diskLimit Float diskLimit Float
temperatureLimit Float temperatureLimit Float
notificationText String
@@map("server_monitoring_notifications") @@map("server_monitoring_notifications")
} }
@ -136,6 +137,7 @@ model ApplicationMonitoringNotification {
id Int @id @default(autoincrement()) id Int @id @default(autoincrement())
statusChange Boolean statusChange Boolean
latencyLimit Float latencyLimit Float
notificationText String
@@map("application_monitoring_notifications") @@map("application_monitoring_notifications")
} }