Skip to content

Commit 83d754b

Browse files
authored
feat: add restricted token lists page (#72)
1 parent dcaf584 commit 83d754b

File tree

6 files changed

+2293
-826
lines changed

6 files changed

+2293
-826
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"kind": "collectionType",
3+
"collectionName": "restricted_token_lists",
4+
"info": {
5+
"singularName": "restricted-token-list",
6+
"pluralName": "restricted-token-lists",
7+
"displayName": "Restricted Token List"
8+
},
9+
"options": {
10+
"draftAndPublish": false
11+
},
12+
"pluginOptions": {},
13+
"attributes": {
14+
"name": {
15+
"type": "string",
16+
"required": true
17+
},
18+
"tokenListUrl": {
19+
"type": "string",
20+
"required": true
21+
},
22+
"restrictedCountries": {
23+
"type": "json",
24+
"required": true
25+
}
26+
}
27+
}
28+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/**
2+
* restricted-token-list controller
3+
*/
4+
5+
import { factories } from '@strapi/strapi';
6+
7+
export default factories.createCoreController('api::restricted-token-list.restricted-token-list');
8+

0 commit comments

Comments
 (0)