1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | var ProfileViewActionTypes;
|
4 | (function (ProfileViewActionTypes) {
|
5 | ProfileViewActionTypes["GET_PROFILE"] = "[USER][PROFILE] GET_PROFILE";
|
6 | ProfileViewActionTypes["GET_PROFILE_START"] = "[USER][PROFILE] GET_PROFILE_START";
|
7 | ProfileViewActionTypes["GET_PROFILE_SUCCEED"] = "[USER][PROFILE] GET_PROFILE_SUCCEED";
|
8 | ProfileViewActionTypes["GET_PROFILE_FAILED"] = "[USER][PROFILE] GET_PROFILE_FAILED";
|
9 | })(ProfileViewActionTypes = exports.ProfileViewActionTypes || (exports.ProfileViewActionTypes = {}));
|
10 | var GetProfile = (function () {
|
11 | function GetProfile() {
|
12 | this.type = ProfileViewActionTypes.GET_PROFILE;
|
13 | }
|
14 | return GetProfile;
|
15 | }());
|
16 | exports.GetProfile = GetProfile;
|
17 | var GetProfileStart = (function () {
|
18 | function GetProfileStart() {
|
19 | this.type = ProfileViewActionTypes.GET_PROFILE_START;
|
20 | }
|
21 | return GetProfileStart;
|
22 | }());
|
23 | exports.GetProfileStart = GetProfileStart;
|
24 | var GetProfileSucceed = (function () {
|
25 | function GetProfileSucceed(payload) {
|
26 | this.payload = payload;
|
27 | this.type = ProfileViewActionTypes.GET_PROFILE_SUCCEED;
|
28 | }
|
29 | return GetProfileSucceed;
|
30 | }());
|
31 | exports.GetProfileSucceed = GetProfileSucceed;
|
32 | var GetProfileFailed = (function () {
|
33 | function GetProfileFailed() {
|
34 | this.type = ProfileViewActionTypes.GET_PROFILE_FAILED;
|
35 | }
|
36 | return GetProfileFailed;
|
37 | }());
|
38 | exports.GetProfileFailed = GetProfileFailed;
|
39 |
|
\ | No newline at end of file |