// Module ID: 4059 // Function ID: 33838 // Name: items // Dependencies: [4043, 2] // Exports: getFileUpload250MbPowerupEnabled, getFileUpload250MbPowerupRollbackEnabled, useFileUpload250MbPowerupEnabled, useFileUpload250MbPowerupRollbackEnabled // Module 4059 (items) import createExperiment from "createExperiment"; let obj = { kind: "guild", id: "2026-03_file_upload_250_mb_powerup", label: "File Upload 250MB Powerup", defaultConfig: { enabled: false, rollbackEnabled: false } }; obj = { id: 1, label: "Enable File Upload 250MB Powerup", config: { enabled: true, rollbackEnabled: false } }; const items = [obj, ]; const obj1 = { id: 2, label: "Rollback UI for File Upload 250MB Powerup", config: { enabled: true, rollbackEnabled: true } }; items[1] = obj1; obj.treatments = items; const experiment = createExperiment.createExperiment(obj); const result = require("set").fileFinishedImporting("modules/premium/powerups/experiments/FileUpload250MbPowerupExperiment.tsx"); export const FileUpload250MbPowerupExperiment = experiment; export const getFileUpload250MbPowerupEnabled = function getFileUpload250MbPowerupEnabled(guildId, GuildPowerupsConstants) { return experiment.getCurrentConfig({ guildId, location: GuildPowerupsConstants }, { autoTrackExposure: false }).enabled; }; export const useFileUpload250MbPowerupEnabled = function useFileUpload250MbPowerupEnabled(guildId, location) { return experiment.useExperiment({ guildId, location }, { autoTrackExposure: false }).enabled; }; export const useFileUpload250MbPowerupRollbackEnabled = function useFileUpload250MbPowerupRollbackEnabled(guildId, location) { return experiment.useExperiment({ guildId, location }, { autoTrackExposure: false }).rollbackEnabled; }; export const getFileUpload250MbPowerupRollbackEnabled = function getFileUpload250MbPowerupRollbackEnabled(guildId, location) { return experiment.getCurrentConfig({ guildId, location }, { autoTrackExposure: false }).rollbackEnabled; };