{"size": 445, "ext": "js", "max_stars_repo_path": "src/store/firebase.js", "max_stars_repo_name": "cromon/vuekb", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/store/firebase.js", "max_issues_repo_name": "cromon/vuekb", "max_issues_repo_issues_event_min_datetime": "2020-05-01T18:20:50.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-27T03:59:06.000Z", "max_forks_repo_path": "src/store/firebase.js", "max_forks_repo_name": "cromon/vuekb", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 3, "max_forks_count": null, "avg_line_length": 27.8125, "max_line_length": 66, "alphanum_fraction": 0.7168539326}
import db from '@/firebase/init'
import { vuexfireMutations, firestoreAction } from 'vuexfire'

export const firebaseActions = {
  bindArticles: firestoreAction(({ bindFirestoreRef }) => {
    return bindFirestoreRef('articles', db.collection('articles'))
  }),
  bindFaqs: firestoreAction(({ bindFirestoreRef }) => {
    return bindFirestoreRef('faqs', db.collection('faqs'))
  })
}

export const firebaseMutations = {
  ...vuexfireMutations
}
