Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
21 lines
1.3 KiB
TypeScript
21 lines
1.3 KiB
TypeScript
// Module ID: 17449
|
|
// Function ID: 17450
|
|
// Name: VoiceChannelHoistingExperiment
|
|
// Dependencies: [4553, 4550, 2]
|
|
// Exports: useVoiceChannelHoistingExperiment
|
|
|
|
// Module 17449 (VoiceChannelHoistingExperiment)
|
|
import ExperimentConstants from "ExperimentConstants" /* 4553 */;
|
|
import createExperiment from "module_4550" /* 4550 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const obj = { kind: "guild", id: "2025-12_voice_channel_hoisting", label: "Voice Channel Hoisting", commonTriggerPoint: ExperimentConstants.CommonTriggerPoints.VOICE_CALL, defaultConfig: { enableWaveformIcon: false, enableHighlight: false }, treatments: null };
|
|
const items = [{ id: 1, label: "Both waveform and highlight", config: { enableWaveformIcon: true, enableHighlight: true } }, { id: 2, label: "Waveform icon only", config: { enableWaveformIcon: true, enableHighlight: false } }];
|
|
obj.treatments = items;
|
|
const experiment = createExperiment.createExperiment(obj);
|
|
const result = size.fileFinishedImporting("modules/channel/VoiceChannelHoistingExperiment.tsx");
|
|
|
|
export const VoiceChannelHoistingExperiment = experiment;
|
|
export const useVoiceChannelHoistingExperiment = function useVoiceChannelHoistingExperiment(guildId, location) {
|
|
return experiment.useExperiment({ guildId, location }, { autoTrackExposure: false });
|
|
};
|