33 lines
1.8 KiB
TypeScript
33 lines
1.8 KiB
TypeScript
/* Metro module 4695; source: modules/icymi/ICYMIAttachmentUploadTarget.tsx; dependencies: [6, 7, 661, 4651, 2] */
|
|
function _fun40590(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#40590, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4873:6, offset: 0x0110585e, size: 174 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_2 = importDefault(6) /* metro dependency 6 */;
|
|
const env0_3 = importDefault(7) /* metro dependency 7 */;
|
|
let value = require(661) /* metro dependency 661: Constants */;
|
|
const env0_4 = value.Endpoints;
|
|
const env0_5 = value.MAX_ATTACHMENT_SIZE;
|
|
const env0_6 = value.MAX_UPLOAD_COUNT;
|
|
value = _fun40591();
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/icymi/ICYMIAttachmentUploadTarget.tsx');
|
|
exports.default = value;
|
|
}
|
|
|
|
function _fun40591() { // fn#40591, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4873:187, offset: 0x0110590c, size: 176 bytes, params: 1, frame: 15
|
|
return env0_3(ICYMIAttachmentUploadTarget, [{key: 'getCreateAttachmentURL', value: function() {
|
|
return Endpoints.GRAVITY_ATTACHMENTS;
|
|
}}, {key: 'getDeleteUploadURL', value: function(a0) {
|
|
return Endpoints.MESSAGE_DELETE_UPLOAD(a0);
|
|
}}, {key: 'getMaxFileSize', value: function() {
|
|
return MAX_ATTACHMENT_SIZE;
|
|
}}, {key: 'getMaxAttachmentsCount', value: function() {
|
|
return MAX_UPLOAD_COUNT;
|
|
}}, {key: 'getMaxTotalAttachmentSize', value: function() {
|
|
return require(dependencyMap[3]).MAX_TOTAL_ATTACHMENT_SIZE;
|
|
}}, {key: 'shouldReactNativeCompressUploads', get: function() {
|
|
return true;
|
|
}}]);
|
|
}
|
|
|