Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 755b559ea4 | |||
| 8afbc750c3 |
@@ -14,6 +14,8 @@ const CheckResultArithmetic = DB.Enum(import.meta.url, {
|
||||
name: "CheckResultArithmetic",
|
||||
comment: "Defines how the the `value` is set off against the check result.",
|
||||
values: () => ({
|
||||
Add: DB.EnumCase({ type: null }),
|
||||
Subtract: DB.EnumCase({ type: null }),
|
||||
Multiply: DB.EnumCase({ type: null }),
|
||||
Divide: DB.EnumCase({ type: null }),
|
||||
}),
|
||||
@@ -29,7 +31,7 @@ export const CheckResultBasedModifier = DB.TypeAlias(import.meta.url, {
|
||||
}),
|
||||
value: DB.Required({
|
||||
comment: "The value that is applied to the `base` using the defined `arithmetic`.",
|
||||
type: DB.Integer({ minimum: 2 }),
|
||||
type: DB.Integer({ minimum: 1 }),
|
||||
}),
|
||||
}),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user