Skip to content

DoCurious API Reference / types / SavedItem

Interface: SavedItem

Defined in: types/explore.types.ts:85

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

addedAt

addedAt: string

Defined in: types/explore.types.ts:89

ISO datetime when the user saved this challenge


challenge?

optional challenge: Challenge

Defined in: types/explore.types.ts:100


challengeId

challengeId: string

Defined in: types/explore.types.ts:87


createdAt

createdAt: string

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

ISO 8601 datetime when the entity was created

Inherited from

BaseEntity.createdAt


id

id: string

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

Inherited from

BaseEntity.id


listType

listType: SavedListType

Defined in: types/explore.types.ts:97

Whether this is a firm bucket-list item or just interesting


notes?

optional notes: string

Defined in: types/explore.types.ts:91

User's personal notes about why they saved this challenge


priority?

optional priority: "high" | "medium" | "low"

Defined in: types/explore.types.ts:94

User-assigned priority for sorting their saved list


updatedAt

updatedAt: string

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

ISO 8601 datetime when the entity was last modified

Inherited from

BaseEntity.updatedAt


userId

userId: string

Defined in: types/explore.types.ts:86

DoCurious Platform Documentation