Files
iptvnator/libs/services
4grayandClaude Opus 5.5 6f1fe7929c fix(server-storage): recheck the instance after offline, back-forward cache pages, Stalker server rows
Going offline now marks the instance unchecked: the token and writes
wait until /instance answers with this page's instance (another one
reloads the page). A replaced volume at the same address no longer gets
the old token and queued user-state writes on reconnect. The session
checks as soon as it goes offline, so a blip costs no retry interval.

A page restored from the back-forward cache whose record another tab
adopted meanwhile (its timers were frozen, so the record went stale)
reloads instead of sending those writes again after newer edits.

The Stalker playlist metadata migration also runs on server rows, once
per server: a desktop database copied to the server can predate it, and
its Stalker rows lacked isFullStalkerPortal.

The take-over and change-diff loops move out of the user-data facade,
and the adoption specs get their own file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 00:24:13 +02:00
..

services

Shared runtime data access: injectable services, stores and runtime bridges used across the renderer. It also hosts injectTranslationTick(), the signal every computed that calls TranslateService.instant reads (see "Translated Text" in the UI guidelines).

This library was generated with Nx.

Running unit tests

Run nx test services to execute the unit tests.