decord/stable/source/modules/channel/VoiceChannelHoistingExperiment.tsx
github-actions 528a3dd5ba chore: update source for stable 345.9
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4745.js (118.4 MB)
2026-09-18 20:18:48 +00:00

21 lines
1.3 KiB
TypeScript

// Module ID: 17338
// Function ID: 17339
// Name: VoiceChannelHoistingExperiment
// Dependencies: [4477, 4474, 2]
// Exports: useVoiceChannelHoistingExperiment
// Module 17338 (VoiceChannelHoistingExperiment)
import ExperimentConstants from "ExperimentConstants" /* 4477 */;
import createExperiment from "module_4474" /* 4474 */;
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 });
};