chore: vault tests refactors and lint (#2374)
This commit is contained in:
@@ -3,7 +3,7 @@ import { ApiEndpointParam } from './ApiEndpointParam'
|
||||
import { ConflictParams } from './ConflictParams'
|
||||
import { ServerItemResponse } from './ServerItemResponse'
|
||||
import { SharedVaultServerHash } from '../SharedVaults/SharedVaultServerHash'
|
||||
import { UserEventServerHash } from '../UserEvent/UserEventServerHash'
|
||||
import { NotificationServerHash } from '../Notification/NotificationServerHash'
|
||||
import { AsymmetricMessageServerHash } from '../AsymmetricMessage/AsymmetricMessageServerHash'
|
||||
|
||||
export type RawSyncData = {
|
||||
@@ -16,7 +16,7 @@ export type RawSyncData = {
|
||||
unsaved?: ConflictParams[]
|
||||
shared_vaults?: SharedVaultServerHash[]
|
||||
shared_vault_invites?: SharedVaultInviteServerHash[]
|
||||
notifications?: UserEventServerHash[]
|
||||
notifications?: NotificationServerHash[]
|
||||
messages?: AsymmetricMessageServerHash[]
|
||||
status?: number
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export type UserEventServerHash = {
|
||||
export type NotificationServerHash = {
|
||||
uuid: string
|
||||
user_uuid: string
|
||||
type: string
|
||||
@@ -66,4 +66,4 @@ export * from './User/PostSubscriptionTokensResponse'
|
||||
export * from './User/SettingData'
|
||||
export * from './User/UpdateSettingResponse'
|
||||
|
||||
export * from './UserEvent/UserEventServerHash'
|
||||
export * from './Notification/NotificationServerHash'
|
||||
|
||||
Reference in New Issue
Block a user