Skip to content

Commit

Permalink
feat: updated to latest aeria version
Browse files Browse the repository at this point in the history
  • Loading branch information
SamCaliman committed Jul 27, 2024
1 parent a068768 commit 220e1b6
Show file tree
Hide file tree
Showing 9 changed files with 154 additions and 152 deletions.
1 change: 1 addition & 0 deletions api/.aeria/aeria-sdk.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ declare type MirrorDescriptions = {
"tempFile": {
"$id": "tempFile",
"icon": "file",
"hidden": true,
"temporary": {
"index": "created_at",
"expireAfterSeconds": 3600
Expand Down
222 changes: 111 additions & 111 deletions api/package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"author": "",
"license": "ISC",
"dependencies": {
"aeria": "^0.0.143",
"aeria-sdk": "^0.0.113"
"aeria": "^0.0.147",
"aeria-sdk": "^0.0.115"
}
}
4 changes: 2 additions & 2 deletions api/src/routes/implementations/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ export const github = async(context: RouteContext)=>{
return Result.error(userInsertError)
}
//Authenticate if successful, and return result to web
return Result.result(await successfulAuthentication(userInsertResult._id, context))
return Result.result(await successfulAuthentication(userInsertResult, context))
}
default:
return Result.error(userError)
}
}
//if user already exists in database just authenticate and return result to web
return Result.result(await successfulAuthentication(user._id, context))
return Result.result(await successfulAuthentication(user, context))
}


Expand Down
4 changes: 2 additions & 2 deletions api/src/routes/implementations/google.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ export const google = async(context: RouteContext)=>{
return Result.error(userInsertError)
}
//Authenticate if successful, and return result to web
return Result.result(await successfulAuthentication(userInsertResult._id, context))
return Result.result(await successfulAuthentication(userInsertResult, context))
}
default:
return Result.error(userError)
}
}
//if user already exists in database just authenticate and return result to web
return Result.result(await successfulAuthentication(user._id, context))
return Result.result(await successfulAuthentication(user, context))
}
4 changes: 2 additions & 2 deletions api/src/routes/implementations/twitch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ export const twitch = async(context:RouteContext)=>{
return Result.error(userInsertError)
}
//Authenticate if successful, and return result to web
return Result.result(await successfulAuthentication(userInsertResult._id, context))
return Result.result(await successfulAuthentication(userInsertResult, context))
}
default:
return Result.error(userError)
}
}
//if user already exists in database just authenticate and return result to web
return Result.result(await successfulAuthentication(user._id, context))
return Result.result(await successfulAuthentication(user, context))
}
1 change: 1 addition & 0 deletions web/.aeria-ui/aeria-sdk.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ declare type MirrorDescriptions = {
"tempFile": {
"$id": "tempFile",
"icon": "file",
"hidden": true,
"temporary": {
"index": "created_at",
"expireAfterSeconds": 3600
Expand Down
60 changes: 30 additions & 30 deletions web/package-lock.json

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

6 changes: 3 additions & 3 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"license": "ISC",
"dependencies": {
"@aeria-ui/i18n-en": "^0.0.3",
"aeria-app-layout": "^0.0.41",
"aeria-sdk": "^0.0.113",
"aeria-ui": "^0.0.89"
"aeria-app-layout": "^0.0.42",
"aeria-sdk": "^0.0.115",
"aeria-ui": "^0.0.91"
},
"devDependencies": {
"autoprefixer": "^10.4.19",
Expand Down

0 comments on commit 220e1b6

Please sign in to comment.