decord/alpha/source/modules/share/ShareConstants.tsx

18 lines
726 B
TypeScript

// Module ID: 11234
// Function ID: 11235
// Name: ShareConstants
// Dependencies: [10080, 2]
// Exports: isAllowedType
// Module 11234 (ShareConstants)
import sortByMatchScore from "sortByMatchScore" /* 10080 */;
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);
};