github mnfst/manifest 4.0.0-alpha.4

latest releases: manifest@4.17.8, create-manifest@1.3.4, manifest@4.17.7...
14 months ago

🌟 Highlights

📖 Swagger API Doc

An API doc is now available on serve at http://localhost:1111/api

image

⏱️ Timestamp property type

A Timestamp type is now available to provide a time.

      - { name: birthdate, type: date } # Just date
      - { name: aquiredAt, type: timestamp } # Date and time

⚙️ Filter by relation

You can now filter by a property of a relation when fetching a list:

# REST API
GET http://localhost:1111/api/dynamic/cats?relations=owner&owner.id_eq=1
GET http://localhost:1111/api/dynamic/cats?relations=owner&owner.name_eq=Jorge
// JS SDK
const cats = await manifest
  .from('cats')
  .with(['owner', 'store']) // Load relation first if not eager.
  .where(`owner.id in 1,2,3`)
  .andWhere(`store.name = CatLand`)
  .find()

🙏 Special thanks

🪲 Bug fixes

  • Wrong typing #123
  • Not working on Astro framework #119

👉 What's Changed

Full Changelog: 4.0.0-alpha.3...4.0.0-alpha.4

Don't miss a new manifest release

NewReleases is sending notifications on new releases.