feat(webui): govern actions, quick access, and metrics
Refs #264, #285, #289
This commit is contained in:
@@ -182,6 +182,7 @@ function productAreasFromMetadata(info: PlatformModuleInfo): ProductAreaContribu
|
||||
|
||||
function quickAccessToolsFromMetadata(info: PlatformModuleInfo): QuickAccessToolMetadata[] {
|
||||
return (info.frontend?.quick_access_tools ?? []).map((tool) => ({
|
||||
contractVersion: tool.contract_version,
|
||||
id: tool.id,
|
||||
moduleId: tool.module_id,
|
||||
categoryId: tool.category_id,
|
||||
@@ -194,7 +195,11 @@ function quickAccessToolsFromMetadata(info: PlatformModuleInfo): QuickAccessTool
|
||||
anyOf: tool.required_any,
|
||||
order: tool.order,
|
||||
defaultEnabled: tool.default_enabled,
|
||||
modes: tool.modes
|
||||
modes: tool.modes,
|
||||
availability: tool.availability,
|
||||
acceptedReferenceKinds: tool.accepted_reference_kinds,
|
||||
returnedReferenceKinds: tool.returned_reference_kinds,
|
||||
helpContextId: tool.help_context_id
|
||||
}));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user