refactor: remove Uuid and RoleName from @standardnotes/common in favour of @standardnotes/domain-core value objects (#2167)
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
import { Role } from '@standardnotes/security'
|
||||
import { Uuid } from '@standardnotes/common'
|
||||
|
||||
export type ResponseMeta = {
|
||||
auth: {
|
||||
userUuid?: Uuid
|
||||
userUuid?: string
|
||||
roles?: Role[]
|
||||
}
|
||||
server: {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { MicrosecondsTimestamp, Uuid } from '@standardnotes/common'
|
||||
import { MicrosecondsTimestamp } from '@standardnotes/common'
|
||||
|
||||
export type IntegrityPayload = {
|
||||
uuid: Uuid
|
||||
uuid: string
|
||||
updated_at_timestamp: MicrosecondsTimestamp
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ContentType, Uuid } from '@standardnotes/common'
|
||||
import { ContentType } from '@standardnotes/common'
|
||||
|
||||
export interface ServerItemResponse {
|
||||
content_type: ContentType
|
||||
@@ -6,7 +6,7 @@ export interface ServerItemResponse {
|
||||
created_at_timestamp: number
|
||||
created_at: Date
|
||||
deleted: boolean
|
||||
duplicate_of?: Uuid
|
||||
duplicate_of?: string
|
||||
enc_item_key: string
|
||||
items_key_id?: string
|
||||
updated_at_timestamp: number
|
||||
|
||||
Reference in New Issue
Block a user