Resolved Svelte check errors and modernized component event handling.
Implemented Svelte 5 callback props (onsuccess, oncancel) for Badge create and upload forms, replacing legacy dispatchers. Updated the AE Field Editor to accept an optional 'id' prop, resolving property mismatch errors. Updated the Event Settings page to use the new callback prop interface, clearing type assignment errors reported by 'npm run check'.
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
interface Props {
|
||||
// Core Identifiers
|
||||
id?: string;
|
||||
object_type: string;
|
||||
object_id: string;
|
||||
field_name: string;
|
||||
@@ -42,6 +43,7 @@
|
||||
}
|
||||
|
||||
let {
|
||||
id,
|
||||
object_type,
|
||||
object_id,
|
||||
field_name,
|
||||
|
||||
Reference in New Issue
Block a user