busao
    Preparing search index...

    Function getAdminPageContent

    • Builds the contents of the "Admin" page.

      Parameters

      • i18n: i18n

        The internationalisation object.

      • request: BunRequest

        The request to the associated endpoint.

      • database: BunSQLiteDatabase

        The project's database.

      • maxSeats: number

        The maximum amount of seats of the vehicle.

      • route: string

        The API route for user search in the tables.

      • date: Date

        The current date.

      Returns string

      The contents of the "Admin" page.