@selfcommunity/types 0.1.7 → 0.1.8-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/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
package/lib/cjs/types/prize.js
CHANGED
|
@@ -1,26 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
3
|
exports.SCPrizeUserStatusType = void 0;
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Interface SCPrizeType.
|
|
8
|
-
* Prize Schema.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* SCPrizeUserType interface
|
|
13
|
-
* Loyalty Prize User Schema
|
|
14
|
-
*/
|
|
15
|
-
let SCPrizeUserStatusType;
|
|
16
|
-
/**
|
|
17
|
-
* Interface SCUserLoyaltyPointsType
|
|
18
|
-
*/
|
|
19
|
-
|
|
20
|
-
exports.SCPrizeUserStatusType = SCPrizeUserStatusType;
|
|
21
|
-
|
|
4
|
+
var SCPrizeUserStatusType;
|
|
22
5
|
(function (SCPrizeUserStatusType) {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})(SCPrizeUserStatusType
|
|
6
|
+
SCPrizeUserStatusType[SCPrizeUserStatusType["PENDING"] = 0] = "PENDING";
|
|
7
|
+
SCPrizeUserStatusType[SCPrizeUserStatusType["REFUSED"] = 1] = "REFUSED";
|
|
8
|
+
SCPrizeUserStatusType[SCPrizeUserStatusType["SENT"] = 2] = "SENT";
|
|
9
|
+
})(SCPrizeUserStatusType = exports.SCPrizeUserStatusType || (exports.SCPrizeUserStatusType = {}));
|
|
10
|
+
//# sourceMappingURL=prize.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prize.js","sourceRoot":"","sources":["../../../src/types/prize.ts"],"names":[],"mappings":";;;AA0FA,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,uEAAW,CAAA;IACX,uEAAW,CAAA;IACX,iEAAQ,CAAA;AACV,CAAC,EAJW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAIhC"}
|
|
File without changes
|
|
File without changes
|
package/lib/cjs/types/sso.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sso.js","sourceRoot":"","sources":["../../../src/types/sso.ts"],"names":[],"mappings":";AAAA;;GAEG"}
|
|
File without changes
|
|
File without changes
|
package/lib/cjs/types/tag.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=tag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tag.js","sourceRoot":"","sources":["../../../src/types/tag.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
File without changes
|
package/lib/cjs/types/user.js
CHANGED
|
@@ -1,70 +1,51 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.
|
|
4
|
-
exports.SCUserStatus = exports.SCUserReputationType = exports.SCUserFields = void 0;
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Interface SCUserType.
|
|
8
|
-
* User Schema.
|
|
9
|
-
*/
|
|
10
|
-
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SCUserReputationType = exports.SCUserStatus = exports.SCUserFields = void 0;
|
|
11
4
|
/**
|
|
12
5
|
* User Fields
|
|
13
6
|
*/
|
|
14
|
-
|
|
7
|
+
var SCUserFields;
|
|
8
|
+
(function (SCUserFields) {
|
|
9
|
+
SCUserFields["USERNAME"] = "username";
|
|
10
|
+
SCUserFields["REAL_NAME"] = "real_name";
|
|
11
|
+
SCUserFields["DATE_JOINED"] = "date_joined";
|
|
12
|
+
SCUserFields["BIO"] = "bio";
|
|
13
|
+
SCUserFields["LOCATION"] = "location";
|
|
14
|
+
SCUserFields["DATE_OF_BIRTH"] = "date_of_birth";
|
|
15
|
+
SCUserFields["DESCRIPTION"] = "description";
|
|
16
|
+
SCUserFields["GENDER"] = "gender";
|
|
17
|
+
SCUserFields["WEBSITE"] = "website";
|
|
18
|
+
})(SCUserFields = exports.SCUserFields || (exports.SCUserFields = {}));
|
|
15
19
|
/**
|
|
16
20
|
* User status
|
|
17
21
|
*/
|
|
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
|
-
|
|
22
|
+
var SCUserStatus;
|
|
36
23
|
(function (SCUserStatus) {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
})(SCUserStatus
|
|
42
|
-
|
|
43
|
-
let SCUserReputationType;
|
|
44
|
-
/**
|
|
45
|
-
* SCUserScoreVariation interface
|
|
46
|
-
*/
|
|
47
|
-
|
|
48
|
-
exports.SCUserReputationType = SCUserReputationType;
|
|
49
|
-
|
|
24
|
+
SCUserStatus["APPROVED"] = "a";
|
|
25
|
+
SCUserStatus["BLOCKED"] = "b";
|
|
26
|
+
SCUserStatus["DELETED"] = "d";
|
|
27
|
+
SCUserStatus["UNREGISTERED"] = "u";
|
|
28
|
+
})(SCUserStatus = exports.SCUserStatus || (exports.SCUserStatus = {}));
|
|
29
|
+
var SCUserReputationType;
|
|
50
30
|
(function (SCUserReputationType) {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
})(SCUserReputationType
|
|
31
|
+
SCUserReputationType[SCUserReputationType["GAIN_BY_UPVOTED"] = 1] = "GAIN_BY_UPVOTED";
|
|
32
|
+
SCUserReputationType[SCUserReputationType["ASSIGNED_BY_MODERATOR"] = 10] = "ASSIGNED_BY_MODERATOR";
|
|
33
|
+
SCUserReputationType[SCUserReputationType["GAIN_BY_CANCELLING_CONTRIBUTE_MODERATION"] = 11] = "GAIN_BY_CANCELLING_CONTRIBUTE_MODERATION";
|
|
34
|
+
SCUserReputationType[SCUserReputationType["GAIN_BY_MAKE_POST"] = 12] = "GAIN_BY_MAKE_POST";
|
|
35
|
+
SCUserReputationType[SCUserReputationType["GAIN_BY_MAKE_FIRST_LEVEL_COMMENT"] = 13] = "GAIN_BY_MAKE_FIRST_LEVEL_COMMENT";
|
|
36
|
+
SCUserReputationType[SCUserReputationType["GAIN_BY_MAKE_SECOND_LEVEL_COMMENT"] = 14] = "GAIN_BY_MAKE_SECOND_LEVEL_COMMENT";
|
|
37
|
+
SCUserReputationType[SCUserReputationType["GAIN_BY_CONNECTION"] = 15] = "GAIN_BY_CONNECTION";
|
|
38
|
+
SCUserReputationType[SCUserReputationType["GAIN_BY_APP_USED"] = 17] = "GAIN_BY_APP_USED";
|
|
39
|
+
SCUserReputationType[SCUserReputationType["GAIN_BY_DAILY_VISIT"] = 18] = "GAIN_BY_DAILY_VISIT";
|
|
40
|
+
SCUserReputationType[SCUserReputationType["GAIN_BY_FOLLOWER"] = 19] = "GAIN_BY_FOLLOWER";
|
|
41
|
+
SCUserReputationType[SCUserReputationType["GAIN_BY_UNBLOCK_ACCOUNT"] = 20] = "GAIN_BY_UNBLOCK_ACCOUNT";
|
|
42
|
+
SCUserReputationType[SCUserReputationType["LOSE_BY_UPVOTE_CANCELED"] = -1] = "LOSE_BY_UPVOTE_CANCELED";
|
|
43
|
+
SCUserReputationType[SCUserReputationType["LOSE_BY_CONTRIBUTE_MODERATION"] = -11] = "LOSE_BY_CONTRIBUTE_MODERATION";
|
|
44
|
+
SCUserReputationType[SCUserReputationType["LOSE_BY_DELETE_POST"] = -12] = "LOSE_BY_DELETE_POST";
|
|
45
|
+
SCUserReputationType[SCUserReputationType["LOSE_BY_DELETE_FIRST_LEVEL_COMMENT"] = -13] = "LOSE_BY_DELETE_FIRST_LEVEL_COMMENT";
|
|
46
|
+
SCUserReputationType[SCUserReputationType["LOSE_BY_DELETE_SECOND_LEVEL_COMMENT"] = -14] = "LOSE_BY_DELETE_SECOND_LEVEL_COMMENT";
|
|
47
|
+
SCUserReputationType[SCUserReputationType["LOSE_BY_CONNECTION"] = -15] = "LOSE_BY_CONNECTION";
|
|
48
|
+
SCUserReputationType[SCUserReputationType["LOSE_BY_FOLLOWER"] = -19] = "LOSE_BY_FOLLOWER";
|
|
49
|
+
SCUserReputationType[SCUserReputationType["LOSE_BY_BLOCK_ACCOUNT"] = -20] = "LOSE_BY_BLOCK_ACCOUNT";
|
|
50
|
+
})(SCUserReputationType = exports.SCUserReputationType || (exports.SCUserReputationType = {}));
|
|
51
|
+
//# sourceMappingURL=user.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../src/types/user.ts"],"names":[],"mappings":";;;AAMA;;GAEG;AACH,IAAY,YAUX;AAVD,WAAY,YAAY;IACtB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,2CAA2B,CAAA;IAC3B,2BAAW,CAAA;IACX,qCAAqB,CAAA;IACrB,+CAA+B,CAAA;IAC/B,2CAA2B,CAAA;IAC3B,iCAAiB,CAAA;IACjB,mCAAmB,CAAA;AACrB,CAAC,EAVW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAUvB;AAED;;GAEG;AACH,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,8BAAc,CAAA;IACd,6BAAa,CAAA;IACb,6BAAa,CAAA;IACb,kCAAkB,CAAA;AACpB,CAAC,EALW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAKvB;AAuTD,IAAY,oBAoBX;AApBD,WAAY,oBAAoB;IAC9B,qFAAmB,CAAA;IACnB,kGAA0B,CAAA;IAC1B,wIAA6C,CAAA;IAC7C,0FAAsB,CAAA;IACtB,wHAAqC,CAAA;IACrC,0HAAsC,CAAA;IACtC,4FAAuB,CAAA;IACvB,wFAAqB,CAAA;IACrB,8FAAwB,CAAA;IACxB,wFAAqB,CAAA;IACrB,sGAA4B,CAAA;IAC5B,sGAA4B,CAAA;IAC5B,mHAAmC,CAAA;IACnC,+FAAyB,CAAA;IACzB,6HAAwC,CAAA;IACxC,+HAAyC,CAAA;IACzC,6FAAwB,CAAA;IACxB,yFAAsB,CAAA;IACtB,mGAA2B,CAAA;AAC7B,CAAC,EApBW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAoB/B"}
|
|
File without changes
|
|
File without changes
|
package/lib/cjs/types/vote.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
//# sourceMappingURL=vote.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vote.js","sourceRoot":"","sources":["../../../src/types/vote.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
File without changes
|
package/lib/cjs/types/webhook.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhook.js","sourceRoot":"","sources":["../../../src/types/webhook.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Types
|
|
3
|
+
*/
|
|
4
|
+
import { SCBroadcastMessageBannerType, SCBannerType, SCBroadcastMessageType, SCAuthTokenType, SCCustomAdvPosition, SCCustomAdvType, 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, SCEmbedType, SCMediaType, SCChunkMediaType, SCContributionLocation, SCLocalityType, SCPollChoiceType, SCPollType, SCPollVoteType, SCFeedUnitType, SCFeedUnitActivityType, SCFeedObjectType, SCFeedPostType, SCFeedDiscussionType, SCFeedStatusType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCFeedUnseenCountType, SCFeedObjectSuspendedStatusType, SCFeedObjectHideStatusType, SCFeedObjectFollowingStatusType, 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, SCNotificationUnseenCountType, SCIncubatorType, SCIncubatorSubscriptionType, SCIncubatorStatusType, SCNotificationIncubatorType, SCNotificationTopicType, 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 } from './types';
|
|
5
|
+
/**
|
|
6
|
+
* List all exports
|
|
7
|
+
*/
|
|
8
|
+
export { SCBroadcastMessageBannerType, SCBannerType, SCBroadcastMessageType, SCCustomAdvPosition, SCCustomAdvType, SCAuthTokenType, SCUserFields, SCUserType, SCUserSettingsType, SCUserStatus, SCUserBlockedSettingsType, SCUserModerationType, SCUserScoreVariation, SCUserScoreType, SCUserReputationType, SCUserAutocompleteType, SCUserCounterType, SCUserAvatarType, SCUserChangeEmailType, SCUserPermissionType, SCUserFollowedStatusType, SCUserFollowerStatusType, SCUserConnectionStatusType, SCUserHiddenStatusType, SCUserHiddenByStatusType, SCUserConnectionRequestType, SCUserEmailTokenType, SCTagType, SCCategoryType, SCCategoryAudienceType, SCCategoryFollowedStatusType, SCEmbedType, SCMediaType, SCChunkMediaType, SCContributionLocation, SCLocalityType, SCPollChoiceType, SCPollType, SCPollVoteType, SCFeedUnitType, SCFeedUnitActivityType, SCFeedObjectType, SCFeedPostType, SCFeedDiscussionType, SCFeedStatusType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCFeedUnseenCountType, SCFeedObjectSuspendedStatusType, SCFeedObjectHideStatusType, SCFeedObjectFollowingStatusType, 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, SCIncubatorType, SCIncubatorSubscriptionType, SCIncubatorStatusType, SCNotificationIncubatorType, SCNotificationUnseenCountType, 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, SCContributeStatusType, SCContributionStatus, SCPlatformType, SCAvatarType };
|
|
9
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"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"}
|
package/lib/esm/index.js
CHANGED
|
@@ -1,125 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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.SCUserModerationType = _types.SCUserModerationType;
|
|
19
|
-
exports.SCUserScoreVariation = _types.SCUserScoreVariation;
|
|
20
|
-
exports.SCUserScoreType = _types.SCUserScoreType;
|
|
21
|
-
exports.SCUserReputationType = _types.SCUserReputationType;
|
|
22
|
-
exports.SCUserAutocompleteType = _types.SCUserAutocompleteType;
|
|
23
|
-
exports.SCUserCounterType = _types.SCUserCounterType;
|
|
24
|
-
exports.SCUserChangeEmailType = _types.SCUserChangeEmailType;
|
|
25
|
-
exports.SCUserAvatarType = _types.SCUserAvatarType;
|
|
26
|
-
exports.SCUserPermissionType = _types.SCUserPermissionType;
|
|
27
|
-
exports.SCUserFollowedStatusType = _types.SCUserFollowedStatusType;
|
|
28
|
-
exports.SCUserFollowerStatusType = _types.SCUserFollowerStatusType;
|
|
29
|
-
exports.SCUserConnectionStatusType = _types.SCUserConnectionStatusType;
|
|
30
|
-
exports.SCUserHiddenStatusType = _types.SCUserHiddenStatusType;
|
|
31
|
-
exports.SCUserHiddenByStatusType = _types.SCUserHiddenByStatusType;
|
|
32
|
-
exports.SCUserConnectionRequestType = _types.SCUserConnectionRequestType;
|
|
33
|
-
exports.SCUserEmailTokenType = _types.SCUserEmailTokenType;
|
|
34
|
-
exports.SCTagType = _types.SCTagType;
|
|
35
|
-
exports.SCCategoryType = _types.SCCategoryType;
|
|
36
|
-
exports.SCCategoryAudienceType = _types.SCCategoryAudienceType;
|
|
37
|
-
exports.SCCategoryFollowedStatusType = _types.SCCategoryFollowedStatusType;
|
|
38
|
-
exports.SCEmbedType = _types.SCEmbedType;
|
|
39
|
-
exports.SCMediaType = _types.SCMediaType;
|
|
40
|
-
exports.SCChunkMediaType = _types.SCChunkMediaType;
|
|
41
|
-
exports.SCContributionLocation = _types.SCContributionLocation;
|
|
42
|
-
exports.SCLocalityType = _types.SCLocalityType;
|
|
43
|
-
exports.SCPollChoiceType = _types.SCPollChoiceType;
|
|
44
|
-
exports.SCPollType = _types.SCPollType;
|
|
45
|
-
exports.SCPollVoteType = _types.SCPollVoteType;
|
|
46
|
-
exports.SCFeedUnitType = _types.SCFeedUnitType;
|
|
47
|
-
exports.SCFeedUnitActivityType = _types.SCFeedUnitActivityType;
|
|
48
|
-
exports.SCFeedObjectType = _types.SCFeedObjectType;
|
|
49
|
-
exports.SCFeedPostType = _types.SCFeedPostType;
|
|
50
|
-
exports.SCFeedDiscussionType = _types.SCFeedDiscussionType;
|
|
51
|
-
exports.SCFeedStatusType = _types.SCFeedStatusType;
|
|
52
|
-
exports.SCFeedObjectTypologyType = _types.SCFeedObjectTypologyType;
|
|
53
|
-
exports.SCFeedUnitActivityTypologyType = _types.SCFeedUnitActivityTypologyType;
|
|
54
|
-
exports.SCFeedTypologyType = _types.SCFeedTypologyType;
|
|
55
|
-
exports.SCFeedUnseenCountType = _types.SCFeedUnseenCountType;
|
|
56
|
-
exports.SCFeedObjectSuspendedStatusType = _types.SCFeedObjectSuspendedStatusType;
|
|
57
|
-
exports.SCFeedObjectHideStatusType = _types.SCFeedObjectHideStatusType;
|
|
58
|
-
exports.SCFeedObjectFollowingStatusType = _types.SCFeedObjectFollowingStatusType;
|
|
59
|
-
exports.SCCommentTypologyType = _types.SCCommentTypologyType;
|
|
60
|
-
exports.SCCommentsOrderBy = _types.SCCommentsOrderBy;
|
|
61
|
-
exports.SCCommentType = _types.SCCommentType;
|
|
62
|
-
exports.SCPrivateMessageType = _types.SCPrivateMessageType;
|
|
63
|
-
exports.SCPrivateMessageStatusType = _types.SCPrivateMessageStatusType;
|
|
64
|
-
exports.SCPrivateMessageFileType = _types.SCPrivateMessageFileType;
|
|
65
|
-
exports.SCMessageFileType = _types.SCMessageFileType;
|
|
66
|
-
exports.SCPrivateMessageUploadMediaType = _types.SCPrivateMessageUploadMediaType;
|
|
67
|
-
exports.SCPrivateMessageUploadThumbnailType = _types.SCPrivateMessageUploadThumbnailType;
|
|
68
|
-
exports.SCPrivateMessageUploadMediaChunkType = _types.SCPrivateMessageUploadMediaChunkType;
|
|
69
|
-
exports.SCNotificationTypologyType = _types.SCNotificationTypologyType;
|
|
70
|
-
exports.SCNotificationAggregatedType = _types.SCNotificationAggregatedType;
|
|
71
|
-
exports.SCNotificationCommentType = _types.SCNotificationCommentType;
|
|
72
|
-
exports.SCNotificationConnectionAcceptType = _types.SCNotificationConnectionAcceptType;
|
|
73
|
-
exports.SCNotificationConnectionRequestType = _types.SCNotificationConnectionRequestType;
|
|
74
|
-
exports.SCNotificationPrivateMessageType = _types.SCNotificationPrivateMessageType;
|
|
75
|
-
exports.SCNotificationMentionType = _types.SCNotificationMentionType;
|
|
76
|
-
exports.SCNotificationType = _types.SCNotificationType;
|
|
77
|
-
exports.SCNotificationBlockedUserType = _types.SCNotificationBlockedUserType;
|
|
78
|
-
exports.SCNotificationCollapsedForType = _types.SCNotificationCollapsedForType;
|
|
79
|
-
exports.SCNotificationCustomNotificationType = _types.SCNotificationCustomNotificationType;
|
|
80
|
-
exports.SCNotificationDeletedForType = _types.SCNotificationDeletedForType;
|
|
81
|
-
exports.SCNotificationFollowType = _types.SCNotificationFollowType;
|
|
82
|
-
exports.SCNotificationKindlyNoticeType = _types.SCNotificationKindlyNoticeType;
|
|
83
|
-
exports.SCNotificationUnBlockedUserType = _types.SCNotificationUnBlockedUserType;
|
|
84
|
-
exports.SCNotificationUnDeletedForType = _types.SCNotificationUnDeletedForType;
|
|
85
|
-
exports.SCNotificationUserFollowType = _types.SCNotificationUserFollowType;
|
|
86
|
-
exports.SCNotificationVoteUpType = _types.SCNotificationVoteUpType;
|
|
87
|
-
exports.SCCustomNotificationType = _types.SCCustomNotificationType;
|
|
88
|
-
exports.SCNotificationUnseenCountType = _types.SCNotificationUnseenCountType;
|
|
89
|
-
exports.SCIncubatorType = _types.SCIncubatorType;
|
|
90
|
-
exports.SCIncubatorSubscriptionType = _types.SCIncubatorSubscriptionType;
|
|
91
|
-
exports.SCIncubatorStatusType = _types.SCIncubatorStatusType;
|
|
92
|
-
exports.SCNotificationIncubatorType = _types.SCNotificationIncubatorType;
|
|
93
|
-
exports.SCNotificationTopicType = _types.SCNotificationTopicType;
|
|
94
|
-
exports.SCPrizeType = _types.SCPrizeType;
|
|
95
|
-
exports.SCPrizeUserType = _types.SCPrizeUserType;
|
|
96
|
-
exports.SCPrizeUserStatusType = _types.SCPrizeUserStatusType;
|
|
97
|
-
exports.SCUserLoyaltyPointsType = _types.SCUserLoyaltyPointsType;
|
|
98
|
-
exports.SCWebhookEndpointType = _types.SCWebhookEndpointType;
|
|
99
|
-
exports.SCWebhookEndpointAttemptType = _types.SCWebhookEndpointAttemptType;
|
|
100
|
-
exports.SCWebhookEndpointSecretType = _types.SCWebhookEndpointSecretType;
|
|
101
|
-
exports.SCWebhookEventsType = _types.SCWebhookEventsType;
|
|
102
|
-
exports.SCVoteType = _types.SCVoteType;
|
|
103
|
-
exports.SCFlagType = _types.SCFlagType;
|
|
104
|
-
exports.SCFlagTypeEnum = _types.SCFlagTypeEnum;
|
|
105
|
-
exports.SCFlagModerationStatusType = _types.SCFlagModerationStatusType;
|
|
106
|
-
exports.SCCustomPageType = _types.SCCustomPageType;
|
|
107
|
-
exports.SCDataPortabilityType = _types.SCDataPortabilityType;
|
|
108
|
-
exports.SCPreferenceType = _types.SCPreferenceType;
|
|
109
|
-
exports.SCFeatureType = _types.SCFeatureType;
|
|
110
|
-
exports.SSOSignInType = _types.SSOSignInType;
|
|
111
|
-
exports.SSOSignUpType = _types.SSOSignUpType;
|
|
112
|
-
exports.SCLegalPageType = _types.SCLegalPageType;
|
|
113
|
-
exports.SCLegalPageAckType = _types.SCLegalPageAckType;
|
|
114
|
-
exports.SCContributionInsightCountersType = _types.SCContributionInsightCountersType;
|
|
115
|
-
exports.SCContributionInsightType = _types.SCContributionInsightType;
|
|
116
|
-
exports.SCEmbedInsightType = _types.SCEmbedInsightType;
|
|
117
|
-
exports.SCEmbedInsightCountersType = _types.SCEmbedInsightCountersType;
|
|
118
|
-
exports.SCUsersInsightType = _types.SCUsersInsightType;
|
|
119
|
-
exports.SCUsersInsightCountersType = _types.SCUsersInsightCountersType;
|
|
120
|
-
exports.SCFlaggedContributionType = _types.SCFlaggedContributionType;
|
|
121
|
-
exports.SCContributionType = _types.SCContributionType;
|
|
122
|
-
exports.SCContributionStatus = _types.SCContributionStatus;
|
|
123
|
-
exports.SCContributeStatusType = _types.SCContributeStatusType;
|
|
124
|
-
exports.SCPlatformType = _types.SCPlatformType;
|
|
125
|
-
exports.SCAvatarType = _types.SCAvatarType;
|
|
1
|
+
/**
|
|
2
|
+
* Types
|
|
3
|
+
*/
|
|
4
|
+
import { SCBroadcastMessageBannerType, SCCustomAdvPosition, SCUserFields, SCUserStatus, SCUserReputationType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCCommentTypologyType, SCCommentsOrderBy, SCPrivateMessageStatusType, SCMessageFileType, SCNotificationTypologyType, SCIncubatorStatusType, SCNotificationTopicType, SCPrizeUserStatusType, SCFlagTypeEnum, SCFlagModerationStatusType, SCContributionType, SCContributeStatusType } from './types';
|
|
5
|
+
/**
|
|
6
|
+
* List all exports
|
|
7
|
+
*/
|
|
8
|
+
export { SCBroadcastMessageBannerType, SCCustomAdvPosition, SCUserFields, SCUserStatus, SCUserReputationType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType, SCCommentTypologyType, SCCommentsOrderBy, SCPrivateMessageStatusType, SCMessageFileType, SCNotificationTypologyType, SCNotificationTopicType, SCIncubatorStatusType, SCPrizeUserStatusType, SCFlagTypeEnum, SCFlagModerationStatusType, SCContributionType, SCContributeStatusType };
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EACL,4BAA4B,EAI5B,mBAAmB,EAEnB,YAAY,EAGZ,YAAY,EAKZ,oBAAoB,EA+BpB,wBAAwB,EACxB,8BAA8B,EAC9B,kBAAkB,EAKlB,qBAAqB,EACrB,iBAAiB,EAGjB,0BAA0B,EAE1B,iBAAiB,EAIjB,0BAA0B,EAsB1B,qBAAqB,EAErB,uBAAuB,EAGvB,qBAAqB,EAQrB,cAAc,EACd,0BAA0B,EAgB1B,kBAAkB,EAElB,sBAAsB,EAGvB,MAAM,SAAS,CAAC;AAEjB;;GAEG;AACH,OAAO,EACL,4BAA4B,EAG5B,mBAAmB,EAGnB,YAAY,EAGZ,YAAY,EAKZ,oBAAoB,EA+BpB,wBAAwB,EACxB,8BAA8B,EAC9B,kBAAkB,EAKlB,qBAAqB,EACrB,iBAAiB,EAGjB,0BAA0B,EAE1B,iBAAiB,EAIjB,0BAA0B,EAmB1B,uBAAuB,EAGvB,qBAAqB,EAKrB,qBAAqB,EAQrB,cAAc,EACd,0BAA0B,EAgB1B,kBAAkB,EAClB,sBAAsB,EAIvB,CAAC"}
|
|
@@ -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"}
|
package/lib/esm/types/auth.js
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=auth.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../../src/types/auth.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SCAvatarType interface
|
|
3
|
+
*/
|
|
4
|
+
export interface SCAvatarType {
|
|
5
|
+
/**
|
|
6
|
+
* Id value identifying this avatar.
|
|
7
|
+
*/
|
|
8
|
+
id: number;
|
|
9
|
+
/**
|
|
10
|
+
* Is the primary avatar for the user?
|
|
11
|
+
*/
|
|
12
|
+
primary: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* The avatar url.
|
|
15
|
+
*/
|
|
16
|
+
avatar: string | null;
|
|
17
|
+
/**
|
|
18
|
+
* Upload datetime.
|
|
19
|
+
*/
|
|
20
|
+
date_uploaded: Date | string;
|
|
21
|
+
/**
|
|
22
|
+
* The id of the user for this avatar.
|
|
23
|
+
*/
|
|
24
|
+
user: number;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=avatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../src/types/avatar.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;OAEG;IACH,aAAa,EAAE,IAAI,GAAG,MAAM,CAAC;IAC7B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd"}
|
package/lib/esm/types/avatar.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar.js","sourceRoot":"","sources":["../../../src/types/avatar.ts"],"names":[],"mappings":"AAAA;;GAEG"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Define the various types of banners
|
|
3
|
+
*/
|
|
4
|
+
export declare enum SCBroadcastMessageBannerType {
|
|
5
|
+
HTML = "html_banner",
|
|
6
|
+
NOTIFICATION = "notification_banner"
|
|
7
|
+
}
|
|
8
|
+
export interface SCBannerType {
|
|
9
|
+
/**
|
|
10
|
+
* The type of the banner, based on it the behaviour of the render component must be different
|
|
11
|
+
*/
|
|
12
|
+
type_banner: SCBroadcastMessageBannerType;
|
|
13
|
+
/**
|
|
14
|
+
* The html to insert into the DOM
|
|
15
|
+
* This field is used when type_banner is html_banner
|
|
16
|
+
*/
|
|
17
|
+
html?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The title of the banner
|
|
20
|
+
*/
|
|
21
|
+
title?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The text of the banner
|
|
24
|
+
*/
|
|
25
|
+
body_text?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The text of the link associated to the banner
|
|
28
|
+
*/
|
|
29
|
+
link_text?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The action link of the banner
|
|
32
|
+
*/
|
|
33
|
+
link?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The image url to insert into the banner
|
|
36
|
+
*/
|
|
37
|
+
image?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The date the Banner was created
|
|
40
|
+
*/
|
|
41
|
+
added_at: Date;
|
|
42
|
+
/**
|
|
43
|
+
* If true tell to open the banner in new tab
|
|
44
|
+
*/
|
|
45
|
+
open_in_new_tab: boolean;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Interface SCBroadcastMessageType.
|
|
49
|
+
* Broadcast Message object
|
|
50
|
+
*/
|
|
51
|
+
export interface SCBroadcastMessageType {
|
|
52
|
+
/**
|
|
53
|
+
* The ID of the category.
|
|
54
|
+
*/
|
|
55
|
+
id: number;
|
|
56
|
+
/**
|
|
57
|
+
* The Banner associated to the Broadcast messages
|
|
58
|
+
*/
|
|
59
|
+
banner: SCBannerType;
|
|
60
|
+
/**
|
|
61
|
+
* The date the BroadcastMessage was added
|
|
62
|
+
*/
|
|
63
|
+
added_at: Date;
|
|
64
|
+
/**
|
|
65
|
+
* The date the BroadcastMessage was disposed
|
|
66
|
+
*/
|
|
67
|
+
disposed_at: Date | null;
|
|
68
|
+
/**
|
|
69
|
+
* The date the BroadcastMessage was viewed the first time
|
|
70
|
+
*/
|
|
71
|
+
viewed_at: Date | null;
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=broadcastMessage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"broadcastMessage.d.ts","sourceRoot":"","sources":["../../../src/types/broadcastMessage.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,4BAA4B;IACtC,IAAI,gBAAgB;IACpB,YAAY,wBAAwB;CACrC;AAED,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,WAAW,EAAE,4BAA4B,CAAC;IAE1C;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC;IACf;;OAEG;IACH,eAAe,EAAE,OAAO,CAAC;CAC1B;AAED;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,MAAM,EAAE,YAAY,CAAC;IAErB;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC;IAEf;;OAEG;IACH,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;IAEzB;;OAEG;IACH,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;CACxB"}
|
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.SCBroadcastMessageBannerType = void 0;
|
|
5
|
-
|
|
6
1
|
/**
|
|
7
2
|
* Define the various types of banners
|
|
8
3
|
*/
|
|
9
|
-
|
|
10
|
-
exports.SCBroadcastMessageBannerType = SCBroadcastMessageBannerType;
|
|
11
|
-
|
|
4
|
+
export var SCBroadcastMessageBannerType;
|
|
12
5
|
(function (SCBroadcastMessageBannerType) {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
})(SCBroadcastMessageBannerType || (
|
|
6
|
+
SCBroadcastMessageBannerType["HTML"] = "html_banner";
|
|
7
|
+
SCBroadcastMessageBannerType["NOTIFICATION"] = "notification_banner";
|
|
8
|
+
})(SCBroadcastMessageBannerType || (SCBroadcastMessageBannerType = {}));
|
|
9
|
+
//# sourceMappingURL=broadcastMessage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"broadcastMessage.js","sourceRoot":"","sources":["../../../src/types/broadcastMessage.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAN,IAAY,4BAGX;AAHD,WAAY,4BAA4B;IACtC,oDAAoB,CAAA;IACpB,oEAAoC,CAAA;AACtC,CAAC,EAHW,4BAA4B,KAA5B,4BAA4B,QAGvC"}
|