(options?: {
readonly primaryKey?: string | undefined
readonly payloadSize?: number | undefined
})
| 135 | }) |
| 136 | |
| 137 | const makeEntry = (options?: { |
| 138 | readonly primaryKey?: string | undefined |
| 139 | readonly payloadSize?: number | undefined |
| 140 | }): EventJournal.Entry => |
| 141 | new EventJournal.Entry({ |
| 142 | id: EventJournal.makeEntryIdUnsafe(), |
| 143 | event: "UserCreated", |
| 144 | primaryKey: options?.primaryKey ?? "user-1", |
| 145 | payload: new Uint8Array(options?.payloadSize ?? 4).fill(1) |
| 146 | }) |
| 147 | |
| 148 | const defaultStoreId = EventLogMessage.StoreId.make("default") |
| 149 | const remoteId = EventJournal.makeRemoteIdUnsafe() |
no outgoing calls
no test coverage detected