notifications.ts
1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import { defineStore } from 'pinia'
export const useNotificationsStore = defineStore('notifications', {
state: () => {
return {
notifications: {
searchingForAJob: {
name: 'Searching for a job',
isEnabled: true,
},
hiringSomeone: {
name: 'Hiring someone',
isEnabled: false,
},
connectingWithOthers: {
name: 'Connecting with others',
isEnabled: true,
},
postingAndCommenting: {
name: 'Posting and commenting',
isEnabled: true,
},
messaging: {
name: 'Messaging',
isEnabled: true,
},
groups: {
name: 'Groups',
isEnabled: false,
},
pages: {
name: 'Pages',
isEnabled: true,
},
attendingEvents: {
name: 'Attending events',
isEnabled: true,
},
newsAndReports: {
name: 'News and reports',
isEnabled: false,
},
updatingYourProfile: {
name: 'Updating your profile',
isEnabled: true,
},
verifications: {
name: 'Verifications',
isEnabled: true,
},
},
}
},
})