Wrap fetchActionsMetadata in provider checking sessionToken
This commit is contained in:
@@ -28,10 +28,14 @@ import {defaultValueProviders} from "./value-providers/default";
|
||||
export type ValidationConfig = {
|
||||
valueProviderConfig?: ValueProviderConfig;
|
||||
contextProviderConfig?: ContextProviderConfig;
|
||||
fetchActionMetadata?(action: ActionReference): Promise<ActionMetadata | undefined>;
|
||||
actionsMetadataProvider?: ActionsMetadataProvider;
|
||||
fileProvider?: FileProvider;
|
||||
};
|
||||
|
||||
export type ActionsMetadataProvider = {
|
||||
fetchActionMetadata(action: ActionReference): Promise<ActionMetadata | undefined>;
|
||||
};
|
||||
|
||||
/**
|
||||
* Validates a workflow file
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user