(doc: ExternalDocument)
| 182 | |
| 183 | /** True when a stub has been flagged as skipped (e.g. oversized) via `markSkipped`. */ |
| 184 | export function isSkippedDocument(doc: ExternalDocument): boolean { |
| 185 | return doc.skippedReason !== undefined |
| 186 | } |
| 187 | |
| 188 | /** |
| 189 | * Applies a document cap (`maxFiles`/`maxObjects`/`maxRecordings`) to a page of |