From f7a2b046cb87d458e03db5e3b77f3fc5c2750ce1 Mon Sep 17 00:00:00 2001 From: lasyaneti Date: Tue, 23 Jan 2024 01:33:00 +0000 Subject: [PATCH] deploy: HackIllinois/adonix@51f97e3e0803795d9eccc3ddca97a929cd253625 --- classes/services_auth_auth_lib._internal_.AuthInfo.html | 4 ++-- classes/services_event_event_lib._internal_.Event.html | 4 ++-- classes/services_event_event_lib._internal_.Location.html | 4 ++-- ...rvices_profile_profile_lib._internal_.AttendeeProfile.html | 4 ++-- enums/services_auth_auth_lib._internal_.Provider.html | 4 ++-- enums/services_auth_auth_lib._internal_.Role.html | 4 ++-- enums/services_auth_auth_lib._internal_.RoleOperation.html | 4 ++-- ...services_event_event_lib._internal_.PUBLIC_EVENT_TYPE.html | 4 ++-- functions/app.default.html | 2 +- functions/app.startServer.html | 2 +- functions/middleware_select_auth.SelectAuthProvider.html | 2 +- functions/middleware_verify_jwt.strongJwtVerification.html | 2 +- functions/middleware_verify_jwt.weakJwtVerification.html | 2 +- functions/services_auth_auth_lib.authenticateFunction.html | 2 +- functions/services_auth_auth_lib.decodeJwtToken.html | 2 +- functions/services_auth_auth_lib.generateJwtToken.html | 2 +- functions/services_auth_auth_lib.getAuthInfo.html | 2 +- functions/services_auth_auth_lib.getJwtPayloadFromDB.html | 2 +- .../services_auth_auth_lib.getJwtPayloadFromProfile.html | 2 +- functions/services_auth_auth_lib.getRoles.html | 2 +- functions/services_auth_auth_lib.getUsersWithRole.html | 2 +- functions/services_auth_auth_lib.hasAdminPerms.html | 2 +- functions/services_auth_auth_lib.hasElevatedPerms.html | 2 +- functions/services_auth_auth_lib.hasStaffPerms.html | 2 +- functions/services_auth_auth_lib.initializeUserRoles.html | 2 +- functions/services_auth_auth_lib.updateRoles.html | 2 +- functions/services_auth_auth_lib.updateUserRoles.html | 2 +- functions/services_auth_auth_lib.verifyFunction.html | 2 +- .../services_event_event_lib.createFilteredEventView.html | 2 +- .../services_profile_profile_lib.castLeaderboardEntries.html | 2 +- functions/services_profile_profile_lib.getCoins.html | 2 +- functions/services_profile_profile_lib.isValidLimit.html | 2 +- functions/services_profile_profile_lib.updateCoins.html | 2 +- functions/services_profile_profile_lib.updatePoints.html | 2 +- interfaces/services_auth_auth_lib._internal_.JwtPayload.html | 4 ++-- interfaces/services_auth_auth_lib._internal_.ProfileData.html | 4 ++-- ...services_event_event_lib._internal_.FilteredEventView.html | 4 ++-- ...vices_profile_profile_lib._internal_.LeaderboardEntry.html | 4 ++-- modules/app.html | 2 +- modules/middleware_select_auth.html | 2 +- modules/middleware_verify_jwt.html | 2 +- modules/services_auth_auth_lib.html | 2 +- modules/services_event_event_lib.html | 2 +- modules/services_profile_profile_lib.html | 2 +- types/services_auth_auth_lib._internal_.VerifyCallback.html | 2 +- 45 files changed, 57 insertions(+), 57 deletions(-) diff --git a/classes/services_auth_auth_lib._internal_.AuthInfo.html b/classes/services_auth_auth_lib._internal_.AuthInfo.html index 8994e135..25ee2baf 100644 --- a/classes/services_auth_auth_lib._internal_.AuthInfo.html +++ b/classes/services_auth_auth_lib._internal_.AuthInfo.html @@ -1,5 +1,5 @@ -AuthInfo | adonix

