decord/beta/source/modules/icymi/ICYMIAttachmentUploadTarget.tsx
github-actions e7a050048e chore: update source for beta 347.7
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
2026-09-21 19:31:18 +00:00

38 lines
1.3 KiB
TypeScript

// Module ID: 5397
// Function ID: 5398
// Name: ICYMIAttachmentUploadTarget
// Dependencies: [1078, 5347, 2]
// Module 5397 (ICYMIAttachmentUploadTarget)
import UploadUtils from "UploadUtils" /* 5347 */;
import Constants from "Constants" /* 1078 */;
import size from "module_2" /* 2 */;
({ Endpoints: c2, MAX_ATTACHMENT_SIZE: c3, MAX_UPLOAD_COUNT: closure_4 } = Constants);
const result = size.fileFinishedImporting("modules/icymi/ICYMIAttachmentUploadTarget.tsx");
class ICYMIAttachmentUploadTarget {
}
const prototype = ICYMIAttachmentUploadTarget.prototype;
prototype["getCreateAttachmentURL"] = function getCreateAttachmentURL() {
return React2.GRAVITY_ATTACHMENTS;
};
prototype["getDeleteUploadURL"] = function getDeleteUploadURL(arg0) {
return React2.MESSAGE_DELETE_UPLOAD(arg0);
};
prototype["getMaxFileSize"] = function getMaxFileSize() {
return React3;
};
prototype["getMaxAttachmentsCount"] = function getMaxAttachmentsCount() {
return React4;
};
prototype["getMaxTotalAttachmentSize"] = function getMaxTotalAttachmentSize() {
return UploadUtils.getMaxTotalAttachmentSize({ location: "ICYMIAttachmentUploadTarget" });
};
Object.defineProperty(prototype, "shouldReactNativeCompressUploads", {
get: function shouldReactNativeCompressUploads() {
return true;
},
set: undefined
});
export default ICYMIAttachmentUploadTarget;