UNPKG

1.61 kBJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var 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 = {}));
10var GetProfile = /** @class */ (function () {
11 function GetProfile() {
12 this.type = ProfileViewActionTypes.GET_PROFILE;
13 }
14 return GetProfile;
15}());
16exports.GetProfile = GetProfile;
17var GetProfileStart = /** @class */ (function () {
18 function GetProfileStart() {
19 this.type = ProfileViewActionTypes.GET_PROFILE_START;
20 }
21 return GetProfileStart;
22}());
23exports.GetProfileStart = GetProfileStart;
24var GetProfileSucceed = /** @class */ (function () {
25 function GetProfileSucceed(payload) {
26 this.payload = payload;
27 this.type = ProfileViewActionTypes.GET_PROFILE_SUCCEED;
28 }
29 return GetProfileSucceed;
30}());
31exports.GetProfileSucceed = GetProfileSucceed;
32var GetProfileFailed = /** @class */ (function () {
33 function GetProfileFailed() {
34 this.type = ProfileViewActionTypes.GET_PROFILE_FAILED;
35 }
36 return GetProfileFailed;
37}());
38exports.GetProfileFailed = GetProfileFailed;
39//# sourceMappingURL=profile-view.actions.js.map
\No newline at end of file