Skip to content

Commit

Permalink
Skit 325 a (#154)
Browse files Browse the repository at this point in the history
* added social schema to dapp Schema

* added social to dappSchema
  • Loading branch information
kailash-bitpack authored Sep 12, 2023
1 parent e2d2369 commit ebecced
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
7 changes: 7 additions & 0 deletions src/interfaces/dAppSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,11 @@ export interface DAppSchema {
downloadBaseUrls?: DownloadBaseUrls[];
};
whitelistedForStores?: string[];
social?: {
twitterUrl?: string;
discordUrl?: string;
instagramUrl?: string;
facebookUrl?: string;
other?: string;
};
}
6 changes: 4 additions & 2 deletions src/registry.json
Original file line number Diff line number Diff line change
Expand Up @@ -1367,7 +1367,8 @@
]
}
},
"subCategory": "metaverse"
"subCategory": "metaverse",
"whitelistedForStores": ["unstoppable-domains-apps-store"]
},
{
"name": "Uniswap V1",
Expand Down Expand Up @@ -47314,7 +47315,8 @@
]
}
},
"subCategory": "decentralized-social-networks"
"subCategory": "decentralized-social-networks",
"whitelistedForStores": ["unstoppable-domains-apps-store"]
},
{
"name": "Komet",
Expand Down
35 changes: 35 additions & 0 deletions src/schemas/merokuDappStore.dAppSchema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit ebecced

Please sign in to comment.