diff --git a/plugins/events-node/src/api/EventParams.ts b/plugins/events-node/src/api/EventParams.ts index 9cd88b160f..19a562aee0 100644 --- a/plugins/events-node/src/api/EventParams.ts +++ b/plugins/events-node/src/api/EventParams.ts @@ -14,12 +14,10 @@ * limitations under the License. */ -import { JsonValue } from '@backstage/types'; - /** * @public */ -export interface EventParams { +export interface EventParams { /** * Topic for which this event should be published. */ @@ -31,5 +29,5 @@ export interface EventParams { /** * Metadata (e.g., HTTP headers and similar for events received from external). */ - metadata?: { [name in string]?: string | string[] }; + metadata?: Record; }