decord/source/modules/icymi/ICYMIAttachmentUploadTarget.tsx
github-actions 20a21ad13f chore: update source for alpha 346.5
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4791.js (118.4 MB)
2026-09-11 19:12:58 +00:00

38 lines
1.3 KiB
TypeScript

// Module ID: 5228
// Function ID: 5229
// Name: ICYMIAttachmentUploadTarget
// Dependencies: [1074, 5180, 2]
// Module 5228 (ICYMIAttachmentUploadTarget)
import UploadUtils from "UploadUtils" /* 5180 */;
import Constants from "Constants" /* 1074 */;
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;