Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add 2024 threshold data #183

Merged
merged 4 commits into from
Feb 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
env:
name: Generate environment variables
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Derive environment from git ref
id: environment
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
vars:
name: Generate public url
needs: [env]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
environment:
name: ${{ needs.env.outputs.environment }}
steps:
Expand All @@ -60,7 +60,7 @@ jobs:
build:
name: Build and push docker image
needs: [env, vars]
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
fail-fast: true
matrix:
node-version: [22.x]
os: [ubuntu-latest]
os: [ubuntu-22.04]

steps:
- name: Checkout repository
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ async function DashboardCountryReportEditStepPageContent(
<FormTitle>{t("confirm-information")}</FormTitle>
<FormDescription>
<p>
Do you wish to confirm your 2023 Unified National Report? The next screen will show
Do you wish to confirm your {year} Unified National Report? The next screen will show
you a summary of the information and provide you a cost calculation.
</p>
</FormDescription>
Expand Down Expand Up @@ -563,7 +563,7 @@ async function DashboardCountryReportEditStepPageContent(
</p>

<p>
Please check the summary below to see if it represents your fully completed 2023
Please check the summary below to see if it represents your fully completed {year}
Unified National Report.
</p>
</FormDescription>
Expand Down
2 changes: 1 addition & 1 deletion app/[locale]/terms-of-use/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export default function TermsOfUsePage(props: TermsOfUsePageProps): ReactNode {

<p>
The administrative contact for this AUP is:{" "}
<a href="mailto:unr2023@dariah.eu">unr2023@dariah.eu</a>.
<a href={`mailto:unr2024@dariah.eu`}>unr2024@dariah.eu</a>.
</p>

<p>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"node": "22.x",
"pnpm": "9.x"
},
"packageManager": "pnpm@9.12.1",
"packageManager": "pnpm@9.15.5",
"scripts": {
"analyze": "BUNDLE_ANALYZER=\"enabled\" next build --no-lint",
"build": "next build",
Expand Down Expand Up @@ -130,7 +130,7 @@
"lint-staged": "^15.2.10",
"npm-run-all2": "^6.2.3",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"prettier": "^3.4.2",
"prisma": "^5.20.0",
"prisma-dbml-generator": "^0.12.0",
"remark-frontmatter": "^5.0.0",
Expand Down
16 changes: 8 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions prisma/create-operational-cost-thresholds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,31 @@ function getOperationalCostThresholds() {
Slovenia: 18_908,
Switzerland: 26_388,
},
2024: {
Austria: 165_186,
Belgium: 196_211,
"Bosnia and Herzegovina": 7_547,
Bulgaria: 23_478,
Croatia: 21_801,
Cyprus: 8_385,
"Czech Republic": 85_528,
Denmark: 130_807,
France: 1_022_980,
Germany: 1_463_197,
Greece: 80_497,
Ireland: 131_646,
Italy: 769_751,
Luxembourg: 24_317,
Malta: 5_031,
Netherlands: 328_695,
Poland: 208_789,
Portugal: 87_205,
Serbia: 16_770,
Slovenia: 19_286,
Spain: 520_714,
Sweden: 106_071,
Switzerland: 269_161,
},
};

return operationalCostThresholds;
Expand Down
Loading