mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-22 09:53:32 +01:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
287e203449 | ||
|
|
92be208a35 |
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -21,7 +21,7 @@ jobs:
|
|||||||
-
|
-
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: 16.x
|
node-version: 16.6.x
|
||||||
-
|
-
|
||||||
run: yarn install
|
run: yarn install
|
||||||
-
|
-
|
||||||
|
|||||||
@@ -268,7 +268,7 @@ export const album = (bonobUrl: URLBuilder, album: AlbumSummary) => ({
|
|||||||
itemType: "album",
|
itemType: "album",
|
||||||
id: `album:${album.id}`,
|
id: `album:${album.id}`,
|
||||||
artist: album.artistName,
|
artist: album.artistName,
|
||||||
artistId: album.artistId,
|
artistId: `artist:${album.artistId}`,
|
||||||
title: album.name,
|
title: album.name,
|
||||||
albumArtURI: defaultAlbumArtURI(bonobUrl, album).href(),
|
albumArtURI: defaultAlbumArtURI(bonobUrl, album).href(),
|
||||||
canPlay: true,
|
canPlay: true,
|
||||||
|
|||||||
@@ -299,7 +299,7 @@ describe("album", () => {
|
|||||||
albumArtURI: defaultAlbumArtURI(bonobUrl, someAlbum).href(),
|
albumArtURI: defaultAlbumArtURI(bonobUrl, someAlbum).href(),
|
||||||
canPlay: true,
|
canPlay: true,
|
||||||
artist: someAlbum.artistName,
|
artist: someAlbum.artistName,
|
||||||
artistId: someAlbum.artistId,
|
artistId: `artist:${someAlbum.artistId}`,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@@ -1168,7 +1168,7 @@ describe("api", () => {
|
|||||||
it
|
it
|
||||||
).href(),
|
).href(),
|
||||||
canPlay: true,
|
canPlay: true,
|
||||||
artistId: it.artistId,
|
artistId: `artist:${it.artistId}`,
|
||||||
artist: it.artistName,
|
artist: it.artistName,
|
||||||
})
|
})
|
||||||
),
|
),
|
||||||
@@ -1205,7 +1205,7 @@ describe("api", () => {
|
|||||||
it
|
it
|
||||||
).href(),
|
).href(),
|
||||||
canPlay: true,
|
canPlay: true,
|
||||||
artistId: it.artistId,
|
artistId: `artist:${it.artistId}`,
|
||||||
artist: it.artistName,
|
artist: it.artistName,
|
||||||
})),
|
})),
|
||||||
index: 2,
|
index: 2,
|
||||||
@@ -1509,7 +1509,7 @@ describe("api", () => {
|
|||||||
it
|
it
|
||||||
).href(),
|
).href(),
|
||||||
canPlay: true,
|
canPlay: true,
|
||||||
artistId: it.artistId,
|
artistId: `artist:${it.artistId}`,
|
||||||
artist: it.artistName,
|
artist: it.artistName,
|
||||||
})),
|
})),
|
||||||
index: 0,
|
index: 0,
|
||||||
@@ -1557,7 +1557,7 @@ describe("api", () => {
|
|||||||
it
|
it
|
||||||
).href(),
|
).href(),
|
||||||
canPlay: true,
|
canPlay: true,
|
||||||
artistId: it.artistId,
|
artistId: `artist:${it.artistId}`,
|
||||||
artist: it.artistName,
|
artist: it.artistName,
|
||||||
})),
|
})),
|
||||||
index: 0,
|
index: 0,
|
||||||
@@ -1605,7 +1605,7 @@ describe("api", () => {
|
|||||||
it
|
it
|
||||||
).href(),
|
).href(),
|
||||||
canPlay: true,
|
canPlay: true,
|
||||||
artistId: it.artistId,
|
artistId: `artist:${it.artistId}`,
|
||||||
artist: it.artistName,
|
artist: it.artistName,
|
||||||
})),
|
})),
|
||||||
index: 0,
|
index: 0,
|
||||||
@@ -1653,7 +1653,7 @@ describe("api", () => {
|
|||||||
it
|
it
|
||||||
).href(),
|
).href(),
|
||||||
canPlay: true,
|
canPlay: true,
|
||||||
artistId: it.artistId,
|
artistId: `artist:${it.artistId}`,
|
||||||
artist: it.artistName,
|
artist: it.artistName,
|
||||||
})),
|
})),
|
||||||
index: 0,
|
index: 0,
|
||||||
@@ -1701,7 +1701,7 @@ describe("api", () => {
|
|||||||
it
|
it
|
||||||
).href(),
|
).href(),
|
||||||
canPlay: true,
|
canPlay: true,
|
||||||
artistId: it.artistId,
|
artistId: `artist:${it.artistId}`,
|
||||||
artist: it.artistName,
|
artist: it.artistName,
|
||||||
})),
|
})),
|
||||||
index: 0,
|
index: 0,
|
||||||
@@ -1747,7 +1747,7 @@ describe("api", () => {
|
|||||||
it
|
it
|
||||||
).href(),
|
).href(),
|
||||||
canPlay: true,
|
canPlay: true,
|
||||||
artistId: it.artistId,
|
artistId: `artist:${it.artistId}`,
|
||||||
artist: it.artistName,
|
artist: it.artistName,
|
||||||
})),
|
})),
|
||||||
index: 0,
|
index: 0,
|
||||||
@@ -1793,7 +1793,7 @@ describe("api", () => {
|
|||||||
it
|
it
|
||||||
).href(),
|
).href(),
|
||||||
canPlay: true,
|
canPlay: true,
|
||||||
artistId: it.artistId,
|
artistId: `artist:${it.artistId}`,
|
||||||
artist: it.artistName,
|
artist: it.artistName,
|
||||||
})),
|
})),
|
||||||
index: 2,
|
index: 2,
|
||||||
@@ -1837,7 +1837,7 @@ describe("api", () => {
|
|||||||
it
|
it
|
||||||
).href(),
|
).href(),
|
||||||
canPlay: true,
|
canPlay: true,
|
||||||
artistId: it.artistId,
|
artistId: `artist:${it.artistId}`,
|
||||||
artist: it.artistName,
|
artist: it.artistName,
|
||||||
})),
|
})),
|
||||||
index: 0,
|
index: 0,
|
||||||
@@ -1884,7 +1884,7 @@ describe("api", () => {
|
|||||||
it
|
it
|
||||||
).href(),
|
).href(),
|
||||||
canPlay: true,
|
canPlay: true,
|
||||||
artistId: it.artistId,
|
artistId: `artist:${it.artistId}`,
|
||||||
artist: it.artistName,
|
artist: it.artistName,
|
||||||
})),
|
})),
|
||||||
index: 0,
|
index: 0,
|
||||||
@@ -2344,7 +2344,7 @@ describe("api", () => {
|
|||||||
album
|
album
|
||||||
).href(),
|
).href(),
|
||||||
canPlay: true,
|
canPlay: true,
|
||||||
artistId: album.artistId,
|
artistId: `artist:${album.artistId}`,
|
||||||
artist: album.artistName,
|
artist: album.artistName,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user