(schema: Schema.Struct<Fields>)
| 47 | const SessionsAllQuery = Schema.Struct(SessionsQueryFields) |
| 48 | |
| 49 | const withCursor = <Fields extends Schema.Struct.Fields>(schema: Schema.Struct<Fields>) => |
| 50 | schema.mapFields((fields) => ({ |
| 51 | ...Struct.omit(fields, ["limit"]), |
| 52 | anchor: Session.ListAnchor, |
| 53 | })) |
| 54 | |
| 55 | const SessionsCursorInput = Schema.Union([ |
| 56 | withCursor(SessionsDirectoryQuery), |