vovk-hello-world 0.0.44 → 0.0.46

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 CHANGED
@@ -1,7 +1,7 @@
1
- <!-- auto-generated by vovk-cli v0.0.1-draft.345 at 2025-08-28T19:40:42.305Z -->
1
+ <!-- auto-generated by vovk-cli v0.0.1-draft.346 at 2025-08-30T11:28:13.281Z -->
2
2
 
3
3
 
4
- # vovk-hello-world v0.0.44 [![TypeScript](https://badgen.net/badge/-/TypeScript?icon=typescript&label&labelColor=blue&color=555555)](https://www.typescriptlang.org/) [![Vovk.ts](https://badgen.net/badge/Built%20with/Vovk.ts/333333?icon=https://vovk.dev/icon-white.svg)](https://vovk.dev)
4
+ # vovk-hello-world v0.0.46 [![TypeScript](https://badgen.net/badge/-/TypeScript?icon=typescript&label&labelColor=blue&color=555555)](https://www.typescriptlang.org/) [![Vovk.ts](https://badgen.net/badge/Built%20with/Vovk.ts/333333?icon=https://vovk.dev/icon-white.svg)](https://vovk.dev)
5
5
 
6
6
  > A showcase for Next.js + Vovk.ts + Zod, demonstrating its capabilities with TypeScript, Rust, and Python RPC.
7
7
 
@@ -22,7 +22,7 @@ npm install vovk-hello-world
22
22
 
23
23
 
24
24
 
25
- `POST /api/users/{id}`
25
+ `POST http://localhost:3000/api/users/{id}`
26
26
 
27
27
  ```ts
28
28
  import { UserRPC } from 'vovk-hello-world';
@@ -71,7 +71,7 @@ console.log(response);
71
71
 
72
72
 
73
73
 
74
- `GET /api/streams/tokens`
74
+ `GET http://localhost:3000/api/streams/tokens`
75
75
 
76
76
  ```ts
77
77
  import { StreamRPC } from 'vovk-hello-world';
@@ -100,7 +100,7 @@ for await (const item of response) {
100
100
 
101
101
 
102
102
 
103
- `GET /api/static/openapi/spec.json`
103
+ `GET http://localhost:3000/api/static/openapi/spec.json`
104
104
 
