Overview
Summary
Contact
Donate
Imprint
Prompt for the
MessageView
Please create a React-JS view called "MessageView" for the fields of the Message entity. The MessageView must contain the following fields: - name: Body type: STRING - name: ClientMessageUuid type: STRING - name: Conversation type: Conversation - name: IsDeletedForSender type: BOOL - name: IsSystemMessage type: BOOL - name: MessageType type: STRING - name: ReplyToMessage type: LONG - name: SenderUserAccount type: LONG - name: SentAt type: DATE - name: ServerReceivedAt type: DATE The data source for the [Conversation] select control should be loaded from the relative URL: "/ConversationService/conversation" (HTTP-GET) An existing Message entity should be loaded from the relative URL: "/MessageService/message/{id}" (HTTP-GET) If a new Message entity has been created, the new entity should be posted to the relative URL: "/MessageService/message" (HTTP-POST) If an existing Message entity has been updated, the modified entity should be sent to the relative URL: "/MessageService/message/{id}" (HTTP-PUT) If an existing Message entity has to be deleted, the following relative URL should be called: "/MessageService/message/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Reaction columns: - column: EmojiCode - column: UserAccount - column: Message - column: CreatedAt The table should have the title "Reactions" und the data must be loaded from the server with the following relative URL: "/SafetyNumberService/reaction/message/{id}" Add a HTML table to the view with the following ServerLogEntry columns: - column: EventType - column: UserAccount - column: Conversation - column: LogLevel - column: Device - column: Message - column: ServerNode - column: CreatedAt The table should have the title "ServerLogEntrys" und the data must be loaded from the server with the following relative URL: "/ServerNodeService/serverlogentry/message/{id}" 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/message/{id}" Add a HTML table to the view with the following MessageRecipient columns: - column: DeliveredAt - column: Device - column: DeliveryStatus - column: RecipientUserAccount - column: ReadAt - column: FailureReason - column: Message The table should have the title "MessageRecipients" und the data must be loaded from the server with the following relative URL: "/MessageService/messagerecipient/message/{id}" Add a HTML table to the view with the following Attachment columns: - column: Blurhash - column: RemoteStorageUrl - column: ThumbnailUrl - column: FileName - column: CreatedAt - column: EncryptionNonce - column: SizeBytes - column: MimeType - column: Message - column: EncryptionKey The table should have the title "Attachments" und the data must be loaded from the server with the following relative URL: "/MessageService/attachment/message/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint