27 lines
675 B
TypeScript
27 lines
675 B
TypeScript
// Metro module 16481 (f16482).
|
|
import { createExperiment } from "../../experiments/index";
|
|
const experiment = createExperiment({
|
|
kind: "guild",
|
|
id: "2026-04_application_identity_linked_roles",
|
|
label: "Application Identity Linked Roles",
|
|
defaultConfig: {
|
|
enabled: false
|
|
},
|
|
treatments: [{
|
|
id: 1,
|
|
label: "Enable Application Identity Linked Roles",
|
|
config: {
|
|
enabled: true
|
|
}
|
|
}]
|
|
});
|
|
export { experiment as ApplicationIdentityLinkedRolesExperiment };
|
|
export function useApplicationIdentityLinkedRolesEnabled(a0, a1) {
|
|
return experiment.useExperiment({
|
|
guildId: a0,
|
|
location: a1
|
|
}, {
|
|
autoTrackExposure: false
|
|
}).enabled;
|
|
}
|