Hide this input from function implementations. If hidden
, then the input should not be listed as a function argument.
action (FindMenuItem) {
type (Calculation)
collect {
input (itemName) {
type (viv.food.FoodName)
min (Required) max (One)
}
// This input is declared so we can capture the order from context and
// project the menu out of it. It does not need to be visible to
// function implementations.
input (order) {
type (Order)
min (Required) max(One)
hidden
}
input (menu) {
type (viv.restaurant.Menu)
min (Required) max (One)
default-init {
goal { viv.restaurant.Menu }
value { $expr(order.restaurant.menu) }
}
}
}
output(MenuItemInfo)
}
collect {
input (meowToPlay) {
description (Create the playlist to play)
type (audioPlayer.AudioInfo)
min (Required) max (One)
default-init {
intent {
goal: BuildMeowAudioInfo
}
}
hidden
}
Copyright 2025 Samsung All rights reserved