@@ -21,8 +21,7 @@ import { SearchResponse } from "src/search/types";
2121
2222// ts-prune-ignore-next
2323export interface Endpoints {
24- // @TODO -ZM: lower case the endpoints, curtesy of @Fcmam5
25- "api:Projects" : {
24+ "api:projects" : {
2625 response : GetProjectsResponse ;
2726 } ;
2827 "api:projects/for-sitemap" : {
@@ -32,14 +31,14 @@ export interface Endpoints {
3231 response : GetProjectNameResponse ;
3332 params : { id : string } ;
3433 } ;
35- "api:Projects /:id" : {
34+ "api:projects /:id" : {
3635 response : GetProjectResponse ;
3736 params : { id : string } ;
3837 } ;
39- "api:Contributions " : {
38+ "api:contributions " : {
4039 response : GetContributionsResponse ;
4140 } ;
42- "api:Contributions /:id" : {
41+ "api:contributions /:id" : {
4342 response : GetContributionResponse ;
4443 params : { id : string } ;
4544 } ;
@@ -50,24 +49,24 @@ export interface Endpoints {
5049 "api:contributions/for-sitemap" : {
5150 response : GetContributionsForSitemapResponse ;
5251 } ;
53- "api:Contributors " : {
52+ "api:contributors " : {
5453 response : GetContributorsResponse ;
5554 } ;
5655 "api:contributors/for-sitemap" : {
5756 response : GetContributorsForSitemapResponse ;
5857 } ;
59- "api:Contributors /:id" : {
58+ "api:contributors /:id" : {
6059 response : GetContributorResponse ;
6160 params : { id : string } ;
6261 } ;
6362 "api:contributors/:id/name" : {
6463 response : GetContributorNameResponse ;
6564 params : { id : string } ;
6665 } ;
67- "api:MileStones /dzcode" : {
66+ "api:milestones /dzcode" : {
6867 response : GetMilestonesResponse ;
6968 } ;
70- "api:Search " : {
69+ "api:search " : {
7170 response : SearchResponse ;
7271 query : [ [ "query" , string ] , [ "limit" , number ] ] ;
7372 } ;
0 commit comments