Mutation to create responsibility types
mutation Mutation($name: String!) {
responsibilityTypeCreate(name: $name) {
id
name
}
}
Mutation to create responsibility types
mutation Mutation($name: String!) {
responsibilityTypeCreate(name: $name) {
id
name
}
}
POST /api/orders/order/plan-meal/new/
For planning a meal on an order that does not exist. This does not create the order, simply outputs the data of what the order would look like given an event, meal, and delivery date.
Request Payload:
{
"event_id": 9362,
prompt_git() { | |
local s=''; | |
local branchName=''; | |
# Check if the current directory is in a Git repository. | |
if [ $(git rev-parse --is-inside-work-tree &>/dev/null; echo "${?}") == '0' ]; then | |
# check if the current directory is in .git before running git checks | |
if [ "$(git rev-parse --is-inside-git-dir 2> /dev/null)" == 'false' ]; then |