Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace types

Index

Type aliases

AllowedTransactionCallbackReturnTypes

AllowedTransactionCallbackReturnTypes: undefined | null | void | Document | (Document | null | undefined)[] | Record<string, Document | null | undefined>

BoundOperationMap

BoundOperationMap<T>: {[ P in keyof T]: OmitFirstArg<T[P]> }

Type parameters

ConnectionsMap

ConnectionsMap: Record<ConnectionFieldName, Connections>

Document

Document: { [DOCUMENT_CONNECTIONS_SYMBOL]: ConnectionsMap; [DOCUMENT_GRAPHQL_TYPENAME]: GraphQLTypeName; [DOCUMENT_KEY_SYMBOL]: DocumentKey; __typename: string }

Type declaration

DocumentKey

DocumentKey: string

DocumentPartial

DocumentPartial: Partial<Document>

DocumentStore

DocumentStore<Typename>: Record<Typename, Document[]>

Type parameters

  • Typename: string = string

GraphQLTypeName

GraphQLTypeName: string

HooksMap

HooksMap<OM>: { afterTransaction: Hook<OM>[]; beforeTransaction: Hook<OM>[] }

Type parameters

Type declaration

  • afterTransaction: Hook<OM>[]
  • beforeTransaction: Hook<OM>[]

KeyOrDocument

KeyOrDocument: DocumentKey | Document

OperationContext

OperationContext: { eventQueue: Event[]; schema: GraphQLSchema; store: DocumentStore }

Type declaration

PaperDocumentEvent

PaperDocumentEvent: PaperEvent & { document: Document }

PaperEvent

PaperEvent: Event & { name: string; store: DocumentStore }

Generated using TypeDoc