(options?: {
readonly eventLogTable?: string
readonly remotesTable?: string
})
| 278 | * @category layers |
| 279 | */ |
| 280 | export const layer = (options?: { |
| 281 | readonly eventLogTable?: string |
| 282 | readonly remotesTable?: string |
| 283 | }): Layer.Layer<EventJournal.EventJournal, SqlError, SqlClient.SqlClient> => |
| 284 | Layer.effect(EventJournal.EventJournal, make(options)) |
| 285 | |
| 286 | const EntrySqlPg = Schema.Struct({ |
| 287 | id: Schema.Uint8ArrayFromSelf, |