complete Complete User Request Submission section RAD-1
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { defineStore } from 'pinia'
|
||||
export const useAuthStore = defineStore('AuthStore', {
|
||||
state: () => ({
|
||||
user: null,
|
||||
}),
|
||||
actions: {},
|
||||
})
|
||||
@@ -0,0 +1,10 @@
|
||||
import { defineStore } from 'pinia'
|
||||
export const useDocumentStore = defineStore('DocumentStore', {
|
||||
state: () => ({
|
||||
endpoints: {
|
||||
index: '/dashboard/documents',
|
||||
show: (id) => `/dashboard/documents/${id}`,
|
||||
},
|
||||
}),
|
||||
actions: {},
|
||||
})
|
||||
@@ -0,0 +1,10 @@
|
||||
import { defineStore } from 'pinia'
|
||||
export const useGlobalStore = defineStore('GlobalStore', {
|
||||
state: () => ({
|
||||
current_user: {},
|
||||
sidebarOpen: false
|
||||
}),
|
||||
actions: {
|
||||
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user