Skip to content

Commit

Permalink
feat: add defillama URLs to project schema
Browse files Browse the repository at this point in the history
* Bump npm and pypi version numbers and published
  • Loading branch information
ryscheng committed Jan 15, 2025
1 parent f07027a commit 40d995f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oss-directory",
"version": "0.0.16",
"version": "0.0.17",
"description": "Open source software directory",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "oss-directory"
version = "0.2.1"
version = "0.2.2"
description = "Open source software directory"
authors = ["Kariba Labs"]
license = "Apache-2.0"
Expand Down
6 changes: 6 additions & 0 deletions src/resources/schema/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@
"$ref": "blockchain-address.json#"
}
},
"defillama": {
"type": "array",
"items": {
"$ref": "url.json#"
}
},
"comments": {
"type": "array",
"items": {
Expand Down
1 change: 1 addition & 0 deletions src/types/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export interface Project {
go?: URL[];
open_collective?: URL[];
blockchain?: BlockchainAddress[];
defillama?: URL[];
comments?: string[];
[k: string]: unknown;
}
Expand Down

0 comments on commit 40d995f

Please sign in to comment.