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

19 lines
679 B
TypeScript
Raw Permalink Normal View History

2026-10-12 16:32:48 +00:00
// Module ID: 11559
// Function ID: 11560
// Name: ShareConstants
2026-10-12 16:32:48 +00:00
// Dependencies: [8700, 2]
// Exports: isAllowedType
2026-10-12 16:32:48 +00:00
// Module 11559 (ShareConstants)
import _mod8700 from "module_8700" /* 8700 */;
import size from "module_2" /* 2 */;
2026-10-12 16:32:48 +00:00
const items = [_mod8700.AutocompleterResultTypes.USER, _mod8700.AutocompleterResultTypes.TEXT_CHANNEL, _mod8700.AutocompleterResultTypes.VOICE_CHANNEL, _mod8700.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);
};