decord/source/modules/favorites/FavoritesGuildExperiment.tsx
2026-07-23 10:11:24 +00:00

20 lines
1.1 KiB
TypeScript

// Module ID: 10193
// Function ID: 78754
// Name: apexExperiment
// Dependencies: [1428, 2]
// Exports: getFavoritesGuildConfig, useFavoritesGuildConfig
// Module 10193 (apexExperiment)
import ApexExperiment from "ApexExperiment";
const obj = { name: "2026-01-favorites-server", kind: "user", defaultConfig: { enabled: false, hasHigherPrivileges: false }, variations: { [1]: { enabled: true, hasHigherPrivileges: true }, [2]: { enabled: true, hasHigherPrivileges: false }, [3]: { enabled: true, hasHigherPrivileges: true, isFreemium: true } } };
const apexExperiment = ApexExperiment.createApexExperiment(obj);
const result = require("set").fileFinishedImporting("modules/favorites/FavoritesGuildExperiment.tsx");
export const FavoritesGuildExperiment = apexExperiment;
export const useFavoritesGuildConfig = function useFavoritesGuildConfig(location) {
return apexExperiment.useConfig({ location: location.location });
};
export const getFavoritesGuildConfig = function getFavoritesGuildConfig(location) {
return apexExperiment.getConfig({ location: location.location });
};