vovk-client 0.0.4-draft.135 → 0.0.4-draft.137
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,24 +1,27 @@
|
|
|
1
|
-
<p align="center">
|
|
2
|
-
<picture>
|
|
3
|
-
<source width="300" media="(prefers-color-scheme: dark)" srcset="https://vovk.dev/vovk-logo-white.svg">
|
|
4
|
-
<source width="300" media="(prefers-color-scheme: light)" srcset="https://vovk.dev/vovk-logo.svg">
|
|
5
|
-
<img width="300" alt="vovk" src="https://vovk.dev/vovk-logo.svg">
|
|
6
|
-
</picture><br>
|
|
7
|
-
<strong>RESTful + RPC = ♥️</strong>
|
|
8
|
-
</p>
|
|
9
|
-
|
|
10
1
|
<p align="center">
|
|
11
|
-
|
|
2
|
+
<a href="https://vovk.dev">
|
|
3
|
+
<picture>
|
|
4
|
+
<source width="300" media="(prefers-color-scheme: dark)" srcset="https://vovk.dev/vovk-logo-white.svg">
|
|
5
|
+
<source width="300" media="(prefers-color-scheme: light)" srcset="https://vovk.dev/vovk-logo.svg">
|
|
6
|
+
<img width="300" alt="vovk" src="https://vovk.dev/vovk-logo.svg">
|
|
7
|
+
</picture>
|
|
8
|
+
</a>
|
|
9
|
+
<br>
|
|
10
|
+
<strong>Back-end for <a href="https://nextjs.org/">Next.js</a></strong>
|
|
12
11
|
</p>
|
|
13
12
|
|
|
14
13
|
---
|
|
15
14
|
|
|
16
15
|
## vovk-client [](https://www.npmjs.com/package/vovk-client)
|
|
17
16
|
|
|
18
|
-
|
|
17
|
+
A module that re-exports generated client from **node_modules/.vovk-client**.
|
|
19
18
|
|
|
20
19
|
```sh
|
|
21
20
|
npm install vovk-client
|
|
22
21
|
```
|
|
23
22
|
|
|
24
|
-
|
|
23
|
+
```ts
|
|
24
|
+
import { UserRPC } from 'vovk-client';
|
|
25
|
+
|
|
26
|
+
await UserRPC.updateUser({ body, query, params });
|
|
27
|
+
```
|