(options?: {
readonly entryTable?: string
readonly remotesTable?: string
})
| 311 | * @since 4.0.0 |
| 312 | */ |
| 313 | export const layer = (options?: { |
| 314 | readonly entryTable?: string |
| 315 | readonly remotesTable?: string |
| 316 | }): Layer.Layer<EventJournal.EventJournal, SqlError.SqlError, SqlClient.SqlClient> => |
| 317 | Layer.effect(EventJournal.EventJournal)(make(options)) |
| 318 | |
| 319 | const EntryRow = Schema.Struct({ |
| 320 | id: EventJournal.EntryId, |