From eea74494a4bbc36844d304d79111bb7f3876c7ce Mon Sep 17 00:00:00 2001 From: Onur Arslan Date: Mon, 20 Nov 2023 22:13:38 +0100 Subject: [PATCH] Entities] DLG Resolution View Table - DLG DID Resolution table implemented --- .../app/distributed-ledger-gateway/page.tsx | 13 +++++++ pkgs/ui/src/mock/dlg/attachmentData.tsx | 34 +++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 pkgs/ui/src/app/distributed-ledger-gateway/page.tsx create mode 100644 pkgs/ui/src/mock/dlg/attachmentData.tsx diff --git a/pkgs/ui/src/app/distributed-ledger-gateway/page.tsx b/pkgs/ui/src/app/distributed-ledger-gateway/page.tsx new file mode 100644 index 0000000..28e905f --- /dev/null +++ b/pkgs/ui/src/app/distributed-ledger-gateway/page.tsx @@ -0,0 +1,13 @@ +"use client"; + +import {RecentActivity} from "@/components/dashboard/activity"; +import {DLGResolutionDummyData, DLGResolutionTableConfig} from "@/mock/dlg/attachmentData"; + +export default function DLG() { + return ( +
+
+
+ ) +} \ No newline at end of file diff --git a/pkgs/ui/src/mock/dlg/attachmentData.tsx b/pkgs/ui/src/mock/dlg/attachmentData.tsx new file mode 100644 index 0000000..4e8b257 --- /dev/null +++ b/pkgs/ui/src/mock/dlg/attachmentData.tsx @@ -0,0 +1,34 @@ +export const DLGResolutionDummyData = [ + { + "requester_name": "C1", + "requester_DID": "did:sov:test:1234", + "DID_resolved": "did:sov:test:1234", + "timestamp": "2023.11.01 17:05:45", + }, + { + "requester_name": "C2", + "requester_DID": "did:sov:test:5678", + "DID_resolved": "did:sov:test:5678", + "timestamp": "2023.12.01 15:05:50", + }, +] + + +export const DLGResolutionTableConfig = [ + { + key: "requester_name", + label: "Requester name" + }, + { + key: "requester_DID", + label: "Requester DID" + }, + { + key: "DID_resolved", + label: "DID resolved" + }, + { + key: "timestamp", + label: "Timestamp" + } +]