22 lines
864 B
TypeScript
22 lines
864 B
TypeScript
// Metro module 6189 (f6190).
|
|
export function buildFileSizeLimitEventProperties(a0) {
|
|
const { guildId, channelId, userIndividualFileSizeLimit, numAttachments, preCompressionFileSizes, preCompressionAggregateSize } = a0;
|
|
return {
|
|
...channelId !== void 0 ? {
|
|
channel_id: channelId
|
|
} : {},
|
|
...guildId !== void 0 ? {
|
|
guild_id: guildId
|
|
} : {},
|
|
user_individual_file_size_limit: userIndividualFileSizeLimit,
|
|
num_attachments: numAttachments,
|
|
pre_compression_file_sizes: preCompressionFileSizes,
|
|
pre_compression_aggregate_file_size: preCompressionAggregateSize,
|
|
post_compression_file_sizes: a0.postCompressionFileSizes,
|
|
post_compression_aggregate_file_size: a0.postCompressionAggregateSize,
|
|
attachment_mimetypes: a0.attachmentMimeTypes,
|
|
error_type: a0.errorType,
|
|
kestrel_variant: a0.kestrelVariant
|
|
};
|
|
}
|