Files
discord-decomp/sources/actions/DraftActionCreators.tsx
T
2026-07-28 01:06:53 +03:00

35 lines
2.3 KiB
TypeScript

/* Metro module 7165; source: actions/DraftActionCreators.tsx; dependencies: [694, 2] */
import Dispatcher from '../Dispatcher.tsx'; /* Metro dependency 694 */
import * as FileImportTrackerModule from '../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun57503(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#57503, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7343:6, offset: 0x013e73e9, size: 134 bytes, params: 8, frame: 17
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
object = {clearDraft: clearDraft, saveDraft: saveDraft, changeDraft: changeDraft,
changeThreadSettings: changeThreadSettings};
(FileImportTrackerModule).fileFinishedImporting('actions/DraftActionCreators.tsx');
exports.default = object;
function clearDraft(a0, a1) { // fn#57504, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7343:99, offset: 0x013e746f, size: 63 bytes, params: 3, frame: 13
(Dispatcher).dispatch({type: 'DRAFT_CLEAR', channelId: a0,
draftType: a1});
}
function saveDraft(a0, a1, a2) { // fn#57505, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7343:179, offset: 0x013e74ae, size: 71 bytes, params: 4, frame: 13
(Dispatcher).dispatch({type: 'DRAFT_SAVE', channelId: a0, draft: a1,
draftType: a2});
}
function changeDraft(a0, a1, a2) { // fn#57506, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7343:267, offset: 0x013e74f5, size: 71 bytes, params: 4, frame: 13
(Dispatcher).dispatch({type: 'DRAFT_CHANGE', channelId: a0,
draft: a1, draftType: a2});
}
function changeThreadSettings(a0, a1) { // fn#57507, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7343:359, offset: 0x013e753c, size: 63 bytes, params: 3, frame: 13
(Dispatcher).dispatch({type: 'THREAD_SETTINGS_DRAFT_CHANGE',
channelId: a0, draft: a1});
}
}
global.__d(_fun57503, 7165, [694, 2]) /* metro module 7165, dependencies: [694, 2] */;