ecd0199799
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
13 lines
301 B
JavaScript
13 lines
301 B
JavaScript
import { defineStore } from 'pinia'
|
|
import { useApi } from '../composables/useApi.js'
|
|
|
|
export const useThumbnailsStore = defineStore('thumbnails', () => {
|
|
const api = useApi()
|
|
|
|
async function triggerBackfill () {
|
|
await api.post('/api/thumbnails/backfill')
|
|
}
|
|
|
|
return { triggerBackfill }
|
|
})
|