1
0
Fork 0
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:
Fedor Katurov 2022-01-17 18:42:23 +07:00
parent 2d9d88f1a1
commit d9127e5b7c
4 changed files with 15 additions and 16 deletions

View file

@ -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'];