Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,35 @@
|
||||
/* Metro module 15038; source: actions/native/MessagePreviewActionCreators.tsx; dependencies: [661, 507, 694, 2] */
|
||||
function _fun113816(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#113816, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15235:6, offset: 0x02406f91, size: 153 bytes, params: 8, frame: 18
|
||||
var object2;
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const constantsModule = require(661) /* metro dependency 661: Constants */;
|
||||
const env0_3 = constantsModule.Endpoints;
|
||||
const env0_4 = constantsModule.MAX_MESSAGES_PER_CHANNEL;
|
||||
object2 = {fetchMessages: fetchMessages_113817, clearMessages: clearMessages};
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('actions/native/MessagePreviewActionCreators.tsx');
|
||||
exports.default = object2;
|
||||
}
|
||||
|
||||
function fetchMessages_113817(a0, a1) { // fn#113817, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15235:152, offset: 0x0240702a, size: 131 bytes, params: 3, frame: 18
|
||||
const env0_0 = a0;
|
||||
const env0_1 = a1;
|
||||
const HTTP = (require(507) /* metro dependency 507: HTTPUtils */).HTTP;
|
||||
const get = HTTP.get;
|
||||
const object2 = {'url': null, 'query': null, 'retries': 2, 'oldFormErrors': true, 'rejectWithError': true};
|
||||
object2.url = Endpoints.MESSAGES(a0);
|
||||
object2.query = {limit: MAX_MESSAGES_PER_CHANNEL, around: a1};
|
||||
Reflect.apply(get, HTTP, [object2]).then(_fun113818);
|
||||
}
|
||||
|
||||
function clearMessages() { // fn#113819, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15235:387, offset: 0x024070fd, size: 49 bytes, params: 1, frame: 13
|
||||
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'CLEAR_MESSAGES_AROUND_SUCCESS'});
|
||||
}
|
||||
|
||||
function _fun113818({body}) { // fn#113818, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15235:286, offset: 0x024070ad, size: 80 bytes, params: 2, frame: 14
|
||||
const value = environment.__proto__;
|
||||
(importDefault(694) /* metro dependency 694: Dispatcher */).dispatch({type: 'LOAD_MESSAGES_AROUND_SUCCESS',
|
||||
channelId: env0_0, messages: body, around: require});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user