diff --git a/award-definitions/dld.json b/award-definitions/dld.json index 02c9947..083d789 100644 --- a/award-definitions/dld.json +++ b/award-definitions/dld.json @@ -36,5 +36,27 @@ "FM", "SSB" ] - } + }, + "achievements": [ + { + "name": "DLD50", + "threshold": 50 + }, + { + "name": "DLD100", + "threshold": 100 + }, + { + "name": "DLD200", + "threshold": 200 + }, + { + "name": "DLD500", + "threshold": 500 + }, + { + "name": "DLD1000", + "threshold": 1000 + } + ] } \ No newline at end of file diff --git a/award-definitions/special-stations.json b/award-definitions/special-stations.json index 99b97c7..4663b34 100644 --- a/award-definitions/special-stations.json +++ b/award-definitions/special-stations.json @@ -9,14 +9,57 @@ "target": 50, "countMode": "perBandMode", "stations": [ - { "callsign": "DF2ET", "points": 10 }, - { "callsign": "DJ7NT", "points": 10 }, - { "callsign": "HB9HIL", "points": 10 }, - { "callsign": "LA8AJA", "points": 10 }, - { "callsign": "DB4SCW", "points": 5 }, - { "callsign": "DG2RON", "points": 5 }, - { "callsign": "DG0TM", "points": 5 }, - { "callsign": "DO8MKR", "points": 5 } + { + "callsign": "DF2ET", + "points": 10 + }, + { + "callsign": "DJ7NT", + "points": 10 + }, + { + "callsign": "HB9HIL", + "points": 10 + }, + { + "callsign": "LA8AJA", + "points": 10 + }, + { + "callsign": "DB4SCW", + "points": 5 + }, + { + "callsign": "DG2RON", + "points": 5 + }, + { + "callsign": "DG0TM", + "points": 5 + }, + { + "callsign": "DO8MKR", + "points": 5 + } ] - } -} + }, + "modeGroups": {}, + "achievements": [ + { + "name": "Unicorn", + "threshold": 10 + }, + { + "name": "Few Devs", + "threshold": 20 + }, + { + "name": "More Devs", + "threshold": 40 + }, + { + "name": "Gold", + "threshold": 50 + } + ] +} \ No newline at end of file diff --git a/award-definitions/vucc6m.json b/award-definitions/vucc6m.json new file mode 100644 index 0000000..b35270e --- /dev/null +++ b/award-definitions/vucc6m.json @@ -0,0 +1,31 @@ +{ + "id": "vucc6m", + "name": "VUCC 6M", + "description": "Shows confirmed gridsquares on 6M", + "caption": "Shows confirmed gridsquares on 6M", + "category": "vucc", + "rules": { + "type": "entity", + "satellite_only": false, + "filters": { + "operator": "AND", + "filters": [ + { + "field": "band", + "operator": "eq", + "value": "6m" + } + ] + }, + "entityType": "grid", + "countMode": "perStation", + "target": 100, + "allowed_bands": [ + "6m" + ], + "stations": [], + "displayField": "grid" + }, + "modeGroups": {}, + "achievements": [] +} \ No newline at end of file diff --git a/award-definitions/was.json b/award-definitions/was.json index 463be2e..79f2891 100644 --- a/award-definitions/was.json +++ b/award-definitions/was.json @@ -1,12 +1,9 @@ { "id": "was-mixed", - "name": "WAS Mixed Mode", + "name": "WAS", "description": "Confirm all 50 US states", "caption": "Contact and confirm all 50 US states. Only QSOs with stations located in United States states count toward this award. QSOs are confirmed when LoTW QSL is received.", "category": "was", - "achievements": [ - { "name": "WAS Award", "threshold": 50 } - ], "rules": { "type": "entity", "entityType": "state", @@ -18,9 +15,21 @@ { "field": "entityId", "operator": "in", - "value": [291, 6, 110] + "value": [ + 291, + 6, + 110 + ] } ] + }, + "stations": [] + }, + "modeGroups": {}, + "achievements": [ + { + "name": "WAS Award", + "threshold": 50 } - } -} + ] +} \ No newline at end of file diff --git a/start.sh b/start.sh index 2f8c6b9..109cf95 100755 --- a/start.sh +++ b/start.sh @@ -2,4 +2,5 @@ # Production start script # Run backend server (Elysia errors are harmless warnings that don't affect functionality) +export LOG_LEVEL=debug exec bun src/backend/index.js