From 534e240eff4fbece003949df0c40c5f02921d6d2 Mon Sep 17 00:00:00 2001 From: Spacelord Date: Fri, 17 Jan 2025 23:02:39 +0100 Subject: [PATCH] Current state --- docs/index.html | 24589 +++++++++++++++++++-------- docs/schema.dbml | 77 +- package-lock.json | 17 + package.json | 1 + prisma/schema.prisma | 125 +- src/handlers/db.ts | 80 +- src/handlers/log.ts | 35 +- src/index.ts | 53 +- src/routes/api/v1/alertContacts.ts | 116 + src/routes/api/v1/index.ts | 9 +- src/routes/api/v1/version.ts | 9 + src/routes/frontend/index.ts | 2 + src/routes/frontend/test.ts | 7 + src/routes/index.ts | 1 + static/apiWrapper.js | 109 + static/favicon.svg | 3 + static/logo.svg | 3 + static/pageDriver.js | 301 + views/index.eta | 4 +- views/partials/base_foot.eta | 2 + views/partials/base_head.eta | 3 +- views/partials/footer.eta | 6 +- views/partials/nav.eta | 21 +- views/test.eta | 118 + 24 files changed, 18717 insertions(+), 6974 deletions(-) create mode 100644 src/routes/api/v1/alertContacts.ts create mode 100644 src/routes/api/v1/version.ts create mode 100644 src/routes/frontend/test.ts create mode 100644 static/apiWrapper.js create mode 100644 static/favicon.svg create mode 100644 static/logo.svg create mode 100644 static/pageDriver.js create mode 100644 views/test.eta diff --git a/docs/index.html b/docs/index.html index 85c7e7b..47e4849 100644 --- a/docs/index.html +++ b/docs/index.html @@ -42,19 +42,19 @@
  • @@ -62,19 +62,19 @@
  • @@ -82,19 +82,19 @@
  • @@ -102,19 +102,39 @@
  • +
  • + +
  • + +
    + content +
    + + +
  • @@ -127,7 +147,7 @@ Input Types
  • @@ -135,7 +155,7 @@ Output Types
  • @@ -148,11 +168,11 @@

    Models

    -

    AlarmContacts

    +

    alerts

    -

    Fields

    +

    Fields

    @@ -166,7 +186,7 @@ - + @@ -186,7 +206,816 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    id
    + type + + alertType + +
      +
    • -
    • +
    +
    + Yes + + - +
    + message + + String? + +
      +
    • -
    • +
    +
    + No + + - +
    + actionplan + + actionPlan? + +
      +
    • -
    • +
    +
    + No + + - +
    + actionplanId + + Int? + +
      +
    • -
    • +
    +
    + No + + - +
    + date + + DateTime + +
      +
    • -
    • +
    +
    + Yes + + - +
    + state + + alertState + +
      +
    • -
    • +
    +
    + Yes + + - +
    + acknowledged_by + + alertContacts[] + +
      +
    • -
    • +
    +
    + Yes + + - +
    + acknowledged_at + + DateTime? + +
      +
    • -
    • +
    +
    + No + + - +
    +
    +
    +
    +
    +

    Operations

    +
    + +
    +

    findUnique

    +

    Find zero or one Alerts

    +
    +
    // Get one Alerts
    +const alerts = await prisma.alerts.findUnique({
    +  where: {
    +    // ... provide filter here
    +  }
    +})
    +
    +
    +

    Input

    + + + + + + + + + + + + + + + + + +
    NameTypeRequired
    + where + + alertsWhereUniqueInput + + Yes +
    +

    Output

    +
    Type: alerts
    +
    Required: + No
    +
    List: + No
    +
    +
    +
    +

    findFirst

    +

    Find first Alerts

    +
    +
    // Get one Alerts
    +const alerts = await prisma.alerts.findFirst({
    +  where: {
    +    // ... provide filter here
    +  }
    +})
    +
    +
    +

    Input

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeRequired
    + where + + alertsWhereInput + + No +
    + orderBy + + alertsOrderByWithRelationInput[] | alertsOrderByWithRelationInput + + No +
    + cursor + + alertsWhereUniqueInput + + No +
    + take + + Int + + No +
    + skip + + Int + + No +
    + distinct + + AlertsScalarFieldEnum | AlertsScalarFieldEnum[] + + No +
    +

    Output

    +
    Type: alerts
    +
    Required: + No
    +
    List: + No
    +
    +
    +
    +

    findMany

    +

    Find zero or more Alerts

    +
    +
    // Get all Alerts
    +const Alerts = await prisma.alerts.findMany()
    +// Get first 10 Alerts
    +const Alerts = await prisma.alerts.findMany({ take: 10 })
    +
    +
    +

    Input

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeRequired
    + where + + alertsWhereInput + + No +
    + orderBy + + alertsOrderByWithRelationInput[] | alertsOrderByWithRelationInput + + No +
    + cursor + + alertsWhereUniqueInput + + No +
    + take + + Int + + No +
    + skip + + Int + + No +
    + distinct + + AlertsScalarFieldEnum | AlertsScalarFieldEnum[] + + No +
    +

    Output

    +
    Type: alerts
    +
    Required: + Yes
    +
    List: + Yes
    +
    +
    +
    +

    create

    +

    Create one Alerts

    +
    +
    // Create one Alerts
    +const Alerts = await prisma.alerts.create({
    +  data: {
    +    // ... data to create a Alerts
    +  }
    +})
    +
    +
    +

    Input

    + + + + + + + + + + + + + + + + + +
    NameTypeRequired
    + data + + alertsCreateInput | alertsUncheckedCreateInput + + Yes +
    +

    Output

    +
    Type: alerts
    +
    Required: + Yes
    +
    List: + No
    +
    +
    +
    +

    delete

    +

    Delete one Alerts

    +
    +
    // Delete one Alerts
    +const Alerts = await prisma.alerts.delete({
    +  where: {
    +    // ... filter to delete one Alerts
    +  }
    +})
    +
    +

    Input

    + + + + + + + + + + + + + + + + + +
    NameTypeRequired
    + where + + alertsWhereUniqueInput + + Yes +
    +

    Output

    +
    Type: alerts
    +
    Required: + No
    +
    List: + No
    +
    +
    +
    +

    update

    +

    Update one Alerts

    +
    +
    // Update one Alerts
    +const alerts = await prisma.alerts.update({
    +  where: {
    +    // ... provide filter here
    +  },
    +  data: {
    +    // ... provide data here
    +  }
    +})
    +
    +
    +

    Input

    + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeRequired
    + data + + alertsUpdateInput | alertsUncheckedUpdateInput + + Yes +
    + where + + alertsWhereUniqueInput + + Yes +
    +

    Output

    +
    Type: alerts
    +
    Required: + No
    +
    List: + No
    +
    +
    +
    +

    deleteMany

    +

    Delete zero or more Alerts

    +
    +
    // Delete a few Alerts
    +const { count } = await prisma.alerts.deleteMany({
    +  where: {
    +    // ... provide filter here
    +  }
    +})
    +
    +
    +

    Input

    + + + + + + + + + + + + + + + + + +
    NameTypeRequired
    + where + + alertsWhereInput + + No +
    +

    Output

    + +
    Required: + Yes
    +
    List: + No
    +
    +
    +
    +

    updateMany

    +

    Update zero or one Alerts

    +
    +
    const { count } = await prisma.alerts.updateMany({
    +  where: {
    +    // ... provide filter here
    +  },
    +  data: {
    +    // ... provide data here
    +  }
    +})
    +
    +

    Input

    + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeRequired
    + data + + alertsUpdateManyMutationInput | alertsUncheckedUpdateManyInput + + Yes +
    + where + + alertsWhereInput + + No +
    +

    Output

    + +
    Required: + Yes
    +
    List: + No
    +
    +
    +
    +

    upsert

    +

    Create or update one Alerts

    +
    +
    // Update or create a Alerts
    +const alerts = await prisma.alerts.upsert({
    +  create: {
    +    // ... data to create a Alerts
    +  },
    +  update: {
    +    // ... in case it already exists, update
    +  },
    +  where: {
    +    // ... the filter for the Alerts we want to update
    +  }
    +})
    +
    +

    Input

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeRequired
    + where + + alertsWhereUniqueInput + + Yes +
    + create + + alertsCreateInput | alertsUncheckedCreateInput + + Yes +
    + update + + alertsUpdateInput | alertsUncheckedUpdateInput + + Yes +
    +

    Output

    +
    Type: alerts
    +
    Required: + Yes
    +
    List: + No
    +
    + +
    +
    +
    +
    +
    +

    alertContacts

    + + +
    +

    Fields

    +
    + + + + + + + + + + + + + + + + + + + + + @@ -206,7 +1035,7 @@ - + @@ -226,7 +1055,7 @@ - + @@ -246,12 +1075,32 @@ - + + + + + + + + +
    NameTypeAttributesRequiredComment
    + id + + Int + +
      +
    • @id
    • @default(autoincrement())
    • +
    +
    + Yes + + - +
    name
    phone
    comment
    - Prios + prios - Priorities[] + priorities[] + +
      +
    • -
    • +
    +
    + Yes + + - +
    + alerts + + alerts[]
      @@ -272,17 +1121,17 @@
      -

      Operations

      +

      Operations

      -

      findUnique

      -

      Find zero or one AlarmContacts

      +

      findUnique

      +

      Find zero or one AlertContacts

      // Get one AlarmContacts
      -const alarmContacts = await prisma.alarmContacts.findUnique({
      +                    >// Get one AlertContacts
      +const alertContacts = await prisma.alertContacts.findUnique({
         where: {
           // ... provide filter here
         }
      @@ -305,7 +1154,7 @@
                                 where
                               
    - AlarmContactsWhereUniqueInput + alertContactsWhereUniqueInput Yes @@ -315,7 +1164,7 @@

    Output

    -
    Type: AlarmContacts
    +
    Type: alertContacts
    Required: No
    List: @@ -323,13 +1172,13 @@

    -

    findFirst

    -

    Find first AlarmContacts

    +

    findFirst

    +

    Find first AlertContacts

    // Get one AlarmContacts
    -const alarmContacts = await prisma.alarmContacts.findFirst({
    +                    >// Get one AlertContacts
    +const alertContacts = await prisma.alertContacts.findFirst({
       where: {
         // ... provide filter here
       }
    @@ -352,7 +1201,7 @@
                               where
                             
                             
    -                        AlarmContactsWhereInput
    +                        alertContactsWhereInput
                             
                             
                              No 
    @@ -364,7 +1213,7 @@
                               orderBy
                             
                             
    -                        AlarmContactsOrderByWithRelationInput[] | AlarmContactsOrderByWithRelationInput
    +                        alertContactsOrderByWithRelationInput[] | alertContactsOrderByWithRelationInput
                             
                             
                              No 
    @@ -376,7 +1225,7 @@
                               cursor
                             
                             
    -                        AlarmContactsWhereUniqueInput
    +                        alertContactsWhereUniqueInput
                             
                             
                              No 
    @@ -412,7 +1261,7 @@
                               distinct
                             
                             
    -                        AlarmContactsScalarFieldEnum | AlarmContactsScalarFieldEnum[]
    +                        AlertContactsScalarFieldEnum | AlertContactsScalarFieldEnum[]
                             
                             
                              No 
    @@ -422,7 +1271,7 @@
                         
                       
                       

    Output

    - +
    Required: No
    List: @@ -430,15 +1279,15 @@

    -

    findMany

    -

    Find zero or more AlarmContacts

    +

    findMany

    +

    Find zero or more AlertContacts

    // Get all AlarmContacts
    -const AlarmContacts = await prisma.alarmContacts.findMany()
    -// Get first 10 AlarmContacts
    -const AlarmContacts = await prisma.alarmContacts.findMany({ take: 10 })
    +                    >// Get all AlertContacts
    +const AlertContacts = await prisma.alertContacts.findMany()
    +// Get first 10 AlertContacts
    +const AlertContacts = await prisma.alertContacts.findMany({ take: 10 })
     

    Input

    @@ -457,7 +1306,7 @@ where - AlarmContactsWhereInput + alertContactsWhereInput No @@ -469,7 +1318,7 @@ orderBy - AlarmContactsOrderByWithRelationInput[] | AlarmContactsOrderByWithRelationInput + alertContactsOrderByWithRelationInput[] | alertContactsOrderByWithRelationInput No @@ -481,7 +1330,7 @@ cursor - AlarmContactsWhereUniqueInput + alertContactsWhereUniqueInput No @@ -517,7 +1366,7 @@ distinct - AlarmContactsScalarFieldEnum | AlarmContactsScalarFieldEnum[] + AlertContactsScalarFieldEnum | AlertContactsScalarFieldEnum[] No @@ -527,7 +1376,7 @@

    Output

    - +
    Required: Yes
    List: @@ -535,15 +1384,15 @@

    -

    create

    -

    Create one AlarmContacts

    +

    create

    +

    Create one AlertContacts

    // Create one AlarmContacts
    -const AlarmContacts = await prisma.alarmContacts.create({
    +                    >// Create one AlertContacts
    +const AlertContacts = await prisma.alertContacts.create({
       data: {
    -    // ... data to create a AlarmContacts
    +    // ... data to create a AlertContacts
       }
     })
     
    @@ -564,7 +1413,7 @@ data - AlarmContactsCreateInput | AlarmContactsUncheckedCreateInput + alertContactsCreateInput | alertContactsUncheckedCreateInput Yes @@ -574,7 +1423,7 @@

    Output

    - +
    Required: Yes
    List: @@ -582,15 +1431,15 @@

    -

    delete

    -

    Delete one AlarmContacts

    +

    delete

    +

    Delete one AlertContacts

    // Delete one AlarmContacts
    -const AlarmContacts = await prisma.alarmContacts.delete({
    +                    >// Delete one AlertContacts
    +const AlertContacts = await prisma.alertContacts.delete({
       where: {
    -    // ... filter to delete one AlarmContacts
    +    // ... filter to delete one AlertContacts
       }
     })
    @@ -610,7 +1459,7 @@ where - AlarmContactsWhereUniqueInput + alertContactsWhereUniqueInput Yes @@ -620,7 +1469,7 @@

    Output

    - +
    Required: No
    List: @@ -628,13 +1477,13 @@

    -

    update

    -

    Update one AlarmContacts

    +

    update

    +

    Update one AlertContacts

    // Update one AlarmContacts
    -const alarmContacts = await prisma.alarmContacts.update({
    +                    >// Update one AlertContacts
    +const alertContacts = await prisma.alertContacts.update({
       where: {
         // ... provide filter here
       },
    @@ -660,7 +1509,7 @@
                               data
                             
                             
    -                        AlarmContactsUpdateInput | AlarmContactsUncheckedUpdateInput
    +                        alertContactsUpdateInput | alertContactsUncheckedUpdateInput
                             
                             
                              Yes 
    @@ -672,7 +1521,7 @@
                               where
                             
                             
    -                        AlarmContactsWhereUniqueInput
    +                        alertContactsWhereUniqueInput
                             
                             
                              Yes 
    @@ -682,7 +1531,7 @@
                         
                       
                       

    Output

    - +
    Required: No
    List: @@ -690,13 +1539,13 @@

    -

    deleteMany

    -

    Delete zero or more AlarmContacts

    +

    deleteMany

    +

    Delete zero or more AlertContacts

    // Delete a few AlarmContacts
    -const { count } = await prisma.alarmContacts.deleteMany({
    +                    >// Delete a few AlertContacts
    +const { count } = await prisma.alertContacts.deleteMany({
       where: {
         // ... provide filter here
       }
    @@ -719,7 +1568,7 @@
                               where
                             
                             
    -                        AlarmContactsWhereInput
    +                        alertContactsWhereInput
                             
                             
                              No 
    @@ -737,12 +1586,12 @@
                   

    -

    updateMany

    -

    Update zero or one AlarmContacts

    +

    updateMany

    +

    Update zero or one AlertContacts

    const { count } = await prisma.alarmContacts.updateMany({
    +                    >const { count } = await prisma.alertContacts.updateMany({
       where: {
         // ... provide filter here
       },
    @@ -767,7 +1616,7 @@
                               data
                             
                             
    -                        AlarmContactsUpdateManyMutationInput | AlarmContactsUncheckedUpdateManyInput
    +                        alertContactsUpdateManyMutationInput | alertContactsUncheckedUpdateManyInput
                             
                             
                              Yes 
    @@ -779,7 +1628,7 @@
                               where
                             
                             
    -                        AlarmContactsWhereInput
    +                        alertContactsWhereInput
                             
                             
                              No 
    @@ -797,21 +1646,21 @@
                   

    -

    upsert

    -

    Create or update one AlarmContacts

    +

    upsert

    +

    Create or update one AlertContacts

    // Update or create a AlarmContacts
    -const alarmContacts = await prisma.alarmContacts.upsert({
    +                    >// Update or create a AlertContacts
    +const alertContacts = await prisma.alertContacts.upsert({
       create: {
    -    // ... data to create a AlarmContacts
    +    // ... data to create a AlertContacts
       },
       update: {
         // ... in case it already exists, update
       },
       where: {
    -    // ... the filter for the AlarmContacts we want to update
    +    // ... the filter for the AlertContacts we want to update
       }
     })
    @@ -831,7 +1680,7 @@ where - AlarmContactsWhereUniqueInput + alertContactsWhereUniqueInput Yes @@ -843,7 +1692,7 @@ create - AlarmContactsCreateInput | AlarmContactsUncheckedCreateInput + alertContactsCreateInput | alertContactsUncheckedCreateInput Yes @@ -855,7 +1704,7 @@ update - AlarmContactsUpdateInput | AlarmContactsUncheckedUpdateInput + alertContactsUpdateInput | alertContactsUncheckedUpdateInput Yes @@ -865,7 +1714,7 @@

    Output

    - +
    Required: Yes
    List: @@ -877,7 +1726,776 @@

    -

    Priorities

    +

    actionPlan

    + + +
    +

    Fields

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeAttributesRequiredComment
    + id + + Int + +
      +
    • @id
    • @default(autoincrement())
    • +
    +
    + Yes + + - +
    + name + + String + +
      +
    • -
    • +
    +
    + Yes + + - +
    + comment + + String? + +
      +
    • -
    • +
    +
    + No + + - +
    + alert_hook + + String + +
      +
    • @unique
    • +
    +
    + Yes + + - +
    + prio + + priorities[] + +
      +
    • -
    • +
    +
    + Yes + + - +
    + content + + content[] + +
      +
    • -
    • +
    +
    + Yes + + - +
    + alerts + + alerts[] + +
      +
    • -
    • +
    +
    + Yes + + - +
    +
    +
    +
    +
    +

    Operations

    +
    + +
    +

    findUnique

    +

    Find zero or one ActionPlan

    +
    +
    // Get one ActionPlan
    +const actionPlan = await prisma.actionPlan.findUnique({
    +  where: {
    +    // ... provide filter here
    +  }
    +})
    +
    +
    +

    Input

    + + + + + + + + + + + + + + + + + +
    NameTypeRequired
    + where + + actionPlanWhereUniqueInput + + Yes +
    +

    Output

    + +
    Required: + No
    +
    List: + No
    +
    +
    +
    +

    findFirst

    +

    Find first ActionPlan

    +
    +
    // Get one ActionPlan
    +const actionPlan = await prisma.actionPlan.findFirst({
    +  where: {
    +    // ... provide filter here
    +  }
    +})
    +
    +
    +

    Input

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeRequired
    + where + + actionPlanWhereInput + + No +
    + orderBy + + actionPlanOrderByWithRelationInput[] | actionPlanOrderByWithRelationInput + + No +
    + cursor + + actionPlanWhereUniqueInput + + No +
    + take + + Int + + No +
    + skip + + Int + + No +
    + distinct + + ActionPlanScalarFieldEnum | ActionPlanScalarFieldEnum[] + + No +
    +

    Output

    + +
    Required: + No
    +
    List: + No
    +
    +
    +
    +

    findMany

    +

    Find zero or more ActionPlan

    +
    +
    // Get all ActionPlan
    +const ActionPlan = await prisma.actionPlan.findMany()
    +// Get first 10 ActionPlan
    +const ActionPlan = await prisma.actionPlan.findMany({ take: 10 })
    +
    +
    +

    Input

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeRequired
    + where + + actionPlanWhereInput + + No +
    + orderBy + + actionPlanOrderByWithRelationInput[] | actionPlanOrderByWithRelationInput + + No +
    + cursor + + actionPlanWhereUniqueInput + + No +
    + take + + Int + + No +
    + skip + + Int + + No +
    + distinct + + ActionPlanScalarFieldEnum | ActionPlanScalarFieldEnum[] + + No +
    +

    Output

    + +
    Required: + Yes
    +
    List: + Yes
    +
    +
    +
    +

    create

    +

    Create one ActionPlan

    +
    +
    // Create one ActionPlan
    +const ActionPlan = await prisma.actionPlan.create({
    +  data: {
    +    // ... data to create a ActionPlan
    +  }
    +})
    +
    +
    +

    Input

    + + + + + + + + + + + + + + + + + +
    NameTypeRequired
    + data + + actionPlanCreateInput | actionPlanUncheckedCreateInput + + Yes +
    +

    Output

    + +
    Required: + Yes
    +
    List: + No
    +
    +
    +
    +

    delete

    +

    Delete one ActionPlan

    +
    +
    // Delete one ActionPlan
    +const ActionPlan = await prisma.actionPlan.delete({
    +  where: {
    +    // ... filter to delete one ActionPlan
    +  }
    +})
    +
    +

    Input

    + + + + + + + + + + + + + + + + + +
    NameTypeRequired
    + where + + actionPlanWhereUniqueInput + + Yes +
    +

    Output

    + +
    Required: + No
    +
    List: + No
    +
    +
    +
    +

    update

    +

    Update one ActionPlan

    +
    +
    // Update one ActionPlan
    +const actionPlan = await prisma.actionPlan.update({
    +  where: {
    +    // ... provide filter here
    +  },
    +  data: {
    +    // ... provide data here
    +  }
    +})
    +
    +
    +

    Input

    + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeRequired
    + data + + actionPlanUpdateInput | actionPlanUncheckedUpdateInput + + Yes +
    + where + + actionPlanWhereUniqueInput + + Yes +
    +

    Output

    + +
    Required: + No
    +
    List: + No
    +
    +
    +
    +

    deleteMany

    +

    Delete zero or more ActionPlan

    +
    +
    // Delete a few ActionPlan
    +const { count } = await prisma.actionPlan.deleteMany({
    +  where: {
    +    // ... provide filter here
    +  }
    +})
    +
    +
    +

    Input

    + + + + + + + + + + + + + + + + + +
    NameTypeRequired
    + where + + actionPlanWhereInput + + No +
    +

    Output

    + +
    Required: + Yes
    +
    List: + No
    +
    +
    +
    +

    updateMany

    +

    Update zero or one ActionPlan

    +
    +
    const { count } = await prisma.actionPlan.updateMany({
    +  where: {
    +    // ... provide filter here
    +  },
    +  data: {
    +    // ... provide data here
    +  }
    +})
    +
    +

    Input

    + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeRequired
    + data + + actionPlanUpdateManyMutationInput | actionPlanUncheckedUpdateManyInput + + Yes +
    + where + + actionPlanWhereInput + + No +
    +

    Output

    + +
    Required: + Yes
    +
    List: + No
    +
    +
    +
    +

    upsert

    +

    Create or update one ActionPlan

    +
    +
    // Update or create a ActionPlan
    +const actionPlan = await prisma.actionPlan.upsert({
    +  create: {
    +    // ... data to create a ActionPlan
    +  },
    +  update: {
    +    // ... in case it already exists, update
    +  },
    +  where: {
    +    // ... the filter for the ActionPlan we want to update
    +  }
    +})
    +
    +

    Input

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeRequired
    + where + + actionPlanWhereUniqueInput + + Yes +
    + create + + actionPlanCreateInput | actionPlanUncheckedCreateInput + + Yes +
    + update + + actionPlanUpdateInput | actionPlanUncheckedUpdateInput + + Yes +
    +

    Output

    + +
    Required: + Yes
    +
    List: + No
    +
    + +
    +
    +
    +
    +
    +

    priorities

    @@ -915,7 +2533,7 @@
    -

    Fields

    +

    Fields

    @@ -929,7 +2547,7 @@ - + @@ -949,12 +2567,12 @@ - + - + @@ -989,7 +2607,7 @@ - + @@ -1009,12 +2627,12 @@ - + - + @@ -1055,11 +2673,11 @@
    -

    Operations

    +

    Operations

    -

    findUnique

    +

    findUnique

    Find zero or one Priorities

                             
    id
    Contact - AlarmContacts + alertContacts
      @@ -969,7 +2587,7 @@
    contactId
    priority
    actionplan - ActionPlan + actionPlan
      @@ -1029,7 +2647,7 @@
    actionplanId - PrioritiesWhereUniqueInput + prioritiesWhereUniqueInput Yes @@ -1098,7 +2716,7 @@

    Output

    - +
    Required: No
    List: @@ -1106,7 +2724,7 @@

    -

    findFirst

    +

    findFirst

    Find first Priorities

                             
    -                        PrioritiesWhereInput
    +                        prioritiesWhereInput
                             
                             
                              No 
    @@ -1147,7 +2765,7 @@
                               orderBy
                             
                             
    -                        PrioritiesOrderByWithRelationInput[] | PrioritiesOrderByWithRelationInput
    +                        prioritiesOrderByWithRelationInput[] | prioritiesOrderByWithRelationInput
                             
                             
                              No 
    @@ -1159,7 +2777,7 @@
                               cursor
                             
                             
    -                        PrioritiesWhereUniqueInput
    +                        prioritiesWhereUniqueInput
                             
                             
                              No 
    @@ -1205,7 +2823,7 @@
                         
                       
                       

    Output

    - +
    Required: No
    List: @@ -1213,7 +2831,7 @@

    -

    findMany

    +

    findMany

    Find zero or more Priorities

                             
    -                        PrioritiesWhereInput
    +                        prioritiesWhereInput
                             
                             
                              No 
    @@ -1252,7 +2870,7 @@
                               orderBy
                             
                             
    -                        PrioritiesOrderByWithRelationInput[] | PrioritiesOrderByWithRelationInput
    +                        prioritiesOrderByWithRelationInput[] | prioritiesOrderByWithRelationInput
                             
                             
                              No 
    @@ -1264,7 +2882,7 @@
                               cursor
                             
                             
    -                        PrioritiesWhereUniqueInput
    +                        prioritiesWhereUniqueInput
                             
                             
                              No 
    @@ -1310,7 +2928,7 @@
                         
                       
                       

    Output

    - +
    Required: Yes
    List: @@ -1318,7 +2936,7 @@

    -

    create

    +

    create

    Create one Priorities

                             
    -                        PrioritiesCreateInput | PrioritiesUncheckedCreateInput
    +                        prioritiesCreateInput | prioritiesUncheckedCreateInput
                             
                             
                              Yes 
    @@ -1357,7 +2975,7 @@
                         
                       
                       

    Output

    - +
    Required: Yes
    List: @@ -1365,7 +2983,7 @@

    -

    delete

    +

    delete

    Delete one Priorities

                             
    -                        PrioritiesWhereUniqueInput
    +                        prioritiesWhereUniqueInput
                             
                             
                              Yes 
    @@ -1403,7 +3021,7 @@
                         
                       
                       

    Output

    - +
    Required: No
    List: @@ -1411,7 +3029,7 @@

    -

    update

    +

    update

    Update one Priorities

                             
    -                        PrioritiesUpdateInput | PrioritiesUncheckedUpdateInput
    +                        prioritiesUpdateInput | prioritiesUncheckedUpdateInput
                             
                             
                              Yes 
    @@ -1455,7 +3073,7 @@
                               where
                             
                             
    -                        PrioritiesWhereUniqueInput
    +                        prioritiesWhereUniqueInput
                             
                             
                              Yes 
    @@ -1465,7 +3083,7 @@
                         
                       
                       

    Output

    - +
    Required: No
    List: @@ -1473,7 +3091,7 @@

    -

    deleteMany

    +

    deleteMany

    Delete zero or more Priorities

                             
    -                        PrioritiesWhereInput
    +                        prioritiesWhereInput
                             
                             
                              No 
    @@ -1520,7 +3138,7 @@
                   

    -

    updateMany

    +

    updateMany

    Update zero or one Priorities


    -

    upsert

    +

    upsert

    Create or update one Priorities

                             
    -                        PrioritiesWhereUniqueInput
    +                        prioritiesWhereUniqueInput
                             
                             
                              Yes 
    @@ -1626,7 +3244,7 @@
                               create
                             
                             
    -                        PrioritiesCreateInput | PrioritiesUncheckedCreateInput
    +                        prioritiesCreateInput | prioritiesUncheckedCreateInput
                             
                             
                              Yes 
    @@ -1638,7 +3256,7 @@
                               update
                             
                             
    -                        PrioritiesUpdateInput | PrioritiesUncheckedUpdateInput
    +                        prioritiesUpdateInput | prioritiesUncheckedUpdateInput
                             
                             
                              Yes 
    @@ -1648,7 +3266,7 @@
                         
                       
                       

    Output

    - +
    Required: Yes
    List: @@ -1660,11 +3278,11 @@

    -

    ActionPlan

    +

    content

    -

    Fields

    +

    Fields

    @@ -1678,7 +3296,7 @@ - + @@ -1698,736 +3316,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    id
    - name - - String - -
      -
    • -
    • -
    -
    - Yes - - - -
    - comment - - String? - -
      -
    • -
    • -
    -
    - No - - - -
    - prio - - Priorities[] - -
      -
    • -
    • -
    -
    - Yes - - - -
    - content - - Content[] - -
      -
    • -
    • -
    -
    - Yes - - - -
    -
    -
    -
    -
    -

    Operations

    -
    - -
    -

    findUnique

    -

    Find zero or one ActionPlan

    -
    -
    // Get one ActionPlan
    -const actionPlan = await prisma.actionPlan.findUnique({
    -  where: {
    -    // ... provide filter here
    -  }
    -})
    -
    -
    -

    Input

    - - - - - - - - - - - - - - - - - -
    NameTypeRequired
    - where - - ActionPlanWhereUniqueInput - - Yes -
    -

    Output

    - -
    Required: - No
    -
    List: - No
    -
    -
    -
    -

    findFirst

    -

    Find first ActionPlan

    -
    -
    // Get one ActionPlan
    -const actionPlan = await prisma.actionPlan.findFirst({
    -  where: {
    -    // ... provide filter here
    -  }
    -})
    -
    -
    -

    Input

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequired
    - where - - ActionPlanWhereInput - - No -
    - orderBy - - ActionPlanOrderByWithRelationInput[] | ActionPlanOrderByWithRelationInput - - No -
    - cursor - - ActionPlanWhereUniqueInput - - No -
    - take - - Int - - No -
    - skip - - Int - - No -
    - distinct - - ActionPlanScalarFieldEnum | ActionPlanScalarFieldEnum[] - - No -
    -

    Output

    - -
    Required: - No
    -
    List: - No
    -
    -
    -
    -

    findMany

    -

    Find zero or more ActionPlan

    -
    -
    // Get all ActionPlan
    -const ActionPlan = await prisma.actionPlan.findMany()
    -// Get first 10 ActionPlan
    -const ActionPlan = await prisma.actionPlan.findMany({ take: 10 })
    -
    -
    -

    Input

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequired
    - where - - ActionPlanWhereInput - - No -
    - orderBy - - ActionPlanOrderByWithRelationInput[] | ActionPlanOrderByWithRelationInput - - No -
    - cursor - - ActionPlanWhereUniqueInput - - No -
    - take - - Int - - No -
    - skip - - Int - - No -
    - distinct - - ActionPlanScalarFieldEnum | ActionPlanScalarFieldEnum[] - - No -
    -

    Output

    - -
    Required: - Yes
    -
    List: - Yes
    -
    -
    -
    -

    create

    -

    Create one ActionPlan

    -
    -
    // Create one ActionPlan
    -const ActionPlan = await prisma.actionPlan.create({
    -  data: {
    -    // ... data to create a ActionPlan
    -  }
    -})
    -
    -
    -

    Input

    - - - - - - - - - - - - - - - - - -
    NameTypeRequired
    - data - - ActionPlanCreateInput | ActionPlanUncheckedCreateInput - - Yes -
    -

    Output

    - -
    Required: - Yes
    -
    List: - No
    -
    -
    -
    -

    delete

    -

    Delete one ActionPlan

    -
    -
    // Delete one ActionPlan
    -const ActionPlan = await prisma.actionPlan.delete({
    -  where: {
    -    // ... filter to delete one ActionPlan
    -  }
    -})
    -
    -

    Input

    - - - - - - - - - - - - - - - - - -
    NameTypeRequired
    - where - - ActionPlanWhereUniqueInput - - Yes -
    -

    Output

    - -
    Required: - No
    -
    List: - No
    -
    -
    -
    -

    update

    -

    Update one ActionPlan

    -
    -
    // Update one ActionPlan
    -const actionPlan = await prisma.actionPlan.update({
    -  where: {
    -    // ... provide filter here
    -  },
    -  data: {
    -    // ... provide data here
    -  }
    -})
    -
    -
    -

    Input

    - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequired
    - data - - ActionPlanUpdateInput | ActionPlanUncheckedUpdateInput - - Yes -
    - where - - ActionPlanWhereUniqueInput - - Yes -
    -

    Output

    - -
    Required: - No
    -
    List: - No
    -
    -
    -
    -

    deleteMany

    -

    Delete zero or more ActionPlan

    -
    -
    // Delete a few ActionPlan
    -const { count } = await prisma.actionPlan.deleteMany({
    -  where: {
    -    // ... provide filter here
    -  }
    -})
    -
    -
    -

    Input

    - - - - - - - - - - - - - - - - - -
    NameTypeRequired
    - where - - ActionPlanWhereInput - - No -
    -

    Output

    - -
    Required: - Yes
    -
    List: - No
    -
    -
    -
    -

    updateMany

    -

    Update zero or one ActionPlan

    -
    -
    const { count } = await prisma.actionPlan.updateMany({
    -  where: {
    -    // ... provide filter here
    -  },
    -  data: {
    -    // ... provide data here
    -  }
    -})
    -
    -

    Input

    - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequired
    - data - - ActionPlanUpdateManyMutationInput | ActionPlanUncheckedUpdateManyInput - - Yes -
    - where - - ActionPlanWhereInput - - No -
    -

    Output

    - -
    Required: - Yes
    -
    List: - No
    -
    -
    -
    -

    upsert

    -

    Create or update one ActionPlan

    -
    -
    // Update or create a ActionPlan
    -const actionPlan = await prisma.actionPlan.upsert({
    -  create: {
    -    // ... data to create a ActionPlan
    -  },
    -  update: {
    -    // ... in case it already exists, update
    -  },
    -  where: {
    -    // ... the filter for the ActionPlan we want to update
    -  }
    -})
    -
    -

    Input

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeRequired
    - where - - ActionPlanWhereUniqueInput - - Yes -
    - create - - ActionPlanCreateInput | ActionPlanUncheckedCreateInput - - Yes -
    - update - - ActionPlanUpdateInput | ActionPlanUncheckedUpdateInput - - Yes -
    -

    Output

    - -
    Required: - Yes
    -
    List: - No
    -
    - -
    -
    -
    -
    -
    -

    Content

    - - -
    -

    Fields

    -
    - - - - - - - - - - - - - - - - - - - - - + @@ -2447,7 +3336,7 @@ - + @@ -2467,7 +3356,7 @@ - + @@ -2487,12 +3376,12 @@ - +
    NameTypeAttributesRequiredComment
    - id - - Int - -
      -
    • @id
    • @default(autoincrement())
    • -
    -
    - Yes - - - -
    type
    name
    filename
    actionplan - ActionPlan[] + actionPlan[]
      @@ -2513,11 +3402,11 @@
      -

      Operations

      +

      Operations

      -

      findUnique

      +

      findUnique

      Find zero or one Content

                               
    - ContentWhereUniqueInput + contentWhereUniqueInput Yes @@ -2556,7 +3445,7 @@

    Output

    -
    Type: Content
    +
    Type: content
    Required: No
    List: @@ -2564,7 +3453,7 @@

    -

    findFirst

    +

    findFirst

    Find first Content

                             
    -                        ContentWhereInput
    +                        contentWhereInput
                             
                             
                              No 
    @@ -2605,7 +3494,7 @@
                               orderBy
                             
                             
    -                        ContentOrderByWithRelationInput[] | ContentOrderByWithRelationInput
    +                        contentOrderByWithRelationInput[] | contentOrderByWithRelationInput
                             
                             
                              No 
    @@ -2617,7 +3506,7 @@
                               cursor
                             
                             
    -                        ContentWhereUniqueInput
    +                        contentWhereUniqueInput
                             
                             
                              No 
    @@ -2663,7 +3552,7 @@
                         
                       
                       

    Output

    -
    Type: Content
    +
    Type: content
    Required: No
    List: @@ -2671,7 +3560,7 @@

    -

    findMany

    +

    findMany

    Find zero or more Content

                             
    -                        ContentWhereInput
    +                        contentWhereInput
                             
                             
                              No 
    @@ -2710,7 +3599,7 @@
                               orderBy
                             
                             
    -                        ContentOrderByWithRelationInput[] | ContentOrderByWithRelationInput
    +                        contentOrderByWithRelationInput[] | contentOrderByWithRelationInput
                             
                             
                              No 
    @@ -2722,7 +3611,7 @@
                               cursor
                             
                             
    -                        ContentWhereUniqueInput
    +                        contentWhereUniqueInput
                             
                             
                              No 
    @@ -2768,7 +3657,7 @@
                         
                       
                       

    Output

    -
    Type: Content
    +
    Type: content
    Required: Yes
    List: @@ -2776,7 +3665,7 @@

    -

    create

    +

    create

    Create one Content

                             
    -                        ContentCreateInput | ContentUncheckedCreateInput
    +                        contentCreateInput | contentUncheckedCreateInput
                             
                             
                              Yes 
    @@ -2815,7 +3704,7 @@
                         
                       
                       

    Output

    -
    Type: Content
    +
    Type: content
    Required: Yes
    List: @@ -2823,7 +3712,7 @@

    -

    delete

    +

    delete

    Delete one Content

                             
    -                        ContentWhereUniqueInput
    +                        contentWhereUniqueInput
                             
                             
                              Yes 
    @@ -2861,7 +3750,7 @@
                         
                       
                       

    Output

    -
    Type: Content
    +
    Type: content
    Required: No
    List: @@ -2869,7 +3758,7 @@

    -

    update

    +

    update

    Update one Content

                             
    -                        ContentUpdateInput | ContentUncheckedUpdateInput
    +                        contentUpdateInput | contentUncheckedUpdateInput
                             
                             
                              Yes 
    @@ -2913,7 +3802,7 @@
                               where
                             
                             
    -                        ContentWhereUniqueInput
    +                        contentWhereUniqueInput
                             
                             
                              Yes 
    @@ -2923,7 +3812,7 @@
                         
                       
                       

    Output

    -
    Type: Content
    +
    Type: content
    Required: No
    List: @@ -2931,7 +3820,7 @@

    -

    deleteMany

    +

    deleteMany

    Delete zero or more Content

                             
    -                        ContentWhereInput
    +                        contentWhereInput
                             
                             
                              No 
    @@ -2978,7 +3867,7 @@
                   

    -

    updateMany

    +

    updateMany

    Update zero or one Content


    -

    upsert

    +

    upsert

    Create or update one Content

                             
    -                        ContentWhereUniqueInput
    +                        contentWhereUniqueInput
                             
                             
                              Yes 
    @@ -3084,7 +3973,7 @@
                               create
                             
                             
    -                        ContentCreateInput | ContentUncheckedCreateInput
    +                        contentCreateInput | contentUncheckedCreateInput
                             
                             
                              Yes 
    @@ -3096,7 +3985,7 @@
                               update
                             
                             
    -                        ContentUpdateInput | ContentUncheckedUpdateInput
    +                        contentUpdateInput | contentUncheckedUpdateInput
                             
                             
                              Yes 
    @@ -3106,7 +3995,7 @@
                         
                       
                       

    Output

    -
    Type: Content
    +
    Type: content
    Required: Yes
    List: @@ -3127,7 +4016,7 @@
    -

    AlarmContactsWhereInput

    +

    alertsWhereInput

    @@ -3142,7 +4031,7 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    AND - AlarmContactsWhereInput | AlarmContactsWhereInput[] + alertsWhereInput | alertsWhereInput[] @@ -3154,7 +4043,7 @@ OR - AlarmContactsWhereInput[] + alertsWhereInput[] @@ -3166,7 +4055,759 @@ NOT - AlarmContactsWhereInput | AlarmContactsWhereInput[] + alertsWhereInput | alertsWhereInput[] + + No +
    + id + IntFilter | Int + + No +
    + type + EnumalertTypeFilter | alertType + + No +
    + message + StringNullableFilter | String | Null + + Yes +
    + actionplanId + IntNullableFilter | Int | Null + + Yes +
    + date + DateTimeFilter | DateTime + + No +
    + state + EnumalertStateFilter | alertState + + No +
    + acknowledged_at + DateTimeNullableFilter | DateTime | Null + + Yes +
    + actionplan + ActionPlanNullableScalarRelationFilter | actionPlanWhereInput | Null + + Yes +
    + acknowledged_by + AlertContactsListRelationFilter + + No +
    +
    +
    +
    +

    alertsOrderByWithRelationInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    + type + SortOrder + + No +
    + message + SortOrder | SortOrderInput + + No +
    + actionplanId + SortOrder | SortOrderInput + + No +
    + date + SortOrder + + No +
    + state + SortOrder + + No +
    + acknowledged_at + SortOrder | SortOrderInput + + No +
    + actionplan + actionPlanOrderByWithRelationInput + + No +
    + acknowledged_by + alertContactsOrderByRelationAggregateInput + + No +
    + _relevance + alertsOrderByRelevanceInput + + No +
    +
    +
    +
    +

    alertsWhereUniqueInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int + + No +
    + AND + alertsWhereInput | alertsWhereInput[] + + No +
    + OR + alertsWhereInput[] + + No +
    + NOT + alertsWhereInput | alertsWhereInput[] + + No +
    + type + EnumalertTypeFilter | alertType + + No +
    + message + StringNullableFilter | String | Null + + Yes +
    + actionplanId + IntNullableFilter | Int | Null + + Yes +
    + date + DateTimeFilter | DateTime + + No +
    + state + EnumalertStateFilter | alertState + + No +
    + acknowledged_at + DateTimeNullableFilter | DateTime | Null + + Yes +
    + actionplan + ActionPlanNullableScalarRelationFilter | actionPlanWhereInput | Null + + Yes +
    + acknowledged_by + AlertContactsListRelationFilter + + No +
    +
    +
    +
    +

    alertsOrderByWithAggregationInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    + type + SortOrder + + No +
    + message + SortOrder | SortOrderInput + + No +
    + actionplanId + SortOrder | SortOrderInput + + No +
    + date + SortOrder + + No +
    + state + SortOrder + + No +
    + acknowledged_at + SortOrder | SortOrderInput + + No +
    + _count + alertsCountOrderByAggregateInput + + No +
    + _avg + alertsAvgOrderByAggregateInput + + No +
    + _max + alertsMaxOrderByAggregateInput + + No +
    + _min + alertsMinOrderByAggregateInput + + No +
    + _sum + alertsSumOrderByAggregateInput + + No +
    +
    +
    +
    +

    alertsScalarWhereWithAggregatesInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + AND + alertsScalarWhereWithAggregatesInput | alertsScalarWhereWithAggregatesInput[] + + No +
    + OR + alertsScalarWhereWithAggregatesInput[] + + No +
    + NOT + alertsScalarWhereWithAggregatesInput | alertsScalarWhereWithAggregatesInput[] + + No +
    + id + IntWithAggregatesFilter | Int + + No +
    + type + EnumalertTypeWithAggregatesFilter | alertType + + No +
    + message + StringNullableWithAggregatesFilter | String | Null + + Yes +
    + actionplanId + IntNullableWithAggregatesFilter | Int | Null + + Yes +
    + date + DateTimeWithAggregatesFilter | DateTime + + No +
    + state + EnumalertStateWithAggregatesFilter | alertState + + No +
    + acknowledged_at + DateTimeNullableWithAggregatesFilter | DateTime | Null + + Yes +
    +
    +
    +
    +

    alertContactsWhereInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + prios + + + + + + + @@ -3239,7 +4892,7 @@
    -

    AlarmContactsOrderByWithRelationInput

    +

    alertContactsOrderByWithRelationInput

    NameTypeNullable
    + AND + alertContactsWhereInput | alertContactsWhereInput[] + + No +
    + OR + alertContactsWhereInput[] + + No +
    + NOT + alertContactsWhereInput | alertContactsWhereInput[] @@ -3224,11 +4865,23 @@
    - Prios PrioritiesListRelationFilter + No +
    + alerts + AlertsListRelationFilter + No
    @@ -3300,9 +4953,21 @@ + prios + + + + + + +
    - Prios - PrioritiesOrderByRelationAggregateInput + prioritiesOrderByRelationAggregateInput + + No +
    + alerts + alertsOrderByRelationAggregateInput @@ -3314,7 +4979,7 @@ _relevance - AlarmContactsOrderByRelevanceInput + alertContactsOrderByRelevanceInput @@ -3327,7 +4992,7 @@
    -

    AlarmContactsWhereUniqueInput

    +

    alertContactsWhereUniqueInput

    @@ -3366,7 +5031,7 @@ + prios + + + + + + + @@ -3439,7 +5116,7 @@
    -

    AlarmContactsOrderByWithAggregationInput

    +

    alertContactsOrderByWithAggregationInput

    AND - AlarmContactsWhereInput | AlarmContactsWhereInput[] + alertContactsWhereInput | alertContactsWhereInput[] @@ -3378,7 +5043,7 @@ OR - AlarmContactsWhereInput[] + alertContactsWhereInput[] @@ -3390,7 +5055,7 @@ NOT - AlarmContactsWhereInput | AlarmContactsWhereInput[] + alertContactsWhereInput | alertContactsWhereInput[] @@ -3424,11 +5089,23 @@
    - Prios PrioritiesListRelationFilter + No +
    + alerts + AlertsListRelationFilter + No
    @@ -3502,7 +5179,7 @@
    _count - AlarmContactsCountOrderByAggregateInput + alertContactsCountOrderByAggregateInput @@ -3514,7 +5191,7 @@ _avg - AlarmContactsAvgOrderByAggregateInput + alertContactsAvgOrderByAggregateInput @@ -3526,7 +5203,7 @@ _max - AlarmContactsMaxOrderByAggregateInput + alertContactsMaxOrderByAggregateInput @@ -3538,7 +5215,7 @@ _min - AlarmContactsMinOrderByAggregateInput + alertContactsMinOrderByAggregateInput @@ -3550,7 +5227,7 @@ _sum - AlarmContactsSumOrderByAggregateInput + alertContactsSumOrderByAggregateInput @@ -3563,7 +5240,7 @@
    -

    AlarmContactsScalarWhereWithAggregatesInput

    +

    alertContactsScalarWhereWithAggregatesInput

    @@ -3578,7 +5255,7 @@
    AND - AlarmContactsScalarWhereWithAggregatesInput | AlarmContactsScalarWhereWithAggregatesInput[] + alertContactsScalarWhereWithAggregatesInput | alertContactsScalarWhereWithAggregatesInput[] @@ -3590,7 +5267,7 @@ OR - AlarmContactsScalarWhereWithAggregatesInput[] + alertContactsScalarWhereWithAggregatesInput[] @@ -3602,7 +5279,7 @@ NOT - AlarmContactsScalarWhereWithAggregatesInput | AlarmContactsScalarWhereWithAggregatesInput[] + alertContactsScalarWhereWithAggregatesInput | alertContactsScalarWhereWithAggregatesInput[] @@ -3663,7 +5340,7 @@
    -

    PrioritiesWhereInput

    +

    actionPlanWhereInput

    @@ -3678,7 +5355,7 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    AND - PrioritiesWhereInput | PrioritiesWhereInput[] + actionPlanWhereInput | actionPlanWhereInput[] @@ -3690,7 +5367,7 @@ OR - PrioritiesWhereInput[] + actionPlanWhereInput[] @@ -3702,7 +5379,615 @@ NOT - PrioritiesWhereInput | PrioritiesWhereInput[] + actionPlanWhereInput | actionPlanWhereInput[] + + No +
    + id + IntFilter | Int + + No +
    + name + StringFilter | String + + No +
    + comment + StringNullableFilter | String | Null + + Yes +
    + alert_hook + StringFilter | String + + No +
    + prio + PrioritiesListRelationFilter + + No +
    + content + ContentListRelationFilter + + No +
    + alerts + AlertsListRelationFilter + + No +
    +
    +
    +
    +

    actionPlanOrderByWithRelationInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    + name + SortOrder + + No +
    + comment + SortOrder | SortOrderInput + + No +
    + alert_hook + SortOrder + + No +
    + prio + prioritiesOrderByRelationAggregateInput + + No +
    + content + contentOrderByRelationAggregateInput + + No +
    + alerts + alertsOrderByRelationAggregateInput + + No +
    + _relevance + actionPlanOrderByRelevanceInput + + No +
    +
    +
    +
    +

    actionPlanWhereUniqueInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int + + No +
    + alert_hook + String + + No +
    + AND + actionPlanWhereInput | actionPlanWhereInput[] + + No +
    + OR + actionPlanWhereInput[] + + No +
    + NOT + actionPlanWhereInput | actionPlanWhereInput[] + + No +
    + name + StringFilter | String + + No +
    + comment + StringNullableFilter | String | Null + + Yes +
    + prio + PrioritiesListRelationFilter + + No +
    + content + ContentListRelationFilter + + No +
    + alerts + AlertsListRelationFilter + + No +
    +
    +
    +
    +

    actionPlanOrderByWithAggregationInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    + name + SortOrder + + No +
    + comment + SortOrder | SortOrderInput + + No +
    + alert_hook + SortOrder + + No +
    + _count + actionPlanCountOrderByAggregateInput + + No +
    + _avg + actionPlanAvgOrderByAggregateInput + + No +
    + _max + actionPlanMaxOrderByAggregateInput + + No +
    + _min + actionPlanMinOrderByAggregateInput + + No +
    + _sum + actionPlanSumOrderByAggregateInput + + No +
    +
    +
    +
    +

    actionPlanScalarWhereWithAggregatesInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + AND + actionPlanScalarWhereWithAggregatesInput | actionPlanScalarWhereWithAggregatesInput[] + + No +
    + OR + actionPlanScalarWhereWithAggregatesInput[] + + No +
    + NOT + actionPlanScalarWhereWithAggregatesInput | actionPlanScalarWhereWithAggregatesInput[] + + No +
    + id + IntWithAggregatesFilter | Int + + No +
    + name + StringWithAggregatesFilter | String + + No +
    + comment + StringNullableWithAggregatesFilter | String | Null + + Yes +
    + alert_hook + StringWithAggregatesFilter | String + + No +
    +
    +
    +
    +

    prioritiesWhereInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + AND + prioritiesWhereInput | prioritiesWhereInput[] + + No +
    + OR + prioritiesWhereInput[] + + No +
    + NOT + prioritiesWhereInput | prioritiesWhereInput[] @@ -3762,7 +6047,7 @@ Contact - AlarmContactsScalarRelationFilter | AlarmContactsWhereInput + AlertContactsScalarRelationFilter | alertContactsWhereInput @@ -3774,7 +6059,7 @@ actionplan - ActionPlanScalarRelationFilter | ActionPlanWhereInput + ActionPlanScalarRelationFilter | actionPlanWhereInput @@ -3787,7 +6072,7 @@
    -

    PrioritiesOrderByWithRelationInput

    +

    prioritiesOrderByWithRelationInput

    @@ -3850,7 +6135,7 @@
    Contact - AlarmContactsOrderByWithRelationInput + alertContactsOrderByWithRelationInput @@ -3862,7 +6147,7 @@ actionplan - ActionPlanOrderByWithRelationInput + actionPlanOrderByWithRelationInput @@ -3875,7 +6160,7 @@
    -

    PrioritiesWhereUniqueInput

    +

    prioritiesWhereUniqueInput

    @@ -3902,7 +6187,7 @@
    priority_actionplanId - PrioritiesPriorityActionplanIdCompoundUniqueInput + prioritiesPriorityActionplanIdCompoundUniqueInput @@ -3914,7 +6199,7 @@ AND - PrioritiesWhereInput | PrioritiesWhereInput[] + prioritiesWhereInput | prioritiesWhereInput[] @@ -3926,7 +6211,7 @@ OR - PrioritiesWhereInput[] + prioritiesWhereInput[] @@ -3938,7 +6223,7 @@ NOT - PrioritiesWhereInput | PrioritiesWhereInput[] + prioritiesWhereInput | prioritiesWhereInput[] @@ -3986,7 +6271,7 @@ Contact - AlarmContactsScalarRelationFilter | AlarmContactsWhereInput + AlertContactsScalarRelationFilter | alertContactsWhereInput @@ -3998,7 +6283,7 @@ actionplan - ActionPlanScalarRelationFilter | ActionPlanWhereInput + ActionPlanScalarRelationFilter | actionPlanWhereInput @@ -4011,7 +6296,7 @@
    -

    PrioritiesOrderByWithAggregationInput

    +

    prioritiesOrderByWithAggregationInput

    @@ -4074,7 +6359,7 @@
    _count - PrioritiesCountOrderByAggregateInput + prioritiesCountOrderByAggregateInput @@ -4086,7 +6371,7 @@ _avg - PrioritiesAvgOrderByAggregateInput + prioritiesAvgOrderByAggregateInput @@ -4098,7 +6383,7 @@ _max - PrioritiesMaxOrderByAggregateInput + prioritiesMaxOrderByAggregateInput @@ -4110,7 +6395,7 @@ _min - PrioritiesMinOrderByAggregateInput + prioritiesMinOrderByAggregateInput @@ -4122,7 +6407,7 @@ _sum - PrioritiesSumOrderByAggregateInput + prioritiesSumOrderByAggregateInput @@ -4135,7 +6420,7 @@
    -

    PrioritiesScalarWhereWithAggregatesInput

    +

    prioritiesScalarWhereWithAggregatesInput

    @@ -4150,7 +6435,7 @@
    AND - PrioritiesScalarWhereWithAggregatesInput | PrioritiesScalarWhereWithAggregatesInput[] + prioritiesScalarWhereWithAggregatesInput | prioritiesScalarWhereWithAggregatesInput[] @@ -4162,7 +6447,7 @@ OR - PrioritiesScalarWhereWithAggregatesInput[] + prioritiesScalarWhereWithAggregatesInput[] @@ -4174,7 +6459,7 @@ NOT - PrioritiesScalarWhereWithAggregatesInput | PrioritiesScalarWhereWithAggregatesInput[] + prioritiesScalarWhereWithAggregatesInput | prioritiesScalarWhereWithAggregatesInput[] @@ -4235,7 +6520,7 @@
    -

    ActionPlanWhereInput

    +

    contentWhereInput

    @@ -4250,7 +6535,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    AND - ActionPlanWhereInput | ActionPlanWhereInput[] + contentWhereInput | contentWhereInput[] @@ -4262,7 +6547,7 @@ OR - ActionPlanWhereInput[] + contentWhereInput[] @@ -4274,519 +6559,7 @@ NOT - ActionPlanWhereInput | ActionPlanWhereInput[] - - No -
    - id - IntFilter | Int - - No -
    - name - StringFilter | String - - No -
    - comment - StringNullableFilter | String | Null - - Yes -
    - prio - PrioritiesListRelationFilter - - No -
    - content - ContentListRelationFilter - - No -
    -
    -
    -
    -

    ActionPlanOrderByWithRelationInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - SortOrder - - No -
    - name - SortOrder - - No -
    - comment - SortOrder | SortOrderInput - - No -
    - prio - PrioritiesOrderByRelationAggregateInput - - No -
    - content - ContentOrderByRelationAggregateInput - - No -
    - _relevance - ActionPlanOrderByRelevanceInput - - No -
    -
    -
    -
    -

    ActionPlanWhereUniqueInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - Int - - No -
    - AND - ActionPlanWhereInput | ActionPlanWhereInput[] - - No -
    - OR - ActionPlanWhereInput[] - - No -
    - NOT - ActionPlanWhereInput | ActionPlanWhereInput[] - - No -
    - name - StringFilter | String - - No -
    - comment - StringNullableFilter | String | Null - - Yes -
    - prio - PrioritiesListRelationFilter - - No -
    - content - ContentListRelationFilter - - No -
    -
    -
    -
    -

    ActionPlanOrderByWithAggregationInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - SortOrder - - No -
    - name - SortOrder - - No -
    - comment - SortOrder | SortOrderInput - - No -
    - _count - ActionPlanCountOrderByAggregateInput - - No -
    - _avg - ActionPlanAvgOrderByAggregateInput - - No -
    - _max - ActionPlanMaxOrderByAggregateInput - - No -
    - _min - ActionPlanMinOrderByAggregateInput - - No -
    - _sum - ActionPlanSumOrderByAggregateInput - - No -
    -
    -
    -
    -

    ActionPlanScalarWhereWithAggregatesInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - AND - ActionPlanScalarWhereWithAggregatesInput | ActionPlanScalarWhereWithAggregatesInput[] - - No -
    - OR - ActionPlanScalarWhereWithAggregatesInput[] - - No -
    - NOT - ActionPlanScalarWhereWithAggregatesInput | ActionPlanScalarWhereWithAggregatesInput[] - - No -
    - id - IntWithAggregatesFilter | Int - - No -
    - name - StringWithAggregatesFilter | String - - No -
    - comment - StringNullableWithAggregatesFilter | String | Null - - Yes -
    -
    -
    -
    -

    ContentWhereInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - AND - ContentWhereInput | ContentWhereInput[] - - No -
    - OR - ContentWhereInput[] - - No -
    - NOT - ContentWhereInput | ContentWhereInput[] + contentWhereInput | contentWhereInput[] @@ -4859,7 +6632,7 @@
    -

    ContentOrderByWithRelationInput

    +

    contentOrderByWithRelationInput

    @@ -4922,7 +6695,7 @@
    actionplan - ActionPlanOrderByRelationAggregateInput + actionPlanOrderByRelationAggregateInput @@ -4934,7 +6707,7 @@ _relevance - ContentOrderByRelevanceInput + contentOrderByRelevanceInput @@ -4947,7 +6720,7 @@
    -

    ContentWhereUniqueInput

    +

    contentWhereUniqueInput

    @@ -4974,7 +6747,7 @@
    AND - ContentWhereInput | ContentWhereInput[] + contentWhereInput | contentWhereInput[] @@ -4986,7 +6759,7 @@ OR - ContentWhereInput[] + contentWhereInput[] @@ -4998,7 +6771,7 @@ NOT - ContentWhereInput | ContentWhereInput[] + contentWhereInput | contentWhereInput[] @@ -5059,7 +6832,7 @@
    -

    ContentOrderByWithAggregationInput

    +

    contentOrderByWithAggregationInput

    @@ -5122,7 +6895,7 @@
    _count - ContentCountOrderByAggregateInput + contentCountOrderByAggregateInput @@ -5134,7 +6907,7 @@ _avg - ContentAvgOrderByAggregateInput + contentAvgOrderByAggregateInput @@ -5146,7 +6919,7 @@ _max - ContentMaxOrderByAggregateInput + contentMaxOrderByAggregateInput @@ -5158,7 +6931,7 @@ _min - ContentMinOrderByAggregateInput + contentMinOrderByAggregateInput @@ -5170,7 +6943,7 @@ _sum - ContentSumOrderByAggregateInput + contentSumOrderByAggregateInput @@ -5183,7 +6956,7 @@
    -

    ContentScalarWhereWithAggregatesInput

    +

    contentScalarWhereWithAggregatesInput

    @@ -5198,7 +6971,7 @@
    AND - ContentScalarWhereWithAggregatesInput | ContentScalarWhereWithAggregatesInput[] + contentScalarWhereWithAggregatesInput | contentScalarWhereWithAggregatesInput[] @@ -5210,7 +6983,7 @@ OR - ContentScalarWhereWithAggregatesInput[] + contentScalarWhereWithAggregatesInput[] @@ -5222,7 +6995,7 @@ NOT - ContentScalarWhereWithAggregatesInput | ContentScalarWhereWithAggregatesInput[] + contentScalarWhereWithAggregatesInput | contentScalarWhereWithAggregatesInput[] @@ -5283,7 +7056,707 @@
    -

    AlarmContactsCreateInput

    +

    alertsCreateInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + type + alertType + + No +
    + message + String | Null + + Yes +
    + date + DateTime + + No +
    + state + alertState + + No +
    + acknowledged_at + DateTime | Null + + Yes +
    + actionplan + actionPlanCreateNestedOneWithoutAlertsInput + + No +
    + acknowledged_by + alertContactsCreateNestedManyWithoutAlertsInput + + No +
    +
    +
    +
    +

    alertsUncheckedCreateInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int + + No +
    + type + alertType + + No +
    + message + String | Null + + Yes +
    + actionplanId + Int | Null + + Yes +
    + date + DateTime + + No +
    + state + alertState + + No +
    + acknowledged_at + DateTime | Null + + Yes +
    + acknowledged_by + alertContactsUncheckedCreateNestedManyWithoutAlertsInput + + No +
    +
    +
    +
    +

    alertsUpdateInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + type + alertType | EnumalertTypeFieldUpdateOperationsInput + + No +
    + message + String | NullableStringFieldUpdateOperationsInput | Null + + Yes +
    + date + DateTime | DateTimeFieldUpdateOperationsInput + + No +
    + state + alertState | EnumalertStateFieldUpdateOperationsInput + + No +
    + acknowledged_at + DateTime | NullableDateTimeFieldUpdateOperationsInput | Null + + Yes +
    + actionplan + actionPlanUpdateOneWithoutAlertsNestedInput + + No +
    + acknowledged_by + alertContactsUpdateManyWithoutAlertsNestedInput + + No +
    +
    +
    +
    +

    alertsUncheckedUpdateInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int | IntFieldUpdateOperationsInput + + No +
    + type + alertType | EnumalertTypeFieldUpdateOperationsInput + + No +
    + message + String | NullableStringFieldUpdateOperationsInput | Null + + Yes +
    + actionplanId + Int | NullableIntFieldUpdateOperationsInput | Null + + Yes +
    + date + DateTime | DateTimeFieldUpdateOperationsInput + + No +
    + state + alertState | EnumalertStateFieldUpdateOperationsInput + + No +
    + acknowledged_at + DateTime | NullableDateTimeFieldUpdateOperationsInput | Null + + Yes +
    + acknowledged_by + alertContactsUncheckedUpdateManyWithoutAlertsNestedInput + + No +
    +
    +
    +
    +

    alertsCreateManyInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int + + No +
    + type + alertType + + No +
    + message + String | Null + + Yes +
    + actionplanId + Int | Null + + Yes +
    + date + DateTime + + No +
    + state + alertState + + No +
    + acknowledged_at + DateTime | Null + + Yes +
    +
    +
    +
    +

    alertsUpdateManyMutationInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + type + alertType | EnumalertTypeFieldUpdateOperationsInput + + No +
    + message + String | NullableStringFieldUpdateOperationsInput | Null + + Yes +
    + date + DateTime | DateTimeFieldUpdateOperationsInput + + No +
    + state + alertState | EnumalertStateFieldUpdateOperationsInput + + No +
    + acknowledged_at + DateTime | NullableDateTimeFieldUpdateOperationsInput | Null + + Yes +
    +
    +
    +
    +

    alertsUncheckedUpdateManyInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int | IntFieldUpdateOperationsInput + + No +
    + type + alertType | EnumalertTypeFieldUpdateOperationsInput + + No +
    + message + String | NullableStringFieldUpdateOperationsInput | Null + + Yes +
    + actionplanId + Int | NullableIntFieldUpdateOperationsInput | Null + + Yes +
    + date + DateTime | DateTimeFieldUpdateOperationsInput + + No +
    + state + alertState | EnumalertStateFieldUpdateOperationsInput + + No +
    + acknowledged_at + DateTime | NullableDateTimeFieldUpdateOperationsInput | Null + + Yes +
    +
    +
    +
    +

    alertContactsCreateInput

    @@ -5332,9 +7805,21 @@ + prios + + + + + + +
    - Prios - PrioritiesCreateNestedManyWithoutContactInput + prioritiesCreateNestedManyWithoutContactInput + + No +
    + alerts + alertsCreateNestedManyWithoutAcknowledged_byInput @@ -5347,7 +7832,7 @@
    -

    AlarmContactsUncheckedCreateInput

    +

    alertContactsUncheckedCreateInput

    @@ -5408,9 +7893,21 @@ + prios + + + + + + +
    - Prios - PrioritiesUncheckedCreateNestedManyWithoutContactInput + prioritiesUncheckedCreateNestedManyWithoutContactInput + + No +
    + alerts + alertsUncheckedCreateNestedManyWithoutAcknowledged_byInput @@ -5423,7 +7920,7 @@
    -

    AlarmContactsUpdateInput

    +

    alertContactsUpdateInput

    @@ -5472,9 +7969,21 @@ + prios + + + + + + +
    - Prios - PrioritiesUpdateManyWithoutContactNestedInput + prioritiesUpdateManyWithoutContactNestedInput + + No +
    + alerts + alertsUpdateManyWithoutAcknowledged_byNestedInput @@ -5487,7 +7996,7 @@
    -

    AlarmContactsUncheckedUpdateInput

    +

    alertContactsUncheckedUpdateInput

    @@ -5548,9 +8057,21 @@ + prios + + + + + + +
    - Prios - PrioritiesUncheckedUpdateManyWithoutContactNestedInput + prioritiesUncheckedUpdateManyWithoutContactNestedInput + + No +
    + alerts + alertsUncheckedUpdateManyWithoutAcknowledged_byNestedInput @@ -5563,7 +8084,7 @@
    -

    AlarmContactsCreateManyInput

    +

    alertContactsCreateManyInput

    @@ -5627,7 +8148,7 @@
    -

    AlarmContactsUpdateManyMutationInput

    +

    alertContactsUpdateManyMutationInput

    @@ -5679,7 +8200,7 @@
    -

    AlarmContactsUncheckedUpdateManyInput

    +

    alertContactsUncheckedUpdateManyInput

    @@ -5743,7 +8264,563 @@
    -

    PrioritiesCreateInput

    +

    actionPlanCreateInput

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + name + String + + No +
    + comment + String | Null + + Yes +
    + alert_hook + String + + No +
    + prio + prioritiesCreateNestedManyWithoutActionplanInput + + No +
    + content + contentCreateNestedManyWithoutActionplanInput + + No +
    + alerts + alertsCreateNestedManyWithoutActionplanInput + + No +
    +
    +
    +
    +

    actionPlanUncheckedCreateInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int + + No +
    + name + String + + No +
    + comment + String | Null + + Yes +
    + alert_hook + String + + No +
    + prio + prioritiesUncheckedCreateNestedManyWithoutActionplanInput + + No +
    + content + contentUncheckedCreateNestedManyWithoutActionplanInput + + No +
    + alerts + alertsUncheckedCreateNestedManyWithoutActionplanInput + + No +
    +
    +
    +
    +

    actionPlanUpdateInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + name + String | StringFieldUpdateOperationsInput + + No +
    + comment + String | NullableStringFieldUpdateOperationsInput | Null + + Yes +
    + alert_hook + String | StringFieldUpdateOperationsInput + + No +
    + prio + prioritiesUpdateManyWithoutActionplanNestedInput + + No +
    + content + contentUpdateManyWithoutActionplanNestedInput + + No +
    + alerts + alertsUpdateManyWithoutActionplanNestedInput + + No +
    +
    +
    +
    +

    actionPlanUncheckedUpdateInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int | IntFieldUpdateOperationsInput + + No +
    + name + String | StringFieldUpdateOperationsInput + + No +
    + comment + String | NullableStringFieldUpdateOperationsInput | Null + + Yes +
    + alert_hook + String | StringFieldUpdateOperationsInput + + No +
    + prio + prioritiesUncheckedUpdateManyWithoutActionplanNestedInput + + No +
    + content + contentUncheckedUpdateManyWithoutActionplanNestedInput + + No +
    + alerts + alertsUncheckedUpdateManyWithoutActionplanNestedInput + + No +
    +
    +
    +
    +

    actionPlanCreateManyInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int + + No +
    + name + String + + No +
    + comment + String | Null + + Yes +
    + alert_hook + String + + No +
    +
    +
    +
    +

    actionPlanUpdateManyMutationInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + name + String | StringFieldUpdateOperationsInput + + No +
    + comment + String | NullableStringFieldUpdateOperationsInput | Null + + Yes +
    + alert_hook + String | StringFieldUpdateOperationsInput + + No +
    +
    +
    +
    +

    actionPlanUncheckedUpdateManyInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int | IntFieldUpdateOperationsInput + + No +
    + name + String | StringFieldUpdateOperationsInput + + No +
    + comment + String | NullableStringFieldUpdateOperationsInput | Null + + Yes +
    + alert_hook + String | StringFieldUpdateOperationsInput + + No +
    +
    +
    +
    +

    prioritiesCreateInput

    @@ -5770,7 +8847,7 @@
    Contact - AlarmContactsCreateNestedOneWithoutPriosInput + alertContactsCreateNestedOneWithoutPriosInput @@ -5782,7 +8859,7 @@ actionplan - ActionPlanCreateNestedOneWithoutPrioInput + actionPlanCreateNestedOneWithoutPrioInput @@ -5795,7 +8872,7 @@
    -

    PrioritiesUncheckedCreateInput

    +

    prioritiesUncheckedCreateInput

    @@ -5859,7 +8936,7 @@
    -

    PrioritiesUpdateInput

    +

    prioritiesUpdateInput

    @@ -5886,7 +8963,7 @@
    Contact - AlarmContactsUpdateOneRequiredWithoutPriosNestedInput + alertContactsUpdateOneRequiredWithoutPriosNestedInput @@ -5898,7 +8975,7 @@ actionplan - ActionPlanUpdateOneRequiredWithoutPrioNestedInput + actionPlanUpdateOneRequiredWithoutPrioNestedInput @@ -5911,7 +8988,7 @@
    -

    PrioritiesUncheckedUpdateInput

    +

    prioritiesUncheckedUpdateInput

    @@ -5975,7 +9052,7 @@
    -

    PrioritiesCreateManyInput

    +

    prioritiesCreateManyInput

    @@ -6039,7 +9116,7 @@
    -

    PrioritiesUpdateManyMutationInput

    +

    prioritiesUpdateManyMutationInput

    @@ -6067,7 +9144,7 @@
    -

    PrioritiesUncheckedUpdateManyInput

    +

    prioritiesUncheckedUpdateManyInput

    @@ -6131,431 +9208,7 @@
    -

    ActionPlanCreateInput

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - name - String - - No -
    - comment - String | Null - - Yes -
    - prio - PrioritiesCreateNestedManyWithoutActionplanInput - - No -
    - content - ContentCreateNestedManyWithoutActionplanInput - - No -
    -
    -
    -
    -

    ActionPlanUncheckedCreateInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - Int - - No -
    - name - String - - No -
    - comment - String | Null - - Yes -
    - prio - PrioritiesUncheckedCreateNestedManyWithoutActionplanInput - - No -
    - content - ContentUncheckedCreateNestedManyWithoutActionplanInput - - No -
    -
    -
    -
    -

    ActionPlanUpdateInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - name - String | StringFieldUpdateOperationsInput - - No -
    - comment - String | NullableStringFieldUpdateOperationsInput | Null - - Yes -
    - prio - PrioritiesUpdateManyWithoutActionplanNestedInput - - No -
    - content - ContentUpdateManyWithoutActionplanNestedInput - - No -
    -
    -
    -
    -

    ActionPlanUncheckedUpdateInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - Int | IntFieldUpdateOperationsInput - - No -
    - name - String | StringFieldUpdateOperationsInput - - No -
    - comment - String | NullableStringFieldUpdateOperationsInput | Null - - Yes -
    - prio - PrioritiesUncheckedUpdateManyWithoutActionplanNestedInput - - No -
    - content - ContentUncheckedUpdateManyWithoutActionplanNestedInput - - No -
    -
    -
    -
    -

    ActionPlanCreateManyInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - Int - - No -
    - name - String - - No -
    - comment - String | Null - - Yes -
    -
    -
    -
    -

    ActionPlanUpdateManyMutationInput

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - name - String | StringFieldUpdateOperationsInput - - No -
    - comment - String | NullableStringFieldUpdateOperationsInput | Null - - Yes -
    -
    -
    -
    -

    ActionPlanUncheckedUpdateManyInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - Int | IntFieldUpdateOperationsInput - - No -
    - name - String | StringFieldUpdateOperationsInput - - No -
    - comment - String | NullableStringFieldUpdateOperationsInput | Null - - Yes -
    -
    -
    -
    -

    ContentCreateInput

    +

    contentCreateInput

    @@ -6606,7 +9259,7 @@
    actionplan - ActionPlanCreateNestedManyWithoutContentInput + actionPlanCreateNestedManyWithoutContentInput @@ -6619,7 +9272,7 @@
    -

    ContentUncheckedCreateInput

    +

    contentUncheckedCreateInput

    @@ -6682,7 +9335,7 @@
    actionplan - ActionPlanUncheckedCreateNestedManyWithoutContentInput + actionPlanUncheckedCreateNestedManyWithoutContentInput @@ -6695,7 +9348,7 @@
    -

    ContentUpdateInput

    +

    contentUpdateInput

    @@ -6746,7 +9399,7 @@
    actionplan - ActionPlanUpdateManyWithoutContentNestedInput + actionPlanUpdateManyWithoutContentNestedInput @@ -6759,7 +9412,7 @@
    -

    ContentUncheckedUpdateInput

    +

    contentUncheckedUpdateInput

    @@ -6822,7 +9475,7 @@
    actionplan - ActionPlanUncheckedUpdateManyWithoutContentNestedInput + actionPlanUncheckedUpdateManyWithoutContentNestedInput @@ -6835,7 +9488,7 @@
    -

    ContentCreateManyInput

    +

    contentCreateManyInput

    @@ -6899,7 +9552,7 @@
    -

    ContentUpdateManyMutationInput

    +

    contentUpdateManyMutationInput

    @@ -6951,7 +9604,7 @@
    -

    ContentUncheckedUpdateManyInput

    +

    contentUncheckedUpdateManyInput

    @@ -7127,7 +9780,7 @@
    -

    StringFilter

    +

    EnumalertTypeFilter

    @@ -7142,7 +9795,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    equals - String | StringFieldRefInput + alertType | EnumalertTypeFieldRefInput @@ -7154,7 +9807,7 @@ in - String + alertType[] @@ -7166,103 +9819,7 @@ notIn - String - - No -
    - lt - String | StringFieldRefInput - - No -
    - lte - String | StringFieldRefInput - - No -
    - gt - String | StringFieldRefInput - - No -
    - gte - String | StringFieldRefInput - - No -
    - contains - String | StringFieldRefInput - - No -
    - startsWith - String | StringFieldRefInput - - No -
    - endsWith - String | StringFieldRefInput - - No -
    - search - String + alertType[] @@ -7274,7 +9831,7 @@ not - String | NestedStringFilter + alertType | NestedEnumalertTypeFilter @@ -7447,7 +10004,447 @@
    -

    PrioritiesListRelationFilter

    +

    IntNullableFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + equals + Int | IntFieldRefInput | Null + + Yes +
    + in + Int | Null + + Yes +
    + notIn + Int | Null + + Yes +
    + lt + Int | IntFieldRefInput + + No +
    + lte + Int | IntFieldRefInput + + No +
    + gt + Int | IntFieldRefInput + + No +
    + gte + Int | IntFieldRefInput + + No +
    + not + Int | NestedIntNullableFilter | Null + + Yes +
    +
    +
    +
    +

    DateTimeFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + equals + DateTime | DateTimeFieldRefInput + + No +
    + in + DateTime + + No +
    + notIn + DateTime + + No +
    + lt + DateTime | DateTimeFieldRefInput + + No +
    + lte + DateTime | DateTimeFieldRefInput + + No +
    + gt + DateTime | DateTimeFieldRefInput + + No +
    + gte + DateTime | DateTimeFieldRefInput + + No +
    + not + DateTime | NestedDateTimeFilter + + No +
    +
    +
    +
    +

    EnumalertStateFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + equals + alertState | EnumalertStateFieldRefInput + + No +
    + in + alertState[] + + No +
    + notIn + alertState[] + + No +
    + not + alertState | NestedEnumalertStateFilter + + No +
    +
    +
    +
    +

    DateTimeNullableFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + equals + DateTime | DateTimeFieldRefInput | Null + + Yes +
    + in + DateTime | Null + + Yes +
    + notIn + DateTime | Null + + Yes +
    + lt + DateTime | DateTimeFieldRefInput + + No +
    + lte + DateTime | DateTimeFieldRefInput + + No +
    + gt + DateTime | DateTimeFieldRefInput + + No +
    + gte + DateTime | DateTimeFieldRefInput + + No +
    + not + DateTime | NestedDateTimeNullableFilter | Null + + Yes +
    +
    +
    +
    +

    ActionPlanNullableScalarRelationFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + is + actionPlanWhereInput | Null + + Yes +
    + isNot + actionPlanWhereInput | Null + + Yes +
    +
    +
    +
    +

    AlertContactsListRelationFilter

    @@ -7462,7 +10459,7 @@
    every - PrioritiesWhereInput + alertContactsWhereInput @@ -7474,7 +10471,7 @@ some - PrioritiesWhereInput + alertContactsWhereInput @@ -7486,7 +10483,7 @@ none - PrioritiesWhereInput + alertContactsWhereInput @@ -7539,7 +10536,7 @@
    -

    PrioritiesOrderByRelationAggregateInput

    +

    alertContactsOrderByRelationAggregateInput

    @@ -7567,7 +10564,7 @@
    -

    AlarmContactsOrderByRelevanceInput

    +

    alertsOrderByRelevanceInput

    @@ -7582,7 +10579,7 @@
    fields - AlarmContactsOrderByRelevanceFieldEnum | AlarmContactsOrderByRelevanceFieldEnum[] + alertsOrderByRelevanceFieldEnum | alertsOrderByRelevanceFieldEnum[] @@ -7619,7 +10616,7 @@
    -

    AlarmContactsCountOrderByAggregateInput

    +

    alertsCountOrderByAggregateInput

    @@ -7644,7 +10641,7 @@ + type @@ -7656,7 +10653,7 @@ + message @@ -7668,7 +10665,43 @@ + actionplanId + + + + + + + + + + + + + + + + + + + + + @@ -7683,7 +10716,7 @@
    -

    AlarmContactsAvgOrderByAggregateInput

    +

    alertsAvgOrderByAggregateInput

    - name SortOrder
    - phone SortOrder
    - comment + SortOrder + + No +
    + date + SortOrder + + No +
    + state + SortOrder + + No +
    + acknowledged_at SortOrder
    @@ -7701,6 +10734,18 @@ SortOrder + + + + + + + @@ -7711,7 +10756,7 @@
    -

    AlarmContactsMaxOrderByAggregateInput

    +

    alertsMaxOrderByAggregateInput

    + No +
    + actionplanId + SortOrder + No
    @@ -7736,7 +10781,7 @@ + type @@ -7748,7 +10793,7 @@ + message @@ -7760,7 +10805,43 @@ + actionplanId + + + + + + + + + + + + + + + + + + + + + @@ -7775,7 +10856,7 @@
    -

    AlarmContactsMinOrderByAggregateInput

    +

    alertsMinOrderByAggregateInput

    - name SortOrder
    - phone SortOrder
    - comment + SortOrder + + No +
    + date + SortOrder + + No +
    + state + SortOrder + + No +
    + acknowledged_at SortOrder
    @@ -7800,7 +10881,7 @@ + type @@ -7812,7 +10893,7 @@ + message @@ -7824,7 +10905,43 @@ + actionplanId + + + + + + + + + + + + + + + + + + + + + @@ -7839,7 +10956,7 @@
    -

    AlarmContactsSumOrderByAggregateInput

    +

    alertsSumOrderByAggregateInput

    - name SortOrder
    - phone SortOrder
    - comment + SortOrder + + No +
    + date + SortOrder + + No +
    + state + SortOrder + + No +
    + acknowledged_at SortOrder
    @@ -7857,6 +10974,18 @@ SortOrder + + + + + + + @@ -8039,7 +11168,7 @@
    -

    StringWithAggregatesFilter

    +

    EnumalertTypeWithAggregatesFilter

    + No +
    + actionplanId + SortOrder + No
    @@ -8054,7 +11183,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    equals - String | StringFieldRefInput + alertType | EnumalertTypeFieldRefInput @@ -8066,7 +11195,7 @@ in - String + alertType[] @@ -8078,103 +11207,7 @@ notIn - String - - No -
    - lt - String | StringFieldRefInput - - No -
    - lte - String | StringFieldRefInput - - No -
    - gt - String | StringFieldRefInput - - No -
    - gte - String | StringFieldRefInput - - No -
    - contains - String | StringFieldRefInput - - No -
    - startsWith - String | StringFieldRefInput - - No -
    - endsWith - String | StringFieldRefInput - - No -
    - search - String + alertType[] @@ -8186,7 +11219,7 @@ not - String | NestedStringWithAggregatesFilter + alertType | NestedEnumalertTypeWithAggregatesFilter @@ -8210,7 +11243,7 @@ _min - NestedStringFilter + NestedEnumalertTypeFilter @@ -8222,7 +11255,7 @@ _max - NestedStringFilter + NestedEnumalertTypeFilter @@ -8431,791 +11464,7 @@
    -

    AlarmContactsScalarRelationFilter

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - is - AlarmContactsWhereInput - - No -
    - isNot - AlarmContactsWhereInput - - No -
    -
    -
    -
    -

    ActionPlanScalarRelationFilter

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - is - ActionPlanWhereInput - - No -
    - isNot - ActionPlanWhereInput - - No -
    -
    -
    -
    -

    PrioritiesPriorityActionplanIdCompoundUniqueInput

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - priority - Int - - No -
    - actionplanId - Int - - No -
    -
    -
    -
    -

    PrioritiesCountOrderByAggregateInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - SortOrder - - No -
    - contactId - SortOrder - - No -
    - priority - SortOrder - - No -
    - actionplanId - SortOrder - - No -
    -
    -
    -
    -

    PrioritiesAvgOrderByAggregateInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - SortOrder - - No -
    - contactId - SortOrder - - No -
    - priority - SortOrder - - No -
    - actionplanId - SortOrder - - No -
    -
    -
    -
    -

    PrioritiesMaxOrderByAggregateInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - SortOrder - - No -
    - contactId - SortOrder - - No -
    - priority - SortOrder - - No -
    - actionplanId - SortOrder - - No -
    -
    -
    -
    -

    PrioritiesMinOrderByAggregateInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - SortOrder - - No -
    - contactId - SortOrder - - No -
    - priority - SortOrder - - No -
    - actionplanId - SortOrder - - No -
    -
    -
    -
    -

    PrioritiesSumOrderByAggregateInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - SortOrder - - No -
    - contactId - SortOrder - - No -
    - priority - SortOrder - - No -
    - actionplanId - SortOrder - - No -
    -
    -
    -
    -

    ContentListRelationFilter

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - every - ContentWhereInput - - No -
    - some - ContentWhereInput - - No -
    - none - ContentWhereInput - - No -
    -
    -
    -
    -

    ContentOrderByRelationAggregateInput

    - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - _count - SortOrder - - No -
    -
    -
    -
    -

    ActionPlanOrderByRelevanceInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - fields - ActionPlanOrderByRelevanceFieldEnum | ActionPlanOrderByRelevanceFieldEnum[] - - No -
    - sort - SortOrder - - No -
    - search - String - - No -
    -
    -
    -
    -

    ActionPlanCountOrderByAggregateInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - SortOrder - - No -
    - name - SortOrder - - No -
    - comment - SortOrder - - No -
    -
    -
    -
    -

    ActionPlanAvgOrderByAggregateInput

    - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - SortOrder - - No -
    -
    -
    -
    -

    ActionPlanMaxOrderByAggregateInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - SortOrder - - No -
    - name - SortOrder - - No -
    - comment - SortOrder - - No -
    -
    -
    -
    -

    ActionPlanMinOrderByAggregateInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - SortOrder - - No -
    - name - SortOrder - - No -
    - comment - SortOrder - - No -
    -
    -
    -
    -

    ActionPlanSumOrderByAggregateInput

    - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - SortOrder - - No -
    -
    -
    -
    -

    EnumcontentTypeFilter

    +

    IntNullableWithAggregatesFilter

    @@ -9230,707 +11479,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - -
    equals - contentType | EnumcontentTypeFieldRefInput - - No -
    - in - contentType[] - - No -
    - notIn - contentType[] - - No -
    - not - contentType | NestedEnumcontentTypeFilter - - No -
    -
    -
    -
    -

    ActionPlanListRelationFilter

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - every - ActionPlanWhereInput - - No -
    - some - ActionPlanWhereInput - - No -
    - none - ActionPlanWhereInput - - No -
    -
    -
    -
    -

    ActionPlanOrderByRelationAggregateInput

    - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - _count - SortOrder - - No -
    -
    -
    -
    -

    ContentOrderByRelevanceInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - fields - ContentOrderByRelevanceFieldEnum | ContentOrderByRelevanceFieldEnum[] - - No -
    - sort - SortOrder - - No -
    - search - String - - No -
    -
    -
    -
    -

    ContentCountOrderByAggregateInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - SortOrder - - No -
    - type - SortOrder - - No -
    - name - SortOrder - - No -
    - filename - SortOrder - - No -
    -
    -
    -
    -

    ContentAvgOrderByAggregateInput

    - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - SortOrder - - No -
    -
    -
    -
    -

    ContentMaxOrderByAggregateInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - SortOrder - - No -
    - type - SortOrder - - No -
    - name - SortOrder - - No -
    - filename - SortOrder - - No -
    -
    -
    -
    -

    ContentMinOrderByAggregateInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - SortOrder - - No -
    - type - SortOrder - - No -
    - name - SortOrder - - No -
    - filename - SortOrder - - No -
    -
    -
    -
    -

    ContentSumOrderByAggregateInput

    - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - SortOrder - - No -
    -
    -
    -
    -

    EnumcontentTypeWithAggregatesFilter

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - equals - contentType | EnumcontentTypeFieldRefInput - - No -
    - in - contentType[] - - No -
    - notIn - contentType[] - - No -
    - not - contentType | NestedEnumcontentTypeWithAggregatesFilter - - No -
    - _count - NestedIntFilter - - No -
    - _min - NestedEnumcontentTypeFilter - - No -
    - _max - NestedEnumcontentTypeFilter - - No -
    -
    -
    -
    -

    PrioritiesCreateNestedManyWithoutContactInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - create - PrioritiesCreateWithoutContactInput | PrioritiesCreateWithoutContactInput[] | PrioritiesUncheckedCreateWithoutContactInput | PrioritiesUncheckedCreateWithoutContactInput[] - - No -
    - connectOrCreate - PrioritiesCreateOrConnectWithoutContactInput | PrioritiesCreateOrConnectWithoutContactInput[] - - No -
    - createMany - PrioritiesCreateManyContactInputEnvelope - - No -
    - connect - PrioritiesWhereUniqueInput | PrioritiesWhereUniqueInput[] - - No -
    -
    -
    -
    -

    PrioritiesUncheckedCreateNestedManyWithoutContactInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - create - PrioritiesCreateWithoutContactInput | PrioritiesCreateWithoutContactInput[] | PrioritiesUncheckedCreateWithoutContactInput | PrioritiesUncheckedCreateWithoutContactInput[] - - No -
    - connectOrCreate - PrioritiesCreateOrConnectWithoutContactInput | PrioritiesCreateOrConnectWithoutContactInput[] - - No -
    - createMany - PrioritiesCreateManyContactInputEnvelope - - No -
    - connect - PrioritiesWhereUniqueInput | PrioritiesWhereUniqueInput[] - - No -
    -
    -
    -
    -

    StringFieldUpdateOperationsInput

    - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - set - String - - No -
    -
    -
    -
    -

    NullableStringFieldUpdateOperationsInput

    - - - - - - - - - - - - - - -
    NameTypeNullable
    - set - String | Null + Int | IntFieldRefInput | Null @@ -9938,1875 +11487,15 @@
    -
    -
    -
    -

    PrioritiesUpdateManyWithoutContactNestedInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - create - PrioritiesCreateWithoutContactInput | PrioritiesCreateWithoutContactInput[] | PrioritiesUncheckedCreateWithoutContactInput | PrioritiesUncheckedCreateWithoutContactInput[] - - No -
    - connectOrCreate - PrioritiesCreateOrConnectWithoutContactInput | PrioritiesCreateOrConnectWithoutContactInput[] - - No -
    - upsert - PrioritiesUpsertWithWhereUniqueWithoutContactInput | PrioritiesUpsertWithWhereUniqueWithoutContactInput[] - - No -
    - createMany - PrioritiesCreateManyContactInputEnvelope - - No -
    - set - PrioritiesWhereUniqueInput | PrioritiesWhereUniqueInput[] - - No -
    - disconnect - PrioritiesWhereUniqueInput | PrioritiesWhereUniqueInput[] - - No -
    - delete - PrioritiesWhereUniqueInput | PrioritiesWhereUniqueInput[] - - No -
    - connect - PrioritiesWhereUniqueInput | PrioritiesWhereUniqueInput[] - - No -
    - update - PrioritiesUpdateWithWhereUniqueWithoutContactInput | PrioritiesUpdateWithWhereUniqueWithoutContactInput[] - - No -
    - updateMany - PrioritiesUpdateManyWithWhereWithoutContactInput | PrioritiesUpdateManyWithWhereWithoutContactInput[] - - No -
    - deleteMany - PrioritiesScalarWhereInput | PrioritiesScalarWhereInput[] - - No -
    -
    -
    -
    -

    IntFieldUpdateOperationsInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - set - Int - - No -
    - increment - Int - - No -
    - decrement - Int - - No -
    - multiply - Int - - No -
    - divide - Int - - No -
    -
    -
    -
    -

    PrioritiesUncheckedUpdateManyWithoutContactNestedInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - create - PrioritiesCreateWithoutContactInput | PrioritiesCreateWithoutContactInput[] | PrioritiesUncheckedCreateWithoutContactInput | PrioritiesUncheckedCreateWithoutContactInput[] - - No -
    - connectOrCreate - PrioritiesCreateOrConnectWithoutContactInput | PrioritiesCreateOrConnectWithoutContactInput[] - - No -
    - upsert - PrioritiesUpsertWithWhereUniqueWithoutContactInput | PrioritiesUpsertWithWhereUniqueWithoutContactInput[] - - No -
    - createMany - PrioritiesCreateManyContactInputEnvelope - - No -
    - set - PrioritiesWhereUniqueInput | PrioritiesWhereUniqueInput[] - - No -
    - disconnect - PrioritiesWhereUniqueInput | PrioritiesWhereUniqueInput[] - - No -
    - delete - PrioritiesWhereUniqueInput | PrioritiesWhereUniqueInput[] - - No -
    - connect - PrioritiesWhereUniqueInput | PrioritiesWhereUniqueInput[] - - No -
    - update - PrioritiesUpdateWithWhereUniqueWithoutContactInput | PrioritiesUpdateWithWhereUniqueWithoutContactInput[] - - No -
    - updateMany - PrioritiesUpdateManyWithWhereWithoutContactInput | PrioritiesUpdateManyWithWhereWithoutContactInput[] - - No -
    - deleteMany - PrioritiesScalarWhereInput | PrioritiesScalarWhereInput[] - - No -
    -
    -
    -
    -

    AlarmContactsCreateNestedOneWithoutPriosInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - create - AlarmContactsCreateWithoutPriosInput | AlarmContactsUncheckedCreateWithoutPriosInput - - No -
    - connectOrCreate - AlarmContactsCreateOrConnectWithoutPriosInput - - No -
    - connect - AlarmContactsWhereUniqueInput - - No -
    -
    -
    -
    -

    ActionPlanCreateNestedOneWithoutPrioInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - create - ActionPlanCreateWithoutPrioInput | ActionPlanUncheckedCreateWithoutPrioInput - - No -
    - connectOrCreate - ActionPlanCreateOrConnectWithoutPrioInput - - No -
    - connect - ActionPlanWhereUniqueInput - - No -
    -
    -
    -
    -

    AlarmContactsUpdateOneRequiredWithoutPriosNestedInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - create - AlarmContactsCreateWithoutPriosInput | AlarmContactsUncheckedCreateWithoutPriosInput - - No -
    - connectOrCreate - AlarmContactsCreateOrConnectWithoutPriosInput - - No -
    - upsert - AlarmContactsUpsertWithoutPriosInput - - No -
    - connect - AlarmContactsWhereUniqueInput - - No -
    - update - AlarmContactsUpdateToOneWithWhereWithoutPriosInput | AlarmContactsUpdateWithoutPriosInput | AlarmContactsUncheckedUpdateWithoutPriosInput - - No -
    -
    -
    -
    -

    ActionPlanUpdateOneRequiredWithoutPrioNestedInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - create - ActionPlanCreateWithoutPrioInput | ActionPlanUncheckedCreateWithoutPrioInput - - No -
    - connectOrCreate - ActionPlanCreateOrConnectWithoutPrioInput - - No -
    - upsert - ActionPlanUpsertWithoutPrioInput - - No -
    - connect - ActionPlanWhereUniqueInput - - No -
    - update - ActionPlanUpdateToOneWithWhereWithoutPrioInput | ActionPlanUpdateWithoutPrioInput | ActionPlanUncheckedUpdateWithoutPrioInput - - No -
    -
    -
    -
    -

    PrioritiesCreateNestedManyWithoutActionplanInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - create - PrioritiesCreateWithoutActionplanInput | PrioritiesCreateWithoutActionplanInput[] | PrioritiesUncheckedCreateWithoutActionplanInput | PrioritiesUncheckedCreateWithoutActionplanInput[] - - No -
    - connectOrCreate - PrioritiesCreateOrConnectWithoutActionplanInput | PrioritiesCreateOrConnectWithoutActionplanInput[] - - No -
    - createMany - PrioritiesCreateManyActionplanInputEnvelope - - No -
    - connect - PrioritiesWhereUniqueInput | PrioritiesWhereUniqueInput[] - - No -
    -
    -
    -
    -

    ContentCreateNestedManyWithoutActionplanInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - create - ContentCreateWithoutActionplanInput | ContentCreateWithoutActionplanInput[] | ContentUncheckedCreateWithoutActionplanInput | ContentUncheckedCreateWithoutActionplanInput[] - - No -
    - connectOrCreate - ContentCreateOrConnectWithoutActionplanInput | ContentCreateOrConnectWithoutActionplanInput[] - - No -
    - connect - ContentWhereUniqueInput | ContentWhereUniqueInput[] - - No -
    -
    -
    -
    -

    PrioritiesUncheckedCreateNestedManyWithoutActionplanInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - create - PrioritiesCreateWithoutActionplanInput | PrioritiesCreateWithoutActionplanInput[] | PrioritiesUncheckedCreateWithoutActionplanInput | PrioritiesUncheckedCreateWithoutActionplanInput[] - - No -
    - connectOrCreate - PrioritiesCreateOrConnectWithoutActionplanInput | PrioritiesCreateOrConnectWithoutActionplanInput[] - - No -
    - createMany - PrioritiesCreateManyActionplanInputEnvelope - - No -
    - connect - PrioritiesWhereUniqueInput | PrioritiesWhereUniqueInput[] - - No -
    -
    -
    -
    -

    ContentUncheckedCreateNestedManyWithoutActionplanInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - create - ContentCreateWithoutActionplanInput | ContentCreateWithoutActionplanInput[] | ContentUncheckedCreateWithoutActionplanInput | ContentUncheckedCreateWithoutActionplanInput[] - - No -
    - connectOrCreate - ContentCreateOrConnectWithoutActionplanInput | ContentCreateOrConnectWithoutActionplanInput[] - - No -
    - connect - ContentWhereUniqueInput | ContentWhereUniqueInput[] - - No -
    -
    -
    -
    -

    PrioritiesUpdateManyWithoutActionplanNestedInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - create - PrioritiesCreateWithoutActionplanInput | PrioritiesCreateWithoutActionplanInput[] | PrioritiesUncheckedCreateWithoutActionplanInput | PrioritiesUncheckedCreateWithoutActionplanInput[] - - No -
    - connectOrCreate - PrioritiesCreateOrConnectWithoutActionplanInput | PrioritiesCreateOrConnectWithoutActionplanInput[] - - No -
    - upsert - PrioritiesUpsertWithWhereUniqueWithoutActionplanInput | PrioritiesUpsertWithWhereUniqueWithoutActionplanInput[] - - No -
    - createMany - PrioritiesCreateManyActionplanInputEnvelope - - No -
    - set - PrioritiesWhereUniqueInput | PrioritiesWhereUniqueInput[] - - No -
    - disconnect - PrioritiesWhereUniqueInput | PrioritiesWhereUniqueInput[] - - No -
    - delete - PrioritiesWhereUniqueInput | PrioritiesWhereUniqueInput[] - - No -
    - connect - PrioritiesWhereUniqueInput | PrioritiesWhereUniqueInput[] - - No -
    - update - PrioritiesUpdateWithWhereUniqueWithoutActionplanInput | PrioritiesUpdateWithWhereUniqueWithoutActionplanInput[] - - No -
    - updateMany - PrioritiesUpdateManyWithWhereWithoutActionplanInput | PrioritiesUpdateManyWithWhereWithoutActionplanInput[] - - No -
    - deleteMany - PrioritiesScalarWhereInput | PrioritiesScalarWhereInput[] - - No -
    -
    -
    -
    -

    ContentUpdateManyWithoutActionplanNestedInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - create - ContentCreateWithoutActionplanInput | ContentCreateWithoutActionplanInput[] | ContentUncheckedCreateWithoutActionplanInput | ContentUncheckedCreateWithoutActionplanInput[] - - No -
    - connectOrCreate - ContentCreateOrConnectWithoutActionplanInput | ContentCreateOrConnectWithoutActionplanInput[] - - No -
    - upsert - ContentUpsertWithWhereUniqueWithoutActionplanInput | ContentUpsertWithWhereUniqueWithoutActionplanInput[] - - No -
    - set - ContentWhereUniqueInput | ContentWhereUniqueInput[] - - No -
    - disconnect - ContentWhereUniqueInput | ContentWhereUniqueInput[] - - No -
    - delete - ContentWhereUniqueInput | ContentWhereUniqueInput[] - - No -
    - connect - ContentWhereUniqueInput | ContentWhereUniqueInput[] - - No -
    - update - ContentUpdateWithWhereUniqueWithoutActionplanInput | ContentUpdateWithWhereUniqueWithoutActionplanInput[] - - No -
    - updateMany - ContentUpdateManyWithWhereWithoutActionplanInput | ContentUpdateManyWithWhereWithoutActionplanInput[] - - No -
    - deleteMany - ContentScalarWhereInput | ContentScalarWhereInput[] - - No -
    -
    -
    -
    -

    PrioritiesUncheckedUpdateManyWithoutActionplanNestedInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - create - PrioritiesCreateWithoutActionplanInput | PrioritiesCreateWithoutActionplanInput[] | PrioritiesUncheckedCreateWithoutActionplanInput | PrioritiesUncheckedCreateWithoutActionplanInput[] - - No -
    - connectOrCreate - PrioritiesCreateOrConnectWithoutActionplanInput | PrioritiesCreateOrConnectWithoutActionplanInput[] - - No -
    - upsert - PrioritiesUpsertWithWhereUniqueWithoutActionplanInput | PrioritiesUpsertWithWhereUniqueWithoutActionplanInput[] - - No -
    - createMany - PrioritiesCreateManyActionplanInputEnvelope - - No -
    - set - PrioritiesWhereUniqueInput | PrioritiesWhereUniqueInput[] - - No -
    - disconnect - PrioritiesWhereUniqueInput | PrioritiesWhereUniqueInput[] - - No -
    - delete - PrioritiesWhereUniqueInput | PrioritiesWhereUniqueInput[] - - No -
    - connect - PrioritiesWhereUniqueInput | PrioritiesWhereUniqueInput[] - - No -
    - update - PrioritiesUpdateWithWhereUniqueWithoutActionplanInput | PrioritiesUpdateWithWhereUniqueWithoutActionplanInput[] - - No -
    - updateMany - PrioritiesUpdateManyWithWhereWithoutActionplanInput | PrioritiesUpdateManyWithWhereWithoutActionplanInput[] - - No -
    - deleteMany - PrioritiesScalarWhereInput | PrioritiesScalarWhereInput[] - - No -
    -
    -
    -
    -

    ContentUncheckedUpdateManyWithoutActionplanNestedInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - create - ContentCreateWithoutActionplanInput | ContentCreateWithoutActionplanInput[] | ContentUncheckedCreateWithoutActionplanInput | ContentUncheckedCreateWithoutActionplanInput[] - - No -
    - connectOrCreate - ContentCreateOrConnectWithoutActionplanInput | ContentCreateOrConnectWithoutActionplanInput[] - - No -
    - upsert - ContentUpsertWithWhereUniqueWithoutActionplanInput | ContentUpsertWithWhereUniqueWithoutActionplanInput[] - - No -
    - set - ContentWhereUniqueInput | ContentWhereUniqueInput[] - - No -
    - disconnect - ContentWhereUniqueInput | ContentWhereUniqueInput[] - - No -
    - delete - ContentWhereUniqueInput | ContentWhereUniqueInput[] - - No -
    - connect - ContentWhereUniqueInput | ContentWhereUniqueInput[] - - No -
    - update - ContentUpdateWithWhereUniqueWithoutActionplanInput | ContentUpdateWithWhereUniqueWithoutActionplanInput[] - - No -
    - updateMany - ContentUpdateManyWithWhereWithoutActionplanInput | ContentUpdateManyWithWhereWithoutActionplanInput[] - - No -
    - deleteMany - ContentScalarWhereInput | ContentScalarWhereInput[] - - No -
    -
    -
    -
    -

    ActionPlanCreateNestedManyWithoutContentInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - create - ActionPlanCreateWithoutContentInput | ActionPlanCreateWithoutContentInput[] | ActionPlanUncheckedCreateWithoutContentInput | ActionPlanUncheckedCreateWithoutContentInput[] - - No -
    - connectOrCreate - ActionPlanCreateOrConnectWithoutContentInput | ActionPlanCreateOrConnectWithoutContentInput[] - - No -
    - connect - ActionPlanWhereUniqueInput | ActionPlanWhereUniqueInput[] - - No -
    -
    -
    -
    -

    ActionPlanUncheckedCreateNestedManyWithoutContentInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - create - ActionPlanCreateWithoutContentInput | ActionPlanCreateWithoutContentInput[] | ActionPlanUncheckedCreateWithoutContentInput | ActionPlanUncheckedCreateWithoutContentInput[] - - No -
    - connectOrCreate - ActionPlanCreateOrConnectWithoutContentInput | ActionPlanCreateOrConnectWithoutContentInput[] - - No -
    - connect - ActionPlanWhereUniqueInput | ActionPlanWhereUniqueInput[] - - No -
    -
    -
    -
    -

    EnumcontentTypeFieldUpdateOperationsInput

    - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - set - contentType - - No -
    -
    -
    -
    -

    ActionPlanUpdateManyWithoutContentNestedInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - create - ActionPlanCreateWithoutContentInput | ActionPlanCreateWithoutContentInput[] | ActionPlanUncheckedCreateWithoutContentInput | ActionPlanUncheckedCreateWithoutContentInput[] - - No -
    - connectOrCreate - ActionPlanCreateOrConnectWithoutContentInput | ActionPlanCreateOrConnectWithoutContentInput[] - - No -
    - upsert - ActionPlanUpsertWithWhereUniqueWithoutContentInput | ActionPlanUpsertWithWhereUniqueWithoutContentInput[] - - No -
    - set - ActionPlanWhereUniqueInput | ActionPlanWhereUniqueInput[] - - No -
    - disconnect - ActionPlanWhereUniqueInput | ActionPlanWhereUniqueInput[] - - No -
    - delete - ActionPlanWhereUniqueInput | ActionPlanWhereUniqueInput[] - - No -
    - connect - ActionPlanWhereUniqueInput | ActionPlanWhereUniqueInput[] - - No -
    - update - ActionPlanUpdateWithWhereUniqueWithoutContentInput | ActionPlanUpdateWithWhereUniqueWithoutContentInput[] - - No -
    - updateMany - ActionPlanUpdateManyWithWhereWithoutContentInput | ActionPlanUpdateManyWithWhereWithoutContentInput[] - - No -
    - deleteMany - ActionPlanScalarWhereInput | ActionPlanScalarWhereInput[] - - No -
    -
    -
    -
    -

    ActionPlanUncheckedUpdateManyWithoutContentNestedInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - create - ActionPlanCreateWithoutContentInput | ActionPlanCreateWithoutContentInput[] | ActionPlanUncheckedCreateWithoutContentInput | ActionPlanUncheckedCreateWithoutContentInput[] - - No -
    - connectOrCreate - ActionPlanCreateOrConnectWithoutContentInput | ActionPlanCreateOrConnectWithoutContentInput[] - - No -
    - upsert - ActionPlanUpsertWithWhereUniqueWithoutContentInput | ActionPlanUpsertWithWhereUniqueWithoutContentInput[] - - No -
    - set - ActionPlanWhereUniqueInput | ActionPlanWhereUniqueInput[] - - No -
    - disconnect - ActionPlanWhereUniqueInput | ActionPlanWhereUniqueInput[] - - No -
    - delete - ActionPlanWhereUniqueInput | ActionPlanWhereUniqueInput[] - - No -
    - connect - ActionPlanWhereUniqueInput | ActionPlanWhereUniqueInput[] - - No -
    - update - ActionPlanUpdateWithWhereUniqueWithoutContentInput | ActionPlanUpdateWithWhereUniqueWithoutContentInput[] - - No -
    - updateMany - ActionPlanUpdateManyWithWhereWithoutContentInput | ActionPlanUpdateManyWithWhereWithoutContentInput[] - - No -
    - deleteMany - ActionPlanScalarWhereInput | ActionPlanScalarWhereInput[] - - No -
    -
    -
    -
    -

    NestedIntFilter

    - - - - - - - - - - - - - - - - - @@ -11814,11 +11503,11 @@ @@ -11874,7 +11563,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    - equals - Int | IntFieldRefInput - - No -
    in - Int + Int | Null - No + Yes
    notIn - Int + Int | Null - No + Yes
    not - Int | NestedIntFilter + Int | NestedIntNullableWithAggregatesFilter | Null + + Yes +
    + _count + NestedIntNullableFilter + + No +
    + _avg + NestedFloatNullableFilter + + No +
    + _sum + NestedIntNullableFilter + + No +
    + _min + NestedIntNullableFilter + + No +
    + _max + NestedIntNullableFilter @@ -11887,7 +11636,403 @@
    -

    NestedStringFilter

    +

    DateTimeWithAggregatesFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + equals + DateTime | DateTimeFieldRefInput + + No +
    + in + DateTime + + No +
    + notIn + DateTime + + No +
    + lt + DateTime | DateTimeFieldRefInput + + No +
    + lte + DateTime | DateTimeFieldRefInput + + No +
    + gt + DateTime | DateTimeFieldRefInput + + No +
    + gte + DateTime | DateTimeFieldRefInput + + No +
    + not + DateTime | NestedDateTimeWithAggregatesFilter + + No +
    + _count + NestedIntFilter + + No +
    + _min + NestedDateTimeFilter + + No +
    + _max + NestedDateTimeFilter + + No +
    +
    +
    +
    +

    EnumalertStateWithAggregatesFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + equals + alertState | EnumalertStateFieldRefInput + + No +
    + in + alertState[] + + No +
    + notIn + alertState[] + + No +
    + not + alertState | NestedEnumalertStateWithAggregatesFilter + + No +
    + _count + NestedIntFilter + + No +
    + _min + NestedEnumalertStateFilter + + No +
    + _max + NestedEnumalertStateFilter + + No +
    +
    +
    +
    +

    DateTimeNullableWithAggregatesFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + equals + DateTime | DateTimeFieldRefInput | Null + + Yes +
    + in + DateTime | Null + + Yes +
    + notIn + DateTime | Null + + Yes +
    + lt + DateTime | DateTimeFieldRefInput + + No +
    + lte + DateTime | DateTimeFieldRefInput + + No +
    + gt + DateTime | DateTimeFieldRefInput + + No +
    + gte + DateTime | DateTimeFieldRefInput + + No +
    + not + DateTime | NestedDateTimeNullableWithAggregatesFilter | Null + + Yes +
    + _count + NestedIntNullableFilter + + No +
    + _min + NestedDateTimeNullableFilter + + No +
    + _max + NestedDateTimeNullableFilter + + No +
    +
    +
    +
    +

    StringFilter

    @@ -12037,6 +12182,5734 @@ String | NestedStringFilter + + + + +
    + No +
    +
    +
    +
    +

    PrioritiesListRelationFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + every + prioritiesWhereInput + + No +
    + some + prioritiesWhereInput + + No +
    + none + prioritiesWhereInput + + No +
    +
    +
    +
    +

    AlertsListRelationFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + every + alertsWhereInput + + No +
    + some + alertsWhereInput + + No +
    + none + alertsWhereInput + + No +
    +
    +
    +
    +

    prioritiesOrderByRelationAggregateInput

    + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + _count + SortOrder + + No +
    +
    +
    +
    +

    alertsOrderByRelationAggregateInput

    + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + _count + SortOrder + + No +
    +
    +
    +
    +

    alertContactsOrderByRelevanceInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + fields + alertContactsOrderByRelevanceFieldEnum | alertContactsOrderByRelevanceFieldEnum[] + + No +
    + sort + SortOrder + + No +
    + search + String + + No +
    +
    +
    +
    +

    alertContactsCountOrderByAggregateInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    + name + SortOrder + + No +
    + phone + SortOrder + + No +
    + comment + SortOrder + + No +
    +
    +
    +
    +

    alertContactsAvgOrderByAggregateInput

    + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    +
    +
    +
    +

    alertContactsMaxOrderByAggregateInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    + name + SortOrder + + No +
    + phone + SortOrder + + No +
    + comment + SortOrder + + No +
    +
    +
    +
    +

    alertContactsMinOrderByAggregateInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    + name + SortOrder + + No +
    + phone + SortOrder + + No +
    + comment + SortOrder + + No +
    +
    +
    +
    +

    alertContactsSumOrderByAggregateInput

    + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    +
    +
    +
    +

    StringWithAggregatesFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + equals + String | StringFieldRefInput + + No +
    + in + String + + No +
    + notIn + String + + No +
    + lt + String | StringFieldRefInput + + No +
    + lte + String | StringFieldRefInput + + No +
    + gt + String | StringFieldRefInput + + No +
    + gte + String | StringFieldRefInput + + No +
    + contains + String | StringFieldRefInput + + No +
    + startsWith + String | StringFieldRefInput + + No +
    + endsWith + String | StringFieldRefInput + + No +
    + search + String + + No +
    + not + String | NestedStringWithAggregatesFilter + + No +
    + _count + NestedIntFilter + + No +
    + _min + NestedStringFilter + + No +
    + _max + NestedStringFilter + + No +
    +
    +
    +
    +

    ContentListRelationFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + every + contentWhereInput + + No +
    + some + contentWhereInput + + No +
    + none + contentWhereInput + + No +
    +
    +
    +
    +

    contentOrderByRelationAggregateInput

    + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + _count + SortOrder + + No +
    +
    +
    +
    +

    actionPlanOrderByRelevanceInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + fields + actionPlanOrderByRelevanceFieldEnum | actionPlanOrderByRelevanceFieldEnum[] + + No +
    + sort + SortOrder + + No +
    + search + String + + No +
    +
    +
    +
    +

    actionPlanCountOrderByAggregateInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    + name + SortOrder + + No +
    + comment + SortOrder + + No +
    + alert_hook + SortOrder + + No +
    +
    +
    +
    +

    actionPlanAvgOrderByAggregateInput

    + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    +
    +
    +
    +

    actionPlanMaxOrderByAggregateInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    + name + SortOrder + + No +
    + comment + SortOrder + + No +
    + alert_hook + SortOrder + + No +
    +
    +
    +
    +

    actionPlanMinOrderByAggregateInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    + name + SortOrder + + No +
    + comment + SortOrder + + No +
    + alert_hook + SortOrder + + No +
    +
    +
    +
    +

    actionPlanSumOrderByAggregateInput

    + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    +
    +
    +
    +

    AlertContactsScalarRelationFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + is + alertContactsWhereInput + + No +
    + isNot + alertContactsWhereInput + + No +
    +
    +
    +
    +

    ActionPlanScalarRelationFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + is + actionPlanWhereInput + + No +
    + isNot + actionPlanWhereInput + + No +
    +
    +
    +
    +

    prioritiesPriorityActionplanIdCompoundUniqueInput

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + priority + Int + + No +
    + actionplanId + Int + + No +
    +
    +
    +
    +

    prioritiesCountOrderByAggregateInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    + contactId + SortOrder + + No +
    + priority + SortOrder + + No +
    + actionplanId + SortOrder + + No +
    +
    +
    +
    +

    prioritiesAvgOrderByAggregateInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    + contactId + SortOrder + + No +
    + priority + SortOrder + + No +
    + actionplanId + SortOrder + + No +
    +
    +
    +
    +

    prioritiesMaxOrderByAggregateInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    + contactId + SortOrder + + No +
    + priority + SortOrder + + No +
    + actionplanId + SortOrder + + No +
    +
    +
    +
    +

    prioritiesMinOrderByAggregateInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    + contactId + SortOrder + + No +
    + priority + SortOrder + + No +
    + actionplanId + SortOrder + + No +
    +
    +
    +
    +

    prioritiesSumOrderByAggregateInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    + contactId + SortOrder + + No +
    + priority + SortOrder + + No +
    + actionplanId + SortOrder + + No +
    +
    +
    +
    +

    EnumcontentTypeFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + equals + contentType | EnumcontentTypeFieldRefInput + + No +
    + in + contentType[] + + No +
    + notIn + contentType[] + + No +
    + not + contentType | NestedEnumcontentTypeFilter + + No +
    +
    +
    +
    +

    ActionPlanListRelationFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + every + actionPlanWhereInput + + No +
    + some + actionPlanWhereInput + + No +
    + none + actionPlanWhereInput + + No +
    +
    +
    +
    +

    actionPlanOrderByRelationAggregateInput

    + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + _count + SortOrder + + No +
    +
    +
    +
    +

    contentOrderByRelevanceInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + fields + contentOrderByRelevanceFieldEnum | contentOrderByRelevanceFieldEnum[] + + No +
    + sort + SortOrder + + No +
    + search + String + + No +
    +
    +
    +
    +

    contentCountOrderByAggregateInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    + type + SortOrder + + No +
    + name + SortOrder + + No +
    + filename + SortOrder + + No +
    +
    +
    +
    +

    contentAvgOrderByAggregateInput

    + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    +
    +
    +
    +

    contentMaxOrderByAggregateInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    + type + SortOrder + + No +
    + name + SortOrder + + No +
    + filename + SortOrder + + No +
    +
    +
    +
    +

    contentMinOrderByAggregateInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    + type + SortOrder + + No +
    + name + SortOrder + + No +
    + filename + SortOrder + + No +
    +
    +
    +
    +

    contentSumOrderByAggregateInput

    + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + SortOrder + + No +
    +
    +
    +
    +

    EnumcontentTypeWithAggregatesFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + equals + contentType | EnumcontentTypeFieldRefInput + + No +
    + in + contentType[] + + No +
    + notIn + contentType[] + + No +
    + not + contentType | NestedEnumcontentTypeWithAggregatesFilter + + No +
    + _count + NestedIntFilter + + No +
    + _min + NestedEnumcontentTypeFilter + + No +
    + _max + NestedEnumcontentTypeFilter + + No +
    +
    +
    +
    +

    actionPlanCreateNestedOneWithoutAlertsInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + actionPlanCreateWithoutAlertsInput | actionPlanUncheckedCreateWithoutAlertsInput + + No +
    + connectOrCreate + actionPlanCreateOrConnectWithoutAlertsInput + + No +
    + connect + actionPlanWhereUniqueInput + + No +
    +
    +
    +
    +

    alertContactsCreateNestedManyWithoutAlertsInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + alertContactsCreateWithoutAlertsInput | alertContactsCreateWithoutAlertsInput[] | alertContactsUncheckedCreateWithoutAlertsInput | alertContactsUncheckedCreateWithoutAlertsInput[] + + No +
    + connectOrCreate + alertContactsCreateOrConnectWithoutAlertsInput | alertContactsCreateOrConnectWithoutAlertsInput[] + + No +
    + connect + alertContactsWhereUniqueInput | alertContactsWhereUniqueInput[] + + No +
    +
    +
    +
    +

    alertContactsUncheckedCreateNestedManyWithoutAlertsInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + alertContactsCreateWithoutAlertsInput | alertContactsCreateWithoutAlertsInput[] | alertContactsUncheckedCreateWithoutAlertsInput | alertContactsUncheckedCreateWithoutAlertsInput[] + + No +
    + connectOrCreate + alertContactsCreateOrConnectWithoutAlertsInput | alertContactsCreateOrConnectWithoutAlertsInput[] + + No +
    + connect + alertContactsWhereUniqueInput | alertContactsWhereUniqueInput[] + + No +
    +
    +
    +
    +

    EnumalertTypeFieldUpdateOperationsInput

    + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + set + alertType + + No +
    +
    +
    +
    +

    NullableStringFieldUpdateOperationsInput

    + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + set + String | Null + + Yes +
    +
    +
    +
    +

    DateTimeFieldUpdateOperationsInput

    + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + set + DateTime + + No +
    +
    +
    +
    +

    EnumalertStateFieldUpdateOperationsInput

    + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + set + alertState + + No +
    +
    +
    +
    +

    NullableDateTimeFieldUpdateOperationsInput

    + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + set + DateTime | Null + + Yes +
    +
    +
    +
    +

    actionPlanUpdateOneWithoutAlertsNestedInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + actionPlanCreateWithoutAlertsInput | actionPlanUncheckedCreateWithoutAlertsInput + + No +
    + connectOrCreate + actionPlanCreateOrConnectWithoutAlertsInput + + No +
    + upsert + actionPlanUpsertWithoutAlertsInput + + No +
    + disconnect + Boolean | actionPlanWhereInput + + No +
    + delete + Boolean | actionPlanWhereInput + + No +
    + connect + actionPlanWhereUniqueInput + + No +
    + update + actionPlanUpdateToOneWithWhereWithoutAlertsInput | actionPlanUpdateWithoutAlertsInput | actionPlanUncheckedUpdateWithoutAlertsInput + + No +
    +
    +
    +
    +

    alertContactsUpdateManyWithoutAlertsNestedInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + alertContactsCreateWithoutAlertsInput | alertContactsCreateWithoutAlertsInput[] | alertContactsUncheckedCreateWithoutAlertsInput | alertContactsUncheckedCreateWithoutAlertsInput[] + + No +
    + connectOrCreate + alertContactsCreateOrConnectWithoutAlertsInput | alertContactsCreateOrConnectWithoutAlertsInput[] + + No +
    + upsert + alertContactsUpsertWithWhereUniqueWithoutAlertsInput | alertContactsUpsertWithWhereUniqueWithoutAlertsInput[] + + No +
    + set + alertContactsWhereUniqueInput | alertContactsWhereUniqueInput[] + + No +
    + disconnect + alertContactsWhereUniqueInput | alertContactsWhereUniqueInput[] + + No +
    + delete + alertContactsWhereUniqueInput | alertContactsWhereUniqueInput[] + + No +
    + connect + alertContactsWhereUniqueInput | alertContactsWhereUniqueInput[] + + No +
    + update + alertContactsUpdateWithWhereUniqueWithoutAlertsInput | alertContactsUpdateWithWhereUniqueWithoutAlertsInput[] + + No +
    + updateMany + alertContactsUpdateManyWithWhereWithoutAlertsInput | alertContactsUpdateManyWithWhereWithoutAlertsInput[] + + No +
    + deleteMany + alertContactsScalarWhereInput | alertContactsScalarWhereInput[] + + No +
    +
    +
    +
    +

    IntFieldUpdateOperationsInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + set + Int + + No +
    + increment + Int + + No +
    + decrement + Int + + No +
    + multiply + Int + + No +
    + divide + Int + + No +
    +
    +
    +
    +

    NullableIntFieldUpdateOperationsInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + set + Int | Null + + Yes +
    + increment + Int + + No +
    + decrement + Int + + No +
    + multiply + Int + + No +
    + divide + Int + + No +
    +
    +
    +
    +

    alertContactsUncheckedUpdateManyWithoutAlertsNestedInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + alertContactsCreateWithoutAlertsInput | alertContactsCreateWithoutAlertsInput[] | alertContactsUncheckedCreateWithoutAlertsInput | alertContactsUncheckedCreateWithoutAlertsInput[] + + No +
    + connectOrCreate + alertContactsCreateOrConnectWithoutAlertsInput | alertContactsCreateOrConnectWithoutAlertsInput[] + + No +
    + upsert + alertContactsUpsertWithWhereUniqueWithoutAlertsInput | alertContactsUpsertWithWhereUniqueWithoutAlertsInput[] + + No +
    + set + alertContactsWhereUniqueInput | alertContactsWhereUniqueInput[] + + No +
    + disconnect + alertContactsWhereUniqueInput | alertContactsWhereUniqueInput[] + + No +
    + delete + alertContactsWhereUniqueInput | alertContactsWhereUniqueInput[] + + No +
    + connect + alertContactsWhereUniqueInput | alertContactsWhereUniqueInput[] + + No +
    + update + alertContactsUpdateWithWhereUniqueWithoutAlertsInput | alertContactsUpdateWithWhereUniqueWithoutAlertsInput[] + + No +
    + updateMany + alertContactsUpdateManyWithWhereWithoutAlertsInput | alertContactsUpdateManyWithWhereWithoutAlertsInput[] + + No +
    + deleteMany + alertContactsScalarWhereInput | alertContactsScalarWhereInput[] + + No +
    +
    +
    +
    +

    prioritiesCreateNestedManyWithoutContactInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + prioritiesCreateWithoutContactInput | prioritiesCreateWithoutContactInput[] | prioritiesUncheckedCreateWithoutContactInput | prioritiesUncheckedCreateWithoutContactInput[] + + No +
    + connectOrCreate + prioritiesCreateOrConnectWithoutContactInput | prioritiesCreateOrConnectWithoutContactInput[] + + No +
    + createMany + prioritiesCreateManyContactInputEnvelope + + No +
    + connect + prioritiesWhereUniqueInput | prioritiesWhereUniqueInput[] + + No +
    +
    +
    +
    +

    alertsCreateNestedManyWithoutAcknowledged_byInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + alertsCreateWithoutAcknowledged_byInput | alertsCreateWithoutAcknowledged_byInput[] | alertsUncheckedCreateWithoutAcknowledged_byInput | alertsUncheckedCreateWithoutAcknowledged_byInput[] + + No +
    + connectOrCreate + alertsCreateOrConnectWithoutAcknowledged_byInput | alertsCreateOrConnectWithoutAcknowledged_byInput[] + + No +
    + connect + alertsWhereUniqueInput | alertsWhereUniqueInput[] + + No +
    +
    +
    +
    +

    prioritiesUncheckedCreateNestedManyWithoutContactInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + prioritiesCreateWithoutContactInput | prioritiesCreateWithoutContactInput[] | prioritiesUncheckedCreateWithoutContactInput | prioritiesUncheckedCreateWithoutContactInput[] + + No +
    + connectOrCreate + prioritiesCreateOrConnectWithoutContactInput | prioritiesCreateOrConnectWithoutContactInput[] + + No +
    + createMany + prioritiesCreateManyContactInputEnvelope + + No +
    + connect + prioritiesWhereUniqueInput | prioritiesWhereUniqueInput[] + + No +
    +
    +
    +
    +

    alertsUncheckedCreateNestedManyWithoutAcknowledged_byInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + alertsCreateWithoutAcknowledged_byInput | alertsCreateWithoutAcknowledged_byInput[] | alertsUncheckedCreateWithoutAcknowledged_byInput | alertsUncheckedCreateWithoutAcknowledged_byInput[] + + No +
    + connectOrCreate + alertsCreateOrConnectWithoutAcknowledged_byInput | alertsCreateOrConnectWithoutAcknowledged_byInput[] + + No +
    + connect + alertsWhereUniqueInput | alertsWhereUniqueInput[] + + No +
    +
    +
    +
    +

    StringFieldUpdateOperationsInput

    + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + set + String + + No +
    +
    +
    +
    +

    prioritiesUpdateManyWithoutContactNestedInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + prioritiesCreateWithoutContactInput | prioritiesCreateWithoutContactInput[] | prioritiesUncheckedCreateWithoutContactInput | prioritiesUncheckedCreateWithoutContactInput[] + + No +
    + connectOrCreate + prioritiesCreateOrConnectWithoutContactInput | prioritiesCreateOrConnectWithoutContactInput[] + + No +
    + upsert + prioritiesUpsertWithWhereUniqueWithoutContactInput | prioritiesUpsertWithWhereUniqueWithoutContactInput[] + + No +
    + createMany + prioritiesCreateManyContactInputEnvelope + + No +
    + set + prioritiesWhereUniqueInput | prioritiesWhereUniqueInput[] + + No +
    + disconnect + prioritiesWhereUniqueInput | prioritiesWhereUniqueInput[] + + No +
    + delete + prioritiesWhereUniqueInput | prioritiesWhereUniqueInput[] + + No +
    + connect + prioritiesWhereUniqueInput | prioritiesWhereUniqueInput[] + + No +
    + update + prioritiesUpdateWithWhereUniqueWithoutContactInput | prioritiesUpdateWithWhereUniqueWithoutContactInput[] + + No +
    + updateMany + prioritiesUpdateManyWithWhereWithoutContactInput | prioritiesUpdateManyWithWhereWithoutContactInput[] + + No +
    + deleteMany + prioritiesScalarWhereInput | prioritiesScalarWhereInput[] + + No +
    +
    +
    +
    +

    alertsUpdateManyWithoutAcknowledged_byNestedInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + alertsCreateWithoutAcknowledged_byInput | alertsCreateWithoutAcknowledged_byInput[] | alertsUncheckedCreateWithoutAcknowledged_byInput | alertsUncheckedCreateWithoutAcknowledged_byInput[] + + No +
    + connectOrCreate + alertsCreateOrConnectWithoutAcknowledged_byInput | alertsCreateOrConnectWithoutAcknowledged_byInput[] + + No +
    + upsert + alertsUpsertWithWhereUniqueWithoutAcknowledged_byInput | alertsUpsertWithWhereUniqueWithoutAcknowledged_byInput[] + + No +
    + set + alertsWhereUniqueInput | alertsWhereUniqueInput[] + + No +
    + disconnect + alertsWhereUniqueInput | alertsWhereUniqueInput[] + + No +
    + delete + alertsWhereUniqueInput | alertsWhereUniqueInput[] + + No +
    + connect + alertsWhereUniqueInput | alertsWhereUniqueInput[] + + No +
    + update + alertsUpdateWithWhereUniqueWithoutAcknowledged_byInput | alertsUpdateWithWhereUniqueWithoutAcknowledged_byInput[] + + No +
    + updateMany + alertsUpdateManyWithWhereWithoutAcknowledged_byInput | alertsUpdateManyWithWhereWithoutAcknowledged_byInput[] + + No +
    + deleteMany + alertsScalarWhereInput | alertsScalarWhereInput[] + + No +
    +
    +
    +
    +

    prioritiesUncheckedUpdateManyWithoutContactNestedInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + prioritiesCreateWithoutContactInput | prioritiesCreateWithoutContactInput[] | prioritiesUncheckedCreateWithoutContactInput | prioritiesUncheckedCreateWithoutContactInput[] + + No +
    + connectOrCreate + prioritiesCreateOrConnectWithoutContactInput | prioritiesCreateOrConnectWithoutContactInput[] + + No +
    + upsert + prioritiesUpsertWithWhereUniqueWithoutContactInput | prioritiesUpsertWithWhereUniqueWithoutContactInput[] + + No +
    + createMany + prioritiesCreateManyContactInputEnvelope + + No +
    + set + prioritiesWhereUniqueInput | prioritiesWhereUniqueInput[] + + No +
    + disconnect + prioritiesWhereUniqueInput | prioritiesWhereUniqueInput[] + + No +
    + delete + prioritiesWhereUniqueInput | prioritiesWhereUniqueInput[] + + No +
    + connect + prioritiesWhereUniqueInput | prioritiesWhereUniqueInput[] + + No +
    + update + prioritiesUpdateWithWhereUniqueWithoutContactInput | prioritiesUpdateWithWhereUniqueWithoutContactInput[] + + No +
    + updateMany + prioritiesUpdateManyWithWhereWithoutContactInput | prioritiesUpdateManyWithWhereWithoutContactInput[] + + No +
    + deleteMany + prioritiesScalarWhereInput | prioritiesScalarWhereInput[] + + No +
    +
    +
    +
    +

    alertsUncheckedUpdateManyWithoutAcknowledged_byNestedInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + alertsCreateWithoutAcknowledged_byInput | alertsCreateWithoutAcknowledged_byInput[] | alertsUncheckedCreateWithoutAcknowledged_byInput | alertsUncheckedCreateWithoutAcknowledged_byInput[] + + No +
    + connectOrCreate + alertsCreateOrConnectWithoutAcknowledged_byInput | alertsCreateOrConnectWithoutAcknowledged_byInput[] + + No +
    + upsert + alertsUpsertWithWhereUniqueWithoutAcknowledged_byInput | alertsUpsertWithWhereUniqueWithoutAcknowledged_byInput[] + + No +
    + set + alertsWhereUniqueInput | alertsWhereUniqueInput[] + + No +
    + disconnect + alertsWhereUniqueInput | alertsWhereUniqueInput[] + + No +
    + delete + alertsWhereUniqueInput | alertsWhereUniqueInput[] + + No +
    + connect + alertsWhereUniqueInput | alertsWhereUniqueInput[] + + No +
    + update + alertsUpdateWithWhereUniqueWithoutAcknowledged_byInput | alertsUpdateWithWhereUniqueWithoutAcknowledged_byInput[] + + No +
    + updateMany + alertsUpdateManyWithWhereWithoutAcknowledged_byInput | alertsUpdateManyWithWhereWithoutAcknowledged_byInput[] + + No +
    + deleteMany + alertsScalarWhereInput | alertsScalarWhereInput[] + + No +
    +
    +
    +
    +

    prioritiesCreateNestedManyWithoutActionplanInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + prioritiesCreateWithoutActionplanInput | prioritiesCreateWithoutActionplanInput[] | prioritiesUncheckedCreateWithoutActionplanInput | prioritiesUncheckedCreateWithoutActionplanInput[] + + No +
    + connectOrCreate + prioritiesCreateOrConnectWithoutActionplanInput | prioritiesCreateOrConnectWithoutActionplanInput[] + + No +
    + createMany + prioritiesCreateManyActionplanInputEnvelope + + No +
    + connect + prioritiesWhereUniqueInput | prioritiesWhereUniqueInput[] + + No +
    +
    +
    +
    +

    contentCreateNestedManyWithoutActionplanInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + contentCreateWithoutActionplanInput | contentCreateWithoutActionplanInput[] | contentUncheckedCreateWithoutActionplanInput | contentUncheckedCreateWithoutActionplanInput[] + + No +
    + connectOrCreate + contentCreateOrConnectWithoutActionplanInput | contentCreateOrConnectWithoutActionplanInput[] + + No +
    + connect + contentWhereUniqueInput | contentWhereUniqueInput[] + + No +
    +
    +
    +
    +

    alertsCreateNestedManyWithoutActionplanInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + alertsCreateWithoutActionplanInput | alertsCreateWithoutActionplanInput[] | alertsUncheckedCreateWithoutActionplanInput | alertsUncheckedCreateWithoutActionplanInput[] + + No +
    + connectOrCreate + alertsCreateOrConnectWithoutActionplanInput | alertsCreateOrConnectWithoutActionplanInput[] + + No +
    + createMany + alertsCreateManyActionplanInputEnvelope + + No +
    + connect + alertsWhereUniqueInput | alertsWhereUniqueInput[] + + No +
    +
    +
    +
    +

    prioritiesUncheckedCreateNestedManyWithoutActionplanInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + prioritiesCreateWithoutActionplanInput | prioritiesCreateWithoutActionplanInput[] | prioritiesUncheckedCreateWithoutActionplanInput | prioritiesUncheckedCreateWithoutActionplanInput[] + + No +
    + connectOrCreate + prioritiesCreateOrConnectWithoutActionplanInput | prioritiesCreateOrConnectWithoutActionplanInput[] + + No +
    + createMany + prioritiesCreateManyActionplanInputEnvelope + + No +
    + connect + prioritiesWhereUniqueInput | prioritiesWhereUniqueInput[] + + No +
    +
    +
    +
    +

    contentUncheckedCreateNestedManyWithoutActionplanInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + contentCreateWithoutActionplanInput | contentCreateWithoutActionplanInput[] | contentUncheckedCreateWithoutActionplanInput | contentUncheckedCreateWithoutActionplanInput[] + + No +
    + connectOrCreate + contentCreateOrConnectWithoutActionplanInput | contentCreateOrConnectWithoutActionplanInput[] + + No +
    + connect + contentWhereUniqueInput | contentWhereUniqueInput[] + + No +
    +
    +
    +
    +

    alertsUncheckedCreateNestedManyWithoutActionplanInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + alertsCreateWithoutActionplanInput | alertsCreateWithoutActionplanInput[] | alertsUncheckedCreateWithoutActionplanInput | alertsUncheckedCreateWithoutActionplanInput[] + + No +
    + connectOrCreate + alertsCreateOrConnectWithoutActionplanInput | alertsCreateOrConnectWithoutActionplanInput[] + + No +
    + createMany + alertsCreateManyActionplanInputEnvelope + + No +
    + connect + alertsWhereUniqueInput | alertsWhereUniqueInput[] + + No +
    +
    +
    +
    +

    prioritiesUpdateManyWithoutActionplanNestedInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + prioritiesCreateWithoutActionplanInput | prioritiesCreateWithoutActionplanInput[] | prioritiesUncheckedCreateWithoutActionplanInput | prioritiesUncheckedCreateWithoutActionplanInput[] + + No +
    + connectOrCreate + prioritiesCreateOrConnectWithoutActionplanInput | prioritiesCreateOrConnectWithoutActionplanInput[] + + No +
    + upsert + prioritiesUpsertWithWhereUniqueWithoutActionplanInput | prioritiesUpsertWithWhereUniqueWithoutActionplanInput[] + + No +
    + createMany + prioritiesCreateManyActionplanInputEnvelope + + No +
    + set + prioritiesWhereUniqueInput | prioritiesWhereUniqueInput[] + + No +
    + disconnect + prioritiesWhereUniqueInput | prioritiesWhereUniqueInput[] + + No +
    + delete + prioritiesWhereUniqueInput | prioritiesWhereUniqueInput[] + + No +
    + connect + prioritiesWhereUniqueInput | prioritiesWhereUniqueInput[] + + No +
    + update + prioritiesUpdateWithWhereUniqueWithoutActionplanInput | prioritiesUpdateWithWhereUniqueWithoutActionplanInput[] + + No +
    + updateMany + prioritiesUpdateManyWithWhereWithoutActionplanInput | prioritiesUpdateManyWithWhereWithoutActionplanInput[] + + No +
    + deleteMany + prioritiesScalarWhereInput | prioritiesScalarWhereInput[] + + No +
    +
    +
    +
    +

    contentUpdateManyWithoutActionplanNestedInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + contentCreateWithoutActionplanInput | contentCreateWithoutActionplanInput[] | contentUncheckedCreateWithoutActionplanInput | contentUncheckedCreateWithoutActionplanInput[] + + No +
    + connectOrCreate + contentCreateOrConnectWithoutActionplanInput | contentCreateOrConnectWithoutActionplanInput[] + + No +
    + upsert + contentUpsertWithWhereUniqueWithoutActionplanInput | contentUpsertWithWhereUniqueWithoutActionplanInput[] + + No +
    + set + contentWhereUniqueInput | contentWhereUniqueInput[] + + No +
    + disconnect + contentWhereUniqueInput | contentWhereUniqueInput[] + + No +
    + delete + contentWhereUniqueInput | contentWhereUniqueInput[] + + No +
    + connect + contentWhereUniqueInput | contentWhereUniqueInput[] + + No +
    + update + contentUpdateWithWhereUniqueWithoutActionplanInput | contentUpdateWithWhereUniqueWithoutActionplanInput[] + + No +
    + updateMany + contentUpdateManyWithWhereWithoutActionplanInput | contentUpdateManyWithWhereWithoutActionplanInput[] + + No +
    + deleteMany + contentScalarWhereInput | contentScalarWhereInput[] + + No +
    +
    +
    +
    +

    alertsUpdateManyWithoutActionplanNestedInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + alertsCreateWithoutActionplanInput | alertsCreateWithoutActionplanInput[] | alertsUncheckedCreateWithoutActionplanInput | alertsUncheckedCreateWithoutActionplanInput[] + + No +
    + connectOrCreate + alertsCreateOrConnectWithoutActionplanInput | alertsCreateOrConnectWithoutActionplanInput[] + + No +
    + upsert + alertsUpsertWithWhereUniqueWithoutActionplanInput | alertsUpsertWithWhereUniqueWithoutActionplanInput[] + + No +
    + createMany + alertsCreateManyActionplanInputEnvelope + + No +
    + set + alertsWhereUniqueInput | alertsWhereUniqueInput[] + + No +
    + disconnect + alertsWhereUniqueInput | alertsWhereUniqueInput[] + + No +
    + delete + alertsWhereUniqueInput | alertsWhereUniqueInput[] + + No +
    + connect + alertsWhereUniqueInput | alertsWhereUniqueInput[] + + No +
    + update + alertsUpdateWithWhereUniqueWithoutActionplanInput | alertsUpdateWithWhereUniqueWithoutActionplanInput[] + + No +
    + updateMany + alertsUpdateManyWithWhereWithoutActionplanInput | alertsUpdateManyWithWhereWithoutActionplanInput[] + + No +
    + deleteMany + alertsScalarWhereInput | alertsScalarWhereInput[] + + No +
    +
    +
    +
    +

    prioritiesUncheckedUpdateManyWithoutActionplanNestedInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + prioritiesCreateWithoutActionplanInput | prioritiesCreateWithoutActionplanInput[] | prioritiesUncheckedCreateWithoutActionplanInput | prioritiesUncheckedCreateWithoutActionplanInput[] + + No +
    + connectOrCreate + prioritiesCreateOrConnectWithoutActionplanInput | prioritiesCreateOrConnectWithoutActionplanInput[] + + No +
    + upsert + prioritiesUpsertWithWhereUniqueWithoutActionplanInput | prioritiesUpsertWithWhereUniqueWithoutActionplanInput[] + + No +
    + createMany + prioritiesCreateManyActionplanInputEnvelope + + No +
    + set + prioritiesWhereUniqueInput | prioritiesWhereUniqueInput[] + + No +
    + disconnect + prioritiesWhereUniqueInput | prioritiesWhereUniqueInput[] + + No +
    + delete + prioritiesWhereUniqueInput | prioritiesWhereUniqueInput[] + + No +
    + connect + prioritiesWhereUniqueInput | prioritiesWhereUniqueInput[] + + No +
    + update + prioritiesUpdateWithWhereUniqueWithoutActionplanInput | prioritiesUpdateWithWhereUniqueWithoutActionplanInput[] + + No +
    + updateMany + prioritiesUpdateManyWithWhereWithoutActionplanInput | prioritiesUpdateManyWithWhereWithoutActionplanInput[] + + No +
    + deleteMany + prioritiesScalarWhereInput | prioritiesScalarWhereInput[] + + No +
    +
    +
    +
    +

    contentUncheckedUpdateManyWithoutActionplanNestedInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + contentCreateWithoutActionplanInput | contentCreateWithoutActionplanInput[] | contentUncheckedCreateWithoutActionplanInput | contentUncheckedCreateWithoutActionplanInput[] + + No +
    + connectOrCreate + contentCreateOrConnectWithoutActionplanInput | contentCreateOrConnectWithoutActionplanInput[] + + No +
    + upsert + contentUpsertWithWhereUniqueWithoutActionplanInput | contentUpsertWithWhereUniqueWithoutActionplanInput[] + + No +
    + set + contentWhereUniqueInput | contentWhereUniqueInput[] + + No +
    + disconnect + contentWhereUniqueInput | contentWhereUniqueInput[] + + No +
    + delete + contentWhereUniqueInput | contentWhereUniqueInput[] + + No +
    + connect + contentWhereUniqueInput | contentWhereUniqueInput[] + + No +
    + update + contentUpdateWithWhereUniqueWithoutActionplanInput | contentUpdateWithWhereUniqueWithoutActionplanInput[] + + No +
    + updateMany + contentUpdateManyWithWhereWithoutActionplanInput | contentUpdateManyWithWhereWithoutActionplanInput[] + + No +
    + deleteMany + contentScalarWhereInput | contentScalarWhereInput[] + + No +
    +
    +
    +
    +

    alertsUncheckedUpdateManyWithoutActionplanNestedInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + alertsCreateWithoutActionplanInput | alertsCreateWithoutActionplanInput[] | alertsUncheckedCreateWithoutActionplanInput | alertsUncheckedCreateWithoutActionplanInput[] + + No +
    + connectOrCreate + alertsCreateOrConnectWithoutActionplanInput | alertsCreateOrConnectWithoutActionplanInput[] + + No +
    + upsert + alertsUpsertWithWhereUniqueWithoutActionplanInput | alertsUpsertWithWhereUniqueWithoutActionplanInput[] + + No +
    + createMany + alertsCreateManyActionplanInputEnvelope + + No +
    + set + alertsWhereUniqueInput | alertsWhereUniqueInput[] + + No +
    + disconnect + alertsWhereUniqueInput | alertsWhereUniqueInput[] + + No +
    + delete + alertsWhereUniqueInput | alertsWhereUniqueInput[] + + No +
    + connect + alertsWhereUniqueInput | alertsWhereUniqueInput[] + + No +
    + update + alertsUpdateWithWhereUniqueWithoutActionplanInput | alertsUpdateWithWhereUniqueWithoutActionplanInput[] + + No +
    + updateMany + alertsUpdateManyWithWhereWithoutActionplanInput | alertsUpdateManyWithWhereWithoutActionplanInput[] + + No +
    + deleteMany + alertsScalarWhereInput | alertsScalarWhereInput[] + + No +
    +
    +
    +
    +

    alertContactsCreateNestedOneWithoutPriosInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + alertContactsCreateWithoutPriosInput | alertContactsUncheckedCreateWithoutPriosInput + + No +
    + connectOrCreate + alertContactsCreateOrConnectWithoutPriosInput + + No +
    + connect + alertContactsWhereUniqueInput + + No +
    +
    +
    +
    +

    actionPlanCreateNestedOneWithoutPrioInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + actionPlanCreateWithoutPrioInput | actionPlanUncheckedCreateWithoutPrioInput + + No +
    + connectOrCreate + actionPlanCreateOrConnectWithoutPrioInput + + No +
    + connect + actionPlanWhereUniqueInput + + No +
    +
    +
    +
    +

    alertContactsUpdateOneRequiredWithoutPriosNestedInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + alertContactsCreateWithoutPriosInput | alertContactsUncheckedCreateWithoutPriosInput + + No +
    + connectOrCreate + alertContactsCreateOrConnectWithoutPriosInput + + No +
    + upsert + alertContactsUpsertWithoutPriosInput + + No +
    + connect + alertContactsWhereUniqueInput + + No +
    + update + alertContactsUpdateToOneWithWhereWithoutPriosInput | alertContactsUpdateWithoutPriosInput | alertContactsUncheckedUpdateWithoutPriosInput + + No +
    +
    +
    +
    +

    actionPlanUpdateOneRequiredWithoutPrioNestedInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + actionPlanCreateWithoutPrioInput | actionPlanUncheckedCreateWithoutPrioInput + + No +
    + connectOrCreate + actionPlanCreateOrConnectWithoutPrioInput + + No +
    + upsert + actionPlanUpsertWithoutPrioInput + + No +
    + connect + actionPlanWhereUniqueInput + + No +
    + update + actionPlanUpdateToOneWithWhereWithoutPrioInput | actionPlanUpdateWithoutPrioInput | actionPlanUncheckedUpdateWithoutPrioInput + + No +
    +
    +
    +
    +

    actionPlanCreateNestedManyWithoutContentInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + actionPlanCreateWithoutContentInput | actionPlanCreateWithoutContentInput[] | actionPlanUncheckedCreateWithoutContentInput | actionPlanUncheckedCreateWithoutContentInput[] + + No +
    + connectOrCreate + actionPlanCreateOrConnectWithoutContentInput | actionPlanCreateOrConnectWithoutContentInput[] + + No +
    + connect + actionPlanWhereUniqueInput | actionPlanWhereUniqueInput[] + + No +
    +
    +
    +
    +

    actionPlanUncheckedCreateNestedManyWithoutContentInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + actionPlanCreateWithoutContentInput | actionPlanCreateWithoutContentInput[] | actionPlanUncheckedCreateWithoutContentInput | actionPlanUncheckedCreateWithoutContentInput[] + + No +
    + connectOrCreate + actionPlanCreateOrConnectWithoutContentInput | actionPlanCreateOrConnectWithoutContentInput[] + + No +
    + connect + actionPlanWhereUniqueInput | actionPlanWhereUniqueInput[] + + No +
    +
    +
    +
    +

    EnumcontentTypeFieldUpdateOperationsInput

    + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + set + contentType + + No +
    +
    +
    +
    +

    actionPlanUpdateManyWithoutContentNestedInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + actionPlanCreateWithoutContentInput | actionPlanCreateWithoutContentInput[] | actionPlanUncheckedCreateWithoutContentInput | actionPlanUncheckedCreateWithoutContentInput[] + + No +
    + connectOrCreate + actionPlanCreateOrConnectWithoutContentInput | actionPlanCreateOrConnectWithoutContentInput[] + + No +
    + upsert + actionPlanUpsertWithWhereUniqueWithoutContentInput | actionPlanUpsertWithWhereUniqueWithoutContentInput[] + + No +
    + set + actionPlanWhereUniqueInput | actionPlanWhereUniqueInput[] + + No +
    + disconnect + actionPlanWhereUniqueInput | actionPlanWhereUniqueInput[] + + No +
    + delete + actionPlanWhereUniqueInput | actionPlanWhereUniqueInput[] + + No +
    + connect + actionPlanWhereUniqueInput | actionPlanWhereUniqueInput[] + + No +
    + update + actionPlanUpdateWithWhereUniqueWithoutContentInput | actionPlanUpdateWithWhereUniqueWithoutContentInput[] + + No +
    + updateMany + actionPlanUpdateManyWithWhereWithoutContentInput | actionPlanUpdateManyWithWhereWithoutContentInput[] + + No +
    + deleteMany + actionPlanScalarWhereInput | actionPlanScalarWhereInput[] + + No +
    +
    +
    +
    +

    actionPlanUncheckedUpdateManyWithoutContentNestedInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + create + actionPlanCreateWithoutContentInput | actionPlanCreateWithoutContentInput[] | actionPlanUncheckedCreateWithoutContentInput | actionPlanUncheckedCreateWithoutContentInput[] + + No +
    + connectOrCreate + actionPlanCreateOrConnectWithoutContentInput | actionPlanCreateOrConnectWithoutContentInput[] + + No +
    + upsert + actionPlanUpsertWithWhereUniqueWithoutContentInput | actionPlanUpsertWithWhereUniqueWithoutContentInput[] + + No +
    + set + actionPlanWhereUniqueInput | actionPlanWhereUniqueInput[] + + No +
    + disconnect + actionPlanWhereUniqueInput | actionPlanWhereUniqueInput[] + + No +
    + delete + actionPlanWhereUniqueInput | actionPlanWhereUniqueInput[] + + No +
    + connect + actionPlanWhereUniqueInput | actionPlanWhereUniqueInput[] + + No +
    + update + actionPlanUpdateWithWhereUniqueWithoutContentInput | actionPlanUpdateWithWhereUniqueWithoutContentInput[] + + No +
    + updateMany + actionPlanUpdateManyWithWhereWithoutContentInput | actionPlanUpdateManyWithWhereWithoutContentInput[] + + No +
    + deleteMany + actionPlanScalarWhereInput | actionPlanScalarWhereInput[] + + No +
    +
    +
    +
    +

    NestedIntFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + equals + Int | IntFieldRefInput + + No +
    + in + Int + + No +
    + notIn + Int + + No +
    + lt + Int | IntFieldRefInput + + No +
    + lte + Int | IntFieldRefInput + + No +
    + gt + Int | IntFieldRefInput + + No +
    + gte + Int | IntFieldRefInput + + No +
    + not + Int | NestedIntFilter + + No +
    +
    +
    +
    +

    NestedEnumalertTypeFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -12197,6 +18070,406 @@ String | NestedStringNullableFilter | Null + + + + +
    NameTypeNullable
    + equals + alertType | EnumalertTypeFieldRefInput + + No +
    + in + alertType[] + + No +
    + notIn + alertType[] + + No +
    + not + alertType | NestedEnumalertTypeFilter + No + Yes +
    +
    +
    +
    +

    NestedIntNullableFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + equals + Int | IntFieldRefInput | Null + + Yes +
    + in + Int | Null + + Yes +
    + notIn + Int | Null + + Yes +
    + lt + Int | IntFieldRefInput + + No +
    + lte + Int | IntFieldRefInput + + No +
    + gt + Int | IntFieldRefInput + + No +
    + gte + Int | IntFieldRefInput + + No +
    + not + Int | NestedIntNullableFilter | Null + + Yes +
    +
    +
    +
    +

    NestedDateTimeFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + equals + DateTime | DateTimeFieldRefInput + + No +
    + in + DateTime + + No +
    + notIn + DateTime + + No +
    + lt + DateTime | DateTimeFieldRefInput + + No +
    + lte + DateTime | DateTimeFieldRefInput + + No +
    + gt + DateTime | DateTimeFieldRefInput + + No +
    + gte + DateTime | DateTimeFieldRefInput + + No +
    + not + DateTime | NestedDateTimeFilter + + No +
    +
    +
    +
    +

    NestedEnumalertStateFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + equals + alertState | EnumalertStateFieldRefInput + + No +
    + in + alertState[] + + No +
    + notIn + alertState[] + + No +
    + not + alertState | NestedEnumalertStateFilter + + No +
    +
    +
    +
    +

    NestedDateTimeNullableFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -12491,7 +18764,7 @@
    -

    NestedStringWithAggregatesFilter

    +

    NestedEnumalertTypeWithAggregatesFilter

    NameTypeNullable
    + equals + DateTime | DateTimeFieldRefInput | Null + + Yes +
    + in + DateTime | Null + + Yes +
    + notIn + DateTime | Null + + Yes +
    + lt + DateTime | DateTimeFieldRefInput + + No +
    + lte + DateTime | DateTimeFieldRefInput + + No +
    + gt + DateTime | DateTimeFieldRefInput + + No +
    + gte + DateTime | DateTimeFieldRefInput + + No +
    + not + DateTime | NestedDateTimeNullableFilter | Null + Yes
    @@ -12506,7 +18779,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    equals - String | StringFieldRefInput + alertType | EnumalertTypeFieldRefInput @@ -12518,7 +18791,7 @@ in - String + alertType[] @@ -12530,103 +18803,7 @@ notIn - String - - No -
    - lt - String | StringFieldRefInput - - No -
    - lte - String | StringFieldRefInput - - No -
    - gt - String | StringFieldRefInput - - No -
    - gte - String | StringFieldRefInput - - No -
    - contains - String | StringFieldRefInput - - No -
    - startsWith - String | StringFieldRefInput - - No -
    - endsWith - String | StringFieldRefInput - - No -
    - search - String + alertType[] @@ -12638,7 +18815,7 @@ not - String | NestedStringWithAggregatesFilter + alertType | NestedEnumalertTypeWithAggregatesFilter @@ -12662,7 +18839,7 @@ _min - NestedStringFilter + NestedEnumalertTypeFilter @@ -12674,7 +18851,7 @@ _max - NestedStringFilter + NestedEnumalertTypeFilter @@ -12883,7 +19060,7 @@
    -

    NestedIntNullableFilter

    +

    NestedIntNullableWithAggregatesFilter

    @@ -12982,7 +19159,7 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    not - Int | NestedIntNullableFilter | Null + Int | NestedIntNullableWithAggregatesFilter | Null @@ -12990,6 +19167,930 @@
    + _count + NestedIntNullableFilter + + No +
    + _avg + NestedFloatNullableFilter + + No +
    + _sum + NestedIntNullableFilter + + No +
    + _min + NestedIntNullableFilter + + No +
    + _max + NestedIntNullableFilter + + No +
    +
    +
    +
    +

    NestedFloatNullableFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + equals + Float | FloatFieldRefInput | Null + + Yes +
    + in + Float | Null + + Yes +
    + notIn + Float | Null + + Yes +
    + lt + Float | FloatFieldRefInput + + No +
    + lte + Float | FloatFieldRefInput + + No +
    + gt + Float | FloatFieldRefInput + + No +
    + gte + Float | FloatFieldRefInput + + No +
    + not + Float | NestedFloatNullableFilter | Null + + Yes +
    +
    +
    +
    +

    NestedDateTimeWithAggregatesFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + equals + DateTime | DateTimeFieldRefInput + + No +
    + in + DateTime + + No +
    + notIn + DateTime + + No +
    + lt + DateTime | DateTimeFieldRefInput + + No +
    + lte + DateTime | DateTimeFieldRefInput + + No +
    + gt + DateTime | DateTimeFieldRefInput + + No +
    + gte + DateTime | DateTimeFieldRefInput + + No +
    + not + DateTime | NestedDateTimeWithAggregatesFilter + + No +
    + _count + NestedIntFilter + + No +
    + _min + NestedDateTimeFilter + + No +
    + _max + NestedDateTimeFilter + + No +
    +
    +
    +
    +

    NestedEnumalertStateWithAggregatesFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + equals + alertState | EnumalertStateFieldRefInput + + No +
    + in + alertState[] + + No +
    + notIn + alertState[] + + No +
    + not + alertState | NestedEnumalertStateWithAggregatesFilter + + No +
    + _count + NestedIntFilter + + No +
    + _min + NestedEnumalertStateFilter + + No +
    + _max + NestedEnumalertStateFilter + + No +
    +
    +
    +
    +

    NestedDateTimeNullableWithAggregatesFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + equals + DateTime | DateTimeFieldRefInput | Null + + Yes +
    + in + DateTime | Null + + Yes +
    + notIn + DateTime | Null + + Yes +
    + lt + DateTime | DateTimeFieldRefInput + + No +
    + lte + DateTime | DateTimeFieldRefInput + + No +
    + gt + DateTime | DateTimeFieldRefInput + + No +
    + gte + DateTime | DateTimeFieldRefInput + + No +
    + not + DateTime | NestedDateTimeNullableWithAggregatesFilter | Null + + Yes +
    + _count + NestedIntNullableFilter + + No +
    + _min + NestedDateTimeNullableFilter + + No +
    + _max + NestedDateTimeNullableFilter + + No +
    +
    +
    +
    +

    NestedStringFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + equals + String | StringFieldRefInput + + No +
    + in + String + + No +
    + notIn + String + + No +
    + lt + String | StringFieldRefInput + + No +
    + lte + String | StringFieldRefInput + + No +
    + gt + String | StringFieldRefInput + + No +
    + gte + String | StringFieldRefInput + + No +
    + contains + String | StringFieldRefInput + + No +
    + startsWith + String | StringFieldRefInput + + No +
    + endsWith + String | StringFieldRefInput + + No +
    + search + String + + No +
    + not + String | NestedStringFilter + + No +
    +
    +
    +
    +

    NestedStringWithAggregatesFilter

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + equals + String | StringFieldRefInput + + No +
    + in + String + + No +
    + notIn + String + + No +
    + lt + String | StringFieldRefInput + + No +
    + lte + String | StringFieldRefInput + + No +
    + gt + String | StringFieldRefInput + + No +
    + gte + String | StringFieldRefInput + + No +
    + contains + String | StringFieldRefInput + + No +
    + startsWith + String | StringFieldRefInput + + No +
    + endsWith + String | StringFieldRefInput + + No +
    + search + String + + No +
    + not + String | NestedStringWithAggregatesFilter + + No +
    + _count + NestedIntFilter + + No +
    + _min + NestedStringFilter + + No +
    + _max + NestedStringFilter + + No +
    @@ -13159,7 +20260,879 @@
    -

    PrioritiesCreateWithoutContactInput

    +

    actionPlanCreateWithoutAlertsInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + name + String + + No +
    + comment + String | Null + + Yes +
    + alert_hook + String + + No +
    + prio + prioritiesCreateNestedManyWithoutActionplanInput + + No +
    + content + contentCreateNestedManyWithoutActionplanInput + + No +
    +
    +
    +
    +

    actionPlanUncheckedCreateWithoutAlertsInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int + + No +
    + name + String + + No +
    + comment + String | Null + + Yes +
    + alert_hook + String + + No +
    + prio + prioritiesUncheckedCreateNestedManyWithoutActionplanInput + + No +
    + content + contentUncheckedCreateNestedManyWithoutActionplanInput + + No +
    +
    +
    +
    +

    actionPlanCreateOrConnectWithoutAlertsInput

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + where + actionPlanWhereUniqueInput + + No +
    + create + actionPlanCreateWithoutAlertsInput | actionPlanUncheckedCreateWithoutAlertsInput + + No +
    +
    +
    +
    +

    alertContactsCreateWithoutAlertsInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + name + String + + No +
    + phone + String + + No +
    + comment + String | Null + + Yes +
    + prios + prioritiesCreateNestedManyWithoutContactInput + + No +
    +
    +
    +
    +

    alertContactsUncheckedCreateWithoutAlertsInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int + + No +
    + name + String + + No +
    + phone + String + + No +
    + comment + String | Null + + Yes +
    + prios + prioritiesUncheckedCreateNestedManyWithoutContactInput + + No +
    +
    +
    +
    +

    alertContactsCreateOrConnectWithoutAlertsInput

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + where + alertContactsWhereUniqueInput + + No +
    + create + alertContactsCreateWithoutAlertsInput | alertContactsUncheckedCreateWithoutAlertsInput + + No +
    +
    +
    +
    +

    actionPlanUpsertWithoutAlertsInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + update + actionPlanUpdateWithoutAlertsInput | actionPlanUncheckedUpdateWithoutAlertsInput + + No +
    + create + actionPlanCreateWithoutAlertsInput | actionPlanUncheckedCreateWithoutAlertsInput + + No +
    + where + actionPlanWhereInput + + No +
    +
    +
    +
    +

    actionPlanUpdateToOneWithWhereWithoutAlertsInput

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + where + actionPlanWhereInput + + No +
    + data + actionPlanUpdateWithoutAlertsInput | actionPlanUncheckedUpdateWithoutAlertsInput + + No +
    +
    +
    +
    +

    actionPlanUpdateWithoutAlertsInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + name + String | StringFieldUpdateOperationsInput + + No +
    + comment + String | NullableStringFieldUpdateOperationsInput | Null + + Yes +
    + alert_hook + String | StringFieldUpdateOperationsInput + + No +
    + prio + prioritiesUpdateManyWithoutActionplanNestedInput + + No +
    + content + contentUpdateManyWithoutActionplanNestedInput + + No +
    +
    +
    +
    +

    actionPlanUncheckedUpdateWithoutAlertsInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int | IntFieldUpdateOperationsInput + + No +
    + name + String | StringFieldUpdateOperationsInput + + No +
    + comment + String | NullableStringFieldUpdateOperationsInput | Null + + Yes +
    + alert_hook + String | StringFieldUpdateOperationsInput + + No +
    + prio + prioritiesUncheckedUpdateManyWithoutActionplanNestedInput + + No +
    + content + contentUncheckedUpdateManyWithoutActionplanNestedInput + + No +
    +
    +
    +
    +

    alertContactsUpsertWithWhereUniqueWithoutAlertsInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + where + alertContactsWhereUniqueInput + + No +
    + update + alertContactsUpdateWithoutAlertsInput | alertContactsUncheckedUpdateWithoutAlertsInput + + No +
    + create + alertContactsCreateWithoutAlertsInput | alertContactsUncheckedCreateWithoutAlertsInput + + No +
    +
    +
    +
    +

    alertContactsUpdateWithWhereUniqueWithoutAlertsInput

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + where + alertContactsWhereUniqueInput + + No +
    + data + alertContactsUpdateWithoutAlertsInput | alertContactsUncheckedUpdateWithoutAlertsInput + + No +
    +
    +
    +
    +

    alertContactsUpdateManyWithWhereWithoutAlertsInput

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + where + alertContactsScalarWhereInput + + No +
    + data + alertContactsUpdateManyMutationInput | alertContactsUncheckedUpdateManyWithoutAlertsInput + + No +
    +
    +
    +
    +

    alertContactsScalarWhereInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + AND + alertContactsScalarWhereInput | alertContactsScalarWhereInput[] + + No +
    + OR + alertContactsScalarWhereInput[] + + No +
    + NOT + alertContactsScalarWhereInput | alertContactsScalarWhereInput[] + + No +
    + id + IntFilter | Int + + No +
    + name + StringFilter | String + + No +
    + phone + StringFilter | String + + No +
    + comment + StringNullableFilter | String | Null + + Yes +
    +
    +
    +
    +

    prioritiesCreateWithoutContactInput

    @@ -13186,7 +21159,7 @@
    actionplan - ActionPlanCreateNestedOneWithoutPrioInput + actionPlanCreateNestedOneWithoutPrioInput @@ -13199,7 +21172,7 @@
    -

    PrioritiesUncheckedCreateWithoutContactInput

    +

    prioritiesUncheckedCreateWithoutContactInput

    @@ -13251,7 +21224,7 @@
    -

    PrioritiesCreateOrConnectWithoutContactInput

    +

    prioritiesCreateOrConnectWithoutContactInput

    @@ -13266,7 +21239,7 @@
    where - PrioritiesWhereUniqueInput + prioritiesWhereUniqueInput @@ -13278,7 +21251,7 @@ create - PrioritiesCreateWithoutContactInput | PrioritiesUncheckedCreateWithoutContactInput + prioritiesCreateWithoutContactInput | prioritiesUncheckedCreateWithoutContactInput @@ -13291,7 +21264,7 @@
    -

    PrioritiesCreateManyContactInputEnvelope

    +

    prioritiesCreateManyContactInputEnvelope

    @@ -13306,7 +21279,7 @@
    data - PrioritiesCreateManyContactInput | PrioritiesCreateManyContactInput[] + prioritiesCreateManyContactInput | prioritiesCreateManyContactInput[] @@ -13331,7 +21304,195 @@
    -

    PrioritiesUpsertWithWhereUniqueWithoutContactInput

    +

    alertsCreateWithoutAcknowledged_byInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + type + alertType + + No +
    + message + String | Null + + Yes +
    + date + DateTime + + No +
    + state + alertState + + No +
    + acknowledged_at + DateTime | Null + + Yes +
    + actionplan + actionPlanCreateNestedOneWithoutAlertsInput + + No +
    +
    +
    +
    +

    alertsUncheckedCreateWithoutAcknowledged_byInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int + + No +
    + type + alertType + + No +
    + message + String | Null + + Yes +
    + actionplanId + Int | Null + + Yes +
    + date + DateTime + + No +
    + state + alertState + + No +
    + acknowledged_at + DateTime | Null + + Yes +
    +
    +
    +
    +

    alertsCreateOrConnectWithoutAcknowledged_byInput

    @@ -13346,19 +21507,7 @@ - - - - - - -
    where - PrioritiesWhereUniqueInput - - No -
    - update - PrioritiesUpdateWithoutContactInput | PrioritiesUncheckedUpdateWithoutContactInput + alertsWhereUniqueInput @@ -13370,7 +21519,7 @@ create - PrioritiesCreateWithoutContactInput | PrioritiesUncheckedCreateWithoutContactInput + alertsCreateWithoutAcknowledged_byInput | alertsUncheckedCreateWithoutAcknowledged_byInput @@ -13383,7 +21532,7 @@
    -

    PrioritiesUpdateWithWhereUniqueWithoutContactInput

    +

    prioritiesUpsertWithWhereUniqueWithoutContactInput

    @@ -13398,7 +21547,7 @@ + update + + + + + + +
    where - PrioritiesWhereUniqueInput + prioritiesWhereUniqueInput @@ -13408,9 +21557,21 @@
    - data - PrioritiesUpdateWithoutContactInput | PrioritiesUncheckedUpdateWithoutContactInput + prioritiesUpdateWithoutContactInput | prioritiesUncheckedUpdateWithoutContactInput + + No +
    + create + prioritiesCreateWithoutContactInput | prioritiesUncheckedCreateWithoutContactInput @@ -13423,7 +21584,7 @@
    -

    PrioritiesUpdateManyWithWhereWithoutContactInput

    +

    prioritiesUpdateWithWhereUniqueWithoutContactInput

    @@ -13438,7 +21599,7 @@
    where - PrioritiesScalarWhereInput + prioritiesWhereUniqueInput @@ -13450,7 +21611,7 @@ data - PrioritiesUpdateManyMutationInput | PrioritiesUncheckedUpdateManyWithoutContactInput + prioritiesUpdateWithoutContactInput | prioritiesUncheckedUpdateWithoutContactInput @@ -13463,7 +21624,47 @@
    -

    PrioritiesScalarWhereInput

    +

    prioritiesUpdateManyWithWhereWithoutContactInput

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + where + prioritiesScalarWhereInput + + No +
    + data + prioritiesUpdateManyMutationInput | prioritiesUncheckedUpdateManyWithoutContactInput + + No +
    +
    +
    +
    +

    prioritiesScalarWhereInput

    @@ -13478,7 +21679,7 @@
    AND - PrioritiesScalarWhereInput | PrioritiesScalarWhereInput[] + prioritiesScalarWhereInput | prioritiesScalarWhereInput[] @@ -13490,7 +21691,7 @@ OR - PrioritiesScalarWhereInput[] + prioritiesScalarWhereInput[] @@ -13502,7 +21703,7 @@ NOT - PrioritiesScalarWhereInput | PrioritiesScalarWhereInput[] + prioritiesScalarWhereInput | prioritiesScalarWhereInput[] @@ -13563,123 +21764,7 @@
    -

    AlarmContactsCreateWithoutPriosInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - name - String - - No -
    - phone - String - - No -
    - comment - String | Null - - Yes -
    -
    -
    -
    -

    AlarmContactsUncheckedCreateWithoutPriosInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - Int - - No -
    - name - String - - No -
    - phone - String - - No -
    - comment - String | Null - - Yes -
    -
    -
    -
    -

    AlarmContactsCreateOrConnectWithoutPriosInput

    +

    alertsUpsertWithWhereUniqueWithoutAcknowledged_byInput

    @@ -13694,7 +21779,7 @@ - - - - - - - - -
    where - AlarmContactsWhereUniqueInput + alertsWhereUniqueInput @@ -13702,195 +21787,11 @@
    - create - AlarmContactsCreateWithoutPriosInput | AlarmContactsUncheckedCreateWithoutPriosInput - - No -
    -
    -
    -
    -

    ActionPlanCreateWithoutPrioInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - name - String - - No -
    - comment - String | Null - - Yes -
    - content - ContentCreateNestedManyWithoutActionplanInput - - No -
    -
    -
    -
    -

    ActionPlanUncheckedCreateWithoutPrioInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - Int - - No -
    - name - String - - No -
    - comment - String | Null - - Yes -
    - content - ContentUncheckedCreateNestedManyWithoutActionplanInput - - No -
    -
    -
    -
    -

    ActionPlanCreateOrConnectWithoutPrioInput

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - where - ActionPlanWhereUniqueInput - - No -
    - create - ActionPlanCreateWithoutPrioInput | ActionPlanUncheckedCreateWithoutPrioInput - - No -
    -
    -
    -
    -

    AlarmContactsUpsertWithoutPriosInput

    - - - - - - - - - - - - - - - - -
    NameTypeNullable
    update - AlarmContactsUpdateWithoutPriosInput | AlarmContactsUncheckedUpdateWithoutPriosInput + alertsUpdateWithoutAcknowledged_byInput | alertsUncheckedUpdateWithoutAcknowledged_byInput @@ -13902,19 +21803,7 @@ create - AlarmContactsCreateWithoutPriosInput | AlarmContactsUncheckedCreateWithoutPriosInput - - No -
    - where - AlarmContactsWhereInput + alertsCreateWithoutAcknowledged_byInput | alertsUncheckedCreateWithoutAcknowledged_byInput @@ -13927,7 +21816,7 @@
    -

    AlarmContactsUpdateToOneWithWhereWithoutPriosInput

    +

    alertsUpdateWithWhereUniqueWithoutAcknowledged_byInput

    @@ -13942,7 +21831,7 @@
    where - AlarmContactsWhereInput + alertsWhereUniqueInput @@ -13954,7 +21843,7 @@ data - AlarmContactsUpdateWithoutPriosInput | AlarmContactsUncheckedUpdateWithoutPriosInput + alertsUpdateWithoutAcknowledged_byInput | alertsUncheckedUpdateWithoutAcknowledged_byInput @@ -13967,175 +21856,7 @@
    -

    AlarmContactsUpdateWithoutPriosInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - name - String | StringFieldUpdateOperationsInput - - No -
    - phone - String | StringFieldUpdateOperationsInput - - No -
    - comment - String | NullableStringFieldUpdateOperationsInput | Null - - Yes -
    -
    -
    -
    -

    AlarmContactsUncheckedUpdateWithoutPriosInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - Int | IntFieldUpdateOperationsInput - - No -
    - name - String | StringFieldUpdateOperationsInput - - No -
    - phone - String | StringFieldUpdateOperationsInput - - No -
    - comment - String | NullableStringFieldUpdateOperationsInput | Null - - Yes -
    -
    -
    -
    -

    ActionPlanUpsertWithoutPrioInput

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - update - ActionPlanUpdateWithoutPrioInput | ActionPlanUncheckedUpdateWithoutPrioInput - - No -
    - create - ActionPlanCreateWithoutPrioInput | ActionPlanUncheckedCreateWithoutPrioInput - - No -
    - where - ActionPlanWhereInput - - No -
    -
    -
    -
    -

    ActionPlanUpdateToOneWithWhereWithoutPrioInput

    +

    alertsUpdateManyWithWhereWithoutAcknowledged_byInput

    @@ -14150,7 +21871,7 @@
    where - ActionPlanWhereInput + alertsScalarWhereInput @@ -14162,7 +21883,7 @@ data - ActionPlanUpdateWithoutPrioInput | ActionPlanUncheckedUpdateWithoutPrioInput + alertsUpdateManyMutationInput | alertsUncheckedUpdateManyWithoutAcknowledged_byInput @@ -14175,7 +21896,7 @@
    -

    ActionPlanUpdateWithoutPrioInput

    +

    alertsScalarWhereInput

    @@ -14188,9 +21909,9 @@ + AND + OR - - - - - - - + + + + + + + - -
    - name - String | StringFieldUpdateOperationsInput + alertsScalarWhereInput | alertsScalarWhereInput[] @@ -14200,21 +21921,21 @@
    - comment - String | NullableStringFieldUpdateOperationsInput | Null - - Yes -
    - content - ContentUpdateManyWithoutActionplanNestedInput + alertsScalarWhereInput[] + + No +
    + NOT + alertsScalarWhereInput | alertsScalarWhereInput[] @@ -14222,27 +21943,11 @@
    -
    -
    -
    -

    ActionPlanUncheckedUpdateWithoutPrioInput

    - - - - - - - - - - + type + message + actionplanId + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    id - Int | IntFieldUpdateOperationsInput + IntFilter | Int @@ -14252,9 +21957,9 @@
    - name - String | StringFieldUpdateOperationsInput + EnumalertTypeFilter | alertType @@ -14264,9 +21969,9 @@
    - comment - String | NullableStringFieldUpdateOperationsInput | Null + StringNullableFilter | String | Null @@ -14276,9 +21981,21 @@
    - content - ContentUncheckedUpdateManyWithoutActionplanNestedInput + IntNullableFilter | Int | Null + + Yes +
    + date + DateTimeFilter | DateTime @@ -14286,12 +22003,36 @@
    + state + EnumalertStateFilter | alertState + + No +
    + acknowledged_at + DateTimeNullableFilter | DateTime | Null + + Yes +

    -

    PrioritiesCreateWithoutActionplanInput

    +

    prioritiesCreateWithoutActionplanInput

    @@ -14318,7 +22059,7 @@
    Contact - AlarmContactsCreateNestedOneWithoutPriosInput + alertContactsCreateNestedOneWithoutPriosInput @@ -14331,7 +22072,7 @@
    -

    PrioritiesUncheckedCreateWithoutActionplanInput

    +

    prioritiesUncheckedCreateWithoutActionplanInput

    @@ -14383,7 +22124,7 @@
    -

    PrioritiesCreateOrConnectWithoutActionplanInput

    +

    prioritiesCreateOrConnectWithoutActionplanInput

    @@ -14398,7 +22139,7 @@
    where - PrioritiesWhereUniqueInput + prioritiesWhereUniqueInput @@ -14410,7 +22151,7 @@ create - PrioritiesCreateWithoutActionplanInput | PrioritiesUncheckedCreateWithoutActionplanInput + prioritiesCreateWithoutActionplanInput | prioritiesUncheckedCreateWithoutActionplanInput @@ -14423,7 +22164,7 @@
    -

    PrioritiesCreateManyActionplanInputEnvelope

    +

    prioritiesCreateManyActionplanInputEnvelope

    @@ -14438,7 +22179,7 @@
    data - PrioritiesCreateManyActionplanInput | PrioritiesCreateManyActionplanInput[] + prioritiesCreateManyActionplanInput | prioritiesCreateManyActionplanInput[] @@ -14463,7 +22204,7 @@
    -

    ContentCreateWithoutActionplanInput

    +

    contentCreateWithoutActionplanInput

    @@ -14515,7 +22256,7 @@
    -

    ContentUncheckedCreateWithoutActionplanInput

    +

    contentUncheckedCreateWithoutActionplanInput

    @@ -14579,7 +22320,7 @@
    -

    ContentCreateOrConnectWithoutActionplanInput

    +

    contentCreateOrConnectWithoutActionplanInput

    @@ -14594,7 +22335,7 @@
    where - ContentWhereUniqueInput + contentWhereUniqueInput @@ -14606,7 +22347,7 @@ create - ContentCreateWithoutActionplanInput | ContentUncheckedCreateWithoutActionplanInput + contentCreateWithoutActionplanInput | contentUncheckedCreateWithoutActionplanInput @@ -14619,7 +22360,195 @@
    -

    PrioritiesUpsertWithWhereUniqueWithoutActionplanInput

    +

    alertsCreateWithoutActionplanInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + type + alertType + + No +
    + message + String | Null + + Yes +
    + date + DateTime + + No +
    + state + alertState + + No +
    + acknowledged_at + DateTime | Null + + Yes +
    + acknowledged_by + alertContactsCreateNestedManyWithoutAlertsInput + + No +
    +
    +
    +
    +

    alertsUncheckedCreateWithoutActionplanInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int + + No +
    + type + alertType + + No +
    + message + String | Null + + Yes +
    + date + DateTime + + No +
    + state + alertState + + No +
    + acknowledged_at + DateTime | Null + + Yes +
    + acknowledged_by + alertContactsUncheckedCreateNestedManyWithoutAlertsInput + + No +
    +
    +
    +
    +

    alertsCreateOrConnectWithoutActionplanInput

    @@ -14634,7 +22563,87 @@ + + + + + + + + + + + + +
    where - PrioritiesWhereUniqueInput + alertsWhereUniqueInput + + No +
    + create + alertsCreateWithoutActionplanInput | alertsUncheckedCreateWithoutActionplanInput + + No +
    +
    +
    +
    +

    alertsCreateManyActionplanInputEnvelope

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + data + alertsCreateManyActionplanInput | alertsCreateManyActionplanInput[] + + No +
    + skipDuplicates + Boolean + + No +
    +
    +
    +
    +

    prioritiesUpsertWithWhereUniqueWithoutActionplanInput

    + + + + + + + + + + + + +
    NameTypeNullable
    + where + prioritiesWhereUniqueInput @@ -14646,7 +22655,7 @@ update - PrioritiesUpdateWithoutActionplanInput | PrioritiesUncheckedUpdateWithoutActionplanInput + prioritiesUpdateWithoutActionplanInput | prioritiesUncheckedUpdateWithoutActionplanInput @@ -14658,7 +22667,7 @@ create - PrioritiesCreateWithoutActionplanInput | PrioritiesUncheckedCreateWithoutActionplanInput + prioritiesCreateWithoutActionplanInput | prioritiesUncheckedCreateWithoutActionplanInput @@ -14671,7 +22680,7 @@
    -

    PrioritiesUpdateWithWhereUniqueWithoutActionplanInput

    +

    prioritiesUpdateWithWhereUniqueWithoutActionplanInput

    @@ -14686,7 +22695,7 @@
    where - PrioritiesWhereUniqueInput + prioritiesWhereUniqueInput @@ -14698,7 +22707,7 @@ data - PrioritiesUpdateWithoutActionplanInput | PrioritiesUncheckedUpdateWithoutActionplanInput + prioritiesUpdateWithoutActionplanInput | prioritiesUncheckedUpdateWithoutActionplanInput @@ -14711,7 +22720,7 @@
    -

    PrioritiesUpdateManyWithWhereWithoutActionplanInput

    +

    prioritiesUpdateManyWithWhereWithoutActionplanInput

    @@ -14726,7 +22735,7 @@
    where - PrioritiesScalarWhereInput + prioritiesScalarWhereInput @@ -14738,7 +22747,7 @@ data - PrioritiesUpdateManyMutationInput | PrioritiesUncheckedUpdateManyWithoutActionplanInput + prioritiesUpdateManyMutationInput | prioritiesUncheckedUpdateManyWithoutActionplanInput @@ -14751,7 +22760,7 @@
    -

    ContentUpsertWithWhereUniqueWithoutActionplanInput

    +

    contentUpsertWithWhereUniqueWithoutActionplanInput

    @@ -14766,7 +22775,7 @@
    where - ContentWhereUniqueInput + contentWhereUniqueInput @@ -14778,7 +22787,7 @@ update - ContentUpdateWithoutActionplanInput | ContentUncheckedUpdateWithoutActionplanInput + contentUpdateWithoutActionplanInput | contentUncheckedUpdateWithoutActionplanInput @@ -14790,7 +22799,7 @@ create - ContentCreateWithoutActionplanInput | ContentUncheckedCreateWithoutActionplanInput + contentCreateWithoutActionplanInput | contentUncheckedCreateWithoutActionplanInput @@ -14803,7 +22812,7 @@
    -

    ContentUpdateWithWhereUniqueWithoutActionplanInput

    +

    contentUpdateWithWhereUniqueWithoutActionplanInput

    @@ -14818,7 +22827,7 @@
    where - ContentWhereUniqueInput + contentWhereUniqueInput @@ -14830,7 +22839,7 @@ data - ContentUpdateWithoutActionplanInput | ContentUncheckedUpdateWithoutActionplanInput + contentUpdateWithoutActionplanInput | contentUncheckedUpdateWithoutActionplanInput @@ -14843,7 +22852,7 @@
    -

    ContentUpdateManyWithWhereWithoutActionplanInput

    +

    contentUpdateManyWithWhereWithoutActionplanInput

    @@ -14858,7 +22867,7 @@
    where - ContentScalarWhereInput + contentScalarWhereInput @@ -14870,7 +22879,7 @@ data - ContentUpdateManyMutationInput | ContentUncheckedUpdateManyWithoutActionplanInput + contentUpdateManyMutationInput | contentUncheckedUpdateManyWithoutActionplanInput @@ -14883,7 +22892,7 @@
    -

    ContentScalarWhereInput

    +

    contentScalarWhereInput

    @@ -14898,7 +22907,7 @@
    AND - ContentScalarWhereInput | ContentScalarWhereInput[] + contentScalarWhereInput | contentScalarWhereInput[] @@ -14910,7 +22919,7 @@ OR - ContentScalarWhereInput[] + contentScalarWhereInput[] @@ -14922,7 +22931,7 @@ NOT - ContentScalarWhereInput | ContentScalarWhereInput[] + contentScalarWhereInput | contentScalarWhereInput[] @@ -14983,7 +22992,319 @@
    -

    ActionPlanCreateWithoutContentInput

    +

    alertsUpsertWithWhereUniqueWithoutActionplanInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + where + alertsWhereUniqueInput + + No +
    + update + alertsUpdateWithoutActionplanInput | alertsUncheckedUpdateWithoutActionplanInput + + No +
    + create + alertsCreateWithoutActionplanInput | alertsUncheckedCreateWithoutActionplanInput + + No +
    +
    +
    +
    +

    alertsUpdateWithWhereUniqueWithoutActionplanInput

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + where + alertsWhereUniqueInput + + No +
    + data + alertsUpdateWithoutActionplanInput | alertsUncheckedUpdateWithoutActionplanInput + + No +
    +
    +
    +
    +

    alertsUpdateManyWithWhereWithoutActionplanInput

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + where + alertsScalarWhereInput + + No +
    + data + alertsUpdateManyMutationInput | alertsUncheckedUpdateManyWithoutActionplanInput + + No +
    +
    +
    +
    +

    alertContactsCreateWithoutPriosInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + name + String + + No +
    + phone + String + + No +
    + comment + String | Null + + Yes +
    + alerts + alertsCreateNestedManyWithoutAcknowledged_byInput + + No +
    +
    +
    +
    +

    alertContactsUncheckedCreateWithoutPriosInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int + + No +
    + name + String + + No +
    + phone + String + + No +
    + comment + String | Null + + Yes +
    + alerts + alertsUncheckedCreateNestedManyWithoutAcknowledged_byInput + + No +
    +
    +
    +
    +

    alertContactsCreateOrConnectWithoutPriosInput

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + where + alertContactsWhereUniqueInput + + No +
    + create + alertContactsCreateWithoutPriosInput | alertContactsUncheckedCreateWithoutPriosInput + + No +
    +
    +
    +
    +

    actionPlanCreateWithoutPrioInput

    @@ -15020,9 +23341,33 @@ + alert_hook + + + + + + + + + + + + + +
    - prio - PrioritiesCreateNestedManyWithoutActionplanInput + String + + No +
    + content + contentCreateNestedManyWithoutActionplanInput + + No +
    + alerts + alertsCreateNestedManyWithoutActionplanInput @@ -15035,7 +23380,7 @@
    -

    ActionPlanUncheckedCreateWithoutContentInput

    +

    actionPlanUncheckedCreateWithoutPrioInput

    @@ -15084,9 +23429,33 @@ + alert_hook + + + + + + + + + + + + + +
    - prio - PrioritiesUncheckedCreateNestedManyWithoutActionplanInput + String + + No +
    + content + contentUncheckedCreateNestedManyWithoutActionplanInput + + No +
    + alerts + alertsUncheckedCreateNestedManyWithoutActionplanInput @@ -15099,7 +23468,7 @@
    -

    ActionPlanCreateOrConnectWithoutContentInput

    +

    actionPlanCreateOrConnectWithoutPrioInput

    @@ -15114,7 +23483,7 @@
    where - ActionPlanWhereUniqueInput + actionPlanWhereUniqueInput @@ -15126,7 +23495,7 @@ create - ActionPlanCreateWithoutContentInput | ActionPlanUncheckedCreateWithoutContentInput + actionPlanCreateWithoutPrioInput | actionPlanUncheckedCreateWithoutPrioInput @@ -15139,7 +23508,59 @@
    -

    ActionPlanUpsertWithWhereUniqueWithoutContentInput

    +

    alertContactsUpsertWithoutPriosInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + update + alertContactsUpdateWithoutPriosInput | alertContactsUncheckedUpdateWithoutPriosInput + + No +
    + create + alertContactsCreateWithoutPriosInput | alertContactsUncheckedCreateWithoutPriosInput + + No +
    + where + alertContactsWhereInput + + No +
    +
    +
    +
    +

    alertContactsUpdateToOneWithWhereWithoutPriosInput

    @@ -15154,7 +23575,647 @@ + + + + + + + + + + + + +
    where - ActionPlanWhereUniqueInput + alertContactsWhereInput + + No +
    + data + alertContactsUpdateWithoutPriosInput | alertContactsUncheckedUpdateWithoutPriosInput + + No +
    +
    +
    +
    +

    alertContactsUpdateWithoutPriosInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + name + String | StringFieldUpdateOperationsInput + + No +
    + phone + String | StringFieldUpdateOperationsInput + + No +
    + comment + String | NullableStringFieldUpdateOperationsInput | Null + + Yes +
    + alerts + alertsUpdateManyWithoutAcknowledged_byNestedInput + + No +
    +
    +
    +
    +

    alertContactsUncheckedUpdateWithoutPriosInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int | IntFieldUpdateOperationsInput + + No +
    + name + String | StringFieldUpdateOperationsInput + + No +
    + phone + String | StringFieldUpdateOperationsInput + + No +
    + comment + String | NullableStringFieldUpdateOperationsInput | Null + + Yes +
    + alerts + alertsUncheckedUpdateManyWithoutAcknowledged_byNestedInput + + No +
    +
    +
    +
    +

    actionPlanUpsertWithoutPrioInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + update + actionPlanUpdateWithoutPrioInput | actionPlanUncheckedUpdateWithoutPrioInput + + No +
    + create + actionPlanCreateWithoutPrioInput | actionPlanUncheckedCreateWithoutPrioInput + + No +
    + where + actionPlanWhereInput + + No +
    +
    +
    +
    +

    actionPlanUpdateToOneWithWhereWithoutPrioInput

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + where + actionPlanWhereInput + + No +
    + data + actionPlanUpdateWithoutPrioInput | actionPlanUncheckedUpdateWithoutPrioInput + + No +
    +
    +
    +
    +

    actionPlanUpdateWithoutPrioInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + name + String | StringFieldUpdateOperationsInput + + No +
    + comment + String | NullableStringFieldUpdateOperationsInput | Null + + Yes +
    + alert_hook + String | StringFieldUpdateOperationsInput + + No +
    + content + contentUpdateManyWithoutActionplanNestedInput + + No +
    + alerts + alertsUpdateManyWithoutActionplanNestedInput + + No +
    +
    +
    +
    +

    actionPlanUncheckedUpdateWithoutPrioInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int | IntFieldUpdateOperationsInput + + No +
    + name + String | StringFieldUpdateOperationsInput + + No +
    + comment + String | NullableStringFieldUpdateOperationsInput | Null + + Yes +
    + alert_hook + String | StringFieldUpdateOperationsInput + + No +
    + content + contentUncheckedUpdateManyWithoutActionplanNestedInput + + No +
    + alerts + alertsUncheckedUpdateManyWithoutActionplanNestedInput + + No +
    +
    +
    +
    +

    actionPlanCreateWithoutContentInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + name + String + + No +
    + comment + String | Null + + Yes +
    + alert_hook + String + + No +
    + prio + prioritiesCreateNestedManyWithoutActionplanInput + + No +
    + alerts + alertsCreateNestedManyWithoutActionplanInput + + No +
    +
    +
    +
    +

    actionPlanUncheckedCreateWithoutContentInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int + + No +
    + name + String + + No +
    + comment + String | Null + + Yes +
    + alert_hook + String + + No +
    + prio + prioritiesUncheckedCreateNestedManyWithoutActionplanInput + + No +
    + alerts + alertsUncheckedCreateNestedManyWithoutActionplanInput + + No +
    +
    +
    +
    +

    actionPlanCreateOrConnectWithoutContentInput

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + where + actionPlanWhereUniqueInput + + No +
    + create + actionPlanCreateWithoutContentInput | actionPlanUncheckedCreateWithoutContentInput + + No +
    +
    +
    +
    +

    actionPlanUpsertWithWhereUniqueWithoutContentInput

    + + + + + + + + + + + + +
    NameTypeNullable
    + where + actionPlanWhereUniqueInput @@ -15166,7 +24227,7 @@ update - ActionPlanUpdateWithoutContentInput | ActionPlanUncheckedUpdateWithoutContentInput + actionPlanUpdateWithoutContentInput | actionPlanUncheckedUpdateWithoutContentInput @@ -15178,7 +24239,7 @@ create - ActionPlanCreateWithoutContentInput | ActionPlanUncheckedCreateWithoutContentInput + actionPlanCreateWithoutContentInput | actionPlanUncheckedCreateWithoutContentInput @@ -15191,7 +24252,7 @@
    -

    ActionPlanUpdateWithWhereUniqueWithoutContentInput

    +

    actionPlanUpdateWithWhereUniqueWithoutContentInput

    @@ -15206,7 +24267,7 @@
    where - ActionPlanWhereUniqueInput + actionPlanWhereUniqueInput @@ -15218,7 +24279,7 @@ data - ActionPlanUpdateWithoutContentInput | ActionPlanUncheckedUpdateWithoutContentInput + actionPlanUpdateWithoutContentInput | actionPlanUncheckedUpdateWithoutContentInput @@ -15231,7 +24292,7 @@
    -

    ActionPlanUpdateManyWithWhereWithoutContentInput

    +

    actionPlanUpdateManyWithWhereWithoutContentInput

    @@ -15246,7 +24307,7 @@
    where - ActionPlanScalarWhereInput + actionPlanScalarWhereInput @@ -15258,7 +24319,7 @@ data - ActionPlanUpdateManyMutationInput | ActionPlanUncheckedUpdateManyWithoutContentInput + actionPlanUpdateManyMutationInput | actionPlanUncheckedUpdateManyWithoutContentInput @@ -15271,7 +24332,7 @@
    -

    ActionPlanScalarWhereInput

    +

    actionPlanScalarWhereInput

    @@ -15286,7 +24347,7 @@ + + + + + + +
    AND - ActionPlanScalarWhereInput | ActionPlanScalarWhereInput[] + actionPlanScalarWhereInput | actionPlanScalarWhereInput[] @@ -15298,7 +24359,7 @@ OR - ActionPlanScalarWhereInput[] + actionPlanScalarWhereInput[] @@ -15310,7 +24371,7 @@ NOT - ActionPlanScalarWhereInput | ActionPlanScalarWhereInput[] + actionPlanScalarWhereInput | actionPlanScalarWhereInput[] @@ -15354,12 +24415,228 @@
    + alert_hook + StringFilter | String + + No +

    -

    PrioritiesCreateManyContactInput

    +

    alertContactsUpdateWithoutAlertsInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + name + String | StringFieldUpdateOperationsInput + + No +
    + phone + String | StringFieldUpdateOperationsInput + + No +
    + comment + String | NullableStringFieldUpdateOperationsInput | Null + + Yes +
    + prios + prioritiesUpdateManyWithoutContactNestedInput + + No +
    +
    +
    +
    +

    alertContactsUncheckedUpdateWithoutAlertsInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int | IntFieldUpdateOperationsInput + + No +
    + name + String | StringFieldUpdateOperationsInput + + No +
    + phone + String | StringFieldUpdateOperationsInput + + No +
    + comment + String | NullableStringFieldUpdateOperationsInput | Null + + Yes +
    + prios + prioritiesUncheckedUpdateManyWithoutContactNestedInput + + No +
    +
    +
    +
    +

    alertContactsUncheckedUpdateManyWithoutAlertsInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int | IntFieldUpdateOperationsInput + + No +
    + name + String | StringFieldUpdateOperationsInput + + No +
    + phone + String | StringFieldUpdateOperationsInput + + No +
    + comment + String | NullableStringFieldUpdateOperationsInput | Null + + Yes +
    +
    +
    +
    +

    prioritiesCreateManyContactInput

    @@ -15411,7 +24688,7 @@
    -

    PrioritiesUpdateWithoutContactInput

    +

    prioritiesUpdateWithoutContactInput

    @@ -15438,7 +24715,7 @@
    actionplan - ActionPlanUpdateOneRequiredWithoutPrioNestedInput + actionPlanUpdateOneRequiredWithoutPrioNestedInput @@ -15451,7 +24728,7 @@
    -

    PrioritiesUncheckedUpdateWithoutContactInput

    +

    prioritiesUncheckedUpdateWithoutContactInput

    @@ -15503,7 +24780,7 @@
    -

    PrioritiesUncheckedUpdateManyWithoutContactInput

    +

    prioritiesUncheckedUpdateManyWithoutContactInput

    @@ -15555,7 +24832,295 @@
    -

    PrioritiesCreateManyActionplanInput

    +

    alertsUpdateWithoutAcknowledged_byInput

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + type + alertType | EnumalertTypeFieldUpdateOperationsInput + + No +
    + message + String | NullableStringFieldUpdateOperationsInput | Null + + Yes +
    + date + DateTime | DateTimeFieldUpdateOperationsInput + + No +
    + state + alertState | EnumalertStateFieldUpdateOperationsInput + + No +
    + acknowledged_at + DateTime | NullableDateTimeFieldUpdateOperationsInput | Null + + Yes +
    + actionplan + actionPlanUpdateOneWithoutAlertsNestedInput + + No +
    +
    +
    +
    +

    alertsUncheckedUpdateWithoutAcknowledged_byInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int | IntFieldUpdateOperationsInput + + No +
    + type + alertType | EnumalertTypeFieldUpdateOperationsInput + + No +
    + message + String | NullableStringFieldUpdateOperationsInput | Null + + Yes +
    + actionplanId + Int | NullableIntFieldUpdateOperationsInput | Null + + Yes +
    + date + DateTime | DateTimeFieldUpdateOperationsInput + + No +
    + state + alertState | EnumalertStateFieldUpdateOperationsInput + + No +
    + acknowledged_at + DateTime | NullableDateTimeFieldUpdateOperationsInput | Null + + Yes +
    +
    +
    +
    +

    alertsUncheckedUpdateManyWithoutAcknowledged_byInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int | IntFieldUpdateOperationsInput + + No +
    + type + alertType | EnumalertTypeFieldUpdateOperationsInput + + No +
    + message + String | NullableStringFieldUpdateOperationsInput | Null + + Yes +
    + actionplanId + Int | NullableIntFieldUpdateOperationsInput | Null + + Yes +
    + date + DateTime | DateTimeFieldUpdateOperationsInput + + No +
    + state + alertState | EnumalertStateFieldUpdateOperationsInput + + No +
    + acknowledged_at + DateTime | NullableDateTimeFieldUpdateOperationsInput | Null + + Yes +
    +
    +
    +
    +

    prioritiesCreateManyActionplanInput

    @@ -15607,7 +25172,95 @@
    -

    PrioritiesUpdateWithoutActionplanInput

    +

    alertsCreateManyActionplanInput

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int + + No +
    + type + alertType + + No +
    + message + String | Null + + Yes +
    + date + DateTime + + No +
    + state + alertState + + No +
    + acknowledged_at + DateTime | Null + + Yes +
    +
    +
    +
    +

    prioritiesUpdateWithoutActionplanInput

    @@ -15634,7 +25287,7 @@
    Contact - AlarmContactsUpdateOneRequiredWithoutPriosNestedInput + alertContactsUpdateOneRequiredWithoutPriosNestedInput @@ -15647,7 +25300,7 @@
    -

    PrioritiesUncheckedUpdateWithoutActionplanInput

    +

    prioritiesUncheckedUpdateWithoutActionplanInput

    @@ -15699,7 +25352,7 @@
    -

    PrioritiesUncheckedUpdateManyWithoutActionplanInput

    +

    prioritiesUncheckedUpdateManyWithoutActionplanInput

    @@ -15751,7 +25404,7 @@
    -

    ContentUpdateWithoutActionplanInput

    +

    contentUpdateWithoutActionplanInput

    @@ -15803,7 +25456,7 @@
    -

    ContentUncheckedUpdateWithoutActionplanInput

    +

    contentUncheckedUpdateWithoutActionplanInput

    @@ -15867,7 +25520,7 @@
    -

    ContentUncheckedUpdateManyWithoutActionplanInput

    +

    contentUncheckedUpdateManyWithoutActionplanInput

    @@ -15931,7 +25584,283 @@
    -

    ActionPlanUpdateWithoutContentInput

    +

    alertsUpdateWithoutActionplanInput

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + type + alertType | EnumalertTypeFieldUpdateOperationsInput + + No +
    + message + String | NullableStringFieldUpdateOperationsInput | Null + + Yes +
    + date + DateTime | DateTimeFieldUpdateOperationsInput + + No +
    + state + alertState | EnumalertStateFieldUpdateOperationsInput + + No +
    + acknowledged_at + DateTime | NullableDateTimeFieldUpdateOperationsInput | Null + + Yes +
    + acknowledged_by + alertContactsUpdateManyWithoutAlertsNestedInput + + No +
    +
    +
    +
    +

    alertsUncheckedUpdateWithoutActionplanInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int | IntFieldUpdateOperationsInput + + No +
    + type + alertType | EnumalertTypeFieldUpdateOperationsInput + + No +
    + message + String | NullableStringFieldUpdateOperationsInput | Null + + Yes +
    + date + DateTime | DateTimeFieldUpdateOperationsInput + + No +
    + state + alertState | EnumalertStateFieldUpdateOperationsInput + + No +
    + acknowledged_at + DateTime | NullableDateTimeFieldUpdateOperationsInput | Null + + Yes +
    + acknowledged_by + alertContactsUncheckedUpdateManyWithoutAlertsNestedInput + + No +
    +
    +
    +
    +

    alertsUncheckedUpdateManyWithoutActionplanInput

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int | IntFieldUpdateOperationsInput + + No +
    + type + alertType | EnumalertTypeFieldUpdateOperationsInput + + No +
    + message + String | NullableStringFieldUpdateOperationsInput | Null + + Yes +
    + date + DateTime | DateTimeFieldUpdateOperationsInput + + No +
    + state + alertState | EnumalertStateFieldUpdateOperationsInput + + No +
    + acknowledged_at + DateTime | NullableDateTimeFieldUpdateOperationsInput | Null + + Yes +
    +
    +
    +
    +

    actionPlanUpdateWithoutContentInput

    @@ -15966,11 +25895,35 @@ + + + + + + + + + + + + + +
    + alert_hook + String | StringFieldUpdateOperationsInput + + No +
    prio - PrioritiesUpdateManyWithoutActionplanNestedInput + prioritiesUpdateManyWithoutActionplanNestedInput + + No +
    + alerts + alertsUpdateManyWithoutActionplanNestedInput @@ -15983,7 +25936,7 @@
    -

    ActionPlanUncheckedUpdateWithoutContentInput

    +

    actionPlanUncheckedUpdateWithoutContentInput

    @@ -16030,11 +25983,35 @@ + + + + + + + + + + + + + +
    + alert_hook + String | StringFieldUpdateOperationsInput + + No +
    prio - PrioritiesUncheckedUpdateManyWithoutActionplanNestedInput + prioritiesUncheckedUpdateManyWithoutActionplanNestedInput + + No +
    + alerts + alertsUncheckedUpdateManyWithoutActionplanNestedInput @@ -16047,7 +26024,7 @@
    -

    ActionPlanUncheckedUpdateManyWithoutContentInput

    +

    actionPlanUncheckedUpdateManyWithoutContentInput

    @@ -16094,6 +26071,18 @@ + + + + + + +
    + alert_hook + String | StringFieldUpdateOperationsInput + + No +
    @@ -16105,7 +26094,143 @@
    -

    AlarmContacts

    +

    alerts

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int + + Yes +
    + type + alertType + + Yes +
    + message + String + + No +
    + actionplanId + Int + + No +
    + date + DateTime + + Yes +
    + state + alertState + + Yes +
    + acknowledged_at + DateTime + + No +
    + actionplan + actionPlan + + No +
    + acknowledged_by + alertContacts[] + + No +
    + _count + AlertsCountOutputType + + Yes +
    +
    +
    +
    +

    alertContacts

    @@ -16166,9 +26291,21 @@ + prios + + + + + + +
    - Prios - Priorities[] + priorities[] + + No +
    + alerts + alerts[] @@ -16180,7 +26317,7 @@ _count - AlarmContactsCountOutputType + AlertContactsCountOutputType @@ -16193,7 +26330,119 @@
    -

    Priorities

    +

    actionPlan

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int + + Yes +
    + name + String + + Yes +
    + comment + String + + No +
    + alert_hook + String + + Yes +
    + prio + priorities[] + + No +
    + content + content[] + + No +
    + alerts + alerts[] + + No +
    + _count + ActionPlanCountOutputType + + Yes +
    +
    +
    +
    +

    priorities

    @@ -16256,7 +26505,7 @@
    Contact - AlarmContacts + alertContacts @@ -16268,7 +26517,7 @@ actionplan - ActionPlan + actionPlan @@ -16281,95 +26530,7 @@
    -

    ActionPlan

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - Int - - Yes -
    - name - String - - Yes -
    - comment - String - - No -
    - prio - Priorities[] - - No -
    - content - Content[] - - No -
    - _count - ActionPlanCountOutputType - - Yes -
    -
    -
    -
    -

    Content

    +

    content

    @@ -16432,7 +26593,7 @@
    actionplan - ActionPlan[] + actionPlan[] @@ -16457,7 +26618,7 @@
    -

    AggregateAlarmContacts

    +

    AggregateAlerts

    @@ -16472,7 +26633,7 @@
    _count - AlarmContactsCountAggregateOutputType + AlertsCountAggregateOutputType @@ -16484,7 +26645,7 @@ _avg - AlarmContactsAvgAggregateOutputType + AlertsAvgAggregateOutputType @@ -16496,7 +26657,7 @@ _sum - AlarmContactsSumAggregateOutputType + AlertsSumAggregateOutputType @@ -16508,7 +26669,7 @@ _min - AlarmContactsMinAggregateOutputType + AlertsMinAggregateOutputType @@ -16520,7 +26681,7 @@ _max - AlarmContactsMaxAggregateOutputType + AlertsMaxAggregateOutputType @@ -16533,7 +26694,243 @@
    -

    AlarmContactsGroupByOutputType

    +

    AlertsGroupByOutputType

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int + + Yes +
    + type + alertType + + Yes +
    + message + String + + No +
    + actionplanId + Int + + No +
    + date + DateTime + + Yes +
    + state + alertState + + Yes +
    + acknowledged_at + DateTime + + No +
    + _count + AlertsCountAggregateOutputType + + No +
    + _avg + AlertsAvgAggregateOutputType + + No +
    + _sum + AlertsSumAggregateOutputType + + No +
    + _min + AlertsMinAggregateOutputType + + No +
    + _max + AlertsMaxAggregateOutputType + + No +
    +
    +
    +
    +

    AggregateAlertContacts

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + _count + AlertContactsCountAggregateOutputType + + No +
    + _avg + AlertContactsAvgAggregateOutputType + + No +
    + _sum + AlertContactsSumAggregateOutputType + + No +
    + _min + AlertContactsMinAggregateOutputType + + No +
    + _max + AlertContactsMaxAggregateOutputType + + No +
    +
    +
    +
    +

    AlertContactsGroupByOutputType

    @@ -16596,7 +26993,7 @@ + + + + + +
    _count - AlarmContactsCountAggregateOutputType + AlertContactsCountAggregateOutputType @@ -16608,7 +27005,7 @@ _avg - AlarmContactsAvgAggregateOutputType + AlertContactsAvgAggregateOutputType @@ -16620,7 +27017,7 @@ _sum - AlarmContactsSumAggregateOutputType + AlertContactsSumAggregateOutputType @@ -16632,7 +27029,7 @@ _min - AlarmContactsMinAggregateOutputType + AlertContactsMinAggregateOutputType @@ -16644,7 +27041,207 @@ _max - AlarmContactsMaxAggregateOutputType + AlertContactsMaxAggregateOutputType + + No +
    +
    +
    +
    +

    AggregateActionPlan

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + _count + ActionPlanCountAggregateOutputType + + No +
    + _avg + ActionPlanAvgAggregateOutputType + + No +
    + _sum + ActionPlanSumAggregateOutputType + + No +
    + _min + ActionPlanMinAggregateOutputType + + No +
    + _max + ActionPlanMaxAggregateOutputType + + No +
    +
    +
    +
    +

    ActionPlanGroupByOutputType

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - -
    NameTypeNullable
    + id + Int + + Yes +
    + name + String + + Yes +
    + comment + String + + No +
    + alert_hook + String + + Yes +
    + _count + ActionPlanCountAggregateOutputType + + No +
    + _avg + ActionPlanAvgAggregateOutputType + + No +
    + _sum + ActionPlanSumAggregateOutputType + + No +
    + _min + ActionPlanMinAggregateOutputType + + No +
    + _max + ActionPlanMaxAggregateOutputType @@ -16847,194 +27444,6 @@ PrioritiesMaxAggregateOutputType - No -
    -
    -
    -
    -

    AggregateActionPlan

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - _count - ActionPlanCountAggregateOutputType - - No -
    - _avg - ActionPlanAvgAggregateOutputType - - No -
    - _sum - ActionPlanSumAggregateOutputType - - No -
    - _min - ActionPlanMinAggregateOutputType - - No -
    - _max - ActionPlanMaxAggregateOutputType - - No -
    -
    -
    -
    -

    ActionPlanGroupByOutputType

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -17273,7 +27682,7 @@
    -

    AlarmContactsCountOutputType

    +

    AlertsCountOutputType

    NameTypeNullable
    - id - Int - - Yes -
    - name - String - - Yes -
    - comment - String - - No -
    - _count - ActionPlanCountAggregateOutputType - - No -
    - _avg - ActionPlanAvgAggregateOutputType - - No -
    - _sum - ActionPlanSumAggregateOutputType - - No -
    - _min - ActionPlanMinAggregateOutputType - - No -
    - _max - ActionPlanMaxAggregateOutputType - No
    @@ -17286,7 +27695,7 @@ + acknowledged_by @@ -17301,7 +27710,439 @@
    -

    AlarmContactsCountAggregateOutputType

    +

    AlertsCountAggregateOutputType

    +
    - Prios Int
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int + + Yes +
    + type + Int + + Yes +
    + message + Int + + Yes +
    + actionplanId + Int + + Yes +
    + date + Int + + Yes +
    + state + Int + + Yes +
    + acknowledged_at + Int + + Yes +
    + _all + Int + + Yes +
    +
    +
    +
    +

    AlertsAvgAggregateOutputType

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Float + + No +
    + actionplanId + Float + + No +
    +
    +
    +
    +

    AlertsSumAggregateOutputType

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int + + No +
    + actionplanId + Int + + No +
    +
    +
    +
    +

    AlertsMinAggregateOutputType

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int + + No +
    + type + alertType + + No +
    + message + String + + No +
    + actionplanId + Int + + No +
    + date + DateTime + + No +
    + state + alertState + + No +
    + acknowledged_at + DateTime + + No +
    +
    +
    +
    +

    AlertsMaxAggregateOutputType

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int + + No +
    + type + alertType + + No +
    + message + String + + No +
    + actionplanId + Int + + No +
    + date + DateTime + + No +
    + state + alertState + + No +
    + acknowledged_at + DateTime + + No +
    +
    +
    +
    +

    AlertContactsCountOutputType

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + prios + Int + + Yes +
    + alerts + Int + + Yes +
    +
    +
    +
    +

    AlertContactsCountAggregateOutputType

    @@ -17377,7 +28218,7 @@
    -

    AlarmContactsAvgAggregateOutputType

    +

    AlertContactsAvgAggregateOutputType

    @@ -17405,7 +28246,7 @@
    -

    AlarmContactsSumAggregateOutputType

    +

    AlertContactsSumAggregateOutputType

    @@ -17433,7 +28274,7 @@
    -

    AlarmContactsMinAggregateOutputType

    +

    AlertContactsMinAggregateOutputType

    @@ -17497,7 +28338,7 @@
    -

    AlarmContactsMaxAggregateOutputType

    +

    AlertContactsMaxAggregateOutputType

    @@ -17551,6 +28392,318 @@ String + + + + +
    + No +
    +
    +
    +
    +

    ActionPlanCountOutputType

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + prio + Int + + Yes +
    + content + Int + + Yes +
    + alerts + Int + + Yes +
    +
    +
    +
    +

    ActionPlanCountAggregateOutputType

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int + + Yes +
    + name + Int + + Yes +
    + comment + Int + + Yes +
    + alert_hook + Int + + Yes +
    + _all + Int + + Yes +
    +
    +
    +
    +

    ActionPlanAvgAggregateOutputType

    + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Float + + No +
    +
    +
    +
    +

    ActionPlanSumAggregateOutputType

    + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int + + No +
    +
    +
    +
    +

    ActionPlanMinAggregateOutputType

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeNullable
    + id + Int + + No +
    + name + String + + No +
    + comment + String + + No +
    + alert_hook + String + + No +
    +
    +
    +
    +

    ActionPlanMaxAggregateOutputType

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -17883,270 +29036,6 @@ Int - - - - -
    NameTypeNullable
    + id + Int + + No +
    + name + String + + No +
    + comment + String + + No +
    + alert_hook + String + No - No -
    -
    -
    -
    -

    ActionPlanCountOutputType

    - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - prio - Int - - Yes -
    - content - Int - - Yes -
    -
    -
    -
    -

    ActionPlanCountAggregateOutputType

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - Int - - Yes -
    - name - Int - - Yes -
    - comment - Int - - Yes -
    - _all - Int - - Yes -
    -
    -
    -
    -

    ActionPlanAvgAggregateOutputType

    - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - Float - - No -
    -
    -
    -
    -

    ActionPlanSumAggregateOutputType

    - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - Int - - No -
    -
    -
    -
    -

    ActionPlanMinAggregateOutputType

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeNullable
    - id - Int - - No -
    - name - String - - No -
    - comment - String - - No -
    -
    -
    -
    -

    ActionPlanMaxAggregateOutputType

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/docs/schema.dbml b/docs/schema.dbml index 89030b7..128b073 100644 --- a/docs/schema.dbml +++ b/docs/schema.dbml @@ -7,20 +7,43 @@ Project "AssetFlow" { Note: '' } -Table AlarmContacts { +Table alerts { + id Int [pk, increment] + type alertType [not null] + message String + actionplan actionPlan + actionplanId Int + date DateTime [not null] + state alertState [not null] + acknowledged_by alertContacts [not null] + acknowledged_at DateTime +} + +Table alertContacts { id Int [pk, increment] name String [not null] phone String [unique, not null] comment String - Prios Priorities [not null] + prios priorities [not null] + alerts alerts [not null] } -Table Priorities { +Table actionPlan { id Int [pk, increment] - Contact AlarmContacts [not null] + name String [not null] + comment String + alert_hook String [unique, not null] + prio priorities [not null] + content content [not null] + alerts alerts [not null] +} + +Table priorities { + id Int [pk, increment] + Contact alertContacts [not null] contactId Int [not null] priority Int [not null] - actionplan ActionPlan [not null] + actionplan actionPlan [not null] actionplanId Int [not null] indexes { @@ -28,25 +51,22 @@ Table Priorities { } } -Table ActionPlan { - id Int [pk, increment] - name String [not null] - comment String - prio Priorities [not null] - content Content [not null] -} - -Table Content { +Table content { id Int [pk, increment] type contentType [not null] name String [not null] filename String [not null] - actionplan ActionPlan [not null] + actionplan actionPlan [not null] } -Table ActionPlanToContent { - contentId Int [ref: > Content.id] - actionplanId Int [ref: > ActionPlan.id] +Table alertContactsToalerts { + acknowledged_byId Int [ref: > alertContacts.id] + alertsId Int [ref: > alerts.id] +} + +Table actionPlanTocontent { + contentId Int [ref: > content.id] + actionplanId Int [ref: > actionPlan.id] } Enum contentType { @@ -56,6 +76,23 @@ Enum contentType { voice_ending } -Ref: Priorities.contactId > AlarmContacts.id +Enum alertType { + generic + fire + fault + intrusion + clear +} -Ref: Priorities.actionplanId > ActionPlan.id \ No newline at end of file +Enum alertState { + incomming + running + failed + acknowledged +} + +Ref: alerts.actionplanId > actionPlan.id + +Ref: priorities.contactId > alertContacts.id + +Ref: priorities.actionplanId > actionPlan.id \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 93ea64c..67fcb19 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,7 @@ "license": "GPL-3.0", "dependencies": { "@prisma/client": "^6.2.1", + "bootstrap-icons": "^1.11.3", "bulma": "^1.0.3", "eta": "^3.5.0", "express": "^4.21.2", @@ -1644,6 +1645,22 @@ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", "license": "MIT" }, + "node_modules/bootstrap-icons": { + "version": "1.11.3", + "resolved": "https://registry.npmjs.org/bootstrap-icons/-/bootstrap-icons-1.11.3.tgz", + "integrity": "sha512-+3lpHrCw/it2/7lBL15VR0HEumaBss0+f/Lb6ZvHISn1mlK83jjFpooTLsMWbIjJMDjDjOExMsTxnXSIT4k4ww==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/twbs" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/bootstrap" + } + ], + "license": "MIT" + }, "node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", diff --git a/package.json b/package.json index 4d31072..460f5eb 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,7 @@ }, "dependencies": { "@prisma/client": "^6.2.1", + "bootstrap-icons": "^1.11.3", "bulma": "^1.0.3", "eta": "^3.5.0", "express": "^4.21.2", diff --git a/prisma/schema.prisma b/prisma/schema.prisma index a6ce8c1..52c065c 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -5,36 +5,36 @@ // Try Prisma Accelerate: https://pris.ly/cli/accelerate-init generator client { - provider = "prisma-client-js" + provider = "prisma-client-js" } datasource db { - provider = "mysql" - url = env("DATABASE_URL") + provider = "mysql" + url = env("DATABASE_URL") } // https://github.com/pantharshit00/prisma-docs-generator generator docs { - provider = "node node_modules/prisma-docs-generator" - output = "../docs" + provider = "node node_modules/prisma-docs-generator" + output = "../docs" } // https://github.com/notiz-dev/prisma-dbml-generator // Viewer: https://dbdiagram.io/d generator dbml { - provider = "prisma-dbml-generator" - output = "../docs" - outputName = "schema.dbml" - projectName = "AssetFlow" + provider = "prisma-dbml-generator" + output = "../docs" + outputName = "schema.dbml" + projectName = "AssetFlow" } enum contentType { - voice_alarm - voice_explainer - voice_acknowledgement - voice_ending + voice_alarm + voice_explainer + voice_acknowledgement + voice_ending } enum alertType { @@ -45,55 +45,72 @@ enum alertType { clear } - -model AlarmContacts { - id Int @id @unique @default(autoincrement()) - name String - phone String @unique - comment String? - Prios Priorities[] +enum alertState { + incomming // Incomming alerts + running // Started calling + failed // Failed to get acknowledgement of any alertContacts + acknowledged // Some user acknowledged alert } -model Priorities { - id Int @id @unique @default(autoincrement()) - Contact AlarmContacts @relation(fields: [contactId], references: [id]) - contactId Int - priority Int - actionplan ActionPlan @relation(fields: [actionplanId], references: [id]) - actionplanId Int - - @@unique([priority, actionplanId]) // TODO: Does this work with sqlite??? -} - -model ActionPlan { - id Int @id @unique @default(autoincrement()) - name String - comment String? - prio Priorities[] - content Content[] // aka. all voice files - Alerts Alerts[] -} - -model Content { - id Int @id @unique @default(autoincrement()) - type contentType - name String - filename String - actionplan ActionPlan[] -} - -model Alerts { +model alerts { id Int @id @unique @default(autoincrement()) type alertType message String? - actionplan ActionPlan? @relation(fields: [actionplanId], references: [id]) + actionplan actionPlan? @relation(fields: [actionplanId], references: [id]) actionplanId Int? - // TODO: TBD - // Quelle: BMA / EMA - // Date - // Date (Clear) ??? + date DateTime + state alertState + acknowledged_by alertContacts[] + acknowledged_at DateTime? + @@fulltext([message]) + } + +model alertContacts { + id Int @id @unique @default(autoincrement()) + name String + phone String @unique + comment String? + prios priorities[] + alerts alerts[] + @@fulltext([name, phone, comment]) +} + +model actionPlan { + id Int @id @unique @default(autoincrement()) + name String + comment String? + alert_hook String @unique + prio priorities[] + content content[] // aka. all voice files + alerts alerts[] + @@fulltext([name, comment]) +} + +model priorities { + id Int @id @unique @default(autoincrement()) + Contact alertContacts @relation(fields: [contactId], references: [id]) + contactId Int + priority Int + actionplan actionPlan @relation(fields: [actionplanId], references: [id]) + actionplanId Int + + @@unique([priority, actionplanId]) +} + +model content { + id Int @id @unique @default(autoincrement()) + type contentType + name String + filename String + actionplan actionPlan[] + @@fulltext([name, filename]) +} + + + + // https://spacecdn.de/file/bma_stoe_v1.mp3 // https://spacecdn.de/file/quittiert_v1.mp3 // https://spacecdn.de/file/angenehmen_tag_v1.mp3 diff --git a/src/handlers/db.ts b/src/handlers/db.ts index fadbeff..3341ffe 100644 --- a/src/handlers/db.ts +++ b/src/handlers/db.ts @@ -1,8 +1,10 @@ -import { PrismaClient } from '@prisma/client'; // Database -import config from "./config.js"; +import { PrismaClient, Prisma } from '@prisma/client'; // Database +import { Response } from 'express'; +import config from './config.js'; +import log from './log.js'; // TODO: Add errorhandling with some sort of message. -export const prisma = new PrismaClient({ +const prisma = new PrismaClient({ datasources: { db: { url: config.global.db_connection_string @@ -10,3 +12,75 @@ export const prisma = new PrismaClient({ } }); + +// FIXME: any +export function handlePrismaError(errorObj: any, res: Response) { + + log.core.debug(errorObj); + res.status(500).json({ status: 'ERROR', meta: errorObj.meta, errorcode: errorObj.code, message: errorObj.message }); + + + // if(errorObj instanceof Prisma.PrismaClientKnownRequestError) + + // switch (errorObj.code) { + // // P2002 -> "Unique constraint failed on the {constraint}" + // // https://www.prisma.io/docs/reference/api-reference/error-reference + // case 'P2002': // + // log.db.error(''); + // break; + + + // // P2003 -> "Foreign key constraint failed on the field: {field_name}" + // // https://www.prisma.io/docs/reference/api-reference/error-reference + // // FIXME: Is this errormessage right? + // case 'P2003': // + // log.db.error(''); + // break; + // case 'xxx': // + // log.db.error(''); + // break; + // case 'xxx': + // log.db.error(''); + // break; + // case 'xxx': + // log.db.error(''); + // break; + // case 'xxx': + // log.db.error(''); + // break; + // case 'xxx': + // log.db.error(''); + // break; + // case 'xxx': + // log.db.error(''); + // break; + // case 'xxx': + // log.db.error(''); + // break; + + + // default: + // break; + // } + + // // Check if an entry already exists. + // if (errorcode === 'P2002') { + // // P2002 -> "Unique constraint failed on the {constraint}" + // // https://www.prisma.io/docs/reference/api-reference/error-reference + // res.status(409).json({ status: 'ERROR', errorcode: 'EXISTING', message: 'Item already exists' }); + // } else if (errorcode == 'P2003') { + // // P2003 -> "Foreign key constraint failed on the field: {field_name}" + // // https://www.prisma.io/docs/reference/api-reference/error-reference + // // FIXME: Is this errormessage right? + // res.status(404).json({ status: 'ERROR', errorcode: 'NOT_EXISTING', message: 'Item does not exist' }); + // } else if (errorcode == 'P2000') { + // // P2000 -> "The provided value for the column is too long for the column's type. Column: {column_name}" + // // https://www.prisma.io/docs/reference/api-reference/error-reference + // res.status(404).json({ status: 'ERROR', errorcode: 'VALIDATION_ERROR', message: 'One or more fields exceed the maximum length restriction' }); + // } else { + // log.db.error(err); + // res.status(500).json({ status: 'ERROR', errorcode: 'DB_ERROR', error: err, message: 'An error occurred during the database operation' }); + // } +} + +export default prisma; diff --git a/src/handlers/log.ts b/src/handlers/log.ts index a8c39d8..18191f0 100644 --- a/src/handlers/log.ts +++ b/src/handlers/log.ts @@ -1,24 +1,31 @@ -import { Logger } from "tslog"; +import { Logger,ISettingsParam } from "tslog"; -const loggerConfig: any = { - type: "pretty", // pretty, json, hidden - name: "Core", - hideLogPositionForProduction: true, - prettyLogTemplate: "{{dateIsoStr}} {{logLevelName}} {{nameWithDelimiterPrefix}} " +function loggerConfig(name: string): ISettingsParam { + return { + type: "pretty", // pretty, json, hidden + name: name, + hideLogPositionForProduction: true, + prettyLogTemplate: "{{dateIsoStr}} {{logLevelName}} {{nameWithDelimiterPrefix}} " + + } } -const coreLogger = new Logger(loggerConfig); -export const log = { - core: coreLogger, - db: coreLogger.getSubLogger({ name: "DB" }), - web: coreLogger.getSubLogger({ name: "WEB" }), - auth: coreLogger.getSubLogger({ name: "AUTH" }), - helper: coreLogger.getSubLogger({ name: "HELPER" }), +// FIXME: any type +let log: any = { + core: new Logger(loggerConfig("Core")), + db: new Logger(loggerConfig("DB")), + web: new Logger(loggerConfig("Web")), + auth: new Logger(loggerConfig("Auth")), +// helper: new Logger(loggerConfig("HELPER")), }; +log["api"] = log.web.getSubLogger({ name: "API" }); +log["frontend"] = log.web.getSubLogger({ name: "Frontend" }); + // log.core.silly("Hello from core"); -// log.core.trace("Hello from core"); +//log.api.trace("Hello from api"); +//log.frontend.trace("Hello from frontend"); // log.core.debug("Hello from core"); // log.core.info("Hello from core"); // log.core.warn("Hello from core"); diff --git a/src/index.ts b/src/index.ts index 6509a99..239a483 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,6 +2,7 @@ import path from 'node:path'; import __path from "./handlers/path.js"; import log from "./handlers/log.js"; +import db from "./handlers/db.js"; import config from './handlers/config.js'; // Express & more @@ -13,28 +14,56 @@ import bodyParser, { Options } from 'body-parser'; import { Eta } from "eta"; import passport from 'passport'; +import ChildProcess from 'child_process'; + import routes from './routes/index.js'; +import fs from 'node:fs'; + log.core.trace("Running from path: " + __path); +db.$disconnect(); // MARK: Express const app = express(); -// TODO: Version check need to be rewritten. -//app.locals.versionRevLong = require('child_process').execSync('git rev-parse HEAD').toString().trim(); -//app.locals.versionRev = require('child_process').execSync('git rev-parse --short HEAD').toString().trim(); -//app.locals.versionRevLatest = require('child_process').execSync('git ls-remote --refs -q').toString().trim().split('\t')[0]; -app.locals.versionRev = '0'; -app.locals.versionRevLong = '0'; -app.locals.versionRevLatest = '0'; - -if (app.locals.versionRevLong === app.locals.versionRevLatest) { - log.core.info(`Running Latest Version (${app.locals.versionRevLong})`); -} else { - log.core.info(`Running Version: ${app.locals.versionRevLong} (Latest: ${app.locals.versionRevLatest})`); +// Versioning +try { + const rawPkg = fs.readFileSync("package.json", 'utf8'); + const pkgJson = JSON.parse(rawPkg); + app.locals.version = pkgJson.version; +} catch (error) { + log.core.error("Failed to get version from package.json."); + app.locals.version = "0.0.0"; } + +try { + app.locals.versionRevLong = ChildProcess.execSync('git rev-parse HEAD').toString().trim(); + app.locals.versionRev = app.locals.versionRevLong.substring(0, 7); +} catch (error) { + log.core.error("Failed to get git revision hash."); + app.locals.versionRev = '0'; + app.locals.versionRevLong = '0'; +} + +try { + app.locals.versionRevLatest = ChildProcess.execSync('git ls-remote --refs -q').toString().trim().split('\t')[0]; +} catch (error) { + log.core.error("Failed to get latest git revision hash."); + app.locals.versionRevLatest = '0'; +} + +app.locals.versionUpdateAvailable = false; +if (app.locals.versionRevLong === app.locals.versionRevLatest) { + log.core.info(`Running Latest Version (${app.locals.versionRevLong}; ${app.locals.version})`); +} else { + log.core.info(`Running Version: ${app.locals.versionRevLong}; ${app.locals.version} (Latest: ${app.locals.versionRevLatest})`); + app.locals.versionUpdateAvailable = true; +} + + + // ETA Init const eta = new Eta({ views: path.join(__path, "views") }) app.engine("eta", buildEtaEngine()) diff --git a/src/routes/api/v1/alertContacts.ts b/src/routes/api/v1/alertContacts.ts new file mode 100644 index 0000000..b920250 --- /dev/null +++ b/src/routes/api/v1/alertContacts.ts @@ -0,0 +1,116 @@ +import { Request, Response } from 'express'; +import db, { handlePrismaError } from '../../../handlers/db.js'; // Database +import log from '../../../handlers/log.js'; + +///api/v1/alertContacts?action=count&filter=... + +// GET without args -> Get all alertContacts + +/** + * A function to create a sortBy compatible object from a string + * + * @export + * @param {string} SortField + * @param {string} Order + * @returns {object} + */ +export function parseDynamicSortBy(SortField: string, Order: string) { + return JSON.parse(`{ "${SortField}": "${Order}" }`); +} + +/** + * Function to parse a string into a number or return undefined if it is not a number + * + * @export + * @param {string || any} data + * @returns {object} + */ +export function parseIntOrUndefined(data: any) { + return isNaN(parseInt(data)) ? undefined : parseInt(data); +} + +// GET AlertContact +async function get(req: Request, res: Response) { + // Set sane defaults if undefined for sort + if (req.query.sort === undefined) { + req.query.sort = 'id'; + } + if (req.query.order === undefined) { + req.query.order = 'asc'; + } + + // Prio 1 -> Get count (with or without filter) + // Prio 2 -> Get by id + // Prio 3 -> Get with filter + if ((req.query.search !== undefined && req.query.search.length > 0) || (req.query.id !== undefined && req.query.id.length > 0)) { + if (req.query.search !== undefined && req.query.search === '*') { + log.db.debug('Single * does not work with FullTextSearch'); + req.query.search = ''; + } + + // When an ID is set, remove(disable) the search query + if (req.query.id !== undefined && req.query.id.length > 0) { + req.query.search = undefined; + } + + const query = { + where: { + OR: [{ id: parseIntOrUndefined(req.query.id) }, { name: { search: req.query.search } }, { phone: { search: req.query.search } }, { comment: { search: req.query.search } }] + }, + orderBy: parseDynamicSortBy(req.query.sort.toString(), req.query.order.toString()) + }; + + if (req.query.count === undefined) { + // get all entrys + await db.alertContacts.findMany(query).then((result) => { + res.status(200).json(result); + }); + } else { + // count all entrys (filtered or not) + await db.alertContacts.count(query).then((result) => { + res.status(200).json(result); + }); + } + } else { + if (req.query.count === undefined) { + await db.alertContacts.findMany({ orderBy: parseDynamicSortBy(req.query.sort.toString(), req.query.order.toString()) }).then((result) => { + res.status(200).json(result); + }); + } else { + await db.alertContacts.count().then((result) => { + res.status(200).json(result); + }); + } + } +} + +// CREATE AlertContact +async function post(req: Request, res: Response) { + + // Check if undefined or null + if (req.body.name != null && req.body.phone != null) { + await db.alertContacts + .create({ + data: { + name: req.body.name, + phone: req.body.phone, + comment: req.body.comment, + }, + select: { + id: true + } + }).then((result) => { + res.status(201).json({ status: 'CREATED', message: 'Successfully created alertContact', id: result.id }); + }) + } else { + res.status(400).json({ status: 'ERROR', errorcode: "VALIDATION_ERROR", message: 'One or more required fields are missing or invalid' }); + } +} + +// UPDATE AlertContact +async function patch(req: Request, res: Response) {} + +// DELETE AlertContact +async function del(req: Request, res: Response) {} + +export default { get, post, patch, del }; diff --git a/src/routes/api/v1/index.ts b/src/routes/api/v1/index.ts index 85707ac..bc8d22a 100644 --- a/src/routes/api/v1/index.ts +++ b/src/routes/api/v1/index.ts @@ -3,12 +3,12 @@ import passport from 'passport'; // Route imports import testRoute from './test.js'; -//import itemRoute from './items.js'; +import alertContactsRoute from './alertContacts.js'; //import categoryRoute from './categories.js'; //import storageUnitRoute from './storageUnits.js'; //import storageLocationRoute from './storageLocations.js'; //import contactInfo from './contactInfo.js'; -//import versionRoute from './version.js' +import versionRoute from './version.js' //import search_routes from './search/index.js'; @@ -25,14 +25,15 @@ Router.use('*', function (req, res, next) { next(); }); -//Router.route('/items').get(itemRoute.get).post(itemRoute.post).patch(itemRoute.patch).delete(itemRoute.del); +// All api routes lowercase! Yea I know but when strict: true it matters. +Router.route('/alertcontacts').get(alertContactsRoute.get).post(alertContactsRoute.post).patch(alertContactsRoute.patch).delete(alertContactsRoute.del); //Router.route('/categories').get(categoryRoute.get).post(categoryRoute.post).patch(categoryRoute.patch).delete(categoryRoute.del); // TODO: Migrate routes to lowercase. //Router.route('/storageUnits').get(storageUnitRoute.get).post(storageUnitRoute.post).patch(storageUnitRoute.patch).delete(storageUnitRoute.del); //Router.route('/storageLocations').get(storageLocationRoute.get).post(storageLocationRoute.post).patch(storageLocationRoute.patch).delete(storageLocationRoute.del); //Router.route('/contactInfo').get(contactInfo.get).post(contactInfo.post).patch(contactInfo.patch).delete(contactInfo.del); -//Router.route('/version').get(versionRoute.get); +Router.route('/version').get(versionRoute.get); //Router.use('/search', search_routes); Router.route('/test').get(testRoute.get); diff --git a/src/routes/api/v1/version.ts b/src/routes/api/v1/version.ts new file mode 100644 index 0000000..90717e0 --- /dev/null +++ b/src/routes/api/v1/version.ts @@ -0,0 +1,9 @@ +import { Request, Response } from 'express'; + +function get(req: Request, res: Response) { + res.status(200).send({ version: '1.0.0', commit: req.app.locals.versionRev, updateAvailable: req.app.locals.versionUpdateAvailable }); +}; + +export default { get }; + +// TODO: FIXME!!!!!! diff --git a/src/routes/frontend/index.ts b/src/routes/frontend/index.ts index e9f037a..c02b5d4 100644 --- a/src/routes/frontend/index.ts +++ b/src/routes/frontend/index.ts @@ -5,6 +5,7 @@ import express from 'express'; // import skuRouteDash from './itemInfo.js' // import testRoute from './test.js'; import dashboardRoute from './dashboard.js'; +import testRoute from './test.js'; // import itemsRoute from './items.js'; // import manage_routes from './manage/index.js'; @@ -20,5 +21,6 @@ const Router = express.Router({ strict: false }); // Router.use('/manage', manage_routes); Router.route('/').get(dashboardRoute.get); +Router.route('/dbTest').get(testRoute.get); export default Router; diff --git a/src/routes/frontend/test.ts b/src/routes/frontend/test.ts new file mode 100644 index 0000000..3212039 --- /dev/null +++ b/src/routes/frontend/test.ts @@ -0,0 +1,7 @@ +import express, { Request, Response } from 'express'; + +function get(req: Request, res: Response) { + res.render("test", { message: "Hello world from eta!" }) +} + +export default { get }; diff --git a/src/routes/index.ts b/src/routes/index.ts index 183fe88..a6b79f7 100644 --- a/src/routes/index.ts +++ b/src/routes/index.ts @@ -17,6 +17,7 @@ const Router = express.Router({ strict: false }); Router.use('/static', express.static(__path + '/static')); Router.use('/libs/bulma', express.static(path.join(__path, 'node_modules', 'bulma', 'css'))); // http://192.168.221.10:3000/libs/bulma/bulma.css Router.use('/libs/jquery', express.static(path.join(__path, 'node_modules', 'jquery', 'dist'))); +Router.use('/libs/bootstrap-icons', express.static(path.join(__path, 'node_modules', 'bootstrap-icons'))); // Other routers Router.use('/api', checkAuthentication, api_routes); diff --git a/static/apiWrapper.js b/static/apiWrapper.js new file mode 100644 index 0000000..3e9fa0c --- /dev/null +++ b/static/apiWrapper.js @@ -0,0 +1,109 @@ +_wrapperVersion = "1.0.0" +_minApiVersion = "1.0.0" +_maxApiVersion = "1.0.0" + +_apiConfig = { + "basePath": "/api/v1/" +} + +// Generic driver functions +let _api = { + "get": async function(path) { + const options = { + headers: new Headers({'content-type': 'application/json'}) + }; + const response = await fetch(_apiConfig.basePath + path, options) + // Handle the response + if (!response.ok) { + _testPageFail(response.statusText) + return + } + const result = await response.json() + // Handle the result, was json valid? + if (!result) { + _testPageFail("Invalid JSON response") + return + } + + return result; + }, + "post": async function(path, data) { + const options = { + method: 'POST', + headers: new Headers({'content-type': 'application/json'}), + body: JSON.stringify(data) + }; + const response = await fetch(_apiConfig.basePath + path, options) + // Handle the response + if (!response.ok) { + _testPageFail(response.statusText) + return + } + const result = await response.json() + // Handle the result, was json valid? + if (!result) { + _testPageFail("Invalid JSON response") + return + } + + return result; + }, + "getAsync": function(path, callback) { + const options = { + headers: new Headers({'content-type': 'application/json'}) + }; + fetch(_apiConfig.basePath + path, options).then(response => response.json()).then(data => callback(data)).catch(error => _testPageFail(error)) + } +} + + + +function returnTableDataByTableName(tableName) { + return _api.get(tableName) +} + +function returnTableDataByTableNameWithSearch(tableName, search) { + return _api.get(tableName + "?search=" + search) + } + +function returnTableDataByTableNameAsync(tableName, callback) { + _api.getAsync(tableName, callback) +} + +async function getCountByTable(tableName) { + let result = await(_api.get(tableName + "?count")) + if(typeof result !== 'number') { + _testPageWarn("Count was not a number, was: " + result) + console.warn("Count was not a number, was: " + result) + return -1 + } + return result +} + +function getRowsByTableAndColumnList(tableName, columnList) { + //return _api.get(tableName + '/rows/' + columnList.join(',')) + return undefined +} + +function _testPageFail(reason) { + document.getElementById("heroStatus").classList.remove("is-success") + document.getElementById("heroStatus").classList.add("is-danger") + + document.getElementById("heroExplainer").innerHTML = "API Wrapper Test Failed, reason: " + reason +} + +function _testPageWarn(reason) { + document.getElementById("heroStatus").classList.remove("is-success") + document.getElementById("heroStatus").classList.add("is-warning") + + document.getElementById("heroExplainer").innerHTML = "API Wrapper Test Warning, reason: " + reason +} + +function getServerVersion() { + return _api.get('version') +} + +function createEntry(tableName, data) { + return _api.post(tableName, data) +} + diff --git a/static/favicon.svg b/static/favicon.svg new file mode 100644 index 0000000..76f77f9 --- /dev/null +++ b/static/favicon.svg @@ -0,0 +1,3 @@ + + + diff --git a/static/logo.svg b/static/logo.svg new file mode 100644 index 0000000..7101e06 --- /dev/null +++ b/static/logo.svg @@ -0,0 +1,3 @@ + diff --git a/static/pageDriver.js b/static/pageDriver.js new file mode 100644 index 0000000..b835ba8 --- /dev/null +++ b/static/pageDriver.js @@ -0,0 +1,301 @@ +_pageDriverVersion = "1.0.1"; + +// Handle color for icon svg with id="logo" based on the current theme +const logo = document.getElementById("logo"); +if(logo) { + logo.style.fill = getComputedStyle(document.documentElement).getPropertyValue("--bulma-text"); +} + +if(_wrapperVersion === undefined) { + console.error("API Wrapper not found; Please include the API Wrapper before including the Page Driver"); + exit(); +} else { + console.log("API Wrapper found; Page Driver is ready to use"); +} + +// Find all tables on the page which have data-dataSource attribute +var tables = document.querySelectorAll("table[data-dataSource]"); +//var tables = [] + +// Get all single values with data-dataSource, data-dataCol and data-dataAction +var singleValues = document.querySelectorAll("span[data-dataSource]"); + +// Find all search fields with data-searchTargetId +var searchFields = document.querySelectorAll("input[data-searchTargetId]"); + +// Find all modalForms +var modalForms = document.querySelectorAll("form[data-targetTable]"); + +// Iterate over all tables +tables.forEach(async table => { + console.log("Table found: ", table); + // Get THEAD and TBODY elements + const thead = table.querySelector("thead"); + const tbody = table.querySelector("tbody"); + + // get index per column + const columns = thead.querySelectorAll("th"); + const columnIndices = []; + columns.forEach((column, index) => { + columnIndices[column.getAttribute("data-dataCol")] = index; + }); + + // All required cols + let requiredCols = []; + columns.forEach(column => { + requiredCols.push(column.getAttribute("data-dataCol")); + }); + console.log("Required columns: ", requiredCols); + + // Get data from API + //let result = getRowsByTableAndColumnList(table.getAttribute("data-dataSource"), requiredCols); + let result = await returnTableDataByTableName(table.getAttribute("data-dataSource")) + // for (resultIndex in result) { + // const row = result[resultIndex]; + // const tr = document.createElement("tr"); + // requiredCols.forEach(column => { + // const td = document.createElement("td"); + // td.innerHTML = row[column]; + // tr.appendChild(td); + // }); + // tbody.appendChild(tr); + // } + writeDataToTable(table, result); + + console.log("Column indices: ", columnIndices); +}); + +console.info("Processing single values"); +console.info(singleValues); + +// Iterate over all single values +singleValues.forEach(async singleValue => { + writeSingelton(singleValue); +}); + +async function writeSingelton(element) { + const table = element.getAttribute("data-dataSource"); + console.log("Table: ", table, " Action: ", element.getAttribute("data-dataAction"), " Element: ", element); + switch(element.getAttribute("data-dataAction")) { + case "COUNT": { + console.log("Count action found"); + element.innerHTML = (await getCountByTable(table)) + break; + } + case "SPECIAL": { + if(table == "version") { + element.innerHTML = (await getServerVersion())["version"]; + break + } + + } + default: { + console.error("Unknown action found: ", element.getAttribute("data-dataAction")); + break; + } + } + + element.classList.remove("is-skeleton"); + +} + + +// Attach listeners to search fields +searchFields.forEach(searchField => { + searchField.addEventListener("input", async function() { + console.log("Search field changed: ", searchField); + const targetId = searchField.getAttribute("data-searchTargetId"); + const target = document.getElementById(targetId); + const table = target.getAttribute("data-dataSource"); + const column = target.getAttribute("data-dataCol"); + const value = searchField.value; + console.log("Searching for ", value, " in ", table, " column ", column); + const result = await returnTableDataByTableNameWithSearch(table, value); + console.log("Result: ", result); + clearTable(target); + writeDataToTable(target, result); + }); +}); + +// Attach listeners to modal forms +modalForms.forEach(modalForm => { + modalForm.addEventListener("submit", async function(event) { + event.preventDefault(); + // Check what button submitted the form and if it has data-actionBtn = save + // If not, close modal + const pressedBtn = event.submitter; + if(pressedBtn.getAttribute("data-actionBtn") != "save") { + modalForm.closest(".modal").classList.remove('is-active'); + return; + } + + + // Find .entryPhase and hide it + const entryPhase = modalForm.querySelector(".entryPhase"); + const loadPhase = modalForm.querySelector(".loadPhase"); + if(entryPhase) { + entryPhase.classList.add("is-hidden"); + } + if(loadPhase) { + loadPhase.classList.remove("is-hidden"); + } + console.log("Form submitted: ", modalForm); + const table = modalForm.getAttribute("data-targetTable"); + const data = new FormData(modalForm); + // Convert to JSON object + let jsonData = {}; + data.forEach((value, key) => { + jsonData[key] = value; + }); + console.log("JSON Data: ", jsonData); + let resp = await createEntry(table, jsonData); + console.log("Response: ", resp); + if(resp["status"] == "CREATED") { + console.log("Entry created successfully"); + modalForm.closest(".modal").classList.remove('is-active'); + modalForm.reset(); + // Hide loadPhase + if(loadPhase) { + loadPhase.classList.add("is-hidden"); + } + // Show entryPhase + if(entryPhase) { + entryPhase.classList.remove("is-hidden"); + } + } else { + // Hide loadPhase + if(loadPhase) { + loadPhase.classList.add("is-hidden"); + } + // Show entryPhase + if(entryPhase) { + entryPhase.classList.remove("is-hidden"); + } + // TODO: Show error message + } + + // const target = document.getElementById(table); + // writeDataToTable(target, result); + + + + // Find all tables with data-searchTargetId set to table + setTimeout(() => { + refreshTableByName(table); + updateSingeltonsByTableName(table); + }, 500); + }); +}); + +// Helper +async function refreshTable(table) { + // Refresh a table while keeping (optionally set) search value + const searchField = document.querySelector("input[data-searchTargetId='" + table.id + "']"); + if(searchField) { + const value = searchField.value; + const dbTable = table.getAttribute("data-dataSource"); + const result = await returnTableDataByTableNameWithSearch(dbTable, value); + clearTable(table); + writeDataToTable(table, result); + } else { + const result = await returnTableDataByTableName(table.getAttribute("data-dataSource")); + clearTable(table); + writeDataToTable(table, result); + } +} + +async function refreshTableByName(name) { + const dirtyTables = document.querySelectorAll("table[data-dataSource='" + name + "']"); + for(dirty of dirtyTables) { + refreshTable(dirty); + } +} + +async function updateSingeltonsByTableName(name) { + const dirtySingles = document.querySelectorAll("span[data-dataSource='" + name + "']"); + for(dirty of dirtySingles) { + writeSingelton(dirty); + } +} + + +function clearTable(table) { + const tbody = table.querySelector("tbody"); + tbody.innerHTML = ""; +} + +function writeDataToTable(table, data) { + console.log("Writing data to table: ", table, data); + // Get THEAD and TBODY elements + const thead = table.querySelector("thead"); + const tbody = table.querySelector("tbody"); + + // get index per column + const columns = thead.querySelectorAll("th"); + const columnIndices = []; + columns.forEach((column, index) => { + columnIndices[column.getAttribute("data-dataCol")] = index; + }); + + // All required cols + let requiredCols = []; + columns.forEach(column => { + requiredCols.push(column.getAttribute("data-dataCol")); + }); + + for (resultIndex in data) { + const row = data[resultIndex]; + const tr = document.createElement("tr"); + requiredCols.forEach(column => { + const td = document.createElement("td"); + td.innerHTML = row[column]; + tr.appendChild(td); + }); + tbody.appendChild(tr); + } +} + + +// Handle modal +document.addEventListener('DOMContentLoaded', () => { + // Functions to open and close a modal + function openModal($el) { + $el.classList.add('is-active'); + } + + function closeModal($el) { + $el.classList.remove('is-active'); + } + + function closeAllModals() { + (document.querySelectorAll('.modal') || []).forEach(($modal) => { + closeModal($modal); + }); + } + + // Add a click event on buttons to open a specific modal + (document.querySelectorAll('.js-modal-trigger') || []).forEach(($trigger) => { + const modal = $trigger.dataset.target; + const $target = document.getElementById(modal); + + $trigger.addEventListener('click', () => { + openModal($target); + }); + }); + + // Add a click event on various child elements to close the parent modal + (document.querySelectorAll('.modal-background, .modal-close, .modal-card-head .delete, .modal-card-foot .button') || []).forEach(($close) => { + const $target = $close.closest('.modal'); + + $close.addEventListener('click', () => { + closeModal($target); + }); + }); + + // Add a keyboard event to close all modals + document.addEventListener('keydown', (event) => { + if(event.key === "Escape") { + closeAllModals(); + } + }); + }); \ No newline at end of file diff --git a/views/index.eta b/views/index.eta index 3869127..5333c68 100644 --- a/views/index.eta +++ b/views/index.eta @@ -19,7 +19,7 @@

    Alarmkonakte

    -

    5

    +

    Load.

    @@ -69,7 +69,5 @@
    NameTypeNullable
    - id - Int - - No -
    - name - String - - No -
    - comment - String - No
    -

    <%= it.message %>

    - <%~ include("partials/footer.eta") %> <%~ include("partials/base_foot.eta") %> diff --git a/views/partials/base_foot.eta b/views/partials/base_foot.eta index 308b1d0..77489c4 100644 --- a/views/partials/base_foot.eta +++ b/views/partials/base_foot.eta @@ -1,2 +1,4 @@ + + diff --git a/views/partials/base_head.eta b/views/partials/base_head.eta index a0cc34a..1e26320 100644 --- a/views/partials/base_head.eta +++ b/views/partials/base_head.eta @@ -8,12 +8,13 @@ ATAS - <%= it.title %> - + + diff --git a/views/partials/footer.eta b/views/partials/footer.eta index ffa1c55..5a167d0 100644 --- a/views/partials/footer.eta +++ b/views/partials/footer.eta @@ -1,9 +1,9 @@ diff --git a/views/partials/nav.eta b/views/partials/nav.eta index 652bce1..620e2ae 100644 --- a/views/partials/nav.eta +++ b/views/partials/nav.eta @@ -1,10 +1,11 @@ diff --git a/views/test.eta b/views/test.eta new file mode 100644 index 0000000..c1aed77 --- /dev/null +++ b/views/test.eta @@ -0,0 +1,118 @@ +<%~ include("partials/base_head.eta", {"title": "API Test"}) %> +<%~ include("partials/nav.eta") %> + +
    +
    +

    Test Page

    +

    API Integration test page

    +
    +
    +
    +

    Singelton Query

    + +
    + + + + + + + + +
    +

    Alarm Kontakte

    + + + + + + + + + + + + +
    PosNameTelefon NummerKommentar
    +
    + +<%~ include("partials/footer.eta") %> +<%~ include("partials/base_foot.eta") %>