@foru-ms/sdk 2.1.8 → 2.1.10
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/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/posts/types/RetrievePostPostsResponse.d.ts +21 -2
- package/dist/cjs/api/resources/posts/types/RetrievePostPostsResponse.js +2 -2
- package/dist/cjs/api/resources/posts/types/RetrieveReactionPostsResponse.d.ts +19 -0
- package/dist/cjs/api/resources/posts/types/UpdatePostsResponse.d.ts +21 -2
- package/dist/cjs/api/resources/posts/types/UpdatePostsResponse.js +2 -2
- package/dist/cjs/api/resources/tags/types/RetrieveSubscriberTagsResponse.d.ts +19 -0
- package/dist/cjs/api/resources/threads/types/RetrievePostThreadsResponse.d.ts +21 -2
- package/dist/cjs/api/resources/threads/types/RetrievePostThreadsResponse.js +2 -2
- package/dist/cjs/api/resources/threads/types/RetrieveReactionThreadsResponse.d.ts +19 -0
- package/dist/cjs/api/resources/threads/types/RetrieveSubscriberThreadsResponse.d.ts +19 -0
- package/dist/cjs/api/resources/threads/types/UpdateThreadsResponse.d.ts +53 -11
- package/dist/cjs/api/resources/threads/types/UpdateThreadsResponse.js +2 -2
- package/dist/cjs/api/resources/users/types/RetrieveFollowerUsersResponse.d.ts +19 -0
- package/dist/cjs/api/resources/users/types/RetrieveFollowingUsersResponse.d.ts +19 -0
- package/dist/cjs/api/resources/users/types/UpdateUsersResponse.d.ts +1 -0
- package/dist/cjs/api/types/LoginResponse.d.ts +1 -0
- package/dist/cjs/api/types/MeResponse.d.ts +1 -0
- package/dist/cjs/api/types/Post.d.ts +21 -2
- package/dist/cjs/api/types/Post.js +2 -2
- package/dist/cjs/api/types/PostListResponse.d.ts +21 -2
- package/dist/cjs/api/types/PostListResponse.js +2 -2
- package/dist/cjs/api/types/PostPost.d.ts +21 -2
- package/dist/cjs/api/types/PostPost.js +2 -2
- package/dist/cjs/api/types/PostPostListResponse.d.ts +21 -2
- package/dist/cjs/api/types/PostPostListResponse.js +2 -2
- package/dist/cjs/api/types/PostPostResponse.d.ts +21 -2
- package/dist/cjs/api/types/PostPostResponse.js +2 -2
- package/dist/cjs/api/types/PostReaction.d.ts +19 -0
- package/dist/cjs/api/types/PostReactionListResponse.d.ts +19 -0
- package/dist/cjs/api/types/PostReactionResponse.d.ts +19 -0
- package/dist/cjs/api/types/PostResponse.d.ts +21 -2
- package/dist/cjs/api/types/PostResponse.js +2 -2
- package/dist/cjs/api/types/RegisterResponse.d.ts +1 -0
- package/dist/cjs/api/types/TagSubscriber.d.ts +19 -0
- package/dist/cjs/api/types/TagSubscriberListResponse.d.ts +19 -0
- package/dist/cjs/api/types/TagSubscriberResponse.d.ts +19 -0
- package/dist/cjs/api/types/Thread.d.ts +41 -6
- package/dist/cjs/api/types/Thread.js +2 -2
- package/dist/cjs/api/types/ThreadListResponse.d.ts +53 -11
- package/dist/cjs/api/types/ThreadListResponse.js +2 -2
- package/dist/cjs/api/types/ThreadPoll.d.ts +2 -6
- package/dist/cjs/api/types/ThreadPollListResponse.d.ts +2 -6
- package/dist/cjs/api/types/ThreadPollResponse.d.ts +2 -6
- package/dist/cjs/api/types/ThreadPost.d.ts +21 -2
- package/dist/cjs/api/types/ThreadPost.js +2 -2
- package/dist/cjs/api/types/ThreadPostListResponse.d.ts +21 -2
- package/dist/cjs/api/types/ThreadPostListResponse.js +2 -2
- package/dist/cjs/api/types/ThreadPostResponse.d.ts +21 -2
- package/dist/cjs/api/types/ThreadPostResponse.js +2 -2
- package/dist/cjs/api/types/ThreadReaction.d.ts +19 -0
- package/dist/cjs/api/types/ThreadReactionListResponse.d.ts +19 -0
- package/dist/cjs/api/types/ThreadReactionResponse.d.ts +19 -0
- package/dist/cjs/api/types/ThreadResponse.d.ts +53 -11
- package/dist/cjs/api/types/ThreadResponse.js +2 -2
- package/dist/cjs/api/types/ThreadSubscriber.d.ts +19 -0
- package/dist/cjs/api/types/ThreadSubscriberListResponse.d.ts +19 -0
- package/dist/cjs/api/types/ThreadSubscriberResponse.d.ts +19 -0
- package/dist/cjs/api/types/User.d.ts +1 -0
- package/dist/cjs/api/types/UserFollower.d.ts +19 -0
- package/dist/cjs/api/types/UserFollowerListResponse.d.ts +19 -0
- package/dist/cjs/api/types/UserFollowerResponse.d.ts +19 -0
- package/dist/cjs/api/types/UserFollowing.d.ts +19 -0
- package/dist/cjs/api/types/UserFollowingListResponse.d.ts +19 -0
- package/dist/cjs/api/types/UserFollowingResponse.d.ts +19 -0
- package/dist/cjs/api/types/UserListResponse.d.ts +1 -0
- package/dist/cjs/api/types/UserResponse.d.ts +1 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/posts/types/RetrievePostPostsResponse.d.mts +21 -2
- package/dist/esm/api/resources/posts/types/RetrievePostPostsResponse.mjs +2 -2
- package/dist/esm/api/resources/posts/types/RetrieveReactionPostsResponse.d.mts +19 -0
- package/dist/esm/api/resources/posts/types/UpdatePostsResponse.d.mts +21 -2
- package/dist/esm/api/resources/posts/types/UpdatePostsResponse.mjs +2 -2
- package/dist/esm/api/resources/tags/types/RetrieveSubscriberTagsResponse.d.mts +19 -0
- package/dist/esm/api/resources/threads/types/RetrievePostThreadsResponse.d.mts +21 -2
- package/dist/esm/api/resources/threads/types/RetrievePostThreadsResponse.mjs +2 -2
- package/dist/esm/api/resources/threads/types/RetrieveReactionThreadsResponse.d.mts +19 -0
- package/dist/esm/api/resources/threads/types/RetrieveSubscriberThreadsResponse.d.mts +19 -0
- package/dist/esm/api/resources/threads/types/UpdateThreadsResponse.d.mts +53 -11
- package/dist/esm/api/resources/threads/types/UpdateThreadsResponse.mjs +2 -2
- package/dist/esm/api/resources/users/types/RetrieveFollowerUsersResponse.d.mts +19 -0
- package/dist/esm/api/resources/users/types/RetrieveFollowingUsersResponse.d.mts +19 -0
- package/dist/esm/api/resources/users/types/UpdateUsersResponse.d.mts +1 -0
- package/dist/esm/api/types/LoginResponse.d.mts +1 -0
- package/dist/esm/api/types/MeResponse.d.mts +1 -0
- package/dist/esm/api/types/Post.d.mts +21 -2
- package/dist/esm/api/types/Post.mjs +2 -2
- package/dist/esm/api/types/PostListResponse.d.mts +21 -2
- package/dist/esm/api/types/PostListResponse.mjs +2 -2
- package/dist/esm/api/types/PostPost.d.mts +21 -2
- package/dist/esm/api/types/PostPost.mjs +2 -2
- package/dist/esm/api/types/PostPostListResponse.d.mts +21 -2
- package/dist/esm/api/types/PostPostListResponse.mjs +2 -2
- package/dist/esm/api/types/PostPostResponse.d.mts +21 -2
- package/dist/esm/api/types/PostPostResponse.mjs +2 -2
- package/dist/esm/api/types/PostReaction.d.mts +19 -0
- package/dist/esm/api/types/PostReactionListResponse.d.mts +19 -0
- package/dist/esm/api/types/PostReactionResponse.d.mts +19 -0
- package/dist/esm/api/types/PostResponse.d.mts +21 -2
- package/dist/esm/api/types/PostResponse.mjs +2 -2
- package/dist/esm/api/types/RegisterResponse.d.mts +1 -0
- package/dist/esm/api/types/TagSubscriber.d.mts +19 -0
- package/dist/esm/api/types/TagSubscriberListResponse.d.mts +19 -0
- package/dist/esm/api/types/TagSubscriberResponse.d.mts +19 -0
- package/dist/esm/api/types/Thread.d.mts +41 -6
- package/dist/esm/api/types/Thread.mjs +2 -2
- package/dist/esm/api/types/ThreadListResponse.d.mts +53 -11
- package/dist/esm/api/types/ThreadListResponse.mjs +2 -2
- package/dist/esm/api/types/ThreadPoll.d.mts +2 -6
- package/dist/esm/api/types/ThreadPollListResponse.d.mts +2 -6
- package/dist/esm/api/types/ThreadPollResponse.d.mts +2 -6
- package/dist/esm/api/types/ThreadPost.d.mts +21 -2
- package/dist/esm/api/types/ThreadPost.mjs +2 -2
- package/dist/esm/api/types/ThreadPostListResponse.d.mts +21 -2
- package/dist/esm/api/types/ThreadPostListResponse.mjs +2 -2
- package/dist/esm/api/types/ThreadPostResponse.d.mts +21 -2
- package/dist/esm/api/types/ThreadPostResponse.mjs +2 -2
- package/dist/esm/api/types/ThreadReaction.d.mts +19 -0
- package/dist/esm/api/types/ThreadReactionListResponse.d.mts +19 -0
- package/dist/esm/api/types/ThreadReactionResponse.d.mts +19 -0
- package/dist/esm/api/types/ThreadResponse.d.mts +53 -11
- package/dist/esm/api/types/ThreadResponse.mjs +2 -2
- package/dist/esm/api/types/ThreadSubscriber.d.mts +19 -0
- package/dist/esm/api/types/ThreadSubscriberListResponse.d.mts +19 -0
- package/dist/esm/api/types/ThreadSubscriberResponse.d.mts +19 -0
- package/dist/esm/api/types/User.d.mts +1 -0
- package/dist/esm/api/types/UserFollower.d.mts +19 -0
- package/dist/esm/api/types/UserFollowerListResponse.d.mts +19 -0
- package/dist/esm/api/types/UserFollowerResponse.d.mts +19 -0
- package/dist/esm/api/types/UserFollowing.d.mts +19 -0
- package/dist/esm/api/types/UserFollowingListResponse.d.mts +19 -0
- package/dist/esm/api/types/UserFollowingResponse.d.mts +19 -0
- package/dist/esm/api/types/UserListResponse.d.mts +1 -0
- package/dist/esm/api/types/UserResponse.d.mts +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
|
@@ -6,10 +6,10 @@ export var Post;
|
|
|
6
6
|
let Item;
|
|
7
7
|
(function (Item) {
|
|
8
8
|
Item.Type = {
|
|
9
|
-
Upvote: "UPVOTE",
|
|
10
|
-
Downvote: "DOWNVOTE",
|
|
11
9
|
Like: "LIKE",
|
|
12
10
|
Dislike: "DISLIKE",
|
|
11
|
+
Upvote: "UPVOTE",
|
|
12
|
+
Downvote: "DOWNVOTE",
|
|
13
13
|
};
|
|
14
14
|
})(Item = Reactions.Item || (Reactions.Item = {}));
|
|
15
15
|
})(Reactions = Post.Reactions || (Post.Reactions = {}));
|
|
@@ -41,11 +41,30 @@ export declare namespace PostListResponse {
|
|
|
41
41
|
interface User {
|
|
42
42
|
id: string;
|
|
43
43
|
username: string;
|
|
44
|
+
/** Display name */
|
|
44
45
|
displayName: string | null;
|
|
46
|
+
/** User bio */
|
|
45
47
|
bio: string | null;
|
|
48
|
+
/** Forum signature */
|
|
49
|
+
signature: string | null;
|
|
50
|
+
/** User website URL */
|
|
46
51
|
url: string | null;
|
|
52
|
+
/** Total posts by user */
|
|
53
|
+
postsCount?: number;
|
|
54
|
+
/** Total threads by user */
|
|
55
|
+
threadsCount?: number;
|
|
56
|
+
/** Online status */
|
|
47
57
|
isOnline: boolean | null;
|
|
58
|
+
/** Last activity timestamp */
|
|
59
|
+
lastSeenAt: string | null;
|
|
60
|
+
/** User roles */
|
|
48
61
|
roles?: User.Roles.Item[];
|
|
62
|
+
/** Custom user data */
|
|
63
|
+
extendedData: Record<string, unknown> | null;
|
|
64
|
+
/** Account creation timestamp */
|
|
65
|
+
createdAt: string;
|
|
66
|
+
/** Profile last update timestamp */
|
|
67
|
+
updatedAt: string;
|
|
49
68
|
}
|
|
50
69
|
namespace User {
|
|
51
70
|
type Roles = Roles.Item[];
|
|
@@ -68,10 +87,10 @@ export declare namespace PostListResponse {
|
|
|
68
87
|
}
|
|
69
88
|
namespace Item {
|
|
70
89
|
const Type: {
|
|
71
|
-
readonly Upvote: "UPVOTE";
|
|
72
|
-
readonly Downvote: "DOWNVOTE";
|
|
73
90
|
readonly Like: "LIKE";
|
|
74
91
|
readonly Dislike: "DISLIKE";
|
|
92
|
+
readonly Upvote: "UPVOTE";
|
|
93
|
+
readonly Downvote: "DOWNVOTE";
|
|
75
94
|
};
|
|
76
95
|
type Type = (typeof Type)[keyof typeof Type];
|
|
77
96
|
}
|
|
@@ -12,10 +12,10 @@ export var PostListResponse;
|
|
|
12
12
|
let Item;
|
|
13
13
|
(function (Item) {
|
|
14
14
|
Item.Type = {
|
|
15
|
-
Upvote: "UPVOTE",
|
|
16
|
-
Downvote: "DOWNVOTE",
|
|
17
15
|
Like: "LIKE",
|
|
18
16
|
Dislike: "DISLIKE",
|
|
17
|
+
Upvote: "UPVOTE",
|
|
18
|
+
Downvote: "DOWNVOTE",
|
|
19
19
|
};
|
|
20
20
|
})(Item = Reactions.Item || (Reactions.Item = {}));
|
|
21
21
|
})(Reactions = Item_1.Reactions || (Item_1.Reactions = {}));
|
|
@@ -14,11 +14,30 @@ export declare namespace PostPost {
|
|
|
14
14
|
interface User {
|
|
15
15
|
id: string;
|
|
16
16
|
username: string;
|
|
17
|
+
/** Display name */
|
|
17
18
|
displayName: string | null;
|
|
19
|
+
/** User bio */
|
|
18
20
|
bio: string | null;
|
|
21
|
+
/** Forum signature */
|
|
22
|
+
signature: string | null;
|
|
23
|
+
/** User website URL */
|
|
19
24
|
url: string | null;
|
|
25
|
+
/** Total posts by user */
|
|
26
|
+
postsCount?: number;
|
|
27
|
+
/** Total threads by user */
|
|
28
|
+
threadsCount?: number;
|
|
29
|
+
/** Online status */
|
|
20
30
|
isOnline: boolean | null;
|
|
31
|
+
/** Last activity timestamp */
|
|
32
|
+
lastSeenAt: string | null;
|
|
33
|
+
/** User roles */
|
|
21
34
|
roles?: User.Roles.Item[];
|
|
35
|
+
/** Custom user data */
|
|
36
|
+
extendedData: Record<string, unknown> | null;
|
|
37
|
+
/** Account creation timestamp */
|
|
38
|
+
createdAt: string;
|
|
39
|
+
/** Profile last update timestamp */
|
|
40
|
+
updatedAt: string;
|
|
22
41
|
}
|
|
23
42
|
namespace User {
|
|
24
43
|
type Roles = Roles.Item[];
|
|
@@ -41,10 +60,10 @@ export declare namespace PostPost {
|
|
|
41
60
|
}
|
|
42
61
|
namespace Item {
|
|
43
62
|
const Type: {
|
|
44
|
-
readonly Upvote: "UPVOTE";
|
|
45
|
-
readonly Downvote: "DOWNVOTE";
|
|
46
63
|
readonly Like: "LIKE";
|
|
47
64
|
readonly Dislike: "DISLIKE";
|
|
65
|
+
readonly Upvote: "UPVOTE";
|
|
66
|
+
readonly Downvote: "DOWNVOTE";
|
|
48
67
|
};
|
|
49
68
|
type Type = (typeof Type)[keyof typeof Type];
|
|
50
69
|
}
|
|
@@ -6,10 +6,10 @@ export var PostPost;
|
|
|
6
6
|
let Item;
|
|
7
7
|
(function (Item) {
|
|
8
8
|
Item.Type = {
|
|
9
|
-
Upvote: "UPVOTE",
|
|
10
|
-
Downvote: "DOWNVOTE",
|
|
11
9
|
Like: "LIKE",
|
|
12
10
|
Dislike: "DISLIKE",
|
|
11
|
+
Upvote: "UPVOTE",
|
|
12
|
+
Downvote: "DOWNVOTE",
|
|
13
13
|
};
|
|
14
14
|
})(Item = Reactions.Item || (Reactions.Item = {}));
|
|
15
15
|
})(Reactions = PostPost.Reactions || (PostPost.Reactions = {}));
|
|
@@ -26,11 +26,30 @@ export declare namespace PostPostListResponse {
|
|
|
26
26
|
interface User {
|
|
27
27
|
id: string;
|
|
28
28
|
username: string;
|
|
29
|
+
/** Display name */
|
|
29
30
|
displayName: string | null;
|
|
31
|
+
/** User bio */
|
|
30
32
|
bio: string | null;
|
|
33
|
+
/** Forum signature */
|
|
34
|
+
signature: string | null;
|
|
35
|
+
/** User website URL */
|
|
31
36
|
url: string | null;
|
|
37
|
+
/** Total posts by user */
|
|
38
|
+
postsCount?: number;
|
|
39
|
+
/** Total threads by user */
|
|
40
|
+
threadsCount?: number;
|
|
41
|
+
/** Online status */
|
|
32
42
|
isOnline: boolean | null;
|
|
43
|
+
/** Last activity timestamp */
|
|
44
|
+
lastSeenAt: string | null;
|
|
45
|
+
/** User roles */
|
|
33
46
|
roles?: User.Roles.Item[];
|
|
47
|
+
/** Custom user data */
|
|
48
|
+
extendedData: Record<string, unknown> | null;
|
|
49
|
+
/** Account creation timestamp */
|
|
50
|
+
createdAt: string;
|
|
51
|
+
/** Profile last update timestamp */
|
|
52
|
+
updatedAt: string;
|
|
34
53
|
}
|
|
35
54
|
namespace User {
|
|
36
55
|
type Roles = Roles.Item[];
|
|
@@ -53,10 +72,10 @@ export declare namespace PostPostListResponse {
|
|
|
53
72
|
}
|
|
54
73
|
namespace Item {
|
|
55
74
|
const Type: {
|
|
56
|
-
readonly Upvote: "UPVOTE";
|
|
57
|
-
readonly Downvote: "DOWNVOTE";
|
|
58
75
|
readonly Like: "LIKE";
|
|
59
76
|
readonly Dislike: "DISLIKE";
|
|
77
|
+
readonly Upvote: "UPVOTE";
|
|
78
|
+
readonly Downvote: "DOWNVOTE";
|
|
60
79
|
};
|
|
61
80
|
type Type = (typeof Type)[keyof typeof Type];
|
|
62
81
|
}
|
|
@@ -12,10 +12,10 @@ export var PostPostListResponse;
|
|
|
12
12
|
let Item;
|
|
13
13
|
(function (Item) {
|
|
14
14
|
Item.Type = {
|
|
15
|
-
Upvote: "UPVOTE",
|
|
16
|
-
Downvote: "DOWNVOTE",
|
|
17
15
|
Like: "LIKE",
|
|
18
16
|
Dislike: "DISLIKE",
|
|
17
|
+
Upvote: "UPVOTE",
|
|
18
|
+
Downvote: "DOWNVOTE",
|
|
19
19
|
};
|
|
20
20
|
})(Item = Reactions.Item || (Reactions.Item = {}));
|
|
21
21
|
})(Reactions = Item_1.Reactions || (Item_1.Reactions = {}));
|
|
@@ -18,11 +18,30 @@ export declare namespace PostPostResponse {
|
|
|
18
18
|
interface User {
|
|
19
19
|
id: string;
|
|
20
20
|
username: string;
|
|
21
|
+
/** Display name */
|
|
21
22
|
displayName: string | null;
|
|
23
|
+
/** User bio */
|
|
22
24
|
bio: string | null;
|
|
25
|
+
/** Forum signature */
|
|
26
|
+
signature: string | null;
|
|
27
|
+
/** User website URL */
|
|
23
28
|
url: string | null;
|
|
29
|
+
/** Total posts by user */
|
|
30
|
+
postsCount?: number;
|
|
31
|
+
/** Total threads by user */
|
|
32
|
+
threadsCount?: number;
|
|
33
|
+
/** Online status */
|
|
24
34
|
isOnline: boolean | null;
|
|
35
|
+
/** Last activity timestamp */
|
|
36
|
+
lastSeenAt: string | null;
|
|
37
|
+
/** User roles */
|
|
25
38
|
roles?: User.Roles.Item[];
|
|
39
|
+
/** Custom user data */
|
|
40
|
+
extendedData: Record<string, unknown> | null;
|
|
41
|
+
/** Account creation timestamp */
|
|
42
|
+
createdAt: string;
|
|
43
|
+
/** Profile last update timestamp */
|
|
44
|
+
updatedAt: string;
|
|
26
45
|
}
|
|
27
46
|
namespace User {
|
|
28
47
|
type Roles = Roles.Item[];
|
|
@@ -45,10 +64,10 @@ export declare namespace PostPostResponse {
|
|
|
45
64
|
}
|
|
46
65
|
namespace Item {
|
|
47
66
|
const Type: {
|
|
48
|
-
readonly Upvote: "UPVOTE";
|
|
49
|
-
readonly Downvote: "DOWNVOTE";
|
|
50
67
|
readonly Like: "LIKE";
|
|
51
68
|
readonly Dislike: "DISLIKE";
|
|
69
|
+
readonly Upvote: "UPVOTE";
|
|
70
|
+
readonly Downvote: "DOWNVOTE";
|
|
52
71
|
};
|
|
53
72
|
type Type = (typeof Type)[keyof typeof Type];
|
|
54
73
|
}
|
|
@@ -8,10 +8,10 @@ export var PostPostResponse;
|
|
|
8
8
|
let Item;
|
|
9
9
|
(function (Item) {
|
|
10
10
|
Item.Type = {
|
|
11
|
-
Upvote: "UPVOTE",
|
|
12
|
-
Downvote: "DOWNVOTE",
|
|
13
11
|
Like: "LIKE",
|
|
14
12
|
Dislike: "DISLIKE",
|
|
13
|
+
Upvote: "UPVOTE",
|
|
14
|
+
Downvote: "DOWNVOTE",
|
|
15
15
|
};
|
|
16
16
|
})(Item = Reactions.Item || (Reactions.Item = {}));
|
|
17
17
|
})(Reactions = Data.Reactions || (Data.Reactions = {}));
|
|
@@ -9,11 +9,30 @@ export declare namespace PostReaction {
|
|
|
9
9
|
interface User {
|
|
10
10
|
id: string;
|
|
11
11
|
username: string;
|
|
12
|
+
/** Display name */
|
|
12
13
|
displayName: string | null;
|
|
14
|
+
/** User bio */
|
|
13
15
|
bio: string | null;
|
|
16
|
+
/** Forum signature */
|
|
17
|
+
signature: string | null;
|
|
18
|
+
/** User website URL */
|
|
14
19
|
url: string | null;
|
|
20
|
+
/** Total posts by user */
|
|
21
|
+
postsCount?: number;
|
|
22
|
+
/** Total threads by user */
|
|
23
|
+
threadsCount?: number;
|
|
24
|
+
/** Online status */
|
|
15
25
|
isOnline: boolean | null;
|
|
26
|
+
/** Last activity timestamp */
|
|
27
|
+
lastSeenAt: string | null;
|
|
28
|
+
/** User roles */
|
|
16
29
|
roles?: User.Roles.Item[];
|
|
30
|
+
/** Custom user data */
|
|
31
|
+
extendedData: Record<string, unknown> | null;
|
|
32
|
+
/** Account creation timestamp */
|
|
33
|
+
createdAt: string;
|
|
34
|
+
/** Profile last update timestamp */
|
|
35
|
+
updatedAt: string;
|
|
17
36
|
}
|
|
18
37
|
namespace User {
|
|
19
38
|
type Roles = Roles.Item[];
|
|
@@ -21,11 +21,30 @@ export declare namespace PostReactionListResponse {
|
|
|
21
21
|
interface User {
|
|
22
22
|
id: string;
|
|
23
23
|
username: string;
|
|
24
|
+
/** Display name */
|
|
24
25
|
displayName: string | null;
|
|
26
|
+
/** User bio */
|
|
25
27
|
bio: string | null;
|
|
28
|
+
/** Forum signature */
|
|
29
|
+
signature: string | null;
|
|
30
|
+
/** User website URL */
|
|
26
31
|
url: string | null;
|
|
32
|
+
/** Total posts by user */
|
|
33
|
+
postsCount?: number;
|
|
34
|
+
/** Total threads by user */
|
|
35
|
+
threadsCount?: number;
|
|
36
|
+
/** Online status */
|
|
27
37
|
isOnline: boolean | null;
|
|
38
|
+
/** Last activity timestamp */
|
|
39
|
+
lastSeenAt: string | null;
|
|
40
|
+
/** User roles */
|
|
28
41
|
roles?: User.Roles.Item[];
|
|
42
|
+
/** Custom user data */
|
|
43
|
+
extendedData: Record<string, unknown> | null;
|
|
44
|
+
/** Account creation timestamp */
|
|
45
|
+
createdAt: string;
|
|
46
|
+
/** Profile last update timestamp */
|
|
47
|
+
updatedAt: string;
|
|
29
48
|
}
|
|
30
49
|
namespace User {
|
|
31
50
|
type Roles = Roles.Item[];
|
|
@@ -13,11 +13,30 @@ export declare namespace PostReactionResponse {
|
|
|
13
13
|
interface User {
|
|
14
14
|
id: string;
|
|
15
15
|
username: string;
|
|
16
|
+
/** Display name */
|
|
16
17
|
displayName: string | null;
|
|
18
|
+
/** User bio */
|
|
17
19
|
bio: string | null;
|
|
20
|
+
/** Forum signature */
|
|
21
|
+
signature: string | null;
|
|
22
|
+
/** User website URL */
|
|
18
23
|
url: string | null;
|
|
24
|
+
/** Total posts by user */
|
|
25
|
+
postsCount?: number;
|
|
26
|
+
/** Total threads by user */
|
|
27
|
+
threadsCount?: number;
|
|
28
|
+
/** Online status */
|
|
19
29
|
isOnline: boolean | null;
|
|
30
|
+
/** Last activity timestamp */
|
|
31
|
+
lastSeenAt: string | null;
|
|
32
|
+
/** User roles */
|
|
20
33
|
roles?: User.Roles.Item[];
|
|
34
|
+
/** Custom user data */
|
|
35
|
+
extendedData: Record<string, unknown> | null;
|
|
36
|
+
/** Account creation timestamp */
|
|
37
|
+
createdAt: string;
|
|
38
|
+
/** Profile last update timestamp */
|
|
39
|
+
updatedAt: string;
|
|
21
40
|
}
|
|
22
41
|
namespace User {
|
|
23
42
|
type Roles = Roles.Item[];
|
|
@@ -31,11 +31,30 @@ export declare namespace PostResponse {
|
|
|
31
31
|
interface User {
|
|
32
32
|
id: string;
|
|
33
33
|
username: string;
|
|
34
|
+
/** Display name */
|
|
34
35
|
displayName: string | null;
|
|
36
|
+
/** User bio */
|
|
35
37
|
bio: string | null;
|
|
38
|
+
/** Forum signature */
|
|
39
|
+
signature: string | null;
|
|
40
|
+
/** User website URL */
|
|
36
41
|
url: string | null;
|
|
42
|
+
/** Total posts by user */
|
|
43
|
+
postsCount?: number;
|
|
44
|
+
/** Total threads by user */
|
|
45
|
+
threadsCount?: number;
|
|
46
|
+
/** Online status */
|
|
37
47
|
isOnline: boolean | null;
|
|
48
|
+
/** Last activity timestamp */
|
|
49
|
+
lastSeenAt: string | null;
|
|
50
|
+
/** User roles */
|
|
38
51
|
roles?: User.Roles.Item[];
|
|
52
|
+
/** Custom user data */
|
|
53
|
+
extendedData: Record<string, unknown> | null;
|
|
54
|
+
/** Account creation timestamp */
|
|
55
|
+
createdAt: string;
|
|
56
|
+
/** Profile last update timestamp */
|
|
57
|
+
updatedAt: string;
|
|
39
58
|
}
|
|
40
59
|
namespace User {
|
|
41
60
|
type Roles = Roles.Item[];
|
|
@@ -58,10 +77,10 @@ export declare namespace PostResponse {
|
|
|
58
77
|
}
|
|
59
78
|
namespace Item {
|
|
60
79
|
const Type: {
|
|
61
|
-
readonly Upvote: "UPVOTE";
|
|
62
|
-
readonly Downvote: "DOWNVOTE";
|
|
63
80
|
readonly Like: "LIKE";
|
|
64
81
|
readonly Dislike: "DISLIKE";
|
|
82
|
+
readonly Upvote: "UPVOTE";
|
|
83
|
+
readonly Downvote: "DOWNVOTE";
|
|
65
84
|
};
|
|
66
85
|
type Type = (typeof Type)[keyof typeof Type];
|
|
67
86
|
}
|
|
@@ -8,10 +8,10 @@ export var PostResponse;
|
|
|
8
8
|
let Item;
|
|
9
9
|
(function (Item) {
|
|
10
10
|
Item.Type = {
|
|
11
|
-
Upvote: "UPVOTE",
|
|
12
|
-
Downvote: "DOWNVOTE",
|
|
13
11
|
Like: "LIKE",
|
|
14
12
|
Dislike: "DISLIKE",
|
|
13
|
+
Upvote: "UPVOTE",
|
|
14
|
+
Downvote: "DOWNVOTE",
|
|
15
15
|
};
|
|
16
16
|
})(Item = Reactions.Item || (Reactions.Item = {}));
|
|
17
17
|
})(Reactions = Data.Reactions || (Data.Reactions = {}));
|
|
@@ -9,11 +9,30 @@ export declare namespace TagSubscriber {
|
|
|
9
9
|
interface User {
|
|
10
10
|
id: string;
|
|
11
11
|
username: string;
|
|
12
|
+
/** Display name */
|
|
12
13
|
displayName: string | null;
|
|
14
|
+
/** User bio */
|
|
13
15
|
bio: string | null;
|
|
16
|
+
/** Forum signature */
|
|
17
|
+
signature: string | null;
|
|
18
|
+
/** User website URL */
|
|
14
19
|
url: string | null;
|
|
20
|
+
/** Total posts by user */
|
|
21
|
+
postsCount?: number;
|
|
22
|
+
/** Total threads by user */
|
|
23
|
+
threadsCount?: number;
|
|
24
|
+
/** Online status */
|
|
15
25
|
isOnline: boolean | null;
|
|
26
|
+
/** Last activity timestamp */
|
|
27
|
+
lastSeenAt: string | null;
|
|
28
|
+
/** User roles */
|
|
16
29
|
roles?: User.Roles.Item[];
|
|
30
|
+
/** Custom user data */
|
|
31
|
+
extendedData: Record<string, unknown> | null;
|
|
32
|
+
/** Account creation timestamp */
|
|
33
|
+
createdAt: string;
|
|
34
|
+
/** Profile last update timestamp */
|
|
35
|
+
updatedAt: string;
|
|
17
36
|
}
|
|
18
37
|
namespace User {
|
|
19
38
|
type Roles = Roles.Item[];
|
|
@@ -21,11 +21,30 @@ export declare namespace TagSubscriberListResponse {
|
|
|
21
21
|
interface User {
|
|
22
22
|
id: string;
|
|
23
23
|
username: string;
|
|
24
|
+
/** Display name */
|
|
24
25
|
displayName: string | null;
|
|
26
|
+
/** User bio */
|
|
25
27
|
bio: string | null;
|
|
28
|
+
/** Forum signature */
|
|
29
|
+
signature: string | null;
|
|
30
|
+
/** User website URL */
|
|
26
31
|
url: string | null;
|
|
32
|
+
/** Total posts by user */
|
|
33
|
+
postsCount?: number;
|
|
34
|
+
/** Total threads by user */
|
|
35
|
+
threadsCount?: number;
|
|
36
|
+
/** Online status */
|
|
27
37
|
isOnline: boolean | null;
|
|
38
|
+
/** Last activity timestamp */
|
|
39
|
+
lastSeenAt: string | null;
|
|
40
|
+
/** User roles */
|
|
28
41
|
roles?: User.Roles.Item[];
|
|
42
|
+
/** Custom user data */
|
|
43
|
+
extendedData: Record<string, unknown> | null;
|
|
44
|
+
/** Account creation timestamp */
|
|
45
|
+
createdAt: string;
|
|
46
|
+
/** Profile last update timestamp */
|
|
47
|
+
updatedAt: string;
|
|
29
48
|
}
|
|
30
49
|
namespace User {
|
|
31
50
|
type Roles = Roles.Item[];
|
|
@@ -13,11 +13,30 @@ export declare namespace TagSubscriberResponse {
|
|
|
13
13
|
interface User {
|
|
14
14
|
id: string;
|
|
15
15
|
username: string;
|
|
16
|
+
/** Display name */
|
|
16
17
|
displayName: string | null;
|
|
18
|
+
/** User bio */
|
|
17
19
|
bio: string | null;
|
|
20
|
+
/** Forum signature */
|
|
21
|
+
signature: string | null;
|
|
22
|
+
/** User website URL */
|
|
18
23
|
url: string | null;
|
|
24
|
+
/** Total posts by user */
|
|
25
|
+
postsCount?: number;
|
|
26
|
+
/** Total threads by user */
|
|
27
|
+
threadsCount?: number;
|
|
28
|
+
/** Online status */
|
|
19
29
|
isOnline: boolean | null;
|
|
30
|
+
/** Last activity timestamp */
|
|
31
|
+
lastSeenAt: string | null;
|
|
32
|
+
/** User roles */
|
|
20
33
|
roles?: User.Roles.Item[];
|
|
34
|
+
/** Custom user data */
|
|
35
|
+
extendedData: Record<string, unknown> | null;
|
|
36
|
+
/** Account creation timestamp */
|
|
37
|
+
createdAt: string;
|
|
38
|
+
/** Profile last update timestamp */
|
|
39
|
+
updatedAt: string;
|
|
21
40
|
}
|
|
22
41
|
namespace User {
|
|
23
42
|
type Roles = Roles.Item[];
|
|
@@ -6,10 +6,10 @@ export interface Thread {
|
|
|
6
6
|
body: string;
|
|
7
7
|
/** Author user ID (required for API key auth, ignored for JWT auth) */
|
|
8
8
|
userId?: string;
|
|
9
|
-
/**
|
|
10
|
-
tags?:
|
|
11
|
-
/**
|
|
12
|
-
poll?: Forum.ThreadPoll;
|
|
9
|
+
/** Thread tags */
|
|
10
|
+
tags?: Thread.Tags.Item[];
|
|
11
|
+
/** Thread poll */
|
|
12
|
+
poll?: Forum.ThreadPoll | null;
|
|
13
13
|
/** Whether thread is locked */
|
|
14
14
|
locked: boolean | null;
|
|
15
15
|
/** Whether thread is pinned */
|
|
@@ -33,17 +33,52 @@ export interface Thread {
|
|
|
33
33
|
updatedAt: string;
|
|
34
34
|
}
|
|
35
35
|
export declare namespace Thread {
|
|
36
|
+
type Tags = Tags.Item[];
|
|
37
|
+
namespace Tags {
|
|
38
|
+
interface Item {
|
|
39
|
+
/** Tag name */
|
|
40
|
+
name: string;
|
|
41
|
+
/** Tag slug (unique identifier) */
|
|
42
|
+
slug?: string;
|
|
43
|
+
/** Tag description */
|
|
44
|
+
description?: string;
|
|
45
|
+
/** Hex color code */
|
|
46
|
+
color?: string;
|
|
47
|
+
/** Extended data */
|
|
48
|
+
extendedData?: Record<string, unknown>;
|
|
49
|
+
id: string;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
36
52
|
/**
|
|
37
53
|
* Thread author
|
|
38
54
|
*/
|
|
39
55
|
interface User {
|
|
40
56
|
id: string;
|
|
41
57
|
username: string;
|
|
58
|
+
/** Display name */
|
|
42
59
|
displayName: string | null;
|
|
60
|
+
/** User bio */
|
|
43
61
|
bio: string | null;
|
|
62
|
+
/** Forum signature */
|
|
63
|
+
signature: string | null;
|
|
64
|
+
/** User website URL */
|
|
44
65
|
url: string | null;
|
|
66
|
+
/** Total posts by user */
|
|
67
|
+
postsCount?: number;
|
|
68
|
+
/** Total threads by user */
|
|
69
|
+
threadsCount?: number;
|
|
70
|
+
/** Online status */
|
|
45
71
|
isOnline: boolean | null;
|
|
72
|
+
/** Last activity timestamp */
|
|
73
|
+
lastSeenAt: string | null;
|
|
74
|
+
/** User roles */
|
|
46
75
|
roles?: User.Roles.Item[];
|
|
76
|
+
/** Custom user data */
|
|
77
|
+
extendedData: Record<string, unknown> | null;
|
|
78
|
+
/** Account creation timestamp */
|
|
79
|
+
createdAt: string;
|
|
80
|
+
/** Profile last update timestamp */
|
|
81
|
+
updatedAt: string;
|
|
47
82
|
}
|
|
48
83
|
namespace User {
|
|
49
84
|
type Roles = Roles.Item[];
|
|
@@ -66,10 +101,10 @@ export declare namespace Thread {
|
|
|
66
101
|
}
|
|
67
102
|
namespace Item {
|
|
68
103
|
const Type: {
|
|
69
|
-
readonly Upvote: "UPVOTE";
|
|
70
|
-
readonly Downvote: "DOWNVOTE";
|
|
71
104
|
readonly Like: "LIKE";
|
|
72
105
|
readonly Dislike: "DISLIKE";
|
|
106
|
+
readonly Upvote: "UPVOTE";
|
|
107
|
+
readonly Downvote: "DOWNVOTE";
|
|
73
108
|
};
|
|
74
109
|
type Type = (typeof Type)[keyof typeof Type];
|
|
75
110
|
}
|
|
@@ -6,10 +6,10 @@ export var Thread;
|
|
|
6
6
|
let Item;
|
|
7
7
|
(function (Item) {
|
|
8
8
|
Item.Type = {
|
|
9
|
-
Upvote: "UPVOTE",
|
|
10
|
-
Downvote: "DOWNVOTE",
|
|
11
9
|
Like: "LIKE",
|
|
12
10
|
Dislike: "DISLIKE",
|
|
11
|
+
Upvote: "UPVOTE",
|
|
12
|
+
Downvote: "DOWNVOTE",
|
|
13
13
|
};
|
|
14
14
|
})(Item = Reactions.Item || (Reactions.Item = {}));
|
|
15
15
|
})(Reactions = Thread.Reactions || (Thread.Reactions = {}));
|