decord/source/modules/icymi/ICYMIAttachmentUploadTarget.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

38 lines
1.3 KiB
TypeScript

// Module ID: 5177
// Function ID: 5178
// Name: getCreateAttachmentURL
// Dependencies: [1074, 5129, 2]
// Module 5177 (getCreateAttachmentURL)
import set from "set" /* 2 */;
import items from "items" /* 5129 */;
import ME from "ME" /* 1074 */;
({ Endpoints: obj1, MAX_ATTACHMENT_SIZE: c3, MAX_UPLOAD_COUNT: c4 } = ME);
const result = set.fileFinishedImporting("modules/icymi/ICYMIAttachmentUploadTarget.tsx");
class ICYMIAttachmentUploadTarget {
}
const prototype = ICYMIAttachmentUploadTarget.prototype;
prototype["getCreateAttachmentURL"] = function getCreateAttachmentURL() {
return closure_2.GRAVITY_ATTACHMENTS;
};
prototype["getDeleteUploadURL"] = function getDeleteUploadURL(arg0) {
return closure_2.MESSAGE_DELETE_UPLOAD(arg0);
};
prototype["getMaxFileSize"] = function getMaxFileSize() {
return closure_3;
};
prototype["getMaxAttachmentsCount"] = function getMaxAttachmentsCount() {
return closure_4;
};
prototype["getMaxTotalAttachmentSize"] = function getMaxTotalAttachmentSize() {
return items.getMaxTotalAttachmentSize({ location: "ICYMIAttachmentUploadTarget" });
};
Object.defineProperty(prototype, "shouldReactNativeCompressUploads", {
get: function shouldReactNativeCompressUploads() {
return true;
},
set: undefined
});
export default ICYMIAttachmentUploadTarget;