Files
discord-decomp/modules/media_uploads/experiments/ImageAttachmentMezzanineV2Experiment.tsx
T
2026-11-01 12:12:55 +02:00

28 lines
577 B
TypeScript

// Metro module 4769 (f4770).
import { createApexExperiment } from "../../experiments/apex/index";
const apexExperiment = createApexExperiment({
name: "2025-09-image-attachment-mezzanine-v2",
kind: "user",
defaultConfig: {
enabled: false
},
variations: {
0: {
enabled: false
},
1: {
enabled: true,
maxFileSizeBytes: 524288
},
2: {
enabled: true,
maxFileSizeBytes: 262144
}
}
});
export function getImageAttachmentMezzanineV2Config(a0) {
return apexExperiment.getConfig({
location: a0.location
});
}