Constructors

constructor +AuthInfo | adonix

Constructors

Properties

Constructors

Properties

provider: string
roles: string[]
userId: string

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

provider: string
roles: string[]
userId: string

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/services_event_event_lib._internal_.Event.html b/classes/services_event_event_lib._internal_.Event.html index a89d1f62..a61fb977 100644 --- a/classes/services_event_event_lib._internal_.Event.html +++ b/classes/services_event_event_lib._internal_.Event.html @@ -1,4 +1,4 @@ -Event | adonix

Constructors

constructor +Event | adonix

Constructors

Properties

description: string
displayOnStaffCheckIn?: boolean
endTime: number
eventId: string
eventType: string
exp?: number
isAsync: boolean
isPrivate?: boolean
isStaff: boolean
locations: Location[]
mapImageUrl?: string
name: string
points?: number
sponsor?: string
startTime: number

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

description: string
displayOnStaffCheckIn?: boolean
endTime: number
eventId: string
eventType: string
exp?: number
isAsync: boolean
isPrivate?: boolean
isStaff: boolean
locations: Location[]
mapImageUrl?: string
name: string
points?: number
sponsor?: string
startTime: number

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/services_event_event_lib._internal_.Location.html b/classes/services_event_event_lib._internal_.Location.html index 1eb13929..3645bcbd 100644 --- a/classes/services_event_event_lib._internal_.Location.html +++ b/classes/services_event_event_lib._internal_.Location.html @@ -1,6 +1,6 @@ -Location | adonix

Constructors

constructor +Location | adonix

Constructors

Properties

description: string
latitude: number
longitude: number
tags: string[]

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

description: string
latitude: number
longitude: number
tags: string[]

Generated using TypeDoc

\ No newline at end of file diff --git a/classes/services_profile_profile_lib._internal_.AttendeeProfile.html b/classes/services_profile_profile_lib._internal_.AttendeeProfile.html index c364ea28..816d58de 100644 --- a/classes/services_profile_profile_lib._internal_.AttendeeProfile.html +++ b/classes/services_profile_profile_lib._internal_.AttendeeProfile.html @@ -1,8 +1,8 @@ -AttendeeProfile | adonix

Constructors

constructor +AttendeeProfile | adonix

Constructors

Properties

avatarUrl: string
coins: number
discordTag: string
displayName: string
points: number
userId: string

Generated using TypeDoc

\ No newline at end of file +

Constructors

Properties

avatarUrl: string
coins: number
discordTag: string
displayName: string
points: number
userId: string

Generated using TypeDoc

\ No newline at end of file diff --git a/enums/services_auth_auth_lib._internal_.Provider.html b/enums/services_auth_auth_lib._internal_.Provider.html index f81c5aee..edffb241 100644 --- a/enums/services_auth_auth_lib._internal_.Provider.html +++ b/enums/services_auth_auth_lib._internal_.Provider.html @@ -1,3 +1,3 @@ -Provider | adonix

Enumeration Members

GITHUB +Provider | adonix

Enumeration Members

Enumeration Members

GITHUB: "github"
GOOGLE: "google"

Generated using TypeDoc

\ No newline at end of file +

Enumeration Members

GITHUB: "github"
GOOGLE: "google"

Generated using TypeDoc

\ No newline at end of file diff --git a/enums/services_auth_auth_lib._internal_.Role.html b/enums/services_auth_auth_lib._internal_.Role.html index 51b2a590..d06e8f2b 100644 --- a/enums/services_auth_auth_lib._internal_.Role.html +++ b/enums/services_auth_auth_lib._internal_.Role.html @@ -1,4 +1,4 @@ -Role | adonix

Enumeration Members

ADMIN +Role | adonix

Enumeration Members

Enumeration Members

ADMIN: "ADMIN"
APPLICANT: "APPLICANT"
ATTENDEE: "ATTENDEE"
BLOBSTORE: "BLOBSTORE"
MENTOR: "MENTOR"
SPONSOR: "SPONSOR"
STAFF: "STAFF"
USER: "USER"

