Overview
Summary
Contact
Donate
Imprint
Prompt for the
StoryView
Please create a React-JS view called "StoryView" for the fields of the Story entity. The StoryView must contain the following fields: - name: Caption type: STRING - name: CreatedAt type: DATE - name: ExpiresAt type: DATE - name: HighlightTitle type: STRING - name: IsCloseFriendsOnly type: BOOL - name: IsHighlight type: BOOL - name: UserAccount type: UserAccount The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) An existing Story entity should be loaded from the relative URL: "/StoryService/story/{id}" (HTTP-GET) If a new Story entity has been created, the new entity should be posted to the relative URL: "/StoryService/story" (HTTP-POST) If an existing Story entity has been updated, the modified entity should be sent to the relative URL: "/StoryService/story/{id}" (HTTP-PUT) If an existing Story entity has to be deleted, the following relative URL should be called: "/StoryService/story/{id}" (HTTP-DELETE) Add a HTML table to the view with the following DirectMessage columns: - column: Reel - column: MediaUrl - column: Post - column: Sender - column: Story - column: ReplyToMessage - column: DirectThread - column: SeenAt - column: CreatedAt - column: Text - column: MessageType - column: IsSeen The table should have the title "DirectMessages" und the data must be loaded from the server with the following relative URL: "/DirectThreadService/directmessage/story/{id}" Add a HTML table to the view with the following StoryView columns: - column: ViewedAt - column: Story - column: Viewer The table should have the title "StoryViews" und the data must be loaded from the server with the following relative URL: "/FeatureFlagService/storyview/story/{id}" Add a HTML table to the view with the following StoryMedia columns: - column: CreatedAt - column: ThumbnailUrl - column: MediaOrder - column: FilterName - column: Url - column: DurationSeconds - column: MediaType - column: Story The table should have the title "StoryMedias" und the data must be loaded from the server with the following relative URL: "/StoryService/storymedia/story/{id}" Add a HTML table to the view with the following Notification columns: - column: Post - column: Story - column: SourceUser - column: Reel - column: Type - column: Comment - column: DirectMessage - column: IsRead - column: CreatedAt - column: UserAccount The table should have the title "Notifications" und the data must be loaded from the server with the following relative URL: "/ReelService/notification/story/{id}" Add a HTML table to the view with the following Report columns: - column: ReportedUser - column: Reporter - column: Post - column: CreatedAt - column: Reel - column: Comment - column: Story - column: Status - column: Reason - column: Details - column: UpdatedAt The table should have the title "Reports" und the data must be loaded from the server with the following relative URL: "/StoryService/report/story/{id}" Add a HTML table to the view with the following ArchiveItem columns: - column: UserAccount - column: Post - column: ItemType - column: Story - column: ArchivedAt - column: Reel The table should have the title "ArchiveItems" und the data must be loaded from the server with the following relative URL: "/StoryService/archiveitem/story/{id}" Add a HTML table to the view with the following AdPlacement columns: - column: Post - column: Clicks - column: Impressions - column: CreatedAt - column: Reel - column: AdCampaign - column: PlacementType - column: Story The table should have the title "AdPlacements" und the data must be loaded from the server with the following relative URL: "/StoryService/adplacement/story/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint