Skip to content

Commit

Permalink
Remodel solvers (#44)
Browse files Browse the repository at this point in the history
* Remove addresses

* Remodel solvers

* Add environment
  • Loading branch information
anxolin authored Aug 16, 2024
1 parent 3fd6706 commit ad29295
Show file tree
Hide file tree
Showing 13 changed files with 9,493 additions and 5,552 deletions.
19 changes: 19 additions & 0 deletions src/api/environment/content-types/environment/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"kind": "collectionType",
"collectionName": "environments",
"info": {
"singularName": "environment",
"pluralName": "environments",
"displayName": "Environment"
},
"options": {
"draftAndPublish": false
},
"pluginOptions": {},
"attributes": {
"name": {
"type": "string",
"required": true
}
}
}
7 changes: 7 additions & 0 deletions src/api/environment/controllers/environment.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/**
* environment controller
*/

import { factories } from '@strapi/strapi'

export default factories.createCoreController('api::environment.environment');
Loading

0 comments on commit ad29295

Please sign in to comment.