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,8 +1,7 @@
import { Uuid } from '@standardnotes/common'
import { IntegrityPayload } from '@standardnotes/payloads'
export type CheckIntegrityDTO = {
userUuid: Uuid
userUuid: string
integrityPayloads: IntegrityPayload[]
freeUser: boolean
}
@@ -1,6 +1,4 @@
import { Uuid } from '@standardnotes/common'
export type GetItemDTO = {
userUuid: Uuid
itemUuid: Uuid
userUuid: string
itemUuid: string
}
@@ -1,4 +1,3 @@
import { Uuid } from '@standardnotes/common'
import { ItemHash } from '../Item/ItemHash'
export type SyncItemsDTO = {
@@ -11,5 +10,5 @@ export type SyncItemsDTO = {
contentType?: string
apiVersion: string
readOnlyAccess: boolean
sessionUuid: Uuid | null
sessionUuid: string | null
}