feat(stalker): discover portal connection on edit

This commit is contained in:
4gray committed 2026-08-08 22:06:27 +02:00
1 parent c95f826739
commit d2d91e322b
47 files changed
+2335 -497

No files matched your search

@@ -35,3 +35,23 @@ export type PlaylistMeta = Pick<
| 'stalkerSignature1'
| 'stalkerSignature2'
>;
export interface StalkerPlaylistSessionMetadata {
stalkerToken: string;
stalkerSessionIdentity?: string;
stalkerWatchdogTimeout?: number;
stalkerTimeslot?: number;
stalkerAccountInfo?: Playlist['stalkerAccountInfo'];
}
/**
* Metadata update accepted by the persistence boundary.
*
* `stalkerSessionPatch` is transient: absence preserves the negotiated
* session, `null` clears it, and an object fully replaces it. The patch is
* projected onto the existing flat playlist fields and is never persisted as
* its own database or backup property.
*/
export interface PlaylistMetaUpdate extends PlaylistMeta {
stalkerSessionPatch?: StalkerPlaylistSessionMetadata | null;
}