-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #245 from mrgnlabs/man0s/final-touch
Man0s/final touch
- Loading branch information
Showing
7 changed files
with
52 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
|
||
// ------- Next helpers | ||
|
||
import { IncomingMessage } from "http"; | ||
import { PreviewData } from "next"; | ||
|
||
export declare type Env = { | ||
[key: string]: string | undefined; | ||
}; | ||
|
||
export interface NextApiRequest<T> extends IncomingMessage { | ||
/** | ||
* Object of `query` values from url | ||
*/ | ||
query: Partial<{ | ||
[key: string]: string | string[]; | ||
}>; | ||
/** | ||
* Object of `cookies` from header | ||
*/ | ||
cookies: Partial<{ | ||
[key: string]: string; | ||
}>; | ||
body: T; | ||
env: Env; | ||
preview?: boolean; | ||
/** | ||
* Preview data set on the request, if any | ||
* */ | ||
previewData?: PreviewData; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9e5d763
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
marginfi-v2-ui – ./apps/marginfi-v2-ui
www.mfi.gg
marginfi-v2-ui-git-production-mrgn.vercel.app
mfi.gg
mrgn-ts-marginfi-v2-ui.vercel.app
marginfi-v2-ui-mrgn.vercel.app
app.marginfi.com