Skip to content

DoCurious API Reference / types / ChallengeEvent

Interface: ChallengeEvent

Defined in: types/event.types.ts:7

Base interface for all persisted domain entities, providing a UUID and timestamps.

Remarks

Nearly every domain type in the application extends BaseEntity. The id field is mapped from the backend's uuid column by the adapter layer.

Extends

Properties

capacity

capacity: number

Defined in: types/event.types.ts:15


challengeId

challengeId: string

Defined in: types/event.types.ts:8


createdAt

createdAt: string

Defined in: types/common.types.ts:154

ISO 8601 datetime when the entity was created

Inherited from

BaseEntity.createdAt


currency

currency: string

Defined in: types/event.types.ts:19


description?

optional description: string

Defined in: types/event.types.ts:10


endDate

endDate: string

Defined in: types/event.types.ts:12


id

id: string

Defined in: types/common.types.ts:167

Inherited from

BaseEntity.id


isOnline

isOnline: boolean

Defined in: types/event.types.ts:14


location

location: string

Defined in: types/event.types.ts:13


price

price: number

Defined in: types/event.types.ts:18


recurrenceRule?

optional recurrenceRule: string

Defined in: types/event.types.ts:22


registeredCount

registeredCount: number

Defined in: types/event.types.ts:16


registrationDeadline?

optional registrationDeadline: string

Defined in: types/event.types.ts:17


startDate

startDate: string

Defined in: types/event.types.ts:11


status

status: EventStatus

Defined in: types/event.types.ts:21


title

title: string

Defined in: types/event.types.ts:9


updatedAt

updatedAt: string

Defined in: types/common.types.ts:156

ISO 8601 datetime when the entity was last modified

Inherited from

BaseEntity.updatedAt


vendorId

vendorId: string

Defined in: types/event.types.ts:20

DoCurious Platform Documentation