Overview
Summary
Contact
Donate
Imprint
Prompt for the
UserView
Please create a React-JS view called "UserView" for the fields of the User entity. The UserView must contain the following fields: - name: AvatarUrl type: STRING - name: Country type: STRING - name: CreatedAt type: DATE - name: DisplayName type: STRING - name: Email type: STRING - name: Handle type: STRING - name: IsVerified type: BOOL - name: Language type: STRING - name: PasswordHash type: STRING - name: Status type: STRING - name: UpdatedAt type: DATE An existing User entity should be loaded from the relative URL: "/UserService/user/{id}" (HTTP-GET) If a new User entity has been created, the new entity should be posted to the relative URL: "/UserService/user" (HTTP-POST) If an existing User entity has been updated, the modified entity should be sent to the relative URL: "/UserService/user/{id}" (HTTP-PUT) If an existing User entity has to be deleted, the following relative URL should be called: "/UserService/user/{id}" (HTTP-DELETE) Add a HTML table to the view with the following UserSession columns: - column: IpAddress - column: RevokedAt - column: CreatedAt - column: User - column: Device - column: UserAgent - column: ExpiresAt The table should have the title "UserSessions" und the data must be loaded from the server with the following relative URL: "/DeviceService/usersession/user/{id}" Add a HTML table to the view with the following LiveChatMessage columns: - column: CreatedAt - column: Currency - column: LiveStream - column: MessageText - column: User - column: IsDeleted - column: SuperChatAmount The table should have the title "LiveChatMessages" und the data must be loaded from the server with the following relative URL: "/LiveStreamService/livechatmessage/user/{id}" Add a HTML table to the view with the following Channel columns: - column: Handle - column: AvatarUrl - column: OwnerUser - column: CustomUrl - column: UpdatedAt - column: Country - column: Status - column: Language - column: Name - column: CreatedAt - column: BannerImageUrl - column: Description - column: IsVerified The table should have the title "Channels" und the data must be loaded from the server with the following relative URL: "/ChannelService/channel/owneruser/{id}" Add a HTML table to the view with the following VideoLike columns: - column: Video - column: Type - column: CreatedAt - column: User The table should have the title "VideoLikes" und the data must be loaded from the server with the following relative URL: "/VideoService/videolike/user/{id}" Add a HTML table to the view with the following Comment columns: - column: CreatedAt - column: Video - column: User - column: UpdatedAt - column: LikeCountCached - column: ParentComment - column: Text - column: Status - column: IsEdited - column: IsPinned The table should have the title "Comments" und the data must be loaded from the server with the following relative URL: "/CommentService/comment/user/{id}" Add a HTML table to the view with the following SearchQuery columns: - column: ExecutedAt - column: FiltersJson - column: User - column: ResultCountApprox - column: Language - column: QueryText The table should have the title "SearchQuerys" und the data must be loaded from the server with the following relative URL: "/UserService/searchquery/user/{id}" Add a HTML table to the view with the following BlockedUser columns: - column: BlockerUser - column: CreatedAt - column: BlockedUser The table should have the title "BlockedUsers" und the data must be loaded from the server with the following relative URL: "/LiveStreamService/blockeduser/blockeduser/{id}" Add a HTML table to the view with the following BlockedUser columns: - column: BlockerUser - column: CreatedAt - column: BlockedUser The table should have the title "BlockedUsers" und the data must be loaded from the server with the following relative URL: "/LiveStreamService/blockeduser/blockeruser/{id}" Add a HTML table to the view with the following CommentReport columns: - column: ReporterUser - column: ResolvedAt - column: Status - column: CreatedAt - column: Comment - column: ReasonCode - column: ResolvedByUser - column: Description The table should have the title "CommentReports" und the data must be loaded from the server with the following relative URL: "/UserService/commentreport/reporteruser/{id}" Add a HTML table to the view with the following CommentReport columns: - column: ReporterUser - column: ResolvedAt - column: Status - column: CreatedAt - column: Comment - column: ReasonCode - column: ResolvedByUser - column: Description The table should have the title "CommentReports" und the data must be loaded from the server with the following relative URL: "/UserService/commentreport/resolvedbyuser/{id}" Add a HTML table to the view with the following PlaylistVideo columns: - column: Playlist - column: AddedByUser - column: Video - column: AddedAt - column: Position The table should have the title "PlaylistVideos" und the data must be loaded from the server with the following relative URL: "/PlaylistService/playlistvideo/addedbyuser/{id}" Add a HTML table to the view with the following WatchLater columns: - column: AddedAt - column: User - column: Video The table should have the title "WatchLaters" und the data must be loaded from the server with the following relative URL: "/UserService/watchlater/user/{id}" Add a HTML table to the view with the following AdImpression columns: - column: Video - column: Ad - column: RevenueMicros - column: ClickedAt - column: User - column: ImpressionAt - column: Device The table should have the title "AdImpressions" und the data must be loaded from the server with the following relative URL: "/UserService/adimpression/user/{id}" Add a HTML table to the view with the following UserProfile columns: - column: AdditionalSettingsJson - column: Bio - column: CreatedAt - column: BannerImageUrl - column: UpdatedAt - column: Gender - column: User - column: Birthdate - column: LinksJson The table should have the title "UserProfiles" und the data must be loaded from the server with the following relative URL: "/PlaylistService/userprofile/user/{id}" Add a HTML table to the view with the following Notification columns: - column: CreatedAt - column: IsRead - column: Type - column: PayloadJson - column: User The table should have the title "Notifications" und the data must be loaded from the server with the following relative URL: "/AdService/notification/user/{id}" Add a HTML table to the view with the following ChannelMember columns: - column: User - column: Channel - column: CreatedAt - column: Role The table should have the title "ChannelMembers" und the data must be loaded from the server with the following relative URL: "/UserService/channelmember/user/{id}" Add a HTML table to the view with the following VideoReport columns: - column: CreatedAt - column: ResolvedByUser - column: ResolvedAt - column: ReasonCode - column: Description - column: ReporterUser - column: Video - column: Status The table should have the title "VideoReports" und the data must be loaded from the server with the following relative URL: "/VideoService/videoreport/reporteruser/{id}" Add a HTML table to the view with the following VideoReport columns: - column: CreatedAt - column: ResolvedByUser - column: ResolvedAt - column: ReasonCode - column: Description - column: ReporterUser - column: Video - column: Status The table should have the title "VideoReports" und the data must be loaded from the server with the following relative URL: "/VideoService/videoreport/resolvedbyuser/{id}" Add a HTML table to the view with the following UserFavorite columns: - column: Video - column: User - column: CreatedAt The table should have the title "UserFavorites" und the data must be loaded from the server with the following relative URL: "/DeviceService/userfavorite/user/{id}" Add a HTML table to the view with the following WatchHistory columns: - column: WatchTimeSeconds - column: Device - column: Video - column: ProgressPercent - column: IsAutoplay - column: WatchedAt - column: User - column: Session The table should have the title "WatchHistorys" und the data must be loaded from the server with the following relative URL: "/VideoService/watchhistory/user/{id}" Add a HTML table to the view with the following CommentLike columns: - column: CreatedAt - column: Type - column: Comment - column: User The table should have the title "CommentLikes" und the data must be loaded from the server with the following relative URL: "/CommentService/commentlike/user/{id}" Add a HTML table to the view with the following UserFeedItem columns: - column: ShownAt - column: Video - column: RankScore - column: Channel - column: User - column: ClickedAt - column: ItemType The table should have the title "UserFeedItems" und the data must be loaded from the server with the following relative URL: "/ChannelService/userfeeditem/user/{id}" Add a HTML table to the view with the following VideoView columns: - column: WatchedAt - column: WatchTimeSeconds - column: IsUniqueSession - column: Country - column: Device - column: Video - column: Session - column: User - column: ReferrerType The table should have the title "VideoViews" und the data must be loaded from the server with the following relative URL: "/DeviceService/videoview/user/{id}" Add a HTML table to the view with the following Subscription columns: - column: IsActive - column: Channel - column: NotificationsLevel - column: SubscriberUser - column: CreatedAt The table should have the title "Subscriptions" und the data must be loaded from the server with the following relative URL: "/ChannelService/subscription/subscriberuser/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint