diff --git a/README.md b/README.md index ea7bb9f..8bd4a7e 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,17 @@ # wip sveltekit site for anylists -## Setup +## Setup ```bash bun install # install dependencies -bun run types # generate types from: https://winry.woach.me/Spoor/lexicons +bun run types # generate types from: https://winry.woach.me/Julia/anylists ``` ## Developing start the development server - ```bash bun run dev ``` @@ -26,7 +25,6 @@ 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 87ff3a4..8ac45a5 100644 --- a/src/lib/client-metadata.json +++ b/src/lib/client-metadata.json @@ -1,8 +1,8 @@ { - "client_id": "spoor", - "client_name": "Spoor", - "client_uri": "https://spoor.my", - "redirect_uris": ["https://spoor.my/callback"], + "client_id": "woach", + "client_name": "Woach", + "client_uri": "https://woach.me", + "redirect_uris": ["https://woach.me/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 8969d5a..5025313 100644 --- a/src/lib/components/activity.svelte +++ b/src/lib/components/activity.svelte @@ -1,13 +1,13 @@ @@ -17,14 +17,16 @@ {#each activity as activityItem}
  • -

    {activityItem.content.titles}

    +

    {activityItem.content.id}

    Watched episode {activityItem.activity.progress} at {activityItem.activity.performedAt}

    - {#if activityItem.session.otherParticipants?.length} + {#if activityItem.session.participants?.length}

    With:

    - {#each activityItem.session.otherParticipants ?? [] as participant} - {participant.split('at://')[1]} + {#each activityItem.session.participants ?? [] as participant} + {participant.uri.split('at://')[1]} {/each} {/if}
    diff --git a/src/lib/components/list.svelte b/src/lib/components/list.svelte index 5fd8fdc..d6ad39e 100644 --- a/src/lib/components/list.svelte +++ b/src/lib/components/list.svelte @@ -1,9 +1,9 @@