-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2a373b9
commit 5ac7fc3
Showing
21 changed files
with
1,058 additions
and
289 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,52 @@ | ||
{ | ||
"routes": [ | ||
{ | ||
"method": "GET", | ||
"path": "/feeds", | ||
"handler": "feed.find", | ||
"config": { | ||
"policies": [] | ||
} | ||
}, | ||
{ | ||
"method": "GET", | ||
"path": "/feeds/count", | ||
"handler": "feed.count", | ||
"config": { | ||
"policies": [] | ||
} | ||
}, | ||
{ | ||
"method": "GET", | ||
"path": "/feeds/:id", | ||
"handler": "feed.findOne", | ||
"config": { | ||
"policies": [] | ||
} | ||
}, | ||
{ | ||
"method": "POST", | ||
"path": "/feeds", | ||
"handler": "feed.create", | ||
"config": { | ||
"policies": [] | ||
} | ||
}, | ||
{ | ||
"method": "PUT", | ||
"path": "/feeds/:id", | ||
"handler": "feed.update", | ||
"config": { | ||
"policies": [] | ||
} | ||
}, | ||
{ | ||
"method": "DELETE", | ||
"path": "/feeds/:id", | ||
"handler": "feed.delete", | ||
"config": { | ||
"policies": [] | ||
} | ||
} | ||
] | ||
} |
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,8 @@ | ||
"use strict"; | ||
|
||
/** | ||
* Read the documentation (https://strapi.io/documentation/v3.x/concepts/controllers.html#core-controllers) | ||
* to customize this controller | ||
*/ | ||
|
||
module.exports = {}; |
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,8 @@ | ||
"use strict"; | ||
|
||
/** | ||
* Read the documentation (https://strapi.io/documentation/v3.x/concepts/models.html#lifecycle-hooks) | ||
* to customize this model | ||
*/ | ||
|
||
module.exports = {}; |
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,20 @@ | ||
{ | ||
"kind": "collectionType", | ||
"collectionName": "feeds", | ||
"info": { | ||
"name": "Feed" | ||
}, | ||
"options": { | ||
"increments": true, | ||
"timestamps": true | ||
}, | ||
"attributes": { | ||
"body": { | ||
"type": "text" | ||
}, | ||
"author": { | ||
"plugin": "users-permissions", | ||
"model": "user" | ||
} | ||
} | ||
} |
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,8 @@ | ||
"use strict"; | ||
|
||
/** | ||
* Read the documentation (https://strapi.io/documentation/v3.x/concepts/services.html#core-services) | ||
* to customize this service | ||
*/ | ||
|
||
module.exports = {}; |
57 changes: 57 additions & 0 deletions
57
backend/app/extensions/users-permissions/models/User.settings.json
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,57 @@ | ||
{ | ||
"kind": "collectionType", | ||
"collectionName": "users-permissions_user", | ||
"info": { | ||
"name": "user", | ||
"description": "" | ||
}, | ||
"options": { | ||
"timestamps": true | ||
}, | ||
"attributes": { | ||
"username": { | ||
"type": "string", | ||
"minLength": 3, | ||
"unique": true, | ||
"configurable": false, | ||
"required": true | ||
}, | ||
"email": { | ||
"type": "email", | ||
"minLength": 6, | ||
"configurable": false, | ||
"required": true | ||
}, | ||
"provider": { | ||
"type": "string", | ||
"configurable": false | ||
}, | ||
"password": { | ||
"type": "password", | ||
"minLength": 6, | ||
"configurable": false, | ||
"private": true | ||
}, | ||
"resetPasswordToken": { | ||
"type": "string", | ||
"configurable": false, | ||
"private": true | ||
}, | ||
"confirmed": { | ||
"type": "boolean", | ||
"default": false, | ||
"configurable": false | ||
}, | ||
"blocked": { | ||
"type": "boolean", | ||
"default": false, | ||
"configurable": false | ||
}, | ||
"role": { | ||
"model": "role", | ||
"via": "users", | ||
"plugin": "users-permissions", | ||
"configurable": false | ||
} | ||
} | ||
} |
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
Oops, something went wrong.