-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(dashboard): nextjs 14 in dashboard (#3565)
* chore: nextjs 14 in dashboard * chore: removed server actions from next-config --------- Co-authored-by: Siddharth <[email protected]>
- Loading branch information
1 parent
b51bcd8
commit d341e27
Showing
21 changed files
with
203 additions
and
505 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { ServerActionResponse } from "../index.types" | ||
|
||
type ApiKeyBody = { | ||
apiKeySecret: string | undefined | ||
} | ||
export interface ApiKeyResponse extends ServerActionResponse<ApiKeyBody | null> {} |
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,13 @@ | ||
import { ServerActionResponse } from "../index.types" | ||
|
||
type CallBackAdditionBody = { | ||
CallBackAdditionSecret: string | undefined | ||
} | ||
export interface CallBackAdditionResponse | ||
extends ServerActionResponse<CallBackAdditionBody | null> {} | ||
|
||
type CallBackDeletionBody = { | ||
CallBackDeletionSecret: string | undefined | ||
} | ||
export interface CallBackDeletionResponse | ||
extends ServerActionResponse<CallBackDeletionBody | null> {} |
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,5 @@ | ||
export interface ServerActionResponse<ResponseBody> { | ||
error: boolean | ||
message: string | null | ||
responsePayload: ResponseBody | ||
} |
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,8 @@ | ||
import { ServerActionResponse } from "@/app/index.types" | ||
|
||
type AddEmailBody = null | ||
export interface AddEmailResponse extends ServerActionResponse<AddEmailBody | null> {} | ||
|
||
type VerifyEmailBody = null | ||
export interface VerifyEmailResponse | ||
extends ServerActionResponse<VerifyEmailBody | null> {} |
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
Oops, something went wrong.