Create Project Screen View Model
The CreateProjectScreenViewModel provides the methods for the creation or the editing of a com.tecknobit.pandoro.ui.screens.projects.data.Project item
Author
N7ghtm4r3 - Tecknobit
Parameters
The identifier of the project to edit
See also
Properties
authoredGroups the list of the groups owned by the com.tecknobit.pandoro.localUser
candidateGroups the list of the candidates groups where share the project
projectDescription the value of the description of the project
projectDescriptionError whether the projectDescription field is not valid
projectGroups the list of the current groups where the project is shared
projectIcon the value of the icon of the project
projectIconPayload the payload of the project icon to set
projectName the value of the name of the project
projectNameError whether the projectName field is not valid
projectRepository the value of the repository of the project
projectRepositoryError whether the projectRepository field is not valid
projectVersion the value of the version of the project
projectVersionError whether the projectVersion field is not valid
sessionFlowState the state used to manage the session lifecycle in the screen
Functions
Method to manage a candidate project in the projectGroups and candidateGroups lists
Method to retrieve the current authored groups owned by the user
Method to retrieve the data of a Project if needed
Method to create or editing the project invoking the correct method to execute the request to handle that operation