live read run fixes: Xcode-managed profiles in signing, TestFlight-only release trains, scan skips agent worktrees and takes an absolute --config, --all-pages paging meta, iap-submit json, report hints
This commit is contained in:
parent
0856f2d1b2
commit
3a775f7808
15 changed files with 282 additions and 30 deletions
|
|
@ -250,6 +250,12 @@ export function mergePages(a: Record<string, unknown>, b: Record<string, unknown
|
|||
delete out.nextPageToken;
|
||||
if (out.tokenPagination) delete out.tokenPagination;
|
||||
if (out.links && typeof out.links === 'object') out.links = { ...(out.links as Record<string, unknown>), next: undefined };
|
||||
// Apple's paging meta of the first page ("nextCursor", the page limit) would say there is more: keep only the total
|
||||
const meta = out.meta as { paging?: Record<string, unknown> } | undefined;
|
||||
if (meta?.paging && typeof meta.paging === 'object') {
|
||||
const { nextCursor: _c, limit: _l, ...rest } = meta.paging;
|
||||
out.meta = { ...meta, paging: rest };
|
||||
}
|
||||
return out;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue