2026-09-16 07:03:15 +00:00
|
|
|
// Module ID: 17852
|
|
|
|
|
// Function ID: 17853
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: ApplicationIdentityLinkedRolesExperiment
|
2026-09-16 07:03:15 +00:00
|
|
|
// Dependencies: [4551, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: useApplicationIdentityLinkedRolesEnabled
|
|
|
|
|
|
2026-09-16 07:03:15 +00:00
|
|
|
// Module 17852 (ApplicationIdentityLinkedRolesExperiment)
|
|
|
|
|
import createExperiment from "module_4551" /* 4551 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const obj = { kind: "guild", id: "2026-04_application_identity_linked_roles", label: "Application Identity Linked Roles", defaultConfig: { enabled: false }, treatments: null };
|
2026-07-29 08:29:29 +00:00
|
|
|
const items = [{ id: 1, label: "Enable Application Identity Linked Roles", config: { enabled: true } }];
|
2026-09-10 05:38:07 +00:00
|
|
|
obj.treatments = items;
|
|
|
|
|
const experiment = createExperiment.createExperiment(obj);
|
|
|
|
|
const result = size.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;
|
|
|
|
|
};
|