Appearance
Story (moved)
Deprecated — moved to core.storeys
snaptrude.entity.story is deprecated. Storey operations now live at snaptrude.core.storeys — same implementation, same signatures. The old paths keep working for now, but new code should call the canonical names below.
| Deprecated | Canonical |
|---|---|
entity.story.get(...) | core.storeys.get(...) |
entity.story.getAll() | core.storeys.list() — see rename below |
entity.story.create(...) | core.storeys.create(...) |
entity.story.update(...) | core.storeys.update(...) |
entity.story.delete(...) | core.storeys.delete(...) |
entity.story.duplicate(...) | core.storeys.copy(...) |
entity.story.setActive(...) | core.storeys.setActive(...) |
One result-shape rename: entity.story.getAll() returns { stories: [...] }; core.storeys.list() returns the same data under { storeys: [...] }. Everything else is identical.
See Core → Storeys for the full documentation of every method, type, and error condition.