summaryrefslogtreecommitdiff
path: root/models/nutrient.rkt
diff options
context:
space:
mode:
Diffstat (limited to 'models/nutrient.rkt')
-rw-r--r--models/nutrient.rkt6
1 files changed, 1 insertions, 5 deletions
diff --git a/models/nutrient.rkt b/models/nutrient.rkt
index cbf6bb1..397e1e1 100644
--- a/models/nutrient.rkt
+++ b/models/nutrient.rkt
@@ -9,11 +9,7 @@
(contract-out [create-nutrient! (-> string? string? string? nutrient?)]
[get-nutrients (-> (listof nutrient?))]
[get-nutrient
- (->* ()
- (#:id (or/c #f exact-nonnegative-integer?)
- #:name (or/c #f string?)
- #:formula (or/c #f string?))
- (or/c nutrient? #f))]
+ (->* () (#:id db-id? #:name string? #:formula string?) (or/c nutrient? #f))]
[update-nutrient!
(->* (nutrient?)
(#:name (or/c #f string?) #:formula (or/c #f string?))
Copyright 2019--2026 Marius PETER