@selfcommunity/types 0.1.6-alpha.6 → 0.1.7-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +58 -1
- package/lib/cjs/types/avatar.js +3 -0
- package/lib/cjs/types/contribution.js +38 -0
- package/lib/cjs/types/customPage.js +3 -0
- package/lib/cjs/types/dataPortability.js +3 -0
- package/lib/cjs/types/feature.js +3 -0
- package/lib/cjs/types/flag.js +31 -0
- package/lib/cjs/types/incubator.js +24 -1
- package/lib/cjs/types/index.js +95 -1
- package/lib/cjs/types/insight.js +3 -0
- package/lib/cjs/types/legalPage.js +3 -0
- package/lib/cjs/types/platform.js +3 -0
- package/lib/cjs/types/preference.js +3 -0
- package/lib/cjs/types/privateMessage.js +4 -0
- package/lib/cjs/types/prize.js +24 -1
- package/lib/cjs/types/sso.js +3 -0
- package/lib/cjs/types/user.js +31 -2
- package/lib/cjs/types/vote.js +3 -0
- package/lib/esm/index.js +58 -1
- package/lib/esm/types/avatar.js +3 -0
- package/lib/esm/types/contribution.js +38 -0
- package/lib/esm/types/customPage.js +3 -0
- package/lib/esm/types/dataPortability.js +3 -0
- package/lib/esm/types/feature.js +3 -0
- package/lib/esm/types/flag.js +31 -0
- package/lib/esm/types/incubator.js +24 -1
- package/lib/esm/types/index.js +95 -1
- package/lib/esm/types/insight.js +3 -0
- package/lib/esm/types/legalPage.js +3 -0
- package/lib/esm/types/platform.js +3 -0
- package/lib/esm/types/preference.js +3 -0
- package/lib/esm/types/privateMessage.js +4 -0
- package/lib/esm/types/prize.js +24 -1
- package/lib/esm/types/sso.js +3 -0
- package/lib/esm/types/user.js +31 -2
- package/lib/esm/types/vote.js +3 -0
- package/lib/types/index.d.ts +2 -2
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/tsconfig.build.tsbuildinfo +1 -1
- package/lib/types/types/avatar.d.ts +26 -0
- package/lib/types/types/avatar.d.ts.map +1 -0
- package/lib/types/types/category.d.ts +7 -0
- package/lib/types/types/category.d.ts.map +1 -1
- package/lib/types/types/comment.d.ts +1 -1
- package/lib/types/types/comment.d.ts.map +1 -1
- package/lib/types/types/contribution.d.ts +64 -0
- package/lib/types/types/contribution.d.ts.map +1 -0
- package/lib/types/types/customPage.d.ts +18 -0
- package/lib/types/types/customPage.d.ts.map +1 -0
- package/lib/types/types/dataPortability.d.ts +30 -0
- package/lib/types/types/dataPortability.d.ts.map +1 -0
- package/lib/types/types/feature.d.ts +18 -0
- package/lib/types/types/feature.d.ts.map +1 -0
- package/lib/types/types/feed.d.ts +29 -0
- package/lib/types/types/feed.d.ts.map +1 -1
- package/lib/types/types/flag.d.ts +38 -0
- package/lib/types/types/flag.d.ts.map +1 -0
- package/lib/types/types/incubator.d.ts +15 -0
- package/lib/types/types/incubator.d.ts.map +1 -1
- package/lib/types/types/index.d.ts +22 -10
- package/lib/types/types/index.d.ts.map +1 -1
- package/lib/types/types/insight.d.ts +127 -0
- package/lib/types/types/insight.d.ts.map +1 -0
- package/lib/types/types/legalPage.d.ts +79 -0
- package/lib/types/types/legalPage.d.ts.map +1 -0
- package/lib/types/types/media.d.ts +17 -0
- package/lib/types/types/media.d.ts.map +1 -1
- package/lib/types/types/notification.d.ts +6 -0
- package/lib/types/types/notification.d.ts.map +1 -1
- package/lib/types/types/platform.d.ts +9 -0
- package/lib/types/types/platform.d.ts.map +1 -0
- package/lib/types/types/poll.d.ts +10 -0
- package/lib/types/types/poll.d.ts.map +1 -1
- package/lib/types/types/preference.d.ts +22 -0
- package/lib/types/types/preference.d.ts.map +1 -0
- package/lib/types/types/privateMessage.d.ts +21 -0
- package/lib/types/types/privateMessage.d.ts.map +1 -1
- package/lib/types/types/prize.d.ts +45 -0
- package/lib/types/types/prize.d.ts.map +1 -1
- package/lib/types/types/sso.d.ts +22 -0
- package/lib/types/types/sso.d.ts.map +1 -0
- package/lib/types/types/user.d.ts +306 -0
- package/lib/types/types/user.d.ts.map +1 -1
- package/lib/types/types/vote.d.ts +15 -0
- package/lib/types/types/vote.d.ts.map +1 -0
- package/lib/umd/types.js +1 -1
- package/lib/umd/types.js.map +1 -1
- package/package.json +2 -2
package/lib/cjs/index.js
CHANGED
|
@@ -15,14 +15,34 @@ exports.SCUserType = _types.SCUserType;
|
|
|
15
15
|
exports.SCUserSettingsType = _types.SCUserSettingsType;
|
|
16
16
|
exports.SCUserStatus = _types.SCUserStatus;
|
|
17
17
|
exports.SCUserBlockedSettingsType = _types.SCUserBlockedSettingsType;
|
|
18
|
+
exports.SCUserModerationType = _types.SCUserModerationType;
|
|
19
|
+
exports.SCUserScoreVariation = _types.SCUserScoreVariation;
|
|
20
|
+
exports.SCUserScoreType = _types.SCUserScoreType;
|
|
21
|
+
exports.SCUserReputationType = _types.SCUserReputationType;
|
|
22
|
+
exports.SCUserAutocompleteType = _types.SCUserAutocompleteType;
|
|
23
|
+
exports.SCUserCounterType = _types.SCUserCounterType;
|
|
24
|
+
exports.SCUserChangeEmailType = _types.SCUserChangeEmailType;
|
|
25
|
+
exports.SCUserAvatarType = _types.SCUserAvatarType;
|
|
26
|
+
exports.SCUserPermissionType = _types.SCUserPermissionType;
|
|
27
|
+
exports.SCUserFollowedStatusType = _types.SCUserFollowedStatusType;
|
|
28
|
+
exports.SCUserFollowerStatusType = _types.SCUserFollowerStatusType;
|
|
29
|
+
exports.SCUserConnectionStatusType = _types.SCUserConnectionStatusType;
|
|
30
|
+
exports.SCUserHiddenStatusType = _types.SCUserHiddenStatusType;
|
|
31
|
+
exports.SCUserHiddenByStatusType = _types.SCUserHiddenByStatusType;
|
|
32
|
+
exports.SCUserConnectionRequestType = _types.SCUserConnectionRequestType;
|
|
33
|
+
exports.SCUserEmailTokenType = _types.SCUserEmailTokenType;
|
|
18
34
|
exports.SCTagType = _types.SCTagType;
|
|
19
35
|
exports.SCCategoryType = _types.SCCategoryType;
|
|
36
|
+
exports.SCCategoryAudienceType = _types.SCCategoryAudienceType;
|
|
37
|
+
exports.SCCategoryFollowedStatusType = _types.SCCategoryFollowedStatusType;
|
|
20
38
|
exports.SCEmbedType = _types.SCEmbedType;
|
|
21
39
|
exports.SCMediaType = _types.SCMediaType;
|
|
40
|
+
exports.SCChunkMediaType = _types.SCChunkMediaType;
|
|
22
41
|
exports.SCContributionLocation = _types.SCContributionLocation;
|
|
23
42
|
exports.SCLocalityType = _types.SCLocalityType;
|
|
24
43
|
exports.SCPollChoiceType = _types.SCPollChoiceType;
|
|
25
44
|
exports.SCPollType = _types.SCPollType;
|
|
45
|
+
exports.SCPollVoteType = _types.SCPollVoteType;
|
|
26
46
|
exports.SCFeedUnitType = _types.SCFeedUnitType;
|
|
27
47
|
exports.SCFeedUnitActivityType = _types.SCFeedUnitActivityType;
|
|
28
48
|
exports.SCFeedObjectType = _types.SCFeedObjectType;
|
|
@@ -32,6 +52,10 @@ exports.SCFeedStatusType = _types.SCFeedStatusType;
|
|
|
32
52
|
exports.SCFeedObjectTypologyType = _types.SCFeedObjectTypologyType;
|
|
33
53
|
exports.SCFeedUnitActivityTypologyType = _types.SCFeedUnitActivityTypologyType;
|
|
34
54
|
exports.SCFeedTypologyType = _types.SCFeedTypologyType;
|
|
55
|
+
exports.SCFeedUnseenCountType = _types.SCFeedUnseenCountType;
|
|
56
|
+
exports.SCFeedObjectSuspendedStatusType = _types.SCFeedObjectSuspendedStatusType;
|
|
57
|
+
exports.SCFeedObjectHideStatusType = _types.SCFeedObjectHideStatusType;
|
|
58
|
+
exports.SCFeedObjectFollowingStatusType = _types.SCFeedObjectFollowingStatusType;
|
|
35
59
|
exports.SCCommentTypologyType = _types.SCCommentTypologyType;
|
|
36
60
|
exports.SCCommentsOrderBy = _types.SCCommentsOrderBy;
|
|
37
61
|
exports.SCCommentType = _types.SCCommentType;
|
|
@@ -39,6 +63,9 @@ exports.SCPrivateMessageType = _types.SCPrivateMessageType;
|
|
|
39
63
|
exports.SCPrivateMessageStatusType = _types.SCPrivateMessageStatusType;
|
|
40
64
|
exports.SCPrivateMessageFileType = _types.SCPrivateMessageFileType;
|
|
41
65
|
exports.SCMessageFileType = _types.SCMessageFileType;
|
|
66
|
+
exports.SCPrivateMessageUploadMediaType = _types.SCPrivateMessageUploadMediaType;
|
|
67
|
+
exports.SCPrivateMessageUploadThumbnailType = _types.SCPrivateMessageUploadThumbnailType;
|
|
68
|
+
exports.SCPrivateMessageUploadMediaChunkType = _types.SCPrivateMessageUploadMediaChunkType;
|
|
42
69
|
exports.SCNotificationTypologyType = _types.SCNotificationTypologyType;
|
|
43
70
|
exports.SCNotificationAggregatedType = _types.SCNotificationAggregatedType;
|
|
44
71
|
exports.SCNotificationCommentType = _types.SCNotificationCommentType;
|
|
@@ -58,11 +85,41 @@ exports.SCNotificationUnDeletedForType = _types.SCNotificationUnDeletedForType;
|
|
|
58
85
|
exports.SCNotificationUserFollowType = _types.SCNotificationUserFollowType;
|
|
59
86
|
exports.SCNotificationVoteUpType = _types.SCNotificationVoteUpType;
|
|
60
87
|
exports.SCCustomNotificationType = _types.SCCustomNotificationType;
|
|
88
|
+
exports.SCNotificationUnseenCountType = _types.SCNotificationUnseenCountType;
|
|
61
89
|
exports.SCIncubatorType = _types.SCIncubatorType;
|
|
90
|
+
exports.SCIncubatorSubscriptionType = _types.SCIncubatorSubscriptionType;
|
|
91
|
+
exports.SCIncubatorStatusType = _types.SCIncubatorStatusType;
|
|
62
92
|
exports.SCNotificationIncubatorType = _types.SCNotificationIncubatorType;
|
|
63
93
|
exports.SCNotificationTopicType = _types.SCNotificationTopicType;
|
|
64
94
|
exports.SCPrizeType = _types.SCPrizeType;
|
|
95
|
+
exports.SCPrizeUserType = _types.SCPrizeUserType;
|
|
96
|
+
exports.SCPrizeUserStatusType = _types.SCPrizeUserStatusType;
|
|
97
|
+
exports.SCUserLoyaltyPointsType = _types.SCUserLoyaltyPointsType;
|
|
65
98
|
exports.SCWebhookEndpointType = _types.SCWebhookEndpointType;
|
|
66
99
|
exports.SCWebhookEndpointAttemptType = _types.SCWebhookEndpointAttemptType;
|
|
67
100
|
exports.SCWebhookEndpointSecretType = _types.SCWebhookEndpointSecretType;
|
|
68
|
-
exports.SCWebhookEventsType = _types.SCWebhookEventsType;
|
|
101
|
+
exports.SCWebhookEventsType = _types.SCWebhookEventsType;
|
|
102
|
+
exports.SCVoteType = _types.SCVoteType;
|
|
103
|
+
exports.SCFlagType = _types.SCFlagType;
|
|
104
|
+
exports.SCFlagTypeEnum = _types.SCFlagTypeEnum;
|
|
105
|
+
exports.SCFlagModerationStatusType = _types.SCFlagModerationStatusType;
|
|
106
|
+
exports.SCCustomPageType = _types.SCCustomPageType;
|
|
107
|
+
exports.SCDataPortabilityType = _types.SCDataPortabilityType;
|
|
108
|
+
exports.SCPreferenceType = _types.SCPreferenceType;
|
|
109
|
+
exports.SCFeatureType = _types.SCFeatureType;
|
|
110
|
+
exports.SSOSignInType = _types.SSOSignInType;
|
|
111
|
+
exports.SSOSignUpType = _types.SSOSignUpType;
|
|
112
|
+
exports.SCLegalPageType = _types.SCLegalPageType;
|
|
113
|
+
exports.SCLegalPageAckType = _types.SCLegalPageAckType;
|
|
114
|
+
exports.SCContributionInsightCountersType = _types.SCContributionInsightCountersType;
|
|
115
|
+
exports.SCContributionInsightType = _types.SCContributionInsightType;
|
|
116
|
+
exports.SCEmbedInsightType = _types.SCEmbedInsightType;
|
|
117
|
+
exports.SCEmbedInsightCountersType = _types.SCEmbedInsightCountersType;
|
|
118
|
+
exports.SCUsersInsightType = _types.SCUsersInsightType;
|
|
119
|
+
exports.SCUsersInsightCountersType = _types.SCUsersInsightCountersType;
|
|
120
|
+
exports.SCFlaggedContributionType = _types.SCFlaggedContributionType;
|
|
121
|
+
exports.SCContributionType = _types.SCContributionType;
|
|
122
|
+
exports.SCContributionStatus = _types.SCContributionStatus;
|
|
123
|
+
exports.SCContributeStatusType = _types.SCContributeStatusType;
|
|
124
|
+
exports.SCPlatformType = _types.SCPlatformType;
|
|
125
|
+
exports.SCAvatarType = _types.SCAvatarType;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.SCContributionType = exports.SCContributeStatusType = void 0;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* SCFlaggedContributionType
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Contribute types
|
|
12
|
+
*/
|
|
13
|
+
let SCContributionType;
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
exports.SCContributionType = SCContributionType;
|
|
19
|
+
|
|
20
|
+
(function (SCContributionType) {
|
|
21
|
+
SCContributionType["DISCUSSION"] = "discussion";
|
|
22
|
+
SCContributionType["POST"] = "post";
|
|
23
|
+
SCContributionType["STATUS"] = "status";
|
|
24
|
+
SCContributionType["COMMENT"] = "comment";
|
|
25
|
+
})(SCContributionType || (exports.SCContributionType = SCContributionType = {}));
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Contribute status types
|
|
29
|
+
*/
|
|
30
|
+
let SCContributeStatusType;
|
|
31
|
+
exports.SCContributeStatusType = SCContributeStatusType;
|
|
32
|
+
|
|
33
|
+
(function (SCContributeStatusType) {
|
|
34
|
+
SCContributeStatusType["OPEN"] = "open";
|
|
35
|
+
SCContributeStatusType["IGNORED"] = "ignored";
|
|
36
|
+
SCContributeStatusType["HIDDEN"] = "hidden";
|
|
37
|
+
SCContributeStatusType["DELETED"] = "deleted";
|
|
38
|
+
})(SCContributeStatusType || (exports.SCContributeStatusType = SCContributeStatusType = {}));
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.SCFlagTypeEnum = exports.SCFlagModerationStatusType = void 0;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* SCFlagType interface
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Typology of flags
|
|
12
|
+
*/
|
|
13
|
+
let SCFlagTypeEnum;
|
|
14
|
+
exports.SCFlagTypeEnum = SCFlagTypeEnum;
|
|
15
|
+
|
|
16
|
+
(function (SCFlagTypeEnum) {
|
|
17
|
+
SCFlagTypeEnum[SCFlagTypeEnum["SPAM"] = 0] = "SPAM";
|
|
18
|
+
SCFlagTypeEnum[SCFlagTypeEnum["AGGRESSIVE"] = 1] = "AGGRESSIVE";
|
|
19
|
+
SCFlagTypeEnum[SCFlagTypeEnum["VULGAR"] = 2] = "VULGAR";
|
|
20
|
+
SCFlagTypeEnum[SCFlagTypeEnum["POOR"] = 3] = "POOR";
|
|
21
|
+
SCFlagTypeEnum[SCFlagTypeEnum["OFFTOPIC"] = 4] = "OFFTOPIC";
|
|
22
|
+
})(SCFlagTypeEnum || (exports.SCFlagTypeEnum = SCFlagTypeEnum = {}));
|
|
23
|
+
|
|
24
|
+
let SCFlagModerationStatusType;
|
|
25
|
+
exports.SCFlagModerationStatusType = SCFlagModerationStatusType;
|
|
26
|
+
|
|
27
|
+
(function (SCFlagModerationStatusType) {
|
|
28
|
+
SCFlagModerationStatusType["IGNORED"] = "ignored";
|
|
29
|
+
SCFlagModerationStatusType["DELETED"] = "deleted";
|
|
30
|
+
SCFlagModerationStatusType["HIDDEN"] = "hidden";
|
|
31
|
+
})(SCFlagModerationStatusType || (exports.SCFlagModerationStatusType = SCFlagModerationStatusType = {}));
|
|
@@ -1,3 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
exports.__esModule = true;
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.SCIncubatorStatusType = void 0;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Interface SCIncubatorType.
|
|
8
|
+
* Incubator Schema.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* SCIncubatorSubscriptionType inerface
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* SCIncubatorStatusType enum
|
|
17
|
+
*/
|
|
18
|
+
let SCIncubatorStatusType;
|
|
19
|
+
exports.SCIncubatorStatusType = SCIncubatorStatusType;
|
|
20
|
+
|
|
21
|
+
(function (SCIncubatorStatusType) {
|
|
22
|
+
SCIncubatorStatusType[SCIncubatorStatusType["PENDING"] = 0] = "PENDING";
|
|
23
|
+
SCIncubatorStatusType[SCIncubatorStatusType["PROPOSAL"] = 1] = "PROPOSAL";
|
|
24
|
+
SCIncubatorStatusType[SCIncubatorStatusType["APPROVED"] = 2] = "APPROVED";
|
|
25
|
+
SCIncubatorStatusType[SCIncubatorStatusType["IGNORED"] = 3] = "IGNORED";
|
|
26
|
+
})(SCIncubatorStatusType || (exports.SCIncubatorStatusType = SCIncubatorStatusType = {}));
|
package/lib/cjs/types/index.js
CHANGED
|
@@ -24,6 +24,22 @@ exports.SCUserBlockedSettingsType = _user.SCUserBlockedSettingsType;
|
|
|
24
24
|
exports.SCUserFields = _user.SCUserFields;
|
|
25
25
|
exports.SCUserSettingsType = _user.SCUserSettingsType;
|
|
26
26
|
exports.SCUserStatus = _user.SCUserStatus;
|
|
27
|
+
exports.SCUserModerationType = _user.SCUserModerationType;
|
|
28
|
+
exports.SCUserScoreVariation = _user.SCUserScoreVariation;
|
|
29
|
+
exports.SCUserScoreType = _user.SCUserScoreType;
|
|
30
|
+
exports.SCUserReputationType = _user.SCUserReputationType;
|
|
31
|
+
exports.SCUserAutocompleteType = _user.SCUserAutocompleteType;
|
|
32
|
+
exports.SCUserCounterType = _user.SCUserCounterType;
|
|
33
|
+
exports.SCUserChangeEmailType = _user.SCUserChangeEmailType;
|
|
34
|
+
exports.SCUserAvatarType = _user.SCUserAvatarType;
|
|
35
|
+
exports.SCUserPermissionType = _user.SCUserPermissionType;
|
|
36
|
+
exports.SCUserFollowedStatusType = _user.SCUserFollowedStatusType;
|
|
37
|
+
exports.SCUserFollowerStatusType = _user.SCUserFollowerStatusType;
|
|
38
|
+
exports.SCUserConnectionStatusType = _user.SCUserConnectionStatusType;
|
|
39
|
+
exports.SCUserHiddenStatusType = _user.SCUserHiddenStatusType;
|
|
40
|
+
exports.SCUserHiddenByStatusType = _user.SCUserHiddenByStatusType;
|
|
41
|
+
exports.SCUserConnectionRequestType = _user.SCUserConnectionRequestType;
|
|
42
|
+
exports.SCUserEmailTokenType = _user.SCUserEmailTokenType;
|
|
27
43
|
|
|
28
44
|
var _tag = require("./tag");
|
|
29
45
|
|
|
@@ -32,6 +48,8 @@ exports.SCTagType = _tag.SCTagType;
|
|
|
32
48
|
var _category = require("./category");
|
|
33
49
|
|
|
34
50
|
exports.SCCategoryType = _category.SCCategoryType;
|
|
51
|
+
exports.SCCategoryAudienceType = _category.SCCategoryAudienceType;
|
|
52
|
+
exports.SCCategoryFollowedStatusType = _category.SCCategoryFollowedStatusType;
|
|
35
53
|
|
|
36
54
|
var _embed = require("./embed");
|
|
37
55
|
|
|
@@ -40,6 +58,7 @@ exports.SCEmbedType = _embed.SCEmbedType;
|
|
|
40
58
|
var _media = require("./media");
|
|
41
59
|
|
|
42
60
|
exports.SCMediaType = _media.SCMediaType;
|
|
61
|
+
exports.SCChunkMediaType = _media.SCChunkMediaType;
|
|
43
62
|
|
|
44
63
|
var _location = require("./location");
|
|
45
64
|
|
|
@@ -50,6 +69,7 @@ var _poll = require("./poll");
|
|
|
50
69
|
|
|
51
70
|
exports.SCPollChoiceType = _poll.SCPollChoiceType;
|
|
52
71
|
exports.SCPollType = _poll.SCPollType;
|
|
72
|
+
exports.SCPollVoteType = _poll.SCPollVoteType;
|
|
53
73
|
|
|
54
74
|
var _comment = require("./comment");
|
|
55
75
|
|
|
@@ -63,10 +83,15 @@ exports.SCPrivateMessageType = _privateMessage.SCPrivateMessageType;
|
|
|
63
83
|
exports.SCPrivateMessageStatusType = _privateMessage.SCPrivateMessageStatusType;
|
|
64
84
|
exports.SCPrivateMessageFileType = _privateMessage.SCPrivateMessageFileType;
|
|
65
85
|
exports.SCMessageFileType = _privateMessage.SCMessageFileType;
|
|
86
|
+
exports.SCPrivateMessageUploadMediaType = _privateMessage.SCPrivateMessageUploadMediaType;
|
|
87
|
+
exports.SCPrivateMessageUploadThumbnailType = _privateMessage.SCPrivateMessageUploadThumbnailType;
|
|
88
|
+
exports.SCPrivateMessageUploadMediaChunkType = _privateMessage.SCPrivateMessageUploadMediaChunkType;
|
|
66
89
|
|
|
67
90
|
var _incubator = require("./incubator");
|
|
68
91
|
|
|
69
92
|
exports.SCIncubatorType = _incubator.SCIncubatorType;
|
|
93
|
+
exports.SCIncubatorSubscriptionType = _incubator.SCIncubatorSubscriptionType;
|
|
94
|
+
exports.SCIncubatorStatusType = _incubator.SCIncubatorStatusType;
|
|
70
95
|
|
|
71
96
|
var _customNotification = require("./customNotification");
|
|
72
97
|
|
|
@@ -75,6 +100,9 @@ exports.SCCustomNotificationType = _customNotification.SCCustomNotificationType;
|
|
|
75
100
|
var _prize = require("./prize");
|
|
76
101
|
|
|
77
102
|
exports.SCPrizeType = _prize.SCPrizeType;
|
|
103
|
+
exports.SCPrizeUserType = _prize.SCPrizeUserType;
|
|
104
|
+
exports.SCPrizeUserStatusType = _prize.SCPrizeUserStatusType;
|
|
105
|
+
exports.SCUserLoyaltyPointsType = _prize.SCUserLoyaltyPointsType;
|
|
78
106
|
|
|
79
107
|
var _feed = require("./feed");
|
|
80
108
|
|
|
@@ -87,6 +115,11 @@ exports.SCFeedStatusType = _feed.SCFeedStatusType;
|
|
|
87
115
|
exports.SCFeedObjectTypologyType = _feed.SCFeedObjectTypologyType;
|
|
88
116
|
exports.SCFeedUnitActivityTypologyType = _feed.SCFeedUnitActivityTypologyType;
|
|
89
117
|
exports.SCFeedTypologyType = _feed.SCFeedTypologyType;
|
|
118
|
+
exports.SCFeedUnseenCountType = _feed.SCFeedUnseenCountType;
|
|
119
|
+
exports.SCCountByCategoryType = _feed.SCCountByCategoryType;
|
|
120
|
+
exports.SCFeedObjectSuspendedStatusType = _feed.SCFeedObjectSuspendedStatusType;
|
|
121
|
+
exports.SCFeedObjectHideStatusType = _feed.SCFeedObjectHideStatusType;
|
|
122
|
+
exports.SCFeedObjectFollowingStatusType = _feed.SCFeedObjectFollowingStatusType;
|
|
90
123
|
|
|
91
124
|
var _notification = require("./notification");
|
|
92
125
|
|
|
@@ -110,10 +143,71 @@ exports.SCNotificationUserFollowType = _notification.SCNotificationUserFollowTyp
|
|
|
110
143
|
exports.SCNotificationVoteUpType = _notification.SCNotificationVoteUpType;
|
|
111
144
|
exports.SCNotificationIncubatorType = _notification.SCNotificationIncubatorType;
|
|
112
145
|
exports.SCNotificationTopicType = _notification.SCNotificationTopicType;
|
|
146
|
+
exports.SCNotificationUnseenCountType = _notification.SCNotificationUnseenCountType;
|
|
113
147
|
|
|
114
148
|
var _webhook = require("./webhook");
|
|
115
149
|
|
|
116
150
|
exports.SCWebhookEndpointType = _webhook.SCWebhookEndpointType;
|
|
117
151
|
exports.SCWebhookEndpointAttemptType = _webhook.SCWebhookEndpointAttemptType;
|
|
118
152
|
exports.SCWebhookEndpointSecretType = _webhook.SCWebhookEndpointSecretType;
|
|
119
|
-
exports.SCWebhookEventsType = _webhook.SCWebhookEventsType;
|
|
153
|
+
exports.SCWebhookEventsType = _webhook.SCWebhookEventsType;
|
|
154
|
+
|
|
155
|
+
var _vote = require("./vote");
|
|
156
|
+
|
|
157
|
+
exports.SCVoteType = _vote.SCVoteType;
|
|
158
|
+
|
|
159
|
+
var _flag = require("./flag");
|
|
160
|
+
|
|
161
|
+
exports.SCFlagType = _flag.SCFlagType;
|
|
162
|
+
exports.SCFlagTypeEnum = _flag.SCFlagTypeEnum;
|
|
163
|
+
exports.SCFlagModerationStatusType = _flag.SCFlagModerationStatusType;
|
|
164
|
+
|
|
165
|
+
var _customPage = require("./customPage");
|
|
166
|
+
|
|
167
|
+
exports.SCCustomPageType = _customPage.SCCustomPageType;
|
|
168
|
+
|
|
169
|
+
var _dataPortability = require("./dataPortability");
|
|
170
|
+
|
|
171
|
+
exports.SCDataPortabilityType = _dataPortability.SCDataPortabilityType;
|
|
172
|
+
|
|
173
|
+
var _preference = require("./preference");
|
|
174
|
+
|
|
175
|
+
exports.SCPreferenceType = _preference.SCPreferenceType;
|
|
176
|
+
|
|
177
|
+
var _feature = require("./feature");
|
|
178
|
+
|
|
179
|
+
exports.SCFeatureType = _feature.SCFeatureType;
|
|
180
|
+
|
|
181
|
+
var _sso = require("./sso");
|
|
182
|
+
|
|
183
|
+
exports.SSOSignInType = _sso.SSOSignInType;
|
|
184
|
+
exports.SSOSignUpType = _sso.SSOSignUpType;
|
|
185
|
+
|
|
186
|
+
var _legalPage = require("./legalPage");
|
|
187
|
+
|
|
188
|
+
exports.SCLegalPageType = _legalPage.SCLegalPageType;
|
|
189
|
+
exports.SCLegalPageAckType = _legalPage.SCLegalPageAckType;
|
|
190
|
+
|
|
191
|
+
var _insight = require("./insight");
|
|
192
|
+
|
|
193
|
+
exports.SCContributionInsightType = _insight.SCContributionInsightType;
|
|
194
|
+
exports.SCContributionInsightCountersType = _insight.SCContributionInsightCountersType;
|
|
195
|
+
exports.SCEmbedInsightType = _insight.SCEmbedInsightType;
|
|
196
|
+
exports.SCEmbedInsightCountersType = _insight.SCEmbedInsightCountersType;
|
|
197
|
+
exports.SCUsersInsightType = _insight.SCUsersInsightType;
|
|
198
|
+
exports.SCUsersInsightCountersType = _insight.SCUsersInsightCountersType;
|
|
199
|
+
|
|
200
|
+
var _contribution = require("./contribution");
|
|
201
|
+
|
|
202
|
+
exports.SCFlaggedContributionType = _contribution.SCFlaggedContributionType;
|
|
203
|
+
exports.SCContributionType = _contribution.SCContributionType;
|
|
204
|
+
exports.SCContributionStatus = _contribution.SCContributionStatus;
|
|
205
|
+
exports.SCContributeStatusType = _contribution.SCContributeStatusType;
|
|
206
|
+
|
|
207
|
+
var _platform = require("./platform");
|
|
208
|
+
|
|
209
|
+
exports.SCPlatformType = _platform.SCPlatformType;
|
|
210
|
+
|
|
211
|
+
var _avatar = require("./avatar");
|
|
212
|
+
|
|
213
|
+
exports.SCAvatarType = _avatar.SCAvatarType;
|
|
@@ -27,6 +27,10 @@ exports.SCPrivateMessageStatusType = SCPrivateMessageStatusType;
|
|
|
27
27
|
* created, deleted or hidden message
|
|
28
28
|
*/
|
|
29
29
|
let SCMessageFileType;
|
|
30
|
+
/**
|
|
31
|
+
* SCPrivateMessageUploadMediaType interface
|
|
32
|
+
*/
|
|
33
|
+
|
|
30
34
|
exports.SCMessageFileType = SCMessageFileType;
|
|
31
35
|
|
|
32
36
|
(function (SCMessageFileType) {
|
package/lib/cjs/types/prize.js
CHANGED
|
@@ -1,3 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
exports.__esModule = true;
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.SCPrizeUserStatusType = void 0;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Interface SCPrizeType.
|
|
8
|
+
* Prize Schema.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* SCPrizeUserType interface
|
|
13
|
+
* Loyalty Prize User Schema
|
|
14
|
+
*/
|
|
15
|
+
let SCPrizeUserStatusType;
|
|
16
|
+
/**
|
|
17
|
+
* Interface SCUserLoyaltyPointsType
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
exports.SCPrizeUserStatusType = SCPrizeUserStatusType;
|
|
21
|
+
|
|
22
|
+
(function (SCPrizeUserStatusType) {
|
|
23
|
+
SCPrizeUserStatusType[SCPrizeUserStatusType["PENDING"] = 0] = "PENDING";
|
|
24
|
+
SCPrizeUserStatusType[SCPrizeUserStatusType["REFUSED"] = 1] = "REFUSED";
|
|
25
|
+
SCPrizeUserStatusType[SCPrizeUserStatusType["SENT"] = 2] = "SENT";
|
|
26
|
+
})(SCPrizeUserStatusType || (exports.SCPrizeUserStatusType = SCPrizeUserStatusType = {}));
|
package/lib/cjs/types/user.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
|
-
exports.SCUserStatus = exports.SCUserFields = void 0;
|
|
4
|
+
exports.SCUserStatus = exports.SCUserReputationType = exports.SCUserFields = void 0;
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Interface SCUserType.
|
|
@@ -38,4 +38,33 @@ exports.SCUserStatus = SCUserStatus;
|
|
|
38
38
|
SCUserStatus["BLOCKED"] = "b";
|
|
39
39
|
SCUserStatus["DELETED"] = "d";
|
|
40
40
|
SCUserStatus["UNREGISTERED"] = "u";
|
|
41
|
-
})(SCUserStatus || (exports.SCUserStatus = SCUserStatus = {}));
|
|
41
|
+
})(SCUserStatus || (exports.SCUserStatus = SCUserStatus = {}));
|
|
42
|
+
|
|
43
|
+
let SCUserReputationType;
|
|
44
|
+
/**
|
|
45
|
+
* SCUserScoreVariation interface
|
|
46
|
+
*/
|
|
47
|
+
|
|
48
|
+
exports.SCUserReputationType = SCUserReputationType;
|
|
49
|
+
|
|
50
|
+
(function (SCUserReputationType) {
|
|
51
|
+
SCUserReputationType[SCUserReputationType["GAIN_BY_UPVOTED"] = 1] = "GAIN_BY_UPVOTED";
|
|
52
|
+
SCUserReputationType[SCUserReputationType["ASSIGNED_BY_MODERATOR"] = 10] = "ASSIGNED_BY_MODERATOR";
|
|
53
|
+
SCUserReputationType[SCUserReputationType["GAIN_BY_CANCELLING_CONTRIBUTE_MODERATION"] = 11] = "GAIN_BY_CANCELLING_CONTRIBUTE_MODERATION";
|
|
54
|
+
SCUserReputationType[SCUserReputationType["GAIN_BY_MAKE_POST"] = 12] = "GAIN_BY_MAKE_POST";
|
|
55
|
+
SCUserReputationType[SCUserReputationType["GAIN_BY_MAKE_FIRST_LEVEL_COMMENT"] = 13] = "GAIN_BY_MAKE_FIRST_LEVEL_COMMENT";
|
|
56
|
+
SCUserReputationType[SCUserReputationType["GAIN_BY_MAKE_SECOND_LEVEL_COMMENT"] = 14] = "GAIN_BY_MAKE_SECOND_LEVEL_COMMENT";
|
|
57
|
+
SCUserReputationType[SCUserReputationType["GAIN_BY_CONNECTION"] = 15] = "GAIN_BY_CONNECTION";
|
|
58
|
+
SCUserReputationType[SCUserReputationType["GAIN_BY_APP_USED"] = 17] = "GAIN_BY_APP_USED";
|
|
59
|
+
SCUserReputationType[SCUserReputationType["GAIN_BY_DAILY_VISIT"] = 18] = "GAIN_BY_DAILY_VISIT";
|
|
60
|
+
SCUserReputationType[SCUserReputationType["GAIN_BY_FOLLOWER"] = 19] = "GAIN_BY_FOLLOWER";
|
|
61
|
+
SCUserReputationType[SCUserReputationType["GAIN_BY_UNBLOCK_ACCOUNT"] = 20] = "GAIN_BY_UNBLOCK_ACCOUNT";
|
|
62
|
+
SCUserReputationType[SCUserReputationType["LOSE_BY_UPVOTE_CANCELED"] = -1] = "LOSE_BY_UPVOTE_CANCELED";
|
|
63
|
+
SCUserReputationType[SCUserReputationType["LOSE_BY_CONTRIBUTE_MODERATION"] = -11] = "LOSE_BY_CONTRIBUTE_MODERATION";
|
|
64
|
+
SCUserReputationType[SCUserReputationType["LOSE_BY_DELETE_POST"] = -12] = "LOSE_BY_DELETE_POST";
|
|
65
|
+
SCUserReputationType[SCUserReputationType["LOSE_BY_DELETE_FIRST_LEVEL_COMMENT"] = -13] = "LOSE_BY_DELETE_FIRST_LEVEL_COMMENT";
|
|
66
|
+
SCUserReputationType[SCUserReputationType["LOSE_BY_DELETE_SECOND_LEVEL_COMMENT"] = -14] = "LOSE_BY_DELETE_SECOND_LEVEL_COMMENT";
|
|
67
|
+
SCUserReputationType[SCUserReputationType["LOSE_BY_CONNECTION"] = -15] = "LOSE_BY_CONNECTION";
|
|
68
|
+
SCUserReputationType[SCUserReputationType["LOSE_BY_FOLLOWER"] = -19] = "LOSE_BY_FOLLOWER";
|
|
69
|
+
SCUserReputationType[SCUserReputationType["LOSE_BY_BLOCK_ACCOUNT"] = -20] = "LOSE_BY_BLOCK_ACCOUNT";
|
|
70
|
+
})(SCUserReputationType || (exports.SCUserReputationType = SCUserReputationType = {}));
|
package/lib/esm/index.js
CHANGED
|
@@ -15,14 +15,34 @@ exports.SCUserType = _types.SCUserType;
|
|
|
15
15
|
exports.SCUserSettingsType = _types.SCUserSettingsType;
|
|
16
16
|
exports.SCUserStatus = _types.SCUserStatus;
|
|
17
17
|
exports.SCUserBlockedSettingsType = _types.SCUserBlockedSettingsType;
|
|
18
|
+
exports.SCUserModerationType = _types.SCUserModerationType;
|
|
19
|
+
exports.SCUserScoreVariation = _types.SCUserScoreVariation;
|
|
20
|
+
exports.SCUserScoreType = _types.SCUserScoreType;
|
|
21
|
+
exports.SCUserReputationType = _types.SCUserReputationType;
|
|
22
|
+
exports.SCUserAutocompleteType = _types.SCUserAutocompleteType;
|
|
23
|
+
exports.SCUserCounterType = _types.SCUserCounterType;
|
|
24
|
+
exports.SCUserChangeEmailType = _types.SCUserChangeEmailType;
|
|
25
|
+
exports.SCUserAvatarType = _types.SCUserAvatarType;
|
|
26
|
+
exports.SCUserPermissionType = _types.SCUserPermissionType;
|
|
27
|
+
exports.SCUserFollowedStatusType = _types.SCUserFollowedStatusType;
|
|
28
|
+
exports.SCUserFollowerStatusType = _types.SCUserFollowerStatusType;
|
|
29
|
+
exports.SCUserConnectionStatusType = _types.SCUserConnectionStatusType;
|
|
30
|
+
exports.SCUserHiddenStatusType = _types.SCUserHiddenStatusType;
|
|
31
|
+
exports.SCUserHiddenByStatusType = _types.SCUserHiddenByStatusType;
|
|
32
|
+
exports.SCUserConnectionRequestType = _types.SCUserConnectionRequestType;
|
|
33
|
+
exports.SCUserEmailTokenType = _types.SCUserEmailTokenType;
|
|
18
34
|
exports.SCTagType = _types.SCTagType;
|
|
19
35
|
exports.SCCategoryType = _types.SCCategoryType;
|
|
36
|
+
exports.SCCategoryAudienceType = _types.SCCategoryAudienceType;
|
|
37
|
+
exports.SCCategoryFollowedStatusType = _types.SCCategoryFollowedStatusType;
|
|
20
38
|
exports.SCEmbedType = _types.SCEmbedType;
|
|
21
39
|
exports.SCMediaType = _types.SCMediaType;
|
|
40
|
+
exports.SCChunkMediaType = _types.SCChunkMediaType;
|
|
22
41
|
exports.SCContributionLocation = _types.SCContributionLocation;
|
|
23
42
|
exports.SCLocalityType = _types.SCLocalityType;
|
|
24
43
|
exports.SCPollChoiceType = _types.SCPollChoiceType;
|
|
25
44
|
exports.SCPollType = _types.SCPollType;
|
|
45
|
+
exports.SCPollVoteType = _types.SCPollVoteType;
|
|
26
46
|
exports.SCFeedUnitType = _types.SCFeedUnitType;
|
|
27
47
|
exports.SCFeedUnitActivityType = _types.SCFeedUnitActivityType;
|
|
28
48
|
exports.SCFeedObjectType = _types.SCFeedObjectType;
|
|
@@ -32,6 +52,10 @@ exports.SCFeedStatusType = _types.SCFeedStatusType;
|
|
|
32
52
|
exports.SCFeedObjectTypologyType = _types.SCFeedObjectTypologyType;
|
|
33
53
|
exports.SCFeedUnitActivityTypologyType = _types.SCFeedUnitActivityTypologyType;
|
|
34
54
|
exports.SCFeedTypologyType = _types.SCFeedTypologyType;
|
|
55
|
+
exports.SCFeedUnseenCountType = _types.SCFeedUnseenCountType;
|
|
56
|
+
exports.SCFeedObjectSuspendedStatusType = _types.SCFeedObjectSuspendedStatusType;
|
|
57
|
+
exports.SCFeedObjectHideStatusType = _types.SCFeedObjectHideStatusType;
|
|
58
|
+
exports.SCFeedObjectFollowingStatusType = _types.SCFeedObjectFollowingStatusType;
|
|
35
59
|
exports.SCCommentTypologyType = _types.SCCommentTypologyType;
|
|
36
60
|
exports.SCCommentsOrderBy = _types.SCCommentsOrderBy;
|
|
37
61
|
exports.SCCommentType = _types.SCCommentType;
|
|
@@ -39,6 +63,9 @@ exports.SCPrivateMessageType = _types.SCPrivateMessageType;
|
|
|
39
63
|
exports.SCPrivateMessageStatusType = _types.SCPrivateMessageStatusType;
|
|
40
64
|
exports.SCPrivateMessageFileType = _types.SCPrivateMessageFileType;
|
|
41
65
|
exports.SCMessageFileType = _types.SCMessageFileType;
|
|
66
|
+
exports.SCPrivateMessageUploadMediaType = _types.SCPrivateMessageUploadMediaType;
|
|
67
|
+
exports.SCPrivateMessageUploadThumbnailType = _types.SCPrivateMessageUploadThumbnailType;
|
|
68
|
+
exports.SCPrivateMessageUploadMediaChunkType = _types.SCPrivateMessageUploadMediaChunkType;
|
|
42
69
|
exports.SCNotificationTypologyType = _types.SCNotificationTypologyType;
|
|
43
70
|
exports.SCNotificationAggregatedType = _types.SCNotificationAggregatedType;
|
|
44
71
|
exports.SCNotificationCommentType = _types.SCNotificationCommentType;
|
|
@@ -58,11 +85,41 @@ exports.SCNotificationUnDeletedForType = _types.SCNotificationUnDeletedForType;
|
|
|
58
85
|
exports.SCNotificationUserFollowType = _types.SCNotificationUserFollowType;
|
|
59
86
|
exports.SCNotificationVoteUpType = _types.SCNotificationVoteUpType;
|
|
60
87
|
exports.SCCustomNotificationType = _types.SCCustomNotificationType;
|
|
88
|
+
exports.SCNotificationUnseenCountType = _types.SCNotificationUnseenCountType;
|
|
61
89
|
exports.SCIncubatorType = _types.SCIncubatorType;
|
|
90
|
+
exports.SCIncubatorSubscriptionType = _types.SCIncubatorSubscriptionType;
|
|
91
|
+
exports.SCIncubatorStatusType = _types.SCIncubatorStatusType;
|
|
62
92
|
exports.SCNotificationIncubatorType = _types.SCNotificationIncubatorType;
|
|
63
93
|
exports.SCNotificationTopicType = _types.SCNotificationTopicType;
|
|
64
94
|
exports.SCPrizeType = _types.SCPrizeType;
|
|
95
|
+
exports.SCPrizeUserType = _types.SCPrizeUserType;
|
|
96
|
+
exports.SCPrizeUserStatusType = _types.SCPrizeUserStatusType;
|
|
97
|
+
exports.SCUserLoyaltyPointsType = _types.SCUserLoyaltyPointsType;
|
|
65
98
|
exports.SCWebhookEndpointType = _types.SCWebhookEndpointType;
|
|
66
99
|
exports.SCWebhookEndpointAttemptType = _types.SCWebhookEndpointAttemptType;
|
|
67
100
|
exports.SCWebhookEndpointSecretType = _types.SCWebhookEndpointSecretType;
|
|
68
|
-
exports.SCWebhookEventsType = _types.SCWebhookEventsType;
|
|
101
|
+
exports.SCWebhookEventsType = _types.SCWebhookEventsType;
|
|
102
|
+
exports.SCVoteType = _types.SCVoteType;
|
|
103
|
+
exports.SCFlagType = _types.SCFlagType;
|
|
104
|
+
exports.SCFlagTypeEnum = _types.SCFlagTypeEnum;
|
|
105
|
+
exports.SCFlagModerationStatusType = _types.SCFlagModerationStatusType;
|
|
106
|
+
exports.SCCustomPageType = _types.SCCustomPageType;
|
|
107
|
+
exports.SCDataPortabilityType = _types.SCDataPortabilityType;
|
|
108
|
+
exports.SCPreferenceType = _types.SCPreferenceType;
|
|
109
|
+
exports.SCFeatureType = _types.SCFeatureType;
|
|
110
|
+
exports.SSOSignInType = _types.SSOSignInType;
|
|
111
|
+
exports.SSOSignUpType = _types.SSOSignUpType;
|
|
112
|
+
exports.SCLegalPageType = _types.SCLegalPageType;
|
|
113
|
+
exports.SCLegalPageAckType = _types.SCLegalPageAckType;
|
|
114
|
+
exports.SCContributionInsightCountersType = _types.SCContributionInsightCountersType;
|
|
115
|
+
exports.SCContributionInsightType = _types.SCContributionInsightType;
|
|
116
|
+
exports.SCEmbedInsightType = _types.SCEmbedInsightType;
|
|
117
|
+
exports.SCEmbedInsightCountersType = _types.SCEmbedInsightCountersType;
|
|
118
|
+
exports.SCUsersInsightType = _types.SCUsersInsightType;
|
|
119
|
+
exports.SCUsersInsightCountersType = _types.SCUsersInsightCountersType;
|
|
120
|
+
exports.SCFlaggedContributionType = _types.SCFlaggedContributionType;
|
|
121
|
+
exports.SCContributionType = _types.SCContributionType;
|
|
122
|
+
exports.SCContributionStatus = _types.SCContributionStatus;
|
|
123
|
+
exports.SCContributeStatusType = _types.SCContributeStatusType;
|
|
124
|
+
exports.SCPlatformType = _types.SCPlatformType;
|
|
125
|
+
exports.SCAvatarType = _types.SCAvatarType;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.SCContributionType = exports.SCContributeStatusType = void 0;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* SCFlaggedContributionType
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Contribute types
|
|
12
|
+
*/
|
|
13
|
+
let SCContributionType;
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
exports.SCContributionType = SCContributionType;
|
|
19
|
+
|
|
20
|
+
(function (SCContributionType) {
|
|
21
|
+
SCContributionType["DISCUSSION"] = "discussion";
|
|
22
|
+
SCContributionType["POST"] = "post";
|
|
23
|
+
SCContributionType["STATUS"] = "status";
|
|
24
|
+
SCContributionType["COMMENT"] = "comment";
|
|
25
|
+
})(SCContributionType || (exports.SCContributionType = SCContributionType = {}));
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Contribute status types
|
|
29
|
+
*/
|
|
30
|
+
let SCContributeStatusType;
|
|
31
|
+
exports.SCContributeStatusType = SCContributeStatusType;
|
|
32
|
+
|
|
33
|
+
(function (SCContributeStatusType) {
|
|
34
|
+
SCContributeStatusType["OPEN"] = "open";
|
|
35
|
+
SCContributeStatusType["IGNORED"] = "ignored";
|
|
36
|
+
SCContributeStatusType["HIDDEN"] = "hidden";
|
|
37
|
+
SCContributeStatusType["DELETED"] = "deleted";
|
|
38
|
+
})(SCContributeStatusType || (exports.SCContributeStatusType = SCContributeStatusType = {}));
|