@selfcommunity/types 0.1.7 → 0.1.8
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/{types → cjs}/index.d.ts +0 -0
- package/lib/{types → cjs}/index.d.ts.map +0 -0
- package/lib/cjs/index.js +27 -124
- package/lib/cjs/index.js.map +1 -0
- package/lib/{types → cjs}/types/auth.d.ts +0 -0
- package/lib/{types → cjs}/types/auth.d.ts.map +0 -0
- package/lib/cjs/types/auth.js +2 -2
- package/lib/cjs/types/auth.js.map +1 -0
- package/lib/{types → cjs}/types/avatar.d.ts +0 -0
- package/lib/{types → cjs}/types/avatar.d.ts.map +0 -0
- package/lib/cjs/types/avatar.js +5 -2
- package/lib/cjs/types/avatar.js.map +1 -0
- package/lib/{types → cjs}/types/broadcastMessage.d.ts +0 -0
- package/lib/{types → cjs}/types/broadcastMessage.d.ts.map +0 -0
- package/lib/cjs/types/broadcastMessage.js +6 -9
- package/lib/cjs/types/broadcastMessage.js.map +1 -0
- package/lib/{types → cjs}/types/category.d.ts +0 -0
- package/lib/{types → cjs}/types/category.d.ts.map +0 -0
- package/lib/cjs/types/category.js +2 -2
- package/lib/cjs/types/category.js.map +1 -0
- package/lib/{types → cjs}/types/comment.d.ts +0 -0
- package/lib/{types → cjs}/types/comment.d.ts.map +0 -0
- package/lib/cjs/types/comment.js +9 -19
- package/lib/cjs/types/comment.js.map +1 -0
- package/lib/{types → cjs}/types/contribution.d.ts +0 -0
- package/lib/{types → cjs}/types/contribution.d.ts.map +0 -0
- package/lib/cjs/types/contribution.js +15 -29
- package/lib/cjs/types/contribution.js.map +1 -0
- package/lib/{types → cjs}/types/customAdv.d.ts +0 -0
- package/lib/{types → cjs}/types/customAdv.d.ts.map +0 -0
- package/lib/cjs/types/customAdv.js +12 -14
- package/lib/cjs/types/customAdv.js.map +1 -0
- package/lib/{types → cjs}/types/customNotification.d.ts +0 -0
- package/lib/{types → cjs}/types/customNotification.d.ts.map +0 -0
- package/lib/cjs/types/customNotification.js +2 -2
- package/lib/cjs/types/customNotification.js.map +1 -0
- package/lib/{types → cjs}/types/customPage.d.ts +0 -0
- package/lib/{types → cjs}/types/customPage.d.ts.map +0 -0
- package/lib/cjs/types/customPage.js +2 -2
- package/lib/cjs/types/customPage.js.map +1 -0
- package/lib/{types → cjs}/types/dataPortability.d.ts +0 -0
- package/lib/{types → cjs}/types/dataPortability.d.ts.map +0 -0
- package/lib/cjs/types/dataPortability.js +2 -2
- package/lib/cjs/types/dataPortability.js.map +1 -0
- package/lib/{types → cjs}/types/embed.d.ts +0 -0
- package/lib/{types → cjs}/types/embed.d.ts.map +0 -0
- package/lib/cjs/types/embed.js +2 -2
- package/lib/cjs/types/embed.js.map +1 -0
- package/lib/{types → cjs}/types/feature.d.ts +0 -0
- package/lib/{types → cjs}/types/feature.d.ts.map +0 -0
- package/lib/cjs/types/feature.js +5 -2
- package/lib/cjs/types/feature.js.map +1 -0
- package/lib/{types → cjs}/types/feed.d.ts +0 -0
- package/lib/{types → cjs}/types/feed.d.ts.map +0 -0
- package/lib/cjs/types/feed.js +19 -39
- package/lib/cjs/types/feed.js.map +1 -0
- package/lib/{types → cjs}/types/flag.d.ts +0 -0
- package/lib/{types → cjs}/types/flag.d.ts.map +0 -0
- package/lib/cjs/types/flag.js +15 -25
- package/lib/cjs/types/flag.js.map +1 -0
- package/lib/{types → cjs}/types/incubator.d.ts +0 -0
- package/lib/{types → cjs}/types/incubator.d.ts.map +0 -0
- package/lib/cjs/types/incubator.js +8 -20
- package/lib/cjs/types/incubator.js.map +1 -0
- package/lib/{types → cjs}/types/index.d.ts +0 -0
- package/lib/{types → cjs}/types/index.d.ts.map +0 -0
- package/lib/cjs/types/index.js +34 -212
- package/lib/cjs/types/index.js.map +1 -0
- package/lib/{types → cjs}/types/insight.d.ts +0 -0
- package/lib/{types → cjs}/types/insight.d.ts.map +0 -0
- package/lib/cjs/types/insight.js +2 -2
- package/lib/cjs/types/insight.js.map +1 -0
- package/lib/{types → cjs}/types/legalPage.d.ts +0 -0
- package/lib/{types → cjs}/types/legalPage.d.ts.map +0 -0
- package/lib/cjs/types/legalPage.js +5 -2
- package/lib/cjs/types/legalPage.js.map +1 -0
- package/lib/{types → cjs}/types/location.d.ts +0 -0
- package/lib/{types → cjs}/types/location.d.ts.map +0 -0
- package/lib/cjs/types/location.js +2 -2
- package/lib/cjs/types/location.js.map +1 -0
- package/lib/{types → cjs}/types/media.d.ts +0 -0
- package/lib/{types → cjs}/types/media.d.ts.map +0 -0
- package/lib/cjs/types/media.js +2 -2
- package/lib/cjs/types/media.js.map +1 -0
- package/lib/{types → cjs}/types/notification.d.ts +0 -0
- package/lib/{types → cjs}/types/notification.d.ts.map +0 -0
- package/lib/cjs/types/notification.js +47 -59
- package/lib/cjs/types/notification.js.map +1 -0
- package/lib/{types → cjs}/types/platform.d.ts +0 -0
- package/lib/{types → cjs}/types/platform.d.ts.map +0 -0
- package/lib/cjs/types/platform.js +2 -2
- package/lib/cjs/types/platform.js.map +1 -0
- package/lib/{types → cjs}/types/poll.d.ts +0 -0
- package/lib/{types → cjs}/types/poll.d.ts.map +0 -0
- package/lib/cjs/types/poll.js +2 -2
- package/lib/cjs/types/poll.js.map +1 -0
- package/lib/{types → cjs}/types/preference.d.ts +0 -0
- package/lib/{types → cjs}/types/preference.d.ts.map +0 -0
- package/lib/cjs/types/preference.js +2 -2
- package/lib/cjs/types/preference.js.map +1 -0
- package/lib/{types → cjs}/types/privateMessage.d.ts +0 -0
- package/lib/{types → cjs}/types/privateMessage.d.ts.map +0 -0
- package/lib/cjs/types/privateMessage.js +14 -29
- package/lib/cjs/types/privateMessage.js.map +1 -0
- package/lib/{types → cjs}/types/prize.d.ts +0 -0
- package/lib/{types → cjs}/types/prize.d.ts.map +0 -0
- package/lib/cjs/types/prize.js +7 -23
- package/lib/cjs/types/prize.js.map +1 -0
- package/lib/{types → cjs}/types/sso.d.ts +0 -0
- package/lib/{types → cjs}/types/sso.d.ts.map +0 -0
- package/lib/cjs/types/sso.js +5 -2
- package/lib/cjs/types/sso.js.map +1 -0
- package/lib/{types → cjs}/types/tag.d.ts +0 -0
- package/lib/{types → cjs}/types/tag.d.ts.map +0 -0
- package/lib/cjs/types/tag.js +2 -2
- package/lib/cjs/types/tag.js.map +1 -0
- package/lib/{types → cjs}/types/user.d.ts +0 -0
- package/lib/{types → cjs}/types/user.d.ts.map +0 -0
- package/lib/cjs/types/user.js +42 -61
- package/lib/cjs/types/user.js.map +1 -0
- package/lib/{types → cjs}/types/vote.d.ts +0 -0
- package/lib/{types → cjs}/types/vote.d.ts.map +0 -0
- package/lib/cjs/types/vote.js +2 -2
- package/lib/cjs/types/vote.js.map +1 -0
- package/lib/{types → cjs}/types/webhook.d.ts +0 -0
- package/lib/{types → cjs}/types/webhook.d.ts.map +0 -0
- package/lib/cjs/types/webhook.js +6 -2
- package/lib/cjs/types/webhook.js.map +1 -0
- package/lib/esm/index.d.ts +9 -0
- package/lib/esm/index.d.ts.map +1 -0
- package/lib/esm/index.js +9 -125
- package/lib/esm/index.js.map +1 -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 +2 -3
- package/lib/esm/types/auth.js.map +1 -0
- package/lib/esm/types/avatar.d.ts +26 -0
- package/lib/esm/types/avatar.d.ts.map +1 -0
- package/lib/esm/types/avatar.js +5 -3
- package/lib/esm/types/avatar.js.map +1 -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 +5 -11
- package/lib/esm/types/broadcastMessage.js.map +1 -0
- package/lib/esm/types/category.d.ts +107 -0
- package/lib/esm/types/category.d.ts.map +1 -0
- package/lib/esm/types/category.js +2 -3
- package/lib/esm/types/category.js.map +1 -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 +8 -21
- package/lib/esm/types/comment.js.map +1 -0
- package/lib/esm/types/contribution.d.ts +64 -0
- package/lib/esm/types/contribution.d.ts.map +1 -0
- package/lib/esm/types/contribution.js +13 -30
- package/lib/esm/types/contribution.js.map +1 -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 +11 -16
- package/lib/esm/types/customAdv.js.map +1 -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 +2 -3
- package/lib/esm/types/customNotification.js.map +1 -0
- package/lib/esm/types/customPage.d.ts +18 -0
- package/lib/esm/types/customPage.d.ts.map +1 -0
- package/lib/esm/types/customPage.js +2 -3
- package/lib/esm/types/customPage.js.map +1 -0
- package/lib/esm/types/dataPortability.d.ts +30 -0
- package/lib/esm/types/dataPortability.d.ts.map +1 -0
- package/lib/esm/types/dataPortability.js +2 -3
- package/lib/esm/types/dataPortability.js.map +1 -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 +2 -3
- package/lib/esm/types/embed.js.map +1 -0
- package/lib/esm/types/feature.d.ts +18 -0
- package/lib/esm/types/feature.d.ts.map +1 -0
- package/lib/esm/types/feature.js +5 -3
- package/lib/esm/types/feature.js.map +1 -0
- package/lib/esm/types/feed.d.ts +237 -0
- package/lib/esm/types/feed.d.ts.map +1 -0
- package/lib/esm/types/feed.js +17 -40
- package/lib/esm/types/feed.js.map +1 -0
- package/lib/esm/types/flag.d.ts +38 -0
- package/lib/esm/types/flag.d.ts.map +1 -0
- package/lib/esm/types/flag.js +13 -26
- package/lib/esm/types/flag.js.map +1 -0
- package/lib/esm/types/incubator.d.ts +68 -0
- package/lib/esm/types/incubator.d.ts.map +1 -0
- package/lib/esm/types/incubator.js +7 -22
- package/lib/esm/types/incubator.js.map +1 -0
- package/lib/esm/types/index.d.ts +35 -0
- package/lib/esm/types/index.d.ts.map +1 -0
- package/lib/esm/types/index.js +16 -213
- package/lib/esm/types/index.js.map +1 -0
- package/lib/esm/types/insight.d.ts +127 -0
- package/lib/esm/types/insight.d.ts.map +1 -0
- package/lib/esm/types/insight.js +2 -3
- package/lib/esm/types/insight.js.map +1 -0
- package/lib/esm/types/legalPage.d.ts +79 -0
- package/lib/esm/types/legalPage.d.ts.map +1 -0
- package/lib/esm/types/legalPage.js +5 -3
- package/lib/esm/types/legalPage.js.map +1 -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 +2 -3
- package/lib/esm/types/location.js.map +1 -0
- package/lib/esm/types/media.d.ts +69 -0
- package/lib/esm/types/media.d.ts.map +1 -0
- package/lib/esm/types/media.js +2 -3
- package/lib/esm/types/media.js.map +1 -0
- package/lib/esm/types/notification.d.ts +422 -0
- package/lib/esm/types/notification.d.ts.map +1 -0
- package/lib/esm/types/notification.js +45 -60
- package/lib/esm/types/notification.js.map +1 -0
- package/lib/esm/types/platform.d.ts +9 -0
- package/lib/esm/types/platform.d.ts.map +1 -0
- package/lib/esm/types/platform.js +2 -3
- package/lib/esm/types/platform.js.map +1 -0
- package/lib/esm/types/poll.d.ts +87 -0
- package/lib/esm/types/poll.d.ts.map +1 -0
- package/lib/esm/types/poll.js +2 -3
- package/lib/esm/types/poll.js.map +1 -0
- package/lib/esm/types/preference.d.ts +22 -0
- package/lib/esm/types/preference.d.ts.map +1 -0
- package/lib/esm/types/preference.js +2 -3
- package/lib/esm/types/preference.js.map +1 -0
- package/lib/esm/types/privateMessage.d.ts +130 -0
- package/lib/esm/types/privateMessage.d.ts.map +1 -0
- package/lib/esm/types/privateMessage.js +12 -30
- package/lib/esm/types/privateMessage.js.map +1 -0
- package/lib/esm/types/prize.d.ts +93 -0
- package/lib/esm/types/prize.d.ts.map +1 -0
- package/lib/esm/types/prize.js +6 -25
- package/lib/esm/types/prize.js.map +1 -0
- package/lib/esm/types/sso.d.ts +22 -0
- package/lib/esm/types/sso.d.ts.map +1 -0
- package/lib/esm/types/sso.js +5 -3
- package/lib/esm/types/sso.js.map +1 -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 +2 -3
- package/lib/esm/types/tag.js.map +1 -0
- package/lib/esm/types/user.d.ts +537 -0
- package/lib/esm/types/user.d.ts.map +1 -0
- package/lib/esm/types/user.js +40 -62
- package/lib/esm/types/user.js.map +1 -0
- package/lib/esm/types/vote.d.ts +15 -0
- package/lib/esm/types/vote.d.ts.map +1 -0
- package/lib/esm/types/vote.js +2 -3
- package/lib/esm/types/vote.js.map +1 -0
- package/lib/esm/types/webhook.d.ts +91 -0
- package/lib/esm/types/webhook.d.ts.map +1 -0
- package/lib/esm/types/webhook.js +6 -3
- package/lib/esm/types/webhook.js.map +1 -0
- package/package.json +5 -7
- package/lib/cjs/index.d.js +0 -2
- package/lib/esm/index.d.js +0 -2
- package/lib/types/tsconfig.build.tsbuildinfo +0 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SCFeatureType interface
|
|
3
|
+
*/
|
|
4
|
+
export interface SCFeatureType {
|
|
5
|
+
/**
|
|
6
|
+
* The feature ID.
|
|
7
|
+
*/
|
|
8
|
+
id?: number;
|
|
9
|
+
/**
|
|
10
|
+
* The name of the feature.
|
|
11
|
+
*/
|
|
12
|
+
name?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Is this feature enabled?
|
|
15
|
+
*/
|
|
16
|
+
enabled?: boolean;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=feature.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.d.ts","sourceRoot":"","sources":["../../../src/types/feature.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB"}
|
package/lib/esm/types/feature.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feature.js","sourceRoot":"","sources":["../../../src/types/feature.ts"],"names":[],"mappings":"AAAA;;GAEG"}
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import { SCUserType } from './user';
|
|
2
|
+
import { SCCategoryType } from './category';
|
|
3
|
+
import { SCContributionLocation } from './location';
|
|
4
|
+
import { SCPollType } from './poll';
|
|
5
|
+
import { SCMediaType } from './media';
|
|
6
|
+
import { SCTagType } from './tag';
|
|
7
|
+
/**
|
|
8
|
+
* Typology of feed
|
|
9
|
+
*/
|
|
10
|
+
export declare enum SCFeedTypologyType {
|
|
11
|
+
HOME = "home",
|
|
12
|
+
EXPLORE = "explore"
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Typology of feedObject
|
|
16
|
+
*/
|
|
17
|
+
export declare enum SCFeedObjectTypologyType {
|
|
18
|
+
DISCUSSION = "discussion",
|
|
19
|
+
POST = "post",
|
|
20
|
+
STATUS = "status"
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Interface SCFeedUnitType.
|
|
24
|
+
* FeedUnit Schema.
|
|
25
|
+
*/
|
|
26
|
+
export interface SCFeedUnitType {
|
|
27
|
+
/**
|
|
28
|
+
* The type of the object, can be discussion, post or status
|
|
29
|
+
*/
|
|
30
|
+
type: SCFeedObjectTypologyType;
|
|
31
|
+
/**
|
|
32
|
+
* Discussion object
|
|
33
|
+
*/
|
|
34
|
+
discussion?: SCFeedDiscussionType;
|
|
35
|
+
/**
|
|
36
|
+
* Post object
|
|
37
|
+
*/
|
|
38
|
+
post?: SCFeedPostType;
|
|
39
|
+
/**
|
|
40
|
+
* Status object
|
|
41
|
+
*/
|
|
42
|
+
status?: SCFeedStatusType;
|
|
43
|
+
/**
|
|
44
|
+
* Id of User that have seen this object
|
|
45
|
+
*/
|
|
46
|
+
seen_by_id?: number[];
|
|
47
|
+
/**
|
|
48
|
+
* True if this object has the visibility boost
|
|
49
|
+
*/
|
|
50
|
+
has_boost?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* List of feed activities. This field is returned only for relevance feed
|
|
53
|
+
*/
|
|
54
|
+
activities?: SCFeedUnitActivityType[];
|
|
55
|
+
}
|
|
56
|
+
export declare enum SCFeedUnitActivityTypologyType {
|
|
57
|
+
COMMENT = "comment",
|
|
58
|
+
VOTE = "vote",
|
|
59
|
+
POLLVOTE = "pollvote",
|
|
60
|
+
FOLLOW = "follow"
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Interface SCFeedUnitActivityType.
|
|
64
|
+
* FeedUnit Activity Schema.
|
|
65
|
+
*/
|
|
66
|
+
export interface SCFeedUnitActivityType {
|
|
67
|
+
/**
|
|
68
|
+
* The type of the activity.
|
|
69
|
+
*/
|
|
70
|
+
type: SCFeedUnitActivityTypologyType;
|
|
71
|
+
/**
|
|
72
|
+
* The comment if type == SCFeedUnitActivityTypologyType.COMMENT.
|
|
73
|
+
*/
|
|
74
|
+
comment?: any;
|
|
75
|
+
/**
|
|
76
|
+
* The user involved.
|
|
77
|
+
*/
|
|
78
|
+
author: SCUserType;
|
|
79
|
+
/**
|
|
80
|
+
* Time of activity
|
|
81
|
+
*/
|
|
82
|
+
active_at: Date;
|
|
83
|
+
/**
|
|
84
|
+
* Id of Users that have seen this activity
|
|
85
|
+
*/
|
|
86
|
+
seen_by_id?: number[];
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Interface SCFeedObjectType.
|
|
90
|
+
* FeedObject Schema.
|
|
91
|
+
* General object.
|
|
92
|
+
*/
|
|
93
|
+
export interface SCFeedObjectType {
|
|
94
|
+
/**
|
|
95
|
+
* The ID of the post.
|
|
96
|
+
*/
|
|
97
|
+
id: number;
|
|
98
|
+
/**
|
|
99
|
+
* List of categories.
|
|
100
|
+
*/
|
|
101
|
+
categories?: SCCategoryType[];
|
|
102
|
+
/**
|
|
103
|
+
* List of medias
|
|
104
|
+
*/
|
|
105
|
+
medias?: SCMediaType[];
|
|
106
|
+
/**
|
|
107
|
+
* Location (contribution geolocation)
|
|
108
|
+
*/
|
|
109
|
+
location?: SCContributionLocation;
|
|
110
|
+
/**
|
|
111
|
+
* Author of the contribute
|
|
112
|
+
*/
|
|
113
|
+
author?: SCUserType;
|
|
114
|
+
/**
|
|
115
|
+
* Last activity at
|
|
116
|
+
*/
|
|
117
|
+
last_activity_at: Date;
|
|
118
|
+
/**
|
|
119
|
+
* Added at
|
|
120
|
+
*/
|
|
121
|
+
added_at: Date;
|
|
122
|
+
/**
|
|
123
|
+
* Slug
|
|
124
|
+
*/
|
|
125
|
+
slug: string;
|
|
126
|
+
/**
|
|
127
|
+
* Html
|
|
128
|
+
*/
|
|
129
|
+
html: string;
|
|
130
|
+
/**
|
|
131
|
+
* Summary
|
|
132
|
+
*/
|
|
133
|
+
summary: string;
|
|
134
|
+
/**
|
|
135
|
+
* True if the object is deleted
|
|
136
|
+
*/
|
|
137
|
+
deleted: boolean;
|
|
138
|
+
/**
|
|
139
|
+
* True if the object is hidden
|
|
140
|
+
*/
|
|
141
|
+
collapsed: boolean;
|
|
142
|
+
/**
|
|
143
|
+
* Number of comment
|
|
144
|
+
*/
|
|
145
|
+
comment_count: number;
|
|
146
|
+
/**
|
|
147
|
+
* Number of internal share
|
|
148
|
+
*/
|
|
149
|
+
share_count: number;
|
|
150
|
+
/**
|
|
151
|
+
* True if the logged user follow this object
|
|
152
|
+
*/
|
|
153
|
+
followed?: boolean;
|
|
154
|
+
/**
|
|
155
|
+
* Number of votes
|
|
156
|
+
*/
|
|
157
|
+
vote_count: number;
|
|
158
|
+
/**
|
|
159
|
+
* True if the logged user has already voted this object
|
|
160
|
+
*/
|
|
161
|
+
voted?: boolean;
|
|
162
|
+
/**
|
|
163
|
+
* Number of flags
|
|
164
|
+
*/
|
|
165
|
+
flag_count: number;
|
|
166
|
+
/**
|
|
167
|
+
* Tags adderssing
|
|
168
|
+
*/
|
|
169
|
+
addressing: SCTagType[];
|
|
170
|
+
/**
|
|
171
|
+
* Type: discussion, post, status
|
|
172
|
+
*/
|
|
173
|
+
type: SCFeedObjectTypologyType;
|
|
174
|
+
/**
|
|
175
|
+
* Suspended notification
|
|
176
|
+
*/
|
|
177
|
+
suspended?: boolean;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Interface SCFeedDiscussionType.
|
|
181
|
+
* FeedDiscussion Schema.
|
|
182
|
+
*/
|
|
183
|
+
export interface SCFeedDiscussionType extends SCFeedObjectType {
|
|
184
|
+
/**
|
|
185
|
+
* Title of the discussion
|
|
186
|
+
*/
|
|
187
|
+
title: string;
|
|
188
|
+
/**
|
|
189
|
+
* Poll
|
|
190
|
+
*/
|
|
191
|
+
poll?: SCPollType;
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Interface SCFeedPostType.
|
|
195
|
+
* Post Schema.
|
|
196
|
+
*/
|
|
197
|
+
export interface SCFeedPostType extends SCFeedObjectType {
|
|
198
|
+
/**
|
|
199
|
+
* Poll
|
|
200
|
+
*/
|
|
201
|
+
poll?: SCPollType;
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Interface SCFeedStatusType.
|
|
205
|
+
* Status Schema.
|
|
206
|
+
*/
|
|
207
|
+
export declare type SCFeedStatusType = SCFeedObjectType;
|
|
208
|
+
/**
|
|
209
|
+
* SCFeedUnseenCountType interface
|
|
210
|
+
*/
|
|
211
|
+
export interface SCFeedUnseenCountType {
|
|
212
|
+
count_by_category?: SCCountByCategoryType[];
|
|
213
|
+
total: number;
|
|
214
|
+
}
|
|
215
|
+
export interface SCCountByCategoryType {
|
|
216
|
+
id: number;
|
|
217
|
+
count: number;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Feed Object suspended status
|
|
221
|
+
*/
|
|
222
|
+
export interface SCFeedObjectSuspendedStatusType {
|
|
223
|
+
suspended: boolean;
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* Feed Object following status
|
|
227
|
+
*/
|
|
228
|
+
export interface SCFeedObjectFollowingStatusType {
|
|
229
|
+
following: boolean;
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* Feed Object hide status
|
|
233
|
+
*/
|
|
234
|
+
export interface SCFeedObjectHideStatusType {
|
|
235
|
+
hidden: boolean;
|
|
236
|
+
}
|
|
237
|
+
//# sourceMappingURL=feed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feed.d.ts","sourceRoot":"","sources":["../../../src/types/feed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAC,cAAc,EAAC,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAC,sBAAsB,EAAC,MAAM,YAAY,CAAC;AAClD,OAAO,EAAC,UAAU,EAAC,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AACpC,OAAO,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAEhC;;GAEG;AACH,oBAAY,kBAAkB;IAC5B,IAAI,SAAS;IACb,OAAO,YAAY;CACpB;AAED;;GAEG;AACH,oBAAY,wBAAwB;IAClC,UAAU,eAAe;IACzB,IAAI,SAAS;IACb,MAAM,WAAW;CAClB;AAED;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,IAAI,EAAE,wBAAwB,CAAC;IAE/B;;OAEG;IACH,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAElC;;OAEG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC;IAEtB;;OAEG;IACH,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAE1B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IAEtB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IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,SAAS,EAAE,CAAC;IAExB;;OAEG;IACH,IAAI,EAAE,wBAAwB,CAAC;IAE/B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAqB,SAAQ,gBAAgB;IAC5D;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB;AAED;;;GAGG;AACH,MAAM,WAAW,cAAe,SAAQ,gBAAgB;IACtD;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB;AAED;;;GAGG;AACH,oBAAY,gBAAgB,GAAG,gBAAgB,CAAC;AAEhD;;GAEG;AAEH,MAAM,WAAW,qBAAqB;IACpC,iBAAiB,CAAC,EAAE,qBAAqB,EAAE,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,SAAS,EAAE,OAAO,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,SAAS,EAAE,OAAO,CAAC;CACpB;AACD;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,MAAM,EAAE,OAAO,CAAC;CACjB"}
|
package/lib/esm/types/feed.js
CHANGED
|
@@ -1,48 +1,25 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.SCFeedUnitActivityTypologyType = exports.SCFeedTypologyType = exports.SCFeedObjectTypologyType = void 0;
|
|
5
|
-
|
|
6
1
|
/**
|
|
7
2
|
* Typology of feed
|
|
8
3
|
*/
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Typology of feedObject
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
exports.SCFeedTypologyType = SCFeedTypologyType;
|
|
15
|
-
|
|
4
|
+
export var SCFeedTypologyType;
|
|
16
5
|
(function (SCFeedTypologyType) {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
})(SCFeedTypologyType || (
|
|
20
|
-
|
|
21
|
-
let SCFeedObjectTypologyType;
|
|
6
|
+
SCFeedTypologyType["HOME"] = "home";
|
|
7
|
+
SCFeedTypologyType["EXPLORE"] = "explore";
|
|
8
|
+
})(SCFeedTypologyType || (SCFeedTypologyType = {}));
|
|
22
9
|
/**
|
|
23
|
-
*
|
|
24
|
-
* FeedUnit Schema.
|
|
10
|
+
* Typology of feedObject
|
|
25
11
|
*/
|
|
26
|
-
|
|
27
|
-
exports.SCFeedObjectTypologyType = SCFeedObjectTypologyType;
|
|
28
|
-
|
|
12
|
+
export var SCFeedObjectTypologyType;
|
|
29
13
|
(function (SCFeedObjectTypologyType) {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
})(SCFeedObjectTypologyType || (
|
|
34
|
-
|
|
35
|
-
let SCFeedUnitActivityTypologyType;
|
|
36
|
-
/**
|
|
37
|
-
* Interface SCFeedUnitActivityType.
|
|
38
|
-
* FeedUnit Activity Schema.
|
|
39
|
-
*/
|
|
40
|
-
|
|
41
|
-
exports.SCFeedUnitActivityTypologyType = SCFeedUnitActivityTypologyType;
|
|
42
|
-
|
|
14
|
+
SCFeedObjectTypologyType["DISCUSSION"] = "discussion";
|
|
15
|
+
SCFeedObjectTypologyType["POST"] = "post";
|
|
16
|
+
SCFeedObjectTypologyType["STATUS"] = "status";
|
|
17
|
+
})(SCFeedObjectTypologyType || (SCFeedObjectTypologyType = {}));
|
|
18
|
+
export var SCFeedUnitActivityTypologyType;
|
|
43
19
|
(function (SCFeedUnitActivityTypologyType) {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
})(SCFeedUnitActivityTypologyType || (
|
|
20
|
+
SCFeedUnitActivityTypologyType["COMMENT"] = "comment";
|
|
21
|
+
SCFeedUnitActivityTypologyType["VOTE"] = "vote";
|
|
22
|
+
SCFeedUnitActivityTypologyType["POLLVOTE"] = "pollvote";
|
|
23
|
+
SCFeedUnitActivityTypologyType["FOLLOW"] = "follow";
|
|
24
|
+
})(SCFeedUnitActivityTypologyType || (SCFeedUnitActivityTypologyType = {}));
|
|
25
|
+
//# sourceMappingURL=feed.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feed.js","sourceRoot":"","sources":["../../../src/types/feed.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,yCAAmB,CAAA;AACrB,CAAC,EAHW,kBAAkB,KAAlB,kBAAkB,QAG7B;AAED;;GAEG;AACH,MAAM,CAAN,IAAY,wBAIX;AAJD,WAAY,wBAAwB;IAClC,qDAAyB,CAAA;IACzB,yCAAa,CAAA;IACb,6CAAiB,CAAA;AACnB,CAAC,EAJW,wBAAwB,KAAxB,wBAAwB,QAInC;AA2CD,MAAM,CAAN,IAAY,8BAKX;AALD,WAAY,8BAA8B;IACxC,qDAAmB,CAAA;IACnB,+CAAa,CAAA;IACb,uDAAqB,CAAA;IACrB,mDAAiB,CAAA;AACnB,CAAC,EALW,8BAA8B,KAA9B,8BAA8B,QAKzC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { SCUserType } from './user';
|
|
2
|
+
/**
|
|
3
|
+
* SCFlagType interface
|
|
4
|
+
*/
|
|
5
|
+
export interface SCFlagType {
|
|
6
|
+
/**
|
|
7
|
+
* The user who has been flagged
|
|
8
|
+
*/
|
|
9
|
+
user?: SCUserType;
|
|
10
|
+
/**
|
|
11
|
+
* Date time of flag.
|
|
12
|
+
*/
|
|
13
|
+
added_at?: Date | string;
|
|
14
|
+
/**
|
|
15
|
+
* Type of flag
|
|
16
|
+
*/
|
|
17
|
+
flag_type: SCFlagTypeEnum;
|
|
18
|
+
/**
|
|
19
|
+
* Flag description
|
|
20
|
+
*/
|
|
21
|
+
flag_type_description?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Typology of flags
|
|
25
|
+
*/
|
|
26
|
+
export declare enum SCFlagTypeEnum {
|
|
27
|
+
SPAM = 0,
|
|
28
|
+
AGGRESSIVE = 1,
|
|
29
|
+
VULGAR = 2,
|
|
30
|
+
POOR = 3,
|
|
31
|
+
OFFTOPIC = 4
|
|
32
|
+
}
|
|
33
|
+
export declare enum SCFlagModerationStatusType {
|
|
34
|
+
IGNORED = "ignored",
|
|
35
|
+
DELETED = "deleted",
|
|
36
|
+
HIDDEN = "hidden"
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=flag.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flag.d.ts","sourceRoot":"","sources":["../../../src/types/flag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,QAAQ,CAAC;AAElC;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACzB;;OAEG;IACH,SAAS,EAAE,cAAc,CAAC;IAC1B;;OAEG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED;;GAEG;AACH,oBAAY,cAAc;IACxB,IAAI,IAAI;IACR,UAAU,IAAI;IACd,MAAM,IAAI;IACV,IAAI,IAAI;IACR,QAAQ,IAAI;CACb;AAED,oBAAY,0BAA0B;IACpC,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB"}
|
package/lib/esm/types/flag.js
CHANGED
|
@@ -1,31 +1,18 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.SCFlagTypeEnum = exports.SCFlagModerationStatusType = void 0;
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* SCFlagType interface
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
1
|
/**
|
|
11
2
|
* Typology of flags
|
|
12
3
|
*/
|
|
13
|
-
|
|
14
|
-
exports.SCFlagTypeEnum = SCFlagTypeEnum;
|
|
15
|
-
|
|
4
|
+
export var SCFlagTypeEnum;
|
|
16
5
|
(function (SCFlagTypeEnum) {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
})(SCFlagTypeEnum || (
|
|
23
|
-
|
|
24
|
-
let SCFlagModerationStatusType;
|
|
25
|
-
exports.SCFlagModerationStatusType = SCFlagModerationStatusType;
|
|
26
|
-
|
|
6
|
+
SCFlagTypeEnum[SCFlagTypeEnum["SPAM"] = 0] = "SPAM";
|
|
7
|
+
SCFlagTypeEnum[SCFlagTypeEnum["AGGRESSIVE"] = 1] = "AGGRESSIVE";
|
|
8
|
+
SCFlagTypeEnum[SCFlagTypeEnum["VULGAR"] = 2] = "VULGAR";
|
|
9
|
+
SCFlagTypeEnum[SCFlagTypeEnum["POOR"] = 3] = "POOR";
|
|
10
|
+
SCFlagTypeEnum[SCFlagTypeEnum["OFFTOPIC"] = 4] = "OFFTOPIC";
|
|
11
|
+
})(SCFlagTypeEnum || (SCFlagTypeEnum = {}));
|
|
12
|
+
export var SCFlagModerationStatusType;
|
|
27
13
|
(function (SCFlagModerationStatusType) {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
})(SCFlagModerationStatusType || (
|
|
14
|
+
SCFlagModerationStatusType["IGNORED"] = "ignored";
|
|
15
|
+
SCFlagModerationStatusType["DELETED"] = "deleted";
|
|
16
|
+
SCFlagModerationStatusType["HIDDEN"] = "hidden";
|
|
17
|
+
})(SCFlagModerationStatusType || (SCFlagModerationStatusType = {}));
|
|
18
|
+
//# sourceMappingURL=flag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flag.js","sourceRoot":"","sources":["../../../src/types/flag.ts"],"names":[],"mappings":"AAwBA;;GAEG;AACH,MAAM,CAAN,IAAY,cAMX;AAND,WAAY,cAAc;IACxB,mDAAQ,CAAA;IACR,+DAAc,CAAA;IACd,uDAAU,CAAA;IACV,mDAAQ,CAAA;IACR,2DAAY,CAAA;AACd,CAAC,EANW,cAAc,KAAd,cAAc,QAMzB;AAED,MAAM,CAAN,IAAY,0BAIX;AAJD,WAAY,0BAA0B;IACpC,iDAAmB,CAAA;IACnB,iDAAmB,CAAA;IACnB,+CAAiB,CAAA;AACnB,CAAC,EAJW,0BAA0B,KAA1B,0BAA0B,QAIrC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { SCUserType } from './user';
|
|
2
|
+
import { SCCategoryType } from './category';
|
|
3
|
+
/**
|
|
4
|
+
* Interface SCIncubatorType.
|
|
5
|
+
* Incubator Schema.
|
|
6
|
+
*/
|
|
7
|
+
export interface SCIncubatorType {
|
|
8
|
+
/**
|
|
9
|
+
* The ID of the incubator.
|
|
10
|
+
*/
|
|
11
|
+
id: number;
|
|
12
|
+
/**
|
|
13
|
+
* The name of the incubator.
|
|
14
|
+
*/
|
|
15
|
+
name: string;
|
|
16
|
+
/**
|
|
17
|
+
* The slug of the incubator.
|
|
18
|
+
*/
|
|
19
|
+
slug?: string;
|
|
20
|
+
/**
|
|
21
|
+
* The slogan of the incubator.
|
|
22
|
+
*/
|
|
23
|
+
slogan?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Incubator status
|
|
26
|
+
*/
|
|
27
|
+
status: number;
|
|
28
|
+
/**
|
|
29
|
+
* Subscribers count
|
|
30
|
+
*/
|
|
31
|
+
subscribers_count: number;
|
|
32
|
+
/**
|
|
33
|
+
* Subscribers threshold
|
|
34
|
+
*/
|
|
35
|
+
subscribers_threshold: number;
|
|
36
|
+
/**
|
|
37
|
+
* User who proposed the incubator
|
|
38
|
+
*/
|
|
39
|
+
user: SCUserType;
|
|
40
|
+
/**
|
|
41
|
+
* Approved incubator
|
|
42
|
+
*/
|
|
43
|
+
approved_category?: SCCategoryType;
|
|
44
|
+
/**
|
|
45
|
+
* Added at
|
|
46
|
+
*/
|
|
47
|
+
added_at: Date;
|
|
48
|
+
/**
|
|
49
|
+
* If the logged user has subscribed to the incubator
|
|
50
|
+
*/
|
|
51
|
+
subscribed: boolean;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* SCIncubatorSubscriptionType inerface
|
|
55
|
+
*/
|
|
56
|
+
export interface SCIncubatorSubscriptionType {
|
|
57
|
+
subscribed: boolean;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* SCIncubatorStatusType enum
|
|
61
|
+
*/
|
|
62
|
+
export declare enum SCIncubatorStatusType {
|
|
63
|
+
PENDING = 0,
|
|
64
|
+
PROPOSAL = 1,
|
|
65
|
+
APPROVED = 2,
|
|
66
|
+
IGNORED = 3
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=incubator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"incubator.d.ts","sourceRoot":"","sources":["../../../src/types/incubator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAC,cAAc,EAAC,MAAM,YAAY,CAAC;AAE1C;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAE9B;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IAEjB;;OAEG;IACH,iBAAiB,CAAC,EAAE,cAAc,CAAC;IAEnC;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC;IACf;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C,UAAU,EAAE,OAAO,CAAC;CACrB;AAED;;GAEG;AAEH,oBAAY,qBAAqB;IAC/B,OAAO,IAAI;IACX,QAAQ,IAAI;IACZ,QAAQ,IAAI;IACZ,OAAO,IAAI;CACZ"}
|
|
@@ -1,26 +1,11 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.SCIncubatorStatusType = void 0;
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Interface SCIncubatorType.
|
|
8
|
-
* Incubator Schema.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* SCIncubatorSubscriptionType inerface
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
1
|
/**
|
|
16
2
|
* SCIncubatorStatusType enum
|
|
17
3
|
*/
|
|
18
|
-
|
|
19
|
-
exports.SCIncubatorStatusType = SCIncubatorStatusType;
|
|
20
|
-
|
|
4
|
+
export var SCIncubatorStatusType;
|
|
21
5
|
(function (SCIncubatorStatusType) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})(SCIncubatorStatusType || (
|
|
6
|
+
SCIncubatorStatusType[SCIncubatorStatusType["PENDING"] = 0] = "PENDING";
|
|
7
|
+
SCIncubatorStatusType[SCIncubatorStatusType["PROPOSAL"] = 1] = "PROPOSAL";
|
|
8
|
+
SCIncubatorStatusType[SCIncubatorStatusType["APPROVED"] = 2] = "APPROVED";
|
|
9
|
+
SCIncubatorStatusType[SCIncubatorStatusType["IGNORED"] = 3] = "IGNORED";
|
|
10
|
+
})(SCIncubatorStatusType || (SCIncubatorStatusType = {}));
|
|
11
|
+
//# sourceMappingURL=incubator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"incubator.js","sourceRoot":"","sources":["../../../src/types/incubator.ts"],"names":[],"mappings":"AAsEA;;GAEG;AAEH,MAAM,CAAN,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAC/B,uEAAW,CAAA;IACX,yEAAY,CAAA;IACZ,yEAAY,CAAA;IACZ,uEAAW,CAAA;AACb,CAAC,EALW,qBAAqB,KAArB,qBAAqB,QAKhC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { SCAuthTokenType } from './auth';
|
|
2
|
+
import { SCBannerType, SCBroadcastMessageBannerType, SCBroadcastMessageType } from './broadcastMessage';
|
|
3
|
+
import { SCCustomAdvPosition, SCCustomAdvType } from './customAdv';
|
|
4
|
+
import { SCUserType, SCUserBlockedSettingsType, SCUserFields, SCUserSettingsType, SCUserStatus, SCUserModerationType, SCUserScoreVariation, SCUserScoreType, SCUserReputationType, SCUserAutocompleteType, SCUserCounterType, SCUserChangeEmailType, SCUserAvatarType, SCUserPermissionType, SCUserFollowedStatusType, SCUserFollowerStatusType, SCUserConnectionStatusType, SCUserHiddenStatusType, SCUserHiddenByStatusType, SCUserConnectionRequestType, SCUserEmailTokenType } from './user';
|
|
5
|
+
import { SCTagType } from './tag';
|
|
6
|
+
import { SCCategoryType, SCCategoryAudienceType, SCCategoryFollowedStatusType } from './category';
|
|
7
|
+
import { SCEmbedType } from './embed';
|
|
8
|
+
import { SCMediaType, SCChunkMediaType } from './media';
|
|
9
|
+
import { SCContributionLocation, SCLocalityType } from './location';
|
|
10
|
+
import { SCPollChoiceType, SCPollType, SCPollVoteType } from './poll';
|
|
11
|
+
import { SCCommentType, SCCommentTypologyType, SCCommentsOrderBy } from './comment';
|
|
12
|
+
import { SCPrivateMessageType, SCPrivateMessageStatusType, SCPrivateMessageFileType, SCMessageFileType, SCPrivateMessageUploadMediaType, SCPrivateMessageUploadThumbnailType, SCPrivateMessageUploadMediaChunkType } from './privateMessage';
|
|
13
|
+
import { SCIncubatorType, SCIncubatorSubscriptionType, SCIncubatorStatusType } from './incubator';
|
|
14
|
+
import { SCCustomNotificationType } from './customNotification';
|
|
15
|
+
import { SCPrizeType, SCPrizeUserType, SCPrizeUserStatusType, SCUserLoyaltyPointsType } from './prize';
|
|
16
|
+
import { SCFeedUnitType, SCFeedUnitActivityType, SCFeedObjectType, SCFeedPostType, SCFeedDiscussionType, SCFeedStatusType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCFeedUnseenCountType, SCCountByCategoryType, SCFeedObjectSuspendedStatusType, SCFeedObjectHideStatusType, SCFeedObjectFollowingStatusType } from './feed';
|
|
17
|
+
import { SCNotificationTypologyType, SCNotificationAggregatedType, SCNotificationCommentType, SCNotificationConnectionAcceptType, SCNotificationConnectionRequestType, SCNotificationPrivateMessageType, SCNotificationMentionType, SCNotificationType, SCNotificationBlockedUserType, SCNotificationCollapsedForType, SCNotificationCustomNotificationType, SCNotificationDeletedForType, SCNotificationFollowType, SCNotificationKindlyNoticeType, SCNotificationUnBlockedUserType, SCNotificationUnDeletedForType, SCNotificationUserFollowType, SCNotificationVoteUpType, SCNotificationIncubatorType, SCNotificationTopicType, SCNotificationUnseenCountType } from './notification';
|
|
18
|
+
import { SCWebhookEndpointType, SCWebhookEndpointAttemptType, SCWebhookEndpointSecretType, SCWebhookEventsType } from './webhook';
|
|
19
|
+
import { SCVoteType } from './vote';
|
|
20
|
+
import { SCFlagType, SCFlagTypeEnum, SCFlagModerationStatusType } from './flag';
|
|
21
|
+
import { SCCustomPageType } from './customPage';
|
|
22
|
+
import { SCDataPortabilityType } from './dataPortability';
|
|
23
|
+
import { SCPreferenceType } from './preference';
|
|
24
|
+
import { SCFeatureType } from './feature';
|
|
25
|
+
import { SSOSignInType, SSOSignUpType } from './sso';
|
|
26
|
+
import { SCLegalPageType, SCLegalPageAckType } from './legalPage';
|
|
27
|
+
import { SCContributionInsightType, SCContributionInsightCountersType, SCEmbedInsightType, SCEmbedInsightCountersType, SCUsersInsightType, SCUsersInsightCountersType } from './insight';
|
|
28
|
+
import { SCFlaggedContributionType, SCContributionType, SCContributionStatus, SCContributeStatusType } from './contribution';
|
|
29
|
+
import { SCPlatformType } from './platform';
|
|
30
|
+
import { SCAvatarType } from './avatar';
|
|
31
|
+
/**
|
|
32
|
+
* Exports all types
|
|
33
|
+
*/
|
|
34
|
+
export { SCBannerType, SCBroadcastMessageBannerType, SCBroadcastMessageType, SCAuthTokenType, SCUserFields, SCUserType, SCUserSettingsType, SCUserStatus, SCUserBlockedSettingsType, SCUserModerationType, SCUserScoreVariation, SCUserScoreType, SCUserReputationType, SCUserAutocompleteType, SCUserCounterType, SCUserChangeEmailType, SCUserAvatarType, SCUserPermissionType, SCUserFollowedStatusType, SCUserFollowerStatusType, SCUserConnectionStatusType, SCUserHiddenStatusType, SCUserHiddenByStatusType, SCUserConnectionRequestType, SCUserEmailTokenType, SCTagType, SCCategoryType, SCCategoryAudienceType, SCCategoryFollowedStatusType, SCCustomAdvPosition, SCCustomAdvType, SCEmbedType, SCMediaType, SCChunkMediaType, SCContributionLocation, SCLocalityType, SCPollChoiceType, SCPollType, SCPollVoteType, SCFeedUnitType, SCFeedUnitActivityType, SCFeedObjectType, SCFeedPostType, SCFeedDiscussionType, SCFeedStatusType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCFeedUnseenCountType, SCFeedObjectSuspendedStatusType, SCFeedObjectHideStatusType, SCFeedObjectFollowingStatusType, SCCountByCategoryType, SCCommentTypologyType, SCCommentsOrderBy, SCCommentType, SCPrivateMessageType, SCPrivateMessageStatusType, SCPrivateMessageFileType, SCMessageFileType, SCPrivateMessageUploadMediaType, SCPrivateMessageUploadThumbnailType, SCPrivateMessageUploadMediaChunkType, SCNotificationTypologyType, SCNotificationAggregatedType, SCNotificationCommentType, SCNotificationConnectionAcceptType, SCNotificationConnectionRequestType, SCNotificationPrivateMessageType, SCNotificationMentionType, SCNotificationType, SCNotificationBlockedUserType, SCNotificationCollapsedForType, SCNotificationCustomNotificationType, SCNotificationDeletedForType, SCNotificationFollowType, SCNotificationKindlyNoticeType, SCNotificationUnBlockedUserType, SCNotificationUnDeletedForType, SCNotificationUserFollowType, SCNotificationVoteUpType, SCCustomNotificationType, SCNotificationTopicType, SCNotificationUnseenCountType, SCIncubatorType, SCIncubatorSubscriptionType, SCIncubatorStatusType, SCNotificationIncubatorType, SCPrizeType, SCPrizeUserType, SCPrizeUserStatusType, SCUserLoyaltyPointsType, SCWebhookEndpointType, SCWebhookEndpointAttemptType, SCWebhookEndpointSecretType, SCWebhookEventsType, SCVoteType, SCFlagType, SCFlagTypeEnum, SCFlagModerationStatusType, SCCustomPageType, SCDataPortabilityType, SCPreferenceType, SCFeatureType, SSOSignInType, SSOSignUpType, SCLegalPageType, SCLegalPageAckType, SCContributionInsightCountersType, SCContributionInsightType, SCEmbedInsightType, SCEmbedInsightCountersType, SCUsersInsightType, SCUsersInsightCountersType, SCFlaggedContributionType, SCContributionType, SCContributionStatus, SCContributeStatusType, SCPlatformType, SCAvatarType };
|
|
35
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAC,YAAY,EAAE,4BAA4B,EAAE,sBAAsB,EAAC,MAAM,oBAAoB,CAAC;AACtG,OAAO,EAAC,mBAAmB,EAAE,eAAe,EAAC,MAAM,aAAa,CAAC;AACjE,OAAO,EACL,UAAU,EACV,yB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