Overview
Summary
Contact
Donate
Imprint
Prompt for the
UserAccountView
Please create a React-JS view called "UserAccountView" for the fields of the UserAccount entity. The UserAccountView must contain the following fields: - name: Country type: STRING - name: CreatedAt type: DATE - name: Discriminator type: STRING - name: Email type: STRING - name: IsBot type: BOOL - name: Language type: STRING - name: Username type: STRING An existing UserAccount entity should be loaded from the relative URL: "/UserAccountService/useraccount/{id}" (HTTP-GET) If a new UserAccount entity has been created, the new entity should be posted to the relative URL: "/UserAccountService/useraccount" (HTTP-POST) If an existing UserAccount entity has been updated, the modified entity should be sent to the relative URL: "/UserAccountService/useraccount/{id}" (HTTP-PUT) If an existing UserAccount entity has to be deleted, the following relative URL should be called: "/UserAccountService/useraccount/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Server columns: - column: PrimaryLanguage - column: CreatedAt - column: IsPublic - column: OwnerUser - column: Region - column: Description - column: Name The table should have the title "Servers" und the data must be loaded from the server with the following relative URL: "/UserAccountService/server/owneruser/{id}" Add a HTML table to the view with the following NitroSubscription columns: - column: EndedAt - column: User - column: AutoRenews - column: SubscriptionPlan - column: StartedAt The table should have the title "NitroSubscriptions" und the data must be loaded from the server with the following relative URL: "/UserAccountService/nitrosubscription/user/{id}" Add a HTML table to the view with the following Message columns: - column: ReplyToMessage - column: Channel - column: Content - column: EditedAt - column: CreatedAt - column: AuthorUser - column: IsPinned The table should have the title "Messages" und the data must be loaded from the server with the following relative URL: "/UserAccountService/message/authoruser/{id}" Add a HTML table to the view with the following ServerMember columns: - column: IsMuted - column: User - column: IsBanned - column: Server - column: JoinedAt - column: Nickname The table should have the title "ServerMembers" und the data must be loaded from the server with the following relative URL: "/ServerMemberService/servermember/user/{id}" Add a HTML table to the view with the following VoiceParticipant columns: - column: User - column: VoiceSession - column: IsMuted - column: JoinedAt - column: LeftAt - column: IsDeafened The table should have the title "VoiceParticipants" und the data must be loaded from the server with the following relative URL: "/VoiceSessionService/voiceparticipant/user/{id}" Add a HTML table to the view with the following Reaction columns: - column: Message - column: User - column: CreatedAt - column: Emoji The table should have the title "Reactions" und the data must be loaded from the server with the following relative URL: "/VoiceSessionService/reaction/user/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint