Skip to content

Commit

Permalink
96 display satellites with only catalog number (#99)
Browse files Browse the repository at this point in the history
* feat(frontend): ✨ Display satellites on map by fetching CAT number

Use CAT number to display satellites on map instead of celestrakURL. Remove CelestrakURL field in Satellite collection in Strapi. Co-authored-by: Mats <mnyflot@gmail.com>

* fix(frontend): 🐛 Use example data to display satellites

* feat(frontend): ✨ Display satellites on map by fetching CAT number and satellite names

Use CAT number or satellite name to display satellites on map instead of celestrakURL. Co-authored-by: Mats <mnyflot@gmail.com>

* fix(frontend): 🐛 Use example data to display satellites
  • Loading branch information
luctra02 authored and GitHub committed Feb 21, 2024
1 parent 1f7fbfa commit 265133f
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"target": "api::project.project",
"mappedBy": "satellites"
},
"celestrakURL": {
"satelliteName": {
"type": "string"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"x-generation-date": "2024-02-19T16:55:40.105Z"
"x-generation-date": "2024-02-21T11:53:15.116Z"
},
"x-strapi-config": {
"path": "/documentation",
Expand Down Expand Up @@ -4728,9 +4728,6 @@
}
}
},
"celestrakURL": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -5021,9 +5018,6 @@
],
"example": "string or id"
}
},
"celestrakURL": {
"type": "string"
}
}
}
Expand Down Expand Up @@ -5139,9 +5133,6 @@
}
}
},
"celestrakURL": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -5873,9 +5864,6 @@
}
}
},
"celestrakURL": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
Expand Down
2 changes: 1 addition & 1 deletion backend/types/generated/contentTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ export interface ApiSatelliteSatellite extends Schema.CollectionType {
'manyToMany',
'api::project.project'
>;
celestrakURL: Attribute.String;
satelliteName: Attribute.String;
createdAt: Attribute.DateTime;
updatedAt: Attribute.DateTime;
publishedAt: 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.

12 changes: 6 additions & 6 deletions frontend/src/__generated__/graphql.ts

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

Loading

0 comments on commit 265133f

Please sign in to comment.