| 6 | * @return {Promise<Object>} - Raw Interactive object |
| 7 | */ |
| 8 | export const getInteractive = idOrSlug => { |
| 9 | if (!idOrSlug) { |
| 10 | throw new Error('No slug/id supplied') |
| 11 | } |
| 12 | return fetchJson(`/db/interactive/${idOrSlug}`) |
| 13 | } |
| 14 | |
| 15 | /** |
| 16 | * @typedef {Object} InteractiveList |
no outgoing calls
no test coverage detected