mirror of
https://github.com/standardnotes/server
synced 2026-10-16 09:13:26 -04:00
10 lines
337 B
TypeScript
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
|
|
}
|