2026-09-29 21:26:22 +00:00
|
|
|
// Module ID: 18082
|
|
|
|
|
// Function ID: 18083
|
2026-09-18 20:18:48 +00:00
|
|
|
// Name: ApplicationIdentityLinkedRolesExperiment
|
2026-09-29 21:26:22 +00:00
|
|
|
// Dependencies: [4701, 2]
|
2026-09-18 20:18:48 +00:00
|
|
|
// Exports: useApplicationIdentityLinkedRolesEnabled
|
|
|
|
|
|
2026-09-29 21:26:22 +00:00
|
|
|
// Module 18082 (ApplicationIdentityLinkedRolesExperiment)
|
|
|
|
|
import createExperiment from "module_4701" /* 4701 */;
|
2026-09-18 20:18:48 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
|
|
|
|
|
|
|
|
|
const obj = { kind: "guild", id: "2026-04_application_identity_linked_roles", label: "Application Identity Linked Roles", defaultConfig: { enabled: false }, treatments: null };
|
|
|
|
|
const items = [{ id: 1, label: "Enable Application Identity Linked Roles", config: { enabled: true } }];
|
|
|
|
|
obj.treatments = items;
|
|
|
|
|
const experiment = createExperiment.createExperiment(obj);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/connections/experiments/ApplicationIdentityLinkedRolesExperiment.tsx");
|
|
|
|
|
|
|
|
|
|
export const ApplicationIdentityLinkedRolesExperiment = experiment;
|
|
|
|
|
export const useApplicationIdentityLinkedRolesEnabled = function useApplicationIdentityLinkedRolesEnabled(guildId, location) {
|
|
|
|
|
return experiment.useExperiment({ guildId, location }, { autoTrackExposure: false }).enabled;
|
|
|
|
|
};
|