@parra/parra-js-sdk 0.3.603 → 0.3.604

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.
@@ -963,6 +963,10 @@ export interface TagStub {
963
963
  title: string;
964
964
  slug?: string | null;
965
965
  }
966
+ export interface CommentSummary {
967
+ disabled: boolean;
968
+ comment_count: number;
969
+ }
966
970
  export interface ArticleStub {
967
971
  id: string;
968
972
  created_at: string;
@@ -986,6 +990,7 @@ export interface ArticleStub {
986
990
  reaction_options?: Array<ReactionOptionGroup>;
987
991
  reactions?: Array<ReactionSummary>;
988
992
  tags?: Array<TagStub>;
993
+ comments?: CommentSummary;
989
994
  }
990
995
  export interface Article {
991
996
  id: string;
@@ -1010,6 +1015,7 @@ export interface Article {
1010
1015
  reaction_options?: Array<ReactionOptionGroup>;
1011
1016
  reactions?: Array<ReactionSummary>;
1012
1017
  tags?: Array<TagStub>;
1018
+ comments?: CommentSummary;
1013
1019
  json_content?: ArticleContent | null;
1014
1020
  html_content?: string | null;
1015
1021
  text_content?: string | null;
@@ -1091,6 +1097,7 @@ export interface AppArticleStub {
1091
1097
  reaction_options?: Array<ReactionOptionGroup>;
1092
1098
  reactions?: Array<ReactionSummary>;
1093
1099
  tags?: Array<TagStub>;
1100
+ comments?: CommentSummary;
1094
1101
  }
1095
1102
  export interface AppArticleCollectionResponse {
1096
1103
  page: number;
@@ -1099,10 +1106,6 @@ export interface AppArticleCollectionResponse {
1099
1106
  total_count: number;
1100
1107
  data: Array<AppArticleStub>;
1101
1108
  }
1102
- export interface CommentSummary {
1103
- disabled: boolean;
1104
- comment_count: number;
1105
- }
1106
1109
  export interface Cta {
1107
1110
  url: string;
1108
1111
  title: string;
@@ -1144,10 +1147,10 @@ export interface AppArticle {
1144
1147
  reaction_options?: Array<ReactionOptionGroup>;
1145
1148
  reactions?: Array<ReactionSummary>;
1146
1149
  tags?: Array<TagStub>;
1150
+ comments?: CommentSummary;
1147
1151
  json_content: ArticleContent;
1148
1152
  html_content: string;
1149
1153
  text_content: string;
1150
- comments?: CommentSummary;
1151
1154
  products?: Array<AppAffiliateProduct>;
1152
1155
  sponsors?: Array<AppSponsor>;
1153
1156
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parra/parra-js-sdk",
3
- "version": "0.3.603",
3
+ "version": "0.3.604",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",