API: Add GET /cluster/theme endpoint and refactor config package #98

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-09-11 06:47:45 +02:00
parent 68d387778e
commit 0d572032a9
28 changed files with 656 additions and 129 deletions

View File

@@ -1,8 +1,40 @@
package fs
// Common file names and patterns used across packages.
const (
PPIgnoreFilename = ".ppignore"
PPIgnoreAll = "*"
PPStorageFilename = ".ppstorage"
PPHiddenPathname = ".photoprism"
)
// Common directory names used across packages (sorted by name).
const (
AlbumsDir = "albums"
DownloadDir = "download"
BackupDir = "backup"
BuildDir = "build"
CacheDir = "cache"
CertificatesDir = "certificates"
ClusterDir = "cluster"
CmdDir = "cmd"
ConfigDir = "config"
ExamplesDir = "examples"
IconsDir = "icons"
ImgDir = "img"
LocalesDir = "locales"
MediaDir = "media"
ModelsDir = "models"
ProfilesDir = "profiles"
SettingsDir = "settings"
SidecarDir = "sidecar"
StaticDir = "static"
StorageDir = "storage"
TemplatesDir = "templates"
TestdataDir = "testdata"
ThemeDir = "theme"
ThumbnailsDir = "thumbnails"
UploadDir = "upload"
UsersDir = "users"
ZipDir = "zip"
)