-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from dsternlicht/react
RESTool 2.0
- Loading branch information
Showing
161 changed files
with
15,781 additions
and
12,347 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 |
---|---|---|
@@ -1,37 +1,4 @@ | ||
# See http://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
src/config.json | ||
|
||
# compiled output | ||
# /dist | ||
/tmp | ||
|
||
# dependencies | ||
/node_modules | ||
/bower_components | ||
|
||
# IDEs and editors | ||
/.idea | ||
/.vscode | ||
.project | ||
.classpath | ||
.c9/ | ||
*.launch | ||
.settings/ | ||
|
||
# misc | ||
/.sass-cache | ||
/connect.lock | ||
/coverage/* | ||
/libpeerconnection.log | ||
npm-debug.log | ||
testem.log | ||
/typings | ||
|
||
# e2e | ||
/e2e/*.js | ||
/e2e/*.map | ||
|
||
#System Files | ||
.DS_Store | ||
Thumbs.db | ||
.vscode | ||
node_modules/ | ||
public/config.json | ||
build/config.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,203 @@ | ||
{ | ||
"Config Structure": { | ||
"scope": "json", | ||
"prefix": "RESTool - Basic Config", | ||
"body": [ | ||
"{", | ||
"\"name\": \"RESTool sample app\",", | ||
"\"baseUrl\": \"https://restool-sample-app.herokuapp.com/api\",", | ||
"\"pages\": [$1]", | ||
"}", | ||
] | ||
}, | ||
"Characters Page": { | ||
"scope": "json", | ||
"prefix": "RESTool - Characters Page", | ||
"body": [ | ||
"{", | ||
"\"name\": \"Cast & Characters\",", | ||
"\"id\": \"characters\",", | ||
"\"description\": \"Manage GOT characters location and budget.\",", | ||
"\"methods\": {$1}", | ||
"}" | ||
] | ||
}, | ||
"Get All Method": { | ||
"scope": "json", | ||
"prefix": "RESTool - Get All Method", | ||
"body": [ | ||
"\"getAll\": {", | ||
"\"url\": \"/character\",", | ||
"\"display\": {", | ||
"\"type\": \"table\",", | ||
"\"fields\": [", | ||
"{", | ||
"\"name\": \"thumbnail\",", | ||
"\"type\": \"image\",", | ||
"\"label\": \"Thumbnail\"", | ||
"},", | ||
"{", | ||
"\"name\": \"id\",", | ||
"\"type\": \"text\",", | ||
"\"label\": \"ID\"", | ||
"},", | ||
"{", | ||
"\"name\": \"name\",", | ||
"\"type\": \"text\",", | ||
"\"label\": \"Name\"", | ||
"},", | ||
"{", | ||
"\"name\": \"realName\",", | ||
"\"type\": \"text\",", | ||
"\"label\": \"Real Name\"", | ||
"},", | ||
"{", | ||
"\"name\": \"location\",", | ||
"\"type\": \"text\",", | ||
"\"label\": \"Current Location\"", | ||
"},", | ||
"{", | ||
"\"name\": \"isAlive\",", | ||
"\"type\": \"boolean\",", | ||
"\"label\": \"Alive?\"", | ||
"}", | ||
"]", | ||
"}", | ||
"}" | ||
] | ||
}, | ||
"POST Method": { | ||
"scope": "json", | ||
"prefix": "RESTool - POST Method", | ||
"body": [ | ||
"\"post\": {", | ||
"\"url\": \"/character\",", | ||
"\"fields\": [", | ||
"{", | ||
"\"name\": \"thumbnail\",", | ||
"\"label\": \"Thumbnail\",", | ||
"\"type\": \"text\"", | ||
"},", | ||
"{", | ||
"\"name\": \"name\",", | ||
"\"label\": \"Name\",", | ||
"\"type\": \"text\"", | ||
"},", | ||
"{", | ||
"\"name\": \"realName\",", | ||
"\"label\": \"Real Name\",", | ||
"\"type\": \"text\"", | ||
"},", | ||
"{", | ||
"\"name\": \"location\",", | ||
"\"label\": \"Location\",", | ||
"\"type\": \"select\",", | ||
"\"options\": [\"Kings Landing\", \"Beyond the Wall\", \"Winterfell\"]", | ||
"},", | ||
"{", | ||
"\"name\": \"isAlive\",", | ||
"\"label\": \"Alive?\",", | ||
"\"type\": \"boolean\"", | ||
"}", | ||
"]", | ||
"}" | ||
] | ||
}, | ||
"PUT Method": { | ||
"scope": "json", | ||
"prefix": "RESTool - PUT Method", | ||
"body": [ | ||
"\"put\": {", | ||
"\"url\": \"/character/:id\",", | ||
"\"actualMethod\": null,", | ||
"\"fields\": [", | ||
"{", | ||
"\"name\": \"location\",", | ||
"\"label\": \"Location\",", | ||
"\"type\": \"select\",", | ||
"\"options\": [\"Kings Landing\", \"Beyond the Wall\", \"Winterfell\"]", | ||
"},", | ||
"{", | ||
"\"name\": \"isAlive\",", | ||
"\"label\": \"Alive?\",", | ||
"\"type\": \"boolean\"", | ||
"}", | ||
"]", | ||
"}" | ||
] | ||
}, | ||
"DELETE Method": { | ||
"scope": "json", | ||
"prefix": "RESTool - DELETE Method", | ||
"body": [ | ||
"\"delete\": {", | ||
"\"url\": \"/character/:id\"", | ||
"}" | ||
] | ||
}, | ||
"Query Params": { | ||
"scope": "json", | ||
"prefix": "RESTool - Query Params", | ||
"body": [ | ||
"\"queryParams\": [", | ||
"{", | ||
"\"name\": \"search\",", | ||
"\"value\": \"\",", | ||
"\"label\": \"Search\"", | ||
"}", | ||
"]," | ||
] | ||
}, | ||
"Custom Actions": { | ||
"scope": "json", | ||
"prefix": "RESTool - Custom Actions", | ||
"body": [ | ||
"\"customActions\": [", | ||
"{", | ||
"\"name\":\"Send Email\",", | ||
"\"url\": \"/character/:id/sendEmail\",", | ||
"\"actualMethod\": \"post\",", | ||
"\"fields\": [", | ||
"{", | ||
"\"name\": \"id\",", | ||
"\"type\": \"text\",", | ||
"\"label\": \"ID\",", | ||
"\"readonly\": true", | ||
"},", | ||
"{", | ||
"\"name\": \"title\",", | ||
"\"type\": \"text\",", | ||
"\"label\": \"Email Title\",", | ||
"\"required\": true", | ||
"},", | ||
"{", | ||
"\"name\": \"body\",", | ||
"\"type\": \"long-text\",", | ||
"\"label\": \"Email Body\",", | ||
"\"required\": true", | ||
"}", | ||
"]", | ||
"}", | ||
"]" | ||
] | ||
}, | ||
"Custom Actions - Disable": { | ||
"scope": "json", | ||
"prefix": "RESTool - Custom Actions disable", | ||
"body": [ | ||
"{", | ||
"\"name\":\"Disable Character\",", | ||
"\"url\": \"/character/:id/disable\",", | ||
"\"actualMethod\": \"post\",", | ||
"\"fields\": [", | ||
"{", | ||
"\"name\": \"id\",", | ||
"\"type\": \"text\",", | ||
"\"label\": \"Contact ID\",", | ||
"\"readonly\": true", | ||
"}", | ||
"]", | ||
"}" | ||
] | ||
} | ||
} |
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,3 @@ | ||
{ | ||
"git.ignoreLimitWarning": true | ||
} |
Oops, something went wrong.