1.0.3 • Published 2 months ago

@pacely-next/api-provider v1.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

API Provider for Pacely

Functions

A list of Firebase Functions needed for Pacely.

ResourceWhat's the trigger?Method nameWhat happens?Condition
time_entriesonDocumentCreatedtimeEntryCreatedUpdate totalTrackedTime on the task.When a time entry is completed, update the total time on the task.
time_entriesonDocumentUpdatedtimeEntryUpdatedUpdate totalTrackedTime on the task.When a time entry is completed, update the total time on the task.
time_entriesonDocumentUpdatedtimeEntryUpdatedUpdate totalTrackedTime on the project.When a time entry is completed, update the total time on the project.
tasksonDocumentCreatedprojectTasksCreatedUpdate taskStatus on the project.When a task is created, update total and completed tasks on project.
tasksonDocumentUpdatedprojectTasksUpdatedUpdate taskStatus on the project.When a task is marked completed, update total and completed tasks on project.
tasksonDocumentUpdatedprojectMembershipUpdatedUpdate taskIds on the section.When task membership changes, update the taskSections taskIds
projectsonDocumentUpdatedupdateTaskResource('project')Update tasks.memberships.project.name on the project.When a project name changes, update the tasks.memberships.project.name
task_sectionsonDocumentUpdatedupdateTaskResource('section')Update tasks.memberships.section.name on the project.When a section name changes, update the tasks.memberships.section.name