From a7049ca42000ba6a6dda2b2db427da61076d2059 Mon Sep 17 00:00:00 2001 From: Kir_Antipov Date: Thu, 23 Feb 2023 11:29:54 +0000 Subject: [PATCH] Added `actions` module --- src/utils/actions/index.ts | 93 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 src/utils/actions/index.ts diff --git a/src/utils/actions/index.ts b/src/utils/actions/index.ts new file mode 100644 index 0000000..0acc456 --- /dev/null +++ b/src/utils/actions/index.ts @@ -0,0 +1,93 @@ +export { + ActionGroup, + + DEFAULT_ACTION_GROUP_DELIMITER, +} from "./action-group"; + +export { + ActionInput, + + getActionInput, + getActionInputs, + setActionInput, + setActionInputs, + getAllActionInputs, + getAllActionInputsAsObject, + getAllActionInputsAsObjectUsingMetadata, + + SYNTHETIC_UNDEFINED, +} from "./action-input"; + +export { + ActionInputDescriptor, + + getActionInputDescriptor, + getActionInputDescriptors, +} from "./action-input-descriptor"; + +export { + ActionMetadata, + + parseActionMetadataFromFile, + parseActionMetadataFromString, + + processActionMetadataTemplate, + processActionMetadataTemplateFile, + processActionMetadataTemplateString, + + createTypeScriptDefinitionForActionMetadata, + createModuleLoaderTypeScriptDefinitionForActionMetadata, +} from "./action-metadata"; + +export { + ActionOutput, + ActionOutputControllerOptions, + + getActionOutput, + getActionOutputs, + getAllActionOutputs, + setActionOutput, + setActionOutputs, + + createActionOutputController, + createActionOutputControllerUsingMetadata, +} from "./action-output"; + +export { + ActionOutputDescriptor, + + getActionOutputDescriptor, + getActionOutputDescriptors, +} from "./action-output-descriptor"; + +export { + ActionParameter, + + normalizeActionParameterName, +} from "./action-parameter"; + +export { + ActionParameterDescriptor, + ActionParameterDescriptorExtractionOptions, + + getActionParameterDescriptor, + getActionParameterDescriptors, +} from "./action-parameter-descriptor"; + +export { + ActionParameterFactoryOptions, +} from "./action-parameter-factory-options"; + +export { + ActionParameterPathParser, + + IDENTITY_ACTION_PARAMETER_PATH_PARSER, + SPLIT_BY_WORDS_ACTION_PARAMETER_PATH_PARSER, + SPLIT_BY_WORDS_AND_GROUP_ACTION_PARAMETER_PATH_PARSER, +} from "./action-parameter-path-parser"; + +export { + ActionParameterTypeDescriptor, + + parseActionParameterTypeDescriptor, +} from "./action-parameter-type-descriptor";