27 lines
888 B
TypeScript
27 lines
888 B
TypeScript
import { SCENE_THEMES } from '@/entities/scene';
|
|
import { SOUND_PRESETS } from '@/entities/session';
|
|
import type { MediaManifest } from './types';
|
|
|
|
export const DEFAULT_MEDIA_MANIFEST: MediaManifest = {
|
|
version: 'local-fallback-v1',
|
|
updatedAt: '2026-03-09T00:00:00.000Z',
|
|
cdnBaseUrl: null,
|
|
scenes: SCENE_THEMES.map((scene) => ({
|
|
sceneId: scene.id,
|
|
cardUrl: scene.managedCardPhotoUrl ?? scene.cardPhotoUrl,
|
|
stageUrl: scene.managedCardPhotoUrl ?? scene.cardPhotoUrl,
|
|
mobileStageUrl: scene.managedCardPhotoUrl ?? scene.cardPhotoUrl,
|
|
hdStageUrl: scene.managedCardPhotoUrl ?? scene.cardPhotoUrl,
|
|
placeholderGradient: scene.previewGradient,
|
|
})),
|
|
sounds: SOUND_PRESETS.map((preset) => ({
|
|
presetId: preset.id,
|
|
previewUrl: null,
|
|
loopUrl: null,
|
|
fallbackLoopUrl: null,
|
|
mimeType: null,
|
|
durationSec: null,
|
|
defaultVolume: null,
|
|
})),
|
|
};
|