interface Survey {
    category: {
        id: string;
        name: string;
    };
    description: string;
    hasAnswers: boolean;
    id: number;
    public: boolean;
    questions: Question[];
    status: SurveyStatusType;
    title: string;
    user: User;
}

Properties

category: {
    id: string;
    name: string;
}

Type declaration

  • id: string
  • name: string
description: string
hasAnswers: boolean
id: number
public: boolean
questions: Question[]
title: string
user: User