mirror of
https://github.com/standardnotes/server
synced 2026-07-14 09:01:33 -04:00
* feat(syncing-server): associating existing items with key systems and shared vaults * fix(syncing-server): find item query * feat(syncing-server): add persistence of shared vaults with users and invites
10 lines
358 B
TypeScript
10 lines
358 B
TypeScript
import { Uuid } from '@standardnotes/domain-core'
|
|
|
|
import { KeySystemAssociation } from './KeySystemAssociation'
|
|
|
|
export interface KeySystemAssociationRepositoryInterface {
|
|
save(keySystem: KeySystemAssociation): Promise<void>
|
|
remove(keySystem: KeySystemAssociation): Promise<void>
|
|
findByItemUuid(itemUuid: Uuid): Promise<KeySystemAssociation | null>
|
|
}
|