Function
pageFields
(
page: PageRef | undefined
)
Source from the content-addressed store, hash-verified
| 4303 | |
| 4304 | /** The `page` and `cursor` of a list's `FetchEvent`. */ |
| 4305 | const pageFields = ( |
| 4306 | page: PageRef | undefined |
| 4307 | ): { readonly page?: number; readonly cursor?: Schema.Json } => |
| 4308 | page === undefined |
| 4309 | ? {} |
| 4310 | : page.cursor === undefined |
| 4311 | ? { page: page.page } |
| 4312 | : { page: page.page, cursor: page.cursor } |
| 4313 | |
| 4314 | /** @internal */ |
| 4315 | export const sameMore = ( |
Tested by
no test coverage detected