Overview
Summary
Contact
Donate
Imprint
Prompt for the
GroupChatView
Please create a React-JS view called "GroupChatView" for the fields of the GroupChat entity. The GroupChatView must contain the following fields: - name: AvatarUrl type: STRING - name: CreatedAt type: DATE - name: CreatedByUserAccount type: LONG - name: Description type: STRING - name: InviteLinkToken type: STRING - name: IsAnnouncementOnly type: BOOL - name: IsArchived type: BOOL - name: Title type: STRING - name: UpdatedAt type: DATE An existing GroupChat entity should be loaded from the relative URL: "/ConversationService/groupchat/{id}" (HTTP-GET) If a new GroupChat entity has been created, the new entity should be posted to the relative URL: "/ConversationService/groupchat" (HTTP-POST) If an existing GroupChat entity has been updated, the modified entity should be sent to the relative URL: "/ConversationService/groupchat/{id}" (HTTP-PUT) If an existing GroupChat entity has to be deleted, the following relative URL should be called: "/ConversationService/groupchat/{id}" (HTTP-DELETE) Add a HTML table to the view with the following AbuseReport columns: - column: HandlerNote - column: Category - column: GroupChat - column: Description - column: CreatedAt - column: ReporterUserAccount - column: Message - column: ReportedUserAccount - column: HandledAt The table should have the title "AbuseReports" und the data must be loaded from the server with the following relative URL: "/ConversationService/abusereport/groupchat/{id}" Add a HTML table to the view with the following GroupMember columns: - column: Role - column: GroupChat - column: UserAccount - column: JoinedAt - column: IsBanned - column: LeftAt The table should have the title "GroupMembers" und the data must be loaded from the server with the following relative URL: "/StickerPackService/groupmember/groupchat/{id}" Add a HTML table to the view with the following Conversation columns: - column: UpdatedAt - column: GroupChat - column: UserAccountB - column: UserAccountA - column: CreatedAt - column: Type The table should have the title "Conversations" und the data must be loaded from the server with the following relative URL: "/ConversationService/conversation/groupchat/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint