mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor(editor): Standardize how we use defineEmits in components using the composition API (no-changelog) (#9934)
This commit is contained in:
@@ -215,11 +215,11 @@ const props = withDefaults(defineProps<Props>(), {
|
||||
credentialPermissions: () => ({}) as PermissionsMap<CredentialScope>,
|
||||
});
|
||||
const emit = defineEmits<{
|
||||
(event: 'update', value: IUpdateInformation): void;
|
||||
(event: 'authTypeChanged', value: string): void;
|
||||
(event: 'scrollToTop'): void;
|
||||
(event: 'retest'): void;
|
||||
(event: 'oauth'): void;
|
||||
update: [value: IUpdateInformation];
|
||||
authTypeChanged: [value: string];
|
||||
scrollToTop: [];
|
||||
retest: [];
|
||||
oauth: [];
|
||||
}>();
|
||||
|
||||
const credentialsStore = useCredentialsStore();
|
||||
|
||||
Reference in New Issue
Block a user