diff --git a/README.md b/README.md index 862121d..6f33417 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # shared -The single source of truth for code reused across every project in this workspace: a Svelte design system and application shell, and backend helpers (Postgres access, config, auth/session persistence, an AuthGuard client, log shipping) in four languages. Every project that consumes this repo — including the media-family services (CarrierNode, ContentScanner, CraftStudio, MediaViewer, MediaKiosk, ModerationHub, ProjectConfigurator) — is its own independent frontend/backend; none of them share a generic multi-flavor binary or app anymore. +The single source of truth for code reused across every project in this workspace: a Svelte design system and application shell, and backend helpers (Postgres access, config, auth/session persistence, an AuthGuard client, log shipping) in four languages. Every project that consumes this repo — including the media-family services (CarrierNode, ContentScanner, CraftStudio, MediaViewer, KioskDisplay, ModerationHub, ProjectConfigurator) — is its own independent frontend/backend; none of them share a generic multi-flavor binary or app anymore. --- diff --git a/backend/carriernodeclient/carriernodeclient.go b/backend/carriernodeclient/carriernodeclient.go index f1bfc05..0ce5258 100644 --- a/backend/carriernodeclient/carriernodeclient.go +++ b/backend/carriernodeclient/carriernodeclient.go @@ -1,6 +1,6 @@ // Package carriernodeclient is the HTTP client the 6 non-CarrierNode // media-family services (MediaViewer, CraftStudio, ContentScanner, -// ModerationHub, ProjectConfigurator, MediaKiosk) use to store and serve +// ModerationHub, ProjectConfigurator, KioskDisplay) use to store and serve // media by calling CarrierNode's API, instead of touching a local // MediaRoots/ThumbnailRoot/OutputRoot/DownloadsRoot/InputRoot/CopyRoot // filesystem directly. CarrierNode's own backend keeps resolving and diff --git a/backend/mediaauth/auth.go b/backend/mediaauth/auth.go index 76d3504..fba7705 100644 --- a/backend/mediaauth/auth.go +++ b/backend/mediaauth/auth.go @@ -1,7 +1,7 @@ // Package mediaauth is the shared media-backend family's /auth/... and /api/auth/... // handlers, proxied to AuthGuard. Promoted from each service's own // internal/auth into this shared library so all 7 independent media-family -// backends (CarrierNode, ModerationHub, ProjectConfigurator, MediaKiosk, +// backends (CarrierNode, ModerationHub, ProjectConfigurator, KioskDisplay, // MediaViewer, ContentScanner, CraftStudio) use one copy instead of // duplicating it. // diff --git a/backend/syncsocket/syncsocket.go b/backend/syncsocket/syncsocket.go index d6da69f..6514085 100644 --- a/backend/syncsocket/syncsocket.go +++ b/backend/syncsocket/syncsocket.go @@ -3,7 +3,7 @@ // by a caller-chosen sessionId) see each other's play/pause/seek/remote-control // state live. Promoted unchanged from each service's own internal sync.go into // this shared library so the 6 media-family backends that mount it (every one -// except MediaKiosk) use one copy instead of duplicating it. +// except KioskDisplay) use one copy instead of duplicating it. // // A service wires this up as: // diff --git a/scripts/media/audit-html-js.mjs b/scripts/media/audit-html-js.mjs index b0e51f6..d60e6a1 100644 --- a/scripts/media/audit-html-js.mjs +++ b/scripts/media/audit-html-js.mjs @@ -4,10 +4,10 @@ import { join } from 'path'; // TODO(shared extraction): this audits legacy pre-SvelteKit `/public/*.html` // script tags. this repo's webui/ is SvelteKit-based (no per-service `public/` HTML pages), and // none of the sibling monorepo service directories below live inside this repo anymore (they're -// now separate repos: MediaModerator, MediaTools, MediaKiosk, MediaViewer). The existsSync guard +// now separate repos: MediaModerator, MediaTools, KioskDisplay, MediaViewer). The existsSync guard // below means this currently no-ops safely (nothing to audit) rather than erroring. Left as-is // rather than guessing at a SvelteKit-equivalent audit — remove or repurpose if useful. -const projects = ['MediaModerator', 'CraftStudio', 'MediaKiosk', 'MediaViewer']; +const projects = ['MediaModerator', 'CraftStudio', 'KioskDisplay', 'MediaViewer']; const scriptSrcRe = /]+src="([^"]+)"[^>]*>/g; projects.forEach(proj => { diff --git a/scripts/media/enforce-js-mapping.mjs b/scripts/media/enforce-js-mapping.mjs index 2bbd058..c9517ec 100644 --- a/scripts/media/enforce-js-mapping.mjs +++ b/scripts/media/enforce-js-mapping.mjs @@ -88,7 +88,7 @@ const projects = [ { name: 'CraftStudio Converter', publicDir: 'CraftStudio/public/converter' }, { name: 'CraftStudio Generator', publicDir: 'CraftStudio/generator/public' }, { name: 'CraftStudio Downloader', publicDir: 'CraftStudio/downloader/public' }, - { name: 'MediaKiosk', publicDir: 'MediaKiosk/public' }, + { name: 'KioskDisplay', publicDir: 'KioskDisplay/public' }, { name: 'MediaViewer', publicDir: 'MediaViewer/public' }, { name: 'ContentScanner', publicDir: 'ContentScanner/public' }, { name: 'MediaDesktop', publicDir: 'MediaDesktop/public' }, diff --git a/scripts/sync-consumers.ps1 b/scripts/sync-consumers.ps1 index 5c364e8..7050300 100644 --- a/scripts/sync-consumers.ps1 +++ b/scripts/sync-consumers.ps1 @@ -27,7 +27,7 @@ function New-ConsumerProject { # uses) - originally a git submodule, converted to this vendored-copy pattern # for consistency and to drop the private-submodule checkout auth dependency # in CI. The media-family services (CarrierNode, ContentScanner, CraftStudio, -# MediaViewer, MediaKiosk, ModerationHub, ProjectConfigurator) used to mount +# MediaViewer, KioskDisplay, ModerationHub, ProjectConfigurator) used to mount # a shared multi-flavor webui/media-backend at a separate 'engine' folder # instead; each is now its own independent frontend/backend and vendors this # snapshot the same way as every other consumer below.