38 lines
1.3 KiB
TypeScript
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;
|