Overview
Summary
Contact
Donate
Imprint
Prompt for the
PostView
Please create a React-JS view called "PostView" for the fields of the Post entity. The PostView must contain the following fields: - name: Caption type: STRING - name: CreatedAt type: DATE - name: IsArchived type: BOOL - name: IsSponsored type: BOOL - name: Location type: Location - name: MediaType type: STRING - name: UpdatedAt type: DATE - name: UserAccount type: UserAccount - name: Visibility type: STRING The data source for the [UserAccount] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) The data source for the [Location] select control should be loaded from the relative URL: "/FeatureFlagService/location" (HTTP-GET) An existing Post entity should be loaded from the relative URL: "/UserAccountService/post/{id}" (HTTP-GET) If a new Post entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/post" (HTTP-POST) If an existing Post entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/post/{id}" (HTTP-PUT) If an existing Post entity has to be deleted, the following relative URL should be called: "/UserAccountService/post/{id}" (HTTP-DELETE) Add a HTML table to the view with the following MediaItem columns: - column: ThumbnailUrl - column: MediaType - column: DurationSeconds - column: Post - column: CreatedAt - column: FilterName - column: Width - column: Height - column: MediaOrder - column: AspectRatio - column: Url The table should have the title "MediaItems" und the data must be loaded from the server with the following relative URL: "/UserAccountService/mediaitem/post/{id}" Add a HTML table to the view with the following PostLike columns: - column: UserAccount - column: Post - column: CreatedAt The table should have the title "PostLikes" und the data must be loaded from the server with the following relative URL: "/DirectThreadService/postlike/post/{id}" 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/post/{id}" Add a HTML table to the view with the following SavedCollectionItem columns: - column: SavedCollection - column: Post - column: AddedAt The table should have the title "SavedCollectionItems" und the data must be loaded from the server with the following relative URL: "/SavedCollectionService/savedcollectionitem/post/{id}" Add a HTML table to the view with the following PostHashtag columns: - column: Hashtag - column: Post The table should have the title "PostHashtags" und the data must be loaded from the server with the following relative URL: "/HashtagService/posthashtag/post/{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/post/{id}" Add a HTML table to the view with the following Comment columns: - column: UpdatedAt - column: UserAccount - column: IsDeleted - column: CreatedAt - column: IsPinned - column: ParentComment - column: Post - column: Text The table should have the title "Comments" und the data must be loaded from the server with the following relative URL: "/StoryService/comment/post/{id}" Add a HTML table to the view with the following PostTag columns: - column: TaggedUser - column: CreatedAt - column: PositionY - column: Post - column: PositionX The table should have the title "PostTags" und the data must be loaded from the server with the following relative URL: "/SavedCollectionService/posttag/post/{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/post/{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/post/{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/post/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint