Overview
Summary
Contact
Donate
Imprint
Prompt for the
DeviceView
Please create a React-JS view called "DeviceView" for the fields of the Device entity. The DeviceView must contain the following fields: - name: IsActive type: BOOL - name: IsPrimary type: BOOL - name: LastSeenAt type: DATE - name: LinkedAt type: DATE - name: Name type: STRING - name: Platform type: STRING - name: PushToken type: STRING - name: UnlinkedAt type: DATE - 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 Device entity should be loaded from the relative URL: "/MessageService/device/{id}" (HTTP-GET) If a new Device entity has been created, the new entity should be posted to the relative URL: "/MessageService/device" (HTTP-POST) If an existing Device entity has been updated, the modified entity should be sent to the relative URL: "/MessageService/device/{id}" (HTTP-PUT) If an existing Device entity has to be deleted, the following relative URL should be called: "/MessageService/device/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ServerLogEntry columns: - column: EventType - column: UserAccount - column: Conversation - column: LogLevel - column: Device - column: Message - column: ServerNode - column: CreatedAt The table should have the title "ServerLogEntrys" und the data must be loaded from the server with the following relative URL: "/ServerNodeService/serverlogentry/device/{id}" Add a HTML table to the view with the following DeviceKey columns: - column: Device - column: PublicKey - column: IsCurrent - column: CreatedAt The table should have the title "DeviceKeys" und the data must be loaded from the server with the following relative URL: "/CallDurationService/devicekey/device/{id}" Add a HTML table to the view with the following MessageRecipient columns: - column: DeliveredAt - column: Device - column: DeliveryStatus - column: RecipientUserAccount - column: ReadAt - column: FailureReason - column: Message The table should have the title "MessageRecipients" und the data must be loaded from the server with the following relative URL: "/MessageService/messagerecipient/device/{id}" Add a HTML table to the view with the following EncryptionKeyBundle columns: - column: IdentityKey - column: CreatedAt - column: Device - column: UserAccount - column: BundleVersion The table should have the title "EncryptionKeyBundles" und the data must be loaded from the server with the following relative URL: "/UserAccountService/encryptionkeybundle/device/{id}" Add a HTML table to the view with the following PreKey columns: - column: ConsumedAt - column: IsSigned - column: Device - column: CreatedAt - column: PublicKey - column: KeyId The table should have the title "PreKeys" und the data must be loaded from the server with the following relative URL: "/ServerNodeService/prekey/device/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint