decord/alpha/source/modules/user_profile/PrivateProfilesStrictExperiment.tsx

21 lines
1.1 KiB
TypeScript
Raw Normal View History

// Module ID: 12633
// Function ID: 12634
// Name: PrivateProfilesStrictExperiment
// Dependencies: [1434, 2]
2026-07-20 16:05:17 +00:00
// Exports: getIsInPrivateProfilesStrictExperiment, useIsInPrivateProfilesStrictExperiment
// Module 12633 (PrivateProfilesStrictExperiment)
import ApexExperiment from "ApexExperiment" /* 1434 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
const apexExperiment = ApexExperiment.createApexExperiment({ name: "2026-03-private-profiles-strict", kind: "user", defaultConfig: { enabled: false }, variations: { 0: { enabled: false }, 1: { enabled: true }, 2: { enabled: true }, 3: { enabled: true } } });
const result = size.fileFinishedImporting("modules/user_profile/PrivateProfilesStrictExperiment.tsx");
2026-07-20 16:05:17 +00:00
export const PrivateProfilesStrictExperiment = apexExperiment;
export const useIsInPrivateProfilesStrictExperiment = function useIsInPrivateProfilesStrictExperiment(location) {
return apexExperiment.useConfig({ location }).enabled;
};
export const getIsInPrivateProfilesStrictExperiment = function getIsInPrivateProfilesStrictExperiment(location) {
return apexExperiment.getConfig({ location }).enabled;
};