Skip to content

Commit

Permalink
feat: NavigatedEvent type created
Browse files Browse the repository at this point in the history
  • Loading branch information
markuczy committed Oct 22, 2024
1 parent dd0443e commit 049e1ce
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions libs/integration-interface/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ export * from './lib/topics/permissions-rpc/v1/permissions-rpc.model'

export * from './lib/topics/events/v1/events-topic'
export * from './lib/topics/events/v1/topic-event-type'
export * from './lib/topics/events/v1/navigated-event-type'
export * from './lib/topics/events/v1/navigated-event-payload'
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { NavigatedEventPayload } from './navigated-event-payload'

export type NavigatedEvent = { type: 'navigated'; payload: NavigatedEventPayload }
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export type TopicEventType = { type: string; payload?: unknown | undefined }
import { NavigatedEvent } from './navigated-event-type'

export type TopicEventType = NavigatedEvent | { type: string; payload?: unknown | undefined }

0 comments on commit 049e1ce

Please sign in to comment.