decord/source/modules/user_profile/PrivateProfilesStrictGbExperiment.tsx

20 lines
1 KiB
TypeScript
Raw Normal View History

2026-07-31 08:44:05 +00:00
// Module ID: 12197
// Function ID: 12198
2026-07-20 16:05:17 +00:00
// Name: apexExperiment
2026-07-29 08:29:29 +00:00
// Dependencies: [1452, 2]
2026-07-20 16:05:17 +00:00
// Exports: getIsInPrivateProfilesStrictGbExperiment, useIsInPrivateProfilesStrictGbExperiment
2026-07-31 08:44:05 +00:00
// Module 12197 (apexExperiment)
2026-07-23 10:11:24 +00:00
import ApexExperiment from "ApexExperiment";
2026-07-29 08:29:29 +00:00
const apexExperiment = ApexExperiment.createApexExperiment({ name: "2026-03-private-profiles-strict-gb", kind: "user", defaultConfig: { enabled: false }, variations: { 0: { enabled: false }, 1: { enabled: true }, 2: { enabled: true }, 3: { enabled: true } } });
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/user_profile/PrivateProfilesStrictGbExperiment.tsx");
2026-07-20 16:05:17 +00:00
export const PrivateProfilesStrictGbExperiment = apexExperiment;
export const useIsInPrivateProfilesStrictGbExperiment = function useIsInPrivateProfilesStrictGbExperiment(location) {
return apexExperiment.useConfig({ location }).enabled;
};
export const getIsInPrivateProfilesStrictGbExperiment = function getIsInPrivateProfilesStrictGbExperiment(location) {
return apexExperiment.getConfig({ location }).enabled;
};