Files
discord-decomp/sources/actions/DraftActionCreators.tsx
T
2026-07-27 16:20:00 +03:00

32 lines
2.2 KiB
TypeScript

/* Metro module 7165; source: actions/DraftActionCreators.tsx; dependencies: [694, 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
var object2;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
object2 = {clearDraft: clearDraft, saveDraft: saveDraft, changeDraft: changeDraft,
changeThreadSettings: changeThreadSettings};
(require(2) /* metro dependency 2 */).fileFinishedImporting('actions/DraftActionCreators.tsx');
exports.default = object2;
}
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
(importDefault(694) /* metro dependency 694: 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
(importDefault(694) /* metro dependency 694: 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
(importDefault(694) /* metro dependency 694: 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
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'THREAD_SETTINGS_DRAFT_CHANGE',
channelId: a0, draft: a1});
}