Skip to content

Function: parseActionFiles() ​

parseActionFiles(actionFileContents, contentTypes): ReadonlyMap<string, ActionFileInfo>

Defined in: cli/redcap-openapi/src/core/parsers/action-files.ts:70

Parse multiple action files from a map of content

Parameters ​

actionFileContents ​

ReadonlyMap<string, string>

Map of "contentType_action" to file content

contentTypes ​

readonly ContentTypeInfo[]

Array of content type info

Returns ​

ReadonlyMap<string, ActionFileInfo>

Map of action file information