@bunizao/contracts 0.15.0 → 0.17.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 CHANGED
@@ -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';
@@ -1,17 +1,8 @@
1
- /** Site playback totals in a rolling seven-day window, not Apple Music history. */
2
- export interface ListeningStats {
3
- generatedAt: string;
4
- window: {
5
- from: string;
6
- to: string;
7
- };
8
- totals: {
9
- plays: number;
10
- };
11
- topArtist: {
12
- name: string;
13
- plays: number;
14
- } | null;
1
+ /** The owner's Last.fm scrobbles in the seven days before the read. */
2
+ export interface ListeningWeek {
3
+ plays: number;
4
+ /** Most scrobbled artist; null when nothing was scrobbled. */
5
+ topArtist: string | null;
15
6
  }
16
7
  export interface ListeningAccent {
17
8
  hue: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bunizao/contracts",
3
- "version": "0.15.0",
3
+ "version": "0.17.0",
4
4
  "description": "Shared TypeScript contracts for buxx.me services and clients.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -98,7 +98,6 @@
98
98
  },
99
99
  "publishConfig": {
100
100
  "access": "public",
101
- "provenance": true,
102
101
  "tag": "latest"
103
102
  }
104
103
  }