A domain that implements the age-based retention `prune()` contract.
| 271 | |
| 272 | /** A domain that implements the age-based retention `prune()` contract. */ |
| 273 | interface PruneCapable { |
| 274 | prune(policies: Record<string, TableRetentionPolicy>, options?: PruneOptions): Promise<PruneResult[]>; |
| 275 | } |
| 276 | |
| 277 | function isPruneCapable(value: unknown): value is PruneCapable { |
| 278 | return typeof value === 'object' && value !== null && typeof (value as PruneCapable).prune === 'function'; |
no outgoing calls
no test coverage detected
searching dependent graphs…