@selfcommunity/types 0.1.2-alpha.0
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/LICENSE.md +21 -0
- package/README.md +12 -0
- package/lib/cjs/index.d.js +2 -0
- package/lib/cjs/index.js +64 -0
- package/lib/cjs/types/auth.js +3 -0
- package/lib/cjs/types/broadcastMessage.js +15 -0
- package/lib/cjs/types/category.js +3 -0
- package/lib/cjs/types/comment.js +28 -0
- package/lib/cjs/types/customAdv.js +17 -0
- package/lib/cjs/types/customNotification.js +3 -0
- package/lib/cjs/types/embed.js +3 -0
- package/lib/cjs/types/feed.js +48 -0
- package/lib/cjs/types/incubator.js +3 -0
- package/lib/cjs/types/index.js +112 -0
- package/lib/cjs/types/location.js +3 -0
- package/lib/cjs/types/media.js +3 -0
- package/lib/cjs/types/notification.js +68 -0
- package/lib/cjs/types/poll.js +3 -0
- package/lib/cjs/types/privateMessage.js +36 -0
- package/lib/cjs/types/prize.js +3 -0
- package/lib/cjs/types/tag.js +3 -0
- package/lib/cjs/types/user.js +41 -0
- package/lib/esm/index.d.js +2 -0
- package/lib/esm/index.d.ts +9 -0
- package/lib/esm/index.d.ts.map +1 -0
- package/lib/esm/index.js +64 -0
- package/lib/esm/types/auth.d.ts +26 -0
- package/lib/esm/types/auth.d.ts.map +1 -0
- package/lib/esm/types/auth.js +3 -0
- package/lib/esm/types/broadcastMessage.d.ts +73 -0
- package/lib/esm/types/broadcastMessage.d.ts.map +1 -0
- package/lib/esm/types/broadcastMessage.js +15 -0
- package/lib/esm/types/category.d.ts +100 -0
- package/lib/esm/types/category.d.ts.map +1 -0
- package/lib/esm/types/category.js +3 -0
- package/lib/esm/types/comment.d.ts +97 -0
- package/lib/esm/types/comment.d.ts.map +1 -0
- package/lib/esm/types/comment.js +28 -0
- package/lib/esm/types/customAdv.d.ts +53 -0
- package/lib/esm/types/customAdv.d.ts.map +1 -0
- package/lib/esm/types/customAdv.js +17 -0
- package/lib/esm/types/customNotification.d.ts +28 -0
- package/lib/esm/types/customNotification.d.ts.map +1 -0
- package/lib/esm/types/customNotification.js +3 -0
- package/lib/esm/types/embed.d.ts +33 -0
- package/lib/esm/types/embed.d.ts.map +1 -0
- package/lib/esm/types/embed.js +3 -0
- package/lib/esm/types/feed.d.ts +208 -0
- package/lib/esm/types/feed.d.ts.map +1 -0
- package/lib/esm/types/feed.js +48 -0
- package/lib/esm/types/incubator.d.ts +53 -0
- package/lib/esm/types/incubator.d.ts.map +1 -0
- package/lib/esm/types/incubator.js +3 -0
- package/lib/esm/types/index.d.ts +22 -0
- package/lib/esm/types/index.d.ts.map +1 -0
- package/lib/esm/types/index.js +112 -0
- package/lib/esm/types/location.d.ts +61 -0
- package/lib/esm/types/location.d.ts.map +1 -0
- package/lib/esm/types/location.js +3 -0
- package/lib/esm/types/media.d.ts +52 -0
- package/lib/esm/types/media.d.ts.map +1 -0
- package/lib/esm/types/media.js +3 -0
- package/lib/esm/types/notification.d.ts +416 -0
- package/lib/esm/types/notification.d.ts.map +1 -0
- package/lib/esm/types/notification.js +68 -0
- package/lib/esm/types/poll.d.ts +77 -0
- package/lib/esm/types/poll.d.ts.map +1 -0
- package/lib/esm/types/poll.js +3 -0
- package/lib/esm/types/privateMessage.d.ts +109 -0
- package/lib/esm/types/privateMessage.d.ts.map +1 -0
- package/lib/esm/types/privateMessage.js +36 -0
- package/lib/esm/types/prize.d.ts +48 -0
- package/lib/esm/types/prize.d.ts.map +1 -0
- package/lib/esm/types/prize.js +3 -0
- package/lib/esm/types/tag.d.ts +47 -0
- package/lib/esm/types/tag.d.ts.map +1 -0
- package/lib/esm/types/tag.js +3 -0
- package/lib/esm/types/user.d.ts +227 -0
- package/lib/esm/types/user.d.ts.map +1 -0
- package/lib/esm/types/user.js +41 -0
- package/lib/umd/types.js +3 -0
- package/lib/umd/types.js.LICENSE.txt +1 -0
- package/lib/umd/types.js.map +1 -0
- package/package.json +105 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 Quentral Srl
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@selfcommunity/types
|
|
2
|
+
=============
|
|
3
|
+
|
|
4
|
+
[](https://github.com/selfcommunity/community-js/blob/master/LICENSE)
|
|
5
|
+
[](https://www.npmjs.com/package/@selfcommunity/types)
|
|
6
|
+
[](https://www.npmjs.com/package/@selfcommunity/types)
|
|
7
|
+
[](https://twitter.com/community_self)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Install
|
|
11
|
+
|
|
12
|
+
`npm install @selfcommunity/types`
|
package/lib/cjs/index.js
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
|
|
5
|
+
var _types = require("./types");
|
|
6
|
+
|
|
7
|
+
exports.SCBroadcastMessageBannerType = _types.SCBroadcastMessageBannerType;
|
|
8
|
+
exports.SCBannerType = _types.SCBannerType;
|
|
9
|
+
exports.SCBroadcastMessageType = _types.SCBroadcastMessageType;
|
|
10
|
+
exports.SCAuthTokenType = _types.SCAuthTokenType;
|
|
11
|
+
exports.SCCustomAdvPosition = _types.SCCustomAdvPosition;
|
|
12
|
+
exports.SCCustomAdvType = _types.SCCustomAdvType;
|
|
13
|
+
exports.SCUserFields = _types.SCUserFields;
|
|
14
|
+
exports.SCUserType = _types.SCUserType;
|
|
15
|
+
exports.SCUserSettingsType = _types.SCUserSettingsType;
|
|
16
|
+
exports.SCUserStatus = _types.SCUserStatus;
|
|
17
|
+
exports.SCUserBlockedSettingsType = _types.SCUserBlockedSettingsType;
|
|
18
|
+
exports.SCTagType = _types.SCTagType;
|
|
19
|
+
exports.SCCategoryType = _types.SCCategoryType;
|
|
20
|
+
exports.SCEmbedType = _types.SCEmbedType;
|
|
21
|
+
exports.SCMediaType = _types.SCMediaType;
|
|
22
|
+
exports.SCContributionLocation = _types.SCContributionLocation;
|
|
23
|
+
exports.SCLocalityType = _types.SCLocalityType;
|
|
24
|
+
exports.SCPollChoiceType = _types.SCPollChoiceType;
|
|
25
|
+
exports.SCPollType = _types.SCPollType;
|
|
26
|
+
exports.SCFeedUnitType = _types.SCFeedUnitType;
|
|
27
|
+
exports.SCFeedUnitActivityType = _types.SCFeedUnitActivityType;
|
|
28
|
+
exports.SCFeedObjectType = _types.SCFeedObjectType;
|
|
29
|
+
exports.SCFeedPostType = _types.SCFeedPostType;
|
|
30
|
+
exports.SCFeedDiscussionType = _types.SCFeedDiscussionType;
|
|
31
|
+
exports.SCFeedStatusType = _types.SCFeedStatusType;
|
|
32
|
+
exports.SCFeedObjectTypologyType = _types.SCFeedObjectTypologyType;
|
|
33
|
+
exports.SCFeedUnitActivityTypologyType = _types.SCFeedUnitActivityTypologyType;
|
|
34
|
+
exports.SCFeedTypologyType = _types.SCFeedTypologyType;
|
|
35
|
+
exports.SCCommentTypologyType = _types.SCCommentTypologyType;
|
|
36
|
+
exports.SCCommentsOrderBy = _types.SCCommentsOrderBy;
|
|
37
|
+
exports.SCCommentType = _types.SCCommentType;
|
|
38
|
+
exports.SCPrivateMessageType = _types.SCPrivateMessageType;
|
|
39
|
+
exports.SCPrivateMessageStatusType = _types.SCPrivateMessageStatusType;
|
|
40
|
+
exports.SCPrivateMessageFileType = _types.SCPrivateMessageFileType;
|
|
41
|
+
exports.SCMessageFileType = _types.SCMessageFileType;
|
|
42
|
+
exports.SCNotificationTypologyType = _types.SCNotificationTypologyType;
|
|
43
|
+
exports.SCNotificationAggregatedType = _types.SCNotificationAggregatedType;
|
|
44
|
+
exports.SCNotificationCommentType = _types.SCNotificationCommentType;
|
|
45
|
+
exports.SCNotificationConnectionAcceptType = _types.SCNotificationConnectionAcceptType;
|
|
46
|
+
exports.SCNotificationConnectionRequestType = _types.SCNotificationConnectionRequestType;
|
|
47
|
+
exports.SCNotificationPrivateMessageType = _types.SCNotificationPrivateMessageType;
|
|
48
|
+
exports.SCNotificationMentionType = _types.SCNotificationMentionType;
|
|
49
|
+
exports.SCNotificationType = _types.SCNotificationType;
|
|
50
|
+
exports.SCNotificationBlockedUserType = _types.SCNotificationBlockedUserType;
|
|
51
|
+
exports.SCNotificationCollapsedForType = _types.SCNotificationCollapsedForType;
|
|
52
|
+
exports.SCNotificationCustomNotificationType = _types.SCNotificationCustomNotificationType;
|
|
53
|
+
exports.SCNotificationDeletedForType = _types.SCNotificationDeletedForType;
|
|
54
|
+
exports.SCNotificationFollowType = _types.SCNotificationFollowType;
|
|
55
|
+
exports.SCNotificationKindlyNoticeType = _types.SCNotificationKindlyNoticeType;
|
|
56
|
+
exports.SCNotificationUnBlockedUserType = _types.SCNotificationUnBlockedUserType;
|
|
57
|
+
exports.SCNotificationUnDeletedForType = _types.SCNotificationUnDeletedForType;
|
|
58
|
+
exports.SCNotificationUserFollowType = _types.SCNotificationUserFollowType;
|
|
59
|
+
exports.SCNotificationVoteUpType = _types.SCNotificationVoteUpType;
|
|
60
|
+
exports.SCCustomNotificationType = _types.SCCustomNotificationType;
|
|
61
|
+
exports.SCIncubatorType = _types.SCIncubatorType;
|
|
62
|
+
exports.SCNotificationIncubatorType = _types.SCNotificationIncubatorType;
|
|
63
|
+
exports.SCNotificationTopicType = _types.SCNotificationTopicType;
|
|
64
|
+
exports.SCPrizeType = _types.SCPrizeType;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.SCBroadcastMessageBannerType = void 0;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Define the various types of banners
|
|
8
|
+
*/
|
|
9
|
+
let SCBroadcastMessageBannerType;
|
|
10
|
+
exports.SCBroadcastMessageBannerType = SCBroadcastMessageBannerType;
|
|
11
|
+
|
|
12
|
+
(function (SCBroadcastMessageBannerType) {
|
|
13
|
+
SCBroadcastMessageBannerType["HTML"] = "html_banner";
|
|
14
|
+
SCBroadcastMessageBannerType["NOTIFICATION"] = "notification_banner";
|
|
15
|
+
})(SCBroadcastMessageBannerType || (exports.SCBroadcastMessageBannerType = SCBroadcastMessageBannerType = {}));
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.SCCommentsOrderBy = exports.SCCommentTypologyType = void 0;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Typology Comment
|
|
8
|
+
*/
|
|
9
|
+
const SCCommentTypologyType = 'comment';
|
|
10
|
+
/**
|
|
11
|
+
* Interface SCCommentType.
|
|
12
|
+
* Comment Schema.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
exports.SCCommentTypologyType = SCCommentTypologyType;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Type of comments ordering
|
|
19
|
+
*/
|
|
20
|
+
let SCCommentsOrderBy;
|
|
21
|
+
exports.SCCommentsOrderBy = SCCommentsOrderBy;
|
|
22
|
+
|
|
23
|
+
(function (SCCommentsOrderBy) {
|
|
24
|
+
SCCommentsOrderBy["ADDED_AT_DESC"] = "-added_at";
|
|
25
|
+
SCCommentsOrderBy["ADDED_AT_ASC"] = "added_at";
|
|
26
|
+
SCCommentsOrderBy["CONNECTION_DESC"] = "-connection";
|
|
27
|
+
SCCommentsOrderBy["CONNECTION_ASC"] = "connection";
|
|
28
|
+
})(SCCommentsOrderBy || (exports.SCCommentsOrderBy = SCCommentsOrderBy = {}));
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.SCCustomAdvPosition = void 0;
|
|
5
|
+
let SCCustomAdvPosition;
|
|
6
|
+
exports.SCCustomAdvPosition = SCCustomAdvPosition;
|
|
7
|
+
|
|
8
|
+
(function (SCCustomAdvPosition) {
|
|
9
|
+
SCCustomAdvPosition["POSITION_BELOW_TOPBAR"] = "BELOW_TOPBAR";
|
|
10
|
+
SCCustomAdvPosition["POSITION_BELOW_FEED_OBJECT"] = "BELOW_THE_POST";
|
|
11
|
+
SCCustomAdvPosition["POSITION_ABOVE_FOOTER_BAR"] = "ABOVE_FOOTER_BAR";
|
|
12
|
+
SCCustomAdvPosition["POSITION_FOOTER_STICKY"] = "FOOTER_STICKY";
|
|
13
|
+
SCCustomAdvPosition["POSITION_IN_COMMENTS"] = "IN_POST_COMMENTS";
|
|
14
|
+
SCCustomAdvPosition["POSITION_RELATED_POSTS_COLUMN"] = "RELATED_POSTS_COLUMN";
|
|
15
|
+
SCCustomAdvPosition["POSITION_FEED_SIDEBAR"] = "TOOLS_COLUMN";
|
|
16
|
+
SCCustomAdvPosition["POSITION_FEED"] = "IN_STREAM";
|
|
17
|
+
})(SCCustomAdvPosition || (exports.SCCustomAdvPosition = SCCustomAdvPosition = {}));
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.SCFeedUnitActivityTypologyType = exports.SCFeedTypologyType = exports.SCFeedObjectTypologyType = void 0;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Typology of feed
|
|
8
|
+
*/
|
|
9
|
+
let SCFeedTypologyType;
|
|
10
|
+
/**
|
|
11
|
+
* Typology of feedObject
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
exports.SCFeedTypologyType = SCFeedTypologyType;
|
|
15
|
+
|
|
16
|
+
(function (SCFeedTypologyType) {
|
|
17
|
+
SCFeedTypologyType["HOME"] = "home";
|
|
18
|
+
SCFeedTypologyType["EXPLORE"] = "explore";
|
|
19
|
+
})(SCFeedTypologyType || (exports.SCFeedTypologyType = SCFeedTypologyType = {}));
|
|
20
|
+
|
|
21
|
+
let SCFeedObjectTypologyType;
|
|
22
|
+
/**
|
|
23
|
+
* Interface SCFeedUnitType.
|
|
24
|
+
* FeedUnit Schema.
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
exports.SCFeedObjectTypologyType = SCFeedObjectTypologyType;
|
|
28
|
+
|
|
29
|
+
(function (SCFeedObjectTypologyType) {
|
|
30
|
+
SCFeedObjectTypologyType["DISCUSSION"] = "discussion";
|
|
31
|
+
SCFeedObjectTypologyType["POST"] = "post";
|
|
32
|
+
SCFeedObjectTypologyType["STATUS"] = "status";
|
|
33
|
+
})(SCFeedObjectTypologyType || (exports.SCFeedObjectTypologyType = SCFeedObjectTypologyType = {}));
|
|
34
|
+
|
|
35
|
+
let SCFeedUnitActivityTypologyType;
|
|
36
|
+
/**
|
|
37
|
+
* Interface SCFeedUnitActivityType.
|
|
38
|
+
* FeedUnit Activity Schema.
|
|
39
|
+
*/
|
|
40
|
+
|
|
41
|
+
exports.SCFeedUnitActivityTypologyType = SCFeedUnitActivityTypologyType;
|
|
42
|
+
|
|
43
|
+
(function (SCFeedUnitActivityTypologyType) {
|
|
44
|
+
SCFeedUnitActivityTypologyType["COMMENT"] = "comment";
|
|
45
|
+
SCFeedUnitActivityTypologyType["VOTE"] = "vote";
|
|
46
|
+
SCFeedUnitActivityTypologyType["POLLVOTE"] = "pollvote";
|
|
47
|
+
SCFeedUnitActivityTypologyType["FOLLOW"] = "follow";
|
|
48
|
+
})(SCFeedUnitActivityTypologyType || (exports.SCFeedUnitActivityTypologyType = SCFeedUnitActivityTypologyType = {}));
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
|
|
5
|
+
var _auth = require("./auth");
|
|
6
|
+
|
|
7
|
+
exports.SCAuthTokenType = _auth.SCAuthTokenType;
|
|
8
|
+
|
|
9
|
+
var _broadcastMessage = require("./broadcastMessage");
|
|
10
|
+
|
|
11
|
+
exports.SCBannerType = _broadcastMessage.SCBannerType;
|
|
12
|
+
exports.SCBroadcastMessageBannerType = _broadcastMessage.SCBroadcastMessageBannerType;
|
|
13
|
+
exports.SCBroadcastMessageType = _broadcastMessage.SCBroadcastMessageType;
|
|
14
|
+
|
|
15
|
+
var _customAdv = require("./customAdv");
|
|
16
|
+
|
|
17
|
+
exports.SCCustomAdvPosition = _customAdv.SCCustomAdvPosition;
|
|
18
|
+
exports.SCCustomAdvType = _customAdv.SCCustomAdvType;
|
|
19
|
+
|
|
20
|
+
var _user = require("./user");
|
|
21
|
+
|
|
22
|
+
exports.SCUserType = _user.SCUserType;
|
|
23
|
+
exports.SCUserBlockedSettingsType = _user.SCUserBlockedSettingsType;
|
|
24
|
+
exports.SCUserFields = _user.SCUserFields;
|
|
25
|
+
exports.SCUserSettingsType = _user.SCUserSettingsType;
|
|
26
|
+
exports.SCUserStatus = _user.SCUserStatus;
|
|
27
|
+
|
|
28
|
+
var _tag = require("./tag");
|
|
29
|
+
|
|
30
|
+
exports.SCTagType = _tag.SCTagType;
|
|
31
|
+
|
|
32
|
+
var _category = require("./category");
|
|
33
|
+
|
|
34
|
+
exports.SCCategoryType = _category.SCCategoryType;
|
|
35
|
+
|
|
36
|
+
var _embed = require("./embed");
|
|
37
|
+
|
|
38
|
+
exports.SCEmbedType = _embed.SCEmbedType;
|
|
39
|
+
|
|
40
|
+
var _media = require("./media");
|
|
41
|
+
|
|
42
|
+
exports.SCMediaType = _media.SCMediaType;
|
|
43
|
+
|
|
44
|
+
var _location = require("./location");
|
|
45
|
+
|
|
46
|
+
exports.SCContributionLocation = _location.SCContributionLocation;
|
|
47
|
+
exports.SCLocalityType = _location.SCLocalityType;
|
|
48
|
+
|
|
49
|
+
var _poll = require("./poll");
|
|
50
|
+
|
|
51
|
+
exports.SCPollChoiceType = _poll.SCPollChoiceType;
|
|
52
|
+
exports.SCPollType = _poll.SCPollType;
|
|
53
|
+
|
|
54
|
+
var _comment = require("./comment");
|
|
55
|
+
|
|
56
|
+
exports.SCCommentType = _comment.SCCommentType;
|
|
57
|
+
exports.SCCommentTypologyType = _comment.SCCommentTypologyType;
|
|
58
|
+
exports.SCCommentsOrderBy = _comment.SCCommentsOrderBy;
|
|
59
|
+
|
|
60
|
+
var _privateMessage = require("./privateMessage");
|
|
61
|
+
|
|
62
|
+
exports.SCPrivateMessageType = _privateMessage.SCPrivateMessageType;
|
|
63
|
+
exports.SCPrivateMessageStatusType = _privateMessage.SCPrivateMessageStatusType;
|
|
64
|
+
exports.SCPrivateMessageFileType = _privateMessage.SCPrivateMessageFileType;
|
|
65
|
+
exports.SCMessageFileType = _privateMessage.SCMessageFileType;
|
|
66
|
+
|
|
67
|
+
var _incubator = require("./incubator");
|
|
68
|
+
|
|
69
|
+
exports.SCIncubatorType = _incubator.SCIncubatorType;
|
|
70
|
+
|
|
71
|
+
var _customNotification = require("./customNotification");
|
|
72
|
+
|
|
73
|
+
exports.SCCustomNotificationType = _customNotification.SCCustomNotificationType;
|
|
74
|
+
|
|
75
|
+
var _prize = require("./prize");
|
|
76
|
+
|
|
77
|
+
exports.SCPrizeType = _prize.SCPrizeType;
|
|
78
|
+
|
|
79
|
+
var _feed = require("./feed");
|
|
80
|
+
|
|
81
|
+
exports.SCFeedUnitType = _feed.SCFeedUnitType;
|
|
82
|
+
exports.SCFeedUnitActivityType = _feed.SCFeedUnitActivityType;
|
|
83
|
+
exports.SCFeedObjectType = _feed.SCFeedObjectType;
|
|
84
|
+
exports.SCFeedPostType = _feed.SCFeedPostType;
|
|
85
|
+
exports.SCFeedDiscussionType = _feed.SCFeedDiscussionType;
|
|
86
|
+
exports.SCFeedStatusType = _feed.SCFeedStatusType;
|
|
87
|
+
exports.SCFeedObjectTypologyType = _feed.SCFeedObjectTypologyType;
|
|
88
|
+
exports.SCFeedUnitActivityTypologyType = _feed.SCFeedUnitActivityTypologyType;
|
|
89
|
+
exports.SCFeedTypologyType = _feed.SCFeedTypologyType;
|
|
90
|
+
|
|
91
|
+
var _notification = require("./notification");
|
|
92
|
+
|
|
93
|
+
exports.SCNotificationTypologyType = _notification.SCNotificationTypologyType;
|
|
94
|
+
exports.SCNotificationAggregatedType = _notification.SCNotificationAggregatedType;
|
|
95
|
+
exports.SCNotificationCommentType = _notification.SCNotificationCommentType;
|
|
96
|
+
exports.SCNotificationConnectionAcceptType = _notification.SCNotificationConnectionAcceptType;
|
|
97
|
+
exports.SCNotificationConnectionRequestType = _notification.SCNotificationConnectionRequestType;
|
|
98
|
+
exports.SCNotificationPrivateMessageType = _notification.SCNotificationPrivateMessageType;
|
|
99
|
+
exports.SCNotificationMentionType = _notification.SCNotificationMentionType;
|
|
100
|
+
exports.SCNotificationType = _notification.SCNotificationType;
|
|
101
|
+
exports.SCNotificationBlockedUserType = _notification.SCNotificationBlockedUserType;
|
|
102
|
+
exports.SCNotificationCollapsedForType = _notification.SCNotificationCollapsedForType;
|
|
103
|
+
exports.SCNotificationCustomNotificationType = _notification.SCNotificationCustomNotificationType;
|
|
104
|
+
exports.SCNotificationDeletedForType = _notification.SCNotificationDeletedForType;
|
|
105
|
+
exports.SCNotificationFollowType = _notification.SCNotificationFollowType;
|
|
106
|
+
exports.SCNotificationKindlyNoticeType = _notification.SCNotificationKindlyNoticeType;
|
|
107
|
+
exports.SCNotificationUnBlockedUserType = _notification.SCNotificationUnBlockedUserType;
|
|
108
|
+
exports.SCNotificationUnDeletedForType = _notification.SCNotificationUnDeletedForType;
|
|
109
|
+
exports.SCNotificationUserFollowType = _notification.SCNotificationUserFollowType;
|
|
110
|
+
exports.SCNotificationVoteUpType = _notification.SCNotificationVoteUpType;
|
|
111
|
+
exports.SCNotificationIncubatorType = _notification.SCNotificationIncubatorType;
|
|
112
|
+
exports.SCNotificationTopicType = _notification.SCNotificationTopicType;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.SCNotificationTypologyType = exports.SCNotificationTopicType = void 0;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Notification types
|
|
8
|
+
*/
|
|
9
|
+
let SCNotificationTypologyType;
|
|
10
|
+
/**
|
|
11
|
+
* Define topic for notifications
|
|
12
|
+
* Usefull for websocket
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
exports.SCNotificationTypologyType = SCNotificationTypologyType;
|
|
16
|
+
|
|
17
|
+
(function (SCNotificationTypologyType) {
|
|
18
|
+
SCNotificationTypologyType["COMMENT"] = "comment";
|
|
19
|
+
SCNotificationTypologyType["NESTED_COMMENT"] = "nested_comment";
|
|
20
|
+
SCNotificationTypologyType["CONNECTION_REQUEST"] = "connection_request";
|
|
21
|
+
SCNotificationTypologyType["CONNECTION_ACCEPT"] = "connection_accept";
|
|
22
|
+
SCNotificationTypologyType["CONNECTION_REMOVE"] = "connection_remove";
|
|
23
|
+
SCNotificationTypologyType["CONNECTION_REJECT"] = "connection_reject";
|
|
24
|
+
SCNotificationTypologyType["CONNECTION_CANCEL_REJECT"] = "connection_cancel_reject";
|
|
25
|
+
SCNotificationTypologyType["CONNECTION_CANCEL_REQUEST"] = "connection_cancel_reject";
|
|
26
|
+
SCNotificationTypologyType["MENTION"] = "mention";
|
|
27
|
+
SCNotificationTypologyType["VOTE_UP"] = "vote_up";
|
|
28
|
+
SCNotificationTypologyType["FOLLOW"] = "follow";
|
|
29
|
+
SCNotificationTypologyType["PRIVATE_MESSAGE"] = "private_message";
|
|
30
|
+
SCNotificationTypologyType["DELETE_PRIVATE_MESSAGE"] = "delete_private_message";
|
|
31
|
+
SCNotificationTypologyType["DELETED_FOR_ADVERTISING"] = "deleted_for_advertising";
|
|
32
|
+
SCNotificationTypologyType["DELETED_FOR_AGGRESSIVE"] = "deleted_for_aggressive";
|
|
33
|
+
SCNotificationTypologyType["DELETED_FOR_VULGAR"] = "deleted_for_vulgar";
|
|
34
|
+
SCNotificationTypologyType["DELETED_FOR_POOR"] = "deleted_for_poor";
|
|
35
|
+
SCNotificationTypologyType["DELETED_FOR_OFFTOPIC"] = "deleted_for_offtopic";
|
|
36
|
+
SCNotificationTypologyType["UNDELETED_FOR"] = "undeleted_for";
|
|
37
|
+
SCNotificationTypologyType["COLLAPSED_FOR_ADVERTISING"] = "collapsed_for_advertising";
|
|
38
|
+
SCNotificationTypologyType["COLLAPSED_FOR_AGGRESSIVE"] = "collapsed_for_aggressive";
|
|
39
|
+
SCNotificationTypologyType["COLLAPSED_FOR_VULGAR"] = "collapsed_for_vulgar";
|
|
40
|
+
SCNotificationTypologyType["COLLAPSED_FOR_POOR"] = "collapsed_for_poor";
|
|
41
|
+
SCNotificationTypologyType["COLLAPSED_FOR_OFFTOPIC"] = "collapsed_for_offtopic";
|
|
42
|
+
SCNotificationTypologyType["USER_FOLLOW"] = "user_follow";
|
|
43
|
+
SCNotificationTypologyType["USER_UNFOLLOW"] = "user_unfollow";
|
|
44
|
+
SCNotificationTypologyType["KINDLY_NOTICE_ADVERTISING"] = "kindly_notice_advertising";
|
|
45
|
+
SCNotificationTypologyType["KINDLY_NOTICE_AGGRESSIVE"] = "kindly_notice_aggressive";
|
|
46
|
+
SCNotificationTypologyType["KINDLY_NOTICE_VULGAR"] = "kindly_notice_vulgar";
|
|
47
|
+
SCNotificationTypologyType["KINDLY_NOTICE_POOR"] = "kindly_notice_poor";
|
|
48
|
+
SCNotificationTypologyType["KINDLY_NOTICE_OFFTOPIC"] = "kindly_notice_offtopic";
|
|
49
|
+
SCNotificationTypologyType["KINDLY_NOTICE_FLAG"] = "kindly_notice_flag";
|
|
50
|
+
SCNotificationTypologyType["BLOCKED_USER"] = "blocked_user";
|
|
51
|
+
SCNotificationTypologyType["UNBLOCKED_USER"] = "unblocked_user";
|
|
52
|
+
SCNotificationTypologyType["INCUBATOR_APPROVED"] = "incubator_approved";
|
|
53
|
+
SCNotificationTypologyType["CUSTOM_NOTIFICATION"] = "custom_notification";
|
|
54
|
+
SCNotificationTypologyType["NOTIFICATION_BANNER"] = "notification_banner";
|
|
55
|
+
})(SCNotificationTypologyType || (exports.SCNotificationTypologyType = SCNotificationTypologyType = {}));
|
|
56
|
+
|
|
57
|
+
let SCNotificationTopicType;
|
|
58
|
+
/**
|
|
59
|
+
* Interface SCNotificationAggregatedType.
|
|
60
|
+
* Notification aggregated Schema.
|
|
61
|
+
*/
|
|
62
|
+
|
|
63
|
+
exports.SCNotificationTopicType = SCNotificationTopicType;
|
|
64
|
+
|
|
65
|
+
(function (SCNotificationTopicType) {
|
|
66
|
+
SCNotificationTopicType["INTERACTION"] = "interaction";
|
|
67
|
+
SCNotificationTopicType["NEWS"] = "news";
|
|
68
|
+
})(SCNotificationTopicType || (exports.SCNotificationTopicType = SCNotificationTopicType = {}));
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.SCPrivateMessageStatusType = exports.SCMessageFileType = void 0;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Interface SCPrivateMessageType.
|
|
8
|
+
* Private Message Schema.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Private Message status:
|
|
13
|
+
* created, deleted or hidden message
|
|
14
|
+
*/
|
|
15
|
+
let SCPrivateMessageStatusType;
|
|
16
|
+
exports.SCPrivateMessageStatusType = SCPrivateMessageStatusType;
|
|
17
|
+
|
|
18
|
+
(function (SCPrivateMessageStatusType) {
|
|
19
|
+
SCPrivateMessageStatusType["CREATED"] = "created";
|
|
20
|
+
SCPrivateMessageStatusType["DELETED"] = "deleted";
|
|
21
|
+
SCPrivateMessageStatusType["HIDDEN"] = "hidden";
|
|
22
|
+
SCPrivateMessageStatusType["NEW"] = "new";
|
|
23
|
+
})(SCPrivateMessageStatusType || (exports.SCPrivateMessageStatusType = SCPrivateMessageStatusType = {}));
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Private Message status:
|
|
27
|
+
* created, deleted or hidden message
|
|
28
|
+
*/
|
|
29
|
+
let SCMessageFileType;
|
|
30
|
+
exports.SCMessageFileType = SCMessageFileType;
|
|
31
|
+
|
|
32
|
+
(function (SCMessageFileType) {
|
|
33
|
+
SCMessageFileType["DOCUMENT"] = "application/";
|
|
34
|
+
SCMessageFileType["IMAGE"] = "image/";
|
|
35
|
+
SCMessageFileType["VIDEO"] = "video/";
|
|
36
|
+
})(SCMessageFileType || (exports.SCMessageFileType = SCMessageFileType = {}));
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.SCUserStatus = exports.SCUserFields = void 0;
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Interface SCUserType.
|
|
8
|
+
* User Schema.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* User Fields
|
|
13
|
+
*/
|
|
14
|
+
let SCUserFields;
|
|
15
|
+
/**
|
|
16
|
+
* User status
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
exports.SCUserFields = SCUserFields;
|
|
20
|
+
|
|
21
|
+
(function (SCUserFields) {
|
|
22
|
+
SCUserFields["USERNAME"] = "username";
|
|
23
|
+
SCUserFields["REAL_NAME"] = "real_name";
|
|
24
|
+
SCUserFields["DATE_JOINED"] = "date_joined";
|
|
25
|
+
SCUserFields["BIO"] = "bio";
|
|
26
|
+
SCUserFields["LOCATION"] = "location";
|
|
27
|
+
SCUserFields["DATE_OF_BIRTH"] = "date_of_birth";
|
|
28
|
+
SCUserFields["DESCRIPTION"] = "description";
|
|
29
|
+
SCUserFields["GENDER"] = "gender";
|
|
30
|
+
SCUserFields["WEBSITE"] = "website";
|
|
31
|
+
})(SCUserFields || (exports.SCUserFields = SCUserFields = {}));
|
|
32
|
+
|
|
33
|
+
let SCUserStatus;
|
|
34
|
+
exports.SCUserStatus = SCUserStatus;
|
|
35
|
+
|
|
36
|
+
(function (SCUserStatus) {
|
|
37
|
+
SCUserStatus["APPROVED"] = "a";
|
|
38
|
+
SCUserStatus["BLOCKED"] = "b";
|
|
39
|
+
SCUserStatus["DELETED"] = "d";
|
|
40
|
+
SCUserStatus["UNREGISTERED"] = "u";
|
|
41
|
+
})(SCUserStatus || (exports.SCUserStatus = SCUserStatus = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Types
|
|
3
|
+
*/
|
|
4
|
+
import { SCBroadcastMessageBannerType, SCBannerType, SCBroadcastMessageType, SCAuthTokenType, SCCustomAdvPosition, SCCustomAdvType, SCUserFields, SCUserType, SCUserSettingsType, SCUserStatus, SCUserBlockedSettingsType, SCTagType, SCCategoryType, SCEmbedType, SCMediaType, SCContributionLocation, SCLocalityType, SCPollChoiceType, SCPollType, SCFeedUnitType, SCFeedUnitActivityType, SCFeedObjectType, SCFeedPostType, SCFeedDiscussionType, SCFeedStatusType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCCommentTypologyType, SCCommentsOrderBy, SCCommentType, SCPrivateMessageType, SCPrivateMessageStatusType, SCPrivateMessageFileType, SCMessageFileType, SCNotificationTypologyType, SCNotificationAggregatedType, SCNotificationCommentType, SCNotificationConnectionAcceptType, SCNotificationConnectionRequestType, SCNotificationPrivateMessageType, SCNotificationMentionType, SCNotificationType, SCNotificationBlockedUserType, SCNotificationCollapsedForType, SCNotificationCustomNotificationType, SCNotificationDeletedForType, SCNotificationFollowType, SCNotificationKindlyNoticeType, SCNotificationUnBlockedUserType, SCNotificationUnDeletedForType, SCNotificationUserFollowType, SCNotificationVoteUpType, SCCustomNotificationType, SCIncubatorType, SCNotificationIncubatorType, SCNotificationTopicType, SCPrizeType } from './types';
|
|
5
|
+
/**
|
|
6
|
+
* List all exports
|
|
7
|
+
*/
|
|
8
|
+
export { SCBroadcastMessageBannerType, SCBannerType, SCBroadcastMessageType, SCCustomAdvPosition, SCCustomAdvType, SCAuthTokenType, SCUserFields, SCUserType, SCUserSettingsType, SCUserStatus, SCUserBlockedSettingsType, SCTagType, SCCategoryType, SCEmbedType, SCMediaType, SCContributionLocation, SCLocalityType, SCPollChoiceType, SCPollType, SCFeedUnitType, SCFeedUnitActivityType, SCFeedObjectType, SCFeedPostType, SCFeedDiscussionType, SCFeedStatusType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCCommentTypologyType, SCCommentsOrderBy, SCCommentType, SCPrivateMessageType, SCPrivateMessageStatusType, SCPrivateMessageFileType, SCMessageFileType, SCNotificationTypologyType, SCNotificationAggregatedType, SCNotificationCommentType, SCNotificationConnectionAcceptType, SCNotificationConnectionRequestType, SCNotificationPrivateMessageType, SCNotificationMentionType, SCNotificationType, SCNotificationBlockedUserType, SCNotificationCollapsedForType, SCNotificationCustomNotificationType, SCNotificationDeletedForType, SCNotificationFollowType, SCNotificationKindlyNoticeType, SCNotificationUnBlockedUserType, SCNotificationUnDeletedForType, SCNotificationUserFollowType, SCNotificationVoteUpType, SCCustomNotificationType, SCNotificationTopicType, SCIncubatorType, SCNotificationIncubatorType, SCPrizeType };
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,4BAA4B,EAC5B,YAAY,EACZ,sBAAsB,EACtB,eAAe,EACf,mBAAmB,EACnB,eAAe,EACf,YAAY,EACZ,UAAU,EACV,kBAAkB,EAClB,YAAY,EACZ,yBAAyB,EACzB,SAAS,EACT,cAAc,EACd,WAAW,EACX,WAAW,EACX,sBAAsB,EACtB,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,sBAAsB,EACtB,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,wBAAwB,EACxB,8BAA8B,EAC9B,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,oBAAoB,EACpB,0BAA0B,EAC1B,wBAAwB,EACxB,iBAAiB,EACjB,0BAA0B,EAC1B,4BAA4B,EAC5B,yBAAyB,EACzB,kCAAkC,EAClC,mCAAmC,EACnC,gCAAgC,EAChC,yBAAyB,EACzB,kBAAkB,EAClB,6BAA6B,EAC7B,8BAA8B,EAC9B,oCAAoC,EACpC,4BAA4B,EAC5B,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,EAC/B,8BAA8B,EAC9B,4BAA4B,EAC5B,wBAAwB,EACxB,wBAAwB,EACxB,eAAe,EACf,2BAA2B,EAC3B,uBAAuB,EACvB,WAAW,EACZ,MAAM,SAAS,CAAC;AAEjB;;GAEG;AACH,OAAO,EACL,4BAA4B,EAC5B,YAAY,EACZ,sBAAsB,EACtB,mBAAmB,EACnB,eAAe,EACf,eAAe,EACf,YAAY,EACZ,UAAU,EACV,kBAAkB,EAClB,YAAY,EACZ,yBAAyB,EACzB,SAAS,EACT,cAAc,EACd,WAAW,EACX,WAAW,EACX,sBAAsB,EACtB,cAAc,EACd,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,sBAAsB,EACtB,gBAAgB,EAChB,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,wBAAwB,EACxB,8BAA8B,EAC9B,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,aAAa,EACb,oBAAoB,EACpB,0BAA0B,EAC1B,wBAAwB,EACxB,iBAAiB,EACjB,0BAA0B,EAC1B,4BAA4B,EAC5B,yBAAyB,EACzB,kCAAkC,EAClC,mCAAmC,EACnC,gCAAgC,EAChC,yBAAyB,EACzB,kBAAkB,EAClB,6BAA6B,EAC7B,8BAA8B,EAC9B,oCAAoC,EACpC,4BAA4B,EAC5B,wBAAwB,EACxB,8BAA8B,EAC9B,+BAA+B,EAC/B,8BAA8B,EAC9B,4BAA4B,EAC5B,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACvB,eAAe,EACf,2BAA2B,EAC3B,WAAW,EACZ,CAAC"}
|
package/lib/esm/index.js
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
|
|
5
|
+
var _types = require("./types");
|
|
6
|
+
|
|
7
|
+
exports.SCBroadcastMessageBannerType = _types.SCBroadcastMessageBannerType;
|
|
8
|
+
exports.SCBannerType = _types.SCBannerType;
|
|
9
|
+
exports.SCBroadcastMessageType = _types.SCBroadcastMessageType;
|
|
10
|
+
exports.SCAuthTokenType = _types.SCAuthTokenType;
|
|
11
|
+
exports.SCCustomAdvPosition = _types.SCCustomAdvPosition;
|
|
12
|
+
exports.SCCustomAdvType = _types.SCCustomAdvType;
|
|
13
|
+
exports.SCUserFields = _types.SCUserFields;
|
|
14
|
+
exports.SCUserType = _types.SCUserType;
|
|
15
|
+
exports.SCUserSettingsType = _types.SCUserSettingsType;
|
|
16
|
+
exports.SCUserStatus = _types.SCUserStatus;
|
|
17
|
+
exports.SCUserBlockedSettingsType = _types.SCUserBlockedSettingsType;
|
|
18
|
+
exports.SCTagType = _types.SCTagType;
|
|
19
|
+
exports.SCCategoryType = _types.SCCategoryType;
|
|
20
|
+
exports.SCEmbedType = _types.SCEmbedType;
|
|
21
|
+
exports.SCMediaType = _types.SCMediaType;
|
|
22
|
+
exports.SCContributionLocation = _types.SCContributionLocation;
|
|
23
|
+
exports.SCLocalityType = _types.SCLocalityType;
|
|
24
|
+
exports.SCPollChoiceType = _types.SCPollChoiceType;
|
|
25
|
+
exports.SCPollType = _types.SCPollType;
|
|
26
|
+
exports.SCFeedUnitType = _types.SCFeedUnitType;
|
|
27
|
+
exports.SCFeedUnitActivityType = _types.SCFeedUnitActivityType;
|
|
28
|
+
exports.SCFeedObjectType = _types.SCFeedObjectType;
|
|
29
|
+
exports.SCFeedPostType = _types.SCFeedPostType;
|
|
30
|
+
exports.SCFeedDiscussionType = _types.SCFeedDiscussionType;
|
|
31
|
+
exports.SCFeedStatusType = _types.SCFeedStatusType;
|
|
32
|
+
exports.SCFeedObjectTypologyType = _types.SCFeedObjectTypologyType;
|
|
33
|
+
exports.SCFeedUnitActivityTypologyType = _types.SCFeedUnitActivityTypologyType;
|
|
34
|
+
exports.SCFeedTypologyType = _types.SCFeedTypologyType;
|
|
35
|
+
exports.SCCommentTypologyType = _types.SCCommentTypologyType;
|
|
36
|
+
exports.SCCommentsOrderBy = _types.SCCommentsOrderBy;
|
|
37
|
+
exports.SCCommentType = _types.SCCommentType;
|
|
38
|
+
exports.SCPrivateMessageType = _types.SCPrivateMessageType;
|
|
39
|
+
exports.SCPrivateMessageStatusType = _types.SCPrivateMessageStatusType;
|
|
40
|
+
exports.SCPrivateMessageFileType = _types.SCPrivateMessageFileType;
|
|
41
|
+
exports.SCMessageFileType = _types.SCMessageFileType;
|
|
42
|
+
exports.SCNotificationTypologyType = _types.SCNotificationTypologyType;
|
|
43
|
+
exports.SCNotificationAggregatedType = _types.SCNotificationAggregatedType;
|
|
44
|
+
exports.SCNotificationCommentType = _types.SCNotificationCommentType;
|
|
45
|
+
exports.SCNotificationConnectionAcceptType = _types.SCNotificationConnectionAcceptType;
|
|
46
|
+
exports.SCNotificationConnectionRequestType = _types.SCNotificationConnectionRequestType;
|
|
47
|
+
exports.SCNotificationPrivateMessageType = _types.SCNotificationPrivateMessageType;
|
|
48
|
+
exports.SCNotificationMentionType = _types.SCNotificationMentionType;
|
|
49
|
+
exports.SCNotificationType = _types.SCNotificationType;
|
|
50
|
+
exports.SCNotificationBlockedUserType = _types.SCNotificationBlockedUserType;
|
|
51
|
+
exports.SCNotificationCollapsedForType = _types.SCNotificationCollapsedForType;
|
|
52
|
+
exports.SCNotificationCustomNotificationType = _types.SCNotificationCustomNotificationType;
|
|
53
|
+
exports.SCNotificationDeletedForType = _types.SCNotificationDeletedForType;
|
|
54
|
+
exports.SCNotificationFollowType = _types.SCNotificationFollowType;
|
|
55
|
+
exports.SCNotificationKindlyNoticeType = _types.SCNotificationKindlyNoticeType;
|
|
56
|
+
exports.SCNotificationUnBlockedUserType = _types.SCNotificationUnBlockedUserType;
|
|
57
|
+
exports.SCNotificationUnDeletedForType = _types.SCNotificationUnDeletedForType;
|
|
58
|
+
exports.SCNotificationUserFollowType = _types.SCNotificationUserFollowType;
|
|
59
|
+
exports.SCNotificationVoteUpType = _types.SCNotificationVoteUpType;
|
|
60
|
+
exports.SCCustomNotificationType = _types.SCCustomNotificationType;
|
|
61
|
+
exports.SCIncubatorType = _types.SCIncubatorType;
|
|
62
|
+
exports.SCNotificationIncubatorType = _types.SCNotificationIncubatorType;
|
|
63
|
+
exports.SCNotificationTopicType = _types.SCNotificationTopicType;
|
|
64
|
+
exports.SCPrizeType = _types.SCPrizeType;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface SCAuthTokenType
|
|
3
|
+
*/
|
|
4
|
+
export interface SCAuthTokenType {
|
|
5
|
+
/**
|
|
6
|
+
* Access token.
|
|
7
|
+
*/
|
|
8
|
+
accessToken: string;
|
|
9
|
+
/**
|
|
10
|
+
* Refresh token.
|
|
11
|
+
*/
|
|
12
|
+
refreshToken?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Token Type.
|
|
15
|
+
*/
|
|
16
|
+
tokenType?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Expire in.
|
|
19
|
+
*/
|
|
20
|
+
expiresIn?: number;
|
|
21
|
+
/**
|
|
22
|
+
* Token scopes;
|
|
23
|
+
*/
|
|
24
|
+
scope?: Array<string>;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=auth.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/types/auth.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACvB"}
|