-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add chains * Add solver information * Add solver ID and remove the draft stage * Change to display name
- Loading branch information
Showing
11 changed files
with
7,252 additions
and
2,988 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"kind": "collectionType", | ||
"collectionName": "networks", | ||
"info": { | ||
"singularName": "network", | ||
"pluralName": "networks", | ||
"displayName": "Network", | ||
"description": "" | ||
}, | ||
"options": { | ||
"draftAndPublish": false | ||
}, | ||
"pluginOptions": {}, | ||
"attributes": { | ||
"name": { | ||
"type": "string", | ||
"required": true, | ||
"unique": true | ||
}, | ||
"chainId": { | ||
"type": "integer" | ||
}, | ||
"solvers": { | ||
"type": "relation", | ||
"relation": "manyToMany", | ||
"target": "api::solver.solver", | ||
"mappedBy": "networks" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/** | ||
* network controller | ||
*/ | ||
|
||
import { factories } from '@strapi/strapi' | ||
|
||
export default factories.createCoreController('api::network.network'); |
Oops, something went wrong.