@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
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { SCTagType } from './tag';
|
|
2
|
+
/**
|
|
3
|
+
* Interface SCCategoryType.
|
|
4
|
+
* Category Schema.
|
|
5
|
+
*/
|
|
6
|
+
export interface SCCategoryType {
|
|
7
|
+
/**
|
|
8
|
+
* The ID of the category.
|
|
9
|
+
*/
|
|
10
|
+
id: number;
|
|
11
|
+
/**
|
|
12
|
+
* The manual ordering number of the category.
|
|
13
|
+
*/
|
|
14
|
+
order?: number;
|
|
15
|
+
/**
|
|
16
|
+
* The name of the category.
|
|
17
|
+
*/
|
|
18
|
+
name: string;
|
|
19
|
+
/**
|
|
20
|
+
* The synonyms/aliases of the category.
|
|
21
|
+
*/
|
|
22
|
+
name_synonyms?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The slug of the category.
|
|
25
|
+
*/
|
|
26
|
+
slug?: string;
|
|
27
|
+
/**
|
|
28
|
+
* The slogan of the category.
|
|
29
|
+
*/
|
|
30
|
+
slogan?: string;
|
|
31
|
+
/**
|
|
32
|
+
* The category's html text.
|
|
33
|
+
*/
|
|
34
|
+
html_info?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The category's html meta tag.
|
|
37
|
+
*/
|
|
38
|
+
seo_title?: string;
|
|
39
|
+
/**
|
|
40
|
+
* The description for category's html meta tag.
|
|
41
|
+
*/
|
|
42
|
+
seo_description?: string;
|
|
43
|
+
/**
|
|
44
|
+
* The category's auto follow behaviour.
|
|
45
|
+
*/
|
|
46
|
+
auto_follow?: string;
|
|
47
|
+
/**
|
|
48
|
+
* The category status.
|
|
49
|
+
*/
|
|
50
|
+
active?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* The category status.
|
|
53
|
+
*/
|
|
54
|
+
deleted?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* The category's image with min size.
|
|
57
|
+
*/
|
|
58
|
+
image_original?: string;
|
|
59
|
+
/**
|
|
60
|
+
* The category's auto generated bigger size.
|
|
61
|
+
*/
|
|
62
|
+
image_bigger?: string;
|
|
63
|
+
/**
|
|
64
|
+
* The category's auto generated big size.
|
|
65
|
+
*/
|
|
66
|
+
image_big?: string;
|
|
67
|
+
/**
|
|
68
|
+
* The category's auto generated medium size.
|
|
69
|
+
*/
|
|
70
|
+
image_medium?: string;
|
|
71
|
+
/**
|
|
72
|
+
* The category's auto generated small size.
|
|
73
|
+
*/
|
|
74
|
+
image_small?: string;
|
|
75
|
+
/**
|
|
76
|
+
* The landscape format image for category hub.
|
|
77
|
+
*/
|
|
78
|
+
emotional_image_original?: string;
|
|
79
|
+
/**
|
|
80
|
+
* The css background-position.
|
|
81
|
+
*/
|
|
82
|
+
emotional_image_position?: number;
|
|
83
|
+
/**
|
|
84
|
+
* The last modify (datetime)
|
|
85
|
+
*/
|
|
86
|
+
lastmod_datetime?: string;
|
|
87
|
+
/**
|
|
88
|
+
* The order of the category feed.
|
|
89
|
+
*/
|
|
90
|
+
stream_order_by?: string;
|
|
91
|
+
/**
|
|
92
|
+
* The category's tags.
|
|
93
|
+
*/
|
|
94
|
+
tags?: Array<SCTagType>;
|
|
95
|
+
/**
|
|
96
|
+
* Followers counter for the category.
|
|
97
|
+
*/
|
|
98
|
+
followers_counter?: number;
|
|
99
|
+
}
|
|
100
|
+
export interface SCCategoryAudienceType {
|
|
101
|
+
category_audience: number;
|
|
102
|
+
connections_audience: number;
|
|
103
|
+
}
|
|
104
|
+
export interface SCCategoryFollowedStatusType {
|
|
105
|
+
is_followed: boolean;
|
|
106
|
+
}
|
|
107
|
+
//# sourceMappingURL=category.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"category.d.ts","sourceRoot":"","sources":["../../../src/types/category.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAEhC;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAElC;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAElC;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IACxB;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,sBAAsB;IACrC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,oBAAoB,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,4BAA4B;IAC3C,WAAW,EAAE,OAAO,CAAC;CACtB"}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=category.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"category.js","sourceRoot":"","sources":["../../../src/types/category.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { SCUserType } from './user';
|
|
2
|
+
/**
|
|
3
|
+
* Typology Comment
|
|
4
|
+
*/
|
|
5
|
+
export declare const SCCommentTypologyType = "comment";
|
|
6
|
+
/**
|
|
7
|
+
* Interface SCCommentType.
|
|
8
|
+
* Comment Schema.
|
|
9
|
+
*/
|
|
10
|
+
export interface SCCommentType {
|
|
11
|
+
/**
|
|
12
|
+
* Id of the comment
|
|
13
|
+
*/
|
|
14
|
+
id: number;
|
|
15
|
+
/**
|
|
16
|
+
* Id of the Discussion object
|
|
17
|
+
*/
|
|
18
|
+
discussion?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Id of the Post object
|
|
21
|
+
*/
|
|
22
|
+
post?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Id of the Status object
|
|
25
|
+
*/
|
|
26
|
+
status?: number;
|
|
27
|
+
/**
|
|
28
|
+
* User who commented
|
|
29
|
+
*/
|
|
30
|
+
author?: SCUserType;
|
|
31
|
+
/**
|
|
32
|
+
* Added at
|
|
33
|
+
*/
|
|
34
|
+
added_at: Date;
|
|
35
|
+
/**
|
|
36
|
+
* Html of the comment
|
|
37
|
+
*/
|
|
38
|
+
html: string;
|
|
39
|
+
/**
|
|
40
|
+
* Summary
|
|
41
|
+
*/
|
|
42
|
+
summary: string;
|
|
43
|
+
/**
|
|
44
|
+
* If the comments is deleted
|
|
45
|
+
*/
|
|
46
|
+
deleted: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* If the comments is hidden
|
|
49
|
+
*/
|
|
50
|
+
collapsed: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Id of the parent
|
|
53
|
+
*/
|
|
54
|
+
parent: number;
|
|
55
|
+
/**
|
|
56
|
+
* Id of the reply Comment, it must have the same parent
|
|
57
|
+
*/
|
|
58
|
+
in_reply_to?: number;
|
|
59
|
+
/**
|
|
60
|
+
* Number of votes
|
|
61
|
+
*/
|
|
62
|
+
vote_count: number;
|
|
63
|
+
/**
|
|
64
|
+
* True if the logged user has already voted the comment
|
|
65
|
+
*/
|
|
66
|
+
voted: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Number of flags
|
|
69
|
+
*/
|
|
70
|
+
flag_count: number;
|
|
71
|
+
/**
|
|
72
|
+
* Number of comments
|
|
73
|
+
*/
|
|
74
|
+
comment_count: number;
|
|
75
|
+
/**
|
|
76
|
+
* Text of the comment
|
|
77
|
+
*/
|
|
78
|
+
text: string;
|
|
79
|
+
/**
|
|
80
|
+
* Comments childs
|
|
81
|
+
*/
|
|
82
|
+
latest_comments?: SCCommentType[];
|
|
83
|
+
/**
|
|
84
|
+
* Type: comment
|
|
85
|
+
*/
|
|
86
|
+
type: string;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Type of comments ordering
|
|
90
|
+
*/
|
|
91
|
+
export declare enum SCCommentsOrderBy {
|
|
92
|
+
ADDED_AT_DESC = "-added_at",
|
|
93
|
+
ADDED_AT_ASC = "added_at",
|
|
94
|
+
CONNECTION_DESC = "-connection",
|
|
95
|
+
CONNECTION_ASC = "connection"
|
|
96
|
+
}
|
|
97
|
+
//# sourceMappingURL=comment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../../src/types/comment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,QAAQ,CAAC;AAElC;;GAEG;AACH,eAAO,MAAM,qBAAqB,YAAY,CAAC;AAE/C;;;GAGG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE,IAAI,CAAC;IAEf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,KAAK,EAAE,OAAO,CAAC;IAEf;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,eAAe,CAAC,EAAE,aAAa,EAAE,CAAC;IAElC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,oBAAY,iBAAiB;IAC3B,aAAa,cAAc;IAC3B,YAAY,aAAa;IACzB,eAAe,gBAAgB;IAC/B,cAAc,eAAe;CAC9B"}
|
package/lib/esm/types/comment.js
CHANGED
|
@@ -1,28 +1,15 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.SCCommentsOrderBy = exports.SCCommentTypologyType = void 0;
|
|
5
|
-
|
|
6
1
|
/**
|
|
7
2
|
* Typology Comment
|
|
8
3
|
*/
|
|
9
|
-
const SCCommentTypologyType = 'comment';
|
|
10
|
-
/**
|
|
11
|
-
* Interface SCCommentType.
|
|
12
|
-
* Comment Schema.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
exports.SCCommentTypologyType = SCCommentTypologyType;
|
|
16
|
-
|
|
4
|
+
export const SCCommentTypologyType = 'comment';
|
|
17
5
|
/**
|
|
18
6
|
* Type of comments ordering
|
|
19
7
|
*/
|
|
20
|
-
|
|
21
|
-
exports.SCCommentsOrderBy = SCCommentsOrderBy;
|
|
22
|
-
|
|
8
|
+
export var SCCommentsOrderBy;
|
|
23
9
|
(function (SCCommentsOrderBy) {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
})(SCCommentsOrderBy || (
|
|
10
|
+
SCCommentsOrderBy["ADDED_AT_DESC"] = "-added_at";
|
|
11
|
+
SCCommentsOrderBy["ADDED_AT_ASC"] = "added_at";
|
|
12
|
+
SCCommentsOrderBy["CONNECTION_DESC"] = "-connection";
|
|
13
|
+
SCCommentsOrderBy["CONNECTION_ASC"] = "connection";
|
|
14
|
+
})(SCCommentsOrderBy || (SCCommentsOrderBy = {}));
|
|
15
|
+
//# sourceMappingURL=comment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"comment.js","sourceRoot":"","sources":["../../../src/types/comment.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,SAAS,CAAC;AAuG/C;;GAEG;AACH,MAAM,CAAN,IAAY,iBAKX;AALD,WAAY,iBAAiB;IAC3B,gDAA2B,CAAA;IAC3B,8CAAyB,CAAA;IACzB,oDAA+B,CAAA;IAC/B,kDAA6B,CAAA;AAC/B,CAAC,EALW,iBAAiB,KAAjB,iBAAiB,QAK5B"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { SCFlagModerationStatusType, SCFlagTypeEnum } from './flag';
|
|
2
|
+
import { SCUserType } from './user';
|
|
3
|
+
import { SCFeedObjectType } from './feed';
|
|
4
|
+
import { SCCommentType } from './comment';
|
|
5
|
+
/**
|
|
6
|
+
* SCFlaggedContributionType
|
|
7
|
+
*/
|
|
8
|
+
export interface SCFlaggedContributionType {
|
|
9
|
+
/**
|
|
10
|
+
* The feed obj type(discussion, post, status)
|
|
11
|
+
*/
|
|
12
|
+
contribution_type: SCContributionType;
|
|
13
|
+
/**
|
|
14
|
+
* The feed obj
|
|
15
|
+
*/
|
|
16
|
+
contribution: SCFeedObjectType | SCCommentType;
|
|
17
|
+
/**
|
|
18
|
+
* Date time of the last flag
|
|
19
|
+
*/
|
|
20
|
+
last_flagged_at: Date | string;
|
|
21
|
+
/**
|
|
22
|
+
* Moderation status
|
|
23
|
+
*/
|
|
24
|
+
moderation_status: SCFlagModerationStatusType;
|
|
25
|
+
/**
|
|
26
|
+
* Cause of the moderation
|
|
27
|
+
*/
|
|
28
|
+
moderation_type: SCFlagTypeEnum;
|
|
29
|
+
/**
|
|
30
|
+
* The moderator
|
|
31
|
+
*/
|
|
32
|
+
moderation_by: SCUserType;
|
|
33
|
+
/**
|
|
34
|
+
* Date time of the moderation
|
|
35
|
+
*/
|
|
36
|
+
moderation_at: Date | string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Contribute types
|
|
40
|
+
*/
|
|
41
|
+
export declare enum SCContributionType {
|
|
42
|
+
DISCUSSION = "discussion",
|
|
43
|
+
POST = "post",
|
|
44
|
+
STATUS = "status",
|
|
45
|
+
COMMENT = "comment"
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
export interface SCContributionStatus {
|
|
51
|
+
status: SCContributeStatusType;
|
|
52
|
+
flag_type: SCFlagTypeEnum;
|
|
53
|
+
flag_type_description: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Contribute status types
|
|
57
|
+
*/
|
|
58
|
+
export declare enum SCContributeStatusType {
|
|
59
|
+
OPEN = "open",
|
|
60
|
+
IGNORED = "ignored",
|
|
61
|
+
HIDDEN = "hidden",
|
|
62
|
+
DELETED = "deleted"
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=contribution.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contribution.d.ts","sourceRoot":"","sources":["../../../src/types/contribution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,0BAA0B,EAAE,cAAc,EAAC,MAAM,QAAQ,CAAC;AAClE,OAAO,EAAC,UAAU,EAAC,MAAM,QAAQ,CAAC;AAClC,OAAO,EAAC,gBAAgB,EAAC,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAC,aAAa,EAAC,MAAM,WAAW,CAAC;AAExC;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,iBAAiB,EAAE,kBAAkB,CAAC;IACtC;;OAEG;IACH,YAAY,EAAE,gBAAgB,GAAG,aAAa,CAAC;IAC/C;;OAEG;IACH,eAAe,EAAE,IAAI,GAAG,MAAM,CAAC;IAC/B;;OAEG;IACH,iBAAiB,EAAE,0BAA0B,CAAC;IAC9C;;OAEG;IACH,eAAe,EAAE,cAAc,CAAC;IAChC;;OAEG;IACH,aAAa,EAAE,UAAU,CAAC;IAC1B;;OAEG;IACH,aAAa,EAAE,IAAI,GAAG,MAAM,CAAC;CAC9B;AAED;;GAEG;AACH,oBAAY,kBAAkB;IAC5B,UAAU,eAAe;IACzB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,sBAAsB,CAAC;IAC/B,SAAS,EAAE,cAAc,CAAC;IAC1B,qBAAqB,EAAE,MAAM,CAAC;CAC/B;AAED;;GAEG;AACH,oBAAY,sBAAsB;IAChC,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,OAAO,YAAY;CACpB"}
|
|
@@ -1,38 +1,21 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.SCContributionType = exports.SCContributeStatusType = void 0;
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* SCFlaggedContributionType
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
1
|
/**
|
|
11
2
|
* Contribute types
|
|
12
3
|
*/
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
exports.SCContributionType = SCContributionType;
|
|
19
|
-
|
|
4
|
+
export var SCContributionType;
|
|
20
5
|
(function (SCContributionType) {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
})(SCContributionType || (
|
|
26
|
-
|
|
6
|
+
SCContributionType["DISCUSSION"] = "discussion";
|
|
7
|
+
SCContributionType["POST"] = "post";
|
|
8
|
+
SCContributionType["STATUS"] = "status";
|
|
9
|
+
SCContributionType["COMMENT"] = "comment";
|
|
10
|
+
})(SCContributionType || (SCContributionType = {}));
|
|
27
11
|
/**
|
|
28
12
|
* Contribute status types
|
|
29
13
|
*/
|
|
30
|
-
|
|
31
|
-
exports.SCContributeStatusType = SCContributeStatusType;
|
|
32
|
-
|
|
14
|
+
export var SCContributeStatusType;
|
|
33
15
|
(function (SCContributeStatusType) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
})(SCContributeStatusType || (
|
|
16
|
+
SCContributeStatusType["OPEN"] = "open";
|
|
17
|
+
SCContributeStatusType["IGNORED"] = "ignored";
|
|
18
|
+
SCContributeStatusType["HIDDEN"] = "hidden";
|
|
19
|
+
SCContributeStatusType["DELETED"] = "deleted";
|
|
20
|
+
})(SCContributeStatusType || (SCContributeStatusType = {}));
|
|
21
|
+
//# sourceMappingURL=contribution.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contribution.js","sourceRoot":"","sources":["../../../src/types/contribution.ts"],"names":[],"mappings":"AAuCA;;GAEG;AACH,MAAM,CAAN,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,+CAAyB,CAAA;IACzB,mCAAa,CAAA;IACb,uCAAiB,CAAA;IACjB,yCAAmB,CAAA;AACrB,CAAC,EALW,kBAAkB,KAAlB,kBAAkB,QAK7B;AAWD;;GAEG;AACH,MAAM,CAAN,IAAY,sBAKX;AALD,WAAY,sBAAsB;IAChC,uCAAa,CAAA;IACb,6CAAmB,CAAA;IACnB,2CAAiB,CAAA;IACjB,6CAAmB,CAAA;AACrB,CAAC,EALW,sBAAsB,KAAtB,sBAAsB,QAKjC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare enum SCCustomAdvPosition {
|
|
2
|
+
POSITION_BELOW_TOPBAR = "BELOW_TOPBAR",
|
|
3
|
+
POSITION_BELOW_FEED_OBJECT = "BELOW_THE_POST",
|
|
4
|
+
POSITION_ABOVE_FOOTER_BAR = "ABOVE_FOOTER_BAR",
|
|
5
|
+
POSITION_FOOTER_STICKY = "FOOTER_STICKY",
|
|
6
|
+
POSITION_IN_COMMENTS = "IN_POST_COMMENTS",
|
|
7
|
+
POSITION_RELATED_POSTS_COLUMN = "RELATED_POSTS_COLUMN",
|
|
8
|
+
POSITION_FEED_SIDEBAR = "TOOLS_COLUMN",
|
|
9
|
+
POSITION_FEED = "IN_STREAM"
|
|
10
|
+
}
|
|
11
|
+
export interface SCCustomAdvType {
|
|
12
|
+
/**
|
|
13
|
+
* Unique integer value identifying this adv
|
|
14
|
+
*/
|
|
15
|
+
id: number;
|
|
16
|
+
/**
|
|
17
|
+
* A string code representing the display position of the adv
|
|
18
|
+
*/
|
|
19
|
+
position: SCCustomAdvPosition;
|
|
20
|
+
/**
|
|
21
|
+
* The title of the adv
|
|
22
|
+
*/
|
|
23
|
+
title: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* The link/url of the adv
|
|
26
|
+
*/
|
|
27
|
+
link: string | null;
|
|
28
|
+
/**
|
|
29
|
+
* An image banner for the adv
|
|
30
|
+
*/
|
|
31
|
+
image: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* Html/js embeddable code
|
|
34
|
+
*/
|
|
35
|
+
embed_code: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* A flag to activate or deactivate this adv
|
|
38
|
+
*/
|
|
39
|
+
active: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* datetime of creation
|
|
42
|
+
*/
|
|
43
|
+
created_at: string;
|
|
44
|
+
/**
|
|
45
|
+
* last modify datetime
|
|
46
|
+
*/
|
|
47
|
+
lastmod_datetime: string;
|
|
48
|
+
/**
|
|
49
|
+
* The id of the category connected to this adv
|
|
50
|
+
*/
|
|
51
|
+
category: number | null;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=customAdv.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customAdv.d.ts","sourceRoot":"","sources":["../../../src/types/customAdv.ts"],"names":[],"mappings":"AAAA,oBAAY,mBAAmB;IAC7B,qBAAqB,iBAAiB;IACtC,0BAA0B,mBAAmB;IAC7C,yBAAyB,qBAAqB;IAC9C,sBAAsB,kBAAkB;IACxC,oBAAoB,qBAAqB;IACzC,6BAA6B,yBAAyB;IACtD,qBAAqB,iBAAiB;IACtC,aAAa,cAAc;CAC5B;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,QAAQ,EAAE,mBAAmB,CAAC;IAE9B;;OAEG;IACH,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB;;OAEG;IACH,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAErB;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAE1B;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB"}
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
4
|
-
exports.SCCustomAdvPosition = void 0;
|
|
5
|
-
let SCCustomAdvPosition;
|
|
6
|
-
exports.SCCustomAdvPosition = SCCustomAdvPosition;
|
|
7
|
-
|
|
1
|
+
export var SCCustomAdvPosition;
|
|
8
2
|
(function (SCCustomAdvPosition) {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
})(SCCustomAdvPosition || (
|
|
3
|
+
SCCustomAdvPosition["POSITION_BELOW_TOPBAR"] = "BELOW_TOPBAR";
|
|
4
|
+
SCCustomAdvPosition["POSITION_BELOW_FEED_OBJECT"] = "BELOW_THE_POST";
|
|
5
|
+
SCCustomAdvPosition["POSITION_ABOVE_FOOTER_BAR"] = "ABOVE_FOOTER_BAR";
|
|
6
|
+
SCCustomAdvPosition["POSITION_FOOTER_STICKY"] = "FOOTER_STICKY";
|
|
7
|
+
SCCustomAdvPosition["POSITION_IN_COMMENTS"] = "IN_POST_COMMENTS";
|
|
8
|
+
SCCustomAdvPosition["POSITION_RELATED_POSTS_COLUMN"] = "RELATED_POSTS_COLUMN";
|
|
9
|
+
SCCustomAdvPosition["POSITION_FEED_SIDEBAR"] = "TOOLS_COLUMN";
|
|
10
|
+
SCCustomAdvPosition["POSITION_FEED"] = "IN_STREAM";
|
|
11
|
+
})(SCCustomAdvPosition || (SCCustomAdvPosition = {}));
|
|
12
|
+
//# sourceMappingURL=customAdv.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customAdv.js","sourceRoot":"","sources":["../../../src/types/customAdv.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC7B,6DAAsC,CAAA;IACtC,oEAA6C,CAAA;IAC7C,qEAA8C,CAAA;IAC9C,+DAAwC,CAAA;IACxC,gEAAyC,CAAA;IACzC,6EAAsD,CAAA;IACtD,6DAAsC,CAAA;IACtC,kDAA2B,CAAA;AAC7B,CAAC,EATW,mBAAmB,KAAnB,mBAAmB,QAS9B"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { SCEmbedType } from './index';
|
|
2
|
+
/**
|
|
3
|
+
* Interface SCCustomNotificationType.
|
|
4
|
+
* Custom Notification Schema.
|
|
5
|
+
*/
|
|
6
|
+
export interface SCCustomNotificationType {
|
|
7
|
+
/**
|
|
8
|
+
* Id of the custom notification
|
|
9
|
+
*/
|
|
10
|
+
id: number;
|
|
11
|
+
/**
|
|
12
|
+
* Custom type notification
|
|
13
|
+
*/
|
|
14
|
+
type: string;
|
|
15
|
+
/**
|
|
16
|
+
* Embed object if exist
|
|
17
|
+
*/
|
|
18
|
+
embed?: SCEmbedType;
|
|
19
|
+
/**
|
|
20
|
+
* Notification title
|
|
21
|
+
*/
|
|
22
|
+
title?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Notification description
|
|
25
|
+
*/
|
|
26
|
+
description?: string;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=customNotification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customNotification.d.ts","sourceRoot":"","sources":["../../../src/types/customNotification.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AAEpC;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,WAAW,CAAC;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=customNotification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customNotification.js","sourceRoot":"","sources":["../../../src/types/customNotification.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SCCustomPageType interface
|
|
3
|
+
*/
|
|
4
|
+
export interface SCCustomPageType {
|
|
5
|
+
id?: number;
|
|
6
|
+
slug?: string;
|
|
7
|
+
label: string;
|
|
8
|
+
title: string;
|
|
9
|
+
alternative_url?: string;
|
|
10
|
+
html_body?: string;
|
|
11
|
+
visible_in_menu?: boolean;
|
|
12
|
+
order?: number;
|
|
13
|
+
created_at?: Date | string;
|
|
14
|
+
lastmod_datetime?: Date | string;
|
|
15
|
+
active?: boolean;
|
|
16
|
+
created_by?: number;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=customPage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customPage.d.ts","sourceRoot":"","sources":["../../../src/types/customPage.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=customPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customPage.js","sourceRoot":"","sources":["../../../src/types/customPage.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SCDataPortabilityType interface
|
|
3
|
+
*/
|
|
4
|
+
export interface SCDataPortabilityType {
|
|
5
|
+
/**
|
|
6
|
+
* Is still processing your data?
|
|
7
|
+
*/
|
|
8
|
+
computing?: true;
|
|
9
|
+
/**
|
|
10
|
+
* Has already sent the email?
|
|
11
|
+
*/
|
|
12
|
+
send_email?: true;
|
|
13
|
+
/**
|
|
14
|
+
* Request date time
|
|
15
|
+
*/
|
|
16
|
+
requested_at?: Date | string;
|
|
17
|
+
/**
|
|
18
|
+
* Generation date time
|
|
19
|
+
*/
|
|
20
|
+
generated_at?: Date | string;
|
|
21
|
+
/**
|
|
22
|
+
* Email sent date time
|
|
23
|
+
*/
|
|
24
|
+
email_sent_at?: Date | string;
|
|
25
|
+
/**
|
|
26
|
+
* Download date time
|
|
27
|
+
*/
|
|
28
|
+
downloaded_at?: Date | string;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=dataPortability.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataPortability.d.ts","sourceRoot":"","sources":["../../../src/types/dataPortability.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB;;OAEG;IACH,YAAY,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC7B;;OAEG;IACH,YAAY,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC7B;;OAEG;IACH,aAAa,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;IAC9B;;OAEG;IACH,aAAa,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;CAC/B"}
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=dataPortability.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dataPortability.js","sourceRoot":"","sources":["../../../src/types/dataPortability.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface SCEmbedType.
|
|
3
|
+
* Embed Schema.
|
|
4
|
+
*/
|
|
5
|
+
export interface SCEmbedType {
|
|
6
|
+
/**
|
|
7
|
+
* Id of the embed
|
|
8
|
+
*/
|
|
9
|
+
id: number;
|
|
10
|
+
/**
|
|
11
|
+
* Type of the embed, can be any string except
|
|
12
|
+
* sc_vimeo, sc_link or sc_shared_object that are used
|
|
13
|
+
* for embedded objects automatically created by the community
|
|
14
|
+
*/
|
|
15
|
+
embed_type: string;
|
|
16
|
+
/**
|
|
17
|
+
* External id for the embed object
|
|
18
|
+
*/
|
|
19
|
+
embed_id: number;
|
|
20
|
+
/**
|
|
21
|
+
* Url for the resource, if any
|
|
22
|
+
*/
|
|
23
|
+
url?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Metadata associated to this embed. It mus be a valid json object.
|
|
26
|
+
* For embed_type sc_vimeo or sc_link it contains metadata associated
|
|
27
|
+
* with the external resource. For embed_type sc_shared_object it contains a field
|
|
28
|
+
* type that is the type of the object (Discussion or Post) and a field id
|
|
29
|
+
* that contains the id of the object shared
|
|
30
|
+
*/
|
|
31
|
+
metadata: Record<string, any>;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=embed.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"embed.d.ts","sourceRoot":"","sources":["../../../src/types/embed.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;;;OAMG;IACH,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC/B"}
|
package/lib/esm/types/embed.js
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
exports.__esModule = true;
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=embed.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"embed.js","sourceRoot":"","sources":["../../../src/types/embed.ts"],"names":[],"mappings":""}
|