@bunizao/contracts 0.15.0 → 0.16.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/listening.d.ts +5 -14
- package/package.json +1 -2
package/dist/listening.d.ts
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
export interface
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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.
|
|
3
|
+
"version": "0.16.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
|
}
|