Function
| Static Public Summary | ||
| public |
Activity(state: *, action: *): * Activity Redux Reducer for Activity action Reference: http://redux.js.org/docs/basics/Reducers.html |
|
| public |
App(state: *, action: *): * App Redux Reducer for App action Reference: http://redux.js.org/docs/basics/Reducers.html |
|
| public |
Contributions(state: *, action: *): * Contributions Redux Reducer for Contributions action Reference: http://redux.js.org/docs/basics/Reducers.html |
|
| public |
Explore(state: *, action: *): * Explore Redux Reducer for Explore action Reference: http://redux.js.org/docs/basics/Reducers.html |
|
| public |
Header(state: *, action: *): * Header Redux Reducer for Header action Reference: http://redux.js.org/docs/basics/Reducers.html |
|
| public |
Likes(state: *, action: *): * Likes Redux Reducer for Likes action Reference: http://redux.js.org/docs/basics/Reducers.html |
|
| public |
Location(state: *, action: *): * Location Redux Reducer for Location action Reference: http://redux.js.org/docs/basics/Reducers.html |
|
| public |
Pagination(state: *, action: *): * Pagination Redux Reducer for Pagination action Reference: http://redux.js.org/docs/basics/Reducers.html |
|
| public |
Photo(state: *, action: *): * Photo Redux Reducer for Photo action Reference: http://redux.js.org/docs/basics/Reducers.html |
|
| public |
Photos(state: *, action: *): * Photos Redux Reducer for Photos action Reference: http://redux.js.org/docs/basics/Reducers.html |
|
| public |
Post(state: *, action: *): * Redux Reducer for Comments action Reference: http://redux.js.org/docs/basics/Reducers.html |
|
| public |
Profile(state: *, action: *): * Profile Redux Reducer for Profile action Reference: http://redux.js.org/docs/basics/Reducers.html |
|
| public |
Search(state: *, action: *): * Search Redux Reducer for Search action Reference: http://redux.js.org/docs/basics/Reducers.html |
|
| public |
Stats(state: *, action: *): * Stats Redux Reducer for Stats action Reference: http://redux.js.org/docs/basics/Reducers.html |
|
| public |
Tokens(state: *, action: *): * Tokens Redux Reducer for Tokens action Reference: http://redux.js.org/docs/basics/Reducers.html |
|
| public |
Trending(state: *, action: *): * Trending Redux Reducer for Trending action Reference: http://redux.js.org/docs/basics/Reducers.html |
|
| public |
User(state: *, action: *): * User Redux Reducer for User action Reference: http://redux.js.org/docs/basics/Reducers.html |
|
| public |
add |
|
| public |
addComment(id: *, text: *): Function addComment Posts comment data to API Redux Action Reference: http://redux.js.org/docs/basics/Actions.html |
|
| public |
deleteLike(postID: *): Function deleteLike Removes like (unlikes) for a user and a post |
|
| public |
fbLogin Performs Facebook login, and on success posts return data to API Redux Action Reference: http://redux.js.org/docs/basics/Actions.html |
|
| public |
follow |
|
| public |
follow Posts a 'follow' action to the API for a given user id |
|
| public |
init loads photos and activities Redux Action Reference: http://redux.js.org/docs/basics/Actions.html |
|
| public |
initDone |
|
| public |
left |
|
| public |
like Posts a 'like' to the API for a user and post |
|
| public |
like Post a 'like' to the API for a given post Redux Action Reference: http://redux.js.org/docs/basics/Actions.html |
|
| public |
trending Gets 'trending' data from API Redux Action Reference: http://redux.js.org/docs/basics/Actions.html |
|
| public |
load Gets number of 'likes' from API for user and post Redux Action Reference: http://redux.js.org/docs/basics/Actions.html |
|
| public |
load Gets explore data from API for user Redux Action Reference: http://redux.js.org/docs/basics/Actions.html |
|
| public |
load Gets profile data from the API for a given user id |
|
| public |
load Get notifications from API for user Redux Action Reference: http://redux.js.org/docs/basics/Actions.html |
|
| public |
load Gets data from API for a given location Redux Action Reference: http://redux.js.org/docs/basics/Actions.html |
|
| public |
load Gets single photo upload from API based on upload id Redux Action Reference: http://redux.js.org/docs/basics/Actions.html |
|
| public |
load Gets comments from API based on upload id Redux Action Reference: http://redux.js.org/docs/basics/Actions.html |
|
| public |
load Get photo uploads from the API based on user id Redux Action Reference: http://redux.js.org/docs/basics/Actions.html |
|
| public |
load Get contributions from API by user id Redux Action Reference: http://redux.js.org/docs/basics/Actions.html |
|
| public |
load Gets user stats from API, and performs Keen analytics functions Redux Action Reference: http://redux.js.org/docs/basics/Actions.html |
|
| public |
logout Performs Facebook logout for a given user Redux Action Reference: http://redux.js.org/docs/basics/Actions.html |
|
| public |
middle |
|
| public |
paginate Get photo uploads from API based on user id, and the last post id (for pagination purposes) Redux Action Reference: http://redux.js.org/docs/basics/Actions.html |
|
| public |
recent Gets recent searches from API for a given user Redux Action Reference: http://redux.js.org/docs/basics/Actions.html |
|
| public |
results Gets uploads from API based on Algolia Search response Redux Action Reference: http://redux.js.org/docs/basics/Actions.html |
|
| public |
right |
|
| public |
search Make a search request to algolia based on term (string) and type Redux Action Reference: http://redux.js.org/docs/basics/Actions.html |
|
| public |
trigger Triggers search, and posts search data to API Redux Action Reference: http://redux.js.org/docs/basics/Actions.html |
|
| public |
unfollow Posts an 'unfollow' action to the API for a given user id Redux Action Reference: http://redux.js.org/docs/basics/Actions.html |
|
| public |
unlike Post an 'unlike' to the API based on post id Redux Action Reference: http://redux.js.org/docs/basics/Actions.html |
|
Static Public
public Activity(state: *, action: *): * source
import Activity from 'react/modules/reducers/Activity.js'Activity Redux Reducer for Activity action Reference: http://redux.js.org/docs/basics/Reducers.html
Params:
| Name | Type | Attribute | Description |
| state | * | ||
| action | * |
Return:
| * |
public App(state: *, action: *): * source
import App from 'react/modules/reducers/App.js'App Redux Reducer for App action Reference: http://redux.js.org/docs/basics/Reducers.html
Params:
| Name | Type | Attribute | Description |
| state | * | ||
| action | * |
Return:
| * |
public Contributions(state: *, action: *): * source
import Contributions from 'react/modules/reducers/Contributions.js'Contributions Redux Reducer for Contributions action Reference: http://redux.js.org/docs/basics/Reducers.html
Params:
| Name | Type | Attribute | Description |
| state | * | ||
| action | * |
Return:
| * |
public Explore(state: *, action: *): * source
import Explore from 'react/modules/reducers/Explore.js'Explore Redux Reducer for Explore action Reference: http://redux.js.org/docs/basics/Reducers.html
Params:
| Name | Type | Attribute | Description |
| state | * | ||
| action | * |
Return:
| * |
public Header(state: *, action: *): * source
import Header from 'react/modules/reducers/Header.js'Header Redux Reducer for Header action Reference: http://redux.js.org/docs/basics/Reducers.html
Params:
| Name | Type | Attribute | Description |
| state | * | ||
| action | * |
Return:
| * |
public Likes(state: *, action: *): * source
import Likes from 'react/modules/reducers/Likes.js'Likes Redux Reducer for Likes action Reference: http://redux.js.org/docs/basics/Reducers.html
Params:
| Name | Type | Attribute | Description |
| state | * | ||
| action | * |
Return:
| * |
public Location(state: *, action: *): * source
import Location from 'react/modules/reducers/Location.js'Location Redux Reducer for Location action Reference: http://redux.js.org/docs/basics/Reducers.html
Params:
| Name | Type | Attribute | Description |
| state | * | ||
| action | * |
Return:
| * |
public Pagination(state: *, action: *): * source
import Pagination from 'react/modules/reducers/Pagination.js'Pagination Redux Reducer for Pagination action Reference: http://redux.js.org/docs/basics/Reducers.html
Params:
| Name | Type | Attribute | Description |
| state | * | ||
| action | * |
Return:
| * |
public Photo(state: *, action: *): * source
import Photo from 'react/modules/reducers/Photo.js'Photo Redux Reducer for Photo action Reference: http://redux.js.org/docs/basics/Reducers.html
Params:
| Name | Type | Attribute | Description |
| state | * | ||
| action | * |
Return:
| * |
public Photos(state: *, action: *): * source
import Photos from 'react/modules/reducers/Photos.js'Photos Redux Reducer for Photos action Reference: http://redux.js.org/docs/basics/Reducers.html
Params:
| Name | Type | Attribute | Description |
| state | * | ||
| action | * |
Return:
| * |
public Post(state: *, action: *): * source
import Post from 'react/modules/reducers/Comments.js'Redux Reducer for Comments action Reference: http://redux.js.org/docs/basics/Reducers.html
Params:
| Name | Type | Attribute | Description |
| state | * | ||
| action | * |
Return:
| * |
public Profile(state: *, action: *): * source
import Profile from 'react/modules/reducers/Profile.js'Profile Redux Reducer for Profile action Reference: http://redux.js.org/docs/basics/Reducers.html
Params:
| Name | Type | Attribute | Description |
| state | * | ||
| action | * |
Return:
| * |
public Search(state: *, action: *): * source
import Search from 'react/modules/reducers/Search.js'Search Redux Reducer for Search action Reference: http://redux.js.org/docs/basics/Reducers.html
Params:
| Name | Type | Attribute | Description |
| state | * | ||
| action | * |
Return:
| * |
public Stats(state: *, action: *): * source
import Stats from 'react/modules/reducers/Stats.js'Stats Redux Reducer for Stats action Reference: http://redux.js.org/docs/basics/Reducers.html
Params:
| Name | Type | Attribute | Description |
| state | * | ||
| action | * |
Return:
| * |
public Tokens(state: *, action: *): * source
import Tokens from 'react/modules/reducers/Tokens.js'Tokens Redux Reducer for Tokens action Reference: http://redux.js.org/docs/basics/Reducers.html
Params:
| Name | Type | Attribute | Description |
| state | * | ||
| action | * |
Return:
| * |
public Trending(state: *, action: *): * source
import Trending from 'react/modules/reducers/Trending.js'Trending Redux Reducer for Trending action Reference: http://redux.js.org/docs/basics/Reducers.html
Params:
| Name | Type | Attribute | Description |
| state | * | ||
| action | * |
Return:
| * |
public User(state: *, action: *): * source
import User from 'react/modules/reducers/User.js'User Redux Reducer for User action Reference: http://redux.js.org/docs/basics/Reducers.html
Params:
| Name | Type | Attribute | Description |
| state | * | ||
| action | * |
Return:
| * |
public add(response: *): {type: string, response: *} source
import {add} from 'react/modules/actions/Photos.js'add
Params:
| Name | Type | Attribute | Description |
| response | * |
public addComment(id: *, text: *): Function source
import {addComment} from 'react/modules/actions/Comments.js'addComment Posts comment data to API Redux Action Reference: http://redux.js.org/docs/basics/Actions.html
Params:
| Name | Type | Attribute | Description |
| id | * | ||
| text | * |
public deleteLike(postID: *): Function source
import {deleteLike} from 'react/modules/actions/Like.js'deleteLike Removes like (unlikes) for a user and a post
Params:
| Name | Type | Attribute | Description |
| postID | * | post id |
public fbLogin(response: *): Function source
import {fbLogin} from 'react/modules/actions/User.js'fbLogin Performs Facebook login, and on success posts return data to API Redux Action Reference: http://redux.js.org/docs/basics/Actions.html
Params:
| Name | Type | Attribute | Description |
| response | * | {Object} |
public follow(user: *): {type: string, user: *} source
import {follow} from 'react/modules/actions/User.js'follow
Params:
| Name | Type | Attribute | Description |
| user | * |
public follow(userID: *): Function source
import {follow} from 'react/modules/actions/Profile.js'follow Posts a 'follow' action to the API for a given user id
Params:
| Name | Type | Attribute | Description |
| userID | * | user id |
public init(): Function source
import {init} from 'react/modules/actions/App.js'init loads photos and activities Redux Action Reference: http://redux.js.org/docs/basics/Actions.html
public initDone(): {type: string} source
import {initDone} from 'react/modules/actions/App.js'initDone
public left(component: *): {type: string, component: *} source
import {left} from 'react/modules/actions/Header.js'left
Params:
| Name | Type | Attribute | Description |
| component | * |
public like(postID: *): Function source
import {like} from 'react/modules/actions/Like.js'like Posts a 'like' to the API for a user and post
Params:
| Name | Type | Attribute | Description |
| postID | * | post id |
public like(postID: *): Function source
import {like} from 'react/modules/actions/Photos.js'like Post a 'like' to the API for a given post Redux Action Reference: http://redux.js.org/docs/basics/Actions.html
Params:
| Name | Type | Attribute | Description |
| postID | * | post id |
public load(): Function source
import {load} from 'react/modules/actions/Trending.js'trending Gets 'trending' data from API Redux Action Reference: http://redux.js.org/docs/basics/Actions.html
public load(postID: *, userID: *): Function source
import {load} from 'react/modules/actions/Like.js'load Gets number of 'likes' from API for user and post Redux Action Reference: http://redux.js.org/docs/basics/Actions.html
Params:
| Name | Type | Attribute | Description |
| postID | * | post id |
|
| userID | * | user id |
public load(): Function source
import {load} from 'react/modules/actions/Explore.js'load Gets explore data from API for user Redux Action Reference: http://redux.js.org/docs/basics/Actions.html
public load(userID: *): Function source
import {load} from 'react/modules/actions/Profile.js'load Gets profile data from the API for a given user id
Params:
| Name | Type | Attribute | Description |
| userID | * | user id |
public load(): Function source
import {load} from 'react/modules/actions/Activity.js'load Get notifications from API for user Redux Action Reference: http://redux.js.org/docs/basics/Actions.html
public load(location: *): Function source
import {load} from 'react/modules/actions/Location.js'load Gets data from API for a given location Redux Action Reference: http://redux.js.org/docs/basics/Actions.html
Params:
| Name | Type | Attribute | Description |
| location | * |
public load(id: *): Function source
import {load} from 'react/modules/actions/Photo.js'load Gets single photo upload from API based on upload id Redux Action Reference: http://redux.js.org/docs/basics/Actions.html
Params:
| Name | Type | Attribute | Description |
| id | * | upload id |
public load(postID: *): Function source
import {load} from 'react/modules/actions/Comments.js'load Gets comments from API based on upload id Redux Action Reference: http://redux.js.org/docs/basics/Actions.html
Params:
| Name | Type | Attribute | Description |
| postID | * |
public load(id: *): Function source
import {load} from 'react/modules/actions/Photos.js'load Get photo uploads from the API based on user id Redux Action Reference: http://redux.js.org/docs/basics/Actions.html
Params:
| Name | Type | Attribute | Description |
| id | * | user id |
public load(userID: *): Function source
import {load} from 'react/modules/actions/Contributions.js'load Get contributions from API by user id Redux Action Reference: http://redux.js.org/docs/basics/Actions.html
Params:
| Name | Type | Attribute | Description |
| userID | * | user id |
public load(userId: *): Function source
import {load} from 'react/modules/actions/Stats.js'load Gets user stats from API, and performs Keen analytics functions Redux Action Reference: http://redux.js.org/docs/basics/Actions.html
Params:
| Name | Type | Attribute | Description |
| userId | * | user id |
public logout(): Function source
import {logout} from 'react/modules/actions/User.js'logout Performs Facebook logout for a given user Redux Action Reference: http://redux.js.org/docs/basics/Actions.html
public middle(component: *): {type: string, component: *} source
import {middle} from 'react/modules/actions/Header.js'middle
Params:
| Name | Type | Attribute | Description |
| component | * |
public paginate(): Function source
import {paginate} from 'react/modules/actions/Photos.js'paginate Get photo uploads from API based on user id, and the last post id (for pagination purposes) Redux Action Reference: http://redux.js.org/docs/basics/Actions.html
public recent(): Function source
import {recent} from 'react/modules/actions/Search.js'recent Gets recent searches from API for a given user Redux Action Reference: http://redux.js.org/docs/basics/Actions.html
public results(type: *, query: *): Function source
import {results} from 'react/modules/actions/Search.js'results Gets uploads from API based on Algolia Search response Redux Action Reference: http://redux.js.org/docs/basics/Actions.html
Params:
| Name | Type | Attribute | Description |
| type | * | {string} |
|
| query | * | {string} |
public right(component: *): {type: string, component: *} source
import {right} from 'react/modules/actions/Header.js'right
Params:
| Name | Type | Attribute | Description |
| component | * |
public search(term: *, type: *): Function source
import {search} from 'react/modules/actions/Search.js'search Make a search request to algolia based on term (string) and type Redux Action Reference: http://redux.js.org/docs/basics/Actions.html
Params:
| Name | Type | Attribute | Description |
| term | * | {string} search term |
|
| type | * | {string} type of search ('all', 'hashtags', 'location') |
public trigger(search: *): Function source
import {trigger} from 'react/modules/actions/Search.js'trigger Triggers search, and posts search data to API Redux Action Reference: http://redux.js.org/docs/basics/Actions.html
Params:
| Name | Type | Attribute | Description |
| search | * |
public unfollow(userID: *): Function source
import {unfollow} from 'react/modules/actions/Profile.js'unfollow Posts an 'unfollow' action to the API for a given user id Redux Action Reference: http://redux.js.org/docs/basics/Actions.html
Params:
| Name | Type | Attribute | Description |
| userID | * | follower id |
public unlike(postID: *): Function source
import {unlike} from 'react/modules/actions/Photos.js'unlike Post an 'unlike' to the API based on post id Redux Action Reference: http://redux.js.org/docs/basics/Actions.html
Params:
| Name | Type | Attribute | Description |
| postID | * | post id |