Skip to content

Commit

Permalink
feat: expose CatalystDeployment type
Browse files Browse the repository at this point in the history
  • Loading branch information
aleortega committed Jul 16, 2024
1 parent acae993 commit a506bab
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/platform/events/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ export enum EventType {
ITEM_SOLD = 'item-sold',
RENTAL_ENDED = 'land-rental-ended',
RENTAL_STARTED = 'land-rental-started',
ROYALTIES_EARNED = 'royalties-earned'
ROYALTIES_EARNED = 'royalties-earned',
CATALYST_DEPLOYMENT = 'catalyst-deployment'
}

export type BaseEvent = {
Expand Down
7 changes: 7 additions & 0 deletions src/platform/events/catalyst.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { Entity } from '../entity'
import { BaseEvent, EventType } from './base'

export type CatalystDeployment = BaseEvent & {
type: EventType.CATALYST_DEPLOYMENT
entity: Entity
}
1 change: 1 addition & 0 deletions src/platform/events/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export * from './base'
export * from './blockchain'
export * from './catalyst'

0 comments on commit a506bab

Please sign in to comment.