Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More β†’
Socket
Sign inDemoInstall
Socket

@pinia-orm/axios-edge

Package Overview
Dependencies
Maintainers
1
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pinia-orm/axios-edge

Axios plugin for pinia-orm

  • 1.9.0-28583486.807fa36
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
579
increased by2126.92%
Maintainers
1
Weekly downloads
Β 
Created
Source

Pinia ORM banner

npm version npm downloads Github Actions CI Coverage License

Welcome to pinia-orm

Intuitive, type safe and flexible ORM for Pinia based on Vuex ORM Next

Migration from vuex-orm

You want to migrate from vuex to pinia and with it vuex-orm to pinia-orm but you don't know yet? Well maybe this table will help you to decide. This comparison is just about facts and current state.

Featurespinia-orm@v1.4.0@vuex-orm/core@0.36.4@vuex-orm/core@1.0.0-draft.16
Bundle Size (Min + GZIP)9.9 KB16.7 KB12.6 KB
Relations (hasMany, belongsTo, morphOne, hasManyBy, hasOne, morphTo)βœ…βœ…βœ…
Relations (morphMany, belongsToMany, hasManyThrough)βœ…βœ…βŒ
Relations (morphToMany, morphedByMany)βŒβœ…βŒ
Mutatorsβœ…βœ…βŒ
Castsβœ…βŒβŒ
Decoratorsβœ…βŒβœ…
Single Table Inheritanceβœ…βœ…βŒ
Lifecycle Hooksβœ…βœ…βŒ
Aggregatesβœ…βœ…βŒ
Query (orHas, doesntHave, orDoesntHave, whereHas, orWhereHas, groupBy)βœ…βŒβŒ
Collection Helpersβœ…(βœ…) can use pinia-orm helpers too(βœ…) can use pinia-orm helpers too
Hidden Fieldsβœ…βŒβŒ
Metadata fieldβœ…βŒβŒ
Caching of queries with gcβœ…(βœ…) with plugin❌

If you decide to migrate then there are some breaking changes. A guide how to migrate will be written. Small overview:

  • Fields are by default null
  • Renamed some functions aligning more with laravel naming
  • Code is based on vuex-orm-next and not on vuex-orm !

Help me keep working on this project πŸ’š


πŸ’» Development

  • Clone this repository
  • Enable Corepack using corepack enable (use npm i -g corepack for Node.js < 16.10)
  • Install dependencies using pnpm install
  • Build normalizr package: pnpm build
  • Run interactive tests using cd packages/pinia-orm && pnpm test:ui

Credits

License

Made with ❀️

Published under MIT License.

Keywords

FAQs

Package last updated on 06 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc