Overview
Summary
Contact
Donate
Imprint
Prompt for the
TweetView
Please create a React-JS view called "TweetView" for the fields of the Tweet entity. The TweetView must contain the following fields: - name: Content type: STRING - name: CreatedAt type: STRING - name: InReplyToTweet type: LONG - name: InReplyToUser type: UserAccount - name: IsDeleted type: BOOL - name: IsSensitive type: BOOL - name: Language type: STRING - name: LikeCount type: LONG - name: QuoteTweet type: LONG - name: ReplyCount type: LONG - name: RetweetCount type: LONG - name: SourceApp type: STRING - name: User type: UserAccount - name: ViewCount type: LONG The data source for the [InReplyToUser] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) The data source for the [User] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing Tweet entity should be loaded from the relative URL: "/TweetService/tweet/{id}" (HTTP-GET) If a new Tweet entity has been created, the new entity should be posted to the relative URL: "/TweetService/tweet" (HTTP-POST) If an existing Tweet entity has been updated, the modified entity should be sent to the relative URL: "/TweetService/tweet/{id}" (HTTP-PUT) If an existing Tweet entity has to be deleted, the following relative URL should be called: "/TweetService/tweet/{id}" (HTTP-DELETE) Add a HTML table to the view with the following PromotedTweet columns: - column: Campaign - column: Tweet - column: Status - column: CreatedAt - column: LineItemName The table should have the title "PromotedTweets" und the data must be loaded from the server with the following relative URL: "/TweetService/promotedtweet/tweet/{id}" Add a HTML table to the view with the following Poll columns: - column: DurationMinutes - column: Question - column: CreatedAt - column: EndsAt - column: Tweet The table should have the title "Polls" und the data must be loaded from the server with the following relative URL: "/TweetService/poll/tweet/{id}" Add a HTML table to the view with the following Media columns: - column: DurationSeconds - column: Type - column: Tweet - column: Height - column: AltText - column: Url - column: Width The table should have the title "Medias" und the data must be loaded from the server with the following relative URL: "/ListService/media/tweet/{id}" Add a HTML table to the view with the following Report columns: - column: ReportedTweet - column: ReportedUser - column: ReporterUser - column: ResolvedAt - column: Status - column: ResolverUser - column: Description - column: Category - column: CreatedAt The table should have the title "Reports" und the data must be loaded from the server with the following relative URL: "/SpaceService/report/reportedtweet/{id}" Add a HTML table to the view with the following TweetHashtag columns: - column: Tweet - column: Hashtag The table should have the title "TweetHashtags" und the data must be loaded from the server with the following relative URL: "/HashtagService/tweethashtag/tweet/{id}" Add a HTML table to the view with the following Retweet columns: - column: User - column: Comment - column: IsQuote - column: CreatedAt - column: Tweet The table should have the title "Retweets" und the data must be loaded from the server with the following relative URL: "/TweetService/retweet/tweet/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint