@parra/parra-js-sdk 0.3.596 → 0.3.597
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/ParraAPI.d.ts +7 -5
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
@@ -956,6 +956,11 @@ export interface ReactionSummary {
|
|
956
956
|
reaction_id?: string | null;
|
957
957
|
users: Array<TenantUserNameStub>;
|
958
958
|
}
|
959
|
+
export interface TagStub {
|
960
|
+
id: string;
|
961
|
+
title: string;
|
962
|
+
slug?: string | null;
|
963
|
+
}
|
959
964
|
export interface ArticleStub {
|
960
965
|
id: string;
|
961
966
|
created_at: string;
|
@@ -978,6 +983,7 @@ export interface ArticleStub {
|
|
978
983
|
authors: Array<CreatorUpdateSenderStub>;
|
979
984
|
reaction_options?: Array<ReactionOptionGroup>;
|
980
985
|
reactions?: Array<ReactionSummary>;
|
986
|
+
tags?: Array<TagStub>;
|
981
987
|
}
|
982
988
|
export interface Article {
|
983
989
|
id: string;
|
@@ -1001,6 +1007,7 @@ export interface Article {
|
|
1001
1007
|
authors: Array<CreatorUpdateSenderStub>;
|
1002
1008
|
reaction_options?: Array<ReactionOptionGroup>;
|
1003
1009
|
reactions?: Array<ReactionSummary>;
|
1010
|
+
tags?: Array<TagStub>;
|
1004
1011
|
json_content?: ArticleContent | null;
|
1005
1012
|
html_content?: string | null;
|
1006
1013
|
text_content?: string | null;
|
@@ -1024,11 +1031,6 @@ export interface ArticleAuthor {
|
|
1024
1031
|
export interface AddTagRequestBody {
|
1025
1032
|
tag_id: string;
|
1026
1033
|
}
|
1027
|
-
export interface TagStub {
|
1028
|
-
id: string;
|
1029
|
-
title: string;
|
1030
|
-
slug?: string | null;
|
1031
|
-
}
|
1032
1034
|
export interface ScheduleArticleRequestBody {
|
1033
1035
|
schedule_at: string;
|
1034
1036
|
}
|