mirror of
https://codeberg.org/vlw/vlw.se.git
synced 2025-09-13 13:03:41 +02:00
This PR refactors some texts on the about page (again), and also a adds two new endpoints for a database table that I have now made public that tracks the coffee cups I've had. The endpoint itself is not public now but I might make a page (something like `/about/coffee`) that presents it in a not-ugly way. Reviewed-on: https://codeberg.org/vlw/vlw.se/pulls/28
20 lines
No EOL
558 B
PHP
20 lines
No EOL
558 B
PHP
<?php
|
|
|
|
namespace VLW\API;
|
|
|
|
use vlw\xEnum;
|
|
|
|
// Enum of all available VLW endpoints grouped by category
|
|
enum Endpoints: string {
|
|
use xEnum;
|
|
|
|
case WORK = "/work";
|
|
case SEARCH = "/search";
|
|
case COFFEE = "/coffee";
|
|
case MESSAGES = "/messages";
|
|
case WORK_TAGS = "/work/tags";
|
|
case WORK_ACTIONS = "/work/actions";
|
|
case COFFEE_STATS = "/coffee/stats";
|
|
case WORK_TIMELINE = "/work/timeline";
|
|
case ABOUT_LANGUAGES = "/about/languages";
|
|
} |