We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 485f520 commit 2c526beCopy full SHA for 2c526be
packages/docs/src/store/app.ts
@@ -5,11 +5,19 @@ import { defineStore } from 'pinia'
5
import data from '@/data/nav.json'
6
7
// Types
8
+export type Category = {
9
+ icon: string
10
+ color: string
11
+}
12
+
13
export type RootState = {
14
apiSearch: string
15
drawer: boolean | null
- settings: boolean
16
toc: boolean | null
17
+ items: NavItem[]
18
+ pages: string[]
19
+ settings: boolean
20
+ categories: Record<string, Category>
21
}
22
23
type NavItem = {
@@ -71,6 +79,10 @@ export const useAppStore = defineStore({
71
79
icon: 'mdi-script-text-outline',
72
80
color: 'pink',
73
81
},
82
+ labs: {
83
+ icon: 'mdi-beaker-outline',
84
+ color: 'purple',
85
+ },
74
86
75
87
} as RootState),
76
88
})
0 commit comments