1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-11-01 19:07:38 +01:00
unleash.unleash/src/lib/middleware
andreas-unleash 726ede5cbe
Define exports for enterprise (#2435)
<!-- Thanks for creating a PR! To make it easier for reviewers and
everyone else to understand what your changes relate to, please add some
relevant content to the headings below. Feel free to ignore or delete
sections that you don't think are relevant. Thank you! ❤️ -->
This PR sets up exports so that we can import in enterprise with just
"unleash-server".
This will free us to refactor unleash internals without breaking
enterprise

## About the changes
<!-- Describe the changes introduced. What are they and why are they
being introduced? Feel free to also add screenshots or steps to view the
changes if they're visual. -->

<!-- Does it close an issue? Multiple? -->
Closes #

<!-- (For internal contributors): Does it relate to an issue on public
roadmap? -->
<!--
Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item:
#
-->

### Important files
<!-- PRs can contain a lot of changes, but not all changes are equally
important. Where should a reviewer start looking to get an overview of
the changes? Are any files particularly important? -->


## Discussion points
<!-- Anything about the PR you'd like to discuss before it gets merged?
Got any questions or doubts? -->
2022-11-17 13:02:40 +02:00
..
api-token-middleware.test.ts Add test for api-token-middleware to not make database call when using PAT (#2110) 2022-09-29 08:53:29 +03:00
api-token-middleware.ts fix: CORS options path (#2165) 2022-10-11 09:20:29 +02:00
conditional-middleware.ts fix: refactor conditional middleware (#2261) 2022-10-26 13:00:49 +02:00
content_type_checker.test.ts fix: upgrade @types/node to v16.18.3 (#2365) 2022-11-10 08:20:15 +01:00
content_type_checker.ts
cors-origin-middleware.test.ts
cors-origin-middleware.ts
demo-authentication.ts
index.ts Define exports for enterprise (#2435) 2022-11-17 13:02:40 +02:00
no-authentication.test.ts
no-authentication.ts
oss-authentication.test.ts
oss-authentication.ts
pat-middleware.test.ts refactor: remove PAT experimental flag (#2299) 2022-10-31 09:38:30 +00:00
pat-middleware.ts refactor: remove PAT experimental flag (#2299) 2022-10-31 09:38:30 +00:00
rbac-middleware.test.ts
rbac-middleware.ts
request-logger.ts
response-time-metrics.ts fix: add appName to http response time metrics (#2117) 2022-09-30 15:28:50 +02:00
secure-headers.ts Define exports for enterprise (#2435) 2022-11-17 13:02:40 +02:00
session-db.ts