@smartive/graphql-magic 23.4.1 → 23.5.0-next.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 (42) hide show
  1. package/CHANGELOG.md +17 -2
  2. package/dist/bin/gqm.cjs +656 -59
  3. package/dist/cjs/index.cjs +2700 -2133
  4. package/dist/esm/migrations/generate-functions.d.ts +2 -0
  5. package/dist/esm/migrations/generate-functions.js +60 -0
  6. package/dist/esm/migrations/generate-functions.js.map +1 -0
  7. package/dist/esm/migrations/generate.d.ts +9 -1
  8. package/dist/esm/migrations/generate.js +269 -33
  9. package/dist/esm/migrations/generate.js.map +1 -1
  10. package/dist/esm/migrations/index.d.ts +2 -0
  11. package/dist/esm/migrations/index.js +2 -0
  12. package/dist/esm/migrations/index.js.map +1 -1
  13. package/dist/esm/migrations/types.d.ts +7 -0
  14. package/dist/esm/migrations/types.js +2 -0
  15. package/dist/esm/migrations/types.js.map +1 -0
  16. package/dist/esm/migrations/update-functions.d.ts +3 -0
  17. package/dist/esm/migrations/update-functions.js +177 -0
  18. package/dist/esm/migrations/update-functions.js.map +1 -0
  19. package/dist/esm/models/model-definitions.d.ts +4 -1
  20. package/dist/esm/resolvers/filters.js +76 -14
  21. package/dist/esm/resolvers/filters.js.map +1 -1
  22. package/dist/esm/resolvers/selects.js +20 -2
  23. package/dist/esm/resolvers/selects.js.map +1 -1
  24. package/dist/esm/resolvers/utils.d.ts +1 -0
  25. package/dist/esm/resolvers/utils.js +29 -0
  26. package/dist/esm/resolvers/utils.js.map +1 -1
  27. package/docs/docs/3-fields.md +149 -0
  28. package/docs/docs/5-migrations.md +9 -1
  29. package/package.json +2 -2
  30. package/src/bin/gqm/gqm.ts +44 -5
  31. package/src/bin/gqm/parse-functions.ts +141 -0
  32. package/src/bin/gqm/settings.ts +7 -0
  33. package/src/bin/gqm/utils.ts +1 -0
  34. package/src/migrations/generate-functions.ts +74 -0
  35. package/src/migrations/generate.ts +334 -41
  36. package/src/migrations/index.ts +2 -0
  37. package/src/migrations/types.ts +7 -0
  38. package/src/migrations/update-functions.ts +221 -0
  39. package/src/models/model-definitions.ts +4 -1
  40. package/src/resolvers/filters.ts +88 -25
  41. package/src/resolvers/selects.ts +22 -5
  42. package/src/resolvers/utils.ts +44 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
- ## [23.4.1](https://github.com/smartive/graphql-magic/compare/v23.4.0...v23.4.1) (2026-02-06)
1
+ ## [23.5.0-next.1](https://github.com/smartive/graphql-magic/compare/v23.4.1...v23.5.0-next.1) (2026-02-09)
2
+
3
+ ### Features
4
+
5
+ * functions.sql and expression fiedls ([65d7079](https://github.com/smartive/graphql-magic/commit/65d7079b54da3a11300cb714a7ca70032e591204))
6
+ * Use functions.ts instead of functions.sql ([58e0653](https://github.com/smartive/graphql-magic/commit/58e065347b2f3f1c80691911b5191af38586c1e2))
2
7
 
3
8
  ### Bug Fixes
4
9
 
5
- * add repository field to package.json ([#415](https://github.com/smartive/graphql-magic/issues/415)) ([d9dc977](https://github.com/smartive/graphql-magic/commit/d9dc9773234f73e7cd1d2461af2963ee296737f4))
10
+ * Functions code order ([cf7f7a4](https://github.com/smartive/graphql-magic/commit/cf7f7a4421e8297af866c3ecc04b5e672862e6ab))
11
+ * Generated expression handling ([e325eb2](https://github.com/smartive/graphql-magic/commit/e325eb232b7bbbbe7d65f9fae5221f4a764a8600))
12
+ * improve handling of missing revision fields in migration updates ([4296662](https://github.com/smartive/graphql-magic/commit/429666247224ef782280fd6144cb749468b934cd))
13
+ * Index ([42d109f](https://github.com/smartive/graphql-magic/commit/42d109fc6dbbf8fc7937f076403a69885779d8f6))
14
+ * Linting ([2e997e4](https://github.com/smartive/graphql-magic/commit/2e997e464371a9d8cf05ceb67a6cd29a9452f615))
15
+ * Omit more stuff ([df2ae04](https://github.com/smartive/graphql-magic/commit/df2ae044557166e876b7646d6ebe67a78df2722e))
16
+ * Permissions ([c198115](https://github.com/smartive/graphql-magic/commit/c19811552ac3de05d4c1069116620067ec0a5540))
17
+ * Temporarily disable tags ([52962c1](https://github.com/smartive/graphql-magic/commit/52962c1a792c1ae010ae542c23d50dd4f8486dde))
18
+ * Trigger release ([2cd67b9](https://github.com/smartive/graphql-magic/commit/2cd67b91d33d101793c04eb87ad9c226bc0fdd0f))
19
+ * Trigger release ([d5ac376](https://github.com/smartive/graphql-magic/commit/d5ac376533460921a638c71f4c9a69c83a057897))
20
+ * Update functions ([3717f8a](https://github.com/smartive/graphql-magic/commit/3717f8aba9d908fbde8d2f49e7c21f87fe6a8d12))