EventJournal
Entry
Signature
declare class Entry extends { [key: string]: any;} { [key: string]: any; constructor(...args: [props?: { [key: string]: any; }, options?: MakeOptions]); static arrayMsgPack: $Array<any>; static decodeArray: (self: Constraint) => decodeTo<toType<Constraint>, Constraint, never, never>; static encodeArray: (self: Constraint) => decodeTo<Constraint, toEncoded<Constraint>, never, never>; createdAt: Utc; createdAtMillis: number; idString: string;}Signature
declare const EntryId: anySignature
type EntryId = typeof EntryId.TypeentryIdMillis
Added in v1.0.0
Source
Signature
declare function entryIdMillis(entryId: any): numberEntryIdTypeId
Added in v1.0.0
Source
Signature
declare const EntryIdTypeId: unique symbolmakeEntryId
Added in v1.0.0
Source
Signature
declare function makeEntryId(options: { msecs?: number;}): anyRemoteEntry
Added in v1.0.0
Source
Signature
declare class RemoteEntry extends { readonly entry: Entry; readonly remoteSequence: number;} { constructor(...args: [props: { readonly entry: Entry; readonly remoteSequence: number; }, options?: MakeOptions]);}Errors
ErrorTypeId
Added in v1.0.0
Source
Signature
declare const ErrorTypeId: unique symbolErrorTypeId type
Added in v1.0.0
Source
Signature
type ErrorTypeId = typeof ErrorTypeIdEventJournalError
Added in v1.0.0
Source
Signature
declare class EventJournalError extends { [key: string]: unknown; [key: number]: unknown; [key: symbol]: unknown; readonly _tag: "EventJournalError";} { [key: string]: unknown; [key: number]: unknown; [key: symbol]: unknown; constructor(...args: [props: { [key: string]: unknown; [key: number]: unknown; [key: symbol]: unknown; readonly _tag: "EventJournalError"; }, options?: MakeOptions]); readonly [ErrorTypeId]: typeof ErrorTypeId;}Indexed Db
layerIndexedDb
Added in v1.0.0
Source
Signature
declare function layerIndexedDb(options?: { readonly database?: string;}): Layer<EventJournal, EventJournalError>makeIndexedDb
Added in v1.0.0
Source
Signature
declare function makeIndexedDb(options?: { readonly database?: string;}): Effect<any, EventJournalError, Scope>Memory
layerMemory
Added in v1.0.0
Source
Signature
declare const layerMemory: Layer.Layer<EventJournal>makeMemory
Added in v1.0.0
Source
Signature
declare const makeMemory: Effect.Effect<typeof EventJournal.Service>Remote
makeRemoteId
Added in v1.0.0
Source
Signature
declare function makeRemoteId(): anySignature
declare const RemoteId: anySignature
type RemoteId = typeof RemoteId.TypeRemoteIdTypeId
Added in v1.0.0
Source
Signature
declare const RemoteIdTypeId: unique symbol