package domain // Sub-routes const VERSION_1 = "/v1" const VERSION_2 = "/v2" const WEB = "/web" const API = "/api" const STATE = "/state" // Web prefixed routes const WEB_LOGIN = VERSION_1 + WEB + "/login" const WEB_INDEX = VERSION_1 + WEB const WEB_HOME = VERSION_1 + WEB + "/home" const WEB_FAVORITES = VERSION_1 + WEB + "/favorites" const WEB_CREATE = VERSION_1 + WEB + "/create" const WEB_PROFIlE = VERSION_1 + WEB + "/profile" const WEB_LIST = VERSION_1 + WEB + "/list" const WEB_RECIPE = VERSION_1 + WEB + "/recipe/%d" const WEB_SEARCH = VERSION_1 + WEB + "/search" const WEB_NOT_FOUND = VERSION_1 + WEB + "/404" // API prefixed routes const API_AUTH_LOGIN = VERSION_1 + API + "/auth/login" const API_AUTH_CALLBACK = VERSION_1 + API + "/auth/callback" const API_AUTH_CALLBACK_V2 = VERSION_2 + API + "/auth/callback" const API_AUTH_LOGOUT = VERSION_1 + API + "/auth/logout" const API_CREATE_RECIPE = VERSION_1 + API + "/recipe" const API_SEARCH_RECIPES = VERSION_1 + API + "/recipe/search" const API_SEARCH_FAVORITES = VERSION_1 + API + "/recipe/search/favorites" const API_ENGAGEMENT_VIEW = VERSION_1 + API + "/engagement/view/%d" const API_ENGAGEMENT_SHARE = VERSION_1 + API + "/engagement/share/%d" const API_ENGAGEMENT_FAVORITE = VERSION_1 + API + "/engagement/favorite/%d" const API_ENGAGEMENT_MAKE = VERSION_1 + API + "/engagement/make/%d" // State prefixed routes const STATE_TAGS_CREATE = VERSION_1 + WEB + STATE + "/tags" const STATE_TAGS_DELETE = VERSION_1 + WEB + STATE + "/tags/delete"