@faiber/faiber-social 0.3.0 → 0.5.1
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/README.md +8 -2
- package/dist/.tsbuildinfo +1 -1
- package/dist/index.d.ts +17 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -1
- package/dist/index.js.map +1 -1
- package/dist/operations.d.ts +404 -64
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.js +396 -32
- package/dist/operations.js.map +1 -1
- package/dist/operations.types.d.ts +169 -141
- package/dist/operations.types.d.ts.map +1 -1
- package/dist/types.d.ts +95 -6
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1,199 +1,227 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { JsonObject, JsonValue, QueryParams } from "@faiber/sdk-core";
|
|
2
2
|
/** Generated route contracts. Dynamic payload members remain JSON-safe and are documented with their Rust source type. */
|
|
3
3
|
/** Backend request type: legacy::LegacyImportRequest. */
|
|
4
4
|
export interface ApiImportModulesPostInput extends JsonObject {
|
|
5
|
-
"dry_run"
|
|
6
|
-
}
|
|
7
|
-
/** Backend response type: response without a declared JSON model. */
|
|
8
|
-
export interface ApiImportModulesPostResponse extends ApiEnvelope<JsonValue> {
|
|
9
|
-
}
|
|
10
|
-
/** Backend response type: response without a declared JSON model. */
|
|
11
|
-
export interface ApiListCategoriesGetResponse extends ApiEnvelope<JsonValue> {
|
|
5
|
+
"dry_run"?: boolean;
|
|
12
6
|
}
|
|
7
|
+
/** Backend response type: legacy::LegacyImportReport. */
|
|
8
|
+
export type ApiImportModulesPostResponse = import("./types.js").LegacyImportResponse;
|
|
9
|
+
/** Backend response type: Value. */
|
|
10
|
+
export type ApiListCategoriesGetResponse = import("./types.js").SocialCategoryListResponse;
|
|
13
11
|
/** Backend request type: CreateCategory. */
|
|
14
12
|
export interface ApiCreateCategoryPostInput extends JsonObject {
|
|
15
13
|
"slug": string;
|
|
16
14
|
"name": JsonValue;
|
|
17
|
-
"description": JsonValue;
|
|
18
|
-
"icon"?: string;
|
|
19
|
-
"color"?: string;
|
|
20
|
-
"sort_order": number;
|
|
21
|
-
"status": string;
|
|
22
|
-
"requires_moderation": boolean;
|
|
23
|
-
"metadata": JsonValue;
|
|
24
|
-
}
|
|
25
|
-
/** Backend response type: response without a declared JSON model. */
|
|
26
|
-
export interface ApiCreateCategoryPostResponse extends ApiEnvelope<JsonValue> {
|
|
27
|
-
}
|
|
28
|
-
/** Backend response type: response without a declared JSON model. */
|
|
29
|
-
export interface ApiDeleteCategoryDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
30
|
-
}
|
|
31
|
-
/** Backend request type: UpdateCategory. */
|
|
32
|
-
export interface ApiUpdateCategoryPatchInput extends JsonObject {
|
|
33
|
-
"slug"?: string;
|
|
34
|
-
"name"?: JsonValue;
|
|
35
15
|
"description"?: JsonValue;
|
|
36
|
-
"icon"?: string;
|
|
37
|
-
"color"?: string;
|
|
16
|
+
"icon"?: string | null;
|
|
17
|
+
"color"?: string | null;
|
|
38
18
|
"sort_order"?: number;
|
|
39
19
|
"status"?: string;
|
|
40
|
-
"
|
|
20
|
+
"moderate_posts"?: boolean;
|
|
21
|
+
"moderate_comments"?: boolean;
|
|
41
22
|
"metadata"?: JsonValue;
|
|
42
23
|
}
|
|
43
|
-
/** Backend response type:
|
|
44
|
-
export
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
24
|
+
/** Backend response type: Value. */
|
|
25
|
+
export type ApiCreateCategoryPostResponse = import("./types.js").SocialCategoryResponse;
|
|
26
|
+
/** Backend response type: no-content. */
|
|
27
|
+
export type ApiDeleteCategoryDeleteResponse = import("./types.js").NoContentResponse;
|
|
28
|
+
/** Backend request type: UpdateCategory. */
|
|
29
|
+
export interface ApiUpdateCategoryPatchInput extends JsonObject {
|
|
30
|
+
"slug"?: string | null;
|
|
31
|
+
"name"?: JsonValue | null;
|
|
32
|
+
"description"?: JsonValue | null;
|
|
33
|
+
"icon"?: string | null;
|
|
34
|
+
"color"?: string | null;
|
|
35
|
+
"sort_order"?: number | null;
|
|
36
|
+
"status"?: string | null;
|
|
37
|
+
"moderate_posts"?: boolean | null;
|
|
38
|
+
"moderate_comments"?: boolean | null;
|
|
39
|
+
"metadata"?: JsonValue | null;
|
|
40
|
+
}
|
|
41
|
+
/** Backend response type: Value. */
|
|
42
|
+
export type ApiUpdateCategoryPatchResponse = import("./types.js").SocialCategoryResponse;
|
|
43
|
+
/** Backend response type: no-content. */
|
|
44
|
+
export type ApiDeleteCommentDeleteResponse = import("./types.js").NoContentResponse;
|
|
49
45
|
/** Backend request type: UpdateComment. */
|
|
50
46
|
export interface ApiUpdateCommentPatchInput extends JsonObject {
|
|
51
47
|
"body": string;
|
|
52
48
|
}
|
|
53
|
-
/** Backend response type:
|
|
54
|
-
export
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
/** Backend response type:
|
|
60
|
-
export
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
export interface ApiRemoveCommentReactionDeleteApiV1CommentsIdReactionResponse extends ApiEnvelope<JsonValue> {
|
|
64
|
-
}
|
|
65
|
-
/** Backend response type: response without a declared JSON model. */
|
|
66
|
-
export interface ApiCommentReactionsGetResponse extends ApiEnvelope<JsonValue> {
|
|
67
|
-
}
|
|
49
|
+
/** Backend response type: Value. */
|
|
50
|
+
export type ApiUpdateCommentPatchResponse = import("./types.js").SocialCommentResponse;
|
|
51
|
+
/** Backend response type: no-content. */
|
|
52
|
+
export type ApiRemoveCommentReactionDeleteApiV1CommentsIdLikeResponse = import("./types.js").NoContentResponse;
|
|
53
|
+
/** Backend response type: Value. */
|
|
54
|
+
export type ApiLikeCommentPutResponse = import("./types.js").SocialReactionResponse;
|
|
55
|
+
/** Backend response type: no-content. */
|
|
56
|
+
export type ApiRemoveCommentReactionDeleteApiV1CommentsIdReactionResponse = import("./types.js").NoContentResponse;
|
|
57
|
+
/** Backend response type: ReactionSummary. */
|
|
58
|
+
export type ApiCommentReactionsGetResponse = import("./types.js").ReactionSummaryResponse;
|
|
68
59
|
/** Backend request type: SetReaction. */
|
|
69
60
|
export interface ApiSetCommentReactionPutInput extends JsonObject {
|
|
70
61
|
"reaction_type": string;
|
|
71
62
|
}
|
|
72
|
-
/** Backend response type:
|
|
73
|
-
export
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
export interface ApiListPostCommentsGetApiV1CommentsPostIdResponse extends ApiEnvelope<JsonValue> {
|
|
77
|
-
}
|
|
63
|
+
/** Backend response type: Value. */
|
|
64
|
+
export type ApiSetCommentReactionPutResponse = import("./types.js").SocialReactionResponse;
|
|
65
|
+
/** Backend response type: Value. */
|
|
66
|
+
export type ApiListPostCommentsGetApiV1CommentsPostIdResponse = import("./types.js").SocialCommentListResponse;
|
|
78
67
|
/** Backend request type: CreateComment. */
|
|
79
68
|
export interface ApiCreatePostCommentPostApiV1CommentsPostIdInput extends JsonObject {
|
|
80
|
-
"parent_id"?: string;
|
|
69
|
+
"parent_id"?: string | null;
|
|
81
70
|
"body": string;
|
|
82
|
-
"requires_moderation": boolean;
|
|
83
|
-
}
|
|
84
|
-
/** Backend response type: response without a declared JSON model. */
|
|
85
|
-
export interface ApiCreatePostCommentPostApiV1CommentsPostIdResponse extends ApiEnvelope<JsonValue> {
|
|
86
71
|
}
|
|
72
|
+
/** Backend response type: Value. */
|
|
73
|
+
export type ApiCreatePostCommentPostApiV1CommentsPostIdResponse = import("./types.js").SocialCommentResponse;
|
|
74
|
+
/** Backend query type: AnalyticsQuery. */
|
|
75
|
+
export interface ApiMyAnalyticsGetQuery extends QueryParams {
|
|
76
|
+
"from"?: string | null;
|
|
77
|
+
"to"?: string | null;
|
|
78
|
+
}
|
|
79
|
+
/** Backend response type: Value. */
|
|
80
|
+
export type ApiMyAnalyticsGetResponse = import("./types.js").CreatorAnalyticsResponse;
|
|
81
|
+
/** Backend response type: Value. */
|
|
82
|
+
export type ApiMyBookmarksGetResponse = import("./types.js").SocialBookmarksResponse;
|
|
83
|
+
/** Backend query type: FeedQuery. */
|
|
84
|
+
export interface ApiListMyPostsGetQuery extends QueryParams {
|
|
85
|
+
"q"?: string | null;
|
|
86
|
+
"author_id"?: string | null;
|
|
87
|
+
"kind"?: string | null;
|
|
88
|
+
"category_id"?: string | null;
|
|
89
|
+
"page"?: number;
|
|
90
|
+
"limit"?: number;
|
|
91
|
+
}
|
|
92
|
+
/** Backend response type: Value. */
|
|
93
|
+
export type ApiListMyPostsGetResponse = import("./types.js").SocialPostListResponse;
|
|
94
|
+
/** Backend response type: raw-response. */
|
|
95
|
+
export type ApiGetMediaGetResponse = import("./types.js").NoContentResponse;
|
|
96
|
+
/** Backend request type: multipart/form-data. */
|
|
97
|
+
export type ApiUploadMediaPostInput = FormData;
|
|
98
|
+
/** Backend response type: Value. */
|
|
99
|
+
export type ApiUploadMediaPostResponse = import("./types.js").SocialMediaResponse;
|
|
87
100
|
/** Backend request type: ModerateTarget. */
|
|
88
101
|
export interface ApiModeratePostInput extends JsonObject {
|
|
89
102
|
"target_type": string;
|
|
90
103
|
"target_id": string;
|
|
91
104
|
"action": string;
|
|
92
|
-
"reason"?: string;
|
|
93
|
-
}
|
|
94
|
-
/** Backend response type:
|
|
95
|
-
export
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
105
|
+
"reason"?: string | null;
|
|
106
|
+
}
|
|
107
|
+
/** Backend response type: Value. */
|
|
108
|
+
export type ApiModeratePostResponse = import("./types.js").ModerationActionResponse;
|
|
109
|
+
/** Backend query type: ModerationAuditQuery. */
|
|
110
|
+
export interface ApiModerationAuditGetQuery extends QueryParams {
|
|
111
|
+
"target_type"?: string | null;
|
|
112
|
+
"action"?: string | null;
|
|
113
|
+
"page"?: number;
|
|
114
|
+
"limit"?: number;
|
|
115
|
+
}
|
|
116
|
+
/** Backend response type: Value. */
|
|
117
|
+
export type ApiModerationAuditGetResponse = import("./types.js").ModerationAuditResponse;
|
|
118
|
+
/** Backend response type: Value. */
|
|
119
|
+
export type ApiModerationQueueGetResponse = import("./types.js").ModerationQueueResponse;
|
|
100
120
|
/** Backend query type: FeedQuery. */
|
|
101
121
|
export interface ApiListPostsGetQuery extends QueryParams {
|
|
102
|
-
"q"?: string;
|
|
103
|
-
"author_id"?: string;
|
|
104
|
-
"kind"?: string;
|
|
105
|
-
"category_id"?: string;
|
|
106
|
-
"page"
|
|
107
|
-
"limit"
|
|
108
|
-
}
|
|
109
|
-
/** Backend response type:
|
|
110
|
-
export
|
|
111
|
-
}
|
|
122
|
+
"q"?: string | null;
|
|
123
|
+
"author_id"?: string | null;
|
|
124
|
+
"kind"?: string | null;
|
|
125
|
+
"category_id"?: string | null;
|
|
126
|
+
"page"?: number;
|
|
127
|
+
"limit"?: number;
|
|
128
|
+
}
|
|
129
|
+
/** Backend response type: Value. */
|
|
130
|
+
export type ApiListPostsGetResponse = import("./types.js").SocialPostListResponse;
|
|
112
131
|
/** Backend request type: CreatePost. */
|
|
113
132
|
export interface ApiCreatePostPostInput extends JsonObject {
|
|
114
|
-
"category_id"?: string;
|
|
115
|
-
"kind": string;
|
|
116
|
-
"visibility": string;
|
|
117
|
-
"title"?: string;
|
|
118
|
-
"body": string;
|
|
119
|
-
"media": JsonValue;
|
|
120
|
-
"metadata": JsonValue;
|
|
121
|
-
"requires_moderation": boolean;
|
|
122
|
-
}
|
|
123
|
-
/** Backend response type: response without a declared JSON model. */
|
|
124
|
-
export interface ApiCreatePostPostResponse extends ApiEnvelope<JsonValue> {
|
|
125
|
-
}
|
|
126
|
-
/** Backend response type: response without a declared JSON model. */
|
|
127
|
-
export interface ApiDeletePostDeleteResponse extends ApiEnvelope<JsonValue> {
|
|
128
|
-
}
|
|
129
|
-
/** Backend response type: response without a declared JSON model. */
|
|
130
|
-
export interface ApiGetPostGetResponse extends ApiEnvelope<JsonValue> {
|
|
131
|
-
}
|
|
132
|
-
/** Backend request type: UpdatePost. */
|
|
133
|
-
export interface ApiUpdatePostPatchInput extends JsonObject {
|
|
134
|
-
"category_id"?: string;
|
|
133
|
+
"category_id"?: string | null;
|
|
135
134
|
"kind"?: string;
|
|
136
135
|
"visibility"?: string;
|
|
137
|
-
"title"?: string;
|
|
138
|
-
"body"
|
|
136
|
+
"title"?: string | null;
|
|
137
|
+
"body": string;
|
|
139
138
|
"media"?: JsonValue;
|
|
140
139
|
"metadata"?: JsonValue;
|
|
141
140
|
}
|
|
142
|
-
/** Backend response type:
|
|
143
|
-
export
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
141
|
+
/** Backend response type: Value. */
|
|
142
|
+
export type ApiCreatePostPostResponse = import("./types.js").SocialPostResponse;
|
|
143
|
+
/** Backend response type: no-content. */
|
|
144
|
+
export type ApiDeletePostDeleteResponse = import("./types.js").NoContentResponse;
|
|
145
|
+
/** Backend response type: Value. */
|
|
146
|
+
export type ApiGetPostGetResponse = import("./types.js").SocialPostResponse;
|
|
147
|
+
/** Backend request type: UpdatePost. */
|
|
148
|
+
export interface ApiUpdatePostPatchInput extends JsonObject {
|
|
149
|
+
"category_id"?: string | null;
|
|
150
|
+
"kind"?: string | null;
|
|
151
|
+
"visibility"?: string | null;
|
|
152
|
+
"title"?: string | null;
|
|
153
|
+
"body"?: string | null;
|
|
154
|
+
"media"?: JsonValue | null;
|
|
155
|
+
"metadata"?: JsonValue | null;
|
|
156
|
+
}
|
|
157
|
+
/** Backend response type: Value. */
|
|
158
|
+
export type ApiUpdatePostPatchResponse = import("./types.js").SocialPostResponse;
|
|
159
|
+
/** Backend query type: AnalyticsQuery. */
|
|
160
|
+
export interface ApiPostAnalyticsGetQuery extends QueryParams {
|
|
161
|
+
"from"?: string | null;
|
|
162
|
+
"to"?: string | null;
|
|
163
|
+
}
|
|
164
|
+
/** Backend response type: Value. */
|
|
165
|
+
export type ApiPostAnalyticsGetResponse = import("./types.js").CreatorAnalyticsResponse;
|
|
166
|
+
/** Backend response type: no-content. */
|
|
167
|
+
export type ApiUnbookmarkPostDeleteResponse = import("./types.js").NoContentResponse;
|
|
168
|
+
/** Backend response type: no-content. */
|
|
169
|
+
export type ApiBookmarkPostPutResponse = import("./types.js").NoContentResponse;
|
|
170
|
+
/** Backend response type: Value. */
|
|
171
|
+
export type ApiListPostCommentsGetApiV1PostsIdCommentsResponse = import("./types.js").SocialCommentListResponse;
|
|
148
172
|
/** Backend request type: CreateComment. */
|
|
149
173
|
export interface ApiCreatePostCommentPostApiV1PostsIdCommentsInput extends JsonObject {
|
|
150
|
-
"parent_id"?: string;
|
|
174
|
+
"parent_id"?: string | null;
|
|
151
175
|
"body": string;
|
|
152
|
-
"requires_moderation": boolean;
|
|
153
|
-
}
|
|
154
|
-
/** Backend response type: response without a declared JSON model. */
|
|
155
|
-
export interface ApiCreatePostCommentPostApiV1PostsIdCommentsResponse extends ApiEnvelope<JsonValue> {
|
|
156
|
-
}
|
|
157
|
-
/** Backend response type: response without a declared JSON model. */
|
|
158
|
-
export interface ApiRemovePostReactionDeleteApiV1PostsIdLikeResponse extends ApiEnvelope<JsonValue> {
|
|
159
|
-
}
|
|
160
|
-
/** Backend response type: response without a declared JSON model. */
|
|
161
|
-
export interface ApiLikePostPutResponse extends ApiEnvelope<JsonValue> {
|
|
162
|
-
}
|
|
163
|
-
/** Backend response type: response without a declared JSON model. */
|
|
164
|
-
export interface ApiRemovePostReactionDeleteApiV1PostsIdReactionResponse extends ApiEnvelope<JsonValue> {
|
|
165
|
-
}
|
|
166
|
-
/** Backend response type: response without a declared JSON model. */
|
|
167
|
-
export interface ApiPostReactionsGetApiV1PostsIdReactionResponse extends ApiEnvelope<JsonValue> {
|
|
168
176
|
}
|
|
177
|
+
/** Backend response type: Value. */
|
|
178
|
+
export type ApiCreatePostCommentPostApiV1PostsIdCommentsResponse = import("./types.js").SocialCommentResponse;
|
|
179
|
+
/** Backend response type: no-content. */
|
|
180
|
+
export type ApiRemovePostReactionDeleteApiV1PostsIdLikeResponse = import("./types.js").NoContentResponse;
|
|
181
|
+
/** Backend response type: Value. */
|
|
182
|
+
export type ApiLikePostPutResponse = import("./types.js").SocialReactionResponse;
|
|
183
|
+
/** Backend response type: no-content. */
|
|
184
|
+
export type ApiRemovePostReactionDeleteApiV1PostsIdReactionResponse = import("./types.js").NoContentResponse;
|
|
185
|
+
/** Backend response type: ReactionSummary. */
|
|
186
|
+
export type ApiPostReactionsGetApiV1PostsIdReactionResponse = import("./types.js").ReactionSummaryResponse;
|
|
169
187
|
/** Backend request type: SetReaction. */
|
|
170
188
|
export interface ApiSetPostReactionPutInput extends JsonObject {
|
|
171
189
|
"reaction_type": string;
|
|
172
190
|
}
|
|
173
|
-
/** Backend response type:
|
|
174
|
-
export
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
}
|
|
191
|
+
/** Backend response type: Value. */
|
|
192
|
+
export type ApiSetPostReactionPutResponse = import("./types.js").SocialReactionResponse;
|
|
193
|
+
/** Backend response type: Value. */
|
|
194
|
+
export type ApiResubmitPostPostResponse = import("./types.js").SocialPostResponse;
|
|
195
|
+
/** Backend request type: ShareEvent. */
|
|
196
|
+
export interface ApiRecordShareEventPostInput extends JsonObject {
|
|
197
|
+
"channel"?: string;
|
|
198
|
+
"idempotency_key"?: string | null;
|
|
199
|
+
}
|
|
200
|
+
/** Backend response type: no-content. */
|
|
201
|
+
export type ApiRecordShareEventPostResponse = import("./types.js").NoContentResponse;
|
|
202
|
+
/** Backend request type: RecordView. */
|
|
203
|
+
export interface ApiRecordPostViewPostInput extends JsonObject {
|
|
204
|
+
"visible_ms": number;
|
|
205
|
+
}
|
|
206
|
+
/** Backend response type: Value. */
|
|
207
|
+
export type ApiRecordPostViewPostResponse = import("./types.js").RecordViewResponse;
|
|
208
|
+
/** Backend response type: no-content. */
|
|
209
|
+
export type ApiRemovePostReactionDeleteApiV1ReactionsPostIdResponse = import("./types.js").NoContentResponse;
|
|
210
|
+
/** Backend response type: ReactionSummary. */
|
|
211
|
+
export type ApiPostReactionsGetApiV1ReactionsPostIdResponse = import("./types.js").ReactionSummaryResponse;
|
|
182
212
|
/** Backend request type: SetReaction. */
|
|
183
213
|
export interface ApiSetPostReactionPostInput extends JsonObject {
|
|
184
214
|
"reaction_type": string;
|
|
185
215
|
}
|
|
186
|
-
/** Backend response type:
|
|
187
|
-
export
|
|
188
|
-
}
|
|
216
|
+
/** Backend response type: Value. */
|
|
217
|
+
export type ApiSetPostReactionPostResponse = import("./types.js").SocialReactionResponse;
|
|
189
218
|
/** Backend request type: CreateReport. */
|
|
190
219
|
export interface ApiCreateReportPostInput extends JsonObject {
|
|
191
220
|
"target_type": string;
|
|
192
221
|
"target_id": string;
|
|
193
222
|
"reason": string;
|
|
194
|
-
"details"?: string;
|
|
195
|
-
}
|
|
196
|
-
/** Backend response type: response without a declared JSON model. */
|
|
197
|
-
export interface ApiCreateReportPostResponse extends ApiEnvelope<JsonValue> {
|
|
223
|
+
"details"?: string | null;
|
|
198
224
|
}
|
|
225
|
+
/** Backend response type: Value. */
|
|
226
|
+
export type ApiCreateReportPostResponse = import("./types.js").SocialReportResponse;
|
|
199
227
|
//# sourceMappingURL=operations.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.types.d.ts","sourceRoot":"","sources":["../src/operations.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"operations.types.d.ts","sourceRoot":"","sources":["../src/operations.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4B,UAAU,EAAE,SAAS,EAAE,WAAW,EAAc,MAAM,kBAAkB,CAAC;AAEjH,0HAA0H;AAC1H,yDAAyD;AACzD,MAAM,WAAW,yBAA0B,SAAQ,UAAU;IAC3D,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AACD,yDAAyD;AACzD,MAAM,MAAM,4BAA4B,GAAG,OAAO,YAAY,EAAE,oBAAoB,CAAC;AAErF,oC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B,GAAG,OAAO,YAAY,EAAE,sBAAsB,CAAC;AAEzF,0CAA0C;AAC1C,MAAM,WAAW,wBAAyB,SAAQ,UAAU;IAC1D,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AACD,oCAAoC;AACpC,MAAM,MAAM,2BAA2B,GAAG,OAAO,YAAY,EAAE,oBAAoB,CAAC"}
|
package/dist/types.d.ts
CHANGED
|
@@ -15,7 +15,8 @@ export interface SocialCategory {
|
|
|
15
15
|
color?: string | null;
|
|
16
16
|
sort_order: number;
|
|
17
17
|
status: SocialCategoryStatus;
|
|
18
|
-
|
|
18
|
+
moderate_posts: boolean;
|
|
19
|
+
moderate_comments: boolean;
|
|
19
20
|
metadata: JsonValue;
|
|
20
21
|
created_at: string;
|
|
21
22
|
updated_at: string;
|
|
@@ -72,6 +73,11 @@ export interface SocialReport {
|
|
|
72
73
|
status: "open" | "reviewing" | "resolved" | "dismissed";
|
|
73
74
|
created_at: string;
|
|
74
75
|
}
|
|
76
|
+
export interface SocialListMeta {
|
|
77
|
+
total: number;
|
|
78
|
+
page: number;
|
|
79
|
+
limit: number;
|
|
80
|
+
}
|
|
75
81
|
export interface FeedQuery extends QueryParams {
|
|
76
82
|
q?: string;
|
|
77
83
|
author_id?: string;
|
|
@@ -88,9 +94,8 @@ export interface CreatePostInput {
|
|
|
88
94
|
body: string;
|
|
89
95
|
media?: JsonValue;
|
|
90
96
|
metadata?: JsonValue;
|
|
91
|
-
requires_moderation?: boolean;
|
|
92
97
|
}
|
|
93
|
-
export interface UpdatePostInput extends Partial<
|
|
98
|
+
export interface UpdatePostInput extends Partial<CreatePostInput> {
|
|
94
99
|
}
|
|
95
100
|
export interface CreateCategoryInput {
|
|
96
101
|
slug: string;
|
|
@@ -100,7 +105,8 @@ export interface CreateCategoryInput {
|
|
|
100
105
|
color?: string;
|
|
101
106
|
sort_order?: number;
|
|
102
107
|
status?: SocialCategoryStatus;
|
|
103
|
-
|
|
108
|
+
moderate_posts?: boolean;
|
|
109
|
+
moderate_comments?: boolean;
|
|
104
110
|
metadata?: JsonValue;
|
|
105
111
|
}
|
|
106
112
|
export interface UpdateCategoryInput extends Partial<CreateCategoryInput> {
|
|
@@ -108,7 +114,6 @@ export interface UpdateCategoryInput extends Partial<CreateCategoryInput> {
|
|
|
108
114
|
export interface CreateCommentInput {
|
|
109
115
|
parent_id?: string;
|
|
110
116
|
body: string;
|
|
111
|
-
requires_moderation?: boolean;
|
|
112
117
|
}
|
|
113
118
|
export interface UpdateCommentInput {
|
|
114
119
|
body: string;
|
|
@@ -133,11 +138,86 @@ export interface ReactionSummary {
|
|
|
133
138
|
by_type: Partial<Record<ReactionType, number>>;
|
|
134
139
|
viewer_reaction?: ReactionType | null;
|
|
135
140
|
}
|
|
141
|
+
export interface ShareEventInput {
|
|
142
|
+
channel?: string;
|
|
143
|
+
idempotency_key?: string;
|
|
144
|
+
}
|
|
145
|
+
export interface RecordViewInput {
|
|
146
|
+
visible_ms: number;
|
|
147
|
+
}
|
|
148
|
+
export interface RecordViewResult {
|
|
149
|
+
counted: boolean;
|
|
150
|
+
}
|
|
151
|
+
export interface SocialMedia {
|
|
152
|
+
id: string;
|
|
153
|
+
url: string;
|
|
154
|
+
content_type: string;
|
|
155
|
+
}
|
|
156
|
+
export type SocialMediaResponse = ApiEnvelope<SocialMedia>;
|
|
157
|
+
export interface AnalyticsQuery extends QueryParams {
|
|
158
|
+
from?: string;
|
|
159
|
+
to?: string;
|
|
160
|
+
}
|
|
161
|
+
export interface PostAnalytics {
|
|
162
|
+
post_id: string;
|
|
163
|
+
views: number;
|
|
164
|
+
reach: number;
|
|
165
|
+
reactions: number;
|
|
166
|
+
comments: number;
|
|
167
|
+
bookmarks: number;
|
|
168
|
+
shares: number;
|
|
169
|
+
}
|
|
170
|
+
export interface AnalyticsTrendPoint {
|
|
171
|
+
date: string;
|
|
172
|
+
views: number;
|
|
173
|
+
reach: number;
|
|
174
|
+
}
|
|
175
|
+
export interface CreatorAnalytics {
|
|
176
|
+
from: string;
|
|
177
|
+
to: string;
|
|
178
|
+
totals: Omit<PostAnalytics, "post_id">;
|
|
179
|
+
posts: PostAnalytics[];
|
|
180
|
+
trend: AnalyticsTrendPoint[];
|
|
181
|
+
}
|
|
182
|
+
export type CreatorAnalyticsResponse = ApiEnvelope<CreatorAnalytics>;
|
|
136
183
|
export interface ModerationQueue {
|
|
137
184
|
posts: SocialPost[];
|
|
138
185
|
comments: SocialComment[];
|
|
139
186
|
reports: SocialReport[];
|
|
140
187
|
}
|
|
188
|
+
export interface ModerationAuditQuery extends QueryParams {
|
|
189
|
+
target_type?: SocialTargetType | "report";
|
|
190
|
+
action?: ModerateTargetInput["action"];
|
|
191
|
+
page?: number;
|
|
192
|
+
limit?: number;
|
|
193
|
+
}
|
|
194
|
+
export interface ModerationAuditEntry {
|
|
195
|
+
id: string;
|
|
196
|
+
organization_id: string;
|
|
197
|
+
moderator_user_id: string;
|
|
198
|
+
target_type: SocialTargetType | "report";
|
|
199
|
+
target_id: string;
|
|
200
|
+
action: ModerateTargetInput["action"];
|
|
201
|
+
reason?: string | null;
|
|
202
|
+
previous_status?: string | null;
|
|
203
|
+
new_status: string;
|
|
204
|
+
metadata: JsonValue;
|
|
205
|
+
created_at: string;
|
|
206
|
+
}
|
|
207
|
+
export interface ModerationAuditMeta {
|
|
208
|
+
total: number;
|
|
209
|
+
page: number;
|
|
210
|
+
limit: number;
|
|
211
|
+
}
|
|
212
|
+
export interface ModerationAuditResponse extends ApiEnvelope<ModerationAuditEntry[]> {
|
|
213
|
+
meta: ModerationAuditMeta;
|
|
214
|
+
}
|
|
215
|
+
export interface ModerationActionResult {
|
|
216
|
+
target_type: SocialTargetType | "report";
|
|
217
|
+
target_id: string;
|
|
218
|
+
previous_status: string | null;
|
|
219
|
+
status: string;
|
|
220
|
+
}
|
|
141
221
|
export interface LegacyImportInput {
|
|
142
222
|
dry_run?: boolean;
|
|
143
223
|
}
|
|
@@ -153,10 +233,19 @@ export interface LegacyImportReport {
|
|
|
153
233
|
export type SocialPostResponse = ApiEnvelope<SocialPost>;
|
|
154
234
|
export type SocialCategoryResponse = ApiEnvelope<SocialCategory>;
|
|
155
235
|
export type SocialCategoryListResponse = ApiEnvelope<SocialCategory[]>;
|
|
156
|
-
export
|
|
236
|
+
export interface SocialPostListResponse extends ApiEnvelope<SocialPost[]> {
|
|
237
|
+
meta?: SocialListMeta;
|
|
238
|
+
}
|
|
157
239
|
export type SocialCommentResponse = ApiEnvelope<SocialComment>;
|
|
158
240
|
export type SocialCommentListResponse = ApiEnvelope<SocialComment[]>;
|
|
159
241
|
export type SocialReactionResponse = ApiEnvelope<SocialReaction>;
|
|
160
242
|
export type ReactionSummaryResponse = ApiEnvelope<ReactionSummary>;
|
|
161
243
|
export type ModerationQueueResponse = ApiEnvelope<ModerationQueue>;
|
|
244
|
+
export type SocialBookmarksResponse = ApiEnvelope<string[]>;
|
|
245
|
+
export type RecordViewResponse = ApiEnvelope<RecordViewResult>;
|
|
246
|
+
export type SocialReportResponse = ApiEnvelope<SocialReport>;
|
|
247
|
+
export type ModerationActionResponse = ApiEnvelope<ModerationActionResult>;
|
|
248
|
+
export type LegacyImportResponse = ApiEnvelope<LegacyImportReport>;
|
|
249
|
+
/** Used by endpoints that deliberately return 204 or an HTTP redirect without a JSON envelope. */
|
|
250
|
+
export type NoContentResponse = void;
|
|
162
251
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE5E,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,cAAc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rE,MAAM,MAAM,sBAAsB,GAAG,WAAW,CAAC,cAAc,CAAC,CAAC;AACjE,MAAM,MAAM,uBAAuB,GAAG,WAAW,CAAC,eAAe,CAAC,CAAC;AACnE,MAAM,MAAM,uBAAuB,GAAG,WAAW,CAAC,eAAe,CAAC,CAAC;AACnE,MAAM,MAAM,uBAAuB,GAAG,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC;AAC5D,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAAC,gBAAgB,CAAC,CAAC;AAC/D,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAAC,YAAY,CAAC,CAAC;AAC7D,MAAM,MAAM,wBAAwB,GAAG,WAAW,CAAC,sBAAsB,CAAC,CAAC;AAC3E,MAAM,MAAM,oBAAoB,GAAG,WAAW,CAAC,kBAAkB,CAAC,CAAC;AACnE,kGAAkG;AAClG,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faiber/faiber-social",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -16,6 +16,6 @@
|
|
|
16
16
|
"README.md"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@faiber/sdk-core": "0.
|
|
19
|
+
"@faiber/sdk-core": "0.5.1"
|
|
20
20
|
}
|
|
21
21
|
}
|