Skip to content

Commit

Permalink
c4609203 feat(operators): add mapResponse (#4302)
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow authored May 13, 2024
1 parent 80422f0 commit a24df6a
Show file tree
Hide file tree
Showing 20 changed files with 36 additions and 18 deletions.
2 changes: 1 addition & 1 deletion commit_message
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22a3adf9 docs(store): fix lint issues in example code (#4324)
c4609203 feat(operators): add `mapResponse` (#4302)
8 changes: 8 additions & 0 deletions generated/docs/api/api-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -2870,6 +2870,14 @@
"stability": "stable",
"securityRisk": false
},
{
"name": "mapresponse",
"title": "mapResponse",
"path": "api/operators/mapResponse",
"docType": "function",
"stability": "stable",
"securityRisk": false
},
{
"name": "tapresponse",
"title": "tapResponse",
Expand Down
2 changes: 1 addition & 1 deletion generated/docs/api/data/PersistanceCanceled.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "api/data/PersistanceCanceled",
"title": "PersistanceCanceled",
"contents": "\n\n<article>\n <div class=\"github-links\">\n <a href=\"https://github.com/ngrx/platform/edit/main/modules/data/src/dispatchers/entity-dispatcher.ts?message=docs(data)%3A%20describe%20your%20change...#L69-L77\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/ngrx/platform/tree/18.0.0-beta.0/modules/data/src/dispatchers/entity-dispatcher.ts#L69-L77\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n <div class=\"breadcrumb\">\n <script type=\"application/ld+json\">\n {\n \"@context\": \"http://schema.org\",\n \"@type\": \"BreadcrumbList\",\n \"itemListElement\": [\n { \"@type\": \"ListItem\", \"position\": 1, \"item\": { \"@id\": \"https://ngrx.io//api\", \"name\": \"API\" } },\n { \"@type\": \"ListItem\", \"position\": 2, \"item\": { \"@id\": \"https://ngrx.io/api/data\", \"name\": \"@ngrx/data\" } },\n { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://ngrx.io/api/data/PersistanceCanceled\", \"name\": \"PersistanceCanceled\" } }\n ]\n }\n </script>\n <a href=\"/api\">API</a> > <a href=\"api/data\">@ngrx/data</a>\n </div>\n \n <header class=\"api-header\">\n <h1 id=\"persistancecanceled\">PersistanceCanceled<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/data/PersistanceCanceled#persistancecanceled\"><i class=\"material-icons\">link</i></a></h1>\n <label class=\"api-type-label class\">class</label>\n \n \n \n </header>\n \n <aio-toc class=\"embedded\"></aio-toc>\n\n <div class=\"api-body\">\n \n <section class=\"short-description\">\n <p>Persistence operation canceled</p>\n\n \n </section>\n \n \n \n <section class=\"class-overview\">\n<code-example language=\"ts\" hidecopy=\"true\" linenums=\"false\">\nclass <a href=\"api/data/PersistanceCanceled\" class=\"code-anchor\">PersistanceCanceled</a> {\n <a class=\"code-anchor\" href=\"api/data/PersistanceCanceled#constructor()\"><span class=\"member-name\">constructor</span>(message?: string)</a>\n <a class=\"code-anchor\" href=\"api/data/PersistanceCanceled#message\"><span class=\"member-name\">message</span>?: string</a>\n}\n</code-example>\n\n \n \n\n</section>\n\n\n \n\n \n \n \n\n\n\n\n\n\n<h2 id=\"constructor\">Constructor<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/data/PersistanceCanceled#constructor\"><i class=\"material-icons\">link</i></a></h2>\n<a id=\"constructor()\"></a>\n<table class=\"is-full-width method-table constructor\">\n \n <tbody>\n \n \n <tr>\n <td>\n \n\n<code-example language=\"ts\" hidecopy=\"true\" linenums=\"false\" class=\"no-box api-heading\"><span class=\"member-name\">constructor</span>(<a href=\"api/data/PersistanceCanceled#message\" class=\"code-anchor\">message</a>?: string)</code-example>\n\n\n\n<h4 class=\"no-anchor\" id=\"parameters\">Parameters</h4>\n<table class=\"is-full-width list-table parameters-table constructor-overload-parameters\">\n <tbody>\n \n <tr class=\"constructor-overload-parameter\">\n <td class=\"param-name\">\n <a id=\"message\"></a>\n <code><a href=\"api/data/PersistanceCanceled#message\" class=\"code-anchor\">message</a></code>\n </td>\n <td class=\"param-type\"><code>string</code></td>\n <td class=\"param-description\">\n <p>Optional. Default is <code>undefined</code>.</p>\n \n </td>\n </tr>\n </tbody>\n</table>\n\n\n\n\n\n\n\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n\n\n\n<section class=\"instance-properties\">\n <h2 id=\"properties\">Properties<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/data/PersistanceCanceled#properties\"><i class=\"material-icons\">link</i></a></h2>\n <table class=\"is-full-width list-table property-table\">\n <thead>\n <tr>\n <th>Property</th>\n <th>Description</th>\n </tr>\n </thead>\n <tbody>\n \n <tr class=\"instance-property\">\n <td>\n <a id=\"message\"></a>\n <code><span class=\"member-name\"><a href=\"api/data/PersistanceCanceled#message\" class=\"code-anchor\">message</a></span>?: string</code>\n </td>\n <td><span class=\"read-only-property\">Read-only.</span>\n \n \n <span class=\"from-constructor\">Declared in constructor.</span>\n </td>\n </tr>\n \n </tbody>\n </table>\n</section>\n\n\n\n\n\n \n\n\n </div>\n</article>\n\n<!-- links to this doc:\n - api/data\n - api/data/DefaultLogger\n - api/data/Logger\n - api/operators/tapResponse\n - contributing\n - guide/effects\n-->\n<!-- links from this doc:\n - /api\n - api/data\n - api/data/PersistanceCanceled#constructor\n - api/data/PersistanceCanceled#constructor()\n - api/data/PersistanceCanceled#message\n - api/data/PersistanceCanceled#persistancecanceled\n - api/data/PersistanceCanceled#properties\n - https://github.com/ngrx/platform/edit/main/modules/data/src/dispatchers/entity-dispatcher.ts?message=docs(data)%3A%20describe%20your%20change...#L69-L77\n - https://github.com/ngrx/platform/tree/18.0.0-beta.0/modules/data/src/dispatchers/entity-dispatcher.ts#L69-L77\n-->"
"contents": "\n\n<article>\n <div class=\"github-links\">\n <a href=\"https://github.com/ngrx/platform/edit/main/modules/data/src/dispatchers/entity-dispatcher.ts?message=docs(data)%3A%20describe%20your%20change...#L69-L77\" aria-label=\"Suggest Edits\" title=\"Suggest Edits\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">mode_edit</i></a>\n <a href=\"https://github.com/ngrx/platform/tree/18.0.0-beta.0/modules/data/src/dispatchers/entity-dispatcher.ts#L69-L77\" aria-label=\"View Source\" title=\"View Source\"><i class=\"material-icons\" aria-hidden=\"true\" role=\"img\">code</i></a>\n</div>\n <div class=\"breadcrumb\">\n <script type=\"application/ld+json\">\n {\n \"@context\": \"http://schema.org\",\n \"@type\": \"BreadcrumbList\",\n \"itemListElement\": [\n { \"@type\": \"ListItem\", \"position\": 1, \"item\": { \"@id\": \"https://ngrx.io//api\", \"name\": \"API\" } },\n { \"@type\": \"ListItem\", \"position\": 2, \"item\": { \"@id\": \"https://ngrx.io/api/data\", \"name\": \"@ngrx/data\" } },\n { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://ngrx.io/api/data/PersistanceCanceled\", \"name\": \"PersistanceCanceled\" } }\n ]\n }\n </script>\n <a href=\"/api\">API</a> > <a href=\"api/data\">@ngrx/data</a>\n </div>\n \n <header class=\"api-header\">\n <h1 id=\"persistancecanceled\">PersistanceCanceled<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/data/PersistanceCanceled#persistancecanceled\"><i class=\"material-icons\">link</i></a></h1>\n <label class=\"api-type-label class\">class</label>\n \n \n \n </header>\n \n <aio-toc class=\"embedded\"></aio-toc>\n\n <div class=\"api-body\">\n \n <section class=\"short-description\">\n <p>Persistence operation canceled</p>\n\n \n </section>\n \n \n \n <section class=\"class-overview\">\n<code-example language=\"ts\" hidecopy=\"true\" linenums=\"false\">\nclass <a href=\"api/data/PersistanceCanceled\" class=\"code-anchor\">PersistanceCanceled</a> {\n <a class=\"code-anchor\" href=\"api/data/PersistanceCanceled#constructor()\"><span class=\"member-name\">constructor</span>(message?: string)</a>\n <a class=\"code-anchor\" href=\"api/data/PersistanceCanceled#message\"><span class=\"member-name\">message</span>?: string</a>\n}\n</code-example>\n\n \n \n\n</section>\n\n\n \n\n \n \n \n\n\n\n\n\n\n<h2 id=\"constructor\">Constructor<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/data/PersistanceCanceled#constructor\"><i class=\"material-icons\">link</i></a></h2>\n<a id=\"constructor()\"></a>\n<table class=\"is-full-width method-table constructor\">\n \n <tbody>\n \n \n <tr>\n <td>\n \n\n<code-example language=\"ts\" hidecopy=\"true\" linenums=\"false\" class=\"no-box api-heading\"><span class=\"member-name\">constructor</span>(<a href=\"api/data/PersistanceCanceled#message\" class=\"code-anchor\">message</a>?: string)</code-example>\n\n\n\n<h4 class=\"no-anchor\" id=\"parameters\">Parameters</h4>\n<table class=\"is-full-width list-table parameters-table constructor-overload-parameters\">\n <tbody>\n \n <tr class=\"constructor-overload-parameter\">\n <td class=\"param-name\">\n <a id=\"message\"></a>\n <code><a href=\"api/data/PersistanceCanceled#message\" class=\"code-anchor\">message</a></code>\n </td>\n <td class=\"param-type\"><code>string</code></td>\n <td class=\"param-description\">\n <p>Optional. Default is <code>undefined</code>.</p>\n \n </td>\n </tr>\n </tbody>\n</table>\n\n\n\n\n\n\n\n </td>\n </tr>\n \n\n \n\n \n </tbody>\n</table>\n\n\n\n\n<section class=\"instance-properties\">\n <h2 id=\"properties\">Properties<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/data/PersistanceCanceled#properties\"><i class=\"material-icons\">link</i></a></h2>\n <table class=\"is-full-width list-table property-table\">\n <thead>\n <tr>\n <th>Property</th>\n <th>Description</th>\n </tr>\n </thead>\n <tbody>\n \n <tr class=\"instance-property\">\n <td>\n <a id=\"message\"></a>\n <code><span class=\"member-name\"><a href=\"api/data/PersistanceCanceled#message\" class=\"code-anchor\">message</a></span>?: string</code>\n </td>\n <td><span class=\"read-only-property\">Read-only.</span>\n \n \n <span class=\"from-constructor\">Declared in constructor.</span>\n </td>\n </tr>\n \n </tbody>\n </table>\n</section>\n\n\n\n\n\n \n\n\n </div>\n</article>\n\n<!-- links to this doc:\n - api/data\n - api/data/DefaultLogger\n - api/data/Logger\n - api/operators/tapResponse\n - contributing\n - guide/effects\n - guide/operators/operators\n-->\n<!-- links from this doc:\n - /api\n - api/data\n - api/data/PersistanceCanceled#constructor\n - api/data/PersistanceCanceled#constructor()\n - api/data/PersistanceCanceled#message\n - api/data/PersistanceCanceled#persistancecanceled\n - api/data/PersistanceCanceled#properties\n - https://github.com/ngrx/platform/edit/main/modules/data/src/dispatchers/entity-dispatcher.ts?message=docs(data)%3A%20describe%20your%20change...#L69-L77\n - https://github.com/ngrx/platform/tree/18.0.0-beta.0/modules/data/src/dispatchers/entity-dispatcher.ts#L69-L77\n-->"
}
Loading

0 comments on commit a24df6a

Please sign in to comment.