Skip to main content

EntryResponse

the-cdj-ui


the-cdj-ui / hooks/api/entryApi / EntryResponse

Interface: EntryResponse

Defined in: src/hooks/api/entryApi.ts:56

Represents the response structure for an entry from the server.

Type Param

Unique identifier for the entry.

Type Param

Associated journal ID.

Type Param

Title of the entry.

Type Param

Content of the entry.

Type Param

Mood associated with the entry.

Type Param

Tags associated with the entry.

Type Param

Privacy settings for the entry.

Type Param

Timestamp of entry creation.

Type Param

Timestamp of last update.

Type Param

Optional analysis data related to the entry.

Type Param

Version key for the document.

Type Param

Optional flash messages.

Extends

  • Record<string, unknown>

Indexable

[key: string]: unknown

Properties

__v

__v: number

Defined in: src/hooks/api/entryApi.ts:76


_id

_id: string

Defined in: src/hooks/api/entryApi.ts:57


analysis?

optional analysis: string | { __v: number; _id: string; analysis_content: string; created_at: string; entry: string; updated_at: string; }

Defined in: src/hooks/api/entryApi.ts:66


content

content: string

Defined in: src/hooks/api/entryApi.ts:60


created_at

created_at: string

Defined in: src/hooks/api/entryApi.ts:64


flash?

optional flash: FlashMessage

Defined in: src/hooks/api/entryApi.ts:77


journal

journal: string

Defined in: src/hooks/api/entryApi.ts:58


mood

mood: string

Defined in: src/hooks/api/entryApi.ts:61


privacy_settings

privacy_settings: PrivacySettings

Defined in: src/hooks/api/entryApi.ts:63


tags

tags: string[]

Defined in: src/hooks/api/entryApi.ts:62


title

title: string

Defined in: src/hooks/api/entryApi.ts:59


updated_at

updated_at: string

Defined in: src/hooks/api/entryApi.ts:65