CommitteeClash Documentation
API
Backend
Frontend
Actions
Committee
Leaderboard
Period
Functions
CreatePeriodActionDeletePeriodGetPeriodsUpdatePeriod
Possible-task
Review
Submit-task
App
Components
Lib
Types
FrontendActionsPeriodFunctions

GetPeriods

Function: GetPeriods()

function GetPeriods(): Promise<Response<object[]>>

Defined in: src/actions/period.tsx:15

Fetches the list of periods from the backend.

Returns

Promise<Response<object[]>>
  • A promise that resolves to a response object containing the list of periods or an error message.

DeletePeriod

Previous Page

UpdatePeriod

Next Page

On this page

Function: GetPeriods()Returns