Global

Methods

About() → {JSX.Element}

About page.
Source:
Returns:
About page.
Type
JSX.Element

AboutLayout(children)

`AboutLayout` is a layout component that wraps the content of the about page. It is used to provide a consistent layout for the about page.
Parameters:
Name Type Description
children The content to be rendered within the layout.
Source:
Returns:
The layout component.

Artists() → {JSX.Element}

Artists page.
Source:
Returns:
Events page.
Type
JSX.Element

ArtistsLayout(children)

ArtistsLayout component
Parameters:
Name Type Description
children The content to be rendered within the layout.
Source:
Returns:
The layout component.

EventForm()

Event form component.
Source:
Returns:
The event form component.

GetEvents()

Get all events.
Source:
Returns:
All events.

GetEvents()

Get all events.
Source:
Returns:
All events.
Header component.
Source:
Returns:
Header component.
Type
JSX.Element

Home()

Home page component
Source:
Returns:
The home page component.

Map(props) → {JSX.Element}

Map component.
Parameters:
Name Type Description
props MapProps Map component props.
Source:
Returns:
Map component.
Type
JSX.Element

RootLayout(children)

Root layout component.
Parameters:
Name Type Description
children The content to be rendered within the layout.
Source:
Returns:
The layout component.
Search component.
Source:
Returns:
Search component.
Type
JSX.Element

Update() → {JSX.Element}

Update page.
Source:
Returns:
Update page.
Type
JSX.Element

UpdateEventForm()

Update event form component.
Source:
Returns:
The update event form component.

UpdateLayout(children)

UpdateLayout component
Parameters:
Name Type Description
children The content to be rendered within the layout.
Source:
Returns:
The layout component.

Users() → {JSX.Element}

Users page.
Source:
Returns:
Users page.
Type
JSX.Element

UsersLayout(children)

UsersLayout component
Parameters:
Name Type Description
children The content to be rendered within the layout.
Source:
Returns:
The layout component.

_getEvents(formData)

Create a new event.
Parameters:
Name Type Description
formData The form data.
Source:
Returns:
The new event.

connectToDatabase()

Connect to the database.
Source:
Returns:
The connection to the database.

deleteEvent(id)

Delete an event.
Parameters:
Name Type Description
id The event id.
Source:
Returns:
The deleted event.

getEvents()

Get all events.
Source:
Returns:
The events.

updateEvent(formData)

Update an event.
Parameters:
Name Type Description
formData The form data.
Source:
Returns:
The updated event.