@selfcommunity/types 0.5.0-alpha.15 → 0.5.0-alpha.16
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/cjs/types/embed.d.ts
CHANGED
package/lib/cjs/types/feed.d.ts
CHANGED
|
@@ -153,10 +153,18 @@ export interface SCFeedObjectType {
|
|
|
153
153
|
* True if the logged user follow this object
|
|
154
154
|
*/
|
|
155
155
|
followed?: boolean;
|
|
156
|
+
/**
|
|
157
|
+
* Number of views
|
|
158
|
+
*/
|
|
159
|
+
view_count: number;
|
|
156
160
|
/**
|
|
157
161
|
* Number of votes
|
|
158
162
|
*/
|
|
159
163
|
vote_count: number;
|
|
164
|
+
/**
|
|
165
|
+
* Number of followers
|
|
166
|
+
*/
|
|
167
|
+
follower_count: number;
|
|
160
168
|
/**
|
|
161
169
|
* Reaction obj
|
|
162
170
|
*/
|
|
@@ -164,7 +172,7 @@ export interface SCFeedObjectType {
|
|
|
164
172
|
/**
|
|
165
173
|
* Reactions number and objs
|
|
166
174
|
*/
|
|
167
|
-
reactions_count: [];
|
|
175
|
+
reactions_count: any[];
|
|
168
176
|
/**
|
|
169
177
|
* True if the logged user has already voted this object
|
|
170
178
|
*/
|
package/lib/cjs/types/user.d.ts
CHANGED
|
@@ -91,7 +91,7 @@ export interface SCUserType {
|
|
|
91
91
|
* - follow/unfollow a category
|
|
92
92
|
* - unfollow user
|
|
93
93
|
*/
|
|
94
|
-
status
|
|
94
|
+
status?: string;
|
|
95
95
|
/**
|
|
96
96
|
* User website.
|
|
97
97
|
*/
|
|
@@ -171,7 +171,7 @@ export interface SCUserType {
|
|
|
171
171
|
/**
|
|
172
172
|
* User role
|
|
173
173
|
*/
|
|
174
|
-
role
|
|
174
|
+
role?: string;
|
|
175
175
|
/**
|
|
176
176
|
* interactions counter
|
|
177
177
|
*/
|
|
@@ -188,6 +188,10 @@ export interface SCUserType {
|
|
|
188
188
|
* Datetime of the account deletion
|
|
189
189
|
*/
|
|
190
190
|
deleted_at?: Date;
|
|
191
|
+
/**
|
|
192
|
+
* Custom user metadata fields
|
|
193
|
+
*/
|
|
194
|
+
[p: string]: any;
|
|
191
195
|
}
|
|
192
196
|
/**
|
|
193
197
|
* User Settings
|
package/lib/esm/types/embed.d.ts
CHANGED
package/lib/esm/types/feed.d.ts
CHANGED
|
@@ -153,10 +153,18 @@ export interface SCFeedObjectType {
|
|
|
153
153
|
* True if the logged user follow this object
|
|
154
154
|
*/
|
|
155
155
|
followed?: boolean;
|
|
156
|
+
/**
|
|
157
|
+
* Number of views
|
|
158
|
+
*/
|
|
159
|
+
view_count: number;
|
|
156
160
|
/**
|
|
157
161
|
* Number of votes
|
|
158
162
|
*/
|
|
159
163
|
vote_count: number;
|
|
164
|
+
/**
|
|
165
|
+
* Number of followers
|
|
166
|
+
*/
|
|
167
|
+
follower_count: number;
|
|
160
168
|
/**
|
|
161
169
|
* Reaction obj
|
|
162
170
|
*/
|
|
@@ -164,7 +172,7 @@ export interface SCFeedObjectType {
|
|
|
164
172
|
/**
|
|
165
173
|
* Reactions number and objs
|
|
166
174
|
*/
|
|
167
|
-
reactions_count: [];
|
|
175
|
+
reactions_count: any[];
|
|
168
176
|
/**
|
|
169
177
|
* True if the logged user has already voted this object
|
|
170
178
|
*/
|
package/lib/esm/types/user.d.ts
CHANGED
|
@@ -91,7 +91,7 @@ export interface SCUserType {
|
|
|
91
91
|
* - follow/unfollow a category
|
|
92
92
|
* - unfollow user
|
|
93
93
|
*/
|
|
94
|
-
status
|
|
94
|
+
status?: string;
|
|
95
95
|
/**
|
|
96
96
|
* User website.
|
|
97
97
|
*/
|
|
@@ -171,7 +171,7 @@ export interface SCUserType {
|
|
|
171
171
|
/**
|
|
172
172
|
* User role
|
|
173
173
|
*/
|
|
174
|
-
role
|
|
174
|
+
role?: string;
|
|
175
175
|
/**
|
|
176
176
|
* interactions counter
|
|
177
177
|
*/
|
|
@@ -188,6 +188,10 @@ export interface SCUserType {
|
|
|
188
188
|
* Datetime of the account deletion
|
|
189
189
|
*/
|
|
190
190
|
deleted_at?: Date;
|
|
191
|
+
/**
|
|
192
|
+
* Custom user metadata fields
|
|
193
|
+
*/
|
|
194
|
+
[p: string]: any;
|
|
191
195
|
}
|
|
192
196
|
/**
|
|
193
197
|
* User Settings
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@selfcommunity/types",
|
|
3
|
-
"version": "0.5.0-alpha.
|
|
3
|
+
"version": "0.5.0-alpha.16",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./lib/cjs/index.js",
|
|
@@ -101,5 +101,5 @@
|
|
|
101
101
|
"bugs": {
|
|
102
102
|
"url": "https://github.com/selfcommunity/community-js/issues"
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "b7d110e4cd0c5566f484c3d9d43df9ff394aa52e"
|
|
105
105
|
}
|