Skip to content

Commit 7b46663

Browse files
committed
Fix item assets property of stac types
1 parent 7be37be commit 7b46663

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/types/stac.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export type Item = {
9090
type: 'Feature';
9191
properties: GenericObject;
9292
links: Link[];
93-
assets: ItemAsset[];
93+
assets: Record<string, ItemAsset>;
9494
};
9595

9696
type Role = 'licensor' | 'producer' | 'processor' | 'host';
@@ -126,7 +126,7 @@ export type Collection = {
126126
providers: Provider[];
127127
extent: Extent;
128128
links: Link[];
129-
assets: GenericObject;
129+
assets: Record<string, ItemAsset>;
130130
};
131131

132132
export type CollectionsResponse = {

0 commit comments

Comments
 (0)