Function: buildCleanupMap()
buildCleanupMap(
schema):ReadonlyMap<string, readonlyPreHashCleanup[]>
Defined in: packages/core/src/application/use-cases/_shared/compute-artifact-hash.ts:34
Builds a map of artifact type ID to pre-hash cleanup rules from a schema.
Only artifact types that declare at least one cleanup rule are included.
Parameters
schema
The resolved schema
Returns
ReadonlyMap<string, readonly PreHashCleanup[]>
Map of artifact type ID to cleanup rules