File size: 721 Bytes
c7a38a3
 
 
1fe7075
 
 
 
c7a38a3
 
 
 
 
1fe7075
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
export const TILE_VISIBILITIES = ['public', 'admin'] as const;
export type TileVisibilityValue = (typeof TILE_VISIBILITIES)[number];

export interface CatalogEntry {
  slug: string;
  name: string;
  collection: string | null;
  /** Supplier brand and owning organization; null for the shared demo tiles. */
  brand?: string | null;
  organization?: string | null;
  /** Defaults to `public`. `admin` tiles are only listed for users with role=admin. */
  visibility?: TileVisibilityValue;
  surfaces: string[];
  widthMm: number | null;
  heightMm: number | null;
  position: number | null;
  imageUrl: string | null;
  thumbnailUrl: string | null;
  assets: Record<string, unknown>;
  render: Record<string, unknown>;
}