Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Responses

Index

Type Aliases

GenericSuccess: { success: true }

Type declaration

  • success: true
PostInPopular: { _id: string; author: { _id: string; avatar: FileInformation | null; description: string; displayName: string; username: string; verified: boolean }; createdAt: number; file: { fileName: string; size: number }; slug: string; tags: string[]; title: string; views: number }

Type declaration

  • _id: string
  • author: { _id: string; avatar: FileInformation | null; description: string; displayName: string; username: string; verified: boolean }
    • _id: string
    • avatar: FileInformation | null
    • description: string
    • displayName: string
    • username: string
    • verified: boolean
  • createdAt: number
  • file: { fileName: string; size: number }
    • fileName: string
    • size: number
  • slug: string
  • tags: string[]
  • title: string
  • views: number
PostInSearch: { _id: string; author: { _id: string; avatar: FileInformation | null; description: string; displayName: string; username: string; verified: boolean }; createdAt: number; file: FileInformation; slug: string; tags: string[]; title: string; views: number }

Type declaration

  • _id: string
  • author: { _id: string; avatar: FileInformation | null; description: string; displayName: string; username: string; verified: boolean }
    • _id: string
    • avatar: FileInformation | null
    • description: string
    • displayName: string
    • username: string
    • verified: boolean
  • createdAt: number
  • file: FileInformation
  • slug: string
  • tags: string[]
  • title: string
  • views: number
PostInfoResponse: { _id: string; author: { _id: string; avatar: FileInformation | null; description: string; displayName: string; username: string; verified: boolean }; createdAt: number; file: { fileName: string; size: number }; slug: string; tags: string[]; title: string; views: number }

Type declaration

  • _id: string
  • author: { _id: string; avatar: FileInformation | null; description: string; displayName: string; username: string; verified: boolean }
    • _id: string
    • avatar: FileInformation | null
    • description: string
    • displayName: string
    • username: string
    • verified: boolean
  • createdAt: number
  • file: { fileName: string; size: number }
    • fileName: string
    • size: number
  • slug: string
  • tags: string[]
  • title: string
  • views: number
PostNewResponse: { _id: string; author: { _id: string; avatar: FileInformation | null; description: string; displayName: string; username: string; verified: boolean }; createdAt: number; file: FileInformation; private: boolean; slug: string; tags: string[]; title: string }

Type declaration

  • _id: string
  • author: { _id: string; avatar: FileInformation | null; description: string; displayName: string; username: string; verified: boolean }
    • _id: string
    • avatar: FileInformation | null
    • description: string
    • displayName: string
    • username: string
    • verified: boolean
  • createdAt: number
  • file: FileInformation
  • private: boolean
  • slug: string
  • tags: string[]
  • title: string
PostPopularResponse: PostInPopular[]
PostSearchResponse: { hits: PostInSearch[]; numHits: number; tookMs: number }

Type declaration

SessionCreateResponse: { sessionName: string; token: string }

Type declaration

  • sessionName: string
  • token: string
SessionCurrentResponse: { _id: string; sessionName: string; token: string; userId: string }

Type declaration

  • _id: string
  • sessionName: string
  • token: string
  • userId: string
SessionListResponse: Omit<SessionCurrentResponse, "token" | "userId">[]
UserFavoritesResponse: FavoriteURL[]
UserQueryResponse: { _id: string; avatar: FileInformation | null; description: string; displayName: string; username: string; verified: boolean }

Type declaration

  • _id: string
  • avatar: FileInformation | null
  • description: string
  • displayName: string
  • username: string
  • verified: boolean
UserRegisterResponse: { _id: string; avatar: null; description: string; displayName: string; email: string; username: string }

Type declaration

  • _id: string
  • avatar: null
  • description: string
  • displayName: string
  • email: string
  • username: string
UserSelfResponse: { avatar: object | null; description: string; displayName: string; email: string; username: string; verified: boolean }

Type declaration

  • avatar: object | null
  • description: string
  • displayName: string
  • email: string
  • username: string
  • verified: boolean

Generated using TypeDoc