diff --git a/README.md b/README.md index 8bd4a7e..ea7bb9f 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,18 @@ # wip sveltekit site for anylists - ## Setup + ```bash bun install # install dependencies -bun run types # generate types from: https://winry.woach.me/Julia/anylists +bun run types # generate types from: https://winry.woach.me/Spoor/lexicons ``` ## Developing start the development server + ```bash bun run dev ``` @@ -25,6 +26,7 @@ bun run build ``` preview the static site with: + ```bash bun run preview ``` diff --git a/src/lib/client-metadata.json b/src/lib/client-metadata.json index 8ac45a5..87ff3a4 100644 --- a/src/lib/client-metadata.json +++ b/src/lib/client-metadata.json @@ -1,8 +1,8 @@ { - "client_id": "woach", - "client_name": "Woach", - "client_uri": "https://woach.me", - "redirect_uris": ["https://woach.me/callback"], + "client_id": "spoor", + "client_name": "Spoor", + "client_uri": "https://spoor.my", + "redirect_uris": ["https://spoor.my/callback"], "application_type": "web", "dpop_bound_access_tokens": true, "grant_types": [ diff --git a/src/lib/components/activity.svelte b/src/lib/components/activity.svelte index 5025313..8969d5a 100644 --- a/src/lib/components/activity.svelte +++ b/src/lib/components/activity.svelte @@ -1,13 +1,13 @@ @@ -17,16 +17,14 @@ {#each activity as activityItem}
{activityItem.content.id}
+{activityItem.content.titles}
Watched episode {activityItem.activity.progress} at {activityItem.activity.performedAt}
- {#if activityItem.session.participants?.length} + {#if activityItem.session.otherParticipants?.length}With:
- {#each activityItem.session.participants ?? [] as participant} - {participant.uri.split('at://')[1]} + {#each activityItem.session.otherParticipants ?? [] as participant} + {participant.split('at://')[1]} {/each} {/if}