MCPcopy
hub / github.com/stemdeckapp/stemdeck / markJobsDeleted

Function markJobsDeleted

static/js/catalog.js:92–97  ·  view source on GitHub ↗
(ids)

Source from the content-addressed store, hash-verified

90}
91
92function markJobsDeleted(ids) {
93 for (const id of ids) _deletedJobIds.add(id);
94 storeSet(DELETED_JOBS_KEY, [..._deletedJobIds]).catch((e) =>
95 console.warn("[catalog] failed to persist deleted jobs", e)
96 );
97}
98
99function normalizeFolderColor(color) {
100 return FOLDER_COLORS.includes(color) ? color : DEFAULT_FOLDER_COLOR;

Callers 1

wireCatalogRailViewsFunction · 0.85

Calls 1

storeSetFunction · 0.90

Tested by

no test coverage detected