Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
20 lines
1.1 KiB
TypeScript
20 lines
1.1 KiB
TypeScript
// Module ID: 17758
|
|
// Function ID: 17759
|
|
// Name: ApplicationIdentityLinkedRolesExperiment
|
|
// Dependencies: [4550, 2]
|
|
// Exports: useApplicationIdentityLinkedRolesEnabled
|
|
|
|
// Module 17758 (ApplicationIdentityLinkedRolesExperiment)
|
|
import createExperiment from "module_4550" /* 4550 */;
|
|
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;
|
|
};
|