@valentine-efagene/qshelter-common 2.0.118 → 2.0.119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/prisma/schema.prisma +19 -19
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -1119,13 +1119,13 @@ model DocumentationPlanStep {
|
|
|
1119
1119
|
// =========================================================================
|
|
1120
1120
|
// GATE STEP CONFIGURATION (only applicable when stepType = GATE)
|
|
1121
1121
|
// =========================================================================
|
|
1122
|
-
gateActor
|
|
1123
|
-
gateAction
|
|
1124
|
-
gateRoleId
|
|
1125
|
-
gateInstructions
|
|
1126
|
-
allowReject
|
|
1127
|
-
rejectBehavior
|
|
1128
|
-
requiresComment
|
|
1122
|
+
gateActor GateActor? // Who must perform the action
|
|
1123
|
+
gateAction GateAction? // What action is required
|
|
1124
|
+
gateRoleId String? // If gateActor = SPECIFIC_ROLE, which role
|
|
1125
|
+
gateInstructions String? @db.Text // Instructions shown to actor
|
|
1126
|
+
allowReject Boolean @default(true) // Can the actor reject?
|
|
1127
|
+
rejectBehavior GateRejectBehavior? // What happens on reject
|
|
1128
|
+
requiresComment Boolean @default(false) // Must actor provide a comment?
|
|
1129
1129
|
|
|
1130
1130
|
createdAt DateTime @default(now())
|
|
1131
1131
|
updatedAt DateTime @updatedAt
|
|
@@ -2106,20 +2106,20 @@ model DocumentationStep {
|
|
|
2106
2106
|
// =========================================================================
|
|
2107
2107
|
// GATE STEP CONFIGURATION (only applicable when stepType = GATE)
|
|
2108
2108
|
// =========================================================================
|
|
2109
|
-
gateActor
|
|
2110
|
-
gateAction
|
|
2111
|
-
gateRoleId
|
|
2112
|
-
gateInstructions
|
|
2113
|
-
allowReject
|
|
2114
|
-
rejectBehavior
|
|
2115
|
-
requiresComment
|
|
2109
|
+
gateActor GateActor? // Who must perform the action
|
|
2110
|
+
gateAction GateAction? // What action is required
|
|
2111
|
+
gateRoleId String? // If gateActor = SPECIFIC_ROLE, which role
|
|
2112
|
+
gateInstructions String? @db.Text // Instructions shown to actor
|
|
2113
|
+
allowReject Boolean @default(true) // Can the actor reject?
|
|
2114
|
+
rejectBehavior GateRejectBehavior? // What happens on reject
|
|
2115
|
+
requiresComment Boolean @default(false) // Must actor provide a comment?
|
|
2116
2116
|
|
|
2117
2117
|
// Gate action tracking
|
|
2118
|
-
gateActedAt
|
|
2119
|
-
gateActedById
|
|
2120
|
-
gateActedBy
|
|
2121
|
-
gateDecision
|
|
2122
|
-
gateComment
|
|
2118
|
+
gateActedAt DateTime? // When the gate action was performed
|
|
2119
|
+
gateActedById String? // Who performed the gate action
|
|
2120
|
+
gateActedBy User? @relation("GateActedBy", fields: [gateActedById], references: [id])
|
|
2121
|
+
gateDecision String? // APPROVED, REJECTED, ACKNOWLEDGED, etc.
|
|
2122
|
+
gateComment String? @db.Text // Comment from actor
|
|
2123
2123
|
|
|
2124
2124
|
// Timing
|
|
2125
2125
|
dueDate DateTime?
|