mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 19:11:13 +00:00
refactor: rename NodeVersionedType to VersionedNodeType and move it to the workflow package (#4443)
This commit is contained in:
committed by
GitHub
parent
adef6d7083
commit
5c9b40117a
@@ -1144,7 +1144,7 @@ export interface INodeType {
|
||||
};
|
||||
}
|
||||
|
||||
export interface INodeVersionedType {
|
||||
export interface IVersionedNodeType {
|
||||
nodeVersions: {
|
||||
[key: number]: INodeType;
|
||||
};
|
||||
@@ -1423,7 +1423,7 @@ export type WebhookResponseMode = 'onReceived' | 'lastNode';
|
||||
export interface INodeTypes {
|
||||
nodeTypes: INodeTypeData;
|
||||
init(nodeTypes?: INodeTypeData): Promise<void>;
|
||||
getAll(): Array<INodeType | INodeVersionedType>;
|
||||
getAll(): Array<INodeType | IVersionedNodeType>;
|
||||
getByNameAndVersion(nodeType: string, version?: number): INodeType | undefined;
|
||||
}
|
||||
|
||||
@@ -1436,7 +1436,7 @@ export interface ICredentialTypeData {
|
||||
|
||||
export interface INodeTypeData {
|
||||
[key: string]: {
|
||||
type: INodeType | INodeVersionedType;
|
||||
type: INodeType | IVersionedNodeType;
|
||||
sourcePath: string;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user