ADR-013 Phase 3: generic asset-panels renderer (Path A)
This commit is contained in:
@@ -297,7 +297,9 @@ class BasePlugin(ABC):
|
||||
'title': str, # panel heading
|
||||
'assettypes': List[str], # AssetType keys it appears on; ['*'] = all
|
||||
'endpoint': str, # data endpoint (may contain {assetid})
|
||||
'render': str, # 'keyvalue' | 'table' | 'badge'
|
||||
'render': str, # 'keyvalue' | 'table' | 'badge' | 'list'
|
||||
# ('list' takes a 'map' of title/badge/meta
|
||||
# keys, rendered generically - see warranty)
|
||||
'position': int, # order among panels
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user