Skip to content

Commit a89d716

Browse files
committed
fixed build error?
1 parent aa8eb87 commit a89d716

File tree

3 files changed

+185
-31
lines changed

3 files changed

+185
-31
lines changed

amplify/auth/PostConfirmation/amplify_outputs.json

+171-24
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
11
{
22
"auth": {
3-
"user_pool_id": "ca-central-1_OXvYrtFrt",
3+
"user_pool_id": "ca-central-1_Klqm9wvUD",
44
"aws_region": "ca-central-1",
5-
"user_pool_client_id": "6t06vmercpce4bfr663r7ilptb",
6-
"identity_pool_id": "ca-central-1:0b290be7-01c8-4460-9f1f-fc69c76be5d9",
5+
"user_pool_client_id": "4bd5fip8elof28bjplptu4tecg",
6+
"identity_pool_id": "ca-central-1:dff6a918-2297-41bb-95c1-791a87304df9",
7+
"mfa_methods": [],
78
"standard_required_attributes": ["email"],
89
"username_attributes": ["email"],
910
"user_verification_types": ["email"],
11+
"mfa_configuration": "NONE",
1012
"password_policy": {
1113
"min_length": 8,
12-
"require_numbers": true,
1314
"require_lowercase": true,
14-
"require_uppercase": true,
15-
"require_symbols": true
15+
"require_numbers": true,
16+
"require_symbols": true,
17+
"require_uppercase": true
1618
},
1719
"oauth": {
1820
"identity_providers": ["GOOGLE"],
@@ -34,14 +36,14 @@
3436
"profile",
3537
"aws.cognito.signin.user.admin"
3638
],
37-
"domain": "0c674bb300554ca848e7.auth.ca-central-1.amazoncognito.com"
39+
"domain": "62085ad5028b2f5a5f6f.auth.ca-central-1.amazoncognito.com"
3840
},
3941
"unauthenticated_identities_enabled": true
4042
},
4143
"data": {
42-
"url": "https://uko735f6avdfri7d363krmempm.appsync-api.ca-central-1.amazonaws.com/graphql",
44+
"url": "https://ujccghtkzndhppqzkhzv2yojpa.appsync-api.ca-central-1.amazonaws.com/graphql",
4345
"aws_region": "ca-central-1",
44-
"api_key": "da2-ybuj7ujjgbbqnip37kujcca7pi",
46+
"api_key": "da2-kwqojdm53rgm7fzoxq3e5b2tli",
4547
"default_authorization_type": "AMAZON_COGNITO_USER_POOLS",
4648
"authorization_types": ["API_KEY", "AWS_LAMBDA", "AWS_IAM"],
4749
"model_introspection": {
@@ -222,16 +224,23 @@
222224
"type": "auth",
223225
"properties": {
224226
"rules": [
227+
{
228+
"groupClaim": "cognito:groups",
229+
"provider": "userPools",
230+
"allow": "groups",
231+
"operations": ["read", "update", "create", "delete"],
232+
"groups": ["Admin"]
233+
},
225234
{
226235
"provider": "userPools",
227236
"ownerField": "profileOwner",
228237
"allow": "owner",
229-
"operations": ["read", "update"],
238+
"operations": ["read", "update", "create"],
230239
"identityClaim": "cognito:username"
231240
},
232241
{
233242
"allow": "private",
234-
"operations": ["read"]
243+
"operations": ["read", "create"]
235244
}
236245
]
237246
}
@@ -441,8 +450,8 @@
441450
"groupClaim": "cognito:groups",
442451
"provider": "userPools",
443452
"allow": "groups",
444-
"groups": ["Admin"],
445-
"operations": ["create", "update", "delete", "read"]
453+
"operations": ["create", "delete"],
454+
"groups": ["Admin"]
446455
},
447456
{
448457
"allow": "private",
@@ -472,7 +481,7 @@
472481
"name": "name",
473482
"isArray": false,
474483
"type": "String",
475-
"isRequired": false,
484+
"isRequired": true,
476485
"attributes": []
477486
},
478487
"approved": {
@@ -524,6 +533,13 @@
524533
"associatedWith": ["teamId"]
525534
}
526535
},
536+
"devPostLink": {
537+
"name": "devPostLink",
538+
"isArray": false,
539+
"type": "String",
540+
"isRequired": false,
541+
"attributes": []
542+
},
527543
"createdAt": {
528544
"name": "createdAt",
529545
"isArray": false,
@@ -562,7 +578,7 @@
562578
"groupClaim": "cognito:groups",
563579
"provider": "userPools",
564580
"allow": "groups",
565-
"operations": ["read", "update"],
581+
"operations": ["read", "update", "create", "delete"],
566582
"groups": ["Admin"]
567583
},
568584
{
@@ -586,7 +602,7 @@
586602
"name": "id",
587603
"isArray": false,
588604
"type": "ID",
589-
"isRequired": true,
605+
"isRequired": false,
590606
"attributes": []
591607
},
592608
"score": {
@@ -683,7 +699,7 @@
683699
{
684700
"type": "key",
685701
"properties": {
686-
"fields": ["id"]
702+
"fields": ["teamId", "judgeId"]
687703
}
688704
},
689705
{
@@ -701,17 +717,17 @@
701717
"groupClaim": "cognito:groups",
702718
"provider": "userPools",
703719
"allow": "groups",
704-
"operations": ["create", "update"],
720+
"operations": ["create", "read", "update"],
705721
"groups": ["Judge"]
706722
}
707723
]
708724
}
709725
}
710726
],
711727
"primaryKeyInfo": {
712-
"isCustomPrimaryKey": false,
713-
"primaryKeyFieldName": "id",
714-
"sortKeyFieldNames": []
728+
"isCustomPrimaryKey": true,
729+
"primaryKeyFieldName": "teamId",
730+
"sortKeyFieldNames": ["judgeId"]
715731
}
716732
},
717733
"Room": {
@@ -797,7 +813,7 @@
797813
"groupClaim": "cognito:groups",
798814
"provider": "userPools",
799815
"allow": "groups",
800-
"operations": ["read", "update"],
816+
"operations": ["read", "create", "update"],
801817
"groups": ["Admin"]
802818
},
803819
{
@@ -915,6 +931,13 @@
915931
{
916932
"allow": "private",
917933
"operations": ["read"]
934+
},
935+
{
936+
"groupClaim": "cognito:groups",
937+
"provider": "userPools",
938+
"allow": "groups",
939+
"operations": ["read", "create", "update"],
940+
"groups": ["Admin"]
918941
}
919942
]
920943
}
@@ -956,7 +979,7 @@
956979
"type": {
957980
"nonModel": "ScoreComponentType"
958981
},
959-
"isRequired": false,
982+
"isRequired": true,
960983
"attributes": [],
961984
"isArrayNullable": false
962985
},
@@ -966,7 +989,7 @@
966989
"type": {
967990
"nonModel": "ScoreComponentType"
968991
},
969-
"isRequired": false,
992+
"isRequired": true,
970993
"attributes": [],
971994
"isArrayNullable": false
972995
},
@@ -1113,6 +1136,32 @@
11131136
}
11141137
}
11151138
},
1139+
"ScheduleTeamsAndJudgesResponse": {
1140+
"name": "ScheduleTeamsAndJudgesResponse",
1141+
"fields": {
1142+
"body": {
1143+
"name": "body",
1144+
"isArray": false,
1145+
"type": "AWSJSON",
1146+
"isRequired": false,
1147+
"attributes": []
1148+
},
1149+
"statusCode": {
1150+
"name": "statusCode",
1151+
"isArray": false,
1152+
"type": "Int",
1153+
"isRequired": false,
1154+
"attributes": []
1155+
},
1156+
"headers": {
1157+
"name": "headers",
1158+
"isArray": false,
1159+
"type": "AWSJSON",
1160+
"isRequired": false,
1161+
"attributes": []
1162+
}
1163+
}
1164+
},
11161165
"ScoreComponentType": {
11171166
"name": "ScoreComponentType",
11181167
"fields": {
@@ -1256,6 +1305,104 @@
12561305
"isRequired": true
12571306
}
12581307
}
1308+
},
1309+
"ScheduleTeamsAndJudges": {
1310+
"name": "ScheduleTeamsAndJudges",
1311+
"isArray": false,
1312+
"type": {
1313+
"nonModel": "ScheduleTeamsAndJudgesResponse"
1314+
},
1315+
"isRequired": false,
1316+
"arguments": {
1317+
"numOfJudgingRooms": {
1318+
"name": "numOfJudgingRooms",
1319+
"isArray": false,
1320+
"type": "Int",
1321+
"isRequired": true
1322+
},
1323+
"judgingSessionsPerTeam": {
1324+
"name": "judgingSessionsPerTeam",
1325+
"isArray": false,
1326+
"type": "Int",
1327+
"isRequired": true
1328+
},
1329+
"startDateAndTime": {
1330+
"name": "startDateAndTime",
1331+
"isArray": false,
1332+
"type": "AWSDateTime",
1333+
"isRequired": true
1334+
},
1335+
"presentationDuration": {
1336+
"name": "presentationDuration",
1337+
"isArray": false,
1338+
"type": "Int",
1339+
"isRequired": true
1340+
}
1341+
}
1342+
},
1343+
"ResetHackathon": {
1344+
"name": "ResetHackathon",
1345+
"isArray": false,
1346+
"type": {
1347+
"nonModel": "StatusCodeFunctionResponse"
1348+
},
1349+
"isRequired": false,
1350+
"arguments": {
1351+
"scoringComponents": {
1352+
"name": "scoringComponents",
1353+
"isArray": false,
1354+
"type": "AWSJSON",
1355+
"isRequired": true
1356+
},
1357+
"scoringSidepots": {
1358+
"name": "scoringSidepots",
1359+
"isArray": false,
1360+
"type": "AWSJSON",
1361+
"isRequired": true
1362+
},
1363+
"startDate": {
1364+
"name": "startDate",
1365+
"isArray": false,
1366+
"type": "AWSDate",
1367+
"isRequired": true
1368+
},
1369+
"endDate": {
1370+
"name": "endDate",
1371+
"isArray": false,
1372+
"type": "AWSDate",
1373+
"isRequired": true
1374+
},
1375+
"resetUsers": {
1376+
"name": "resetUsers",
1377+
"isArray": false,
1378+
"type": "Boolean",
1379+
"isRequired": true
1380+
},
1381+
"resetTeams": {
1382+
"name": "resetTeams",
1383+
"isArray": false,
1384+
"type": "Boolean",
1385+
"isRequired": true
1386+
},
1387+
"resetRooms": {
1388+
"name": "resetRooms",
1389+
"isArray": false,
1390+
"type": "Boolean",
1391+
"isRequired": true
1392+
},
1393+
"resetScores": {
1394+
"name": "resetScores",
1395+
"isArray": false,
1396+
"type": "Boolean",
1397+
"isRequired": true
1398+
},
1399+
"safetyCheck": {
1400+
"name": "safetyCheck",
1401+
"isArray": false,
1402+
"type": "String",
1403+
"isRequired": true
1404+
}
1405+
}
12591406
}
12601407
}
12611408
}

