|
1 | 1 | {
|
2 | 2 | "auth": {
|
3 |
| - "user_pool_id": "ca-central-1_OXvYrtFrt", |
| 3 | + "user_pool_id": "ca-central-1_Klqm9wvUD", |
4 | 4 | "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": [], |
7 | 8 | "standard_required_attributes": ["email"],
|
8 | 9 | "username_attributes": ["email"],
|
9 | 10 | "user_verification_types": ["email"],
|
| 11 | + "mfa_configuration": "NONE", |
10 | 12 | "password_policy": {
|
11 | 13 | "min_length": 8,
|
12 |
| - "require_numbers": true, |
13 | 14 | "require_lowercase": true,
|
14 |
| - "require_uppercase": true, |
15 |
| - "require_symbols": true |
| 15 | + "require_numbers": true, |
| 16 | + "require_symbols": true, |
| 17 | + "require_uppercase": true |
16 | 18 | },
|
17 | 19 | "oauth": {
|
18 | 20 | "identity_providers": ["GOOGLE"],
|
|
34 | 36 | "profile",
|
35 | 37 | "aws.cognito.signin.user.admin"
|
36 | 38 | ],
|
37 |
| - "domain": "0c674bb300554ca848e7.auth.ca-central-1.amazoncognito.com" |
| 39 | + "domain": "62085ad5028b2f5a5f6f.auth.ca-central-1.amazoncognito.com" |
38 | 40 | },
|
39 | 41 | "unauthenticated_identities_enabled": true
|
40 | 42 | },
|
41 | 43 | "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", |
43 | 45 | "aws_region": "ca-central-1",
|
44 |
| - "api_key": "da2-ybuj7ujjgbbqnip37kujcca7pi", |
| 46 | + "api_key": "da2-kwqojdm53rgm7fzoxq3e5b2tli", |
45 | 47 | "default_authorization_type": "AMAZON_COGNITO_USER_POOLS",
|
46 | 48 | "authorization_types": ["API_KEY", "AWS_LAMBDA", "AWS_IAM"],
|
47 | 49 | "model_introspection": {
|
|
222 | 224 | "type": "auth",
|
223 | 225 | "properties": {
|
224 | 226 | "rules": [
|
| 227 | + { |
| 228 | + "groupClaim": "cognito:groups", |
| 229 | + "provider": "userPools", |
| 230 | + "allow": "groups", |
| 231 | + "operations": ["read", "update", "create", "delete"], |
| 232 | + "groups": ["Admin"] |
| 233 | + }, |
225 | 234 | {
|
226 | 235 | "provider": "userPools",
|
227 | 236 | "ownerField": "profileOwner",
|
228 | 237 | "allow": "owner",
|
229 |
| - "operations": ["read", "update"], |
| 238 | + "operations": ["read", "update", "create"], |
230 | 239 | "identityClaim": "cognito:username"
|
231 | 240 | },
|
232 | 241 | {
|
233 | 242 | "allow": "private",
|
234 |
| - "operations": ["read"] |
| 243 | + "operations": ["read", "create"] |
235 | 244 | }
|
236 | 245 | ]
|
237 | 246 | }
|
|
441 | 450 | "groupClaim": "cognito:groups",
|
442 | 451 | "provider": "userPools",
|
443 | 452 | "allow": "groups",
|
444 |
| - "groups": ["Admin"], |
445 |
| - "operations": ["create", "update", "delete", "read"] |
| 453 | + "operations": ["create", "delete"], |
| 454 | + "groups": ["Admin"] |
446 | 455 | },
|
447 | 456 | {
|
448 | 457 | "allow": "private",
|
|
472 | 481 | "name": "name",
|
473 | 482 | "isArray": false,
|
474 | 483 | "type": "String",
|
475 |
| - "isRequired": false, |
| 484 | + "isRequired": true, |
476 | 485 | "attributes": []
|
477 | 486 | },
|
478 | 487 | "approved": {
|
|
524 | 533 | "associatedWith": ["teamId"]
|
525 | 534 | }
|
526 | 535 | },
|
| 536 | + "devPostLink": { |
| 537 | + "name": "devPostLink", |
| 538 | + "isArray": false, |
| 539 | + "type": "String", |
| 540 | + "isRequired": false, |
| 541 | + "attributes": [] |
| 542 | + }, |
527 | 543 | "createdAt": {
|
528 | 544 | "name": "createdAt",
|
529 | 545 | "isArray": false,
|
|
562 | 578 | "groupClaim": "cognito:groups",
|
563 | 579 | "provider": "userPools",
|
564 | 580 | "allow": "groups",
|
565 |
| - "operations": ["read", "update"], |
| 581 | + "operations": ["read", "update", "create", "delete"], |
566 | 582 | "groups": ["Admin"]
|
567 | 583 | },
|
568 | 584 | {
|
|
586 | 602 | "name": "id",
|
587 | 603 | "isArray": false,
|
588 | 604 | "type": "ID",
|
589 |
| - "isRequired": true, |
| 605 | + "isRequired": false, |
590 | 606 | "attributes": []
|
591 | 607 | },
|
592 | 608 | "score": {
|
|
683 | 699 | {
|
684 | 700 | "type": "key",
|
685 | 701 | "properties": {
|
686 |
| - "fields": ["id"] |
| 702 | + "fields": ["teamId", "judgeId"] |
687 | 703 | }
|
688 | 704 | },
|
689 | 705 | {
|
|
701 | 717 | "groupClaim": "cognito:groups",
|
702 | 718 | "provider": "userPools",
|
703 | 719 | "allow": "groups",
|
704 |
| - "operations": ["create", "update"], |
| 720 | + "operations": ["create", "read", "update"], |
705 | 721 | "groups": ["Judge"]
|
706 | 722 | }
|
707 | 723 | ]
|
708 | 724 | }
|
709 | 725 | }
|
710 | 726 | ],
|
711 | 727 | "primaryKeyInfo": {
|
712 |
| - "isCustomPrimaryKey": false, |
713 |
| - "primaryKeyFieldName": "id", |
714 |
| - "sortKeyFieldNames": [] |
| 728 | + "isCustomPrimaryKey": true, |
| 729 | + "primaryKeyFieldName": "teamId", |
| 730 | + "sortKeyFieldNames": ["judgeId"] |
715 | 731 | }
|
716 | 732 | },
|
717 | 733 | "Room": {
|
|
797 | 813 | "groupClaim": "cognito:groups",
|
798 | 814 | "provider": "userPools",
|
799 | 815 | "allow": "groups",
|
800 |
| - "operations": ["read", "update"], |
| 816 | + "operations": ["read", "create", "update"], |
801 | 817 | "groups": ["Admin"]
|
802 | 818 | },
|
803 | 819 | {
|
|
915 | 931 | {
|
916 | 932 | "allow": "private",
|
917 | 933 | "operations": ["read"]
|
| 934 | + }, |
| 935 | + { |
| 936 | + "groupClaim": "cognito:groups", |
| 937 | + "provider": "userPools", |
| 938 | + "allow": "groups", |
| 939 | + "operations": ["read", "create", "update"], |
| 940 | + "groups": ["Admin"] |
918 | 941 | }
|
919 | 942 | ]
|
920 | 943 | }
|
|
956 | 979 | "type": {
|
957 | 980 | "nonModel": "ScoreComponentType"
|
958 | 981 | },
|
959 |
| - "isRequired": false, |
| 982 | + "isRequired": true, |
960 | 983 | "attributes": [],
|
961 | 984 | "isArrayNullable": false
|
962 | 985 | },
|
|
966 | 989 | "type": {
|
967 | 990 | "nonModel": "ScoreComponentType"
|
968 | 991 | },
|
969 |
| - "isRequired": false, |
| 992 | + "isRequired": true, |
970 | 993 | "attributes": [],
|
971 | 994 | "isArrayNullable": false
|
972 | 995 | },
|
|
1113 | 1136 | }
|
1114 | 1137 | }
|
1115 | 1138 | },
|
| 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 | + }, |
1116 | 1165 | "ScoreComponentType": {
|
1117 | 1166 | "name": "ScoreComponentType",
|
1118 | 1167 | "fields": {
|
|
1256 | 1305 | "isRequired": true
|
1257 | 1306 | }
|
1258 | 1307 | }
|
| 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 | + } |
1259 | 1406 | }
|
1260 | 1407 | }
|
1261 | 1408 | }
|
|
0 commit comments