@bunizao/contracts 0.16.0 → 0.18.0
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/content.d.ts +5 -1
- package/dist/mood.d.ts +4 -2
- package/package.json +1 -1
package/dist/content.d.ts
CHANGED
|
@@ -91,7 +91,7 @@ export interface ContentDocument {
|
|
|
91
91
|
forwardedFrom?: ForwardedFrom | null;
|
|
92
92
|
quote?: QuoteRef | null;
|
|
93
93
|
reactions?: Reaction[];
|
|
94
|
-
commentsCount?: number | string;
|
|
94
|
+
commentsCount?: number | string | null;
|
|
95
95
|
}
|
|
96
96
|
export interface MoodContentDocument extends ContentDocument {
|
|
97
97
|
source: 'mood';
|
|
@@ -108,6 +108,10 @@ export interface MoodContentDocument extends ContentDocument {
|
|
|
108
108
|
Gates reply-to on `telegram` items only; replies to `web` items are
|
|
109
109
|
always allowed. */
|
|
110
110
|
discussionRepliesEnabled?: boolean;
|
|
111
|
+
/** AI-written link-preview description in the author's voice, for posts
|
|
112
|
+
whose text runs past 140 characters and is not a forward. Absent for
|
|
113
|
+
everything else, and on the live Telegram fallback. */
|
|
114
|
+
shareSummary?: string;
|
|
111
115
|
}
|
|
112
116
|
export interface PostContentDocument extends ContentDocument {
|
|
113
117
|
source: 'post';
|
package/dist/mood.d.ts
CHANGED
|
@@ -128,7 +128,9 @@ export interface MoodFeedItem {
|
|
|
128
128
|
forwardedFrom: MoodForwardedFrom | null;
|
|
129
129
|
quote: MoodQuote | null;
|
|
130
130
|
reactions: MoodReaction[];
|
|
131
|
-
|
|
131
|
+
/** Null when unknown: the archive keeps no comment count, since comments
|
|
132
|
+
are live only (see MoodLiveCount). */
|
|
133
|
+
commentsCount: number | string | null;
|
|
132
134
|
}
|
|
133
135
|
export interface MoodData {
|
|
134
136
|
id: string;
|
|
@@ -151,7 +153,7 @@ export interface MoodData {
|
|
|
151
153
|
forwardedFrom?: ForwardedFromData | null;
|
|
152
154
|
quote?: QuoteData | null;
|
|
153
155
|
reactions?: ReactionData[];
|
|
154
|
-
commentsCount?: number | string;
|
|
156
|
+
commentsCount?: number | string | null;
|
|
155
157
|
}
|
|
156
158
|
export interface MoodFeedResponse {
|
|
157
159
|
posts: MoodFeedItem[];
|