@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
|
@@ -0,0 +1 @@
|
|
|
1
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E,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"}
|
|
@@ -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,53 @@
|
|
|
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
|
+
//# 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"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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 } from './user';
|
|
5
|
+
import { SCTagType } from './tag';
|
|
6
|
+
import { SCCategoryType } from './category';
|
|
7
|
+
import { SCEmbedType } from './embed';
|
|
8
|
+
import { SCMediaType } from './media';
|
|
9
|
+
import { SCContributionLocation, SCLocalityType } from './location';
|
|
10
|
+
import { SCPollChoiceType, SCPollType } from './poll';
|
|
11
|
+
import { SCCommentType, SCCommentTypologyType, SCCommentsOrderBy } from './comment';
|
|
12
|
+
import { SCPrivateMessageType, SCPrivateMessageStatusType, SCPrivateMessageFileType, SCMessageFileType } from './privateMessage';
|
|
13
|
+
import { SCIncubatorType } from './incubator';
|
|
14
|
+
import { SCCustomNotificationType } from './customNotification';
|
|
15
|
+
import { SCPrizeType } from './prize';
|
|
16
|
+
import { SCFeedUnitType, SCFeedUnitActivityType, SCFeedObjectType, SCFeedPostType, SCFeedDiscussionType, SCFeedStatusType, SCFeedObjectTypologyType, SCFeedUnitActivityTypologyType, SCFeedTypologyType } from './feed';
|
|
17
|
+
import { SCNotificationTypologyType, SCNotificationAggregatedType, SCNotificationCommentType, SCNotificationConnectionAcceptType, SCNotificationConnectionRequestType, SCNotificationPrivateMessageType, SCNotificationMentionType, SCNotificationType, SCNotificationBlockedUserType, SCNotificationCollapsedForType, SCNotificationCustomNotificationType, SCNotificationDeletedForType, SCNotificationFollowType, SCNotificationKindlyNoticeType, SCNotificationUnBlockedUserType, SCNotificationUnDeletedForType, SCNotificationUserFollowType, SCNotificationVoteUpType, SCNotificationIncubatorType, SCNotificationTopicType } from './notification';
|
|
18
|
+
/**
|
|
19
|
+
* Exports all types
|
|
20
|
+
*/
|
|
21
|
+
export { SCBannerType, SCBroadcastMessageBannerType, SCBroadcastMessageType, SCAuthTokenType, SCUserFields, SCUserType, SCUserSettingsType, SCUserStatus, SCUserBlockedSettingsType, SCTagType, SCCategoryType, SCCustomAdvPosition, SCCustomAdvType, 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 };
|
|
22
|
+
//# 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,EAAC,UAAU,EAAE,yBAAyB,EAAE,YAAY,EAAE,kBAAkB,EAAE,YAAY,EAAC,MAAM,QAAQ,CAAC;AAC7G,OAAO,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAChC,OAAO,EAAC,cAAc,EAAC,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAC,WAA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W,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"}
|
|
@@ -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,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface SCContributionLocation.
|
|
3
|
+
* Location Schema.
|
|
4
|
+
*/
|
|
5
|
+
export interface SCContributionLocation {
|
|
6
|
+
/**
|
|
7
|
+
* location
|
|
8
|
+
*/
|
|
9
|
+
location: string;
|
|
10
|
+
/**
|
|
11
|
+
* Latitude
|
|
12
|
+
*/
|
|
13
|
+
lat?: number;
|
|
14
|
+
/**
|
|
15
|
+
* Longitude
|
|
16
|
+
*/
|
|
17
|
+
lon?: number;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Interface SCLocalityType.
|
|
21
|
+
* Locality Schema.
|
|
22
|
+
*/
|
|
23
|
+
export interface SCLocalityType {
|
|
24
|
+
/**
|
|
25
|
+
* full_address
|
|
26
|
+
*/
|
|
27
|
+
full_address: string;
|
|
28
|
+
/**
|
|
29
|
+
* country
|
|
30
|
+
*/
|
|
31
|
+
country: string;
|
|
32
|
+
/**
|
|
33
|
+
* Latitude
|
|
34
|
+
*/
|
|
35
|
+
lat: number;
|
|
36
|
+
/**
|
|
37
|
+
* Longitude
|
|
38
|
+
*/
|
|
39
|
+
lng: number;
|
|
40
|
+
/**
|
|
41
|
+
* postal_code
|
|
42
|
+
*/
|
|
43
|
+
postal_code: string;
|
|
44
|
+
/**
|
|
45
|
+
* province
|
|
46
|
+
*/
|
|
47
|
+
province: string;
|
|
48
|
+
/**
|
|
49
|
+
* province_short
|
|
50
|
+
*/
|
|
51
|
+
province_short: string;
|
|
52
|
+
/**
|
|
53
|
+
* region
|
|
54
|
+
*/
|
|
55
|
+
region?: string;
|
|
56
|
+
/**
|
|
57
|
+
* town
|
|
58
|
+
*/
|
|
59
|
+
town: string;
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=location.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"location.d.ts","sourceRoot":"","sources":["../../../src/types/location.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { SCEmbedType } from './embed';
|
|
2
|
+
/**
|
|
3
|
+
* Interface SCMediaType.
|
|
4
|
+
* Media Schema.
|
|
5
|
+
*/
|
|
6
|
+
export interface SCMediaType {
|
|
7
|
+
/**
|
|
8
|
+
* Id of the media
|
|
9
|
+
*/
|
|
10
|
+
id: number;
|
|
11
|
+
/**
|
|
12
|
+
* Added at
|
|
13
|
+
*/
|
|
14
|
+
added_at: Date;
|
|
15
|
+
/**
|
|
16
|
+
* Media type
|
|
17
|
+
*/
|
|
18
|
+
type: string;
|
|
19
|
+
/**
|
|
20
|
+
* Title
|
|
21
|
+
*/
|
|
22
|
+
title?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Title
|
|
25
|
+
*/
|
|
26
|
+
description?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Media Url
|
|
29
|
+
*/
|
|
30
|
+
url?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Media image
|
|
33
|
+
*/
|
|
34
|
+
image?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Media image width
|
|
37
|
+
*/
|
|
38
|
+
image_width?: number;
|
|
39
|
+
/**
|
|
40
|
+
* Media image height
|
|
41
|
+
*/
|
|
42
|
+
image_height?: number;
|
|
43
|
+
/**
|
|
44
|
+
* Order in the list of medias
|
|
45
|
+
*/
|
|
46
|
+
order?: number;
|
|
47
|
+
/**
|
|
48
|
+
* Embed associated
|
|
49
|
+
*/
|
|
50
|
+
embed?: SCEmbedType;
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=media.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../../src/types/media.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AAEpC;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC;IAEf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB"}
|