MCPcopy Create free account
hub / github.com/apache/fory / buildAutoIdEnvelope

Function buildAutoIdEnvelope

integration_tests/idl_tests/javascript/roundtrip.ts:286–294  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

284}
285
286function buildAutoIdEnvelope(): Envelope {
287 const payload: Envelope.Payload = { value: 42 };
288 return {
289 id: "env-1",
290 payload,
291 detail: { case: Envelope.DetailCase.PAYLOAD, value: payload },
292 status: AutoIdStatus.OK,
293 };
294}
295
296function buildPrimitiveTypes(): PrimitiveTypes {
297 return {

Callers 1

runStandardRoundTripFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected