Skip to content

Releases: mesqueeb/vuex-easy-firestore

batchPatches and batchDeletes 🦖

02 Aug 11:04
32e3654
Compare
Choose a tag to compare

Clearly separated actions to work with!
patch vs patchBatch and delete vs deleteBatch.

Documentation has been updated for it as well!

dispatch('moduleName/patchBatch', {doc: {}, ids: []}) // `doc` is an object with the fields to patch, `ids` is an array
dispatch('moduleName/deleteBatch', ids) // an array of ids

Enjoy!! 🏖

New feature: delete sub-props! 👨🏼‍🎤

22 Jul 08:27
9e7a96d
Compare
Choose a tag to compare

Big update! You can now delete not only individual firestore docs, but also select properties on a doc, and even select properties on a doc when synced through 'collection' mode!

Check the documentation at Editing.

This version is also fully compatible with Vuex Easy Access which received a similar update to be able to delete props!

Enjoy!!! 🏝

Bux fixes & support direct state sync for 'collections' ⛵️

07 Jul 15:06
b68d153
Compare
Choose a tag to compare

Check out the readme part about syncing directly to state!

Please open issues for any requests/bugs!

Enjoy!!

Small config change + bug fix 🌝

01 Jul 04:28
ce73812
Compare
Choose a tag to compare
  • Move hooks inside 'sync' object in config, please define them like so:
const myModule: {
  sync: {
    insertHook () {},
    patchHook () {},
    deleteHook () {},
  }
}
  • Bug fix server hooks

Version 1 🌞

30 Jun 15:27
40b3e4a
Compare
Choose a tag to compare

Completely rewrote the config structure.
Clean up internal state.
Completely rewrote the readme!

Beta 1 🏄🏼‍♂️

28 Jun 13:00
60947f1
Compare
Choose a tag to compare
Merge pull request #2 from mesqueeb/dev

BETA 1