diff --git a/pkgs/ui/src/app/access-point/page.tsx b/pkgs/ui/src/app/access-point/page.tsx index b82cdf9..8e14453 100644 --- a/pkgs/ui/src/app/access-point/page.tsx +++ b/pkgs/ui/src/app/access-point/page.tsx @@ -1,10 +1,16 @@ "use client"; -import {APDummyData, APTableConfig} from "@/mock/ap/data"; import {RecentActivity} from "@/components/dashboard/activity"; +import {APServiceRepositoryDummyData, APServiceRepositoryTableConfig} from "@/mock/ap/serviceRepository"; +import {APAttachmentsDummyData, APAttachmentsTableConfig} from "@/mock/ap/attachmentData"; export default function AccessPoint() { return ( - +
+
+ +
) } \ No newline at end of file diff --git a/pkgs/ui/src/mock/ap/data.tsx b/pkgs/ui/src/mock/ap/attachmentData.tsx similarity index 91% rename from pkgs/ui/src/mock/ap/data.tsx rename to pkgs/ui/src/mock/ap/attachmentData.tsx index 5e1374e..adc9690 100644 --- a/pkgs/ui/src/mock/ap/data.tsx +++ b/pkgs/ui/src/mock/ap/attachmentData.tsx @@ -1,4 +1,4 @@ -export const APDummyData = [ +export const APAttachmentsDummyData = [ { "entity_name": "C1", "entity_DID": "did:sov:test:1234", @@ -24,7 +24,7 @@ export const APDummyData = [ ] -export const APTableConfig = [ +export const APAttachmentsTableConfig = [ { key: "entity_name", label: "Entity name" diff --git a/pkgs/ui/src/mock/ap/serviceRepository.tsx b/pkgs/ui/src/mock/ap/serviceRepository.tsx new file mode 100644 index 0000000..2fdb02d --- /dev/null +++ b/pkgs/ui/src/mock/ap/serviceRepository.tsx @@ -0,0 +1,44 @@ +export const APServiceRepositoryDummyData = [ + { + "service_name": "Carlo's Printing", + "service_type": "3D Printing", + "end_point": "URL", + "producer": "C1", + "producer_DID": "did:sov:test:1234", + "network": "Carlo's Home Network", + }, { + "service_name": "Jeff's Printing", + "service_type": "3D Printing", + "end_point": "URL", + "producer": "C2", + "producer_DID": "did:sov:test:5678", + "network": "Jeff's Home Network", + }, +] + +export const APServiceRepositoryTableConfig = [ + { + key: "service_name", + label: "Service name" + }, + { + key: "service_type", + label: "Service type" + }, + { + key: "end_point", + label: "End point" + }, + { + key: "producer", + label: "Producer" + }, + { + key: "producer_DID", + label: "Producer DID" + }, + { + key: "network", + label: "Network" + }, +]