Skip to content

Commit 327d666

Browse files
committed
docs: Add ctrl.set() to README
1 parent c85cb80 commit 327d666

File tree

6 files changed

+17
-19
lines changed

6 files changed

+17
-19
lines changed

.changeset/serious-paws-yawn.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@data-client/react': patch
3+
'@data-client/core': patch
4+
---
5+
6+
Add ctrl.set() to README

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ For the small price of 9kb gziped.    [🏁Get started now](https://da
250250
- [ctrl.invalidate](https://dataclient.io/docs/api/Controller#invalidate)
251251
- [ctrl.invalidateAll](https://dataclient.io/docs/api/Controller#invalidateAll)
252252
- [ctrl.resetEntireStore](https://dataclient.io/docs/api/Controller#resetEntireStore)
253+
- [ctrl.set](https://dataclient.io/docs/api/Controller#set)
253254
- [ctrl.setResponse](https://dataclient.io/docs/api/Controller#setResponse)
254255
- [ctrl.setError](https://dataclient.io/docs/api/Controller#setError)
255256
- [ctrl.resolve](https://dataclient.io/docs/api/Controller#resolve)

packages/core/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ function useSuspense(endpoint, ...args)
8080
- [ctrl.invalidate](https://dataclient.io/docs/api/Controller#invalidate)
8181
- [ctrl.invalidateAll](https://dataclient.io/docs/api/Controller#invalidateAll)
8282
- [ctrl.resetEntireStore](https://dataclient.io/docs/api/Controller#resetEntireStore)
83+
- [ctrl.set](https://dataclient.io/docs/api/Controller#set)
8384
- [ctrl.setResponse](https://dataclient.io/docs/api/Controller#setResponse)
8485
- [ctrl.setError](https://dataclient.io/docs/api/Controller#setError)
8586
- [ctrl.resolve](https://dataclient.io/docs/api/Controller#resolve)

packages/react/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ For the small price of 9kb gziped.    [🏁Get started now](https://da
242242
- [ctrl.invalidate](https://dataclient.io/docs/api/Controller#invalidate)
243243
- [ctrl.invalidateAll](https://dataclient.io/docs/api/Controller#invalidateAll)
244244
- [ctrl.resetEntireStore](https://dataclient.io/docs/api/Controller#resetEntireStore)
245+
- [ctrl.set](https://dataclient.io/docs/api/Controller#set)
245246
- [ctrl.setResponse](https://dataclient.io/docs/api/Controller#setResponse)
246247
- [ctrl.setError](https://dataclient.io/docs/api/Controller#setError)
247248
- [ctrl.resolve](https://dataclient.io/docs/api/Controller#resolve)

packages/rest/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@
134134
},
135135
"devDependencies": {
136136
"@anansi/browserslist-config": "^1.4.2",
137-
"@types/node": "^20.0.0",
138-
"@types/path-to-regexp": "^1.7.0"
137+
"@types/node": "^20.0.0"
139138
}
140139
}

yarn.lock

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3290,7 +3290,6 @@ __metadata:
32903290
"@babel/runtime": "npm:^7.17.0"
32913291
"@data-client/endpoint": "npm:^0.12.7"
32923292
"@types/node": "npm:^20.0.0"
3293-
"@types/path-to-regexp": "npm:^1.7.0"
32943293
path-to-regexp: "npm:^6.2.1"
32953294
languageName: unknown
32963295
linkType: soft
@@ -7257,15 +7256,6 @@ __metadata:
72577256
languageName: node
72587257
linkType: hard
72597258

7260-
"@types/path-to-regexp@npm:^1.7.0":
7261-
version: 1.7.0
7262-
resolution: "@types/path-to-regexp@npm:1.7.0"
7263-
dependencies:
7264-
path-to-regexp: "npm:*"
7265-
checksum: 10c0/89c696e411dce8ccbdeaae91f51f1b7e121445c3ceec6a3671b4054e3531244b774fbd88a43962e67c0d9d855af11d8da0040e21504147908830d70372e59203
7266-
languageName: node
7267-
linkType: hard
7268-
72697259
"@types/prismjs@npm:^1.26.0":
72707260
version: 1.26.0
72717261
resolution: "@types/prismjs@npm:1.26.0"
@@ -22933,13 +22923,6 @@ __metadata:
2293322923
languageName: node
2293422924
linkType: hard
2293522925

22936-
"path-to-regexp@npm:*, path-to-regexp@npm:6.2.2, path-to-regexp@npm:^6.2.1":
22937-
version: 6.2.2
22938-
resolution: "path-to-regexp@npm:6.2.2"
22939-
checksum: 10c0/4b60852d3501fd05ca9dd08c70033d73844e5eca14e41f499f069afa8364f780f15c5098002f93bd42af8b3514de62ac6e82a53b5662de881d2b08c9ef21ea6b
22940-
languageName: node
22941-
linkType: hard
22942-
2294322926
"path-to-regexp@npm:0.1.7":
2294422927
version: 0.1.7
2294522928
resolution: "path-to-regexp@npm:0.1.7"
@@ -22954,6 +22937,13 @@ __metadata:
2295422937
languageName: node
2295522938
linkType: hard
2295622939

22940+
"path-to-regexp@npm:6.2.2, path-to-regexp@npm:^6.2.1":
22941+
version: 6.2.2
22942+
resolution: "path-to-regexp@npm:6.2.2"
22943+
checksum: 10c0/4b60852d3501fd05ca9dd08c70033d73844e5eca14e41f499f069afa8364f780f15c5098002f93bd42af8b3514de62ac6e82a53b5662de881d2b08c9ef21ea6b
22944+
languageName: node
22945+
linkType: hard
22946+
2295722947
"path-to-regexp@npm:^1.7.0":
2295822948
version: 1.8.0
2295922949
resolution: "path-to-regexp@npm:1.8.0"

0 commit comments

Comments
 (0)