AssetItem
Defined in: src/components/editor/AssetBrowser/AssetBrowser.types.ts:27
A single entry shown in the current folder (file OR sub-folder).
Properties
Section titled “Properties”assetType?
Section titled “assetType?”
optionalassetType?:AssetType
Defined in: src/components/editor/AssetBrowser/AssetBrowser.types.ts:35
Consumer-defined category; drives the fallback icon and the type filter.
disabled?
Section titled “disabled?”
optionaldisabled?:boolean
Defined in: src/components/editor/AssetBrowser/AssetBrowser.types.ts:53
Dim + non-interactive.
draggable?
Section titled “draggable?”
optionaldraggable?:boolean
Defined in: src/components/editor/AssetBrowser/AssetBrowser.types.ts:49
Default true. When false, the item cannot be dragged.
droppable?
Section titled “droppable?”
optionaldroppable?:boolean
Defined in: src/components/editor/AssetBrowser/AssetBrowser.types.ts:51
Default: true for folders, false for files. Can items be dropped onto it?
optionalicon?:ReactNode
Defined in: src/components/editor/AssetBrowser/AssetBrowser.types.ts:39
Explicit icon override (files without a thumbnail, and folders).
id:
string
Defined in: src/components/editor/AssetBrowser/AssetBrowser.types.ts:29
Stable unique id within the browser.
kind:
AssetKind
Defined in: src/components/editor/AssetBrowser/AssetBrowser.types.ts:33
Drives navigation vs. open behaviour.
optionalmeta?:Record<string,unknown>
Defined in: src/components/editor/AssetBrowser/AssetBrowser.types.ts:45
Arbitrary consumer payload (dimensions, tags, GUID, …).
modifiedAt?
Section titled “modifiedAt?”
optionalmodifiedAt?:number|Date
Defined in: src/components/editor/AssetBrowser/AssetBrowser.types.ts:43
Last-modified timestamp — feeds the list “Modified” column and date sort.
name:
string
Defined in: src/components/editor/AssetBrowser/AssetBrowser.types.ts:31
Display name.
selectable?
Section titled “selectable?”
optionalselectable?:boolean
Defined in: src/components/editor/AssetBrowser/AssetBrowser.types.ts:47
Default true. When false, the item cannot be selected.
optionalsize?:number
Defined in: src/components/editor/AssetBrowser/AssetBrowser.types.ts:41
Size in bytes — feeds the list “Size” column and size sort.
thumbnailUrl?
Section titled “thumbnailUrl?”
optionalthumbnailUrl?:string
Defined in: src/components/editor/AssetBrowser/AssetBrowser.types.ts:37
Image thumbnail URL for grid view.