Skip to content

Commit

Permalink
268 add launch date to satellite (#289)
Browse files Browse the repository at this point in the history
* Launch date satellite

* Add launch date #268

* Fix since launch time

* content Types
  • Loading branch information
EliasKnudsen authored and GitHub committed Apr 16, 2024
1 parent 450f8c8 commit d074788
Show file tree
Hide file tree
Showing 8 changed files with 136 additions and 26 deletions.
3 changes: 3 additions & 0 deletions backend/src/api/satellite/content-types/satellite/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
"missionStatus": {
"type": "string"
},
"launchDate": {
"type": "datetime"
},
"slug": {
"type": "uid",
"targetField": "name",
Expand Down
1 change: 1 addition & 0 deletions backend/types/generated/contentTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -987,6 +987,7 @@ export interface ApiSatelliteSatellite extends Schema.CollectionType {
'api::project.project'
>;
missionStatus: Attribute.String;
launchDate: Attribute.DateTime;
slug: Attribute.UID<'api::satellite.satellite', 'name'> &
Attribute.Required;
createdAt: Attribute.DateTime;
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/__generated__/gql.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d074788

Please sign in to comment.