amplify/function/BusinessLogic/_amplify_model/amplify_outputs.json

+13-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"auth": {
3-
"user_pool_id": "ca-central-1_bp9LgIEFa",
3+
"user_pool_id": "ca-central-1_Klqm9wvUD",
44
"aws_region": "ca-central-1",
5-
"user_pool_client_id": "30fkpco4lipfhcj3lvfumajs6i",
6-
"identity_pool_id": "ca-central-1:ad21f501-7694-43b8-ba7c-b48f0fbfe913",
5+
"user_pool_client_id": "4bd5fip8elof28bjplptu4tecg",
6+
"identity_pool_id": "ca-central-1:dff6a918-2297-41bb-95c1-791a87304df9",
77
"mfa_methods": [],
88
"standard_required_attributes": ["email"],
99
"username_attributes": ["email"],
@@ -41,9 +41,9 @@
4141
"unauthenticated_identities_enabled": true
4242
},
4343
"data": {
44-
"url": "https://ehnwo6oiuvcfdpes4eanj6xiem.appsync-api.ca-central-1.amazonaws.com/graphql",
44+
"url": "https://ujccghtkzndhppqzkhzv2yojpa.appsync-api.ca-central-1.amazonaws.com/graphql",
4545
"aws_region": "ca-central-1",
46-
"api_key": "da2-gcytlmzg4vg3padvqtlm7noyce",
46+
"api_key": "da2-kwqojdm53rgm7fzoxq3e5b2tli",
4747
"default_authorization_type": "AMAZON_COGNITO_USER_POOLS",
4848
"authorization_types": ["API_KEY", "AWS_LAMBDA", "AWS_IAM"],
4949
"model_introspection": {
@@ -533,6 +533,13 @@
533533
"associatedWith": ["teamId"]
534534
}
535535
},
536+
"devPostLink": {
537+
"name": "devPostLink",
538+
"isArray": false,
539+
"type": "String",
540+
"isRequired": false,
541+
"attributes": []
542+
},
536543
"createdAt": {
537544
"name": "createdAt",
538545
"isArray": false,
@@ -571,7 +578,7 @@
571578
"groupClaim": "cognito:groups",
572579
"provider": "userPools",
573580
"allow": "groups",
574-
"operations": ["read", "update", "create"],
581+
"operations": ["read", "update", "create", "delete"],
575582
"groups": ["Admin"]
576583
},
577584
{

src/components/judging/ScoresTable.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ export default function JudgingTable(props: JudgingTableProps) {
267267
scoreObject[columnId]
268268
)}
269269
<span
270-
className={`text-md ${colorStyles.headerCellBg} pointer-events-none absolute inset-0 flex items-center justify-center bg-opacity-50 font-semibold text-white opacity-0 group-hover:opacity-100`}
270+
className={`text-md ${colorStyles.headerCellBg} bg-opacity/50 pointer-events-none absolute inset-0 flex items-center justify-center font-semibold text-white opacity-0 group-hover:opacity-100`}
271271
>
272272
Edit
273273
</span>

0 commit comments

Comments
 (0)