decord/source/modules/icymi/ICYMIAttachmentUploadTarget.tsx

39 lines
1.3 KiB
TypeScript
Raw Normal View History

// Module ID: 5258
// Function ID: 5259
// Name: ICYMIAttachmentUploadTarget
// Dependencies: [1074, 5210, 2]
2026-07-20 16:05:17 +00:00
// Module 5258 (ICYMIAttachmentUploadTarget)
import UploadUtils from "UploadUtils" /* 5210 */;
import Constants from "Constants" /* 1074 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
({ Endpoints: c2, MAX_ATTACHMENT_SIZE: c3, MAX_UPLOAD_COUNT: closure_4 } = Constants);
const result = size.fileFinishedImporting("modules/icymi/ICYMIAttachmentUploadTarget.tsx");
2026-07-29 08:29:29 +00:00
class ICYMIAttachmentUploadTarget {
}
const prototype = ICYMIAttachmentUploadTarget.prototype;
prototype["getCreateAttachmentURL"] = function getCreateAttachmentURL() {
return React2.GRAVITY_ATTACHMENTS;
2026-07-29 08:29:29 +00:00
};
prototype["getDeleteUploadURL"] = function getDeleteUploadURL(arg0) {
return React2.MESSAGE_DELETE_UPLOAD(arg0);
2026-07-29 08:29:29 +00:00
};
prototype["getMaxFileSize"] = function getMaxFileSize() {
return React3;
2026-07-29 08:29:29 +00:00
};
prototype["getMaxAttachmentsCount"] = function getMaxAttachmentsCount() {
return React4;
2026-07-29 08:29:29 +00:00
};
prototype["getMaxTotalAttachmentSize"] = function getMaxTotalAttachmentSize() {
return UploadUtils.getMaxTotalAttachmentSize({ location: "ICYMIAttachmentUploadTarget" });
2026-07-29 08:29:29 +00:00
};
Object.defineProperty(prototype, "shouldReactNativeCompressUploads", {
get: function shouldReactNativeCompressUploads() {
return true;
},
set: undefined
});
2026-07-20 16:05:17 +00:00
2026-07-29 08:29:29 +00:00
export default ICYMIAttachmentUploadTarget;