Clean up wot

This commit is contained in:
Jon Staab
2026-06-17 14:56:39 -07:00
parent 28219eb64f
commit f5124a6c4e
18 changed files with 178 additions and 136 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ import {
removeFromList,
} from "@welshman/util"
import type {TrustedEvent} from "@welshman/util"
import {RepositoryCollection} from "./repositoryCollection.js"
import {Collection} from "./collection.js"
import {Network} from "./network.js"
import {Thunks} from "./thunk.js"
import {User} from "./user.js"
@@ -17,7 +17,7 @@ import type {IClient} from "./client.js"
* NIP-51 pin lists (kind 10001), keyed by pubkey. Loaded via the outbox model
* (the author's write relays), so it depends on the relay-list collection.
*/
export class PinLists extends RepositoryCollection<ReturnType<typeof readList>> {
export class PinLists extends Collection<ReturnType<typeof readList>> {
constructor(ctx: IClient) {
super(ctx, {
filters: [{kinds: [PINS]}],