2026-09-12 13:45:10 +00:00
|
|
|
// Module ID: 11114
|
|
|
|
|
// Function ID: 11115
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: ShareConstants
|
2026-09-12 13:45:10 +00:00
|
|
|
// Dependencies: [9965, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: isAllowedType
|
|
|
|
|
|
2026-09-12 13:45:10 +00:00
|
|
|
// Module 11114 (ShareConstants)
|
|
|
|
|
import sortByMatchScore from "sortByMatchScore" /* 9965 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
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-09-10 05:38:07 +00:00
|
|
|
const ALLOWED_TYPES = Array.from(items);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/share/ShareConstants.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
export { ALLOWED_TYPES };
|
2026-07-20 16:05:17 +00:00
|
|
|
export const isAllowedType = function isAllowedType(type) {
|
|
|
|
|
return arr.includes(type.type);
|
|
|
|
|
};
|