Overview
Summary
Contact
Donate
Imprint
Prompt for the
RoleView
Please create a React-JS view called "RoleView" for the fields of the Role entity. The RoleView must contain the following fields: - name: Color type: STRING - name: IsHoisted type: BOOL - name: IsMentionable type: BOOL - name: Name type: STRING - name: Position type: LONG - name: Server type: Server The data source for the [Server] select control should be loaded from the relative URL: "/UserAccountService/server" (HTTP-GET) An existing Role entity should be loaded from the relative URL: "/RoleService/role/{id}" (HTTP-GET) If a new Role entity has been created, the new entity should be posted to the relative URL: "/RoleService/role" (HTTP-POST) If an existing Role entity has been updated, the modified entity should be sent to the relative URL: "/RoleService/role/{id}" (HTTP-PUT) If an existing Role entity has to be deleted, the following relative URL should be called: "/RoleService/role/{id}" (HTTP-DELETE) Add a HTML table to the view with the following MemberRole columns: - column: ServerMember - column: Role - column: AssignedAt The table should have the title "MemberRoles" und the data must be loaded from the server with the following relative URL: "/ServerMemberService/memberrole/role/{id}" Add a HTML table to the view with the following RolePermission columns: - column: IsAllowed - column: Permission - column: Role The table should have the title "RolePermissions" und the data must be loaded from the server with the following relative URL: "/RoleService/rolepermission/role/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint