38 lines
1.2 KiB
TypeScript
38 lines
1.2 KiB
TypeScript
// Module ID: 5002
|
|
// Function ID: 5003
|
|
// Name: getCreateAttachmentURL
|
|
// Dependencies: [676, 4955, 2]
|
|
|
|
// Module 5002 (getCreateAttachmentURL)
|
|
import set from "set" /* 2 */;
|
|
import items from "items" /* 4955 */;
|
|
import ME from "ME" /* 676 */;
|
|
|
|
({ 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.MAX_TOTAL_ATTACHMENT_SIZE;
|
|
};
|
|
Object.defineProperty(prototype, "shouldReactNativeCompressUploads", {
|
|
get: function shouldReactNativeCompressUploads() {
|
|
return true;
|
|
},
|
|
set: undefined
|
|
});
|
|
|
|
export default ICYMIAttachmentUploadTarget;
|