Learn
Value Assertions / Enums

Similarly we can specify inline enumerated values by adding a pipe between each of the values.

status: "SHIPPED" | "DELIVERED" | "PENDING"

Fix the model so that it also allows for the "PENDING" status

Order(id) {
  id: Number
  product: String
  status: "SHIPPED" | "DELIVERED"
  quantity: Number
  price: Number
}