21 lines
458 B
JavaScript
21 lines
458 B
JavaScript
import { defineStore } from 'pinia'
|
|
import axios from "axios";
|
|
import { Inertia } from '@inertiajs/inertia'
|
|
export const useMediumStore = defineStore('MediumStore', {
|
|
state: () => ({
|
|
mediums: [],
|
|
loader: false,
|
|
selected: null,
|
|
paginate: {
|
|
total: null,
|
|
current_page: null,
|
|
last_page: null,
|
|
links: null,
|
|
per_page: null,
|
|
},
|
|
}),
|
|
actions: {
|
|
|
|
}
|
|
})
|