harden media

This commit is contained in:
2025-12-31 15:39:28 +01:00
parent 92226800df
commit 8260bf7baf
413 changed files with 8361 additions and 1544 deletions

View File

@@ -1,7 +1,9 @@
import type { ParticipantRef } from '@core/racing/domain/types/ParticipantRef';
import type { ChampionshipType } from '@core/racing/domain/types/ChampionshipType';
import { MediaReference } from '../../../core/domain/media/MediaReference';
export const makeDriverRef = (id: string): ParticipantRef => ({
type: 'driver' as ChampionshipType,
id,
avatarRef: MediaReference.systemDefault('avatar'),
});