Security: calculate connect-source of specialVisualisations by argument, if applicable

This commit is contained in:
Pieter Vander Vennet 2023-11-19 16:31:58 +01:00
parent e4aedc9696
commit 29b1f5be4d
3 changed files with 38 additions and 9 deletions

View file

@ -88,7 +88,7 @@ export interface SpecialVisualization {
readonly funcName: string
readonly docs: string | BaseUIElement
readonly example?: string
readonly needsUrls: string[]
readonly needsUrls: string[] | ((args: string[]) => string)
/**
* Indicates that this special visualisation will make requests to the 'alLNodesDatabase' and that it thus should be included