decord/source/modules/user_profile/PrivateProfilesStrictGbExperiment.tsx

21 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 12141
// Function ID: 95125
2026-07-20 16:05:17 +00:00
// Name: apexExperiment
2026-07-23 10:11:24 +00:00
// Dependencies: [1428, 2]
2026-07-20 16:05:17 +00:00
// Exports: getIsInPrivateProfilesStrictGbExperiment, useIsInPrivateProfilesStrictGbExperiment
2026-07-24 07:16:23 +00:00
// Module 12141 (apexExperiment)
2026-07-23 10:11:24 +00:00
import ApexExperiment from "ApexExperiment";
const obj = { 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 } } };
const apexExperiment = ApexExperiment.createApexExperiment(obj);
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;
};