Generated using TypeDoc

\ No newline at end of file +

Enumeration Members

ADMIN: "ADMIN"
APPLICANT: "APPLICANT"
ATTENDEE: "ATTENDEE"
BLOBSTORE: "BLOBSTORE"
MENTOR: "MENTOR"
SPONSOR: "SPONSOR"
STAFF: "STAFF"
USER: "USER"

Generated using TypeDoc

\ No newline at end of file diff --git a/enums/services_auth_auth_lib._internal_.RoleOperation.html b/enums/services_auth_auth_lib._internal_.RoleOperation.html index 126a540f..ec1d5d46 100644 --- a/enums/services_auth_auth_lib._internal_.RoleOperation.html +++ b/enums/services_auth_auth_lib._internal_.RoleOperation.html @@ -1,3 +1,3 @@ -RoleOperation | adonix

Enumeration Members

ADD +RoleOperation | adonix

Enumeration Members

Enumeration Members

ADD: "add"
REMOVE: "remove"

Generated using TypeDoc

\ No newline at end of file +

Enumeration Members

ADD: "add"
REMOVE: "remove"

Generated using TypeDoc

\ No newline at end of file diff --git a/enums/services_event_event_lib._internal_.PUBLIC_EVENT_TYPE.html b/enums/services_event_event_lib._internal_.PUBLIC_EVENT_TYPE.html index 068a96d7..0d8885a5 100644 --- a/enums/services_event_event_lib._internal_.PUBLIC_EVENT_TYPE.html +++ b/enums/services_event_event_lib._internal_.PUBLIC_EVENT_TYPE.html @@ -1,7 +1,7 @@ -PUBLIC_EVENT_TYPE | adonix

Enumeration Members

MEAL +PUBLIC_EVENT_TYPE | adonix

Enumeration Members

Enumeration Members

MEAL: "MEAL"
MINIEVENT: "MINIEVENT"
OTHER: "OTHER"
QNA: "QNA"
SPEAKER: "SPEAKER"
WORKSHOP: "WORKSHOP"

Generated using TypeDoc

\ No newline at end of file +

Enumeration Members

MEAL: "MEAL"
MINIEVENT: "MINIEVENT"
OTHER: "OTHER"
QNA: "QNA"
SPEAKER: "SPEAKER"
WORKSHOP: "WORKSHOP"

Generated using TypeDoc

\ No newline at end of file diff --git a/functions/app.default.html b/functions/app.default.html index 721285fa..7dc40b1a 100644 --- a/functions/app.default.html +++ b/functions/app.default.html @@ -1,3 +1,3 @@ default | adonix

Function default

  • Express instance itself is a request handler, which could be invoked without third argument.

    -

    Parameters

    • req: IncomingMessage | Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
    • res: ServerResponse<IncomingMessage> | Response<any, Record<string, any>, number>

    Returns any

  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
    • res: Response<any, Record<string, any>, number>
    • next: NextFunction

    Returns void

Generated using TypeDoc

\ No newline at end of file +

Parameters

