feat: Show warning message when removing last sharee that has access to credentials (no-changelog) (#4811)

* feat: add custom message when removing last credential accessor

* chore: remove unused imports

* chore: undo config schema changes

* fix: remove hash from interface
This commit is contained in:
Alex Grozav
2022-12-07 14:49:55 +02:00
committed by GitHub
parent c60e883640
commit 1fc17b5d81
3 changed files with 39 additions and 4 deletions

View File

@@ -37,7 +37,6 @@ import {
NodeParameterValueType,
} from 'n8n-workflow';
import { FAKE_DOOR_FEATURES } from './constants';
import {ICredentialsDb} from "n8n";
export * from 'n8n-design-system/src/types';
@@ -314,7 +313,7 @@ export interface IWorkflowDb {
sharedWith?: Array<Partial<IUser>>;
ownedBy?: Partial<IUser>;
versionId: string;
usedCredentials?: Array<Partial<ICredentialsDb>>;
usedCredentials?: Array<Partial<ICredentialsResponse>>;
}
// Identical to cli.Interfaces.ts