mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
(nextjs) fixed getServerSideProps typings
This commit is contained in:
parent
2d9d88f1a1
commit
d9127e5b7c
4 changed files with 15 additions and 16 deletions
|
@ -30,7 +30,7 @@ export type PostCellViewResult = unknown; // TODO: update it with actual type
|
|||
export type ApiGetNodeRequest = {
|
||||
id: string | number;
|
||||
};
|
||||
export type ApiGetNodeResponse = { node: INode; last_seen?: string };
|
||||
export type ApiGetNodeResponse = { node: INode; last_seen?: string | null };
|
||||
|
||||
export type ApiGetNodeRelatedRequest = {
|
||||
id: INode['id'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue