Loading PhotoPrism settings…
+Loading server settings…
{:else if settingsQuery.isError} -Could not load PhotoPrism settings.
+Could not load server settings.
{:else if draft}
+ These knobs aren't exposed through the API. Edit
+ .env
+ on the host and restart PhotoPrism:
+
docker compose up -d photoprism +# or, with podman-compose: +podman-compose --env-file .env -f docker-compose.yml -f docker-compose.podman.yml up -d photoprism+
{knob.envVar}
+ —
+
+ {knob.on ? 'enabled' : 'disabled'}
+
+ + OIDC provider: + + {cfg.ext.oidc.provider ?? '—'} + +
+ {/if} +Loading…
+ {:else if usersQuery.isError} ++ Could not load users. +
+ {:else} ++ Loading more… ({visibleCount} / {filteredSubjects.length}) +
+ {/if} +Loading colors…
diff --git a/web/src/lib/services/photoprism.ts b/web/src/lib/services/photoprism.ts index dd3c5b8..b62c7b2 100644 --- a/web/src/lib/services/photoprism.ts +++ b/web/src/lib/services/photoprism.ts @@ -13,6 +13,7 @@ import { primaryFile } from '$lib/types/photoprism'; import type { PpClientConfig, PpPhoto, + PpRole, PpSessionResponse, PpUser } from '$lib/types/photoprism'; @@ -525,6 +526,39 @@ export async function listLabels(): Promise