| 268 | * @since 4.0.0 |
| 269 | */ |
| 270 | export class WriteEntries extends Schema.Class<WriteEntries>("effect/eventlog/EventLogRemote/WriteEntries")({ |
| 271 | publicKey: Schema.String, |
| 272 | storeId: StoreId, |
| 273 | encryptedEntries: Schema.Array(EncryptedEntry) |
| 274 | }) { |
| 275 | static FromMsgpack = Msgpack.schema(WriteEntries) |
| 276 | static encode = Schema.encodeEffect(this.FromMsgpack) |
| 277 | static decode = Schema.decodeEffect(this.FromMsgpack) |
| 278 | get encoded() { |
| 279 | return WriteEntries.encode(this) |
| 280 | } |
| 281 | } |
| 282 | |
| 283 | /** |
| 284 | * Schema for plaintext event-log write payloads sent to a remote store. |