import { Entity } from '@backstage/catalog-model'; export type RecursivePartial = { [P in keyof T]?: T[P] extends (infer U)[] ? RecursivePartial[] : T[P] extends object ? RecursivePartial : T[P]; }; export type PartialEntity = RecursivePartial;