blob: 3aee9e4559a01163f609e04e7e96918c99f03de5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
import { Action } from "../flux/action";
export abstract class NavigationAction extends Action { }
export class NavigateToApplication<TState = { }> extends NavigationAction {
constructor(public applicationName: string, public href?: string, public state?: TState, public replace: boolean = false ) {
super();
}
}
export class PushAction<TState = { }> extends NavigationAction {
constructor(public href: string, public state?: TState) {
super();
}
}
export class ReplaceAction<TState = { }> extends NavigationAction {
constructor(public href: string, public state?: TState) {
super();
}
}
export class GoAction extends NavigationAction {
constructor(public index: number) {
super();
}
}
export class GoBackAction extends NavigationAction {
}
export class GoForwardeAction extends NavigationAction {
}
export class LocationChanged extends NavigationAction {
constructor(public pathname: string, public search: string, public hash: string ) {
super();
}
}
|