refactor: remove Uuid from @standardnotes/common in favour of @standardnotes/domain-core definition

This commit is contained in:
Karol Sójko
2023-01-19 15:11:47 +01:00
parent 0e3cbfc40b
commit aaf42e4693
121 changed files with 196 additions and 439 deletions
@@ -1,4 +1,3 @@
import { Uuid } from '@standardnotes/common'
import { inject, injectable } from 'inversify'
import { Repository } from 'typeorm'
@@ -20,7 +19,7 @@ export class MySQLAnalyticsEntityRepository implements AnalyticsEntityRepository
.getOne()
}
async findOneByUserUuid(userUuid: Uuid): Promise<AnalyticsEntity | null> {
async findOneByUserUuid(userUuid: string): Promise<AnalyticsEntity | null> {
return this.ormRepository
.createQueryBuilder('analytics_entity')
.where('analytics_entity.user_uuid = :userUuid', { userUuid })