Skip to content

Commit

Permalink
c
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonjiang9142 committed Jun 25, 2024
1 parent 9b481d8 commit eaf6d9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@
],
"required": true
},
"ElectionName": {
"type": "relation",
"relation": "oneToOne",
"target": "api::boston-municipal-election-date.boston-municipal-election-date"
},
"InitiativeName": {
"type": "text",
"required": true
Expand All @@ -55,6 +50,10 @@
"WhatIsNo": {
"type": "text",
"required": true
},
"ElectionName": {
"type": "string",
"required": true
}
}
}
6 changes: 1 addition & 5 deletions strapi/types/generated/contentTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -815,17 +815,13 @@ export interface ApiBallotInitiativeBallotInitiative
]
> &
Attribute.Required;
ElectionName: Attribute.Relation<
'api::ballot-initiative.ballot-initiative',
'oneToOne',
'api::boston-municipal-election-date.boston-municipal-election-date'
>;
InitiativeName: Attribute.Text & Attribute.Required;
ProponentName: Attribute.String & Attribute.Required;
ProponentEmail: Attribute.Email & Attribute.Required;
ProponentPhoneNumber: Attribute.String & Attribute.Required;
WhatIsYes: Attribute.Text & Attribute.Required;
WhatIsNo: Attribute.Text & Attribute.Required;
ElectionName: Attribute.String & Attribute.Required;
createdAt: Attribute.DateTime;
updatedAt: Attribute.DateTime;
publishedAt: Attribute.DateTime;
Expand Down

0 comments on commit eaf6d9b

Please sign in to comment.