Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved serverSetupFn to SDK. #1667

Merged
merged 2 commits into from
Jan 24, 2024
Merged

Moved serverSetupFn to SDK. #1667

merged 2 commits into from
Jan 24, 2024

Conversation

Martinsos
Copy link
Member

@Martinsos Martinsos commented Jan 24, 2024

Quite simple and straightforward.
Moves some types needed for serverSetup from server/ to sdk/server.

@@ -323,10 +323,8 @@ genExportedTypesDir spec =
where
tmplData =
object
[ "isExternalAuthEnabled" .= isExternalAuthEnabled,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was some reminder from the past not used anymore so I removed this line.

@@ -0,0 +1,12 @@
import { type Application } from 'express'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This got moved from server do sdk. That is it really. I also updated one or two paths in server that used it.

@Martinsos Martinsos changed the title Moved wasp/server/types to SDK. Moved serverSetupFn to SDK. Jan 24, 2024
@sodic sodic merged commit f6d1461 into sdk-middleware Jan 24, 2024
1 of 4 checks passed
@sodic sodic deleted the sdk-wasp-server-types branch January 24, 2024 13:42
Martinsos added a commit that referenced this pull request Jan 24, 2024
Martinsos added a commit that referenced this pull request Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants