mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat(Set Node): Overhaul (#6348)
Github issue / Community forum post (link here to close automatically): https://github.com/n8n-io/n8n/pull/6348 --------- Co-authored-by: Giulio Andreini <g.andreini@gmail.com> Co-authored-by: Marcus <marcus@n8n.io>
This commit is contained in:
@@ -571,7 +571,10 @@ export interface IN8nRequestOperationPaginationOffset extends IN8nRequestOperati
|
||||
}
|
||||
|
||||
export interface IGetNodeParameterOptions {
|
||||
// extract value from regex, works only when parameter type is resourceLocator
|
||||
extractValue?: boolean;
|
||||
// get raw value of parameter with unresolved expressions
|
||||
rawExpressions?: boolean;
|
||||
}
|
||||
|
||||
namespace ExecuteFunctions {
|
||||
@@ -1119,6 +1122,12 @@ export interface INodeProperties {
|
||||
modes?: INodePropertyMode[];
|
||||
requiresDataPath?: 'single' | 'multiple';
|
||||
doNotInherit?: boolean;
|
||||
// set expected type for the value which would be used for validation and type casting
|
||||
validateType?: FieldType;
|
||||
// works only if validateType is set
|
||||
// allows to skip validation during execution or set custom validation/casting logic inside node
|
||||
// inline error messages would still be shown in UI
|
||||
ignoreValidationDuringExecution?: boolean;
|
||||
}
|
||||
|
||||
export interface INodePropertyModeTypeOptions {
|
||||
@@ -1206,7 +1215,6 @@ export interface INodePropertyValueExtractorFunction {
|
||||
value: string | NodeParameterValue,
|
||||
): Promise<string | NodeParameterValue> | (string | NodeParameterValue);
|
||||
}
|
||||
|
||||
export type INodePropertyValueExtractor = INodePropertyValueExtractorRegex;
|
||||
|
||||
export interface IParameterDependencies {
|
||||
|
||||
Reference in New Issue
Block a user