-
Notifications
You must be signed in to change notification settings - Fork 0
Client | Management
The management view allows an admin user to create, update and delete entities from the database. Each field is assigned to a property of the entity. All entities are imported dynamically from models in \client\src\app\shared\models\serverModels\.
In order to add new models for use within the management view, a class must be created within \client\src\app\shared\models\serverModels\. This class must have the same name as the entity found in the server.
Also, all attributes within this class must have a default value of some sort in order to be picked up during the dynamic import.
Finally, the class must be imported somewhere. Thus far, the dump class has been Task.ts. In following with this point, the imports in Task.ts must not be deleted to maintain the integrity of the management view.
All fields must be filled.
- Fields
id [number][PK]data [string]imageId [number][FK]comment [string]
- Fields
-
id [number][PK]: type [string]preprocessing [boolean]files [string]
-
- Should not be created
- Fields
taskId [number][PK]taskTypeId [number][FK]annotationId[number][FK]isComplete[boolean]isVisible [boolean]projectTitle [string]comment [string]assignedUserId [number][FK]
- Fields
userId [number][PK][FK]taskId [number][PK][FK]priority [number]
- Fields
id [number][PK]title [string]description [string]
- Fields
id [string][PK]firstName [string]lastName [string]email [string]role [string]password [string]
- Fields
id [number][PK]annotationId [number][FK]label [string]type [string]defaultEntryValue [string]validationRegex [string]
All fields must be filled.
- Fields
id [number][PK]data [string]imageId [number][FK]comment [string]
Does not update files!
- Fields
-
id [number][PK]: type [string]preprocessing [boolean]files [string]
-
- Should not be updated
- Fields
taskId [number][PK]taskTypeId [number][FK]annotationId[number][FK]isComplete[boolean]isVisible [boolean]projectTitle [string]comment [string]assignedUserId [number][FK]
- Fields
userId [number][PK][FK]taskId [number][PK][FK]priority [number]
- Fields
id [number][PK]title [string]description [string]
- Fields
id [string][PK]firstName [string]lastName [string]email [string]role [string]password [string]
- Fields
id [number][PK]annotationId [number][FK]label [string]type [string]defaultEntryValue [string]validationRegex [string]
Only entity ID must be filled.
- Fields
id [number][PK]
- Fields
id [number][PK]
- Cannot be deleted.
- Fields
taskId [number][PK]
- Fields
userId [number][PK]taskId [number][PK][FK]
- Fields
id [number][PK]
- Fields
id [string][PK]
- Fields
-
id [number][PK]:
-