Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/improsocial/impro
An extensible Bluesky client for web impro.social
Something went wrong. Try again.
JavaScript
1234567891011121314151617181920212223242526import { SignalMap } from "/js/signals.js";
// Store for feed items hidden by pluginsexport class HiddenFeedItemsStore { constructor() { this.$items = new SignalMap(); }
get(feedURI) { return this.$items.get(feedURI) ?? {}; }
replace(feedURI, overrides) { this.$items.set(feedURI, { ...overrides }); }
merge(feedURI, overrides) { const existing = this.$items.get(feedURI) ?? {}; this.$items.set(feedURI, { ...existing, ...overrides }); }
clear(feedURI) { this.$items.delete(feedURI); }}