Creates a new empty event
An optional template to initialize the event with
Creates an empty, unpersisted event preset.
Optional reference preset to clone data from
Creates an empty, unpersisted event template.
Deletes an event preset after making sure no event is currently using it.
Deletes an event template.
Fetches an models.Entry by its ID.
models.Entry ID
Fetches an models.Event by its ID, with all its Entries.
models.Event ID
Fetches an models.Event by its name, with all its Entries.
Fetches the currently live models.Event.
The earliest pending event OR the currently open event OR the last closed event.
Finds an event preset.
Finds all event presets.
Finds an event template.
Finds all event templates.
Fetches all models.Events and their Entries.
Allowed: status name sortDatesAscending
nameFragment eventId userId platforms tags pageSize page withRelated notReviewedBy sortByRatingCount sortByRating sortByRanking
Fetches the latest entries of any event
Retrieves the user's latest entry
Retrieves all the entries an user contributed to
Retrieves the entry a user submitted to an event
Updates the event counters on an event
Refreshes various models that cache the event name. Call this after changing the name of an event.
Refreshes the scores of all the comments written by an user on an entry. Useful to detect side-effects of a user modifying or deleting a comment.
The user id of the modified comment
Searches for any external event name already submitted
external event names
Search for potential team members by name.
the name search string.
the event ID (optional, null if an external event).
the entry model (optional, null if we're in a creation).
Sets the entry picture and generates its thumbnails
The form upload
Sets the team members of an entry.
the current user model.
the entry model.
the desired member user IDs.
the result of this operation.
Generated using TypeDoc
Creates and persists a new entry, initializing the owner UserRole.