vovk-hello-world 0.0.54 → 0.0.55
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 +5 -5
- package/index.cjs +3 -3
- package/index.mjs +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<!-- Generated by vovk-cli v0.0.1-draft.392 at 2025-11-03T12:
|
|
1
|
+
<!-- Generated by vovk-cli v0.0.1-draft.392 at 2025-11-03T12:24:18.891Z -->
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
# vovk-hello-world v0.0.
|
|
4
|
+
# vovk-hello-world v0.0.55 [](https://www.typescriptlang.org/) [](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
|
Update user by ID
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
`POST
|
|
25
|
+
`POST https://hello-world.vovk.dev/api/users/{id}`
|
|
26
26
|
|
|
27
27
|
```ts
|
|
28
28
|
import { UserRPC } from 'vovk-hello-world';
|
|
@@ -84,7 +84,7 @@ console.log(response);
|
|
|
84
84
|
Stream tokens to the client
|
|
85
85
|
|
|
86
86
|
|
|
87
|
-
`GET
|
|
87
|
+
`GET https://hello-world.vovk.dev/api/streams/tokens`
|
|
88
88
|
|
|
89
89
|
```ts
|
|
90
90
|
import { StreamRPC } from 'vovk-hello-world';
|
|
@@ -116,7 +116,7 @@ for await (const item of response) {
|
|
|
116
116
|
Get the OpenAPI spec for the "Hello World" app API
|
|
117
117
|
|
|
118
118
|
|
|
119
|
-
`GET
|
|
119
|
+
`GET https://hello-world.vovk.dev/api/static/openapi.json`
|
|
120
120
|
|
|
121
121
|
```ts
|
|
122
122
|
import { OpenApiRPC } from 'vovk-hello-world';
|
package/index.cjs
CHANGED
|
@@ -493,15 +493,15 @@ var openapi_default = {
|
|
|
493
493
|
//#region tmp_prebundle/index.ts
|
|
494
494
|
const UserRPC = (0, vovk.createRPC)(schema, "", "UserRPC", import("vovk"), {
|
|
495
495
|
validateOnClient: import("vovk-ajv"),
|
|
496
|
-
apiRoot: "
|
|
496
|
+
apiRoot: "https://hello-world.vovk.dev/api"
|
|
497
497
|
});
|
|
498
498
|
const StreamRPC = (0, vovk.createRPC)(schema, "", "StreamRPC", import("vovk"), {
|
|
499
499
|
validateOnClient: import("vovk-ajv"),
|
|
500
|
-
apiRoot: "
|
|
500
|
+
apiRoot: "https://hello-world.vovk.dev/api"
|
|
501
501
|
});
|
|
502
502
|
const OpenApiRPC = (0, vovk.createRPC)(schema, "static", "OpenApiRPC", import("vovk"), {
|
|
503
503
|
validateOnClient: import("vovk-ajv"),
|
|
504
|
-
apiRoot: "
|
|
504
|
+
apiRoot: "https://hello-world.vovk.dev/api"
|
|
505
505
|
});
|
|
506
506
|
|
|
507
507
|
//#endregion
|
package/index.mjs
CHANGED
|
@@ -469,15 +469,15 @@ var openapi_default = {
|
|
|
469
469
|
//#region tmp_prebundle/index.ts
|
|
470
470
|
const UserRPC = createRPC(schema, "", "UserRPC", import("vovk"), {
|
|
471
471
|
validateOnClient: import("vovk-ajv"),
|
|
472
|
-
apiRoot: "
|
|
472
|
+
apiRoot: "https://hello-world.vovk.dev/api"
|
|
473
473
|
});
|
|
474
474
|
const StreamRPC = createRPC(schema, "", "StreamRPC", import("vovk"), {
|
|
475
475
|
validateOnClient: import("vovk-ajv"),
|
|
476
|
-
apiRoot: "
|
|
476
|
+
apiRoot: "https://hello-world.vovk.dev/api"
|
|
477
477
|
});
|
|
478
478
|
const OpenApiRPC = createRPC(schema, "static", "OpenApiRPC", import("vovk"), {
|
|
479
479
|
validateOnClient: import("vovk-ajv"),
|
|
480
|
-
apiRoot: "
|
|
480
|
+
apiRoot: "https://hello-world.vovk.dev/api"
|
|
481
481
|
});
|
|
482
482
|
|
|
483
483
|
//#endregion
|
package/package.json
CHANGED