From ebecced5e39f07725e7d8fb7887447297254fd75 Mon Sep 17 00:00:00 2001 From: kailash-bitpack <128362613+kailash-bitpack@users.noreply.github.com> Date: Tue, 12 Sep 2023 18:49:23 +0530 Subject: [PATCH] Skit 325 a (#154) * added social schema to dapp Schema * added social to dappSchema --- package.json | 2 +- src/interfaces/dAppSchema.ts | 7 +++++ src/registry.json | 6 ++-- src/schemas/merokuDappStore.dAppSchema.json | 35 +++++++++++++++++++++ 4 files changed, 47 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 8ec9124..cc1b3c4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@merokudao/dapp-store-registry", - "version": "0.1.92", + "version": "0.1.93", "description": "The dApp Store registry for MerokuDAO dAapp Store", "repository": { "type": "git", diff --git a/src/interfaces/dAppSchema.ts b/src/interfaces/dAppSchema.ts index c116bda..c88a800 100644 --- a/src/interfaces/dAppSchema.ts +++ b/src/interfaces/dAppSchema.ts @@ -171,4 +171,11 @@ export interface DAppSchema { downloadBaseUrls?: DownloadBaseUrls[]; }; whitelistedForStores?: string[]; + social?: { + twitterUrl?: string; + discordUrl?: string; + instagramUrl?: string; + facebookUrl?: string; + other?: string; + }; } diff --git a/src/registry.json b/src/registry.json index 4613460..7a7fffc 100644 --- a/src/registry.json +++ b/src/registry.json @@ -1367,7 +1367,8 @@ ] } }, - "subCategory": "metaverse" + "subCategory": "metaverse", + "whitelistedForStores": ["unstoppable-domains-apps-store"] }, { "name": "Uniswap V1", @@ -47314,7 +47315,8 @@ ] } }, - "subCategory": "decentralized-social-networks" + "subCategory": "decentralized-social-networks", + "whitelistedForStores": ["unstoppable-domains-apps-store"] }, { "name": "Komet", diff --git a/src/schemas/merokuDappStore.dAppSchema.json b/src/schemas/merokuDappStore.dAppSchema.json index 03741f8..f08c416 100644 --- a/src/schemas/merokuDappStore.dAppSchema.json +++ b/src/schemas/merokuDappStore.dAppSchema.json @@ -265,6 +265,41 @@ } } }, + "social": { + "type": "object", + "properties": { + "twitterUrl": { + "type": "string", + "format": "uri", + "pattern": "^(https?|http?|ipfs?)://", + "minLength": 1 + }, + "discordUrl": { + "type": "string", + "format": "uri", + "pattern": "^(https?|http?|ipfs?)://", + "minLength": 1 + }, + "instagramUrl": { + "type": "string", + "format": "uri", + "pattern": "^(https?|http?|ipfs?)://", + "minLength": 1 + }, + "facebookUrl": { + "type": "string", + "format": "uri", + "pattern": "^(https?|http?|ipfs?)://", + "minLength": 1 + }, + "other": { + "type": "string", + "format": "uri", + "pattern": "^(https?|http?|ipfs?)://", + "minLength": 1 + } + } + }, "cdn": { "images": { "$ref": "merokuDappStore.dAppImagesSchema.json" }, "downloadBaseUrls": {