story

open override fun story(slug: String): Flow<Story<Component>>(source)

Retrieves a Story by its slug.

Return

A Flow emitting the story with Component content, with potential cached and fresh values.

Parameters

slug

The URL path segment identifying the story.


open override fun story(uuid: Uuid): Flow<Story<Component>>(source)

Retrieves a Story by its UUID.

Return

A Flow emitting the story with Component content, with potential cached and fresh values.

Parameters

uuid

The unique identifier of the story.


open override fun <T : Component> story(uuid: Uuid, typeInfo: TypeInfo): Flow<Story<T>>(source)

Retrieves a Story by its UUID with explicit type information for the Component type.

Return

A Flow emitting the story, with potential cached and fresh values.

Parameters

uuid

The unique identifier of the story.

typeInfo

Type information for deserialization.

Type Parameters

T

The Component type of the story content.


open override fun <T : Component> story(slug: String, typeInfo: TypeInfo): Flow<Story<T>>(source)

Retrieves a Story by its slug with explicit type information for the Component type.

Return

A Flow emitting the story, with potential cached and fresh values.

Parameters

slug

The URL path segment identifying the story.

typeInfo

Type information for deserialization.

Type Parameters

T

The Component type of the story content.