@selfcommunity/types 0.5.9-alpha.7 → 0.5.9-alpha.9
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.d.ts +2 -2
- package/lib/cjs/types/index.d.ts +2 -2
- package/lib/cjs/types/notification.d.ts +24 -2
- package/lib/cjs/types/notification.js +4 -0
- package/lib/cjs/types/suggestion.d.ts +2 -0
- package/lib/esm/index.d.ts +2 -2
- package/lib/esm/types/index.d.ts +2 -2
- package/lib/esm/types/notification.d.ts +24 -2
- package/lib/esm/types/notification.js +4 -0
- package/lib/esm/types/suggestion.d.ts +2 -0
- package/lib/umd/types.js +1 -1
- package/package.json +2 -2
package/lib/cjs/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Types
|
|
3
3
|
*/
|
|
4
|
-
import { type SCBannerType, type SCBroadcastMessageType, type SCAuthTokenType, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, type SCUserType, type SCUserSettingsType, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, type SCUserReputationType, type SCUserAutocompleteType, type SCUserCounterType, type SCUserChangeEmailType, type SCUserAvatarType, type SCUserPermissionType, type SCUserFollowedStatusType, type SCUserFollowerStatusType, type SCUserConnectionStatusType, type SCUserHiddenStatusType, type SCUserHiddenByStatusType, type SCUserConnectionRequestType, type SCUserEmailTokenType, type SCUserProviderAssociationType, type SCMetadataType, type SCTagType, type SCCategoryType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, type SCEmbedType, type SCMediaType, type SCChunkMediaType, type SCContributionLocation, type SCLocalityType, type SCPollChoiceType, type SCPollType, type SCPollVoteType, type SCFeedUnitType, type SCFeedUnitActivityType, type SCFeedObjectType, type SCFeedPostType, type SCFeedDiscussionType, type SCFeedStatusType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, type SCPrivateMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, type SCNotificationAggregatedType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationPrivateMessageType, type SCNotificationMentionType, type SCNotificationType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationKindlyNoticeType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCCustomNotificationType, type SCNotificationUnseenCountType, type SCNotificationContributionType, type SCIncubatorType, type SCIncubatorSubscriptionType, type SCInviteType, type SCNotificationIncubatorType, type SCPrizeType, type SCPrizeUserType, type SCPromoType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCVoteType, type SCFlagType, type SCCustomPageType, type SCDataPortabilityType, type SCPreferenceType, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, type SCSuggestionType, type SCContributionStatus, type SCGroupType } from './types';
|
|
4
|
+
import { type SCBannerType, type SCBroadcastMessageType, type SCAuthTokenType, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, type SCUserType, type SCUserSettingsType, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, type SCUserReputationType, type SCUserAutocompleteType, type SCUserCounterType, type SCUserChangeEmailType, type SCUserAvatarType, type SCUserPermissionType, type SCUserFollowedStatusType, type SCUserFollowerStatusType, type SCUserConnectionStatusType, type SCUserHiddenStatusType, type SCUserHiddenByStatusType, type SCUserConnectionRequestType, type SCUserEmailTokenType, type SCUserProviderAssociationType, type SCMetadataType, type SCTagType, type SCCategoryType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, type SCEmbedType, type SCMediaType, type SCChunkMediaType, type SCContributionLocation, type SCLocalityType, type SCPollChoiceType, type SCPollType, type SCPollVoteType, type SCFeedUnitType, type SCFeedUnitActivityType, type SCFeedObjectType, type SCFeedPostType, type SCFeedDiscussionType, type SCFeedStatusType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, type SCPrivateMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, type SCNotificationAggregatedType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationPrivateMessageType, type SCNotificationMentionType, type SCNotificationType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationKindlyNoticeType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCCustomNotificationType, type SCNotificationUnseenCountType, type SCNotificationContributionType, type SCNotificationGroupActivityType, type SCIncubatorType, type SCIncubatorSubscriptionType, type SCInviteType, type SCNotificationIncubatorType, type SCPrizeType, type SCPrizeUserType, type SCPromoType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCVoteType, type SCFlagType, type SCCustomPageType, type SCDataPortabilityType, type SCPreferenceType, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, type SCSuggestionType, type SCContributionStatus, type SCGroupType } from './types';
|
|
5
5
|
/**
|
|
6
6
|
* Import enums
|
|
7
7
|
*/
|
|
@@ -10,4 +10,4 @@ import { SCContributionType, SCBroadcastMessageBannerType, SCCategoryAutoFollowT
|
|
|
10
10
|
* List all exports enums and types
|
|
11
11
|
*/
|
|
12
12
|
export { SCContributionType, SCBroadcastMessageBannerType, SCCategoryAutoFollowType, SCCommentsOrderBy, SCCustomAdvPosition, SCCustomPageTypeEnum, SCDeviceTypeEnum, SCDeviceApnsTypeEnum, SCFeatureName, SCFeedTypologyType, SCFeedUnitActivityTypologyType, SCFlagTypeEnum, SCFlagModerationStatusType, SCConnectionStatus, SCIncubatorStatusType, SCLegalPagePoliciesType, SCLanguageType, SCNotificationTypologyType, SCNotificationTopicType, SCPreferenceSection, SCPreferenceName, SCMessageFileType, SCPrizeUserStatusType, SCUserStatus, SuggestionType, SCPrivateMessageStatusType, SCMetadataTypeFieldType, SCGroupPrivacyType, SCGroupSubscriptionStatusType, SCPrivateMessageType };
|
|
13
|
-
export { type SCBannerType, type SCBroadcastMessageType, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, type SCAuthTokenType, type SCUserType, type SCUserSettingsType, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, type SCUserReputationType, type SCUserAutocompleteType, type SCUserCounterType, type SCUserAvatarType, type SCUserChangeEmailType, type SCUserPermissionType, type SCUserFollowedStatusType, type SCUserFollowerStatusType, type SCUserConnectionStatusType, type SCUserHiddenStatusType, type SCUserHiddenByStatusType, type SCUserConnectionRequestType, type SCUserEmailTokenType, type SCUserProviderAssociationType, type SCMetadataType, type SCTagType, type SCCategoryType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, type SCEmbedType, type SCMediaType, type SCChunkMediaType, type SCContributionLocation, type SCLocalityType, type SCPollChoiceType, type SCPollType, type SCPollVoteType, type SCFeedUnitType, type SCFeedUnitActivityType, type SCFeedObjectType, type SCFeedPostType, type SCFeedDiscussionType, type SCFeedStatusType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, type SCPrivateMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, type SCPromoType, type SCNotificationAggregatedType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationPrivateMessageType, type SCNotificationMentionType, type SCNotificationType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationKindlyNoticeType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCCustomNotificationType, type SCNotificationContributionType, type SCIncubatorType, type SCIncubatorSubscriptionType, type SCInviteType, type SCNotificationIncubatorType, type SCNotificationUnseenCountType, type SCPrizeType, type SCPrizeUserType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCContributionStatus, type SCVoteType, type SCFlagType, type SCCustomPageType, type SCDataPortabilityType, type SCPreferenceType, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, type SCSuggestionType, type SCGroupType };
|
|
13
|
+
export { type SCBannerType, type SCBroadcastMessageType, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, type SCAuthTokenType, type SCUserType, type SCUserSettingsType, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, type SCUserReputationType, type SCUserAutocompleteType, type SCUserCounterType, type SCUserAvatarType, type SCUserChangeEmailType, type SCUserPermissionType, type SCUserFollowedStatusType, type SCUserFollowerStatusType, type SCUserConnectionStatusType, type SCUserHiddenStatusType, type SCUserHiddenByStatusType, type SCUserConnectionRequestType, type SCUserEmailTokenType, type SCUserProviderAssociationType, type SCMetadataType, type SCTagType, type SCCategoryType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, type SCEmbedType, type SCMediaType, type SCChunkMediaType, type SCContributionLocation, type SCLocalityType, type SCPollChoiceType, type SCPollType, type SCPollVoteType, type SCFeedUnitType, type SCFeedUnitActivityType, type SCFeedObjectType, type SCFeedPostType, type SCFeedDiscussionType, type SCFeedStatusType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, type SCPrivateMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, type SCPromoType, type SCNotificationAggregatedType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationPrivateMessageType, type SCNotificationMentionType, type SCNotificationType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationKindlyNoticeType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCCustomNotificationType, type SCNotificationContributionType, type SCNotificationGroupActivityType, type SCIncubatorType, type SCIncubatorSubscriptionType, type SCInviteType, type SCNotificationIncubatorType, type SCNotificationUnseenCountType, type SCPrizeType, type SCPrizeUserType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCContributionStatus, type SCVoteType, type SCFlagType, type SCCustomPageType, type SCDataPortabilityType, type SCPreferenceType, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, type SCSuggestionType, type SCGroupType };
|
package/lib/cjs/types/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ import { SCIncubatorStatusType, type SCIncubatorSubscriptionType, type SCIncubat
|
|
|
17
17
|
import { type SCCustomNotificationType } from './customNotification';
|
|
18
18
|
import { type SCPrizeType, SCPrizeUserStatusType, type SCPrizeUserType, type SCUserLoyaltyPointsType } from './prize';
|
|
19
19
|
import { type SCCountByCategoryType, type SCFeedDiscussionType, type SCFeedObjectFollowingStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectType, type SCFeedPostType, type SCFeedStatusType, SCFeedTypologyType, type SCFeedUnitActivityType, SCFeedUnitActivityTypologyType, type SCFeedUnitType, type SCFeedUnseenCountType } from './feed';
|
|
20
|
-
import { type SCNotificationAggregatedType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationContributionType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationIncubatorType, type SCNotificationKindlyNoticeType, type SCNotificationMentionType, type SCNotificationPrivateMessageType, SCNotificationTopicType, type SCNotificationType, SCNotificationTypologyType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUnseenCountType, type SCNotificationUserFollowType, type SCNotificationVoteUpType } from './notification';
|
|
20
|
+
import { type SCNotificationAggregatedType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationContributionType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationIncubatorType, type SCNotificationKindlyNoticeType, type SCNotificationMentionType, type SCNotificationPrivateMessageType, SCNotificationTopicType, type SCNotificationType, SCNotificationTypologyType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUnseenCountType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCNotificationGroupActivityType } from './notification';
|
|
21
21
|
import { type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEndpointType, type SCWebhookEventsType } from './webhook';
|
|
22
22
|
import { type SCVoteType } from './vote';
|
|
23
23
|
import { SCFlagModerationStatusType, type SCFlagType, SCFlagTypeEnum } from './flag';
|
|
@@ -41,4 +41,4 @@ import { type SCGroupType, SCGroupPrivacyType, SCGroupSubscriptionStatusType } f
|
|
|
41
41
|
/**
|
|
42
42
|
* Exports all types
|
|
43
43
|
*/
|
|
44
|
-
export { type SCBannerType, SCBroadcastMessageBannerType, type SCBroadcastMessageType, type SCAuthTokenType, SCLanguageType, type SCUserType, type SCUserSettingsType, SCUserStatus, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, SCUserReputationType, type SCUserAutocompleteType, type SCUserCounterType, type SCUserChangeEmailType, type SCUserAvatarType, type SCUserPermissionType, type SCUserFollowedStatusType, type SCUserFollowerStatusType, type SCUserConnectionStatusType, type SCUserHiddenStatusType, type SCUserHiddenByStatusType, type SCUserConnectionRequestType, type SCUserEmailTokenType, type SCUserProviderAssociationType, SCMetadataTypeFieldType, type SCMetadataType, type SCTagType, type SCCategoryType, SCCategoryAutoFollowType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, SCCustomAdvPosition, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, type SCEmbedType, type SCMediaType, type SCChunkMediaType, type SCContributionLocation, type SCLocalityType, type SCPollChoiceType, type SCPollType, type SCPollVoteType, type SCFeedUnitType, type SCFeedUnitActivityType, type SCFeedObjectType, type SCFeedPostType, type SCFeedDiscussionType, type SCFeedStatusType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCountByCategoryType, SCCommentsOrderBy, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, SCPrivateMessageStatusType, type SCPrivateMessageFileType, SCMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, SCPrivateMessageType, type SCPromoType, SCNotificationTypologyType, type SCNotificationAggregatedType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationPrivateMessageType, type SCNotificationMentionType, type SCNotificationType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationKindlyNoticeType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCCustomNotificationType, SCNotificationTopicType, type SCNotificationUnseenCountType, type SCIncubatorType, type SCIncubatorSubscriptionType, SCIncubatorStatusType, type SCInviteType, type SCNotificationIncubatorType, type SCNotificationContributionType, type SCPrizeType, type SCPrizeUserType, SCPrizeUserStatusType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCVoteType, type SCFlagType, SCFlagTypeEnum, SCFlagModerationStatusType, SCCustomPageTypeEnum, type SCCustomPageType, type SCDataPortabilityType, SCPreferenceSection, SCPreferenceName, type SCPreferenceType, SCFeatureName, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, SCLegalPagePoliciesType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, SCContributionType, type SCContributionStatus, SCContributeStatusType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCSuggestionType, SuggestionType, SCConnectionStatus, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, SCDeviceApnsTypeEnum, type SCDeviceGcmTypeEnum, SCDeviceTypeEnum, type SCGroupType, SCGroupPrivacyType, SCGroupSubscriptionStatusType };
|
|
44
|
+
export { type SCBannerType, SCBroadcastMessageBannerType, type SCBroadcastMessageType, type SCAuthTokenType, SCLanguageType, type SCUserType, type SCUserSettingsType, SCUserStatus, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, SCUserReputationType, type SCUserAutocompleteType, type SCUserCounterType, type SCUserChangeEmailType, type SCUserAvatarType, type SCUserPermissionType, type SCUserFollowedStatusType, type SCUserFollowerStatusType, type SCUserConnectionStatusType, type SCUserHiddenStatusType, type SCUserHiddenByStatusType, type SCUserConnectionRequestType, type SCUserEmailTokenType, type SCUserProviderAssociationType, SCMetadataTypeFieldType, type SCMetadataType, type SCTagType, type SCCategoryType, SCCategoryAutoFollowType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, SCCustomAdvPosition, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, type SCEmbedType, type SCMediaType, type SCChunkMediaType, type SCContributionLocation, type SCLocalityType, type SCPollChoiceType, type SCPollType, type SCPollVoteType, type SCFeedUnitType, type SCFeedUnitActivityType, type SCFeedObjectType, type SCFeedPostType, type SCFeedDiscussionType, type SCFeedStatusType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCountByCategoryType, SCCommentsOrderBy, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, SCPrivateMessageStatusType, type SCPrivateMessageFileType, SCMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, SCPrivateMessageType, type SCPromoType, SCNotificationTypologyType, type SCNotificationAggregatedType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationPrivateMessageType, type SCNotificationMentionType, type SCNotificationType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationKindlyNoticeType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCCustomNotificationType, SCNotificationTopicType, type SCNotificationUnseenCountType, type SCIncubatorType, type SCIncubatorSubscriptionType, SCIncubatorStatusType, type SCInviteType, type SCNotificationIncubatorType, type SCNotificationContributionType, type SCNotificationGroupActivityType, type SCPrizeType, type SCPrizeUserType, SCPrizeUserStatusType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCVoteType, type SCFlagType, SCFlagTypeEnum, SCFlagModerationStatusType, SCCustomPageTypeEnum, type SCCustomPageType, type SCDataPortabilityType, SCPreferenceSection, SCPreferenceName, type SCPreferenceType, SCFeatureName, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, SCLegalPagePoliciesType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, SCContributionType, type SCContributionStatus, SCContributeStatusType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCSuggestionType, SuggestionType, SCConnectionStatus, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, SCDeviceApnsTypeEnum, type SCDeviceGcmTypeEnum, SCDeviceTypeEnum, type SCGroupType, SCGroupPrivacyType, SCGroupSubscriptionStatusType };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SCCommentType, SCFeedDiscussionType, SCFeedPostType, SCFeedStatusType, SCUserType } from '../index';
|
|
1
|
+
import { SCCommentType, SCFeedDiscussionType, SCFeedPostType, SCFeedStatusType, SCGroupType, SCUserType } from '../index';
|
|
2
2
|
import { SCPrivateMessageThreadType } from './privateMessage';
|
|
3
3
|
import { SCUserBlockedSettingsType } from './user';
|
|
4
4
|
import { SCCustomNotificationType } from './customNotification';
|
|
@@ -44,7 +44,11 @@ export declare enum SCNotificationTypologyType {
|
|
|
44
44
|
INCUBATOR_APPROVED = "incubator_approved",
|
|
45
45
|
CUSTOM_NOTIFICATION = "custom_notification",
|
|
46
46
|
NOTIFICATION_BANNER = "notification_banner",
|
|
47
|
-
CONTRIBUTION = "contribution"
|
|
47
|
+
CONTRIBUTION = "contribution",
|
|
48
|
+
USER_INVITED_TO_JOIN_GROUP = "user_invited_to_join_group",
|
|
49
|
+
USER_REQUESTED_TO_JOIN_GROUP = "user_requested_to_join_group",
|
|
50
|
+
USER_ACCEPTED_TO_JOIN_GROUP = "user_accepted_to_join_group",
|
|
51
|
+
USER_ADDED_TO_GROUP = "user_added_to_group"
|
|
48
52
|
}
|
|
49
53
|
/**
|
|
50
54
|
* Define topic for notifications
|
|
@@ -83,6 +87,11 @@ export interface SCNotificationAggregatedType {
|
|
|
83
87
|
* if it is a status. For some types of notifications it will not be present.
|
|
84
88
|
*/
|
|
85
89
|
status?: SCFeedStatusType;
|
|
90
|
+
/**
|
|
91
|
+
* Primary object involved (object that is common to notifications group)
|
|
92
|
+
* if it is a group. For some types of notifications it will not be present.
|
|
93
|
+
*/
|
|
94
|
+
group?: SCGroupType;
|
|
86
95
|
/**
|
|
87
96
|
* List of aggregated notifications by type.
|
|
88
97
|
* Types Object: NotificationTypeComment, NotificationTypeMention,
|
|
@@ -438,3 +447,16 @@ export interface SCNotificationContributionType extends SCNotificationType {
|
|
|
438
447
|
*/
|
|
439
448
|
status?: SCFeedStatusType;
|
|
440
449
|
}
|
|
450
|
+
/**
|
|
451
|
+
* Interface SCNotificationGroupActivityType.
|
|
452
|
+
*/
|
|
453
|
+
export interface SCNotificationGroupActivityType extends SCNotificationType {
|
|
454
|
+
/**
|
|
455
|
+
* The user who performed the action
|
|
456
|
+
*/
|
|
457
|
+
user: SCUserType;
|
|
458
|
+
/**
|
|
459
|
+
* The Group obj
|
|
460
|
+
*/
|
|
461
|
+
group: Partial<SCGroupType>;
|
|
462
|
+
}
|
|
@@ -44,6 +44,10 @@ var SCNotificationTypologyType;
|
|
|
44
44
|
SCNotificationTypologyType["CUSTOM_NOTIFICATION"] = "custom_notification";
|
|
45
45
|
SCNotificationTypologyType["NOTIFICATION_BANNER"] = "notification_banner";
|
|
46
46
|
SCNotificationTypologyType["CONTRIBUTION"] = "contribution";
|
|
47
|
+
SCNotificationTypologyType["USER_INVITED_TO_JOIN_GROUP"] = "user_invited_to_join_group";
|
|
48
|
+
SCNotificationTypologyType["USER_REQUESTED_TO_JOIN_GROUP"] = "user_requested_to_join_group";
|
|
49
|
+
SCNotificationTypologyType["USER_ACCEPTED_TO_JOIN_GROUP"] = "user_accepted_to_join_group";
|
|
50
|
+
SCNotificationTypologyType["USER_ADDED_TO_GROUP"] = "user_added_to_group";
|
|
47
51
|
})(SCNotificationTypologyType = exports.SCNotificationTypologyType || (exports.SCNotificationTypologyType = {}));
|
|
48
52
|
/**
|
|
49
53
|
* Define topic for notifications
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { SCCategoryType } from './category';
|
|
5
5
|
import { SCUserType } from './user';
|
|
6
|
+
import { SCGroupType } from './group';
|
|
6
7
|
export declare enum SuggestionType {
|
|
7
8
|
USER = "user",
|
|
8
9
|
CATEGORY = "category",
|
|
@@ -17,4 +18,5 @@ export interface SCSuggestionType {
|
|
|
17
18
|
score?: number;
|
|
18
19
|
category?: SCCategoryType;
|
|
19
20
|
user?: SCUserType;
|
|
21
|
+
group?: SCGroupType;
|
|
20
22
|
}
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Types
|
|
3
3
|
*/
|
|
4
|
-
import { type SCBannerType, type SCBroadcastMessageType, type SCAuthTokenType, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, type SCUserType, type SCUserSettingsType, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, type SCUserReputationType, type SCUserAutocompleteType, type SCUserCounterType, type SCUserChangeEmailType, type SCUserAvatarType, type SCUserPermissionType, type SCUserFollowedStatusType, type SCUserFollowerStatusType, type SCUserConnectionStatusType, type SCUserHiddenStatusType, type SCUserHiddenByStatusType, type SCUserConnectionRequestType, type SCUserEmailTokenType, type SCUserProviderAssociationType, type SCMetadataType, type SCTagType, type SCCategoryType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, type SCEmbedType, type SCMediaType, type SCChunkMediaType, type SCContributionLocation, type SCLocalityType, type SCPollChoiceType, type SCPollType, type SCPollVoteType, type SCFeedUnitType, type SCFeedUnitActivityType, type SCFeedObjectType, type SCFeedPostType, type SCFeedDiscussionType, type SCFeedStatusType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, type SCPrivateMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, type SCNotificationAggregatedType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationPrivateMessageType, type SCNotificationMentionType, type SCNotificationType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationKindlyNoticeType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCCustomNotificationType, type SCNotificationUnseenCountType, type SCNotificationContributionType, type SCIncubatorType, type SCIncubatorSubscriptionType, type SCInviteType, type SCNotificationIncubatorType, type SCPrizeType, type SCPrizeUserType, type SCPromoType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCVoteType, type SCFlagType, type SCCustomPageType, type SCDataPortabilityType, type SCPreferenceType, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, type SCSuggestionType, type SCContributionStatus, type SCGroupType } from './types';
|
|
4
|
+
import { type SCBannerType, type SCBroadcastMessageType, type SCAuthTokenType, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, type SCUserType, type SCUserSettingsType, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, type SCUserReputationType, type SCUserAutocompleteType, type SCUserCounterType, type SCUserChangeEmailType, type SCUserAvatarType, type SCUserPermissionType, type SCUserFollowedStatusType, type SCUserFollowerStatusType, type SCUserConnectionStatusType, type SCUserHiddenStatusType, type SCUserHiddenByStatusType, type SCUserConnectionRequestType, type SCUserEmailTokenType, type SCUserProviderAssociationType, type SCMetadataType, type SCTagType, type SCCategoryType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, type SCEmbedType, type SCMediaType, type SCChunkMediaType, type SCContributionLocation, type SCLocalityType, type SCPollChoiceType, type SCPollType, type SCPollVoteType, type SCFeedUnitType, type SCFeedUnitActivityType, type SCFeedObjectType, type SCFeedPostType, type SCFeedDiscussionType, type SCFeedStatusType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, type SCPrivateMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, type SCNotificationAggregatedType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationPrivateMessageType, type SCNotificationMentionType, type SCNotificationType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationKindlyNoticeType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCCustomNotificationType, type SCNotificationUnseenCountType, type SCNotificationContributionType, type SCNotificationGroupActivityType, type SCIncubatorType, type SCIncubatorSubscriptionType, type SCInviteType, type SCNotificationIncubatorType, type SCPrizeType, type SCPrizeUserType, type SCPromoType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCVoteType, type SCFlagType, type SCCustomPageType, type SCDataPortabilityType, type SCPreferenceType, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, type SCSuggestionType, type SCContributionStatus, type SCGroupType } from './types';
|
|
5
5
|
/**
|
|
6
6
|
* Import enums
|
|
7
7
|
*/
|
|
@@ -10,4 +10,4 @@ import { SCContributionType, SCBroadcastMessageBannerType, SCCategoryAutoFollowT
|
|
|
10
10
|
* List all exports enums and types
|
|
11
11
|
*/
|
|
12
12
|
export { SCContributionType, SCBroadcastMessageBannerType, SCCategoryAutoFollowType, SCCommentsOrderBy, SCCustomAdvPosition, SCCustomPageTypeEnum, SCDeviceTypeEnum, SCDeviceApnsTypeEnum, SCFeatureName, SCFeedTypologyType, SCFeedUnitActivityTypologyType, SCFlagTypeEnum, SCFlagModerationStatusType, SCConnectionStatus, SCIncubatorStatusType, SCLegalPagePoliciesType, SCLanguageType, SCNotificationTypologyType, SCNotificationTopicType, SCPreferenceSection, SCPreferenceName, SCMessageFileType, SCPrizeUserStatusType, SCUserStatus, SuggestionType, SCPrivateMessageStatusType, SCMetadataTypeFieldType, SCGroupPrivacyType, SCGroupSubscriptionStatusType, SCPrivateMessageType };
|
|
13
|
-
export { type SCBannerType, type SCBroadcastMessageType, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, type SCAuthTokenType, type SCUserType, type SCUserSettingsType, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, type SCUserReputationType, type SCUserAutocompleteType, type SCUserCounterType, type SCUserAvatarType, type SCUserChangeEmailType, type SCUserPermissionType, type SCUserFollowedStatusType, type SCUserFollowerStatusType, type SCUserConnectionStatusType, type SCUserHiddenStatusType, type SCUserHiddenByStatusType, type SCUserConnectionRequestType, type SCUserEmailTokenType, type SCUserProviderAssociationType, type SCMetadataType, type SCTagType, type SCCategoryType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, type SCEmbedType, type SCMediaType, type SCChunkMediaType, type SCContributionLocation, type SCLocalityType, type SCPollChoiceType, type SCPollType, type SCPollVoteType, type SCFeedUnitType, type SCFeedUnitActivityType, type SCFeedObjectType, type SCFeedPostType, type SCFeedDiscussionType, type SCFeedStatusType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, type SCPrivateMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, type SCPromoType, type SCNotificationAggregatedType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationPrivateMessageType, type SCNotificationMentionType, type SCNotificationType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationKindlyNoticeType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCCustomNotificationType, type SCNotificationContributionType, type SCIncubatorType, type SCIncubatorSubscriptionType, type SCInviteType, type SCNotificationIncubatorType, type SCNotificationUnseenCountType, type SCPrizeType, type SCPrizeUserType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCContributionStatus, type SCVoteType, type SCFlagType, type SCCustomPageType, type SCDataPortabilityType, type SCPreferenceType, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, type SCSuggestionType, type SCGroupType };
|
|
13
|
+
export { type SCBannerType, type SCBroadcastMessageType, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, type SCAuthTokenType, type SCUserType, type SCUserSettingsType, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, type SCUserReputationType, type SCUserAutocompleteType, type SCUserCounterType, type SCUserAvatarType, type SCUserChangeEmailType, type SCUserPermissionType, type SCUserFollowedStatusType, type SCUserFollowerStatusType, type SCUserConnectionStatusType, type SCUserHiddenStatusType, type SCUserHiddenByStatusType, type SCUserConnectionRequestType, type SCUserEmailTokenType, type SCUserProviderAssociationType, type SCMetadataType, type SCTagType, type SCCategoryType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, type SCEmbedType, type SCMediaType, type SCChunkMediaType, type SCContributionLocation, type SCLocalityType, type SCPollChoiceType, type SCPollType, type SCPollVoteType, type SCFeedUnitType, type SCFeedUnitActivityType, type SCFeedObjectType, type SCFeedPostType, type SCFeedDiscussionType, type SCFeedStatusType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, type SCPrivateMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, type SCPromoType, type SCNotificationAggregatedType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationPrivateMessageType, type SCNotificationMentionType, type SCNotificationType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationKindlyNoticeType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCCustomNotificationType, type SCNotificationContributionType, type SCNotificationGroupActivityType, type SCIncubatorType, type SCIncubatorSubscriptionType, type SCInviteType, type SCNotificationIncubatorType, type SCNotificationUnseenCountType, type SCPrizeType, type SCPrizeUserType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCContributionStatus, type SCVoteType, type SCFlagType, type SCCustomPageType, type SCDataPortabilityType, type SCPreferenceType, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, type SCSuggestionType, type SCGroupType };
|
package/lib/esm/types/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ import { SCIncubatorStatusType, type SCIncubatorSubscriptionType, type SCIncubat
|
|
|
17
17
|
import { type SCCustomNotificationType } from './customNotification';
|
|
18
18
|
import { type SCPrizeType, SCPrizeUserStatusType, type SCPrizeUserType, type SCUserLoyaltyPointsType } from './prize';
|
|
19
19
|
import { type SCCountByCategoryType, type SCFeedDiscussionType, type SCFeedObjectFollowingStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectType, type SCFeedPostType, type SCFeedStatusType, SCFeedTypologyType, type SCFeedUnitActivityType, SCFeedUnitActivityTypologyType, type SCFeedUnitType, type SCFeedUnseenCountType } from './feed';
|
|
20
|
-
import { type SCNotificationAggregatedType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationContributionType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationIncubatorType, type SCNotificationKindlyNoticeType, type SCNotificationMentionType, type SCNotificationPrivateMessageType, SCNotificationTopicType, type SCNotificationType, SCNotificationTypologyType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUnseenCountType, type SCNotificationUserFollowType, type SCNotificationVoteUpType } from './notification';
|
|
20
|
+
import { type SCNotificationAggregatedType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationContributionType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationIncubatorType, type SCNotificationKindlyNoticeType, type SCNotificationMentionType, type SCNotificationPrivateMessageType, SCNotificationTopicType, type SCNotificationType, SCNotificationTypologyType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUnseenCountType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCNotificationGroupActivityType } from './notification';
|
|
21
21
|
import { type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEndpointType, type SCWebhookEventsType } from './webhook';
|
|
22
22
|
import { type SCVoteType } from './vote';
|
|
23
23
|
import { SCFlagModerationStatusType, type SCFlagType, SCFlagTypeEnum } from './flag';
|
|
@@ -41,4 +41,4 @@ import { type SCGroupType, SCGroupPrivacyType, SCGroupSubscriptionStatusType } f
|
|
|
41
41
|
/**
|
|
42
42
|
* Exports all types
|
|
43
43
|
*/
|
|
44
|
-
export { type SCBannerType, SCBroadcastMessageBannerType, type SCBroadcastMessageType, type SCAuthTokenType, SCLanguageType, type SCUserType, type SCUserSettingsType, SCUserStatus, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, SCUserReputationType, type SCUserAutocompleteType, type SCUserCounterType, type SCUserChangeEmailType, type SCUserAvatarType, type SCUserPermissionType, type SCUserFollowedStatusType, type SCUserFollowerStatusType, type SCUserConnectionStatusType, type SCUserHiddenStatusType, type SCUserHiddenByStatusType, type SCUserConnectionRequestType, type SCUserEmailTokenType, type SCUserProviderAssociationType, SCMetadataTypeFieldType, type SCMetadataType, type SCTagType, type SCCategoryType, SCCategoryAutoFollowType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, SCCustomAdvPosition, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, type SCEmbedType, type SCMediaType, type SCChunkMediaType, type SCContributionLocation, type SCLocalityType, type SCPollChoiceType, type SCPollType, type SCPollVoteType, type SCFeedUnitType, type SCFeedUnitActivityType, type SCFeedObjectType, type SCFeedPostType, type SCFeedDiscussionType, type SCFeedStatusType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCountByCategoryType, SCCommentsOrderBy, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, SCPrivateMessageStatusType, type SCPrivateMessageFileType, SCMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, SCPrivateMessageType, type SCPromoType, SCNotificationTypologyType, type SCNotificationAggregatedType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationPrivateMessageType, type SCNotificationMentionType, type SCNotificationType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationKindlyNoticeType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCCustomNotificationType, SCNotificationTopicType, type SCNotificationUnseenCountType, type SCIncubatorType, type SCIncubatorSubscriptionType, SCIncubatorStatusType, type SCInviteType, type SCNotificationIncubatorType, type SCNotificationContributionType, type SCPrizeType, type SCPrizeUserType, SCPrizeUserStatusType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCVoteType, type SCFlagType, SCFlagTypeEnum, SCFlagModerationStatusType, SCCustomPageTypeEnum, type SCCustomPageType, type SCDataPortabilityType, SCPreferenceSection, SCPreferenceName, type SCPreferenceType, SCFeatureName, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, SCLegalPagePoliciesType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, SCContributionType, type SCContributionStatus, SCContributeStatusType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCSuggestionType, SuggestionType, SCConnectionStatus, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, SCDeviceApnsTypeEnum, type SCDeviceGcmTypeEnum, SCDeviceTypeEnum, type SCGroupType, SCGroupPrivacyType, SCGroupSubscriptionStatusType };
|
|
44
|
+
export { type SCBannerType, SCBroadcastMessageBannerType, type SCBroadcastMessageType, type SCAuthTokenType, SCLanguageType, type SCUserType, type SCUserSettingsType, SCUserStatus, type SCUserBlockedSettingsType, type SCUserModerationType, type SCUserScoreVariation, type SCUserScoreType, SCUserReputationType, type SCUserAutocompleteType, type SCUserCounterType, type SCUserChangeEmailType, type SCUserAvatarType, type SCUserPermissionType, type SCUserFollowedStatusType, type SCUserFollowerStatusType, type SCUserConnectionStatusType, type SCUserHiddenStatusType, type SCUserHiddenByStatusType, type SCUserConnectionRequestType, type SCUserEmailTokenType, type SCUserProviderAssociationType, SCMetadataTypeFieldType, type SCMetadataType, type SCTagType, type SCCategoryType, SCCategoryAutoFollowType, type SCCategoryAudienceType, type SCCategoryFollowedStatusType, SCCustomAdvPosition, type SCCustomAdvType, type SCCustomMenuItemType, type SCCustomMenuType, type SCEmbedType, type SCMediaType, type SCChunkMediaType, type SCContributionLocation, type SCLocalityType, type SCPollChoiceType, type SCPollType, type SCPollVoteType, type SCFeedUnitType, type SCFeedUnitActivityType, type SCFeedObjectType, type SCFeedPostType, type SCFeedDiscussionType, type SCFeedStatusType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, type SCFeedUnseenCountType, type SCFeedObjectSuspendedStatusType, type SCFeedObjectHideStatusType, type SCFeedObjectFollowingStatusType, type SCCountByCategoryType, SCCommentsOrderBy, type SCCommentType, type SCPrivateMessageThreadType, type SCPrivateMessageSnippetType, SCPrivateMessageStatusType, type SCPrivateMessageFileType, SCMessageFileType, type SCPrivateMessageUploadMediaType, type SCPrivateMessageUploadThumbnailType, type SCPrivateMessageUploadMediaChunkType, SCPrivateMessageType, type SCPromoType, SCNotificationTypologyType, type SCNotificationAggregatedType, type SCNotificationCommentType, type SCNotificationConnectionAcceptType, type SCNotificationConnectionRequestType, type SCNotificationPrivateMessageType, type SCNotificationMentionType, type SCNotificationType, type SCNotificationBlockedUserType, type SCNotificationCollapsedForType, type SCNotificationCustomNotificationType, type SCNotificationDeletedForType, type SCNotificationFollowType, type SCNotificationKindlyNoticeType, type SCNotificationUnBlockedUserType, type SCNotificationUnDeletedForType, type SCNotificationUserFollowType, type SCNotificationVoteUpType, type SCCustomNotificationType, SCNotificationTopicType, type SCNotificationUnseenCountType, type SCIncubatorType, type SCIncubatorSubscriptionType, SCIncubatorStatusType, type SCInviteType, type SCNotificationIncubatorType, type SCNotificationContributionType, type SCNotificationGroupActivityType, type SCPrizeType, type SCPrizeUserType, SCPrizeUserStatusType, type SCUserLoyaltyPointsType, type SCWebhookEndpointType, type SCWebhookEndpointAttemptType, type SCWebhookEndpointSecretType, type SCWebhookEventsType, type SCVoteType, type SCFlagType, SCFlagTypeEnum, SCFlagModerationStatusType, SCCustomPageTypeEnum, type SCCustomPageType, type SCDataPortabilityType, SCPreferenceSection, SCPreferenceName, type SCPreferenceType, SCFeatureName, type SCFeatureType, type SSOSignInType, type SSOSignUpType, type SCLegalPageType, SCLegalPagePoliciesType, type SCLegalPageAckType, type SCContributionInsightCountersType, type SCContributionInsightType, type SCEmbedInsightType, type SCEmbedInsightCountersType, type SCUsersInsightType, type SCUsersInsightCountersType, type SCFlaggedContributionType, SCContributionType, type SCContributionStatus, SCContributeStatusType, type SCPlatformType, type SCAvatarType, type SCReactionType, type SCSuggestionType, SuggestionType, SCConnectionStatus, type SCDeviceType, type SCApnsDeviceType, type SCGcmDeviceType, SCDeviceApnsTypeEnum, type SCDeviceGcmTypeEnum, SCDeviceTypeEnum, type SCGroupType, SCGroupPrivacyType, SCGroupSubscriptionStatusType };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SCCommentType, SCFeedDiscussionType, SCFeedPostType, SCFeedStatusType, SCUserType } from '../index';
|
|
1
|
+
import { SCCommentType, SCFeedDiscussionType, SCFeedPostType, SCFeedStatusType, SCGroupType, SCUserType } from '../index';
|
|
2
2
|
import { SCPrivateMessageThreadType } from './privateMessage';
|
|
3
3
|
import { SCUserBlockedSettingsType } from './user';
|
|
4
4
|
import { SCCustomNotificationType } from './customNotification';
|
|
@@ -44,7 +44,11 @@ export declare enum SCNotificationTypologyType {
|
|
|
44
44
|
INCUBATOR_APPROVED = "incubator_approved",
|
|
45
45
|
CUSTOM_NOTIFICATION = "custom_notification",
|
|
46
46
|
NOTIFICATION_BANNER = "notification_banner",
|
|
47
|
-
CONTRIBUTION = "contribution"
|
|
47
|
+
CONTRIBUTION = "contribution",
|
|
48
|
+
USER_INVITED_TO_JOIN_GROUP = "user_invited_to_join_group",
|
|
49
|
+
USER_REQUESTED_TO_JOIN_GROUP = "user_requested_to_join_group",
|
|
50
|
+
USER_ACCEPTED_TO_JOIN_GROUP = "user_accepted_to_join_group",
|
|
51
|
+
USER_ADDED_TO_GROUP = "user_added_to_group"
|
|
48
52
|
}
|
|
49
53
|
/**
|
|
50
54
|
* Define topic for notifications
|
|
@@ -83,6 +87,11 @@ export interface SCNotificationAggregatedType {
|
|
|
83
87
|
* if it is a status. For some types of notifications it will not be present.
|
|
84
88
|
*/
|
|
85
89
|
status?: SCFeedStatusType;
|
|
90
|
+
/**
|
|
91
|
+
* Primary object involved (object that is common to notifications group)
|
|
92
|
+
* if it is a group. For some types of notifications it will not be present.
|
|
93
|
+
*/
|
|
94
|
+
group?: SCGroupType;
|
|
86
95
|
/**
|
|
87
96
|
* List of aggregated notifications by type.
|
|
88
97
|
* Types Object: NotificationTypeComment, NotificationTypeMention,
|
|
@@ -438,3 +447,16 @@ export interface SCNotificationContributionType extends SCNotificationType {
|
|
|
438
447
|
*/
|
|
439
448
|
status?: SCFeedStatusType;
|
|
440
449
|
}
|
|
450
|
+
/**
|
|
451
|
+
* Interface SCNotificationGroupActivityType.
|
|
452
|
+
*/
|
|
453
|
+
export interface SCNotificationGroupActivityType extends SCNotificationType {
|
|
454
|
+
/**
|
|
455
|
+
* The user who performed the action
|
|
456
|
+
*/
|
|
457
|
+
user: SCUserType;
|
|
458
|
+
/**
|
|
459
|
+
* The Group obj
|
|
460
|
+
*/
|
|
461
|
+
group: Partial<SCGroupType>;
|
|
462
|
+
}
|
|
@@ -41,6 +41,10 @@ export var SCNotificationTypologyType;
|
|
|
41
41
|
SCNotificationTypologyType["CUSTOM_NOTIFICATION"] = "custom_notification";
|
|
42
42
|
SCNotificationTypologyType["NOTIFICATION_BANNER"] = "notification_banner";
|
|
43
43
|
SCNotificationTypologyType["CONTRIBUTION"] = "contribution";
|
|
44
|
+
SCNotificationTypologyType["USER_INVITED_TO_JOIN_GROUP"] = "user_invited_to_join_group";
|
|
45
|
+
SCNotificationTypologyType["USER_REQUESTED_TO_JOIN_GROUP"] = "user_requested_to_join_group";
|
|
46
|
+
SCNotificationTypologyType["USER_ACCEPTED_TO_JOIN_GROUP"] = "user_accepted_to_join_group";
|
|
47
|
+
SCNotificationTypologyType["USER_ADDED_TO_GROUP"] = "user_added_to_group";
|
|
44
48
|
})(SCNotificationTypologyType || (SCNotificationTypologyType = {}));
|
|
45
49
|
/**
|
|
46
50
|
* Define topic for notifications
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { SCCategoryType } from './category';
|
|
5
5
|
import { SCUserType } from './user';
|
|
6
|
+
import { SCGroupType } from './group';
|
|
6
7
|
export declare enum SuggestionType {
|
|
7
8
|
USER = "user",
|
|
8
9
|
CATEGORY = "category",
|
|
@@ -17,4 +18,5 @@ export interface SCSuggestionType {
|
|
|
17
18
|
score?: number;
|
|
18
19
|
category?: SCCategoryType;
|
|
19
20
|
user?: SCUserType;
|
|
21
|
+
group?: SCGroupType;
|
|
20
22
|
}
|
package/lib/umd/types.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see types.js.LICENSE.txt */
|
|
2
|
-
!function(e,_){"object"==typeof exports&&"object"==typeof module?module.exports=_():"function"==typeof define&&define.amd?define([],_):"object"==typeof exports?exports.SelfCommunityTypes=_():e.SelfCommunityTypes=_()}(self,(()=>(()=>{"use strict";var e={665:(e,_)=>{let o;_.__esModule=!0,_.SCBroadcastMessageBannerType=void 0,_.SCBroadcastMessageBannerType=o,function(e){e.HTML="html_banner",e.NOTIFICATION="notification_banner"}(o||(_.SCBroadcastMessageBannerType=o={}))},511:(e,_)=>{let o;_.__esModule=!0,_.SCCategoryAutoFollowType=void 0,_.SCCategoryAutoFollowType=o,function(e){e.NONE="none",e.DEFAULT="default",e.FORCED="forced"}(o||(_.SCCategoryAutoFollowType=o={}))},444:(e,_)=>{let o;_.__esModule=!0,_.SCCommentsOrderBy=void 0,_.SCCommentsOrderBy=o,function(e){e.ADDED_AT_DESC="-added_at",e.ADDED_AT_ASC="added_at",e.CONNECTION_DESC="-connection",e.CONNECTION_ASC="connection"}(o||(_.SCCommentsOrderBy=o={}))},275:(e,_)=>{let o,t;_.__esModule=!0,_.SCContributionType=_.SCContributeStatusType=void 0,_.SCContributionType=o,function(e){e.DISCUSSION="discussion",e.POST="post",e.STATUS="status",e.COMMENT="comment"}(o||(_.SCContributionType=o={})),_.SCContributeStatusType=t,function(e){e.OPEN="open",e.IGNORED="ignored",e.HIDDEN="hidden",e.DELETED="deleted"}(t||(_.SCContributeStatusType=t={}))},386:(e,_)=>{let o;_.__esModule=!0,_.SCCustomAdvPosition=void 0,_.SCCustomAdvPosition=o,function(e){e.POSITION_BELOW_TOPBAR="BELOW_TOPBAR",e.POSITION_BELOW_FEED_OBJECT="BELOW_THE_POST",e.POSITION_ABOVE_FOOTER_BAR="ABOVE_FOOTER_BAR",e.POSITION_FOOTER_STICKY="FOOTER_STICKY",e.POSITION_IN_COMMENTS="IN_POST_COMMENTS",e.POSITION_RELATED_POSTS_COLUMN="RELATED_POSTS_COLUMN",e.POSITION_FEED_SIDEBAR="TOOLS_COLUMN",e.POSITION_FEED="IN_STREAM"}(o||(_.SCCustomAdvPosition=o={}))},767:(e,_)=>{let o;_.__esModule=!0,_.SCCustomPageTypeEnum=void 0,_.SCCustomPageTypeEnum=o,function(e){e.NORMAL="normal",e.LEGAL="legal"}(o||(_.SCCustomPageTypeEnum=o={}))},402:(e,_)=>{let o,t,E;_.__esModule=!0,_.SCDeviceTypeEnum=_.SCDeviceGcmTypeEnum=_.SCDeviceApnsTypeEnum=void 0,_.SCDeviceTypeEnum=o,function(e){e.ANDROID="Android",e.IOS="iOS"}(o||(_.SCDeviceTypeEnum=o={})),_.SCDeviceGcmTypeEnum=t,function(e){e.GCM="GCM",e.FCM="FCM"}(t||(_.SCDeviceGcmTypeEnum=t={})),_.SCDeviceApnsTypeEnum=E,function(e){e.APNS="APNS"}(E||(_.SCDeviceApnsTypeEnum=E={}))},22:(e,_)=>{let o;_.__esModule=!0,_.SCFeatureName=void 0,_.SCFeatureName=o,function(e){e.INTERESTS="interests",e.CUSTOMIZE="customize",e.ADDONS="addons",e.DOMAIN="domain",e.SOCIAL_PROVIDERS="social_providers",e.COMMUNITY_SUBSCRIPTION="community_subscription",e.SEO="seo",e.ADVERTISING="advertising",e.GOOGLE_CLOUD_API="google_cloud_api",e.HOTJAR="hotjar",e.SQREEN="sqreen",e.INCUBATORS="incubators",e.CMS="cms",e.LEGAL_PAGES="legal_pages",e.SCORING="scoring",e.USER_ROLES="user_roles",e.EMAIL_MANAGER="email_manager",e.LOYALTY="loyalty",e.BROADCAST="broadcast",e.INVITATION="invitation",e.APP_SETTINGS="app_settings",e.MODERATION_FLAGS="moderation_flags",e.MODERATION_CONTENTS="moderation_contents",e.MODERATION_USERS_BLOCKED="moderation_users_blocked",e.MODERATION_USERS="moderation_users",e.DATA_PROVISIONING_DASHBOARD="data_provisioning_dashboard",e.DATA_PROVISIONING_USERS="data_provisioning_users",e.DATA_PROVISIONING_CONTENTS="data_provisioning_contents",e.DATA_PROVISIONING_INTERESTS="data_provisioning_interests",e.DATA_PROVISIONING_POLLS="data_provisioning_polls",e.DATA_PROVISIONING_REPORTS="data_provisioning_reports",e.REGISTRATION_ALERTS="registration_alerts",e.SOCIAL_SHARE="social_share",e.FEED_SETTINGS="stream_settings",e.TAGGING="tagging",e.API_V2="api_v2",e.WEBHOOK="webhook",e.HEADLESS="headless",e.CUSTOMIZE_HEADLESS="customize_headless",e.SYSTEM_PAGES="system_pages",e.REACTION="reaction",e.PRIVATE_MESSAGING="private_messaging",e.GROUPING="grouping"}(o||(_.SCFeatureName=o={}))},505:(e,_)=>{let o,t;_.__esModule=!0,_.SCFeedUnitActivityTypologyType=_.SCFeedTypologyType=void 0,_.SCFeedTypologyType=o,function(e){e.HOME="home",e.EXPLORE="explore"}(o||(_.SCFeedTypologyType=o={})),_.SCFeedUnitActivityTypologyType=t,function(e){e.COMMENT="comment",e.VOTE="vote",e.POLLVOTE="pollvote",e.FOLLOW="follow"}(t||(_.SCFeedUnitActivityTypologyType=t={}))},561:(e,_)=>{let o,t;_.__esModule=!0,_.SCFlagTypeEnum=_.SCFlagModerationStatusType=void 0,_.SCFlagTypeEnum=o,function(e){e[e.SPAM=0]="SPAM",e[e.AGGRESSIVE=1]="AGGRESSIVE",e[e.VULGAR=2]="VULGAR",e[e.POOR=3]="POOR",e[e.OFFTOPIC=4]="OFFTOPIC"}(o||(_.SCFlagTypeEnum=o={})),_.SCFlagModerationStatusType=t,function(e){e.IGNORED="ignored",e.DELETED="deleted",e.HIDDEN="hidden"}(t||(_.SCFlagModerationStatusType=t={}))},554:(e,_)=>{let o;_.__esModule=!0,_.SCConnectionStatus=void 0,_.SCConnectionStatus=o,function(e){e.CONNECTED="connected",e.CONNECTION_REQUEST_SENT="sent_connection_request",e.CONNECTION_REQUEST_RECEIVED="received_connection_request"}(o||(_.SCConnectionStatus=o={}))},56:(e,_)=>{let o,t;_.__esModule=!0,_.SCGroupSubscriptionStatusType=_.SCGroupPrivacyType=void 0,_.SCGroupPrivacyType=o,function(e){e.PUBLIC="public",e.PRIVATE="private"}(o||(_.SCGroupPrivacyType=o={})),_.SCGroupSubscriptionStatusType=t,function(e){e.SUBSCRIBED="subscribed",e.REQUESTED="requested",e.INVITED="invited"}(t||(_.SCGroupSubscriptionStatusType=t={}))},947:(e,_)=>{let o;_.__esModule=!0,_.SCIncubatorStatusType=void 0,_.SCIncubatorStatusType=o,function(e){e[e.PENDING=0]="PENDING",e[e.PROPOSAL=1]="PROPOSAL",e[e.APPROVED=2]="APPROVED",e[e.IGNORED=3]="IGNORED"}(o||(_.SCIncubatorStatusType=o={}))},994:(e,_,o)=>{_.__esModule=!0;var t=o(665);_.SCBroadcastMessageBannerType=t.SCBroadcastMessageBannerType;var E=o(386);_.SCCustomAdvPosition=E.SCCustomAdvPosition;var S=o(851);_.SCLanguageType=S.SCLanguageType;var T=o(967);_.SCUserReputationType=T.SCUserReputationType,_.SCUserStatus=T.SCUserStatus;var a=o(511);_.SCCategoryAutoFollowType=a.SCCategoryAutoFollowType;var i=o(584);_.SCMetadataTypeFieldType=i.SCMetadataTypeFieldType;var n=o(444);_.SCCommentsOrderBy=n.SCCommentsOrderBy;var C=o(461);_.SCMessageFileType=C.SCMessageFileType,_.SCPrivateMessageStatusType=C.SCPrivateMessageStatusType,_.SCPrivateMessageType=C.SCPrivateMessageType;var O=o(947);_.SCIncubatorStatusType=O.SCIncubatorStatusType;var s=o(303);_.SCPrizeUserStatusType=s.SCPrizeUserStatusType;var r=o(505);_.SCFeedTypologyType=r.SCFeedTypologyType,_.SCFeedUnitActivityTypologyType=r.SCFeedUnitActivityTypologyType;var p=o(768);_.SCNotificationTopicType=p.SCNotificationTopicType,_.SCNotificationTypologyType=p.SCNotificationTypologyType;var N=o(561);_.SCFlagModerationStatusType=N.SCFlagModerationStatusType,_.SCFlagTypeEnum=N.SCFlagTypeEnum;var A=o(767);_.SCCustomPageTypeEnum=A.SCCustomPageTypeEnum;var u=o(903);_.SCPreferenceSection=u.SCPreferenceSection,_.SCPreferenceName=u.SCPreferenceName;var I=o(22);_.SCFeatureName=I.SCFeatureName;var l=o(460);_.SCLegalPagePoliciesType=l.SCLegalPagePoliciesType;var c=o(275);_.SCContributeStatusType=c.SCContributeStatusType,_.SCContributionType=c.SCContributionType;var y=o(579);_.SuggestionType=y.SuggestionType;var L=o(554);_.SCConnectionStatus=L.SCConnectionStatus;var R=o(402);_.SCDeviceApnsTypeEnum=R.SCDeviceApnsTypeEnum,_.SCDeviceTypeEnum=R.SCDeviceTypeEnum;var P=o(56);_.SCGroupPrivacyType=P.SCGroupPrivacyType,_.SCGroupSubscriptionStatusType=P.SCGroupSubscriptionStatusType},460:(e,_)=>{let o;_.__esModule=!0,_.SCLegalPagePoliciesType=void 0,_.SCLegalPagePoliciesType=o,function(e){e.TERMS_AND_CONDITIONS="tec",e.PRIVACY="privacy"}(o||(_.SCLegalPagePoliciesType=o={}))},851:(e,_)=>{let o;_.__esModule=!0,_.SCLanguageType=void 0,_.SCLanguageType=o,function(e){e.EN="en",e.IT="it"}(o||(_.SCLanguageType=o={}))},584:(e,_)=>{let o;_.__esModule=!0,_.SCMetadataTypeFieldType=void 0,_.SCMetadataTypeFieldType=o,function(e){e.STRING="string",e.EMAIL="email",e.URL="url",e.ENUM="enum",e.PHONE_NUMBER="phone_number",e.CHECKBOX="checkbox"}(o||(_.SCMetadataTypeFieldType=o={}))},768:(e,_)=>{let o,t;_.__esModule=!0,_.SCNotificationTypologyType=_.SCNotificationTopicType=void 0,_.SCNotificationTypologyType=o,function(e){e.COMMENT="comment",e.NESTED_COMMENT="nested_comment",e.CONNECTION_REQUEST="connection_request",e.CONNECTION_ACCEPT="connection_accept",e.CONNECTION_REMOVE="connection_remove",e.CONNECTION_REJECT="connection_reject",e.CONNECTION_CANCEL_REJECT="connection_cancel_reject",e.CONNECTION_CANCEL_REQUEST="connection_cancel_request",e.MENTION="mention",e.VOTE_UP="vote_up",e.FOLLOW="follow",e.PRIVATE_MESSAGE="private_message",e.DELETE_PRIVATE_MESSAGE="delete_private_message",e.DELETED_FOR_ADVERTISING="deleted_for_advertising",e.DELETED_FOR_AGGRESSIVE="deleted_for_aggressive",e.DELETED_FOR_VULGAR="deleted_for_vulgar",e.DELETED_FOR_POOR="deleted_for_poor",e.DELETED_FOR_OFFTOPIC="deleted_for_offtopic",e.UNDELETED_FOR="undeleted_for",e.COLLAPSED_FOR_ADVERTISING="collapsed_for_advertising",e.COLLAPSED_FOR_AGGRESSIVE="collapsed_for_aggressive",e.COLLAPSED_FOR_VULGAR="collapsed_for_vulgar",e.COLLAPSED_FOR_POOR="collapsed_for_poor",e.COLLAPSED_FOR_OFFTOPIC="collapsed_for_offtopic",e.USER_FOLLOW="user_follow",e.USER_UNFOLLOW="user_unfollow",e.KINDLY_NOTICE_ADVERTISING="kindly_notice_advertising",e.KINDLY_NOTICE_AGGRESSIVE="kindly_notice_aggressive",e.KINDLY_NOTICE_VULGAR="kindly_notice_vulgar",e.KINDLY_NOTICE_POOR="kindly_notice_poor",e.KINDLY_NOTICE_OFFTOPIC="kindly_notice_offtopic",e.KINDLY_NOTICE_FLAG="kindly_notice_flag",e.BLOCKED_USER="blocked_user",e.UNBLOCKED_USER="unblocked_user",e.INCUBATOR_APPROVED="incubator_approved",e.CUSTOM_NOTIFICATION="custom_notification",e.NOTIFICATION_BANNER="notification_banner",e.CONTRIBUTION="contribution"}(o||(_.SCNotificationTypologyType=o={})),_.SCNotificationTopicType=t,function(e){e.INTERACTION="interaction",e.NEWS="news"}(t||(_.SCNotificationTopicType=t={}))},903:(e,_)=>{let o,t;_.__esModule=!0,_.SCPreferenceSection=_.SCPreferenceName=void 0,_.SCPreferenceSection=o,function(e){e.TEXT="text",e.STYLE="style",e.LOGO="logo",e.COLORS="colors",e.COVERS="covers",e.IMAGES="images",e.STAFF="staff",e.LOYALTY="loyalty",e.ADDONS="addons",e.ADVERTISING="advertising",e.CONFIGURATIONS="configurations",e.PROVIDERS="providers",e.WEBMASTER="webmaster"}(o||(_.SCPreferenceSection=o={})),_.SCPreferenceName=t,function(e){e.APPLICATION_NAME="application_name",e.APPLICATION_SLOGAN1="application_slogan1",e.APPLICATION_SLOGAN2="application_slogan2",e.APPLICATION_COPYRIGHT="application_copyright",e.FONT_FAMILY="font_family",e.NAVBAR_LOGO="navbar_logo",e.NAVBAR_LOGO_MOBILE="navbar_logo_mobile",e.COLORBACK="colorback",e.COLORPRIMARY="colorprimary",e.COLORSECONDARY="colorsecondary",e.NAVBARBACK="navbarback",e.SUBMENUBACK="submenuback",e.COLORFONT="font_color",e.COVER_1_HP_M1920="cover_1_hp_m1920",e.COVER_2_HP_M1920="cover_2_hp_m1920",e.COVER_3_HP_M1920="cover_3_hp_m1920",e.COVER_4_HP_M1920="cover_4_hp_m1920",e.COVERS_VISIBILITY="covers_visibility",e.APP_ICON="app_icon",e.USER_DEFAULT_COVER="user_default_cover",e.ERROR_404="error_404",e.ERROR_503="error_503",e.ERRORPAGES_IMAGE="errorpages_image",e.STAFF_BADGE_ICON="staff_badge_icon",e.STAFF_BADGE_LABEL="staff_badge_label",e.PRIZE_A_IMAGE="prize_a_image",e.PRIZE_B_IMAGE="prize_b_image",e.PRIZE_C_IMAGE="prize_c_image",e.POINTS_MAKE_DISCUSSION="points_make_discussion",e.POINTS_MAKE_POST="points_make_post",e.POINTS_MAKE_COMMENT="points_make_comment",e.POINTS_RECEIVE_VOTE="points_receive_vote",e.POINTS_CONNECTION_OR_FOLLOWER="points_connection_or_follower",e.POINTS_SOCIAL_SHARE="points_social_share",e.POINTS_APP_USED="points_app_used",e.POINTS_DAILY_VISIT="points_daily_visit",e.AFFINIDY_ENABLED="affinity_enabled",e.CLOSED_COMMUNITY="closed_community",e.INCUBATOR_ENABLED="incubator_enabled",e.INCUBATOR_SUBSCRIBERS="incubator_subscribers",e.LOYALTY_POINTS_COLLECTION="loyalty_points_collection",e.POLLS_ENABLED="polls_enabled",e.REGISTRATION_WIZARD="registration_wizard",e.VIDEO_UPLOAD_ENABLED="video_upload_enabled",e.VIMEO_TOKEN_UPLOAD="vimeo_token_upload",e.VIMEO_TOKEN_DELETE="vimeo_token_delete",e.VIDEO_UPLOAD_ONLY_FOR_STAFF="video_upload_only_for_staff",e.POST_GEOLOCATION_ENABLED="post_geolocation_enabled",e.SHARE_POST_ON_FACEBOOK_ENABLED="share_post_on_facebook_enabled",e.SHARE_POST_ON_TWITTER_ENABLED="share_post_on_twitter_enabled",e.SHARE_POST_ON_LINKEDIN_ENABLED="share_post_on_linkedin_enabled",e.CUSTOM_ADV_ENABLED="custom_adv_enabled",e.CUSTOM_ADV_ONLY_FOR_ANONYMOUS_USERS_ENABLED="custom_adv_only_for_anonymous_users_enabled",e.FOLLOW_ENABLED="follow_enabled",e.EXPLORE_STREAM_ENABLED="explore_stream_enabled",e.EXPLORE_STREAM_ORDER_BY="explore_stream_order_by",e.HOME_STREAM_ORDER_BY="home_stream_order_by",e.MANUAL_CATEGORIES_ORDER_ENABLED="manual_categories_order_enabled",e.PEOPLE_SEARCH_ENABLED="people_search_enabled",e.POST_ONLY_STAFF_ENABLED="post_only_staff_enabled",e.STREAM_QUALITY="stream_quality",e.CONTENT_AVAILABILITY="content_availability",e.USERS_APPROVAL_ENABLED="users_approval_enabled",e.POST_TYPE_ENABLED="post_type_enabled",e.DISCUSSION_TYPE_ENABLED="discussion_type_enabled",e.STATUS_TYPE_ENABLED="status_type_enabled",e.URL_TEMPLATE_EMAIL_SETTINGS="url_template_email_settings",e.URL_TEMPLATE_EMAIL_UNSUBSCRIBE="url_template_email_unsubscribe",e.URL_TEMPLATE_PASSWORD_RECOVER="url_template_password_recover",e.URL_TEMPLATE_VERIFY_EMAIL="url_template_verify_email",e.URL_TEMPLATE_POST="url_template_post",e.URL_TEMPLATE_DISCUSSION="url_template_discussion",e.URL_TEMPLATE_STATUS="url_template_status",e.URL_TEMPLATE_COMMENT="url_template_comment",e.URL_TEMPLATE_CATEGORY="url_template_category",e.URL_TEMPLATE_CATEGORIES_LIST="url_template_categories_list",e.URL_TEMPLATE_USER_PROFILE="url_template_profile",e.URL_TEMPLATE_USER_PROFILE_SETTINGS="url_template_profile_settings",e.URL_TEMPLATE_NOTIFICATIONS="url_template_notifications",e.URL_TEMPLATE_USER_PRIVATE_MESSAGES="url_template_private_message",e.URL_TEMPLATE_INCUBATOR="url_template_incubator",e.USER_METADATA_DEFINITIONS="user_metadata_definition",e.TAG_MANAGER_CONTAINER_ID="tag_manager_container_id",e.GDPR_COOKIE_CONSENT_EXTERNAL_HTML="gdpr_cookie_consent_external_html",e.GDPR_SIGNUP_ACCEPT_HTML="gdpr_signup_accept_html",e.APP_URL_ON_APP_STORE="app_url_on_app_store",e.APP_URL_ON_GOOGLE_PLAY="app_url_on_google_play",e.FACEBOOK_SIGNIN_ENABLED="facebook_signin_enabled",e.FACEBOOK_APP_KEY="facebook_app_key",e.FACEBOOK_APP_SECRET="facebook_app_secret",e.LINKEDIN_SIGNIN_ENABLED="linkedin_signin_enabled",e.LINKEDIN_APP_KEY="linkedin_app_key",e.LINKEDIN_APP_SECRET="linkedin_app_secret",e.TWITTER_SIGNIN_ENABLED="twitter_signin_enabled",e.TWITTER_APP_KEY="twitter_app_key",e.TWITTER_APP_SECRET="twitter_app_secret",e.GOOGLE_GEOCODING_API_KEY="google_geocoding_api_key",e.GOOGLE_SIGNIN_ENABLED="google_signin_enabled",e.GOOGLE_APP_KEY="google_app_key",e.GOOGLE_APP_SECRET="google_app_secret",e.WEB_PUSH_PUBLIC_KEY="web_push_public_key",e.WEB_PUSH_ENABLED="web_push_enabled",e.META_ROBOTS="meta_robots",e.META_TITLE_HOME_NOT_LOGGED="meta_title_home_not_logged",e.META_DESCRIPTION="meta_description"}(t||(_.SCPreferenceName=t={}))},461:(e,_)=>{let o,t,E;_.__esModule=!0,_.SCPrivateMessageType=_.SCPrivateMessageStatusType=_.SCMessageFileType=void 0,_.SCPrivateMessageStatusType=o,function(e){e.CREATED="created",e.DELETED="deleted",e.HIDDEN="hidden",e.NEW="new"}(o||(_.SCPrivateMessageStatusType=o={})),_.SCPrivateMessageType=t,function(e){e.GROUP="group",e.USER="user",e.NEW="new"}(t||(_.SCPrivateMessageType=t={})),_.SCMessageFileType=E,function(e){e.DOCUMENT="application/",e.IMAGE="image/",e.VIDEO="video/",e.PDF="application/pdf",e.AUDIO="audio/"}(E||(_.SCMessageFileType=E={}))},303:(e,_)=>{let o;_.__esModule=!0,_.SCPrizeUserStatusType=void 0,_.SCPrizeUserStatusType=o,function(e){e[e.PENDING=0]="PENDING",e[e.REFUSED=1]="REFUSED",e[e.SENT=2]="SENT"}(o||(_.SCPrizeUserStatusType=o={}))},579:(e,_)=>{let o;_.__esModule=!0,_.SuggestionType=void 0,_.SuggestionType=o,function(e){e.USER="user",e.CATEGORY="category",e.GROUP="group"}(o||(_.SuggestionType=o={}))},967:(e,_)=>{let o,t;_.__esModule=!0,_.SCUserStatus=_.SCUserReputationType=void 0,_.SCUserStatus=o,function(e){e.APPROVED="a",e.BLOCKED="b",e.DELETED="d",e.UNREGISTERED="u"}(o||(_.SCUserStatus=o={})),_.SCUserReputationType=t,function(e){e[e.GAIN_BY_UPVOTED=1]="GAIN_BY_UPVOTED",e[e.ASSIGNED_BY_MODERATOR=10]="ASSIGNED_BY_MODERATOR",e[e.GAIN_BY_CANCELLING_CONTRIBUTE_MODERATION=11]="GAIN_BY_CANCELLING_CONTRIBUTE_MODERATION",e[e.GAIN_BY_MAKE_POST=12]="GAIN_BY_MAKE_POST",e[e.GAIN_BY_MAKE_FIRST_LEVEL_COMMENT=13]="GAIN_BY_MAKE_FIRST_LEVEL_COMMENT",e[e.GAIN_BY_MAKE_SECOND_LEVEL_COMMENT=14]="GAIN_BY_MAKE_SECOND_LEVEL_COMMENT",e[e.GAIN_BY_CONNECTION=15]="GAIN_BY_CONNECTION",e[e.GAIN_BY_APP_USED=17]="GAIN_BY_APP_USED",e[e.GAIN_BY_DAILY_VISIT=18]="GAIN_BY_DAILY_VISIT",e[e.GAIN_BY_FOLLOWER=19]="GAIN_BY_FOLLOWER",e[e.GAIN_BY_UNBLOCK_ACCOUNT=20]="GAIN_BY_UNBLOCK_ACCOUNT",e[e.LOSE_BY_UPVOTE_CANCELED=-1]="LOSE_BY_UPVOTE_CANCELED",e[e.LOSE_BY_CONTRIBUTE_MODERATION=-11]="LOSE_BY_CONTRIBUTE_MODERATION",e[e.LOSE_BY_DELETE_POST=-12]="LOSE_BY_DELETE_POST",e[e.LOSE_BY_DELETE_FIRST_LEVEL_COMMENT=-13]="LOSE_BY_DELETE_FIRST_LEVEL_COMMENT",e[e.LOSE_BY_DELETE_SECOND_LEVEL_COMMENT=-14]="LOSE_BY_DELETE_SECOND_LEVEL_COMMENT",e[e.LOSE_BY_CONNECTION=-15]="LOSE_BY_CONNECTION",e[e.LOSE_BY_FOLLOWER=-19]="LOSE_BY_FOLLOWER",e[e.LOSE_BY_BLOCK_ACCOUNT=-20]="LOSE_BY_BLOCK_ACCOUNT"}(t||(_.SCUserReputationType=t={}))}},_={};function o(t){var E=_[t];if(void 0!==E)return E.exports;var S=_[t]={exports:{}};return e[t](S,S.exports,o),S.exports}var t={};return(()=>{var e=t;e.__esModule=!0;var _=o(994);e.SCContributionType=_.SCContributionType,e.SCBroadcastMessageBannerType=_.SCBroadcastMessageBannerType,e.SCCategoryAutoFollowType=_.SCCategoryAutoFollowType,e.SCCommentsOrderBy=_.SCCommentsOrderBy,e.SCCustomAdvPosition=_.SCCustomAdvPosition,e.SCCustomPageTypeEnum=_.SCCustomPageTypeEnum,e.SCDeviceTypeEnum=_.SCDeviceTypeEnum,e.SCDeviceApnsTypeEnum=_.SCDeviceApnsTypeEnum,e.SCFeatureName=_.SCFeatureName,e.SCFeedTypologyType=_.SCFeedTypologyType,e.SCFeedUnitActivityTypologyType=_.SCFeedUnitActivityTypologyType,e.SCFlagTypeEnum=_.SCFlagTypeEnum,e.SCFlagModerationStatusType=_.SCFlagModerationStatusType,e.SCConnectionStatus=_.SCConnectionStatus,e.SCIncubatorStatusType=_.SCIncubatorStatusType,e.SCLegalPagePoliciesType=_.SCLegalPagePoliciesType,e.SCLanguageType=_.SCLanguageType,e.SCNotificationTypologyType=_.SCNotificationTypologyType,e.SCNotificationTopicType=_.SCNotificationTopicType,e.SCPreferenceSection=_.SCPreferenceSection,e.SCPreferenceName=_.SCPreferenceName,e.SCMessageFileType=_.SCMessageFileType,e.SCPrizeUserStatusType=_.SCPrizeUserStatusType,e.SCUserStatus=_.SCUserStatus,e.SuggestionType=_.SuggestionType,e.SCPrivateMessageStatusType=_.SCPrivateMessageStatusType,e.SCMetadataTypeFieldType=_.SCMetadataTypeFieldType,e.SCGroupPrivacyType=_.SCGroupPrivacyType,e.SCGroupSubscriptionStatusType=_.SCGroupSubscriptionStatusType,e.SCPrivateMessageType=_.SCPrivateMessageType})(),t})()));
|
|
2
|
+
!function(e,_){"object"==typeof exports&&"object"==typeof module?module.exports=_():"function"==typeof define&&define.amd?define([],_):"object"==typeof exports?exports.SelfCommunityTypes=_():e.SelfCommunityTypes=_()}(self,(()=>(()=>{"use strict";var e={665:(e,_)=>{let o;_.__esModule=!0,_.SCBroadcastMessageBannerType=void 0,_.SCBroadcastMessageBannerType=o,function(e){e.HTML="html_banner",e.NOTIFICATION="notification_banner"}(o||(_.SCBroadcastMessageBannerType=o={}))},511:(e,_)=>{let o;_.__esModule=!0,_.SCCategoryAutoFollowType=void 0,_.SCCategoryAutoFollowType=o,function(e){e.NONE="none",e.DEFAULT="default",e.FORCED="forced"}(o||(_.SCCategoryAutoFollowType=o={}))},444:(e,_)=>{let o;_.__esModule=!0,_.SCCommentsOrderBy=void 0,_.SCCommentsOrderBy=o,function(e){e.ADDED_AT_DESC="-added_at",e.ADDED_AT_ASC="added_at",e.CONNECTION_DESC="-connection",e.CONNECTION_ASC="connection"}(o||(_.SCCommentsOrderBy=o={}))},275:(e,_)=>{let o,t;_.__esModule=!0,_.SCContributionType=_.SCContributeStatusType=void 0,_.SCContributionType=o,function(e){e.DISCUSSION="discussion",e.POST="post",e.STATUS="status",e.COMMENT="comment"}(o||(_.SCContributionType=o={})),_.SCContributeStatusType=t,function(e){e.OPEN="open",e.IGNORED="ignored",e.HIDDEN="hidden",e.DELETED="deleted"}(t||(_.SCContributeStatusType=t={}))},386:(e,_)=>{let o;_.__esModule=!0,_.SCCustomAdvPosition=void 0,_.SCCustomAdvPosition=o,function(e){e.POSITION_BELOW_TOPBAR="BELOW_TOPBAR",e.POSITION_BELOW_FEED_OBJECT="BELOW_THE_POST",e.POSITION_ABOVE_FOOTER_BAR="ABOVE_FOOTER_BAR",e.POSITION_FOOTER_STICKY="FOOTER_STICKY",e.POSITION_IN_COMMENTS="IN_POST_COMMENTS",e.POSITION_RELATED_POSTS_COLUMN="RELATED_POSTS_COLUMN",e.POSITION_FEED_SIDEBAR="TOOLS_COLUMN",e.POSITION_FEED="IN_STREAM"}(o||(_.SCCustomAdvPosition=o={}))},767:(e,_)=>{let o;_.__esModule=!0,_.SCCustomPageTypeEnum=void 0,_.SCCustomPageTypeEnum=o,function(e){e.NORMAL="normal",e.LEGAL="legal"}(o||(_.SCCustomPageTypeEnum=o={}))},402:(e,_)=>{let o,t,E;_.__esModule=!0,_.SCDeviceTypeEnum=_.SCDeviceGcmTypeEnum=_.SCDeviceApnsTypeEnum=void 0,_.SCDeviceTypeEnum=o,function(e){e.ANDROID="Android",e.IOS="iOS"}(o||(_.SCDeviceTypeEnum=o={})),_.SCDeviceGcmTypeEnum=t,function(e){e.GCM="GCM",e.FCM="FCM"}(t||(_.SCDeviceGcmTypeEnum=t={})),_.SCDeviceApnsTypeEnum=E,function(e){e.APNS="APNS"}(E||(_.SCDeviceApnsTypeEnum=E={}))},22:(e,_)=>{let o;_.__esModule=!0,_.SCFeatureName=void 0,_.SCFeatureName=o,function(e){e.INTERESTS="interests",e.CUSTOMIZE="customize",e.ADDONS="addons",e.DOMAIN="domain",e.SOCIAL_PROVIDERS="social_providers",e.COMMUNITY_SUBSCRIPTION="community_subscription",e.SEO="seo",e.ADVERTISING="advertising",e.GOOGLE_CLOUD_API="google_cloud_api",e.HOTJAR="hotjar",e.SQREEN="sqreen",e.INCUBATORS="incubators",e.CMS="cms",e.LEGAL_PAGES="legal_pages",e.SCORING="scoring",e.USER_ROLES="user_roles",e.EMAIL_MANAGER="email_manager",e.LOYALTY="loyalty",e.BROADCAST="broadcast",e.INVITATION="invitation",e.APP_SETTINGS="app_settings",e.MODERATION_FLAGS="moderation_flags",e.MODERATION_CONTENTS="moderation_contents",e.MODERATION_USERS_BLOCKED="moderation_users_blocked",e.MODERATION_USERS="moderation_users",e.DATA_PROVISIONING_DASHBOARD="data_provisioning_dashboard",e.DATA_PROVISIONING_USERS="data_provisioning_users",e.DATA_PROVISIONING_CONTENTS="data_provisioning_contents",e.DATA_PROVISIONING_INTERESTS="data_provisioning_interests",e.DATA_PROVISIONING_POLLS="data_provisioning_polls",e.DATA_PROVISIONING_REPORTS="data_provisioning_reports",e.REGISTRATION_ALERTS="registration_alerts",e.SOCIAL_SHARE="social_share",e.FEED_SETTINGS="stream_settings",e.TAGGING="tagging",e.API_V2="api_v2",e.WEBHOOK="webhook",e.HEADLESS="headless",e.CUSTOMIZE_HEADLESS="customize_headless",e.SYSTEM_PAGES="system_pages",e.REACTION="reaction",e.PRIVATE_MESSAGING="private_messaging",e.GROUPING="grouping"}(o||(_.SCFeatureName=o={}))},505:(e,_)=>{let o,t;_.__esModule=!0,_.SCFeedUnitActivityTypologyType=_.SCFeedTypologyType=void 0,_.SCFeedTypologyType=o,function(e){e.HOME="home",e.EXPLORE="explore"}(o||(_.SCFeedTypologyType=o={})),_.SCFeedUnitActivityTypologyType=t,function(e){e.COMMENT="comment",e.VOTE="vote",e.POLLVOTE="pollvote",e.FOLLOW="follow"}(t||(_.SCFeedUnitActivityTypologyType=t={}))},561:(e,_)=>{let o,t;_.__esModule=!0,_.SCFlagTypeEnum=_.SCFlagModerationStatusType=void 0,_.SCFlagTypeEnum=o,function(e){e[e.SPAM=0]="SPAM",e[e.AGGRESSIVE=1]="AGGRESSIVE",e[e.VULGAR=2]="VULGAR",e[e.POOR=3]="POOR",e[e.OFFTOPIC=4]="OFFTOPIC"}(o||(_.SCFlagTypeEnum=o={})),_.SCFlagModerationStatusType=t,function(e){e.IGNORED="ignored",e.DELETED="deleted",e.HIDDEN="hidden"}(t||(_.SCFlagModerationStatusType=t={}))},554:(e,_)=>{let o;_.__esModule=!0,_.SCConnectionStatus=void 0,_.SCConnectionStatus=o,function(e){e.CONNECTED="connected",e.CONNECTION_REQUEST_SENT="sent_connection_request",e.CONNECTION_REQUEST_RECEIVED="received_connection_request"}(o||(_.SCConnectionStatus=o={}))},56:(e,_)=>{let o,t;_.__esModule=!0,_.SCGroupSubscriptionStatusType=_.SCGroupPrivacyType=void 0,_.SCGroupPrivacyType=o,function(e){e.PUBLIC="public",e.PRIVATE="private"}(o||(_.SCGroupPrivacyType=o={})),_.SCGroupSubscriptionStatusType=t,function(e){e.SUBSCRIBED="subscribed",e.REQUESTED="requested",e.INVITED="invited"}(t||(_.SCGroupSubscriptionStatusType=t={}))},947:(e,_)=>{let o;_.__esModule=!0,_.SCIncubatorStatusType=void 0,_.SCIncubatorStatusType=o,function(e){e[e.PENDING=0]="PENDING",e[e.PROPOSAL=1]="PROPOSAL",e[e.APPROVED=2]="APPROVED",e[e.IGNORED=3]="IGNORED"}(o||(_.SCIncubatorStatusType=o={}))},994:(e,_,o)=>{_.__esModule=!0;var t=o(665);_.SCBroadcastMessageBannerType=t.SCBroadcastMessageBannerType;var E=o(386);_.SCCustomAdvPosition=E.SCCustomAdvPosition;var S=o(851);_.SCLanguageType=S.SCLanguageType;var T=o(967);_.SCUserReputationType=T.SCUserReputationType,_.SCUserStatus=T.SCUserStatus;var a=o(511);_.SCCategoryAutoFollowType=a.SCCategoryAutoFollowType;var i=o(584);_.SCMetadataTypeFieldType=i.SCMetadataTypeFieldType;var n=o(444);_.SCCommentsOrderBy=n.SCCommentsOrderBy;var C=o(461);_.SCMessageFileType=C.SCMessageFileType,_.SCPrivateMessageStatusType=C.SCPrivateMessageStatusType,_.SCPrivateMessageType=C.SCPrivateMessageType;var O=o(947);_.SCIncubatorStatusType=O.SCIncubatorStatusType;var s=o(303);_.SCPrizeUserStatusType=s.SCPrizeUserStatusType;var r=o(505);_.SCFeedTypologyType=r.SCFeedTypologyType,_.SCFeedUnitActivityTypologyType=r.SCFeedUnitActivityTypologyType;var p=o(768);_.SCNotificationTopicType=p.SCNotificationTopicType,_.SCNotificationTypologyType=p.SCNotificationTypologyType;var N=o(561);_.SCFlagModerationStatusType=N.SCFlagModerationStatusType,_.SCFlagTypeEnum=N.SCFlagTypeEnum;var A=o(767);_.SCCustomPageTypeEnum=A.SCCustomPageTypeEnum;var u=o(903);_.SCPreferenceSection=u.SCPreferenceSection,_.SCPreferenceName=u.SCPreferenceName;var I=o(22);_.SCFeatureName=I.SCFeatureName;var l=o(460);_.SCLegalPagePoliciesType=l.SCLegalPagePoliciesType;var c=o(275);_.SCContributeStatusType=c.SCContributeStatusType,_.SCContributionType=c.SCContributionType;var y=o(579);_.SuggestionType=y.SuggestionType;var L=o(554);_.SCConnectionStatus=L.SCConnectionStatus;var R=o(402);_.SCDeviceApnsTypeEnum=R.SCDeviceApnsTypeEnum,_.SCDeviceTypeEnum=R.SCDeviceTypeEnum;var P=o(56);_.SCGroupPrivacyType=P.SCGroupPrivacyType,_.SCGroupSubscriptionStatusType=P.SCGroupSubscriptionStatusType},460:(e,_)=>{let o;_.__esModule=!0,_.SCLegalPagePoliciesType=void 0,_.SCLegalPagePoliciesType=o,function(e){e.TERMS_AND_CONDITIONS="tec",e.PRIVACY="privacy"}(o||(_.SCLegalPagePoliciesType=o={}))},851:(e,_)=>{let o;_.__esModule=!0,_.SCLanguageType=void 0,_.SCLanguageType=o,function(e){e.EN="en",e.IT="it"}(o||(_.SCLanguageType=o={}))},584:(e,_)=>{let o;_.__esModule=!0,_.SCMetadataTypeFieldType=void 0,_.SCMetadataTypeFieldType=o,function(e){e.STRING="string",e.EMAIL="email",e.URL="url",e.ENUM="enum",e.PHONE_NUMBER="phone_number",e.CHECKBOX="checkbox"}(o||(_.SCMetadataTypeFieldType=o={}))},768:(e,_)=>{let o,t;_.__esModule=!0,_.SCNotificationTypologyType=_.SCNotificationTopicType=void 0,_.SCNotificationTypologyType=o,function(e){e.COMMENT="comment",e.NESTED_COMMENT="nested_comment",e.CONNECTION_REQUEST="connection_request",e.CONNECTION_ACCEPT="connection_accept",e.CONNECTION_REMOVE="connection_remove",e.CONNECTION_REJECT="connection_reject",e.CONNECTION_CANCEL_REJECT="connection_cancel_reject",e.CONNECTION_CANCEL_REQUEST="connection_cancel_request",e.MENTION="mention",e.VOTE_UP="vote_up",e.FOLLOW="follow",e.PRIVATE_MESSAGE="private_message",e.DELETE_PRIVATE_MESSAGE="delete_private_message",e.DELETED_FOR_ADVERTISING="deleted_for_advertising",e.DELETED_FOR_AGGRESSIVE="deleted_for_aggressive",e.DELETED_FOR_VULGAR="deleted_for_vulgar",e.DELETED_FOR_POOR="deleted_for_poor",e.DELETED_FOR_OFFTOPIC="deleted_for_offtopic",e.UNDELETED_FOR="undeleted_for",e.COLLAPSED_FOR_ADVERTISING="collapsed_for_advertising",e.COLLAPSED_FOR_AGGRESSIVE="collapsed_for_aggressive",e.COLLAPSED_FOR_VULGAR="collapsed_for_vulgar",e.COLLAPSED_FOR_POOR="collapsed_for_poor",e.COLLAPSED_FOR_OFFTOPIC="collapsed_for_offtopic",e.USER_FOLLOW="user_follow",e.USER_UNFOLLOW="user_unfollow",e.KINDLY_NOTICE_ADVERTISING="kindly_notice_advertising",e.KINDLY_NOTICE_AGGRESSIVE="kindly_notice_aggressive",e.KINDLY_NOTICE_VULGAR="kindly_notice_vulgar",e.KINDLY_NOTICE_POOR="kindly_notice_poor",e.KINDLY_NOTICE_OFFTOPIC="kindly_notice_offtopic",e.KINDLY_NOTICE_FLAG="kindly_notice_flag",e.BLOCKED_USER="blocked_user",e.UNBLOCKED_USER="unblocked_user",e.INCUBATOR_APPROVED="incubator_approved",e.CUSTOM_NOTIFICATION="custom_notification",e.NOTIFICATION_BANNER="notification_banner",e.CONTRIBUTION="contribution",e.USER_INVITED_TO_JOIN_GROUP="user_invited_to_join_group",e.USER_REQUESTED_TO_JOIN_GROUP="user_requested_to_join_group",e.USER_ACCEPTED_TO_JOIN_GROUP="user_accepted_to_join_group",e.USER_ADDED_TO_GROUP="user_added_to_group"}(o||(_.SCNotificationTypologyType=o={})),_.SCNotificationTopicType=t,function(e){e.INTERACTION="interaction",e.NEWS="news"}(t||(_.SCNotificationTopicType=t={}))},903:(e,_)=>{let o,t;_.__esModule=!0,_.SCPreferenceSection=_.SCPreferenceName=void 0,_.SCPreferenceSection=o,function(e){e.TEXT="text",e.STYLE="style",e.LOGO="logo",e.COLORS="colors",e.COVERS="covers",e.IMAGES="images",e.STAFF="staff",e.LOYALTY="loyalty",e.ADDONS="addons",e.ADVERTISING="advertising",e.CONFIGURATIONS="configurations",e.PROVIDERS="providers",e.WEBMASTER="webmaster"}(o||(_.SCPreferenceSection=o={})),_.SCPreferenceName=t,function(e){e.APPLICATION_NAME="application_name",e.APPLICATION_SLOGAN1="application_slogan1",e.APPLICATION_SLOGAN2="application_slogan2",e.APPLICATION_COPYRIGHT="application_copyright",e.FONT_FAMILY="font_family",e.NAVBAR_LOGO="navbar_logo",e.NAVBAR_LOGO_MOBILE="navbar_logo_mobile",e.COLORBACK="colorback",e.COLORPRIMARY="colorprimary",e.COLORSECONDARY="colorsecondary",e.NAVBARBACK="navbarback",e.SUBMENUBACK="submenuback",e.COLORFONT="font_color",e.COVER_1_HP_M1920="cover_1_hp_m1920",e.COVER_2_HP_M1920="cover_2_hp_m1920",e.COVER_3_HP_M1920="cover_3_hp_m1920",e.COVER_4_HP_M1920="cover_4_hp_m1920",e.COVERS_VISIBILITY="covers_visibility",e.APP_ICON="app_icon",e.USER_DEFAULT_COVER="user_default_cover",e.ERROR_404="error_404",e.ERROR_503="error_503",e.ERRORPAGES_IMAGE="errorpages_image",e.STAFF_BADGE_ICON="staff_badge_icon",e.STAFF_BADGE_LABEL="staff_badge_label",e.PRIZE_A_IMAGE="prize_a_image",e.PRIZE_B_IMAGE="prize_b_image",e.PRIZE_C_IMAGE="prize_c_image",e.POINTS_MAKE_DISCUSSION="points_make_discussion",e.POINTS_MAKE_POST="points_make_post",e.POINTS_MAKE_COMMENT="points_make_comment",e.POINTS_RECEIVE_VOTE="points_receive_vote",e.POINTS_CONNECTION_OR_FOLLOWER="points_connection_or_follower",e.POINTS_SOCIAL_SHARE="points_social_share",e.POINTS_APP_USED="points_app_used",e.POINTS_DAILY_VISIT="points_daily_visit",e.AFFINIDY_ENABLED="affinity_enabled",e.CLOSED_COMMUNITY="closed_community",e.INCUBATOR_ENABLED="incubator_enabled",e.INCUBATOR_SUBSCRIBERS="incubator_subscribers",e.LOYALTY_POINTS_COLLECTION="loyalty_points_collection",e.POLLS_ENABLED="polls_enabled",e.REGISTRATION_WIZARD="registration_wizard",e.VIDEO_UPLOAD_ENABLED="video_upload_enabled",e.VIMEO_TOKEN_UPLOAD="vimeo_token_upload",e.VIMEO_TOKEN_DELETE="vimeo_token_delete",e.VIDEO_UPLOAD_ONLY_FOR_STAFF="video_upload_only_for_staff",e.POST_GEOLOCATION_ENABLED="post_geolocation_enabled",e.SHARE_POST_ON_FACEBOOK_ENABLED="share_post_on_facebook_enabled",e.SHARE_POST_ON_TWITTER_ENABLED="share_post_on_twitter_enabled",e.SHARE_POST_ON_LINKEDIN_ENABLED="share_post_on_linkedin_enabled",e.CUSTOM_ADV_ENABLED="custom_adv_enabled",e.CUSTOM_ADV_ONLY_FOR_ANONYMOUS_USERS_ENABLED="custom_adv_only_for_anonymous_users_enabled",e.FOLLOW_ENABLED="follow_enabled",e.EXPLORE_STREAM_ENABLED="explore_stream_enabled",e.EXPLORE_STREAM_ORDER_BY="explore_stream_order_by",e.HOME_STREAM_ORDER_BY="home_stream_order_by",e.MANUAL_CATEGORIES_ORDER_ENABLED="manual_categories_order_enabled",e.PEOPLE_SEARCH_ENABLED="people_search_enabled",e.POST_ONLY_STAFF_ENABLED="post_only_staff_enabled",e.STREAM_QUALITY="stream_quality",e.CONTENT_AVAILABILITY="content_availability",e.USERS_APPROVAL_ENABLED="users_approval_enabled",e.POST_TYPE_ENABLED="post_type_enabled",e.DISCUSSION_TYPE_ENABLED="discussion_type_enabled",e.STATUS_TYPE_ENABLED="status_type_enabled",e.URL_TEMPLATE_EMAIL_SETTINGS="url_template_email_settings",e.URL_TEMPLATE_EMAIL_UNSUBSCRIBE="url_template_email_unsubscribe",e.URL_TEMPLATE_PASSWORD_RECOVER="url_template_password_recover",e.URL_TEMPLATE_VERIFY_EMAIL="url_template_verify_email",e.URL_TEMPLATE_POST="url_template_post",e.URL_TEMPLATE_DISCUSSION="url_template_discussion",e.URL_TEMPLATE_STATUS="url_template_status",e.URL_TEMPLATE_COMMENT="url_template_comment",e.URL_TEMPLATE_CATEGORY="url_template_category",e.URL_TEMPLATE_CATEGORIES_LIST="url_template_categories_list",e.URL_TEMPLATE_USER_PROFILE="url_template_profile",e.URL_TEMPLATE_USER_PROFILE_SETTINGS="url_template_profile_settings",e.URL_TEMPLATE_NOTIFICATIONS="url_template_notifications",e.URL_TEMPLATE_USER_PRIVATE_MESSAGES="url_template_private_message",e.URL_TEMPLATE_INCUBATOR="url_template_incubator",e.USER_METADATA_DEFINITIONS="user_metadata_definition",e.TAG_MANAGER_CONTAINER_ID="tag_manager_container_id",e.GDPR_COOKIE_CONSENT_EXTERNAL_HTML="gdpr_cookie_consent_external_html",e.GDPR_SIGNUP_ACCEPT_HTML="gdpr_signup_accept_html",e.APP_URL_ON_APP_STORE="app_url_on_app_store",e.APP_URL_ON_GOOGLE_PLAY="app_url_on_google_play",e.FACEBOOK_SIGNIN_ENABLED="facebook_signin_enabled",e.FACEBOOK_APP_KEY="facebook_app_key",e.FACEBOOK_APP_SECRET="facebook_app_secret",e.LINKEDIN_SIGNIN_ENABLED="linkedin_signin_enabled",e.LINKEDIN_APP_KEY="linkedin_app_key",e.LINKEDIN_APP_SECRET="linkedin_app_secret",e.TWITTER_SIGNIN_ENABLED="twitter_signin_enabled",e.TWITTER_APP_KEY="twitter_app_key",e.TWITTER_APP_SECRET="twitter_app_secret",e.GOOGLE_GEOCODING_API_KEY="google_geocoding_api_key",e.GOOGLE_SIGNIN_ENABLED="google_signin_enabled",e.GOOGLE_APP_KEY="google_app_key",e.GOOGLE_APP_SECRET="google_app_secret",e.WEB_PUSH_PUBLIC_KEY="web_push_public_key",e.WEB_PUSH_ENABLED="web_push_enabled",e.META_ROBOTS="meta_robots",e.META_TITLE_HOME_NOT_LOGGED="meta_title_home_not_logged",e.META_DESCRIPTION="meta_description"}(t||(_.SCPreferenceName=t={}))},461:(e,_)=>{let o,t,E;_.__esModule=!0,_.SCPrivateMessageType=_.SCPrivateMessageStatusType=_.SCMessageFileType=void 0,_.SCPrivateMessageStatusType=o,function(e){e.CREATED="created",e.DELETED="deleted",e.HIDDEN="hidden",e.NEW="new"}(o||(_.SCPrivateMessageStatusType=o={})),_.SCPrivateMessageType=t,function(e){e.GROUP="group",e.USER="user",e.NEW="new"}(t||(_.SCPrivateMessageType=t={})),_.SCMessageFileType=E,function(e){e.DOCUMENT="application/",e.IMAGE="image/",e.VIDEO="video/",e.PDF="application/pdf",e.AUDIO="audio/"}(E||(_.SCMessageFileType=E={}))},303:(e,_)=>{let o;_.__esModule=!0,_.SCPrizeUserStatusType=void 0,_.SCPrizeUserStatusType=o,function(e){e[e.PENDING=0]="PENDING",e[e.REFUSED=1]="REFUSED",e[e.SENT=2]="SENT"}(o||(_.SCPrizeUserStatusType=o={}))},579:(e,_)=>{let o;_.__esModule=!0,_.SuggestionType=void 0,_.SuggestionType=o,function(e){e.USER="user",e.CATEGORY="category",e.GROUP="group"}(o||(_.SuggestionType=o={}))},967:(e,_)=>{let o,t;_.__esModule=!0,_.SCUserStatus=_.SCUserReputationType=void 0,_.SCUserStatus=o,function(e){e.APPROVED="a",e.BLOCKED="b",e.DELETED="d",e.UNREGISTERED="u"}(o||(_.SCUserStatus=o={})),_.SCUserReputationType=t,function(e){e[e.GAIN_BY_UPVOTED=1]="GAIN_BY_UPVOTED",e[e.ASSIGNED_BY_MODERATOR=10]="ASSIGNED_BY_MODERATOR",e[e.GAIN_BY_CANCELLING_CONTRIBUTE_MODERATION=11]="GAIN_BY_CANCELLING_CONTRIBUTE_MODERATION",e[e.GAIN_BY_MAKE_POST=12]="GAIN_BY_MAKE_POST",e[e.GAIN_BY_MAKE_FIRST_LEVEL_COMMENT=13]="GAIN_BY_MAKE_FIRST_LEVEL_COMMENT",e[e.GAIN_BY_MAKE_SECOND_LEVEL_COMMENT=14]="GAIN_BY_MAKE_SECOND_LEVEL_COMMENT",e[e.GAIN_BY_CONNECTION=15]="GAIN_BY_CONNECTION",e[e.GAIN_BY_APP_USED=17]="GAIN_BY_APP_USED",e[e.GAIN_BY_DAILY_VISIT=18]="GAIN_BY_DAILY_VISIT",e[e.GAIN_BY_FOLLOWER=19]="GAIN_BY_FOLLOWER",e[e.GAIN_BY_UNBLOCK_ACCOUNT=20]="GAIN_BY_UNBLOCK_ACCOUNT",e[e.LOSE_BY_UPVOTE_CANCELED=-1]="LOSE_BY_UPVOTE_CANCELED",e[e.LOSE_BY_CONTRIBUTE_MODERATION=-11]="LOSE_BY_CONTRIBUTE_MODERATION",e[e.LOSE_BY_DELETE_POST=-12]="LOSE_BY_DELETE_POST",e[e.LOSE_BY_DELETE_FIRST_LEVEL_COMMENT=-13]="LOSE_BY_DELETE_FIRST_LEVEL_COMMENT",e[e.LOSE_BY_DELETE_SECOND_LEVEL_COMMENT=-14]="LOSE_BY_DELETE_SECOND_LEVEL_COMMENT",e[e.LOSE_BY_CONNECTION=-15]="LOSE_BY_CONNECTION",e[e.LOSE_BY_FOLLOWER=-19]="LOSE_BY_FOLLOWER",e[e.LOSE_BY_BLOCK_ACCOUNT=-20]="LOSE_BY_BLOCK_ACCOUNT"}(t||(_.SCUserReputationType=t={}))}},_={};function o(t){var E=_[t];if(void 0!==E)return E.exports;var S=_[t]={exports:{}};return e[t](S,S.exports,o),S.exports}var t={};return(()=>{var e=t;e.__esModule=!0;var _=o(994);e.SCContributionType=_.SCContributionType,e.SCBroadcastMessageBannerType=_.SCBroadcastMessageBannerType,e.SCCategoryAutoFollowType=_.SCCategoryAutoFollowType,e.SCCommentsOrderBy=_.SCCommentsOrderBy,e.SCCustomAdvPosition=_.SCCustomAdvPosition,e.SCCustomPageTypeEnum=_.SCCustomPageTypeEnum,e.SCDeviceTypeEnum=_.SCDeviceTypeEnum,e.SCDeviceApnsTypeEnum=_.SCDeviceApnsTypeEnum,e.SCFeatureName=_.SCFeatureName,e.SCFeedTypologyType=_.SCFeedTypologyType,e.SCFeedUnitActivityTypologyType=_.SCFeedUnitActivityTypologyType,e.SCFlagTypeEnum=_.SCFlagTypeEnum,e.SCFlagModerationStatusType=_.SCFlagModerationStatusType,e.SCConnectionStatus=_.SCConnectionStatus,e.SCIncubatorStatusType=_.SCIncubatorStatusType,e.SCLegalPagePoliciesType=_.SCLegalPagePoliciesType,e.SCLanguageType=_.SCLanguageType,e.SCNotificationTypologyType=_.SCNotificationTypologyType,e.SCNotificationTopicType=_.SCNotificationTopicType,e.SCPreferenceSection=_.SCPreferenceSection,e.SCPreferenceName=_.SCPreferenceName,e.SCMessageFileType=_.SCMessageFileType,e.SCPrizeUserStatusType=_.SCPrizeUserStatusType,e.SCUserStatus=_.SCUserStatus,e.SuggestionType=_.SuggestionType,e.SCPrivateMessageStatusType=_.SCPrivateMessageStatusType,e.SCMetadataTypeFieldType=_.SCMetadataTypeFieldType,e.SCGroupPrivacyType=_.SCGroupPrivacyType,e.SCGroupSubscriptionStatusType=_.SCGroupSubscriptionStatusType,e.SCPrivateMessageType=_.SCPrivateMessageType})(),t})()));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@selfcommunity/types",
|
|
3
|
-
"version": "0.5.9-alpha.
|
|
3
|
+
"version": "0.5.9-alpha.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./lib/cjs/index.js",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"bugs": {
|
|
102
102
|
"url": "https://github.com/selfcommunity/community-js/issues"
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "28c199c1a443b7479e83576da3678651dd884da2"
|
|
105
105
|
}
|