Merge origin/main into close-gaps

This commit is contained in:
CRTkafa 2026-10-11 17:26:37 +00:00
commit 4d5686e593
15 changed files with 279 additions and 30 deletions

View file

@ -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;
}

View file

@ -113,7 +113,7 @@ export const WRAPPED: { apple: Record<string, string>; play: Record<string, stri
'bundleIdCapabilities_createInstance': 'lib/signing',
'bundleIds_createInstance': 'apple/bundle',
'bundleIds_getCollection': 'apple/adhoc apple/bundle apple/signing',
'bundleIds_profiles_getToManyRelated': 'apple/adhoc apple/signing',
'bundleIds_profiles_getToManyRelated': 'apple/adhoc lib/signing',
'certificates_createInstance': 'apple/signing lib/signing',
'certificates_getCollection': 'apple/adhoc apple/signing',
'customerReviewResponses_createInstance': 'lib/reviews',
@ -146,7 +146,7 @@ export const WRAPPED: { apple: Record<string, string>; play: Record<string, stri
'inAppPurchasesV2_offerCodes_getToManyRelated': 'apple/offer-codes',
'inAppPurchasesV2_pricePoints_getToManyRelated': 'apple/iap apple/offer-codes prices prices-ppp',
'inAppPurchasesV2_versions_getToManyRelated': 'apple/iap-submit',
'profiles_certificates_getToManyRelationship': 'apple/signing',
'profiles_certificates_getToManyRelationship': 'lib/signing',
'profiles_createInstance': 'apple/adhoc lib/signing',
'profiles_devices_getToManyRelated': 'apple/adhoc',
'profiles_getInstance': 'apple/signing',