Module: areasFunctions

AreasFunctions module
Source:

Members

(inner) areas :Object

Contains all area.
Type:
  • Object
Properties:
Name Type Description
name string Name
function function Function
Source:

(inner, constant) firebaseFunctions

Source:

(inner, constant) googleService

Source:

(inner, constant) IssStationService

Source:

(inner, constant) openMeteoService

Source:

(inner, constant) spotifyServices

Source:

(inner, constant) stravaService

Source:

(inner, constant) TwitchService

Source:

(inner, constant) twitterService

Source:

Methods

(async, inner) areaLoop(uid)

areaLoop - This function is used to loop through the areas and perform corresponding actions and reactions based on the data retrieved from Firebase for a specific user id.
Parameters:
Name Type Description
uid string User Id
Source:

(inner) areaRegister(uid, Action, Reaction, id)

areaRegister - function that stores the provided area data in the firebase database under the specified user id
Parameters:
Name Type Description
uid string user id
Action object action data to be stored
Reaction object reaction data to be stored
id string area id
Source: