Overview
Summary
Contact
Donate
Imprint
Prompt for the
BroadcastChannelView
Please create a React-JS view called "BroadcastChannelView" for the fields of the BroadcastChannel entity. The BroadcastChannelView must contain the following fields: - name: Chat type: Chat - name: CreatedAt type: DATE - name: Description type: STRING - name: IsEndToEndEncrypted type: BOOL - name: IsOfficial type: BOOL - name: Name type: STRING - name: OwnerUserAccount type: UserAccount The data source for the [OwnerUserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) The data source for the [Chat] select control should be loaded from the relative URL: "/ChatService/chat" (HTTP-GET) An existing BroadcastChannel entity should be loaded from the relative URL: "/ChatService/broadcastchannel/{id}" (HTTP-GET) If a new BroadcastChannel entity has been created, the new entity should be posted to the relative URL: "/ChatService/broadcastchannel" (HTTP-POST) If an existing BroadcastChannel entity has been updated, the modified entity should be sent to the relative URL: "/ChatService/broadcastchannel/{id}" (HTTP-PUT) If an existing BroadcastChannel entity has to be deleted, the following relative URL should be called: "/ChatService/broadcastchannel/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ChannelFollower columns: - column: FollowedAt - column: IsMuted - column: BroadcastChannel - column: UserAccount The table should have the title "ChannelFollowers" und the data must be loaded from the server with the following relative URL: "/UserAccountService/channelfollower/broadcastchannel/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint