refactor(editor): Fix TypeScript issues in views (no-changelog) (#9573)

This commit is contained in:
Elias Meire
2024-05-31 15:52:00 +02:00
committed by GitHub
parent 327794127e
commit e23420d89d
15 changed files with 89 additions and 70 deletions

View File

@@ -250,7 +250,7 @@ export interface IWorkflowData {
export interface IWorkflowDataUpdate {
id?: string;
name?: string;
nodes?: INode[];
nodes?: Array<INode | IWorkflowTemplateNode>;
connections?: IConnections;
settings?: IWorkflowSettings;
active?: boolean;
@@ -363,6 +363,7 @@ export interface ICredentialsResponse extends ICredentialsEncrypted {
homeProject?: ProjectSharingData;
currentUserHasAccess?: boolean;
scopes?: Scope[];
ownedBy?: Pick<IUserResponse, 'id' | 'firstName' | 'lastName' | 'email'>;
}
export interface ICredentialsBase {