Skip to content

Commit

Permalink
feat(core): added support for all types of http requests
Browse files Browse the repository at this point in the history
All examples:

*http="let response get url"
*http="let response get url with options"

*http="let response delete url"
*http="let response delete url with options"

*http="let response head url"
*http="let response head url with options"

*http="let response jsonp url callbackParam callback"

*http="let response options url"
*http="let response options url with options"

*http="let response patch url body body"
*http="let response patch url body body with options"

*http="let response post url body body"
*http="let response post url body body with options"

*http="let response put url body body"
*http="let response put url body body with options"
  • Loading branch information
thekiba committed Oct 7, 2018
1 parent 860287a commit 7c10475
Show file tree
Hide file tree
Showing 48 changed files with 756 additions and 312 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.ts]
quote_type = single

[*.md]
max_line_length = off
trim_trailing_whitespace = false
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<a name="6.0.0"></a>
# 6.0.0 (2018-10-06)
<a name="6.0.1"></a>
## 6.0.1 (2018-10-06)


### Features
Expand Down
15 changes: 12 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@
"tsConfig": "src/tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets"
"src/assets",
"src/manifest.json"
],
"styles": [
{
"input": "node_modules/@angular/material/prebuilt-themes/indigo-pink.css"
},
"src/styles.css"
],
"scripts": []
Expand All @@ -43,7 +47,8 @@
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true
"buildOptimizer": true,
"serviceWorker": true
}
}
},
Expand Down Expand Up @@ -72,12 +77,16 @@
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"styles": [
{
"input": "node_modules/@angular/material/prebuilt-themes/indigo-pink.css"
},
"src/styles.css"
],
"scripts": [],
"assets": [
"src/favicon.ico",
"src/assets"
"src/assets",
"src/manifest.json"
]
}
},
Expand Down
39 changes: 39 additions & 0 deletions ngsw-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"index": "/index.html",
"assetGroups": [
{
"name": "app",
"installMode": "prefetch",
"resources": {
"files": [
"/favicon.ico",
"/index.html",
"/*.css",
"/*.js"
]
}
}, {
"name": "assets",
"installMode": "lazy",
"updateMode": "prefetch",
"resources": {
"files": [
"/assets/**"
]
}
}
],
"dataGroups": [
{
"name": "github-api",
"urls": [
"https://api.github.com/**"
],
"version": 3,
"cacheConfig": {
"maxSize": 1000,
"maxAge": "5m"
}
}
]
}
Loading

0 comments on commit 7c10475

Please # to comment.