mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 20:00:02 +00:00
refactor(core): Update dynamic node parameter endpoints to use DTOs (#12379)
This commit is contained in:
committed by
GitHub
parent
f08db47077
commit
1674dd0f88
@@ -27,9 +27,6 @@ import type {
|
||||
IWorkflowSettings as IWorkflowSettingsWorkflow,
|
||||
WorkflowExecuteMode,
|
||||
PublicInstalledPackage,
|
||||
INodeTypeNameVersion,
|
||||
ILoadOptions,
|
||||
INodeCredentials,
|
||||
INodeListSearchItems,
|
||||
NodeParameterValueType,
|
||||
IDisplayOptions,
|
||||
@@ -1266,35 +1263,6 @@ export type NodeAuthenticationOption = {
|
||||
displayOptions?: IDisplayOptions;
|
||||
};
|
||||
|
||||
export declare namespace DynamicNodeParameters {
|
||||
interface BaseRequest {
|
||||
path: string;
|
||||
nodeTypeAndVersion: INodeTypeNameVersion;
|
||||
currentNodeParameters: INodeParameters;
|
||||
methodName?: string;
|
||||
credentials?: INodeCredentials;
|
||||
}
|
||||
|
||||
interface OptionsRequest extends BaseRequest {
|
||||
loadOptions?: ILoadOptions;
|
||||
}
|
||||
|
||||
interface ResourceLocatorResultsRequest extends BaseRequest {
|
||||
methodName: string;
|
||||
filter?: string;
|
||||
paginationToken?: string;
|
||||
}
|
||||
|
||||
interface ResourceMapperFieldsRequest extends BaseRequest {
|
||||
methodName: string;
|
||||
}
|
||||
|
||||
interface ActionResultRequest extends BaseRequest {
|
||||
handler: string;
|
||||
payload: IDataObject | string | undefined;
|
||||
}
|
||||
}
|
||||
|
||||
export interface EnvironmentVariable {
|
||||
id: string;
|
||||
key: string;
|
||||
|
||||
Reference in New Issue
Block a user