mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(editor): Fix type errors in TriggerPanel.vue (no-changelog) (#9578)
This commit is contained in:
committed by
GitHub
parent
05f50c1926
commit
9419c28ff3
@@ -1766,29 +1766,19 @@ export interface INodeTypeDescription extends INodeTypeBaseDescription {
|
||||
webhooks?: IWebhookDescription[];
|
||||
translation?: { [key: string]: object };
|
||||
mockManualExecution?: true;
|
||||
triggerPanel?:
|
||||
| {
|
||||
hideContent?: boolean | string;
|
||||
header?: string;
|
||||
executionsHelp?:
|
||||
| string
|
||||
| {
|
||||
active: string;
|
||||
inactive: string;
|
||||
};
|
||||
activationHint?:
|
||||
| string
|
||||
| {
|
||||
active: string;
|
||||
inactive: string;
|
||||
};
|
||||
}
|
||||
| boolean;
|
||||
triggerPanel?: TriggerPanelDefinition | boolean;
|
||||
extendsCredential?: string;
|
||||
hints?: NodeHint[];
|
||||
__loadOptionsMethods?: string[]; // only for validation during build
|
||||
}
|
||||
|
||||
export type TriggerPanelDefinition = {
|
||||
hideContent?: boolean | string;
|
||||
header?: string;
|
||||
executionsHelp?: string | { active: string; inactive: string };
|
||||
activationHint?: string | { active: string; inactive: string };
|
||||
};
|
||||
|
||||
export type NodeHint = {
|
||||
message: string;
|
||||
type?: 'info' | 'warning' | 'danger';
|
||||
|
||||
Reference in New Issue
Block a user