doura-react
Advanced tools
Comparing version 0.0.0-rc.0 to 0.0.0-rc.1
@@ -1,6 +0,6 @@ | ||
import { AnyModel, Selector, ModelPublicInstance, ModelSnapshot } from 'doura'; | ||
import { AnyModel, Selector, ModelPublicInstance, ModelData } from 'doura'; | ||
declare type IActions<IModel extends AnyModel> = ModelPublicInstance<IModel>['$actions']; | ||
export interface IUseModel { | ||
<IModel extends AnyModel>(model: IModel): [ | ||
ModelSnapshot<IModel>, | ||
ModelData<IModel>, | ||
IActions<IModel> | ||
@@ -13,3 +13,3 @@ ]; | ||
{ | ||
current: ModelSnapshot<IModel>; | ||
current: ModelData<IModel>; | ||
}, | ||
@@ -16,0 +16,0 @@ IActions<IModel> |
@@ -1,6 +0,6 @@ | ||
import { AnyModel, Selector, ModelPublicInstance, ModelSnapshot } from 'doura'; | ||
import { AnyModel, Selector, ModelPublicInstance, ModelData } from 'doura'; | ||
declare type IActions<IModel extends AnyModel> = ModelPublicInstance<IModel>['$actions']; | ||
export interface IUseModel { | ||
<IModel extends AnyModel>(model: IModel): [ | ||
ModelSnapshot<IModel>, | ||
ModelData<IModel>, | ||
IActions<IModel> | ||
@@ -13,3 +13,3 @@ ]; | ||
{ | ||
current: ModelSnapshot<IModel>; | ||
current: ModelData<IModel>; | ||
}, | ||
@@ -16,0 +16,0 @@ IActions<IModel> |
@@ -1,6 +0,6 @@ | ||
import { AnyModel, Selector, ModelPublicInstance, ModelSnapshot } from 'doura'; | ||
import { AnyModel, Selector, ModelPublicInstance, ModelData } from 'doura'; | ||
declare type IActions<IModel extends AnyModel> = ModelPublicInstance<IModel>['$actions']; | ||
export interface IUseModel { | ||
<IModel extends AnyModel>(model: IModel): [ | ||
ModelSnapshot<IModel>, | ||
ModelData<IModel>, | ||
IActions<IModel> | ||
@@ -13,3 +13,3 @@ ]; | ||
{ | ||
current: ModelSnapshot<IModel>; | ||
current: ModelData<IModel>; | ||
}, | ||
@@ -16,0 +16,0 @@ IActions<IModel> |
{ | ||
"name": "doura-react", | ||
"version": "0.0.0-rc.0", | ||
"description": "Rematch core with react hooks", | ||
"version": "0.0.0-rc.1", | ||
"description": "Doura react integration", | ||
"main": "lib/index.js", | ||
@@ -61,3 +61,3 @@ "module": "esm/index.js", | ||
"peerDependencies": { | ||
"doura": "0.0.0-rc.0", | ||
"doura": "0.0.0-rc.1", | ||
"react": ">=16.8", | ||
@@ -64,0 +64,0 @@ "react-dom": ">=16.8" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
81492