Files
standardnotes-server/packages/syncing-server/src/Projection/ProjectorInterface.ts
T

6 lines
210 B
TypeScript

export interface ProjectorInterface<T, E> {
projectSimple(object: T): Promise<Partial<E>>
projectFull(object: T): Promise<E>
projectCustom(projectionType: string, object: T, ...args: any[]): Promise<E>
}