vovk-client 0.0.4-draft.14 → 0.0.4-draft.140
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/LICENSE +1 -1
- package/README.md +23 -3
- package/index.cjs +3 -0
- package/index.d.cts +1 -0
- package/index.d.mts +1 -0
- package/index.mjs +1 -0
- package/openapi.cjs +1 -0
- package/openapi.d.cts +1 -0
- package/package.json +23 -5
- package/schema.cjs +1 -0
- package/schema.d.cts +1 -0
- package/index.d.ts +0 -1
- package/index.js +0 -3
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -1,7 +1,27 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
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 Next.js</strong>
|
|
11
|
+
</p>
|
|
2
12
|
|
|
3
|
-
|
|
13
|
+
---
|
|
4
14
|
|
|
15
|
+
## vovk-client [](https://www.npmjs.com/package/vovk-client)
|
|
16
|
+
|
|
17
|
+
A module that re-exports generated client from **node_modules/.vovk-client**.
|
|
18
|
+
|
|
19
|
+
```sh
|
|
20
|
+
npm install vovk-client
|
|
5
21
|
```
|
|
6
|
-
|
|
22
|
+
|
|
23
|
+
```ts
|
|
24
|
+
import { UserRPC } from 'vovk-client';
|
|
25
|
+
|
|
26
|
+
await UserRPC.updateUser({ body, query, params });
|
|
7
27
|
```
|
package/index.cjs
ADDED
package/index.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../.vovk-client/index.d.cts';
|
package/index.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../.vovk-client/index.d.mts';
|
package/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../.vovk-client/index.mjs';
|
package/openapi.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../.vovk-client/openapi.cjs') ?? {};
|
package/openapi.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { openapi } from '../.vovk-client/openapi.d.cts';
|
package/package.json
CHANGED
|
@@ -1,11 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vovk-client",
|
|
3
|
-
"version": "0.0.4-draft.
|
|
4
|
-
"description": "Vovk.ts
|
|
5
|
-
"main": "index.js",
|
|
3
|
+
"version": "0.0.4-draft.140",
|
|
4
|
+
"description": "Vovk.ts client",
|
|
6
5
|
"scripts": {
|
|
7
6
|
"npm-publish": "npm publish"
|
|
8
7
|
},
|
|
8
|
+
"main": "./index.cjs",
|
|
9
|
+
"module": "./index.mjs",
|
|
10
|
+
"types": "./index.d.mts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"import": "./index.mjs",
|
|
14
|
+
"require": "./index.cjs"
|
|
15
|
+
},
|
|
16
|
+
"./schema": {
|
|
17
|
+
"import": "./schema.cjs",
|
|
18
|
+
"require": "./schema.cjs",
|
|
19
|
+
"types": "./schema.d.cts"
|
|
20
|
+
},
|
|
21
|
+
"./openapi": {
|
|
22
|
+
"import": "./openapi.cjs",
|
|
23
|
+
"require": "./openapi.cjs",
|
|
24
|
+
"types": "./openapi.d.cts"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"type": "module",
|
|
9
28
|
"repository": {
|
|
10
29
|
"type": "git",
|
|
11
30
|
"url": "git+https://github.com/finom/vovk.git"
|
|
@@ -13,9 +32,8 @@
|
|
|
13
32
|
"keywords": [
|
|
14
33
|
"Vovk"
|
|
15
34
|
],
|
|
16
|
-
"author": "
|
|
35
|
+
"author": "Andrey Gubanov",
|
|
17
36
|
"license": "MIT",
|
|
18
|
-
"types": "./index.d.ts",
|
|
19
37
|
"bugs": {
|
|
20
38
|
"url": "https://github.com/finom/vovk/issues"
|
|
21
39
|
},
|
package/schema.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports.schema = require('../.vovk-client/schema.cjs').schema ?? {};
|
package/schema.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { schema } from '../.vovk-client/schema.d.cts';
|
package/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '.vovk-client/compiled';
|
package/index.js
DELETED