fix: Show published count component in library content picker (#1481)

When using the library component picker, show the correct number on component count (published components) in collection cards.
This commit is contained in:
Chris Chávez
2024-11-19 16:10:00 -05:00
committed by GitHub
parent 0365e3809b
commit 624f5addcf
3 changed files with 30 additions and 3 deletions

View File

@@ -143,6 +143,7 @@ export interface ContentHit extends BaseContentHit {
export interface ContentPublishedData {
description?: string,
displayName?: string,
numChildren?: number,
}
/**
@@ -153,6 +154,7 @@ export interface CollectionHit extends BaseContentHit {
type: 'collection';
description: string;
numChildren?: number;
published?: ContentPublishedData;
}
/**