Skip to content

Commit

Permalink
feat: add Prime Assets to replace Tax Free Assets
Browse files Browse the repository at this point in the history
  • Loading branch information
alfetopito committed Feb 13, 2025
1 parent b2cd469 commit e6afdfc
Show file tree
Hide file tree
Showing 7 changed files with 4,095 additions and 1,056 deletions.
28 changes: 28 additions & 0 deletions src/api/prime-asset/content-types/prime-asset/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"kind": "collectionType",
"collectionName": "prime_assets",
"info": {
"singularName": "prime-asset",
"pluralName": "prime-assets",
"displayName": "Prime Assets"
},
"options": {
"draftAndPublish": false
},
"pluginOptions": {},
"attributes": {
"name": {
"type": "string",
"required": true
},
"network": {
"type": "relation",
"relation": "oneToOne",
"target": "api::network.network"
},
"assets": {
"type": "json",
"required": true
}
}
}
7 changes: 7 additions & 0 deletions src/api/prime-asset/controllers/prime-asset.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/**
* prime-asset controller
*/

import { factories } from '@strapi/strapi'

export default factories.createCoreController('api::prime-asset.prime-asset');
Loading

0 comments on commit e6afdfc

Please sign in to comment.