Files
standardnotes-server/packages/syncing-server/src/Domain/Item/ItemFactoryInterface.ts
T

10 lines
337 B
TypeScript

import { Uuid } from '@standardnotes/common'
import { Item } from './Item'
import { ItemHash } from './ItemHash'
export interface ItemFactoryInterface {
create(dto: { userUuid: string; itemHash: ItemHash; sessionUuid: Uuid | null }): Item
createStub(dto: { userUuid: string; itemHash: ItemHash; sessionUuid: Uuid | null }): Item
}