Fix cross app installation (#18151)

# Introduction
- Fixing app dependencyFlatEntityMaps load ( to load current app +
dependent app )
- Fix empty flat entity maps and undefined optimistic override
- Refactor the optimistic rendering to be mutation oriented at
orchestrator level
This commit is contained in:
Paul Rastoin
2026-02-23 19:58:06 +01:00
committed by GitHub
parent 0d4fe4575b
commit af0af0a237
24 changed files with 481 additions and 571 deletions
@@ -11,6 +11,10 @@ type MetadataRequiredForValidation = {
};
};
export type MetadataRelatedMetadataNameForValidation<
T extends AllMetadataName,
> = keyof (typeof ALL_METADATA_REQUIRED_METADATA_FOR_VALIDATION)[T];
// TODO deprecate in favor of ALL_METADATA_SERIALIZED_RELATION
export const ALL_METADATA_REQUIRED_METADATA_FOR_VALIDATION = {
fieldMetadata: {
@@ -12,6 +12,9 @@ type MetadataSerializedRelationProperties = {
: Partial<Record<AllMetadataName, true>>;
};
export type MetadataSerializedRelatedMetadataName<T extends AllMetadataName> =
keyof (typeof ALL_METADATA_SERIALIZED_RELATION)[T];
export const ALL_METADATA_SERIALIZED_RELATION = {
agent: {},
skill: {},