import { Action } from 'lib/types/interfaces';


export const fetchVlogs = (except_url?): Action => ({
	type: '@vlogs:FETCH',
	except_url
});

export const fetchedVlogs = (data?): Action => ({
	type: '@vlogs:FETCHED',
	...data
});

export const failedFetchVlogs = (error?): Action => ({
	type: '@vlogs:FAILED_FETCH',
	...error
});




export const fetchRandomVlog = (): Action => ({
	type: '@vlogs:FETCH'
});

export const fetchedRandomVlog = (data?): Action => ({
	type: '@vlogs:FETCHED_RANDOM',
	...data
});

export const failedFetchRandomVlog = (error?): Action => ({
	type: '@vlogs:FAILED_FETCH_RANDOM',
	...error
});




