(schema: Schema.Top)
| 1000 | } |
| 1001 | |
| 1002 | function streamEffectPortable(schema: Schema.Top) { |
| 1003 | if (!isStreamSchema(schema) || schema._tag === "StreamUint8Array" || schema.sseMode === "events") return true |
| 1004 | const rebuilt = HttpApiSchema.StreamSse({ |
| 1005 | data: streamDataSchema(schema), |
| 1006 | error: schema.error, |
| 1007 | contentType: schema.contentType, |
| 1008 | }) |
| 1009 | return sameEncoding(schema.events.ast, rebuilt.events.ast) |
| 1010 | } |
| 1011 | |
| 1012 | function renderGroup(group: Group, groupIndex: number) { |
| 1013 | const slots: Array<Slot> = [] |
no test coverage detected