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:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user