vovk-hello-world 0.0.50 → 0.0.51
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 +21 -13
- package/index.d.cts +19 -10
- package/index.d.mts +19 -10
- package/index.mjs +21 -13
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<!-- Generated by vovk-cli v0.0.1-draft.
|
|
1
|
+
<!-- Generated by vovk-cli v0.0.1-draft.392 at 2025-11-03T08:16:54.290Z -->
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
# vovk-hello-world v0.0.
|
|
4
|
+
# vovk-hello-world v0.0.51 [](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';
|
|
@@ -80,7 +80,7 @@ console.log(response);
|
|
|
80
80
|
Stream tokens to the client
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
`GET
|
|
83
|
+
`GET https://hello-world.vovk.dev/api/streams/tokens`
|
|
84
84
|
|
|
85
85
|
```ts
|
|
86
86
|
import { StreamRPC } from 'vovk-hello-world';
|
|
@@ -112,7 +112,7 @@ for await (const item of response) {
|
|
|
112
112
|
Get the OpenAPI spec for the "Hello World" app API
|
|
113
113
|
|
|
114
114
|
|
|
115
|
-
`GET
|
|
115
|
+
`GET https://hello-world.vovk.dev/api/static/openapi.json`
|
|
116
116
|
|
|
117
117
|
```ts
|
|
118
118
|
import { OpenApiRPC } from 'vovk-hello-world';
|
package/index.cjs
CHANGED
|
@@ -198,7 +198,15 @@ const schema = {
|
|
|
198
198
|
//#region tmp_prebundle/openapi.json
|
|
199
199
|
var openapi_default = {
|
|
200
200
|
openapi: "3.1.0",
|
|
201
|
-
info: {
|
|
201
|
+
info: {
|
|
202
|
+
"title": "\"Hello World\" app API",
|
|
203
|
+
"version": "1.0.0",
|
|
204
|
+
"description": "API for \"Hello World\" app hosted at https://hello-world.vovk.dev/. 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
|
+
},
|
|
202
210
|
components: { "schemas": {
|
|
203
211
|
"HttpStatus": {
|
|
204
212
|
"type": "integer",
|
|
@@ -286,17 +294,17 @@ var openapi_default = {
|
|
|
286
294
|
{
|
|
287
295
|
"label": "TypeScript RPC",
|
|
288
296
|
"lang": "typescript",
|
|
289
|
-
"source": "import { UserRPC } from 'vovk-
|
|
297
|
+
"source": "import { UserRPC } from 'vovk-hello-world';\n\nconst response = await UserRPC.updateUser({\n body: {\n // -----\n // User data object\n // -----\n // User email\n email: \"john@example.com\",\n // User profile object\n profile: {\n // User full name\n name: \"John Doe\",\n // User age\n age: 25\n }\n },\n query: {\n // -----\n // Query parameters\n // -----\n // Notification type\n notify: \"email\"\n },\n params: {\n // -----\n // Path parameters\n // -----\n // User ID\n id: \"123e4567-e89b-12d3-a456-426614174000\"\n },\n});\n\nconsole.log(response); \n/* \n{\n // -----\n // Response object\n // -----\n // Success status\n success: true\n}\n*/"
|
|
290
298
|
},
|
|
291
299
|
{
|
|
292
300
|
"label": "Python RPC",
|
|
293
301
|
"lang": "python",
|
|
294
|
-
"source": "from
|
|
302
|
+
"source": "from vovk_hello_world import UserRPC\n\nresponse = UserRPC.update_user(\n body={\n # -----\n # User data object\n # -----\n # User email\n \"email\": \"john@example.com\",\n # User profile object\n \"profile\": {\n # User full name\n \"name\": \"John Doe\",\n # User age\n \"age\": 25\n }\n },\n query={\n # -----\n # Query parameters\n # -----\n # Notification type\n \"notify\": \"email\"\n },\n params={\n # -----\n # Path parameters\n # -----\n # User ID\n \"id\": \"123e4567-e89b-12d3-a456-426614174000\"\n },\n)\n\nprint(response)\n{\n # -----\n # Response object\n # -----\n # Success status\n \"success\": true\n}"
|
|
295
303
|
},
|
|
296
304
|
{
|
|
297
305
|
"label": "Rust RPC",
|
|
298
306
|
"lang": "rust",
|
|
299
|
-
"source": "use
|
|
307
|
+
"source": "use vovk_hello_world::user_rpc;\nuse serde_json::{ \n from_value, \n json \n};\n\npub fn main() {\n let response = user_rpc::update_user(\n from_value(json!({\n // -----\n // User data object\n // -----\n // User email\n \"email\": \"john@example.com\",\n // User profile object\n \"profile\": {\n // User full name\n \"name\": \"John Doe\",\n // User age\n \"age\": 25\n }\n })).unwrap(), /* body */ \n from_value(json!({\n // -----\n // Query parameters\n // -----\n // Notification type\n \"notify\": \"email\"\n })).unwrap(), /* query */ \n from_value(json!({\n // -----\n // Path parameters\n // -----\n // User ID\n \"id\": \"123e4567-e89b-12d3-a456-426614174000\"\n })).unwrap(), /* params */ \n None, /* headers (HashMap) */ \n None, /* api_root */\n false, /* disable_client_validation */\n );\n\nmatch response {\n Ok(output) => println!(\"{:?}\", output),\n /* \n output {\n // -----\n // Response object\n // -----\n // Success status\n success: true\n } \n */\n Err(e) => println!(\"error: {:?}\", e),\n }\n}"
|
|
300
308
|
}
|
|
301
309
|
],
|
|
302
310
|
"parameters": [{
|
|
@@ -386,17 +394,17 @@ var openapi_default = {
|
|
|
386
394
|
{
|
|
387
395
|
"label": "TypeScript RPC",
|
|
388
396
|
"lang": "typescript",
|
|
389
|
-
"source": "import { StreamRPC } from 'vovk-
|
|
397
|
+
"source": "import { StreamRPC } from 'vovk-hello-world';\n\nusing response = await StreamRPC.streamTokens();\n\nfor await (const item of response) {\n console.log(item); \n /*\n {\n // -----\n // Streamed token object\n // -----\n // Message from the token\n message: \"string\"\n }\n */\n}"
|
|
390
398
|
},
|
|
391
399
|
{
|
|
392
400
|
"label": "Python RPC",
|
|
393
401
|
"lang": "python",
|
|
394
|
-
"source": "from
|
|
402
|
+
"source": "from vovk_hello_world import StreamRPC\n\nresponse = StreamRPC.stream_tokens()\n\nfor i, item in enumerate(response):\n print(f\"iteration #{i}:\\n {item}\")\n # iteration #0:\n {\n # -----\n # Streamed token object\n # -----\n # Message from the token\n \"message\": \"string\"\n }"
|
|
395
403
|
},
|
|
396
404
|
{
|
|
397
405
|
"label": "Rust RPC",
|
|
398
406
|
"lang": "rust",
|
|
399
|
-
"source": "use
|
|
407
|
+
"source": "use vovk_hello_world::stream_rpc;\nuse serde_json::{ \n from_value, \n json \n};\n\npub fn main() {\n let response = stream_rpc::stream_tokens(\n (), /* body */ \n (), /* query */ \n (), /* params */ \n None, /* headers (HashMap) */ \n None, /* api_root */\n false, /* disable_client_validation */\n );\n\nmatch response {\n Ok(stream) => {\n for (i, item) in stream.enumerate() {\n println!(\"#{}: {:?}\", i, item);\n /*\n #0: iteration {\n // -----\n // Streamed token object\n // -----\n // Message from the token\n message: \"string\"\n }\n */\n }\n },\n Err(e) => println!(\"Error initiating stream: {:?}\", e),\n }\n}"
|
|
400
408
|
}
|
|
401
409
|
],
|
|
402
410
|
"responses": { "200": {
|
|
@@ -422,17 +430,17 @@ var openapi_default = {
|
|
|
422
430
|
{
|
|
423
431
|
"label": "TypeScript RPC",
|
|
424
432
|
"lang": "typescript",
|
|
425
|
-
"source": "import { OpenApiRPC } from 'vovk-
|
|
433
|
+
"source": "import { OpenApiRPC } from 'vovk-hello-world';\n\nconst response = await OpenApiRPC.getSpec();"
|
|
426
434
|
},
|
|
427
435
|
{
|
|
428
436
|
"label": "Python RPC",
|
|
429
437
|
"lang": "python",
|
|
430
|
-
"source": "from
|
|
438
|
+
"source": "from vovk_hello_world import OpenApiRPC\n\nresponse = OpenApiRPC.get_spec()"
|
|
431
439
|
},
|
|
432
440
|
{
|
|
433
441
|
"label": "Rust RPC",
|
|
434
442
|
"lang": "rust",
|
|
435
|
-
"source": "use
|
|
443
|
+
"source": "use vovk_hello_world::open_api_rpc;\nuse serde_json::{ \n from_value, \n json \n};\n\npub fn main() {\n let response = open_api_rpc::get_spec(\n (), /* body */ \n (), /* query */ \n (), /* params */ \n None, /* headers (HashMap) */ \n None, /* api_root */\n false, /* disable_client_validation */\n );\n}"
|
|
436
444
|
}
|
|
437
445
|
]
|
|
438
446
|
} }
|
|
@@ -443,15 +451,15 @@ var openapi_default = {
|
|
|
443
451
|
//#region tmp_prebundle/index.ts
|
|
444
452
|
const UserRPC = (0, vovk.createRPC)(schema, "", "UserRPC", import("vovk"), {
|
|
445
453
|
validateOnClient: import("vovk-ajv"),
|
|
446
|
-
apiRoot: "
|
|
454
|
+
apiRoot: "https://hello-world.vovk.dev/api"
|
|
447
455
|
});
|
|
448
456
|
const StreamRPC = (0, vovk.createRPC)(schema, "", "StreamRPC", import("vovk"), {
|
|
449
457
|
validateOnClient: import("vovk-ajv"),
|
|
450
|
-
apiRoot: "
|
|
458
|
+
apiRoot: "https://hello-world.vovk.dev/api"
|
|
451
459
|
});
|
|
452
460
|
const OpenApiRPC = (0, vovk.createRPC)(schema, "static", "OpenApiRPC", import("vovk"), {
|
|
453
461
|
validateOnClient: import("vovk-ajv"),
|
|
454
|
-
apiRoot: "
|
|
462
|
+
apiRoot: "https://hello-world.vovk.dev/api"
|
|
455
463
|
});
|
|
456
464
|
|
|
457
465
|
//#endregion
|
package/index.d.cts
CHANGED
|
@@ -178,24 +178,33 @@ declare const schema: {
|
|
|
178
178
|
//#endregion
|
|
179
179
|
//#region tmp_prebundle/openapi.d.ts
|
|
180
180
|
declare let openapi: string;
|
|
181
|
-
declare
|
|
181
|
+
declare namespace info {
|
|
182
|
+
let title: string;
|
|
183
|
+
let version: string;
|
|
184
|
+
let description: string;
|
|
185
|
+
namespace license {
|
|
186
|
+
let name: string;
|
|
187
|
+
let url: string;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
182
190
|
declare namespace components {
|
|
183
191
|
namespace schemas {
|
|
184
192
|
namespace HttpStatus {
|
|
185
193
|
export let type: string;
|
|
186
|
-
|
|
194
|
+
let description_1: string;
|
|
195
|
+
export { description_1 as description };
|
|
187
196
|
let _enum: number[];
|
|
188
197
|
export { _enum as enum };
|
|
189
198
|
}
|
|
190
199
|
namespace VovkErrorResponse {
|
|
191
200
|
let type_1: string;
|
|
192
201
|
export { type_1 as type };
|
|
193
|
-
let
|
|
194
|
-
export {
|
|
202
|
+
let description_2: string;
|
|
203
|
+
export { description_2 as description };
|
|
195
204
|
export namespace properties {
|
|
196
205
|
namespace cause {
|
|
197
|
-
let
|
|
198
|
-
export {
|
|
206
|
+
let description_3: string;
|
|
207
|
+
export { description_3 as description };
|
|
199
208
|
}
|
|
200
209
|
namespace statusCode {
|
|
201
210
|
let $ref: string;
|
|
@@ -203,16 +212,16 @@ declare namespace components {
|
|
|
203
212
|
namespace message {
|
|
204
213
|
let type_2: string;
|
|
205
214
|
export { type_2 as type };
|
|
206
|
-
let
|
|
207
|
-
export {
|
|
215
|
+
let description_4: string;
|
|
216
|
+
export { description_4 as description };
|
|
208
217
|
}
|
|
209
218
|
namespace isError {
|
|
210
219
|
let type_3: string;
|
|
211
220
|
export { type_3 as type };
|
|
212
221
|
let _const: boolean;
|
|
213
222
|
export { _const as const };
|
|
214
|
-
let
|
|
215
|
-
export {
|
|
223
|
+
let description_5: string;
|
|
224
|
+
export { description_5 as description };
|
|
216
225
|
}
|
|
217
226
|
}
|
|
218
227
|
export let required: string[];
|
package/index.d.mts
CHANGED
|
@@ -178,24 +178,33 @@ declare const schema: {
|
|
|
178
178
|
//#endregion
|
|
179
179
|
//#region tmp_prebundle/openapi.d.ts
|
|
180
180
|
declare let openapi: string;
|
|
181
|
-
declare
|
|
181
|
+
declare namespace info {
|
|
182
|
+
let title: string;
|
|
183
|
+
let version: string;
|
|
184
|
+
let description: string;
|
|
185
|
+
namespace license {
|
|
186
|
+
let name: string;
|
|
187
|
+
let url: string;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
182
190
|
declare namespace components {
|
|
183
191
|
namespace schemas {
|
|
184
192
|
namespace HttpStatus {
|
|
185
193
|
export let type: string;
|
|
186
|
-
|
|
194
|
+
let description_1: string;
|
|
195
|
+
export { description_1 as description };
|
|
187
196
|
let _enum: number[];
|
|
188
197
|
export { _enum as enum };
|
|
189
198
|
}
|
|
190
199
|
namespace VovkErrorResponse {
|
|
191
200
|
let type_1: string;
|
|
192
201
|
export { type_1 as type };
|
|
193
|
-
let
|
|
194
|
-
export {
|
|
202
|
+
let description_2: string;
|
|
203
|
+
export { description_2 as description };
|
|
195
204
|
export namespace properties {
|
|
196
205
|
namespace cause {
|
|
197
|
-
let
|
|
198
|
-
export {
|
|
206
|
+
let description_3: string;
|
|
207
|
+
export { description_3 as description };
|
|
199
208
|
}
|
|
200
209
|
namespace statusCode {
|
|
201
210
|
let $ref: string;
|
|
@@ -203,16 +212,16 @@ declare namespace components {
|
|
|
203
212
|
namespace message {
|
|
204
213
|
let type_2: string;
|
|
205
214
|
export { type_2 as type };
|
|
206
|
-
let
|
|
207
|
-
export {
|
|
215
|
+
let description_4: string;
|
|
216
|
+
export { description_4 as description };
|
|
208
217
|
}
|
|
209
218
|
namespace isError {
|
|
210
219
|
let type_3: string;
|
|
211
220
|
export { type_3 as type };
|
|
212
221
|
let _const: boolean;
|
|
213
222
|
export { _const as const };
|
|
214
|
-
let
|
|
215
|
-
export {
|
|
223
|
+
let description_5: string;
|
|
224
|
+
export { description_5 as description };
|
|
216
225
|
}
|
|
217
226
|
}
|
|
218
227
|
export let required: string[];
|
package/index.mjs
CHANGED
|
@@ -174,7 +174,15 @@ const schema = {
|
|
|
174
174
|
//#region tmp_prebundle/openapi.json
|
|
175
175
|
var openapi_default = {
|
|
176
176
|
openapi: "3.1.0",
|
|
177
|
-
info: {
|
|
177
|
+
info: {
|
|
178
|
+
"title": "\"Hello World\" app API",
|
|
179
|
+
"version": "1.0.0",
|
|
180
|
+
"description": "API for \"Hello World\" app hosted at https://hello-world.vovk.dev/. Source code is available on Github https://github.com/finom/vovk-hello-world.",
|
|
181
|
+
"license": {
|
|
182
|
+
"name": "MIT",
|
|
183
|
+
"url": "https://opensource.org/licenses/MIT"
|
|
184
|
+
}
|
|
185
|
+
},
|
|
178
186
|
components: { "schemas": {
|
|
179
187
|
"HttpStatus": {
|
|
180
188
|
"type": "integer",
|
|
@@ -262,17 +270,17 @@ var openapi_default = {
|
|
|
262
270
|
{
|
|
263
271
|
"label": "TypeScript RPC",
|
|
264
272
|
"lang": "typescript",
|
|
265
|
-
"source": "import { UserRPC } from 'vovk-
|
|
273
|
+
"source": "import { UserRPC } from 'vovk-hello-world';\n\nconst response = await UserRPC.updateUser({\n body: {\n // -----\n // User data object\n // -----\n // User email\n email: \"john@example.com\",\n // User profile object\n profile: {\n // User full name\n name: \"John Doe\",\n // User age\n age: 25\n }\n },\n query: {\n // -----\n // Query parameters\n // -----\n // Notification type\n notify: \"email\"\n },\n params: {\n // -----\n // Path parameters\n // -----\n // User ID\n id: \"123e4567-e89b-12d3-a456-426614174000\"\n },\n});\n\nconsole.log(response); \n/* \n{\n // -----\n // Response object\n // -----\n // Success status\n success: true\n}\n*/"
|
|
266
274
|
},
|
|
267
275
|
{
|
|
268
276
|
"label": "Python RPC",
|
|
269
277
|
"lang": "python",
|
|
270
|
-
"source": "from
|
|
278
|
+
"source": "from vovk_hello_world import UserRPC\n\nresponse = UserRPC.update_user(\n body={\n # -----\n # User data object\n # -----\n # User email\n \"email\": \"john@example.com\",\n # User profile object\n \"profile\": {\n # User full name\n \"name\": \"John Doe\",\n # User age\n \"age\": 25\n }\n },\n query={\n # -----\n # Query parameters\n # -----\n # Notification type\n \"notify\": \"email\"\n },\n params={\n # -----\n # Path parameters\n # -----\n # User ID\n \"id\": \"123e4567-e89b-12d3-a456-426614174000\"\n },\n)\n\nprint(response)\n{\n # -----\n # Response object\n # -----\n # Success status\n \"success\": true\n}"
|
|
271
279
|
},
|
|
272
280
|
{
|
|
273
281
|
"label": "Rust RPC",
|
|
274
282
|
"lang": "rust",
|
|
275
|
-
"source": "use
|
|
283
|
+
"source": "use vovk_hello_world::user_rpc;\nuse serde_json::{ \n from_value, \n json \n};\n\npub fn main() {\n let response = user_rpc::update_user(\n from_value(json!({\n // -----\n // User data object\n // -----\n // User email\n \"email\": \"john@example.com\",\n // User profile object\n \"profile\": {\n // User full name\n \"name\": \"John Doe\",\n // User age\n \"age\": 25\n }\n })).unwrap(), /* body */ \n from_value(json!({\n // -----\n // Query parameters\n // -----\n // Notification type\n \"notify\": \"email\"\n })).unwrap(), /* query */ \n from_value(json!({\n // -----\n // Path parameters\n // -----\n // User ID\n \"id\": \"123e4567-e89b-12d3-a456-426614174000\"\n })).unwrap(), /* params */ \n None, /* headers (HashMap) */ \n None, /* api_root */\n false, /* disable_client_validation */\n );\n\nmatch response {\n Ok(output) => println!(\"{:?}\", output),\n /* \n output {\n // -----\n // Response object\n // -----\n // Success status\n success: true\n } \n */\n Err(e) => println!(\"error: {:?}\", e),\n }\n}"
|
|
276
284
|
}
|
|
277
285
|
],
|
|
278
286
|
"parameters": [{
|
|
@@ -362,17 +370,17 @@ var openapi_default = {
|
|
|
362
370
|
{
|
|
363
371
|
"label": "TypeScript RPC",
|
|
364
372
|
"lang": "typescript",
|
|
365
|
-
"source": "import { StreamRPC } from 'vovk-
|
|
373
|
+
"source": "import { StreamRPC } from 'vovk-hello-world';\n\nusing response = await StreamRPC.streamTokens();\n\nfor await (const item of response) {\n console.log(item); \n /*\n {\n // -----\n // Streamed token object\n // -----\n // Message from the token\n message: \"string\"\n }\n */\n}"
|
|
366
374
|
},
|
|
367
375
|
{
|
|
368
376
|
"label": "Python RPC",
|
|
369
377
|
"lang": "python",
|
|
370
|
-
"source": "from
|
|
378
|
+
"source": "from vovk_hello_world import StreamRPC\n\nresponse = StreamRPC.stream_tokens()\n\nfor i, item in enumerate(response):\n print(f\"iteration #{i}:\\n {item}\")\n # iteration #0:\n {\n # -----\n # Streamed token object\n # -----\n # Message from the token\n \"message\": \"string\"\n }"
|
|
371
379
|
},
|
|
372
380
|
{
|
|
373
381
|
"label": "Rust RPC",
|
|
374
382
|
"lang": "rust",
|
|
375
|
-
"source": "use
|
|
383
|
+
"source": "use vovk_hello_world::stream_rpc;\nuse serde_json::{ \n from_value, \n json \n};\n\npub fn main() {\n let response = stream_rpc::stream_tokens(\n (), /* body */ \n (), /* query */ \n (), /* params */ \n None, /* headers (HashMap) */ \n None, /* api_root */\n false, /* disable_client_validation */\n );\n\nmatch response {\n Ok(stream) => {\n for (i, item) in stream.enumerate() {\n println!(\"#{}: {:?}\", i, item);\n /*\n #0: iteration {\n // -----\n // Streamed token object\n // -----\n // Message from the token\n message: \"string\"\n }\n */\n }\n },\n Err(e) => println!(\"Error initiating stream: {:?}\", e),\n }\n}"
|
|
376
384
|
}
|
|
377
385
|
],
|
|
378
386
|
"responses": { "200": {
|
|
@@ -398,17 +406,17 @@ var openapi_default = {
|
|
|
398
406
|
{
|
|
399
407
|
"label": "TypeScript RPC",
|
|
400
408
|
"lang": "typescript",
|
|
401
|
-
"source": "import { OpenApiRPC } from 'vovk-
|
|
409
|
+
"source": "import { OpenApiRPC } from 'vovk-hello-world';\n\nconst response = await OpenApiRPC.getSpec();"
|
|
402
410
|
},
|
|
403
411
|
{
|
|
404
412
|
"label": "Python RPC",
|
|
405
413
|
"lang": "python",
|
|
406
|
-
"source": "from
|
|
414
|
+
"source": "from vovk_hello_world import OpenApiRPC\n\nresponse = OpenApiRPC.get_spec()"
|
|
407
415
|
},
|
|
408
416
|
{
|
|
409
417
|
"label": "Rust RPC",
|
|
410
418
|
"lang": "rust",
|
|
411
|
-
"source": "use
|
|
419
|
+
"source": "use vovk_hello_world::open_api_rpc;\nuse serde_json::{ \n from_value, \n json \n};\n\npub fn main() {\n let response = open_api_rpc::get_spec(\n (), /* body */ \n (), /* query */ \n (), /* params */ \n None, /* headers (HashMap) */ \n None, /* api_root */\n false, /* disable_client_validation */\n );\n}"
|
|
412
420
|
}
|
|
413
421
|
]
|
|
414
422
|
} }
|
|
@@ -419,15 +427,15 @@ var openapi_default = {
|
|
|
419
427
|
//#region tmp_prebundle/index.ts
|
|
420
428
|
const UserRPC = createRPC(schema, "", "UserRPC", import("vovk"), {
|
|
421
429
|
validateOnClient: import("vovk-ajv"),
|
|
422
|
-
apiRoot: "
|
|
430
|
+
apiRoot: "https://hello-world.vovk.dev/api"
|
|
423
431
|
});
|
|
424
432
|
const StreamRPC = createRPC(schema, "", "StreamRPC", import("vovk"), {
|
|
425
433
|
validateOnClient: import("vovk-ajv"),
|
|
426
|
-
apiRoot: "
|
|
434
|
+
apiRoot: "https://hello-world.vovk.dev/api"
|
|
427
435
|
});
|
|
428
436
|
const OpenApiRPC = createRPC(schema, "static", "OpenApiRPC", import("vovk"), {
|
|
429
437
|
validateOnClient: import("vovk-ajv"),
|
|
430
|
-
apiRoot: "
|
|
438
|
+
apiRoot: "https://hello-world.vovk.dev/api"
|
|
431
439
|
});
|
|
432
440
|
|
|
433
441
|
//#endregion
|
package/package.json
CHANGED