diff --git a/components/national-teams/st-national-team-competition-update.vue b/components/national-teams/st-national-team-competition-update.vue index d90b0618..c73bc521 100644 --- a/components/national-teams/st-national-team-competition-update.vue +++ b/components/national-teams/st-national-team-competition-update.vue @@ -19,7 +19,7 @@ ; is_key: boolean; teams: { id: number; name: string }[]; date_created: string; @@ -57,7 +57,7 @@ export interface NationalTeam { name: string; slug: string; gender: string; - team_photo?: DirectusImage; + team_photo?: DirectusFile; team_photo_vertical_shift?: number; players: Player[]; /** @@ -75,7 +75,7 @@ export interface NationalTeamForCompetition { competition: NationalTeamCompetition; team: Pick; players: Player[]; - coaches: PartialItem[]; + coaches: DirectusPerson[]; } // Just to clear a Nuxt warning. diff --git a/components/resources/st-resource.vue b/components/resources/st-resource.vue index fa02b375..a063bf7c 100644 --- a/components/resources/st-resource.vue +++ b/components/resources/st-resource.vue @@ -51,6 +51,7 @@ export default defineComponent({ if (!this.resource?.file) { return; } + // @ts-ignore TODO: Check the actual type return humanFileSize(this.resource.file.filesize, 2, this.$i18n.locale); }, fileName(): string { diff --git a/components/st-club-list.vue b/components/st-club-list.vue index 8cb62c91..3b632e5d 100644 --- a/components/st-club-list.vue +++ b/components/st-club-list.vue @@ -17,14 +17,13 @@