feat: restore legacy named playlist workflows

This commit is contained in:
2026-07-12 11:59:18 +09:00
parent a481c96c39
commit af80c36cde
52 changed files with 9261 additions and 83 deletions

View File

@@ -240,6 +240,14 @@
return entry.operator.namedNxtRestore.rawSelection;
}
function withEnabled(entry, enabled) {
if (!materializedValues.has(entry) || typeof enabled !== "boolean") return null;
if (entry.enabled === enabled) return entry;
const replacement = Object.freeze({ ...entry, enabled });
materializedValues.add(replacement);
return replacement;
}
function isPending(value) {
return pendingValues.has(value);
}
@@ -255,6 +263,7 @@
normalizeError,
materialize,
refreshDynamicSession,
withEnabled,
matchesRaw,
legacySelectionForEntry,
isPending,