mirror of
https://github.com/photoprism/photoprism.git
synced 2025-09-26 21:01:58 +08:00
API: Add GET /cluster/theme endpoint and refactor config package #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -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"
|
||||
)
|
||||
|
Reference in New Issue
Block a user