2026-09-24 16:03:38 +00:00
|
|
|
// Module ID: 11316
|
|
|
|
|
// Function ID: 11317
|
2026-09-18 19:45:33 +00:00
|
|
|
// Name: ShareConstants
|
2026-09-24 16:03:38 +00:00
|
|
|
// Dependencies: [10109, 2]
|
2026-09-18 19:45:33 +00:00
|
|
|
// Exports: isAllowedType
|
|
|
|
|
|
2026-09-24 16:03:38 +00:00
|
|
|
// Module 11316 (ShareConstants)
|
|
|
|
|
import sortByMatchScore from "sortByMatchScore" /* 10109 */;
|
2026-09-18 19:45:33 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
|
|
|
|
|
|
|
|
|
const items = [sortByMatchScore.AutocompleterResultTypes.USER, sortByMatchScore.AutocompleterResultTypes.TEXT_CHANNEL, sortByMatchScore.AutocompleterResultTypes.VOICE_CHANNEL, sortByMatchScore.AutocompleterResultTypes.GROUP_DM];
|
|
|
|
|
const ALLOWED_TYPES = Array.from(items);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/share/ShareConstants.tsx");
|
|
|
|
|
|
|
|
|
|
export { ALLOWED_TYPES };
|
|
|
|
|
export const isAllowedType = function isAllowedType(type) {
|
|
|
|
|
return arr.includes(type.type);
|
|
|
|
|
};
|