backsplash-app
Version:
An AI powered wallpaper app.
28 lines (25 loc) • 831 B
text/typescript
/**
* Constants for server-related IPC channels
*/
export enum ServerChannels {
// Wallpaper operations
GET_WALLPAPERS = "get-wallpapers",
GENERATE_WALLPAPER = "post-wallpaper",
UPSCALE_WALLPAPER = "post-wallpaper-upscale",
GET_CATEGORIES = "get-categories",
GET_CATEGORY = "get-category",
SUBMIT_FEEDBACK = "submit-feedback",
// Server management
GET_HEALTH = "server:health",
SHUTDOWN = "server:shutdown",
GET_SERVER_STATUS = "get-server-status",
START_SERVER = "start-server",
STOP_SERVER = "stop-server",
CONFIGURE_SERVER = "configure-server",
// License management
GET_LICENSE_INFO = "license:get-info",
VALIDATE_LICENSE = "license:validate",
CLEAR_LICENSE = "license:clear",
GET_USAGE_STATS = "license:get-usage-stats",
RECORD_WALLPAPER_GENERATION = "license:record-generation",
}