Fase 2 stap C: leesschakelaar (off/compare/on) voor het bibliotheekscherm, read-check endpoint, workflow-input

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-17 23:25:14 +01:00
co-authored by Claude Sonnet 5.5
parent 3558e91fde
commit e1010007fa
16 changed files with 633 additions and 6 deletions
@@ -16,4 +16,11 @@ public class MediaLibraryOptions
/// the library tables are mirrored too. Off by default; the modules' own tables stay the truth.
/// </summary>
public bool DualWrite { get; set; }
/// <summary>
/// Where the library screen reads the photos from (phase 2, step C, <c>Media__Library__ReadFromLibrary</c>): <c>Off</c> (the
/// module's own tables, the default), <c>Compare</c> (still those, but differences with the library tables are logged and
/// shown by <c>GET media-library/read-check</c>) or <c>On</c> (the library tables; needs <c>DualWrite</c>).
/// </summary>
public SlpModularCms.Core.Media.Library.MediaReadMode ReadFromLibrary { get; set; } = SlpModularCms.Core.Media.Library.MediaReadMode.Off;
}