pocketbase_helpers 0.0.8
pocketbase_helpers: ^0.0.8 copied to clipboard
Utilities for using typed data together with pocketbase.
0.0.8 #
- fixed mistake in readme
- added
body
field to thedelete
methods
0.0.7 #
- Renamed
getSingle
togetOne
andgetMaybeSingle
togetOneOrNull
, this should be more in line with general naming conventions
0.0.6 #
- Renamed
baseExpansions
to justexpansions
on theCollectionHelper
class - Added a getter for the raw
RecordService
object toCollectionHelper
- added a new getMaybeSingle() method to
CollectionHelper
andBaseHelper
- renamed
otherFilters
toadditionalExpressions
on search methods, - renamed
otherParams
toadditionalParams
on search methods - removed
SearchParams
class and put its fields directly into the search method. This was done to make the method more intuitive to use - added
fields
parameter to all methods, takes a list of fields to be included in the returning record if not given all fields are returned - Fixed an issue where expansions would not propegate in
addFiles
andremoveFiles
methods - added queryParameters optionalfields to the getFileUrl method
- renamed
creationHook
andupdateHook
topreCreationHook
andpreUpdateHook
- updated readme and inline docs
0.0.5 #
- Fixed breaking bug with filtering in fullList fetch
0.0.4 #
- Fixed breaking bugs related to expansions when creating or updating a record
0.0.3 #
- added expansion merge utilities
- changed fileUrls to fileNames in the removeFiles methods
- changed filePaths to files in the addFiles methods, the expected input is now a map with filenames as keys and filedata as values. This change was done to add support for web.
- added buildExpansionString, mergeExpansions and getNamesFromUrls utilityMethods.
- added io_only method support, and added io only method: pathsToFiles
0.0.2 #
- Updated Readme
0.0.1 #
- Initial version.