File tree Expand file tree Collapse file tree 9 files changed +732
-344
lines changed
Expand file tree Collapse file tree 9 files changed +732
-344
lines changed Original file line number Diff line number Diff line change 11MONGO_URL =
2- DISCORD_WEBHOOK =
3- DISCORD_TEST_WEBHOOK =
2+ DISCORD_ACCEPTED_WEBHOOK =
3+ DISCORD_RECJECTED_WEBHOOK =
4+ DISCORD_REPORT_WEBHOOK =
45DISCORD_MANAGEMENT_WEBHOOK =
6+ DISCORD_ABOUT_DELETE_WEBHOOK =
57ADMIN_PASSWORD =
68JWT_SECRET =
Original file line number Diff line number Diff line change 11{
22 "name" : " bamboo-api" ,
3- "version" : " 2.0.0 " ,
3+ "version" : " 2.1.6 " ,
44 "repository" : " https://github.com/Promotion-official/bamboo-server.git" ,
55 "author" : " sunrabbit123 <qudwls185@naver.com>" ,
66 "license" : " Apache-2.0" ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ provider:
88 runtime : nodejs14.x
99 lambdaHashingVersion : 20201221
1010 region : ap-northeast-2
11- stage : apiV2
11+ stage : test
1212
1313resources :
1414 Resources :
@@ -33,7 +33,7 @@ resources:
3333
3434functions :
3535 getKindOfAlgorithemCount :
36- handler : src/handler.getAlgorithemCountAtAll
36+ handler : src/handler.getStatusList
3737 events :
3838 - http :
3939 path : post/count
@@ -54,21 +54,21 @@ functions:
5454 method : get
5555 cors : true
5656 createAlgorithem :
57- handler : src/handler.wirteAlogorithem
57+ handler : src/handler.postAlgorithem
5858 events :
5959 - http :
6060 path : post/create
6161 method : post
6262 cors : true
6363 changeStatusAlgorithem :
64- handler : src/handler.setAlogorithemStatus
64+ handler : src/handler.setAlgorithemStatus
6565 events :
6666 - http :
6767 path : post/{id}/setStatus
6868 method : post
6969 cors : true
7070 modifyAlgorithem :
71- handler : src/handler.modifyAlogirithemContent
71+ handler : src/handler.modifyAlgorithem
7272 events :
7373 - http :
7474 path : post/{id}/modify
@@ -88,6 +88,20 @@ functions:
8888 path : post/{id}/delete
8989 method : delete
9090 cors : true
91+ getAlgorithemRules :
92+ handler : src/handler.getAlgorithemRules
93+ events :
94+ - http :
95+ path : post/rule
96+ method : get
97+ cors : true
98+ getAlgorithemRulesForWeb :
99+ handler : src/handler.getAlgorithemRulesForWeb
100+ events :
101+ - http :
102+ path : post/rule/web
103+ method : get
104+ cors : true
91105 auth :
92106 handler : src/handler.authAdmin
93107 events :
Original file line number Diff line number Diff line change 11import { APIGatewayEvent } from "aws-lambda" ;
22
3- export type certifiedEvent = APIGatewayEvent & { state ?: { isAdmin : boolean } } ;
3+ export type CertifiedEvent = APIGatewayEvent & { state ?: { isAdmin : boolean } } ;
You canโt perform that action at this time.
0 commit comments