improve diff filters

fix tests
expander/compressor filter mangler
This commit is contained in:
2023-06-01 22:03:28 +01:00
parent 25e7f68dce
commit ae6618f0ed
39 changed files with 504 additions and 261 deletions

View File

@ -1,10 +1,10 @@
import { createSlice, PayloadAction } from "@reduxjs/toolkit";
import { RawEvent } from "System";
import { NostrEvent } from "System";
interface ReBroadcastStore {
show: boolean;
selectedCustomRelays: false | Array<string>;
note?: RawEvent;
note?: NostrEvent;
}
const InitState: ReBroadcastStore = {
@ -19,7 +19,7 @@ const ReBroadcastSlice = createSlice({
setShow: (state, action: PayloadAction<boolean>) => {
state.show = action.payload;
},
setNote: (state, action: PayloadAction<RawEvent>) => {
setNote: (state, action: PayloadAction<NostrEvent>) => {
state.note = action.payload;
},
setSelectedCustomRelays: (state, action: PayloadAction<false | Array<string>>) => {