MCPcopy Create free account
hub / github.com/Effect-TS/effect / WriteEntries

Class WriteEntries

packages/effect/src/unstable/eventlog/EventLogMessage.ts:270–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268 * @since 4.0.0
269 */
270export 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.

Callers

nothing calls this directly

Calls 1

schemaMethod · 0.45

Tested by

no test coverage detected