MCPcopy Index your code
hub / github.com/anomalyco/opencode / streamDataSchema

Function streamDataSchema

packages/httpapi-codegen/src/index.ts:982–984  ·  view source on GitHub ↗
(schema: Extract<HttpApiSchema.StreamSchema, { readonly _tag: "StreamSse" }>)

Source from the content-addressed store, hash-verified

980}
981
982function streamDataSchema(schema: Extract<HttpApiSchema.StreamSchema, { readonly _tag: "StreamSse" }>) {
983 return Schema.make(streamDataAst(Schema.toType(schema.events).ast))
984}
985
986function streamEncodedDataSchema(schema: Extract<HttpApiSchema.StreamSchema, { readonly _tag: "StreamSse" }>) {
987 const data = streamDataAst(schema.events.ast)

Callers 3

responseSchemasFunction · 0.85
streamEffectPortableFunction · 0.85
renderSuccessFunction · 0.85

Calls 2

streamDataAstFunction · 0.85
makeMethod · 0.45

Tested by

no test coverage detected