Prometheus Entity Management API
    Preparing search index...
    • Read/write UI-only fields for one entity (patches layer) so selection, hover, or transient state is visible in every view that reads that id. Does not replace useEntityCRUD’s edit buffer for form drafts — patches are for shared, non-persisted overlays.

      Type Parameters

      • TEntity extends object

      Parameters

      • type: string

        Entity kind

      • id: string | null | undefined

        Entity id (no-ops when null/undefined)

      Returns {
          augment: (fields: Partial<TEntity>) => void;
          clear: () => void;
          patch: Partial<TEntity> | null;
          unaugment: (keys: (keyof TEntity)[]) => void;
      }

      Current patch slice and helpers augment / unaugment / clear