@junobuild/core 0.0.51 → 0.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -94,11 +94,17 @@ export interface Asset extends AssetKey {
|
|
|
94
94
|
* @interface
|
|
95
95
|
* @extends {Pick<ListResults<AssetNoContent>, 'items_length' | 'items_page' | 'matches_length' | 'matches_pages'>}
|
|
96
96
|
*/
|
|
97
|
-
export interface Assets extends
|
|
97
|
+
export interface Assets extends Omit<ListResults<AssetNoContent>, 'items'> {
|
|
98
98
|
/**
|
|
99
99
|
* The collection of assets.
|
|
100
100
|
* @type {Asset[]}
|
|
101
101
|
*/
|
|
102
|
+
items: Asset[];
|
|
103
|
+
/**
|
|
104
|
+
* The collection of assets. Duplicates items for backwards compatibility. It will ultimately be removed.
|
|
105
|
+
* @deprecated Use {@link items} instead.
|
|
106
|
+
* @type {Asset[]}
|
|
107
|
+
*/
|
|
102
108
|
assets: Asset[];
|
|
103
109
|
}
|
|
104
110
|
/**
|