Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
Merge branch 'develop' into babel7
Browse files Browse the repository at this point in the history
  • Loading branch information
abz53378 committed Jul 9, 2018
2 parents 9e1fd3b + ac4fc86 commit 3d3c757
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/action/types.js
Expand Up @@ -20,7 +20,7 @@ export type Action<T> = {
}


export interface Pattern<T> {
export type Pattern<T> = {
actions: Array<T>;

addAction(action: T): void;
Expand All @@ -36,7 +36,7 @@ export type ActionManagerStore = {
}>
}

export interface ActionManagerDef {
export type ActionManagerDef = {
store: ActionManagerStore;

addAction(action: Action<ActionType>): void;
Expand Down
33 changes: 33 additions & 0 deletions src/components/types.js
@@ -0,0 +1,33 @@
// @flow
import type {ApolloClient} from 'apollo-boost';
export type Connector = any;
export type CannerSchema = {[key: string]: Object};
export type LoadedSchema = {
schema: CannerSchema,
client: ApolloClient,
connectors: {[string]: Connector};
}
export interface CannerProps {
schema: {

},
dataDidChange: Object => void,
afterDeploy: Object => void,
children: React.ChildrenArray<React.Node>,
client: ApolloClient,
imageServiceConfigs: Object,
hocs: {[string]: React.ComponentType<*>},
goTo: (path: string) => void,
baseUrl: string,

history: {
push: (path: string) => void,
location: Object
},
intl: {
locale: string,
defaultLocale: string,
message: Object
},
hideButtons: boolean
}

0 comments on commit 3d3c757

Please sign in to comment.