Module ticket

Module ticket 

Source

Structs§

ActiveUser
Represents the essential information of the currently authenticated user.
AllTickets
A component for fetching and displaying a list of all tickets.
ApiError 🔒
Represents a standardized error response from the API.
ArchivedTickets
A component for fetching and displaying a list of archived tickets.
SubmitTicket
A component that provides a form for users to submit new tickets.
Ticket
Represents a complete ticket entity retrieved from the backend.
TicketByID
A component for displaying, updating, and deleting a single ticket by its ID.
TicketCreateScheme
Data transfer object (DTO) for creating a new ticket.
TicketProps
Properties for components that display a single ticket.
TicketUpdateScheme
Data transfer object (DTO) for updating a ticket’s status.

Constants§

VALID_ROOMS 🔒
A hardcoded list of valid room numbers for ticket submissions.