From 7ea0f4a8da10b6043334e3ab99db30875c4f8de0 Mon Sep 17 00:00:00 2001 From: rishikesh yadav Date: Thu, 9 Nov 2023 10:59:27 +0530 Subject: [PATCH 1/2] Added AI as category --- src/interfaces/dAppSchema.ts | 3 ++- src/schemas/merokuDappStore.dAppSchema.json | 27 ++++++++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/src/interfaces/dAppSchema.ts b/src/interfaces/dAppSchema.ts index 3997972..1f397f8 100644 --- a/src/interfaces/dAppSchema.ts +++ b/src/interfaces/dAppSchema.ts @@ -27,7 +27,8 @@ export const dAppCategory = [ "social-networking", "sports", "travel", - "utilities" + "utilities", + "Ai" ] as const; export type DAppCategory = (typeof dAppCategory)[number]; diff --git a/src/schemas/merokuDappStore.dAppSchema.json b/src/schemas/merokuDappStore.dAppSchema.json index f08c416..6ac37ff 100644 --- a/src/schemas/merokuDappStore.dAppSchema.json +++ b/src/schemas/merokuDappStore.dAppSchema.json @@ -203,7 +203,8 @@ "social-networking", "sports", "travel", - "utilities" + "utilities", + "Ai" ] }, "subCategory": { @@ -694,6 +695,30 @@ } } } + }, + { + "if": { + "properties": { + "category": { + "const": "Ai" + } + } + }, + "then": { + "properties": { + "subCategory": { + "enum": [ + "text", + "image", + "audio", + "video", + "business", + "code", + "others" + ] + } + } + } } ], "required": [ From 8bcc300e4c4b7bc4f17a37e70c23848c5398a095 Mon Sep 17 00:00:00 2001 From: rishikesh yadav Date: Thu, 9 Nov 2023 11:09:46 +0530 Subject: [PATCH 2/2] incremented version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1afa554..71bebe9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@merokudao/dapp-store-registry", - "version": "0.1.101", + "version": "0.1.102", "description": "The dApp Store registry for MerokuDAO dAapp Store", "repository": { "type": "git",