105
105
  ```ts
106
106
  import { OpenApiRPC } from 'vovk-hello-world';
package/index.cjs CHANGED
@@ -28,8 +28,17 @@ var $schema$2 = "https://vovk.dev/api/schema/v3/meta.json";
28
28
  var config = {
29
29
  "libs": {},
30
30
  "generatorConfig": {
31
+ "origin": "http://localhost:3000",
31
32
  "imports": { "validateOnClient": "vovk-ajv" },
32
- "origin": "",
33
+ "openAPIObject": { "info": {
34
+ "title": "\"Hello World\" app API",
35
+ "description": "API for \"Hello World\" app hosted at https://vovk-hello-world.vercel.app/. Source code is available on Github https://github.com/finom/vovk-hello-world.",
36
+ "license": {
37
+ "name": "MIT",
38
+ "url": "https://opensource.org/licenses/MIT"
39
+ },
40
+ "version": "1.0.0"
41
+ } },
33
42
  "segments": {}
34
43
  },
35
44
  "$schema": "https://vovk.dev/api/schema/v3/config.json"
@@ -212,7 +221,15 @@ const schema = {
212
221
 
213
222
  //#endregion
214
223
  //#region tmp_prebundle/openapi.json
215
- var info = {};
224
+ var info = {
225
+ "title": "\"Hello World\" app API",
226
+ "version": "1.0.0",
227
+ "description": "API for \"Hello World\" app hosted at https://vovk-hello-world.vercel.app/. Source code is available on Github https://github.com/finom/vovk-hello-world.",
228
+ "license": {
229
+ "name": "MIT",
230
+ "url": "https://opensource.org/licenses/MIT"
231
+ }
232
+ };
216
233
  var openapi = "3.1.0";
217
234
  var components = { "schemas": {
218
235
  "HttpStatus": {
@@ -463,15 +480,15 @@ var openapi_default = {
463
480
  //#region tmp_prebundle/index.ts
464
481
  const UserRPC = (0, vovk.createRPC)(schema, "", "UserRPC", import("vovk"), {
465
482
  validateOnClient: import("vovk-ajv"),
466
- apiRoot: "/api"
483
+ apiRoot: "http://localhost:3000/api"
467
484
  });
468
485
  const StreamRPC = (0, vovk.createRPC)(schema, "", "StreamRPC", import("vovk"), {
469
486
  validateOnClient: import("vovk-ajv"),
470
- apiRoot: "/api"
487
+ apiRoot: "http://localhost:3000/api"
471
488
  });
472
489
  const OpenApiRPC = (0, vovk.createRPC)(schema, "static", "OpenApiRPC", import("vovk"), {
473
490
  validateOnClient: import("vovk-ajv"),
474
- apiRoot: "/api"
491
+ apiRoot: "http://localhost:3000/api"
475
492
  });
476
493
 
477
494
  //#endregion
package/index.d.cts CHANGED
@@ -173,10 +173,21 @@ declare const schema: {
173
173
  config: {
174
174
  libs: {};
175
175
  generatorConfig: {
176
+ origin: string;
176
177
  imports: {
177
178
  validateOnClient: string;
178
179
  };
179
- origin: string;
180
+ openAPIObject: {
181
+ info: {
182
+ title: string;
183
+ description: string;
184
+ license: {
185
+ name: string;
186
+ url: string;
187
+ };
188
+ version: string;
189
+ };
190
+ };
180
191
  segments: {};
181
192
  };
182
193
  $schema: string;
package/index.d.mts CHANGED
@@ -173,10 +173,21 @@ declare const schema: {
173
173
  config: {
174
174
  libs: {};
175
175
  generatorConfig: {
176
+ origin: string;
176
177
  imports: {
177
178
  validateOnClient: string;
178
179
  };
179
- origin: string;
180
+ openAPIObject: {
181
+ info: {
182
+ title: string;
183
+ description: string;
184
+ license: {
185
+ name: string;
186
+ url: string;
187
+ };
188
+ version: string;
189
+ };
190
+ };
180
191
  segments: {};
181
192
  };
182
193
  $schema: string;
package/index.mjs CHANGED
@@ -5,8 +5,17 @@ var $schema$2 = "https://vovk.dev/api/schema/v3/meta.json";
5
5
  var config = {
6
6
  "libs": {},
7
7
  "generatorConfig": {
8
+ "origin": "http://localhost:3000",
8
9
  "imports": { "validateOnClient": "vovk-ajv" },
9
- "origin": "",
10
+ "openAPIObject": { "info": {
11
+ "title": "\"Hello World\" app API",
12
+ "description": "API for \"Hello World\" app hosted at https://vovk-hello-world.vercel.app/. Source code is available on Github https://github.com/finom/vovk-hello-world.",
13
+ "license": {
14
+ "name": "MIT",
15
+ "url": "https://opensource.org/licenses/MIT"
16
+ },
17
+ "version": "1.0.0"
18
+ } },
10
19
  "segments": {}
11
20
  },
12
21
  "$schema": "https://vovk.dev/api/schema/v3/config.json"
@@ -189,7 +198,15 @@ const schema = {
189
198
 
190
199
  //#endregion
191
200
  //#region tmp_prebundle/openapi.json
192
- var info = {};
201
+ var info = {
202
+ "title": "\"Hello World\" app API",
203
+ "version": "1.0.0",
204
+ "description": "API for \"Hello World\" app hosted at https://vovk-hello-world.vercel.app/. Source code is available on Github https://github.com/finom/vovk-hello-world.",
205
+ "license": {
206
+ "name": "MIT",
207
+ "url": "https://opensource.org/licenses/MIT"
208
+ }
209
+ };
193
210
  var openapi = "3.1.0";
194
211
  var components = { "schemas": {
195
212
  "HttpStatus": {
@@ -440,15 +457,15 @@ var openapi_default = {
440
457
  //#region tmp_prebundle/index.ts
441
458
  const UserRPC = createRPC(schema, "", "UserRPC", import("vovk"), {
442
459
  validateOnClient: import("vovk-ajv"),
443
- apiRoot: "/api"
460
+ apiRoot: "http://localhost:3000/api"
444
461
  });
445
462
  const StreamRPC = createRPC(schema, "", "StreamRPC", import("vovk"), {
446
463
  validateOnClient: import("vovk-ajv"),
447
- apiRoot: "/api"
464
+ apiRoot: "http://localhost:3000/api"
448
465
  });
449
466
  const OpenApiRPC = createRPC(schema, "static", "OpenApiRPC", import("vovk"), {
450
467
  validateOnClient: import("vovk-ajv"),
451
- apiRoot: "/api"
468
+ apiRoot: "http://localhost:3000/api"
452
469
  });
453
470
 
454
471
  //#endregion
package/openapi.cjs CHANGED
@@ -1,6 +1,14 @@
1
1
 
2
2
  //#region tmp_prebundle/openapi.json
3
- var info = {};
3
+ var info = {
4
+ "title": "\"Hello World\" app API",
5
+ "version": "1.0.0",
6
+ "description": "API for \"Hello World\" app hosted at https://vovk-hello-world.vercel.app/. Source code is available on Github https://github.com/finom/vovk-hello-world.",
7
+ "license": {
8
+ "name": "MIT",
9
+ "url": "https://opensource.org/licenses/MIT"
10
+ }
11
+ };
4
12
  var openapi = "3.1.0";
5
13
  var components = { "schemas": {
6
14
  "HttpStatus": {
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  }
21
21
  },
22
22
  "name": "vovk-hello-world",
23
- "version": "0.0.44",
23
+ "version": "0.0.46",
24
24
  "description": "A showcase for Next.js + Vovk.ts + Zod, demonstrating its capabilities with TypeScript, Rust, and Python RPC.",
25
25
  "scripts": {
26
26
  "dev": "vovk dev --next-dev -- --turbopack",
@@ -48,7 +48,7 @@
48
48
  "next": "15.5.2",
49
49
  "react": "^19.1.1",
50
50
  "react-dom": "^19.1.1",
51
- "vovk": "^3.0.0-draft.407",
51
+ "vovk": "^3.0.0-draft.408",
52
52
  "vovk-ajv": "^0.0.0-draft.100",
53
53
  "vovk-client": "^0.0.4-draft.128",
54
54
  "vovk-hello-world": "^0.0.43",
@@ -66,7 +66,7 @@
66
66
  "postcss": "^8",
67
67
  "tailwindcss": "^4.1.12",
68
68
  "typescript": "^5",
69
- "vovk-cli": "^0.0.1-draft.345",
69
+ "vovk-cli": "^0.0.1-draft.346",
70
70
  "vovk-python": "^0.0.1-draft.70",
71
71
  "vovk-rust": "^0.0.1-draft.56"
72
72
  }
package/schema.cjs CHANGED
@@ -4,8 +4,17 @@ var $schema$2 = "https://vovk.dev/api/schema/v3/meta.json";
4
4
  var config = {
5
5
  "libs": {},
6
6
  "generatorConfig": {
7
+ "origin": "http://localhost:3000",
7
8
  "imports": { "validateOnClient": "vovk-ajv" },
8
- "origin": "",
9
+ "openAPIObject": { "info": {
10
+ "title": "\"Hello World\" app API",
11
+ "description": "API for \"Hello World\" app hosted at https://vovk-hello-world.vercel.app/. Source code is available on Github https://github.com/finom/vovk-hello-world.",
12
+ "license": {
13
+ "name": "MIT",
14
+ "url": "https://opensource.org/licenses/MIT"
15
+ },
16
+ "version": "1.0.0"
17
+ } },
9
18
  "segments": {}
10
19
  },
11
20
  "$schema": "https://vovk.dev/api/schema/v3/config.json"
package/schema.d.cts CHANGED
@@ -165,10 +165,21 @@ declare const schema: {
165
165
  config: {
166
166
  libs: {};
167
167
  generatorConfig: {
168
+ origin: string;
168
169
  imports: {
169
170
  validateOnClient: string;
170
171
  };
171
- origin: string;
172
+ openAPIObject: {
173
+ info: {
174
+ title: string;
175
+ description: string;
176
+ license: {
177
+ name: string;
178
+ url: string;
179
+ };
180
+ version: string;
181
+ };
182
+ };
172
183
  segments: {};
173
184
  };
174
185
  $schema: string;