lbry-desktop/ui/constants/search.js

25 lines
565 B
JavaScript
Raw Permalink Normal View History

2018-03-26 23:32:43 +02:00
export const FILE = 'file';
export const CHANNEL = 'channel';
export const SEARCH = 'search';
2019-10-19 15:46:23 +02:00
export const DEBOUNCE_WAIT_DURATION_MS = 250;
2020-07-27 22:04:12 +02:00
export const SEARCH_TYPES = {
FILE: 'file',
CHANNEL: 'channel',
SEARCH: 'search',
TAG: 'tag',
};
export const SEARCH_OPTIONS = {
RESULT_COUNT: 'size',
CLAIM_TYPE: 'claimType',
INCLUDE_FILES: 'file',
INCLUDE_CHANNELS: 'channel',
INCLUDE_FILES_AND_CHANNELS: 'file,channel',
MEDIA_AUDIO: 'audio',
MEDIA_VIDEO: 'video',
MEDIA_TEXT: 'text',
MEDIA_IMAGE: 'image',
MEDIA_APPLICATION: 'application',
};