Skip to Content

PublishedPhotoMemory

Defined in: src/lib/db/memoryVault/photoIngest.ts:16 

One row of GET /api/memories/published, narrowed to what ingest needs.

Deliberately structural rather than an import from the transport client: this op is in the SDK and the two hand-written nearby clients live in the app, so a shared nominal type would drag one across a package boundary for no gain.

Properties

eventTime?

optional eventTime: { end: number | null; kind: "point" | "range" | "ongoing" | null; start: number | null; } | null

Defined in: src/lib/db/memoryVault/photoIngest.ts:24 

When the event in the memory happened, if the server knows.


media?

optional media: PhotoMediaRef[] | null

Defined in: src/lib/db/memoryVault/photoIngest.ts:22 

The photo(s) this fact was read out of.


memoryId

memoryId: string

Defined in: src/lib/db/memoryVault/photoIngest.ts:18 

The server-minted memory id. photo:<feedItemID>:fact:NN or :caption.


text

text: string

Defined in: src/lib/db/memoryVault/photoIngest.ts:20 

The projected fact text.


userAuthored?

optional userAuthored: boolean

Defined in: src/lib/db/memoryVault/photoIngest.ts:30 

True when the text is the user’s own words (a kept caption).

Last updated on