Skip to content

Commit

Permalink
Merge pull request #8 from tomgasper/authentication-ui
Browse files Browse the repository at this point in the history
Authentication UI
  • Loading branch information
tomgasper authored Sep 12, 2024
2 parents 6838490 + ef9c295 commit 4906789
Show file tree
Hide file tree
Showing 88 changed files with 3,052 additions and 225 deletions.
3 changes: 2 additions & 1 deletion Requests/Project/CreateProjectRequest.http
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

POST {{host}}/api/projects
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJlMGQ5MTMwMy1iNWM5LTQ1MzAtOTkxNC1kMjdjN2EwNTQ0MTUiLCJnaXZlbl9uYW1lIjoiSmFjdcWbIiwiZmFtaWx5X25hbWUiOiJCb3NhayIsImp0aSI6IjQ0NTkyMjQ0LWU0NzgtNDBjNC1hMzY5LTg2NWE5ZWExM2FmOCIsImV4cCI6MTcyNTQ0ODg3NCwiaXNzIjoiUGxhbkl0IiwiYXVkIjoiUGxhbkl0In0.E6iCIp1c3QGt5PAdXVsk9UZkFR9vmRSCMXU4poJl1Dw
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJlMGQ5MTMwMy1iNWM5LTQ1MzAtOTkxNC1kMjdjN2EwNTQ0MTUiLCJnaXZlbl9uYW1lIjoiSmFjdcWbIiwiZmFtaWx5X25hbWUiOiJCb3NhayIsImp0aSI6ImE2ZmI3YmEwLTZiNjUtNGEyMS1hYmFkLTYxOWZjMzExOTNmYyIsImV4cCI6MTcyNTg5NTA3MiwiaXNzIjoiUGxhbkl0IiwiYXVkIjoiUGxhbkl0In0.pd_wuO_8FZ-AL0_GKE4QaxTxwdL4LKOR1IOi6DdvPtM

{
"workspaceId": "e02023fa-6b10-46b8-9315-f53a081bf46d",
"name": "Project 1",
"description": "Project 1 description",
"projectTasks":
Expand Down
5 changes: 5 additions & 0 deletions Requests/User/GetUserWorkspaces.http
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@host=https://localhost:5234
@userId=e0d91303-b5c9-4530-9914-d27c7a054415

GET {{host}}/api/users/{{userId}}/workspaces
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJlMGQ5MTMwMy1iNWM5LTQ1MzAtOTkxNC1kMjdjN2EwNTQ0MTUiLCJnaXZlbl9uYW1lIjoiSmFjdcWbIiwiZmFtaWx5X25hbWUiOiJCb3NhayIsImp0aSI6ImUyM2UzMDU1LTBjYTUtNDRhMy05ZjUzLTNjYjkzOWE3YzJhMiIsImV4cCI6MTcyNTg3NzM3NCwiaXNzIjoiUGxhbkl0IiwiYXVkIjoiUGxhbkl0In0.sKvv3kdMfJ5F28vp6r_6sPNNdG8KWCsX7PFi6reuXes
4 changes: 2 additions & 2 deletions Requests/Workspace/UpdateWorkspaceRequest.http
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
@host=https://localhost:5234
@workspaceId=e02023fa-6b10-46b8-9315-f53a081bf46d
@workspaceId=3458798c-c713-4a59-8b6f-99a48cfd05f4

PUT {{host}}/api/workspaces/{{workspaceId}}
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJlMGQ5MTMwMy1iNWM5LTQ1MzAtOTkxNC1kMjdjN2EwNTQ0MTUiLCJnaXZlbl9uYW1lIjoiSmFjdcWbIiwiZmFtaWx5X25hbWUiOiJCb3NhayIsImp0aSI6ImIyMGExOTU5LTllYWYtNDU4ZS04NjI3LWQ3NDAzMzNkZmZjNSIsImV4cCI6MTcyNTYzMjgzMCwiaXNzIjoiUGxhbkl0IiwiYXVkIjoiUGxhbkl0In0.ZN8-8TdKJoS2KyxB0tM8yJcweCrdLuu9ucy9Dby45OM
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJlMGQ5MTMwMy1iNWM5LTQ1MzAtOTkxNC1kMjdjN2EwNTQ0MTUiLCJnaXZlbl9uYW1lIjoiSmFjdcWbIiwiZmFtaWx5X25hbWUiOiJCb3NhayIsImp0aSI6ImViOWIwYTE0LWU4NmItNGMwMi1iNzczLTYxZGYyMTgzYWZmOSIsImV4cCI6MTcyNTk4NTIyMCwiaXNzIjoiUGxhbkl0IiwiYXVkIjoiUGxhbkl0In0.Q61IfAqjyHhT9gL8IDHlM4Of_oDPXaB-l7Gwox-6Mw4

{
"name": "Workspace 1 Edited",
Expand Down
4 changes: 3 additions & 1 deletion clients/plan-it-web/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ export default tseslint.config(
'warn',
{ allowConstantExport: true },
],
"@typescript-eslint/no-unsafe-assignment": "warn",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-misused-promises" : "off",
"@typescript-eslint/no-unsafe-call" : "warn",
...react.configs.recommended.rules,
...react.configs['jsx-runtime'].rules,
},
Expand Down
211 changes: 206 additions & 5 deletions clients/plan-it-web/package-lock.json

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

Loading

0 comments on commit 4906789

Please sign in to comment.