sinProject-Inc/talk

View on GitHub
src/lib/speech/sound/sound_repository.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { LocaleCode } from '$lib/locale/locale_code'
import type { Sound } from '@prisma/client'
import type { SpeechText } from '../speech_text'

export interface SoundRepository {
    save(locale_code: LocaleCode, speech_text: SpeechText): Promise<Sound>
    find_unique(locale_code: LocaleCode, speech_text: SpeechText): Promise<Sound | null>
}