Skip to content

Commit

Permalink
cae429ad fix(signals): remove usage of SIGNAL from @angular/core/prim…
Browse files Browse the repository at this point in the history
…itives/signals package (#4530)
  • Loading branch information
web-flow authored Sep 24, 2024
1 parent bef2f9e commit 38a58a0
Show file tree
Hide file tree
Showing 20 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion commit_message
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7ecd063f chore: update deps (#4527)
cae429ad fix(signals): remove usage of SIGNAL from @angular/core/primitives/signals package (#4530)
2 changes: 1 addition & 1 deletion generated/docs/api/signals/PartialStateUpdater.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "api/signals/PartialStateUpdater",
"title": "PartialStateUpdater",
"contents": "\n\n<article>\n <div class=\"github-links\">\n <a href=\"https://github.com/ngrx/platform/edit/main/modules/signals/src/state-source.ts?message=docs(signals)%3A%20describe%20your%20change...#L24-L27\" 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.2/modules/signals/src/state-source.ts#L24-L27\" 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/signals\", \"name\": \"@ngrx/signals\" } },\n { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://ngrx.io/api/signals/PartialStateUpdater\", \"name\": \"PartialStateUpdater\" } }\n ]\n }\n </script>\n <a href=\"/api\">API</a> > <a href=\"api/signals\">@ngrx/signals</a>\n </div>\n \n <header class=\"api-header\">\n <h1 id=\"partialstateupdater\">PartialStateUpdater<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/signals/PartialStateUpdater#partialstateupdater\"><i class=\"material-icons\">link</i></a></h1>\n <label class=\"api-type-label type-alias\">type-alias</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 \n \n </section>\n \n \n \n <section class=\"type-alias-overview\">\n <code-example language=\"ts\" hidecopy=\"true\">\n <a href=\"api/signals/type\" class=\"code-anchor\">type</a> <a href=\"api/signals/PartialStateUpdater\" class=\"code-anchor\">PartialStateUpdater</a>&#x3C;<a href=\"api/store/State\" class=\"code-anchor\">State</a> extends object> = (state: <a href=\"api/store/State\" class=\"code-anchor\">State</a>) => Partial&#x3C;<a href=\"api/store/State\" class=\"code-anchor\">State</a>>;\n </code-example>\n </section>\n\n \n\n \n \n\n \n\n\n </div>\n</article>\n\n<!-- links to this doc:\n - api/signals\n - api/signals/entities/addEntities\n - api/signals/entities/addEntity\n - api/signals/entities/removeAllEntities\n - api/signals/entities/removeEntities\n - api/signals/entities/removeEntity\n - api/signals/entities/setAllEntities\n - api/signals/entities/setEntities\n - api/signals/entities/setEntity\n - api/signals/entities/updateAllEntities\n - api/signals/entities/updateEntities\n - api/signals/entities/updateEntity\n - api/signals/patchState\n - guide/signals/signal-state\n-->\n<!-- links from this doc:\n - /api\n - api/signals\n - api/signals/PartialStateUpdater#partialstateupdater\n - api/signals/type\n - api/store/State\n - https://github.com/ngrx/platform/edit/main/modules/signals/src/state-source.ts?message=docs(signals)%3A%20describe%20your%20change...#L24-L27\n - https://github.com/ngrx/platform/tree/18.0.2/modules/signals/src/state-source.ts#L24-L27\n-->"
"contents": "\n\n<article>\n <div class=\"github-links\">\n <a href=\"https://github.com/ngrx/platform/edit/main/modules/signals/src/state-source.ts?message=docs(signals)%3A%20describe%20your%20change...#L23-L26\" 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.2/modules/signals/src/state-source.ts#L23-L26\" 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/signals\", \"name\": \"@ngrx/signals\" } },\n { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://ngrx.io/api/signals/PartialStateUpdater\", \"name\": \"PartialStateUpdater\" } }\n ]\n }\n </script>\n <a href=\"/api\">API</a> > <a href=\"api/signals\">@ngrx/signals</a>\n </div>\n \n <header class=\"api-header\">\n <h1 id=\"partialstateupdater\">PartialStateUpdater<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/signals/PartialStateUpdater#partialstateupdater\"><i class=\"material-icons\">link</i></a></h1>\n <label class=\"api-type-label type-alias\">type-alias</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 \n \n </section>\n \n \n \n <section class=\"type-alias-overview\">\n <code-example language=\"ts\" hidecopy=\"true\">\n <a href=\"api/signals/type\" class=\"code-anchor\">type</a> <a href=\"api/signals/PartialStateUpdater\" class=\"code-anchor\">PartialStateUpdater</a>&#x3C;<a href=\"api/store/State\" class=\"code-anchor\">State</a> extends object> = (state: <a href=\"api/store/State\" class=\"code-anchor\">State</a>) => Partial&#x3C;<a href=\"api/store/State\" class=\"code-anchor\">State</a>>;\n </code-example>\n </section>\n\n \n\n \n \n\n \n\n\n </div>\n</article>\n\n<!-- links to this doc:\n - api/signals\n - api/signals/entities/addEntities\n - api/signals/entities/addEntity\n - api/signals/entities/removeAllEntities\n - api/signals/entities/removeEntities\n - api/signals/entities/removeEntity\n - api/signals/entities/setAllEntities\n - api/signals/entities/setEntities\n - api/signals/entities/setEntity\n - api/signals/entities/updateAllEntities\n - api/signals/entities/updateEntities\n - api/signals/entities/updateEntity\n - api/signals/patchState\n - guide/signals/signal-state\n-->\n<!-- links from this doc:\n - /api\n - api/signals\n - api/signals/PartialStateUpdater#partialstateupdater\n - api/signals/type\n - api/store/State\n - https://github.com/ngrx/platform/edit/main/modules/signals/src/state-source.ts?message=docs(signals)%3A%20describe%20your%20change...#L23-L26\n - https://github.com/ngrx/platform/tree/18.0.2/modules/signals/src/state-source.ts#L23-L26\n-->"
}
2 changes: 1 addition & 1 deletion generated/docs/api/signals/StateSource.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "api/signals/StateSource",
"title": "StateSource",
"contents": "\n\n<article>\n <div class=\"github-links\">\n <a href=\"https://github.com/ngrx/platform/edit/main/modules/signals/src/state-source.ts?message=docs(signals)%3A%20describe%20your%20change...#L20-L23\" 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.2/modules/signals/src/state-source.ts#L20-L23\" 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/signals\", \"name\": \"@ngrx/signals\" } },\n { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://ngrx.io/api/signals/StateSource\", \"name\": \"StateSource\" } }\n ]\n }\n </script>\n <a href=\"/api\">API</a> > <a href=\"api/signals\">@ngrx/signals</a>\n </div>\n \n <header class=\"api-header\">\n <h1 id=\"statesource\">StateSource<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/signals/StateSource#statesource\"><i class=\"material-icons\">link</i></a></h1>\n <label class=\"api-type-label type-alias\">type-alias</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 \n \n </section>\n \n \n \n <section class=\"type-alias-overview\">\n <code-example language=\"ts\" hidecopy=\"true\">\n <a href=\"api/signals/type\" class=\"code-anchor\">type</a> <a href=\"api/signals/StateSource\" class=\"code-anchor\">StateSource</a>&#x3C;<a href=\"api/store/State\" class=\"code-anchor\">State</a> extends object> = {\n [STATE_SOURCE]: Signal&#x3C;<a href=\"api/store/State\" class=\"code-anchor\">State</a>>;\n};\n </code-example>\n </section>\n\n \n\n \n \n\n \n\n\n </div>\n</article>\n\n<!-- links to this doc:\n - api/signals\n - api/signals/getState\n - api/signals/signalStore\n - api/signals/watchState\n-->\n<!-- links from this doc:\n - /api\n - api/signals\n - api/signals/StateSource#statesource\n - api/signals/type\n - api/store/State\n - https://github.com/ngrx/platform/edit/main/modules/signals/src/state-source.ts?message=docs(signals)%3A%20describe%20your%20change...#L20-L23\n - https://github.com/ngrx/platform/tree/18.0.2/modules/signals/src/state-source.ts#L20-L23\n-->"
"contents": "\n\n<article>\n <div class=\"github-links\">\n <a href=\"https://github.com/ngrx/platform/edit/main/modules/signals/src/state-source.ts?message=docs(signals)%3A%20describe%20your%20change...#L19-L22\" 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.2/modules/signals/src/state-source.ts#L19-L22\" 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/signals\", \"name\": \"@ngrx/signals\" } },\n { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://ngrx.io/api/signals/StateSource\", \"name\": \"StateSource\" } }\n ]\n }\n </script>\n <a href=\"/api\">API</a> > <a href=\"api/signals\">@ngrx/signals</a>\n </div>\n \n <header class=\"api-header\">\n <h1 id=\"statesource\">StateSource<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/signals/StateSource#statesource\"><i class=\"material-icons\">link</i></a></h1>\n <label class=\"api-type-label type-alias\">type-alias</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 \n \n </section>\n \n \n \n <section class=\"type-alias-overview\">\n <code-example language=\"ts\" hidecopy=\"true\">\n <a href=\"api/signals/type\" class=\"code-anchor\">type</a> <a href=\"api/signals/StateSource\" class=\"code-anchor\">StateSource</a>&#x3C;<a href=\"api/store/State\" class=\"code-anchor\">State</a> extends object> = {\n [STATE_SOURCE]: Signal&#x3C;<a href=\"api/store/State\" class=\"code-anchor\">State</a>>;\n};\n </code-example>\n </section>\n\n \n\n \n \n\n \n\n\n </div>\n</article>\n\n<!-- links to this doc:\n - api/signals\n - api/signals/getState\n - api/signals/signalStore\n - api/signals/watchState\n-->\n<!-- links from this doc:\n - /api\n - api/signals\n - api/signals/StateSource#statesource\n - api/signals/type\n - api/store/State\n - https://github.com/ngrx/platform/edit/main/modules/signals/src/state-source.ts?message=docs(signals)%3A%20describe%20your%20change...#L19-L22\n - https://github.com/ngrx/platform/tree/18.0.2/modules/signals/src/state-source.ts#L19-L22\n-->"
}
2 changes: 1 addition & 1 deletion generated/docs/api/signals/StateWatcher.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "api/signals/StateWatcher",
"title": "StateWatcher",
"contents": "\n\n<article>\n <div class=\"github-links\">\n <a href=\"https://github.com/ngrx/platform/edit/main/modules/signals/src/state-source.ts?message=docs(signals)%3A%20describe%20your%20change...#L28-L31\" 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.2/modules/signals/src/state-source.ts#L28-L31\" 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/signals\", \"name\": \"@ngrx/signals\" } },\n { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://ngrx.io/api/signals/StateWatcher\", \"name\": \"StateWatcher\" } }\n ]\n }\n </script>\n <a href=\"/api\">API</a> > <a href=\"api/signals\">@ngrx/signals</a>\n </div>\n \n <header class=\"api-header\">\n <h1 id=\"statewatcher\">StateWatcher<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/signals/StateWatcher#statewatcher\"><i class=\"material-icons\">link</i></a></h1>\n <label class=\"api-type-label type-alias\">type-alias</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 \n \n </section>\n \n \n \n <section class=\"type-alias-overview\">\n <code-example language=\"ts\" hidecopy=\"true\">\n <a href=\"api/signals/type\" class=\"code-anchor\">type</a> <a href=\"api/signals/StateWatcher\" class=\"code-anchor\">StateWatcher</a>&#x3C;<a href=\"api/store/State\" class=\"code-anchor\">State</a> extends object> = (state: NoInfer&#x3C;<a href=\"api/store/State\" class=\"code-anchor\">State</a>>) => void;\n </code-example>\n </section>\n\n \n\n \n \n\n \n\n\n </div>\n</article>\n\n<!-- links to this doc:\n - api/signals\n - api/signals/watchState\n-->\n<!-- links from this doc:\n - /api\n - api/signals\n - api/signals/StateWatcher#statewatcher\n - api/signals/type\n - api/store/State\n - https://github.com/ngrx/platform/edit/main/modules/signals/src/state-source.ts?message=docs(signals)%3A%20describe%20your%20change...#L28-L31\n - https://github.com/ngrx/platform/tree/18.0.2/modules/signals/src/state-source.ts#L28-L31\n-->"
"contents": "\n\n<article>\n <div class=\"github-links\">\n <a href=\"https://github.com/ngrx/platform/edit/main/modules/signals/src/state-source.ts?message=docs(signals)%3A%20describe%20your%20change...#L27-L30\" 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.2/modules/signals/src/state-source.ts#L27-L30\" 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/signals\", \"name\": \"@ngrx/signals\" } },\n { \"@type\": \"ListItem\", \"position\": 3, \"item\": { \"@id\": \"https://ngrx.io/api/signals/StateWatcher\", \"name\": \"StateWatcher\" } }\n ]\n }\n </script>\n <a href=\"/api\">API</a> > <a href=\"api/signals\">@ngrx/signals</a>\n </div>\n \n <header class=\"api-header\">\n <h1 id=\"statewatcher\">StateWatcher<a title=\"Link to this heading\" class=\"header-link\" aria-hidden=\"true\" href=\"api/signals/StateWatcher#statewatcher\"><i class=\"material-icons\">link</i></a></h1>\n <label class=\"api-type-label type-alias\">type-alias</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 \n \n </section>\n \n \n \n <section class=\"type-alias-overview\">\n <code-example language=\"ts\" hidecopy=\"true\">\n <a href=\"api/signals/type\" class=\"code-anchor\">type</a> <a href=\"api/signals/StateWatcher\" class=\"code-anchor\">StateWatcher</a>&#x3C;<a href=\"api/store/State\" class=\"code-anchor\">State</a> extends object> = (state: NoInfer&#x3C;<a href=\"api/store/State\" class=\"code-anchor\">State</a>>) => void;\n </code-example>\n </section>\n\n \n\n \n \n\n \n\n\n </div>\n</article>\n\n<!-- links to this doc:\n - api/signals\n - api/signals/watchState\n-->\n<!-- links from this doc:\n - /api\n - api/signals\n - api/signals/StateWatcher#statewatcher\n - api/signals/type\n - api/store/State\n - https://github.com/ngrx/platform/edit/main/modules/signals/src/state-source.ts?message=docs(signals)%3A%20describe%20your%20change...#L27-L30\n - https://github.com/ngrx/platform/tree/18.0.2/modules/signals/src/state-source.ts#L27-L30\n-->"
}
Loading

0 comments on commit 38a58a0

Please sign in to comment.