18 lines
713 B
TypeScript
18 lines
713 B
TypeScript
// Module ID: 10940
|
|
// Function ID: 10941
|
|
// Name: ALLOWED_TYPES
|
|
// Dependencies: [9946, 2]
|
|
// Exports: isAllowedType
|
|
|
|
// Module 10940 (ALLOWED_TYPES)
|
|
import set from "set" /* 2 */;
|
|
import sortByMatchScore from "sortByMatchScore" /* 9946 */;
|
|
|
|
const items = [sortByMatchScore.AutocompleterResultTypes.USER, sortByMatchScore.AutocompleterResultTypes.TEXT_CHANNEL, sortByMatchScore.AutocompleterResultTypes.VOICE_CHANNEL, sortByMatchScore.AutocompleterResultTypes.GROUP_DM];
|
|
const arr = Array.from(items);
|
|
const result = set.fileFinishedImporting("modules/share/ShareConstants.tsx");
|
|
|
|
export const ALLOWED_TYPES = arr;
|
|
export const isAllowedType = function isAllowedType(type) {
|
|
return arr.includes(type.type);
|
|
};
|