35 lines
757 B
TypeScript
35 lines
757 B
TypeScript
// Metro module 5661 (f5662).
|
|
import { createExperiment } from "../experiments/index";
|
|
const experiment = createExperiment({
|
|
kind: "guild",
|
|
id: "2026-06_guild_spaces",
|
|
label: "Guild Space",
|
|
defaultConfig: {
|
|
enabled: false
|
|
},
|
|
treatments: [{
|
|
id: 1,
|
|
label: "Enable Guild Space",
|
|
config: {
|
|
enabled: true
|
|
}
|
|
}]
|
|
});
|
|
export { experiment as GuildSpaceExperiment };
|
|
export function getGuildSpaceExperimentEnabled(a0, a1) {
|
|
return experiment.getCurrentConfig({
|
|
guildId: a0,
|
|
location: a1
|
|
}, {
|
|
autoTrackExposure: false
|
|
}).enabled;
|
|
}
|
|
export function useGuildSpaceExperimentEnabled(a0, a1) {
|
|
return experiment.useExperiment({
|
|
guildId: a0,
|
|
location: a1
|
|
}, {
|
|
autoTrackExposure: false
|
|
}).enabled;
|
|
}
|