Basic calendar view
This commit is contained in:
33
src/stores/memberProfile.ts
Normal file
33
src/stores/memberProfile.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
import { defineStore } from 'pinia';
|
||||
|
||||
export interface MemberProfile {
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
certs: string[];
|
||||
slackID: string;
|
||||
userID: string;
|
||||
}
|
||||
|
||||
const getSampleData = () => ({
|
||||
firstName: 'Billy',
|
||||
lastName: 'Crystal',
|
||||
certs: ['j27', 'capri25'],
|
||||
});
|
||||
|
||||
export const useMemberProfileStore = defineStore('memberProfile', {
|
||||
state: () => ({
|
||||
...getSampleData(),
|
||||
}),
|
||||
|
||||
// getters: {
|
||||
// doubleCount (state) {
|
||||
// return state.counter * 2;
|
||||
// }
|
||||
// },
|
||||
|
||||
// actions: {
|
||||
// increment () {
|
||||
// this.counter++;
|
||||
// }
|
||||
// }
|
||||
});
|
||||
Reference in New Issue
Block a user