Returns any

  • Parameters

    • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
    • res: Response<any, Record<string, any>, number>
    • next: NextFunction

    Returns void

  • Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/app.startServer.html b/functions/app.startServer.html index d06259e1..142f92ca 100644 --- a/functions/app.startServer.html +++ b/functions/app.startServer.html @@ -1 +1 @@ -startServer | adonix

    Function startServer

    • Returns Promise<Express.Application>

    Generated using TypeDoc

    \ No newline at end of file +startServer | adonix

    Function startServer

    • Returns Promise<Express.Application>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/middleware_select_auth.SelectAuthProvider.html b/functions/middleware_select_auth.SelectAuthProvider.html index d7d0ed55..107b6850 100644 --- a/functions/middleware_select_auth.SelectAuthProvider.html +++ b/functions/middleware_select_auth.SelectAuthProvider.html @@ -2,4 +2,4 @@

    Parameters

    Returns RequestHandler

    RequestHandler middleware, that's pre-configured for the provider

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/middleware_verify_jwt.strongJwtVerification.html b/functions/middleware_verify_jwt.strongJwtVerification.html index 9965bd5e..72fc6cbb 100644 --- a/functions/middleware_verify_jwt.strongJwtVerification.html +++ b/functions/middleware_verify_jwt.strongJwtVerification.html @@ -9,4 +9,4 @@

    Api Error

    (500: Internal Error) {string} InternalError Server error.<

    Api Error Example

    Example Error Response: HTTP/1.1 400 Bad Request {"error": "NoToken"}

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/middleware_verify_jwt.weakJwtVerification.html b/functions/middleware_verify_jwt.weakJwtVerification.html index c771faef..fb6c87b7 100644 --- a/functions/middleware_verify_jwt.weakJwtVerification.html +++ b/functions/middleware_verify_jwt.weakJwtVerification.html @@ -2,4 +2,4 @@

    Api Header

    Authorization JWT token.

    Api Header Example

    Example Headers: {"Authorization": "loremipsumdolorsitamet"}

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/services_auth_auth_lib.authenticateFunction.html b/functions/services_auth_auth_lib.authenticateFunction.html index db5c1b3e..e39452f5 100644 --- a/functions/services_auth_auth_lib.authenticateFunction.html +++ b/functions/services_auth_auth_lib.authenticateFunction.html @@ -3,4 +3,4 @@

    Parameters

    Returns RequestHandler<ParamsDictionary, any, any, ParsedQs, Record<string, any>>

    Passport middleware that is used to perform authentication

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/services_auth_auth_lib.decodeJwtToken.html b/functions/services_auth_auth_lib.decodeJwtToken.html index 2aa2212d..d1db2926 100644 --- a/functions/services_auth_auth_lib.decodeJwtToken.html +++ b/functions/services_auth_auth_lib.decodeJwtToken.html @@ -1,4 +1,4 @@ decodeJwtToken | adonix

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/services_auth_auth_lib.generateJwtToken.html b/functions/services_auth_auth_lib.generateJwtToken.html index ea3d7805..53fcf46b 100644 --- a/functions/services_auth_auth_lib.generateJwtToken.html +++ b/functions/services_auth_auth_lib.generateJwtToken.html @@ -2,4 +2,4 @@

    Parameters

    Returns string

    Signed JWT token, to be returned to the user.

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/services_auth_auth_lib.getAuthInfo.html b/functions/services_auth_auth_lib.getAuthInfo.html index fbc385d9..828cee4e 100644 --- a/functions/services_auth_auth_lib.getAuthInfo.html +++ b/functions/services_auth_auth_lib.getAuthInfo.html @@ -1,4 +1,4 @@ getAuthInfo | adonix
    • Get auth database information for a given user

      Parameters

      • id: string

        UserID of the user to return the info for

      Returns Promise<AuthInfo>

      Promise containing user, provider, email, and roles if valid. If invalid, error containing why.

      -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/services_auth_auth_lib.getJwtPayloadFromDB.html b/functions/services_auth_auth_lib.getJwtPayloadFromDB.html index ff0881bd..e58eb41b 100644 --- a/functions/services_auth_auth_lib.getJwtPayloadFromDB.html +++ b/functions/services_auth_auth_lib.getJwtPayloadFromDB.html @@ -1,4 +1,4 @@ getJwtPayloadFromDB | adonix
    • Get a JWT payload for a user, from database. Perform an auth query and an users query, which are used in an implicit join.

      Parameters

      • targetUser: string

        UserID of the user to return a JWT payload for.

      Returns Promise<JwtPayload>

      Promise, containing either JWT payload or reason for failure

      -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/services_auth_auth_lib.getJwtPayloadFromProfile.html b/functions/services_auth_auth_lib.getJwtPayloadFromProfile.html index 42c03083..be97373d 100644 --- a/functions/services_auth_auth_lib.getJwtPayloadFromProfile.html +++ b/functions/services_auth_auth_lib.getJwtPayloadFromProfile.html @@ -3,4 +3,4 @@
  • data: ProfileData

    ProfileData, returned from passport post-authentication step

  • rawId: boolean

    boolean, true if the id in data needs to be prepended by the provider, false if not

  • Returns Promise<JwtPayload>

    JwtPayload, which gets sent back to the user in the next step

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/services_auth_auth_lib.getRoles.html b/functions/services_auth_auth_lib.getRoles.html index b804e45c..c2f65f8b 100644 --- a/functions/services_auth_auth_lib.getRoles.html +++ b/functions/services_auth_auth_lib.getRoles.html @@ -1,4 +1,4 @@ getRoles | adonix
    • Calls the getAuthInfo function to get roles for a user. If the user does not exist, we return an empty array as opposed to an error.

      Parameters

      • id: string

        UserID of the user to return the info for

      Returns Promise<Role[] | undefined>

      Promise, containing array of roles for the user.

      -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/services_auth_auth_lib.getUsersWithRole.html b/functions/services_auth_auth_lib.getUsersWithRole.html index 3a62af9c..f1f27f3d 100644 --- a/functions/services_auth_auth_lib.getUsersWithRole.html +++ b/functions/services_auth_auth_lib.getUsersWithRole.html @@ -1,4 +1,4 @@ getUsersWithRole | adonix
    • Get all id of users that have a particular role within the database.

      Parameters

      • role: string

        role that we want to filter for

      Returns Promise<string[]>

      Promise<string[]> - if valid, then contains array of user w/ role. If invalid, then contains "Unknown Error".

      -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/services_auth_auth_lib.hasAdminPerms.html b/functions/services_auth_auth_lib.hasAdminPerms.html index 9f9e24c7..33db9e47 100644 --- a/functions/services_auth_auth_lib.hasAdminPerms.html +++ b/functions/services_auth_auth_lib.hasAdminPerms.html @@ -1,4 +1,4 @@ hasAdminPerms | adonix
    • Check if a user has permissions to perform admin operations

      Parameters

      • Optional payload: JwtPayload

        Payload of user performing the actual request

      Returns boolean

      True if the user is an ADMIN, else false

      -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/services_auth_auth_lib.hasElevatedPerms.html b/functions/services_auth_auth_lib.hasElevatedPerms.html index da2790bb..7ac3feba 100644 --- a/functions/services_auth_auth_lib.hasElevatedPerms.html +++ b/functions/services_auth_auth_lib.hasElevatedPerms.html @@ -1,4 +1,4 @@ hasElevatedPerms | adonix
    • Catch-all function to check if a user should have permissions to perform operations on attendees

      Parameters

      • payload: JwtPayload

        Payload of user performing the actual request

      Returns boolean

      True if the user is an ADMIN or a STAFF, else false

      -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/services_auth_auth_lib.hasStaffPerms.html b/functions/services_auth_auth_lib.hasStaffPerms.html index 2c214887..f6ba2675 100644 --- a/functions/services_auth_auth_lib.hasStaffPerms.html +++ b/functions/services_auth_auth_lib.hasStaffPerms.html @@ -1,4 +1,4 @@ hasStaffPerms | adonix
    • Check if a user has permissions to perform staff operations

      Parameters

      • Optional payload: JwtPayload

        Payload of user performing the actual request

      Returns boolean

      True if the user is a STAFF, else false

      -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/services_auth_auth_lib.initializeUserRoles.html b/functions/services_auth_auth_lib.initializeUserRoles.html index 479d645d..8bb31351 100644 --- a/functions/services_auth_auth_lib.initializeUserRoles.html +++ b/functions/services_auth_auth_lib.initializeUserRoles.html @@ -2,4 +2,4 @@

    Parameters

    Returns Role[]

    List of roles that the uer containss

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/services_auth_auth_lib.updateRoles.html b/functions/services_auth_auth_lib.updateRoles.html index a3dda2d4..cbf58380 100644 --- a/functions/services_auth_auth_lib.updateRoles.html +++ b/functions/services_auth_auth_lib.updateRoles.html @@ -3,4 +3,4 @@
  • role: Role

    Role to add/remove

  • operation: RoleOperation

    Operation to perform

  • Returns Promise<Role[]>

    Promise - if valid, then update operation worked. If invalid, then contains why.

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/services_auth_auth_lib.updateUserRoles.html b/functions/services_auth_auth_lib.updateUserRoles.html index d225e6a6..673cfd78 100644 --- a/functions/services_auth_auth_lib.updateUserRoles.html +++ b/functions/services_auth_auth_lib.updateUserRoles.html @@ -3,4 +3,4 @@
  • provider: Provider

    Provider being used to create this entry

  • roles: Role[]

    Array of roles that belong to the given user

  • Returns Promise<void>

    Promise, containing nothing if valid. If invalid, error containing why.

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/services_auth_auth_lib.verifyFunction.html b/functions/services_auth_auth_lib.verifyFunction.html index 3d24145a..8a68f487 100644 --- a/functions/services_auth_auth_lib.verifyFunction.html +++ b/functions/services_auth_auth_lib.verifyFunction.html @@ -1,3 +1,3 @@ verifyFunction | adonix
    • Simple function, used to verify that authentication actually happens correctly.

      Parameters

      • accessToken: string
      • refreshToken: string
      • profile: Profile
      • done: VerifyCallback

      Returns void

      Results of the callback function, after it's been called with the user

      -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/services_event_event_lib.createFilteredEventView.html b/functions/services_event_event_lib.createFilteredEventView.html index 4cb30cfa..9797aa37 100644 --- a/functions/services_event_event_lib.createFilteredEventView.html +++ b/functions/services_event_event_lib.createFilteredEventView.html @@ -2,4 +2,4 @@ the 'isPrivate', 'displayOnStaffCheckIn', and 'isStaff' properties.

    Parameters

    Returns FilteredEventView

    The truncated ExternalEvent object.

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/services_profile_profile_lib.castLeaderboardEntries.html b/functions/services_profile_profile_lib.castLeaderboardEntries.html index 57c9c51f..dd2d8130 100644 --- a/functions/services_profile_profile_lib.castLeaderboardEntries.html +++ b/functions/services_profile_profile_lib.castLeaderboardEntries.html @@ -1,4 +1,4 @@ castLeaderboardEntries | adonix

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/services_profile_profile_lib.getCoins.html b/functions/services_profile_profile_lib.getCoins.html index 3b2878e7..86fb67d7 100644 --- a/functions/services_profile_profile_lib.getCoins.html +++ b/functions/services_profile_profile_lib.getCoins.html @@ -1,4 +1,4 @@ getCoins | adonix
    • Get user's current coin balance.

      Parameters

      • userId: string

        ID of target user

      Returns Promise<number | null>

      Coin amount (number)

      -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/services_profile_profile_lib.isValidLimit.html b/functions/services_profile_profile_lib.isValidLimit.html index 463baf57..8d162138 100644 --- a/functions/services_profile_profile_lib.isValidLimit.html +++ b/functions/services_profile_profile_lib.isValidLimit.html @@ -1,4 +1,4 @@ isValidLimit | adonix
    • Check if the limit is valid or not

      Parameters

      • limit: number

        Initial value to check

      Returns boolean

      True if limit is non-negative, else false

      -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/services_profile_profile_lib.updateCoins.html b/functions/services_profile_profile_lib.updateCoins.html index 34cda1c2..25ae66bf 100644 --- a/functions/services_profile_profile_lib.updateCoins.html +++ b/functions/services_profile_profile_lib.updateCoins.html @@ -2,4 +2,4 @@

    Parameters

    Returns Promise<AttendeeProfile | null>

    Promise containing the new user, or the actual attendee profile

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/functions/services_profile_profile_lib.updatePoints.html b/functions/services_profile_profile_lib.updatePoints.html index 345376bb..3b95bfa4 100644 --- a/functions/services_profile_profile_lib.updatePoints.html +++ b/functions/services_profile_profile_lib.updatePoints.html @@ -2,4 +2,4 @@

    Parameters

    Returns Promise<AttendeeProfile | null>

    Promise containing the new user, or the actual attendee profile

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/services_auth_auth_lib._internal_.JwtPayload.html b/interfaces/services_auth_auth_lib._internal_.JwtPayload.html index 644e6e74..1c8deabb 100644 --- a/interfaces/services_auth_auth_lib._internal_.JwtPayload.html +++ b/interfaces/services_auth_auth_lib._internal_.JwtPayload.html @@ -1,6 +1,6 @@ -JwtPayload | adonix
    interface JwtPayload {
        email: string;
        exp?: number;
        id: string;
        provider: string;
        roles: Role[];
    }

    Properties

    email +JwtPayload | adonix
    interface JwtPayload {
        email: string;
        exp?: number;
        id: string;
        provider: string;
        roles: Role[];
    }

    Properties

    Properties

    email: string
    exp?: number
    id: string
    provider: string
    roles: Role[]

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    email: string
    exp?: number
    id: string
    provider: string
    roles: Role[]

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/services_auth_auth_lib._internal_.ProfileData.html b/interfaces/services_auth_auth_lib._internal_.ProfileData.html index cd3a1e11..104d1c57 100644 --- a/interfaces/services_auth_auth_lib._internal_.ProfileData.html +++ b/interfaces/services_auth_auth_lib._internal_.ProfileData.html @@ -1,6 +1,6 @@ -ProfileData | adonix
    interface ProfileData {
        displayName?: string;
        email: string;
        id?: string;
        login?: string;
        name?: string;
    }

    Properties

    displayName? +ProfileData | adonix
    interface ProfileData {
        displayName?: string;
        email: string;
        id?: string;
        login?: string;
        name?: string;
    }

    Properties

    displayName?: string
    email: string
    id?: string
    login?: string
    name?: string

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    displayName?: string
    email: string
    id?: string
    login?: string
    name?: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/services_event_event_lib._internal_.FilteredEventView.html b/interfaces/services_event_event_lib._internal_.FilteredEventView.html index 9060daae..dcfe791e 100644 --- a/interfaces/services_event_event_lib._internal_.FilteredEventView.html +++ b/interfaces/services_event_event_lib._internal_.FilteredEventView.html @@ -1,4 +1,4 @@ -FilteredEventView | adonix
    interface FilteredEventView {
        description: string;
        endTime: number;
        eventId: string;
        eventType: PUBLIC_EVENT_TYPE;
        isAsync: boolean;
        locations: Location[];
        mapImageURL?: string;
        name: string;
        points: number;
        sponsor?: string;
        startTime: number;
    }

    Properties

    description +FilteredEventView | adonix
    interface FilteredEventView {
        description: string;
        endTime: number;
        eventId: string;
        eventType: PUBLIC_EVENT_TYPE;
        isAsync: boolean;
        locations: Location[];
        mapImageURL?: string;
        name: string;
        points: number;
        sponsor?: string;
        startTime: number;
    }

    Properties

    description: string
    endTime: number
    eventId: string
    isAsync: boolean
    locations: Location[]
    mapImageURL?: string
    name: string
    points: number
    sponsor?: string
    startTime: number

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    description: string
    endTime: number
    eventId: string
    isAsync: boolean
    locations: Location[]
    mapImageURL?: string
    name: string
    points: number
    sponsor?: string
    startTime: number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/interfaces/services_profile_profile_lib._internal_.LeaderboardEntry.html b/interfaces/services_profile_profile_lib._internal_.LeaderboardEntry.html index b0984581..47dab720 100644 --- a/interfaces/services_profile_profile_lib._internal_.LeaderboardEntry.html +++ b/interfaces/services_profile_profile_lib._internal_.LeaderboardEntry.html @@ -1,3 +1,3 @@ -LeaderboardEntry | adonix
    interface LeaderboardEntry {
        displayName: string;
        points: number;
    }

    Properties

    displayName +LeaderboardEntry | adonix
    interface LeaderboardEntry {
        displayName: string;
        points: number;
    }

    Properties

    Properties

    displayName: string
    points: number

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    displayName: string
    points: number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/app.html b/modules/app.html index 1e89aca7..9bfe17d9 100644 --- a/modules/app.html +++ b/modules/app.html @@ -1,3 +1,3 @@ -app | adonix

    Module app

    Index

    Functions

    default +app | adonix

    Module app

    Index

    Functions

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/middleware_select_auth.html b/modules/middleware_select_auth.html index 845a5ff1..2ac44cfe 100644 --- a/modules/middleware_select_auth.html +++ b/modules/middleware_select_auth.html @@ -1,2 +1,2 @@ -middleware/select-auth | adonix

    Module middleware/select-auth

    Index

    Functions

    SelectAuthProvider +middleware/select-auth | adonix

    Module middleware/select-auth

    Index

    Functions

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/middleware_verify_jwt.html b/modules/middleware_verify_jwt.html index 709a0f65..0940a945 100644 --- a/modules/middleware_verify_jwt.html +++ b/modules/middleware_verify_jwt.html @@ -1,3 +1,3 @@ -middleware/verify-jwt | adonix

    Module middleware/verify-jwt

    Index

    Functions

    strongJwtVerification +middleware/verify-jwt | adonix

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/services_auth_auth_lib.html b/modules/services_auth_auth_lib.html index 478388f7..1c7df4c2 100644 --- a/modules/services_auth_auth_lib.html +++ b/modules/services_auth_auth_lib.html @@ -1,4 +1,4 @@ -services/auth/auth-lib | adonix

    Module services/auth/auth-lib

    Index

    Modules

    <internal> +services/auth/auth-lib | adonix

    Module services/auth/auth-lib

    Index

    Modules

    Functions

    authenticateFunction decodeJwtToken generateJwtToken diff --git a/modules/services_event_event_lib.html b/modules/services_event_event_lib.html index 98676c31..6b6caf83 100644 --- a/modules/services_event_event_lib.html +++ b/modules/services_event_event_lib.html @@ -1,3 +1,3 @@ -services/event/event-lib | adonix

    Module services/event/event-lib

    Index

    Modules

    <internal> +services/event/event-lib | adonix

    Module services/event/event-lib

    Index

    Modules

    Functions

    Generated using TypeDoc

    \ No newline at end of file diff --git a/modules/services_profile_profile_lib.html b/modules/services_profile_profile_lib.html index c5684621..36a5abf9 100644 --- a/modules/services_profile_profile_lib.html +++ b/modules/services_profile_profile_lib.html @@ -1,4 +1,4 @@ -services/profile/profile-lib | adonix

    Module services/profile/profile-lib

    Index

    Modules

    <internal> +services/profile/profile-lib | adonix

    Module services/profile/profile-lib

    Index

    Modules

    Functions

    castLeaderboardEntries getCoins isValidLimit diff --git a/types/services_auth_auth_lib._internal_.VerifyCallback.html b/types/services_auth_auth_lib._internal_.VerifyCallback.html index ba6ec1a3..94df2999 100644 --- a/types/services_auth_auth_lib._internal_.VerifyCallback.html +++ b/types/services_auth_auth_lib._internal_.VerifyCallback.html @@ -1 +1 @@ -VerifyCallback | adonix
    VerifyCallback: ((err, user?, info?) => void)

    Type declaration

      • (err, user?, info?): void
      • Parameters

        • err: Error | null
        • Optional user: Profile | false
        • Optional info: object

        Returns void

    Generated using TypeDoc

    \ No newline at end of file +VerifyCallback | adonix
    VerifyCallback: ((err, user?, info?) => void)

    Type declaration

      • (err, user?, info?): void
      • Parameters

        • err: Error | null
        • Optional user: Profile | false
        • Optional info: object

        Returns void

    Generated using TypeDoc

    \ No newline at end of file