31 lines
1.5 KiB
TypeScript
31 lines
1.5 KiB
TypeScript
// Module ID: 4677
|
|
// Function ID: 4678
|
|
// Name: DcfNewUserCooldownExperiment
|
|
// Dependencies: [1435, 1091, 2]
|
|
// Exports: getDcfNewUserCooldown, useDcfNewUserCooldown
|
|
|
|
// Module 4677 (DcfNewUserCooldownExperiment)
|
|
import DurationsDefault from "Durations" /* 1091 */;
|
|
import ApexExperiment from "ApexExperiment" /* 1435 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
let obj3;
|
|
const createApexExperiment = ApexExperiment.createApexExperiment;
|
|
const obj = { name: "2026-08-dcf-new-user-cooldown", kind: "user", defaultConfig: { newUserCooldownMs: DurationsDefault.Millis.DAY }, variations: obj3 };
|
|
obj3 = { 1: null, 2: null, 3: null };
|
|
({ newUserCooldownMs: DurationsDefault.Millis.DAY });
|
|
obj3[1] = { newUserCooldownMs: 2 * DurationsDefault.Millis.DAY };
|
|
({ newUserCooldownMs: 2 * DurationsDefault.Millis.DAY });
|
|
obj3[2] = { newUserCooldownMs: 3 * DurationsDefault.Millis.DAY };
|
|
({ newUserCooldownMs: 3 * DurationsDefault.Millis.DAY });
|
|
obj3[3] = { newUserCooldownMs: 7 * DurationsDefault.Millis.DAY };
|
|
({ newUserCooldownMs: 7 * DurationsDefault.Millis.DAY });
|
|
let closure_0 = createApexExperiment(obj);
|
|
const result = size.fileFinishedImporting("modules/dismissible_content/DcfNewUserCooldownExperiment.tsx");
|
|
|
|
export const useDcfNewUserCooldown = function useDcfNewUserCooldown() {
|
|
return closure_0.useConfig({ location: "useDcfNewUserCooldown" }).newUserCooldownMs;
|
|
};
|
|
export const getDcfNewUserCooldown = function getDcfNewUserCooldown() {
|
|
return closure_0.getConfig({ location: "getDcfNewUserCooldown" }).newUserCooldownMs;
|
|
};
|