WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 5eb9d59

Browse files
authored
Merge pull request #146 from DeutscheModelUnitedNations/refresh-setup
✨ feature: Draft for the API rework
2 parents 1c66f89 + 3720b4a commit 5eb9d59

File tree

380 files changed

+15938
-12319
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

380 files changed

+15938
-12319
lines changed

.env.example

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ PORT=3000
33
DATABASE_URL=postgres://postgres:postgres@localhost:5432/postgres
44
SECRET=123
55

6-
PUBLIC_OIDC_AUTHORITY=http://localhost:8080
6+
PUBLIC_OIDC_AUTHORITY=http://localhost:8080/default/.well-known/openid-configuration
77
# PUBLIC_OIDC_AUTHORITY=https://guard.munify.cloud
8-
PUBLIC_OIDC_CLIENT_ID=delegator
8+
PUBLIC_OIDC_CLIENT_ID=default
99
# PUBLIC_OIDC_CLIENT_ID=275671515582758948@dev
1010

11-
OIDC_ROLE_CLAIM=urn:zitadel:iam:org:project:274940319361925156:roles
11+
OIDC_ROLE_CLAIM=urn:zitadel:iam:org:project:275671427955294244:roles
1212

1313
PUBLIC_FEEDBACK_URL=https://fb-delegator.dmun.de

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,12 @@ Thumbs.db
2020
vite.config.js.timestamp-*
2121
vite.config.ts.timestamp-*
2222

23-
prisma/generated
23+
prisma/generated/*
2424
src/lib/paraglide
2525

2626
# Tasks
2727
/tasksOut/*
2828
empheralData/*
29+
30+
$houdini
31+
tasksOut

.graphqlrc.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
projects:
2+
default:
3+
schema:
4+
- ./schema.graphql
5+
- ./$houdini/graphql/schema.graphql
6+
documents:
7+
- '**/*.gql'
8+
- '**/*.svelte'
9+
- ./$houdini/graphql/documents.gql

.prettierrc

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
"singleQuote": true,
44
"trailingComma": "none",
55
"printWidth": 100,
6-
"plugins": ["prettier-plugin-svelte"],
7-
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }]
6+
"plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"],
7+
"overrides": [
8+
{
9+
"files": "*.svelte",
10+
"options": {
11+
"parser": "svelte"
12+
}
13+
}
14+
]
815
}

.vscode/extensions.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
{
2-
"recommendations": ["rioukkevin.vscode-git-commit", "inlang.vs-code-extension"]
2+
"recommendations": [
3+
"rioukkevin.vscode-git-commit",
4+
"inlang.vs-code-extension",
5+
"graphql.vscode-graphql",
6+
"prisma.prisma"
7+
]
38
}

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"files.eol": "\n",
3-
"vscodeGitCommit.template": ["{prefix} ({scope}): {message}", "branch: {branch}"],
3+
"vscodeGitCommit.template": ["{prefix}: {message}"],
44
"[javascript]": {},
55
"editor.codeActionsOnSave": {},
66
"vscodeGitCommit.variables": {

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ RUN bun install --frozen-lockfile
2020
# we need to generate prisma files before building to prevent type errors
2121
COPY ./prisma/migrations ./prisma/migrations/
2222
COPY ./prisma/schema.prisma ./prisma/schema.prisma
23+
COPY ./prisma/pothos.config.ts ./prisma/pothos.config.ts
2324
RUN bunx prisma generate
2425

2526
COPY . .

bun.lockb

56.4 KB
Binary file not shown.

dashboard/LICENSE

Lines changed: 0 additions & 28 deletions
This file was deleted.

dashboard/README.md

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)