18 lines
1,006 B
TypeScript
18 lines
1,006 B
TypeScript
// Module ID: 17138
|
|
// Function ID: 17139
|
|
// Name: experiment
|
|
// Dependencies: [4356, 2]
|
|
// Exports: useApplicationIdentityLinkedRolesEnabled
|
|
|
|
// Module 17138 (experiment)
|
|
import set from "set" /* 2 */;
|
|
import createExperiment from "createExperiment" /* 4356 */;
|
|
|
|
const items = [{ id: 1, label: "Enable Application Identity Linked Roles", config: { enabled: true } }];
|
|
const experiment = createExperiment.createExperiment({ kind: "guild", id: "2026-04_application_identity_linked_roles", label: "Application Identity Linked Roles", defaultConfig: { enabled: false }, treatments: items });
|
|
const result = set.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;
|
|
};
|