dart_sanity_client 0.3.1 copy "dart_sanity_client: ^0.3.1" to clipboard
dart_sanity_client: ^0.3.1 copied to clipboard

A complete sanity.io http client. includes queries in groq and graphql(soon). Has methods for fetch, create, patch, and publish.

0.1.0 #

  • all crud options as advertised
  • urlFor() for both image and file
  • image and file ref decoders that return an object with possibilities for prefix, id, width, height, asset
  • transaction method that runs multiple transactions at once via an array such as [CreateTransaction(), EditTransaction(), PublishTransaction(), ...]

0.1.1 #

  • fixing documentation typos

0.1.2 #

  • fixing documentation typos

0.2.0 #

  • cleanup of static class getters
  • converted transaction to action to closer mimic sanity api
  • documentations updates

0.3.0 #

bugs

  • fixed issue where urlFor was not returning an actually string url like it was suppose to.
  • fixed issue where multiple requests of the same fetch failed due to closing the http client.

new

  • added in some unit tests which led to the discovery of above bugs.

0.3.1 #

  • added all missing api documentation
  • fixed all linting warnings
0
likes
160
points
42
downloads

Publisher

unverified uploader

Weekly Downloads

A complete sanity.io http client. includes queries in groq and graphql(soon). Has methods for fetch, create, patch, and publish.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

http

More

Packages that depend on dart_sanity_client