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

19 lines
679 B
TypeScript
Raw Permalink Normal View History

2026-10-13 12:43:34 +00:00
// Module ID: 12312
// Function ID: 12313
// Name: ShareConstants
2026-10-12 06:59:38 +00:00
// Dependencies: [8700, 2]
2026-07-20 16:05:17 +00:00
// Exports: isAllowedType
2026-10-13 12:43:34 +00:00
// Module 12312 (ShareConstants)
2026-10-12 06:59:38 +00:00
import _mod8700 from "module_8700" /* 8700 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
2026-10-12 06:59:38 +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");
2026-07-20 16:05:17 +00:00
export { ALLOWED_TYPES };
2026-07-20 16:05:17 +00:00
export const isAllowedType = function isAllowedType(type) {
return arr.includes(type.type);
};