@h3ravel/arquebus 2.0.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/README.md +1 -1
  2. package/bin/index.cjs +554 -420
  3. package/bin/index.js +542 -408
  4. package/dist/browser/index.cjs +54 -51
  5. package/dist/browser/index.d.ts +804 -737
  6. package/dist/browser/index.js +48 -44
  7. package/dist/concerns/index.cjs +152 -143
  8. package/dist/concerns/index.d.ts +849 -776
  9. package/dist/concerns/index.js +143 -133
  10. package/dist/index.cjs +186 -185
  11. package/dist/index.d.ts +856 -782
  12. package/dist/index.js +179 -177
  13. package/dist/inspector/index.cjs +175 -174
  14. package/dist/inspector/index.d.ts +0 -1
  15. package/dist/inspector/index.js +161 -159
  16. package/dist/migrations/index.cjs +183 -182
  17. package/dist/migrations/index.d.ts +799 -727
  18. package/dist/migrations/index.js +172 -170
  19. package/dist/relations/index.cjs +152 -143
  20. package/dist/relations/index.d.ts +835 -762
  21. package/dist/relations/index.js +143 -133
  22. package/dist/seeders/index.cjs +7 -5
  23. package/dist/seeders/index.d.ts +797 -724
  24. package/dist/seeders/index.js +8 -6
  25. package/dist/{migrations/stubs/stubs → stubs}/migration-js.stub +1 -0
  26. package/dist/{migrations/stubs/stubs → stubs}/migration-ts.stub +1 -0
  27. package/dist/{migrations/stubs/stubs → stubs}/migration.create-js.stub +1 -0
  28. package/dist/{migrations/stubs/stubs → stubs}/migration.create-ts.stub +1 -0
  29. package/dist/{migrations/stubs/stubs → stubs}/migration.update-js.stub +1 -0
  30. package/dist/{migrations/stubs/stubs → stubs}/migration.update-ts.stub +1 -0
  31. package/dist/stubs/model-ts.stub +9 -0
  32. package/package.json +31 -31
  33. package/types/builder.ts +1 -1
  34. package/types/cli.ts +20 -0
  35. package/types/database.ts +69 -0
  36. package/types/index.ts +4 -0
  37. package/types/model-builder.ts +132 -0
  38. package/types/query-builder.ts +0 -1
  39. package/types/query-methods.ts +0 -1
  40. package/types/schema.ts +92 -0
  41. package/types/utils.ts +1 -40
  42. package/dist/stubs/stubs/model-ts.stub +0 -5
  43. /package/dist/stubs/{stubs/arquebus.config-js.stub → arquebus.config-js.stub} +0 -0
  44. /package/dist/stubs/{stubs/arquebus.config-ts.stub → arquebus.config-ts.stub} +0 -0
  45. /package/dist/stubs/{stubs/model-js.stub → model-js.stub} +0 -0
  46. /package/dist/stubs/{stubs/seeder-js.stub → seeder-js.stub} +0 -0
  47. /package/dist/stubs/{stubs/seeder-ts.stub → seeder-ts.stub} +0 -0
package/README.md CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  Arquebus ORM is a Beautiful, expressive framework-agnostic Object-Relational Mapper (ORM) inspired by Laravel's Eloquent, designed for TypeScript applications and for the H3ravel Framework that makes it enjoyable to interact with your database. When using Arquebus, each database table has a corresponding "Model" that is used to interact with that table. In addition to retrieving records from the database table, Arquebus models allow you to insert, update, and delete records from the database as well.
16
16
 
17
- > Arquebus is a Typescript and Modern JS rewrite of [Sutando](https://sutando.org/) and is heavily inspired by Laravel's ORM [Eloquent](https://laravel.com/docs/12.x/eloquent).
17
+ > Arquebus is heavily inspired by Laravel's [Eloquent ORM](https://laravel.com/docs/12.x/eloquent).
18
18
 
19
19
  ## ✨ Features
20
20