ScheduleUpdateScreenViewModel

The ScheduleUpdateScreenViewModel class is the support class used to schedule a new update for a project

Author

N7ghtm4r3 - Tecknobit

Parameters

projectId

The identifier of the project where the update must be attached

See also

com.tecknobit.equinoxbackend.FetcherManager
EquinoxViewModel

Constructors

Link copied to clipboard
constructor(projectId: String)

Properties

Link copied to clipboard

changeNoteContent -> the content of the change note

Link copied to clipboard

changeNoteContentError -> whether the changeNoteContent field is not valid

Link copied to clipboard

changeNotes -> the list of the change notes of the update

Link copied to clipboard

targetVersion -> the value of the target version

Link copied to clipboard

targetVersionError -> whether the targetVersion field is not valid

Functions

Link copied to clipboard

Method to add a change note to the changeNotes list

Link copied to clipboard
fun removeChangeNote(changeNote: String)

Method to remove a change note from the changeNotes list

Link copied to clipboard

Method to schedule the new update