Overview
Summary
Contact
Donate
Imprint
Prompt for the
ChannelView
Please create a React-JS view called "ChannelView" for the fields of the Channel entity. The ChannelView must contain the following fields: - name: AvatarUrl type: STRING - name: BannerImageUrl type: STRING - name: Country type: STRING - name: CreatedAt type: DATE - name: CustomUrl type: STRING - name: Description type: STRING - name: Handle type: STRING - name: IsVerified type: BOOL - name: Language type: STRING - name: Name type: STRING - name: OwnerUser type: User - name: Status type: STRING - name: UpdatedAt type: DATE The data source for the [OwnerUser] select control should be loaded from the relative URL: "/UserService/user" (HTTP-GET) An existing Channel entity should be loaded from the relative URL: "/ChannelService/channel/{id}" (HTTP-GET) If a new Channel entity has been created, the new entity should be posted to the relative URL: "/ChannelService/channel" (HTTP-POST) If an existing Channel entity has been updated, the modified entity should be sent to the relative URL: "/ChannelService/channel/{id}" (HTTP-PUT) If an existing Channel entity has to be deleted, the following relative URL should be called: "/ChannelService/channel/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LiveStream columns: - column: Description - column: Title - column: ActualEndAt - column: Channel - column: CreatedAt - column: Status - column: ConcurrentViewersPeak - column: ScheduledStartAt - column: Video - column: ActualStartAt The table should have the title "LiveStreams" und the data must be loaded from the server with the following relative URL: "/LiveStreamService/livestream/channel/{id}" Add a HTML table to the view with the following AudienceMetric columns: - column: Channel - column: AgeGroup - column: Country - column: WatchTimeSeconds - column: ViewerCount - column: Date - column: Gender The table should have the title "AudienceMetrics" und the data must be loaded from the server with the following relative URL: "/ChannelService/audiencemetric/channel/{id}" Add a HTML table to the view with the following ChannelSetting columns: - column: SettingKey - column: CreatedAt - column: Channel - column: SettingValue - column: UpdatedAt The table should have the title "ChannelSettings" und the data must be loaded from the server with the following relative URL: "/ChannelService/channelsetting/channel/{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/channel/{id}" Add a HTML table to the view with the following Video columns: - column: ResolutionHeight - column: VisibilityRegionRestrictionJson - column: DefaultCaptionLanguage - column: PrivacyStatus - column: Language - column: MadeForKids - column: ThumbnailDefault - column: CreatedAt - column: Title - column: FrameRate - column: CommentCountCached - column: Category - column: ResolutionWidth - column: ThumbnailMedium - column: OriginalFileName - column: UpdatedAt - column: LikeCountCached - column: ThumbnailHigh - column: ViewCountCached - column: PublishedAt - column: Channel - column: DurationSeconds - column: Status - column: FilePathOrStorageKey - column: LicenseType - column: Description The table should have the title "Videos" und the data must be loaded from the server with the following relative URL: "/VideoService/video/channel/{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/channel/{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/channel/{id}" Add a HTML table to the view with the following Playlist columns: - column: IsSystemGenerated - column: CreatedAt - column: UpdatedAt - column: PrivacyStatus - column: Title - column: Description - column: Channel The table should have the title "Playlists" und the data must be loaded from the server with the following relative URL: "/PlaylistService/playlist/channel/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint