@cerebral/fluent
Advanced tools
Comparing version 1.0.0-1518957951883 to 1.0.0-1519006927623
@@ -5,3 +5,3 @@ import { ObservableMap as MobxObservableMap } from 'mobx'; | ||
export { pathFor } from './paths'; | ||
export { SequenceFactory, SequenceWithPropsFactory, IContext, IBranchContext, IBranchWithNoDataContext } from 'function-tree/fluent'; | ||
export { SequenceFactory, SequenceWithPropsFactory, IContext, IBranchContext } from 'function-tree/fluent'; | ||
export { ComputedValue, Computed } from './Computed'; | ||
@@ -8,0 +8,0 @@ export { default as Container } from './Container'; |
{ | ||
"name": "@cerebral/fluent", | ||
"version": "1.0.0-1518957951883", | ||
"version": "1.0.0-1519006927623", | ||
"description": "Makes Cerebral typescript friendly", | ||
@@ -27,3 +27,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"cerebral": "^4.2.0-1518957951883", | ||
"cerebral": "^4.2.0-1519006927624", | ||
"mobx": "^3.4.1" | ||
@@ -30,0 +30,0 @@ }, |
@@ -172,9 +172,5 @@ # @cerebral/fluent | ||
interface Context<Props> extends IContext<Props>, Providers { | ||
state: State | ||
} | ||
export type Context<Props> = IContext<Props> & Providers; | ||
interface BranchContext<Paths, Props> extends IBranchContext<Paths, Props>, Providers { | ||
state: State | ||
} | ||
export type BranchContext<Paths, Props> = IBranchContext<Paths, Props> & Providers; | ||
@@ -199,8 +195,7 @@ export const connect = ConnectFactory<State, Signals>(); | ||
export interface Providers { | ||
http: HttpProvider | ||
http: HttpProvider, | ||
state: State | ||
} | ||
export interface Context<Props> extends IContext <Props>, Providers { | ||
state: State | ||
} | ||
export type Context<Props> = IContext<Props> & Providers; | ||
``` | ||
@@ -219,8 +214,7 @@ | ||
export interface Providers { | ||
http: HttpProvider | ||
http: HttpProvider, | ||
state: State | ||
} | ||
export interface BranchContext<Paths, Props> extends IBranchContext<Paths, Props>, Providers { | ||
state: State | ||
} | ||
export type BranchContext<Paths, Props> = IBranchContext<Paths, Props> & Providers | ||
``` | ||
@@ -227,0 +221,0 @@ |
61861
331