mirror of
https://github.com/standardnotes/server
synced 2026-07-14 00:01:54 -04:00
10 lines
417 B
TypeScript
10 lines
417 B
TypeScript
import { Uuid } from '@standardnotes/common'
|
|
import { AnalyticsEntity } from './AnalyticsEntity'
|
|
|
|
export interface AnalyticsEntityRepositoryInterface {
|
|
save(analyticsEntity: AnalyticsEntity): Promise<AnalyticsEntity>
|
|
remove(analyticsEntity: AnalyticsEntity): Promise<void>
|
|
findOneByUserUuid(userUuid: Uuid): Promise<AnalyticsEntity | null>
|
|
findOneByUserEmail(email: string): Promise<AnalyticsEntity | null>
|
|
}
|