2026-09-07 16:44:02 +00:00
|
|
|
// Module ID: 10987
|
|
|
|
|
// Function ID: 10988
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: ALLOWED_TYPES
|
2026-09-07 16:44:02 +00:00
|
|
|
// Dependencies: [9840, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: isAllowedType
|
|
|
|
|
|
2026-09-07 16:44:02 +00:00
|
|
|
// Module 10987 (ALLOWED_TYPES)
|
2026-08-24 06:08:38 +00:00
|
|
|
import set from "set" /* 2 */;
|
2026-09-07 16:44:02 +00:00
|
|
|
import sortByMatchScore from "sortByMatchScore" /* 9840 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
|
|
|
|
const items = [sortByMatchScore.AutocompleterResultTypes.USER, sortByMatchScore.AutocompleterResultTypes.TEXT_CHANNEL, sortByMatchScore.AutocompleterResultTypes.VOICE_CHANNEL, sortByMatchScore.AutocompleterResultTypes.GROUP_DM];
|
2026-07-20 16:05:17 +00:00
|
|
|
const arr = Array.from(items);
|
2026-08-24 06:08:38 +00:00
|
|
|
const result = set.fileFinishedImporting("modules/share/ShareConstants.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const ALLOWED_TYPES = arr;
|
|
|
|
|
export const isAllowedType = function isAllowedType(type) {
|
|
|
|
|
return arr.includes(type.type);
|
|
|
|
|
};
|