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 33c80ee
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 1 deletion.
10 changes: 10 additions & 0 deletions report/schemas.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,14 @@ export enum CatalogSortDirection {
DESC = "desc"
}

// Warning: (ae-missing-release-tag) "CatalystDeployment" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type CatalystDeployment = BaseEvent & {
type: EventType.CATALYST_DEPLOYMENT;
entity: Entity;
};

// @alpha
export enum ChainId {
// (undocumented)
Expand Down Expand Up @@ -832,6 +840,8 @@ export enum EventType {
// (undocumented)
BID_RECEIVED = "bid-received",
// (undocumented)
CATALYST_DEPLOYMENT = "catalyst-deployment",
// (undocumented)
ITEM_SOLD = "item-sold",
// (undocumented)
RENTAL_ENDED = "land-rental-ended",
Expand Down
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 33c80ee

Please sign in to comment.