2026-07-27 11:26:19 +00:00
|
|
|
// Module ID: 16406
|
|
|
|
|
// Function ID: 128066
|
2026-07-23 10:11:24 +00:00
|
|
|
// Name: items
|
2026-07-25 08:10:48 +00:00
|
|
|
// Dependencies: [4043, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: useApplicationIdentityLinkedRolesEnabled
|
|
|
|
|
|
2026-07-27 11:26:19 +00:00
|
|
|
// Module 16406 (items)
|
2026-07-23 10:11:24 +00:00
|
|
|
import createExperiment from "createExperiment";
|
|
|
|
|
|
|
|
|
|
let obj = { kind: "guild", id: "2026-04_application_identity_linked_roles", label: "Application Identity Linked Roles", defaultConfig: { enabled: false } };
|
|
|
|
|
obj = { id: 1, label: "Enable Application Identity Linked Roles", config: { enabled: true } };
|
2026-07-22 07:54:56 +00:00
|
|
|
const items = [obj];
|
2026-07-23 10:11:24 +00:00
|
|
|
obj.treatments = items;
|
|
|
|
|
const experiment = createExperiment.createExperiment(obj);
|
|
|
|
|
const result = require("set").fileFinishedImporting("modules/connections/experiments/ApplicationIdentityLinkedRolesExperiment.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const ApplicationIdentityLinkedRolesExperiment = experiment;
|
|
|
|
|
export const useApplicationIdentityLinkedRolesEnabled = function useApplicationIdentityLinkedRolesEnabled(guildId, location) {
|
|
|
|
|
return experiment.useExperiment({ guildId, location }, { autoTrackExposure: false }).enabled;
|
|
|
|
|
};
|