EntityPolicy
Home > @backstage/catalog-model
> EntityPolicy
A policy for validation or mutation to be applied to entities as they are entering the system.
Signature:
export type EntityPolicy = {
enforce(entity: Entity): Promise<Entity | undefined>;
};
References: Entity