@pattern-stack/codegen 0.6.5 → 0.6.7

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 (68) hide show
  1. package/CHANGELOG.md +26 -1
  2. package/dist/runtime/subsystems/auth/auth.module.js +1 -1
  3. package/dist/runtime/subsystems/auth/auth.module.js.map +1 -1
  4. package/dist/runtime/subsystems/auth/auth.tokens.d.ts +1 -1
  5. package/dist/runtime/subsystems/auth/auth.tokens.js.map +1 -1
  6. package/dist/runtime/subsystems/auth/backends/encryption-key/env.d.ts +1 -1
  7. package/dist/runtime/subsystems/auth/backends/encryption-key/env.js +1 -1
  8. package/dist/runtime/subsystems/auth/backends/encryption-key/env.js.map +1 -1
  9. package/dist/runtime/subsystems/auth/controllers/auth.controller.js.map +1 -1
  10. package/dist/runtime/subsystems/auth/index.d.ts +1 -1
  11. package/dist/runtime/subsystems/auth/index.js +1 -1
  12. package/dist/runtime/subsystems/auth/index.js.map +1 -1
  13. package/dist/runtime/subsystems/auth/protocols/auth-strategy.d.ts +1 -1
  14. package/dist/runtime/subsystems/auth/protocols/integration-store.d.ts +2 -2
  15. package/dist/runtime/subsystems/auth/protocols/provider-strategy.d.ts +13 -6
  16. package/dist/runtime/subsystems/auth/runtime/oauth2-refresh.strategy.d.ts +2 -2
  17. package/dist/runtime/subsystems/auth/runtime/oauth2-refresh.strategy.js.map +1 -1
  18. package/dist/runtime/subsystems/auth/runtime/session-expired.error.d.ts +2 -2
  19. package/dist/runtime/subsystems/auth/runtime/session-expired.error.js.map +1 -1
  20. package/dist/runtime/subsystems/auth/runtime/with-auth-retry.d.ts +1 -1
  21. package/dist/runtime/subsystems/auth/runtime/with-auth-retry.js.map +1 -1
  22. package/dist/runtime/subsystems/index.d.ts +1 -1
  23. package/dist/runtime/subsystems/index.js +1 -1
  24. package/dist/runtime/subsystems/index.js.map +1 -1
  25. package/dist/runtime/subsystems/sync/deep-equal.differ.js.map +1 -1
  26. package/dist/runtime/subsystems/sync/execute-sync.use-case.js.map +1 -1
  27. package/dist/runtime/subsystems/sync/index.js.map +1 -1
  28. package/dist/runtime/subsystems/sync/sync-change-source.protocol.d.ts +1 -1
  29. package/dist/runtime/subsystems/sync/sync-cursor-store.memory-backend.js.map +1 -1
  30. package/dist/runtime/subsystems/sync/sync-loopback.protocol.d.ts +3 -4
  31. package/dist/runtime/subsystems/sync/sync-run-recorder.drizzle-backend.js.map +1 -1
  32. package/dist/runtime/subsystems/sync/sync.module.js.map +1 -1
  33. package/dist/src/cli/index.js +55 -19
  34. package/dist/src/cli/index.js.map +1 -1
  35. package/dist/src/index.js.map +1 -1
  36. package/examples/auth-integrations/README.md +125 -0
  37. package/examples/auth-integrations/definitions/entities/integration.yaml +98 -0
  38. package/examples/auth-integrations/runtime/integrations/adapters/integration-grant-sink.adapter.ts +29 -0
  39. package/examples/auth-integrations/runtime/integrations/adapters/integration-reader.adapter.ts +52 -0
  40. package/examples/auth-integrations/runtime/integrations/adapters/integration-token-writer.adapter.ts +43 -0
  41. package/examples/auth-integrations/runtime/integrations/facade/integrations.service.ts +150 -0
  42. package/examples/auth-integrations/runtime/integrations/integrations-auth.module.ts +81 -0
  43. package/examples/auth-integrations/runtime/integrations/oauth/use-cases/create-or-update-from-oauth-grant.use-case.ts +75 -0
  44. package/examples/auth-integrations/runtime/integrations/oauth/use-cases/disconnect-integration.use-case.ts +29 -0
  45. package/examples/auth-integrations/runtime/integrations/oauth/use-cases/list-user-integrations.use-case.ts +21 -0
  46. package/examples/auth-integrations/runtime/integrations/oauth/use-cases/mark-integration-requires-reauth.use-case.ts +21 -0
  47. package/package.json +2 -1
  48. package/runtime/subsystems/auth/auth.tokens.ts +1 -1
  49. package/runtime/subsystems/auth/backends/encryption-key/env.ts +3 -3
  50. package/runtime/subsystems/auth/controllers/auth.controller.ts +3 -3
  51. package/runtime/subsystems/auth/index.ts +2 -2
  52. package/runtime/subsystems/auth/protocols/auth-strategy.ts +1 -1
  53. package/runtime/subsystems/auth/protocols/integration-store.ts +2 -2
  54. package/runtime/subsystems/auth/protocols/provider-strategy.ts +12 -5
  55. package/runtime/subsystems/auth/runtime/oauth2-refresh.strategy.ts +2 -2
  56. package/runtime/subsystems/auth/runtime/session-expired.error.ts +2 -2
  57. package/runtime/subsystems/auth/runtime/with-auth-retry.ts +1 -1
  58. package/runtime/subsystems/index.ts +1 -1
  59. package/runtime/subsystems/sync/deep-equal.differ.ts +1 -1
  60. package/runtime/subsystems/sync/execute-sync.use-case.ts +1 -1
  61. package/runtime/subsystems/sync/sync-change-source.protocol.ts +1 -1
  62. package/runtime/subsystems/sync/sync-cursor-store.memory-backend.ts +1 -1
  63. package/runtime/subsystems/sync/sync-loopback.protocol.ts +3 -4
  64. package/runtime/subsystems/sync/sync-run-recorder.drizzle-backend.ts +1 -1
  65. package/templates/subsystem/auth/app-module-hook.ejs.t +1 -1
  66. package/templates/subsystem/auth/env-config.ejs.t +5 -5
  67. package/templates/subsystem/auth/prompt.js +3 -3
  68. package/templates/subsystem/auth-config/codegen-config-auth-block.ejs.t +1 -1

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.