Skip to content

Commit

Permalink
add new event types
Browse files Browse the repository at this point in the history
  • Loading branch information
borispoehland committed Aug 21, 2024
1 parent cb47d1c commit 8bcca0d
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/types/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,36 @@ export interface IEventDoc {
alternativeTitle?: string
}
}

export interface ITicketDoc {
dataType: 'event-ticket-profile'
eventId: string
name: string
description: string
profile: string
royalties: number
badgeColor: string
characteristics: {}
maxLimit: number
userLimit: number
soldCount: number
createdAt: number
id: string
}

export interface ITicketStageDoc {
ticketId: string
name: string
startTime: number
endTime: number
maxLimit: number
userLimit: number
isEnabled: boolean
isWhitelist: boolean
requiredApproval: boolean
prices: {
tokenIdentifier: string
tokenNonce: number
amount: string
}[]
}

0 comments on commit 8bcca0d

Please sign in to comment.