decord/source/modules/icymi/ICYMIAttachmentUploadTarget.tsx

39 lines
1.2 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 4879
// Function ID: 4880
2026-07-29 08:29:29 +00:00
// Name: getCreateAttachmentURL
2026-08-24 06:08:38 +00:00
// Dependencies: [676, 4835, 2]
2026-07-20 16:05:17 +00:00
2026-08-24 06:08:38 +00:00
// Module 4879 (getCreateAttachmentURL)
import set from "set" /* 2 */;
import items from "items" /* 4835 */;
import ME from "ME" /* 676 */;
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
({ Endpoints: obj1, MAX_ATTACHMENT_SIZE: c3, MAX_UPLOAD_COUNT: c4 } = ME);
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("modules/icymi/ICYMIAttachmentUploadTarget.tsx");
2026-07-29 08:29:29 +00:00
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() {
2026-08-24 06:08:38 +00:00
return items.MAX_TOTAL_ATTACHMENT_SIZE;
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;