More redux work in fires page

This commit is contained in:
vjrj 2018-06-28 10:42:59 +02:00
parent 5d947f9577
commit 7dddf03e32
13 changed files with 210 additions and 54 deletions

View file

@ -11,12 +11,25 @@ class AddYourLocationAction extends YourLocationActions {
AddYourLocationAction(this.loc);
}
class AddedYourLocationAction extends YourLocationActions {
YourLocation loc;
AddedYourLocationAction(this.loc);
}
class DeleteYourLocationAction extends YourLocationActions {
ObjectId id;
DeleteYourLocationAction(this.id);
}
class DeletedYourLocationAction extends YourLocationActions {
ObjectId id;
DeletedYourLocationAction(this.id);
}
class UpdateYourLocationAction extends YourLocationActions {
ObjectId id;
YourLocation loc;
@ -25,9 +38,15 @@ class UpdateYourLocationAction extends YourLocationActions {
}
class ToggleSubscriptionAction extends YourLocationActions {
ObjectId id;
YourLocation loc;
ToggleSubscriptionAction(this.id);
ToggleSubscriptionAction(this.loc);
}
class ToggledSubscriptionAction extends YourLocationActions {
YourLocation loc;
ToggledSubscriptionAction(this.loc);
}
class SubscribeAction extends YourLocationActions {