Skip to content

Commit

Permalink
added q&a
Browse files Browse the repository at this point in the history
  • Loading branch information
eelkus01 committed Jun 25, 2024
1 parent 5624e0c commit c3f26de
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 0 deletions.
63 changes: 63 additions & 0 deletions strapi/src/api/candidate/content-types/candidate/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,69 @@
},
"ElectionName": {
"type": "string"
},
"Question1": {
"type": "string"
},
"Answer1": {
"type": "text"
},
"Question2": {
"type": "string"
},
"Answer2": {
"type": "text"
},
"Question3": {
"type": "string"
},
"Answer3": {
"type": "text"
},
"Question4": {
"type": "string"
},
"Answer4": {
"type": "text"
},
"Question5": {
"type": "string"
},
"Answer5": {
"type": "text"
},
"Question6": {
"type": "string"
},
"Answer6": {
"type": "text"
},
"Question7": {
"type": "string"
},
"Answer7": {
"type": "text"
},
"Question8": {
"type": "string"
},
"Answer8": {
"type": "text"
},
"Question9": {
"type": "string"
},
"Answer9": {
"type": "text"
},
"Question10": {
"type": "string"
},
"Answer10": {
"type": "text"
},
"QuestionsAnswers": {
"type": "json"
}
}
}
21 changes: 21 additions & 0 deletions strapi/types/generated/contentTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -910,6 +910,27 @@ export interface ApiCandidateCandidate extends Schema.CollectionType {
LinkedinLink: Attribute.String;
Party: Attribute.String & Attribute.Required;
ElectionName: Attribute.String;
Question1: Attribute.String;
Answer1: Attribute.Text;
Question2: Attribute.String;
Answer2: Attribute.Text;
Question3: Attribute.String;
Answer3: Attribute.Text;
Question4: Attribute.String;
Answer4: Attribute.Text;
Question5: Attribute.String;
Answer5: Attribute.Text;
Question6: Attribute.String;
Answer6: Attribute.Text;
Question7: Attribute.String;
Answer7: Attribute.Text;
Question8: Attribute.String;
Answer8: Attribute.Text;
Question9: Attribute.String;
Answer9: Attribute.Text;
Question10: Attribute.String;
Answer10: Attribute.Text;
QuestionsAnswers: Attribute.JSON;
createdAt: Attribute.DateTime;
updatedAt: Attribute.DateTime;
publishedAt: Attribute.DateTime;
Expand Down

0 comments on commit c3f26de

Please sign in to comment.