SYMBOL INDEX (264 symbols across 60 files) FILE: examples/func-test/src/models/example.js method setup (line 7) | setup({ dispatch, history }) { method fetch (line 16) | *fetch({ payload }, { call, put }) { method save (line 23) | save(state, action) { FILE: examples/func-test/src/router.js function RouterConfig (line 7) | function RouterConfig({ history }) { FILE: examples/func-test/src/routes/IndexPage.js function IndexPage (line 5) | function IndexPage() { FILE: examples/func-test/src/services/example.js function query (line 3) | async function query() { FILE: examples/func-test/src/utils/request.js function parseJSON (line 3) | function parseJSON(response) { function checkStatus (line 7) | function checkStatus(response) { function request (line 24) | function request(url, options) { FILE: examples/user-dashboard/src/constants.js constant PAGE_SIZE (line 1) | const PAGE_SIZE = 3; FILE: examples/user-dashboard/src/layouts/Header.js function Header (line 6) | function Header({ location }) { FILE: examples/user-dashboard/src/layouts/index.js function MainLayout (line 5) | function MainLayout({ children, location }) { FILE: examples/user-dashboard/src/pages/index.js function IndexPage (line 4) | function IndexPage() { FILE: examples/user-dashboard/src/pages/users/components/Users/UserModal.js class UserEditModal (line 6) | class UserEditModal extends Component { method constructor (line 7) | constructor(props) { method render (line 37) | render() { FILE: examples/user-dashboard/src/pages/users/components/Users/Users.js function Users (line 9) | function Users({ dispatch, list: dataSource, loading, total, page: curre... function mapStateToProps (line 103) | function mapStateToProps(state) { FILE: examples/user-dashboard/src/pages/users/models/users.js method save (line 11) | save(state, { payload: { data: list, total, page } }) { method fetch (line 16) | *fetch({ payload: { page = 1 } }, { call, put }) { method remove (line 27) | *remove({ payload: id }, { call, put }) { method patch (line 31) | *patch({ payload: { id, values } }, { call, put }) { method create (line 35) | *create({ payload: values }, { call, put }) { method reload (line 39) | *reload(action, { put, select }) { method setup (line 45) | setup({ dispatch, history }) { FILE: examples/user-dashboard/src/pages/users/page.js function Users (line 5) | function Users() { FILE: examples/user-dashboard/src/pages/users/services/users.js function fetch (line 4) | function fetch({ page }) { function remove (line 8) | function remove(id) { function patch (line 14) | function patch(id, values) { function create (line 21) | function create(values) { FILE: examples/user-dashboard/src/plugins/onError.js constant ERROR_MSG_DURATION (line 3) | const ERROR_MSG_DURATION = 3; method onError (line 6) | onError(e) { FILE: examples/user-dashboard/src/utils/request.js function checkStatus (line 3) | function checkStatus(response) { function request (line 20) | async function request(url, options) { FILE: examples/with-immer/dva.js function config (line 3) | function config() { FILE: examples/with-immer/model.js method add (line 13) | add(state) { method setNewProp (line 16) | setNewProp(state) { FILE: examples/with-immer/pages/index.js function App (line 4) | function App({ count, newProp, dispatch }) { function mapStateToProps (line 31) | function mapStateToProps(state) { FILE: examples/with-nextjs/model/homepage.js method caculate (line 11) | caculate(state, payload) { method init (line 18) | *init(action, { put }) { FILE: examples/with-nextjs/pages/index.js class Page (line 6) | class Page extends React.Component { method getInitialProps (line 7) | static async getInitialProps(props) { method render (line 22) | render() { FILE: examples/with-nextjs/utils/store.js function createDvaStore (line 11) | function createDvaStore(initialState) { function getOrCreateStore (line 36) | function getOrCreateStore(initialState) { function withDva (line 52) | function withDva(...args) { FILE: examples/with-react-router-3/src/models/example.js method setup (line 7) | setup({ dispatch, history }) { method fetch (line 13) | *fetch({ payload }, { call, put }) { method save (line 20) | save(state, action) { FILE: examples/with-react-router-3/src/router.js function RouterConfig (line 5) | function RouterConfig({ history }) { FILE: examples/with-react-router-3/src/routes/IndexPage.js function IndexPage (line 5) | function IndexPage() { FILE: examples/with-react-router-3/src/services/example.js function query (line 3) | async function query() { FILE: examples/with-react-router-3/src/utils/request.js function parseJSON (line 3) | function parseJSON(response) { function checkStatus (line 7) | function checkStatus(response) { function request (line 24) | function request(url, options) { FILE: examples/with-redux-undo/src/models/counter.js method add (line 5) | add(state) { method minus (line 8) | minus(state) { FILE: packages/dva-core/src/Plugin.js function filterHooks (line 16) | function filterHooks(obj) { class Plugin (line 25) | class Plugin { method constructor (line 26) | constructor() { method use (line 34) | use(plugin) { method apply (line 51) | apply(key, defaultHandler) { method get (line 68) | get(key) { function getExtraReducers (line 81) | function getExtraReducers(hook) { function getOnReducer (line 89) | function getOnReducer(hook) { FILE: packages/dva-core/src/checkModel.js function checkModel (line 4) | function checkModel(model, existModels) { function isAllFunction (line 55) | function isAllFunction(obj) { FILE: packages/dva-core/src/constants.js constant NAMESPACE_SEP (line 1) | const NAMESPACE_SEP = '/'; FILE: packages/dva-core/src/createPromiseMiddleware.js function createPromiseMiddleware (line 3) | function createPromiseMiddleware(app) { FILE: packages/dva-core/src/getReducer.js function getReducer (line 3) | function getReducer(reducers, state, handleActions) { FILE: packages/dva-core/src/getSaga.js function getSaga (line 7) | function getSaga(effects, model, onError, onEffect, opts = {}) { function getWatcher (line 22) | function getWatcher(key, _effect, model, onError, onEffect, opts) { function createEffects (line 107) | function createEffects(model, opts) { function applyOnEffect (line 162) | function applyOnEffect(fns, effect, model, key) { FILE: packages/dva-core/src/handleActions.js function identify (line 3) | function identify(value) { function handleAction (line 7) | function handleAction(actionType, reducer = identify) { function reduceReducers (line 18) | function reduceReducers(...reducers) { function handleActions (line 22) | function handleActions(handlers, defaultState) { FILE: packages/dva-core/src/index.js method UPDATE (line 21) | UPDATE(state) { function create (line 33) | function create(hooksAndOpts = {}, createOpts = {}) { FILE: packages/dva-core/src/prefixNamespace.js function prefix (line 5) | function prefix(obj, namespace, type) { function prefixNamespace (line 17) | function prefixNamespace(model) { FILE: packages/dva-core/src/prefixType.js function prefixType (line 3) | function prefixType(type, model) { FILE: packages/dva-core/src/prefixedDispatch.js function prefixedDispatch (line 6) | function prefixedDispatch(dispatch, model) { FILE: packages/dva-core/src/subscription.js function run (line 5) | function run(subs, model, app, onError) { function unlisten (line 28) | function unlisten(unlisteners, namespace) { FILE: packages/dva-core/test/effects.test.js method add (line 14) | add(state, { payload }) { method addDelay (line 19) | *addDelay({ payload }, { put, call }) { function testAppCreator (line 34) | function testAppCreator(opts) { method dump (line 102) | dump(state, { payload }) { method changeCountDelay (line 110) | *changeCountDelay({ payload }, { put, call }) { method process (line 114) | *process({ payload }, { put, select }) { method add (line 135) | add(state, { payload }) { method addDelay (line 140) | *addDelay({ payload }, { put, call }) { method test (line 144) | *test(action, { put, select, take }) { method addRequest (line 167) | addRequest() { method addFailure (line 170) | addFailure() { method addSuccess (line 173) | addSuccess() { method add (line 178) | *add(action, { put }) { method test (line 186) | *test(action, { put, take }) { method show (line 207) | show() { method addDelay (line 216) | *addDelay(_, { put }) { method add (line 239) | add(state, { payload }) { method addDelay (line 244) | *addDelay({ payload }, { put }) { method onError (line 263) | onError(err, dispatch, extension) { method append (line 275) | append(state, action) { method generate (line 281) | *generate() { method add (line 304) | add(state, { payload }) { method add (line 355) | add(state, { payload }) { method add (line 388) | add(state, { payload }) { method add (line 423) | add(state, { payload }) { method add (line 453) | add(state, { payload }) { method add (line 484) | add(state, { payload }) { method add (line 514) | add(state, { payload }) { method add (line 546) | add(state, { payload }) { method add (line 578) | add(state, { payload }) { method loading (line 638) | loading(state = false, action) { method onEffect (line 649) | onEffect(effect, { put }, model, key) { method onEffect (line 662) | onEffect(effect) { method add (line 675) | add(state) { method addRemote (line 680) | *addRemote(action, { put }) { method add (line 710) | add(state, { payload }) { method addDelay (line 715) | *addDelay({ payload }, { put, call, select }) { method add (line 747) | add(state, { payload }) { method addDelay (line 752) | *addDelay({ payload }, { put, call, select }) { FILE: packages/dva-core/test/handleActions.test.js method [LOGIN_START] (line 17) | [LOGIN_START](state) { method [LOGIN_END] (line 24) | [LOGIN_END](state) { FILE: packages/dva-core/test/model.test.js method add (line 13) | add(state, { payload }) { method add (line 25) | add(state, { payload }) { method setup (line 31) | setup() { method setup (line 55) | setup() {} method add (line 75) | add(state) { method add (line 84) | add(state) { method addBoth (line 89) | *addBoth(action, { put }) { method setup (line 95) | setup() { method add (line 126) | add(state, { payload }) { method add (line 138) | add(state, { payload }) { method setup (line 144) | setup() { method add (line 170) | add(state) { method add (line 181) | add(state) { method addBoth (line 186) | *addBoth(action, { put }) { method a (line 206) | a() {} method add (line 277) | add() {} FILE: packages/dva-core/test/optsAndHooks.test.js function delay (line 4) | function delay(timeout) { method show (line 16) | show() { method hide (line 19) | hide() { method setup (line 36) | setup({ dispatch }) { method [ADD] (line 41) | [ADD](state, { payload }) { method [ADD_DELAY] (line 46) | *[ADD_DELAY]({ payload }, { call, put }) { method onError (line 71) | onError(e) { method add (line 80) | *add() { method onStateChange (line 173) | onStateChange(state) { method add (line 181) | add(state) { FILE: packages/dva-core/test/plugin.test.js function onError (line 9) | function onError(err) { FILE: packages/dva-core/test/reducers.test.js function enhancer (line 6) | function enhancer(reducer) { method add (line 21) | add(state, { payload }) { method routing (line 58) | routing() {} method add (line 84) | add(state) { method update (line 114) | update(state) { method putSetState (line 134) | *putSetState(action, { put }) { method setState (line 140) | setState(state) { FILE: packages/dva-core/test/repalceModel.test.js method add (line 22) | add(state, { payload }) { method add (line 41) | add(state, { payload }) { method add (line 54) | add(state, { payload }) { method clear (line 57) | clear() { method setter (line 84) | setter(state, { payload }) { method add (line 89) | *add({ payload }, { put }) { method setter (line 103) | setter(state, { payload }) { method add (line 108) | *add(_, { put }) { method add (line 128) | add(state, { payload }) { method setup (line 133) | setup({ dispatch }) { method add (line 145) | add(state, { payload }) { method setup (line 150) | setup({ dispatch }) { method setup (line 172) | setup() { method onError (line 199) | onError() { method add (line 213) | *add() { FILE: packages/dva-core/test/subscriptions.test.js method add (line 11) | add(state, { payload }) { method setup (line 16) | setup({ dispatch }) { method add (line 31) | add(state, { payload }) { method setup (line 36) | setup({ dispatch }) { method setup (line 51) | setup({ dispatch }) { method show (line 67) | show() { method setup (line 76) | setup({ dispatch }) { method setup (line 96) | setup(_obj, done) { method setup (line 116) | setup(_obj, done) { FILE: packages/dva-immer/src/index.js method _handleActions (line 7) | _handleActions(handlers, defaultState) { FILE: packages/dva-immer/test/index.test.js method add (line 24) | add(state) { method add (line 58) | add(state) { FILE: packages/dva-loading/index.d.ts type DvaLoadingState (line 1) | interface DvaLoadingState { FILE: packages/dva-loading/src/index.js constant SHOW (line 1) | const SHOW = '@@DVA_LOADING/SHOW'; constant HIDE (line 2) | const HIDE = '@@DVA_LOADING/HIDE'; constant NAMESPACE (line 3) | const NAMESPACE = 'loading'; function createLoading (line 5) | function createLoading(opts = {}) { FILE: packages/dva-loading/test/core.test.js method add (line 16) | add(state) { method addRemote (line 21) | *addRemote(action, { put }) { method add (line 61) | add(state) { method addRemote (line 66) | *addRemote(action, { put }) { method a (line 125) | *a(action, { call }) { method b (line 128) | *b(action, { call }) { method a (line 169) | *a(action, { call }) { method b (line 172) | *b(action, { call }) { method add (line 221) | add(state) { method a (line 266) | *a(action, { call }) { method b (line 269) | *b(action, { call }) { method onError (line 288) | onError(err) { method throwError (line 298) | *throwError(action, { call }) { FILE: packages/dva-loading/test/index.test.js method add (line 15) | add(state) { method addRemote (line 20) | *addRemote(action, { put }) { method add (line 61) | add(state) { method addRemote (line 66) | *addRemote(action, { put }) { method a (line 127) | *a(action, { call }) { method b (line 130) | *b(action, { call }) { method a (line 172) | *a(action, { call }) { method b (line 175) | *b(action, { call }) { method add (line 225) | add(state) { method a (line 271) | *a(action, { call }) { method b (line 274) | *b(action, { call }) { method onError (line 294) | onError(err) { method throwError (line 304) | *throwError(action, { call }) { FILE: packages/dva/index.d.ts type Dispatch (line 13) | interface Dispatch { type onActionFunc (line 17) | interface onActionFunc { type ReducerEnhancer (line 21) | interface ReducerEnhancer { type Hooks (line 25) | interface Hooks { type DvaOption (line 36) | type DvaOption = Hooks & { type EffectsCommandMap (line 42) | interface EffectsCommandMap { type Effect (line 51) | type Effect = (action: AnyAction, effects: EffectsCommandMap) => void; type EffectType (line 52) | type EffectType = 'takeEvery' | 'takeLatest' | 'watcher' | 'throttle'; type EffectWithType (line 53) | type EffectWithType = [Effect, { type: EffectType }]; type Subscription (line 54) | type Subscription = (api: SubscriptionAPI, done: Function) => void; type ReducersMapObjectWithEnhancer (line 55) | type ReducersMapObjectWithEnhancer = [ReducersMapObject, ReducerEnhancer]; type EffectsMapObject (line 57) | interface EffectsMapObject { type SubscriptionAPI (line 61) | interface SubscriptionAPI { type SubscriptionsMapObject (line 66) | interface SubscriptionsMapObject { type Model (line 70) | interface Model { type RouterAPI (line 78) | interface RouterAPI { type Router (line 83) | interface Router { type DvaInstance (line 87) | interface DvaInstance { FILE: packages/dva/src/dynamic.js function registerModel (line 4) | function registerModel(app, model) { function asyncComponent (line 14) | function asyncComponent(config) { function dynamic (line 56) | function dynamic(config) { FILE: packages/dva/src/index.js method setupMiddlewares (line 29) | setupMiddlewares(middlewares) { method setupApp (line 32) | setupApp(app) { function router (line 43) | function router(router) { function start (line 51) | function start(container) { function isHTMLElement (line 86) | function isHTMLElement(node) { function isString (line 90) | function isString(str) { function getProvider (line 94) | function getProvider(store, app, router) { function render (line 101) | function render(container, store, app, router) { function patchHistory (line 106) | function patchHistory(history) { FILE: packages/dva/test/index.e2e.js method add (line 26) | add(state) { method setup (line 45) | setup({ history, dispatch }) { method add (line 54) | add(state) { function Home (line 64) | function Home() { function Users (line 68) | function Users() { method add (line 104) | add(state) { method add (line 137) | add(state) { function Home (line 187) | function Home() { function Users (line 190) | function Users() { FILE: packages/dva/test/index.test.js method add (line 17) | add(state, { payload }) { method minus (line 20) | minus(state, { payload }) { method onStateChange (line 122) | onStateChange(state) { method add (line 130) | add(state) { FILE: scripts/publish.js function publishToNpm (line 57) | function publishToNpm() {