models - revaturelabs/ask-frontend GitHub Wiki
The models folder in the Angular application represents the classes we used to represent important objects within the application. These include the User, Question, Response, Tag (for associated tags and skill set tags), Image, Account. Markdown options for the markdown editor are also in this folder.
The models included are set up as follows:
- id: number
- username: string
- isExpert: boolean
- expertTags: Tag[]
- questions: Question[]
- responses: Response[]
- id: number
- username: string
- tags?: string[]
- userId: number
- user?: User
- head: string
- body: string
- creationDate: string
- associatedTags: Tag[]
- responses: Response[]
- highlightedResponseId: Response
- images: Image[]
- user: any
- id: number responderId: number questionId: number body: string creationDate: string
id: number name: string checked?: boolean
id: number image: any (this is represented as an array of bytes in the Java end) question: Question
id: number expert: Boolean