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

19 lines
679 B
TypeScript
Raw Normal View History

2026-10-07 22:43:51 +00:00
// Module ID: 10712
// Function ID: 10713
// Name: ShareConstants
2026-10-07 22:43:51 +00:00
// Dependencies: [9496, 2]
// Exports: isAllowedType
2026-10-07 22:43:51 +00:00
// Module 10712 (ShareConstants)
import _mod9496 from "module_9496" /* 9496 */;
import size from "module_2" /* 2 */;
2026-10-07 22:43:51 +00:00
const items = [_mod9496.AutocompleterResultTypes.USER, _mod9496.AutocompleterResultTypes.TEXT_CHANNEL, _mod9496.AutocompleterResultTypes.VOICE_CHANNEL, _mod9496.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);
};