From 6803911df4ededb655b2e6d42b376820181dcc47 Mon Sep 17 00:00:00 2001 From: Alan Grainger Date: Thu, 4 Jun 2026 11:22:20 +1200 Subject: [PATCH] IDE fix --- app/src/client/icons.ts | 19 ++++++++++++------- app/src/client/tsconfig.json | 4 ++++ 2 files changed, 16 insertions(+), 7 deletions(-) create mode 100644 app/src/client/tsconfig.json diff --git a/app/src/client/icons.ts b/app/src/client/icons.ts index a4aef6f..5514f12 100644 --- a/app/src/client/icons.ts +++ b/app/src/client/icons.ts @@ -1,10 +1,15 @@ -// Inline SVG icons used across the gallery client. All paths are from -// Material Design Icons (Apache 2.0) - the same set Immich uses for its -// own viewer, so the UI vocabulary stays consistent with the upstream app. -// -// PhotoSwipe toolbar buttons need `class="pswp__icn"` for the lightbox's -// built-in sizing; other surfaces (sidebar field rows, selection check) -// use plain SVGs and the consumer's own CSS. +/* +Inline SVG icons used across the gallery client. All paths are from +Material Design Icons (Apache 2.0) - the same set Immich uses for its +own viewer, so the UI vocabulary stays consistent with the upstream app. + +PhotoSwipe toolbar buttons need `class="pswp__icn"` for the lightbox's +built-in sizing; other surfaces (sidebar field rows, selection check) +use plain SVGs and the consumer's own CSS. + +They are here as source rather than as files so that they can be +dynamically injected into PhotoSwipe elements. +*/ export const ICON_DOWNLOAD = '' export const ICON_FULLSCREEN = '' diff --git a/app/src/client/tsconfig.json b/app/src/client/tsconfig.json new file mode 100644 index 0000000..ab64516 --- /dev/null +++ b/app/src/client/tsconfig.json @@ -0,0 +1,4 @@ +{ + "extends": "../../tsconfig.client.json", + "include": ["./**/*.ts", "../shared/**/*.ts"] +}