Files
discord-decomp/actions/DraftActionCreators.tsx
T
2026-11-01 12:12:55 +02:00

36 lines
711 B
TypeScript

// Metro module 6088 (f6089).
import Dispatcher from "../Dispatcher";
const r12 = {
clearDraft: (a0, a1) => {
Dispatcher.dispatch({
type: "DRAFT_CLEAR",
channelId: a0,
draftType: a1
});
},
saveDraft: (a0, a1, a2) => {
Dispatcher.dispatch({
type: "DRAFT_SAVE",
channelId: a0,
draft: a1,
draftType: a2
});
},
changeDraft: (a0, a1, a2) => {
Dispatcher.dispatch({
type: "DRAFT_CHANGE",
channelId: a0,
draft: a1,
draftType: a2
});
},
changeThreadSettings: (a0, a1) => {
Dispatcher.dispatch({
type: "THREAD_SETTINGS_DRAFT_CHANGE",
channelId: a0,
draft: a1
});
}
};
export default r12;